1 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
4 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
6 Fixes: NB#117931 (Theming issues in accounts dialogs)
8 2009-06-09 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c,
11 (hildon_pannable_area_button_release_cb): Changed the coordinates
12 of the original release in case we want to discard the release,
13 some widgets in Fremantle do not handle the leave-notify.
15 2009-06-09 Alejandro G. Castro <alex@igalia.com>
17 * hildon/hildon-pannable-area.c,
18 (hildon_pannable_area_button_release_cb): Reviewed the logic of
19 the release using the last refactored functions and avoiding the
20 movement if an element was selected.
22 2009-06-09 Alejandro G. Castro <alex@igalia.com>
24 * hildon/hildon-pannable-area.c,
25 (hildon_pannable_area_check_move),
26 (hildon_pannable_area_handle_move),
27 (hildon_pannable_area_motion_notify_cb): Refactored the
28 motion_notify method using a couple of new functions.
30 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
32 * hildon/hildon-date-selector.c:
33 (hildon_date_selector_construct_ui):
34 * hildon/hildon-time-selector.c:
35 (hildon_time_selector_constructor):
36 * hildon/hildon-touch-selector-entry.c:
37 (hildon_touch_selector_entry_set_text_column),
38 (hildon_touch_selector_entry_get_text_column):
39 * hildon/hildon-touch-selector.c: (_default_print_func),
40 (hildon_touch_selector_new_text): Use
41 hildon_touch_selector_set/get_text_column() instead of
42 setting/getting the "text-column" property.
44 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
46 * doc/hildon-sections.txt: Add the new public methods below.
48 * examples/hildon-picker-button-multicolumn-example.c:
49 (create_touch_selector):
50 * examples/hildon-touch-selector-example.c: (create_selector):
51 * examples/hildon-touch-selector-multi-cells-example.c:
53 Use hildon_touch_selector_column_set_text_column()
55 * hildon/hildon-touch-selector-column.h:
56 * hildon/hildon-touch-selector.c:
57 (hildon_touch_selector_column_set_text_column),
58 (hildon_touch_selector_column_get_text_column):
59 Make hildon_touch_selector_column_set/get_column() public, use
60 them in the inline example, document them, and reference to them
63 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-time-selector.c: Fix the docs for
66 hildon_time_selector_new_step().
68 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
70 * hildon/hildon-touch-selector.c: Improve the documentation for
71 hildon_touch_selector_append_column().
73 Fixes MB#4641 (Documentation:
74 hildon_touch_selector_append_column() ref-counting)
76 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
78 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
79 Comment out test 5, since the hildon_controlbar_set_range() range
80 check is broken and fixing it would have side effects. Also,
81 this finally fixes make distcheck.
83 Fixes: NB#101420 (Update unit tests and fix make distcheck)
85 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
87 * tests/TEST-CASES.txt: Remove other bogus test.
88 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
89 Remove bogus test that was setting/retrieving a valid value.
91 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
93 * tests/TEST-CASES.txt: Remove bogus tests.
94 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
95 Remove three bogus tests that were actually setting valid colors.
97 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: post release version bump
100 * debian/changelog: post release version bump
102 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
107 * configure.ac: Bump version.
108 * debian/changelog: Updates.
110 2009-06-08 Christian Dywan <christian@lanedo.com>
114 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
115 Correct errors in hildon_format_file-size_for_display and use
116 translations from the hildon-fm package instead of osso-filemanager.
118 2009-06-08 Alejandro G. Castro <alex@igalia.com>
120 * hildon/hildon-pannable-area.c,
121 (hildon_pannable_area_init): Initialized new values to handle the
123 (hildon_pannable_area_adjust_value_changed): Check if the values
124 changed before even call the redraw function.
125 (hildon_pannable_area_size_allocate),
126 (hildon_pannable_axis_scroll),
127 (hildon_pannable_area_scroll),
128 (hildon_pannable_area_jump_to): Improved the diagonal movement
131 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
134 2009-06-08 Alberto Garcia <agarcia@igalia.com>
136 * examples/hildon-banner-example.c:
137 Several style updates
138 (on_animation_clicked, on_animation_idle)
139 (on_progress_clicked, on_progress_idle):
140 Add additional reference for the cases when the parent window is
143 2009-06-08 Alberto Garcia <agarcia@igalia.com>
145 * doc/hildon-sections.txt
146 * hildon/hildon-pannable-area.c
147 * hildon/hildon-banner.h
148 * hildon/hildon-banner.c: Documentation updates.
150 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
153 2009-06-05 Alejandro G. Castro <alex@igalia.com>
155 * hildon/hildon-calendar-popup.h:
156 * hildon/hildon-caption.h:
157 * hildon/hildon-code-dialog.h:
158 * hildon/hildon-controlbar.h:
159 * hildon/hildon-date-editor.h:
160 * hildon/hildon-dialog.h:
161 * hildon/hildon-get-password-dialog.h:
162 * hildon/hildon-hvolumebar.h:
163 * hildon/hildon-login-dialog.h:
164 * hildon/hildon-note.h:
165 * hildon/hildon-number-editor.h:
166 * hildon/hildon-range-editor.h:
167 * hildon/hildon-seekbar.h:
168 * hildon/hildon-set-password-dialog.h:
169 * hildon/hildon-sort-dialog.h:
170 * hildon/hildon-time-editor.h:
171 * hildon/hildon-time-picker.h:
172 * hildon/hildon-volumebar-range.h:
173 * hildon/hildon-volumebar.h:
174 * hildon/hildon-vvolumebar.h:
175 * hildon/hildon-weekday-picker.h:
176 * hildon/hildon-window.h:
177 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
178 macros with the current replacements
180 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
182 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
184 * hildon/hildon-color-button.c (hildon_color_button_init): Use
185 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
186 itself, to make it fit better with Fremantle style.
188 Fixes: NB#109878 (height and width of focus on color icon is not
189 consistent with other item in the application tool bar)
191 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
193 * hildon/hildon-touch-selector.c:
194 (hildon_touch_selector_optimal_size_request): use the current requisition
195 as the base, in order to include any possible extra widget, like the
196 hildon entry on HildonTouchSelectorEntry
198 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
200 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
202 * configure.ac: post release version bump
203 * debian/changelog: post release version bump
205 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
210 * configure.ac: Bump version.
211 * debian/changelog: Updates.
213 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
215 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
217 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
218 to ensure the banner contents are centered, instead of relying on
219 the expand and fill properties in GtkHBox.
220 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
222 Fixes: NB#108265 (Animation banner not properly centered)
224 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
226 * hildon/hildon-pannable-area.c
227 (hildon_pannable_area_initial_effect): Remove the initial_effect
228 management, check initial_hint
229 (hildon_pannable_are_expose_event): Remove the initial_hint management,
230 set initial_effect to FALSE
231 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
232 by launching the fade_timeout if the scrollbars state has changed and are
234 * examples/hildon-pannable-area-initial-hint-example.c
235 Modified to allow to remove rows too. Add and remove rows one by one.
237 2009-05-28 Alberto Garcia <agarcia@igalia.com>
239 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
240 Don't close the menu if there's an animation actor below it.
242 Fixes: NB#117927 (Application menu not usable with animation
245 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
247 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
248 "focus-on-click" from the dialog button, to avoid stealing the
249 focus from the entry.
251 Fixes: NB#118903 (Account setup wizard: Text in Search field
252 should be focused when "Region" touch list picker is reopened
255 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
257 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
258 (prepare_action_area): Completely hide the dialog separator.
260 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
262 * hildon/hildon-touch-selector-entry.c
263 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
264 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
265 now that the entry is exposed.
267 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
269 * hildon/hildon-touch-selector-entry.c
270 (hildon_touch_selector_entry_init): Change the entry's size
271 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
273 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
275 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
276 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
277 avoid unnecessary scaling.
279 2009-05-27 Alberto Garcia <agarcia@igalia.com>
281 * hildon/hildon-app-menu.c (hildon_app_menu_map):
282 Create grab transfer window before calling parent's map function.
284 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
285 "crushed" button(s) in the top left corner)
287 2009-05-26 Alberto Garcia <agarcia@igalia.com>
289 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
290 Check if the window is already realized when pushing it.
292 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
294 * configure.ac: post release version bump
295 * debian/changelog: post release version bump
297 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
302 * configure.ac: Bump version.
303 * debian/changelog: Updates.
305 2009-05-25 Alberto Garcia <agarcia@igalia.com>
307 * hildon/hildon-app-menu.c: Doc updates.
309 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
311 * hildon/hildon-banner.c: Remove leftover macro.
313 2009-05-25 Alejandro G. Castro <alex@igalia.com>
315 * hildon/hildon-pannable-area.c,
316 (hildon_pannable_area_scroll_indicator_fade),
317 (hildon_pannable_area_button_release_cb): Reviewed vmin
318 conditions, it could cause problems in the fadeout procedure.
320 2009-05-25 Alejandro G. Castro <alex@igalia.com>
322 * hildon/hildon-pannable-area.c
323 (hildon_pannable_area_button_release_cb): Added a threshold to
324 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
326 2009-05-25 Alejandro G. Castro <alex@igalia.com>
328 * hildon/hildon-pannable-area.c,
329 (hildon_pannable_area_set_property): Added code to sync the gtk
330 dnd threshold with the panning threshold.
332 2009-05-25 Alejandro G. Castro <alex@igalia.com>
334 * hildon/hildon-pannable-area.c,
335 (hildon_pannable_area_class_init): Changed some of the default
336 values, now it should be less responsive and more accurate.
338 2009-05-25 Alejandro G. Castro <alex@igalia.com>
340 * hildon/hildon-pannable-area.c,
341 (hildon_pannable_area_init),
342 (hildon_pannable_area_scroll_indicator_fade),
343 (hildon_pannable_area_button_press_cb),
344 (hildon_pannable_axis_scroll),
345 (hildon_pannable_area_timeout),
346 (hildon_pannable_area_motion_notify_cb),
347 (hildon_pannable_area_button_release_cb): Changed the name of the
348 clicked attribute to button_pressed, it is more clear about its use.
350 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
352 * src/hildon-pannable-area.c
353 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
355 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
356 vertical scrollbar visibility, and use the data on private section instead,
357 remove the initial_hint check
358 (hildon_pannable_area_expose_event): add the initial_hint check here
360 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
362 * src/hildon-pannable-area.c
363 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
364 if the fadeout effect was used
365 (hildon_pannable_area_expose_event): check if it is required to
366 manage the initial effect on the begining of the function. Previously
367 it was made at the end, but this doesn't ensure that the scrollbars
368 will be painted on the first show. Do not set to FALSE initial_effect,
369 to ensure that the initial hint is showed the first time the pannable
371 * examples/Makefile.am
372 * examples/hildon-pannable-area-initial-hint-example.c:
373 New example, to show that the initial-hint is showed when the widget
376 Fixes: NB#116607 (Pannable area should always have scrollbar visible
377 initially if the application can be scrolled)
379 2009-05-25 Alberto Garcia <agarcia@igalia.com>
381 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
382 Resize table before adding new items to make sure that
383 gtk_table_resize() is called just once.
385 2009-05-25 Alberto Garcia <agarcia@igalia.com>
387 * hildon/hildon-app-menu-private.h
388 * hildon/hildon-app-menu.c (item_visibility_changed)
389 (filter_visibility_changed, hildon_app_menu_show_all)
390 (hildon_app_menu_hide_all, hildon_app_menu_init):
391 Rearrange items just once when gtk_widget_show_all()/hide_all()
394 2009-05-25 Alberto Garcia <agarcia@igalia.com>
396 * hildon/hildon-app-menu.c
397 (hildon_app_menu_insert, hildon_app_menu_add_filter):
398 Don't call gtk_widget_show() on added items.
400 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
401 automatically when they're added)
403 2009-05-20 Alberto Garcia <agarcia@igalia.com>
405 * hildon/hildon-banner.c
406 (hildon_banner_realize, +hildon_banner_unrealize)
407 (+screen_size_changed, hildon_banner_class_init):
408 Redisplay the banner if the screen is rotated.
410 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
411 on transition from landscape to portrait)
413 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
415 * hildon/hildon-banner.[ch]:
416 (hildon_banner_show_information_override_dnd): remove icon_name from the
417 method definition as it is ignored.
418 * examples/hildon-banner-dnd-example.c: updated with the change on
421 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
423 * hildon/hildon-banner-private.h: new require_override_dnd and
424 overrides_dnd variables
425 * hildon/hildon-banner.h:
426 (hildon_banner_show_information_override_dnd): new method, that shows
427 the information but sets the override flag, in order to show important
429 * hildon/hildon-banner.c
430 (hildon_banner_show_information_override_dnd): new method
431 (hildon_banner_set_override_flag): new utility function
432 (hildon_banner_real_show_information): new utility function, in order to
433 generalize the current hildon_banner_show_information_override_dnd and
434 hildon_banner_show_information_override_dnd
435 * examples/Makefile.am
436 * examples/hildon-banner-dnd-example.c: New example that show how to
437 use the new hildon_banner_show_information_override_dnd
439 Fixes: NB#114874 (There is no possibility to show hildon banners with
442 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
444 * hildon/hildon-pannable-area.c: Add a comment explaining the math
445 behind hildon_pannable_calculate_vel_factor().
447 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-pannable-area.c
450 (hildon_pannable_calculate_vel_factor): Correct the sum of the
451 deceleration factors.
453 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
456 Reduce the default value for 'scroll_time' to 1 second, since the
457 current initial scrolling takes too much time.
459 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
462 calculate velocity factor during initialization, since the properties
465 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
467 * hildon/hildon-pannable-area.c
468 (hildon_pannable_area_set_property): Calculate the velocity factor
469 after setting the deceleration property and not after.
471 2009-05-20 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-entry.c
474 (hildon_entry_class_init, +set_property, hildon_entry_new)
475 * hildon/hildon-check-button.c
476 (hildon_check_button_class_init)
477 (+set_property, hildon_check_button_new):
478 Make the theme size a property.
480 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
481 others) do too much in the _new function)
483 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
485 * configure.ac: post release version bump
486 * debian/changelog: post release version bump
488 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
493 * configure.ac: Bump version.
494 * debian/changelog: Updates.
496 2009-05-15 Alberto Garcia <agarcia@igalia.com>
498 * hildon/hildon-gtk.h
499 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
500 New API function to take a screenshot of a window
502 Fixes: NB#106374 (Need API to take a loading screenshot)
504 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
506 * hildon/hildon-time-selector.c
507 (update_format_policy): prevent to use hours and minutes unitialized
509 2009-05-15 Alberto Garcia <agarcia@igalia.com>
511 * hildon/hildon-window.c (hildon_window_size_request):
512 Always request the full size of the screen (minus the title bar if
513 not in fullscreen mode).
515 Fixes: NB#107486 (HildonWindow should size itself properly)
517 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
519 * hildon/hildon-note-private.h: Add idle_handler to the private data.
520 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
521 (on_show_cb), (sound_handling): Disconnect the idle handler for
522 the sound when the note is finalized to avoid possible crashes.
524 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
527 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
529 * src/hildon-animation-actor.c,
530 * src/hildon-remote-texture.c:
531 Added proper object cleanup to remove signal handler and object
532 references as HildonAnimationActor and HildonRemoteTexture
533 objects get destroyed.
535 Fixes: NB#116682 (Destroying parented animation actors when
536 parent in unmapped leads to crash)
538 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
540 Based on a patch by Christian Dywan (christian@imendio.com)
542 * doc/hildon-sections.txt:
543 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
544 * hildon/hildon-helper.h: New file size formatting method.
546 * debian/control: Depend on osso-filemanager l10n package for
547 proper localization strings.
549 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
551 * tests/Makefile.am: Include top_srcdir to make possible to build
552 tests in a different builddir.
553 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
554 on a different builddir.
556 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
558 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
559 (hildon_touch_selector_remove): Disconnect model's signal handler
562 Fixes: NB#116289 (Hildon home crashes while adding task
565 2009-05-11 Alberto Garcia <agarcia@igalia.com>
567 * hildon/hildon-button.c
568 (hildon_button_set_title, hildon_button_set_value):
569 Hide labels containing an empty string.
571 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
573 * configure.ac: post release version bump
574 * debian/changelog: post release version bump
576 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
581 * configure.ac: Bump version.
582 * debian/changelog: Updates.
584 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
586 * hildon/hildon-note-private.h: Removed sound_signal_handler
587 * hildon/hildon-note.c
588 (on_show_cb): new callback on note "show" event, this simply adds
589 a idle, with the function sound_handling
590 (sound_handling): removed the sound_signal_handler management
591 (hildon_note_init): connect note "show" event to on_show_cb
592 (hildon_note_realize): remove the connection to "expose-event"
594 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
595 device?' confirmation note)
597 2009-05-08 Alberto Garcia <agarcia@igalia.com>
599 * hildon/hildon-note.c
600 (hildon_note_new_information_with_icon_name)
601 (hildon_note_new_confirmation_with_icon_name):
602 Terminate the list of parameters in g_object_set() calls
604 Fixes: NB#115166 (Formatting memory card is not taking place)
606 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
608 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
609 "dialog-information" role for the sound being played.
611 2009-05-06 Alberto Garcia <agarcia@igalia.com>
613 * hildon/hildon-app-menu.c (hildon_app_menu_init):
614 Don't make the menu a modal window, it causes strange interactions
615 with the pointer grab and it's not really needed.
617 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
619 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
621 * hildon/hildon-touch-selector.[ch]
622 (hildon_touch_selector_optimal_size_request): function added to get a
623 optimal size request from the touch selector, when you want a dialog to
624 show as much of the selector
625 * hildon/hildon-picker-dialog.c:
626 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
627 (hildon_app_menu_class_init):
628 New "max-height-landscape" and "max-height-portrait" style properties
629 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
630 (hildon_picker_dialog_get_max_height): returns the maximum height using
631 the style properties defined and checking the current portrait/landscape
633 (_hildon_picker_dialog_set_selector): removed the set_size_request
635 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
637 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
639 * hildon/hildon-bread-crumb-trail.c:
640 * hildon/hildon-bread-crumb.c:
641 * hildon/hildon-seekbar.c:
642 Add reference to replacements for these deprecated widgets.
644 Fixes: MB#4461 (Documentation: All deprecations should mention
647 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
649 * examples/hildon-remote-texture-example.c
651 Change the include to the hildon-remote-texture in order to compile
652 properly the examples on the installed libhildon1-examples package
654 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
656 * tests/Makefile.am: Add check for HildonPickerButton.
657 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
658 (START_TEST), (create_hildon_picker_button_suite): Add three simple
659 checks for the HildonPickerButton.
660 * tests/check_test.c (configure_tests): Add the test suite.
661 * tests/test_suites.h: likewise.
663 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
665 * hildon/hildon-touch-selector.c
666 (+on_row_changed): Emit HildonTouchSelector:changed when the
667 contents of a selected row change.
668 (_create_new_column), (_hildon_touch_selector_set_model): connect
669 to GtkTreeModel:row-changed on a newly set model.
671 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
673 2009-05-05 Alberto Garcia <agarcia@igalia.com>
675 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
677 * hildon/hildon-banner.c (hildon_banner_destroy)
678 (hildon_banner_show_progress, hildon_banner_set_fraction):
679 Remove the progress bar from HildonBanner and use a progress
682 Fixes: NB#113761 (Update progress banner to use progress
685 2009-05-04 Alberto Garcia <agarcia@igalia.com>
687 * hildon/hildon-banner.c:
688 Calculate size of the banner label using the actual screen width
689 rather than using a fixed value.
691 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
694 2009-05-04 Alejandro G. Castro <alex@igalia.com>
696 * hildon/hildon-pannable-area.c,
697 (hildon_pannable_area_class_init): Fixed signals documentation
700 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
702 * configure.ac: post release version bump
703 * debian/changelog: post release version bump
705 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
710 * configure.ac: Bump version.
711 * debian/changelog: Updates.
713 2009-05-01 Alberto Garcia <agarcia@igalia.com>
715 * hildon/hildon-edit-toolbar.c
716 (hildon_edit_toolbar_init):
717 Don't let buttons in HildonEditToolbar receive focus.
719 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
720 typing on an HW arrows key)
722 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
724 * doc/Makefile.am: Fix build.
726 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
728 * doc/Makefile.am: Do not redefine content_files.
730 2009-04-30 Alberto Garcia <agarcia@igalia.com>
738 Renamed src/ to hildon/
743 Include <hildon/hildon.h> directly in all examples.
745 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
747 * src/hildon-sort-dialog.c
748 (hildon_sort_dialog_add_sort_key_with_sorting)
752 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
754 * src/Makefile.am: Move generated sources to CLEANFILES, so that
755 make distcheck passes.
757 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
759 * Makefile.am: Enable gtk-doc during distcheck.
761 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
763 * Makefile.am: Do not distribute the debian/ directory.
765 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
767 * doc/Makefile.am: Add the extra SGML files to content_files,
768 so that they are distributed properly.
770 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
772 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
775 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
777 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
778 (hildon_note_new_information_with_icon_name): Set the "icon" property
779 to preserve soundness.
781 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
783 * src/hildon-font-selection-dialog.c
784 (hildon_font_selection_dialog_set_property): Fail when the "family"
785 property is set to NULL.
787 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
789 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
792 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
794 * src/hildon-time-selector.h:
795 Added HildonTimeSelectorFormatPolicy
796 * src/hildon-time-selector.c:
797 Added PROP_TIME_FORMAT_POLICY
798 (_check_ampm_format): renamed to check_automatic_ampm_format
799 (update_format_policy), (update_format_dependant_columns): new functions
800 (hildon_time_selector_class_init)
801 (hildon_time_selector_contructor)
802 (hildon_time_selector_init)
803 (hildon_time_selector_get_property)
804 (hildon_time_selector_set_property)
805 (hildon_time_selector_get_time)
806 (hildon_time_selector_set_time)
807 * src/hildon-touch-selector.h: new file
808 * src/hildon-touch-selector.c
809 (hildon_touch_selector_emit_changed)
810 (hildon_touch_selector_block_changed)
811 (hildon_touch_selector_unblock_changed)
812 Added functions to allow to block the emission of the "changed" signal
813 * src/hildon-picker-dialog.c
814 (hildon_picker_dialog_show): call the parent show before the custom code
815 * examples/hildon-time-button-example.c
816 Modified, so now you can configure the time format using the new property
818 Added a new property "time-format-policy" that allow to choose the time
819 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
820 case it uses gconf in order to check if the time selector must use
823 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
826 2009-04-28 Alberto Garcia <agarcia@igalia.com>
828 * src/hildon-note.c (hildon_note_init):
829 Label in HildonNote must be left aligned, not centered. This
830 reverts the last commit in HildonNote.
832 Fixes: NB#112933 (text is not left aligned in confirmation dialog
833 is connectivity dialog)
835 2009-04-27 Alberto Garcia <agarcia@igalia.com>
840 * doc/hildon-sections.txt:
841 Added hildon_gtk_window_set_do_not_disturb()
843 2009-04-27 Alberto Garcia <agarcia@igalia.com>
845 * src/hildon-note.c (hildon_note_init): Center label.
847 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
850 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
855 * configure.ac: Bump version.
856 * debian/changelog: Updates.
858 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-note-private.h: Add button-width to the private data.
861 * src/hildon-note.c (+resize_button),
862 (+hildon_note_orientation_update): methods to repack widgets on orientation
864 (screen_size_changed): Call above method for confirmation notes.
865 (hildon_note_realize): Always connect to the "screen-size" changed signal.
866 (hildon_note_rebuild): Store the original width request from buttons.
868 Fixes: NB#109635 (Confirmation notes do not support portrait)
870 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
873 when it is a progress note.
875 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
877 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
878 in the note, since there are no horizontally arranged contents.
880 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
882 * src/hildon-gtk.c (+set_flag): new generic method to
883 set/delay a flag setting in a window.
884 (hildon_gtk_window_set_progress_indicator):
885 (hildon_gtk_window_set_do_not_disturb),
886 (hildon_gtk_window_set_portrait_flags): use set_flag() to
887 avoid code redundance.
889 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
891 Based on a patch by Alberto Garcia (agarcia@igalia.com)
893 * src/hildon-gtk.c (set_clear_window_flag),
894 (do_set_progress_indicator), (do_set_do_not_disturb),
895 (do_set_portrait_flags),
896 (hildon_gtk_window_set_progress_indicator),
897 (hildon_gtk_window_set_do_not_disturb),
898 (hildon_gtk_window_set_portrait_flags):
899 Allow setting dnd-flag, progress indicator, and portrait flags
900 when the window is not realized.
902 2009-04-24 Alejandro G. Castro <alex@igalia.com>
904 * src/hildon-pannable-area.c,
905 * src/hildon-pannable-area.h: Add the hildon deprecated define to
906 the size request policy function and defines.
908 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
910 * doc/hildon-sections.txt: Add the new API.
911 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
912 method to set the portrait flags.
913 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
915 Fixes: NB#112328 (Adding helpers for setting portrait properties)
917 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
919 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
920 to allow using this method with other flags.
921 (hildon_gtk_window_set_progress_indicator): Update accordingly.
922 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
924 2009-04-22 Alberto Garcia <agarcia@igalia.com>
926 * src/hildon-touch-selector.c
927 (hildon_touch_selector_append_text_column):
928 Make the cell renderer use the smallest width possible.
930 Fixes: NB#108470 (Selected items in multiple selection are either
931 having a tick that is cut or not visible at all.)
933 2009-04-22 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-touch-selector.c
936 (hildon_touch_selector_append_text_column):
939 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
941 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
942 Use g_strdup_printf() instead of a fixed size buffer.
944 2009-04-21 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
947 Close banners when a HildonAppMenu is popped up.
949 Fixes: NB#111027 (Title menu closed immediately if activated when
950 "Invalid e-mail address" banner is shown)
952 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
957 * configure.ac: Bump version.
958 * debian/changelog: Updates.
960 2009-04-20 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-banner.c (hildon_banner_realize):
963 Mark HildonBanner as supporting portrait mode.
964 Use GDK to set window properties insetad of direct Xlib calls.
966 Fixes: NB#111830 (HildonBanner should be marked as supporting
969 2009-04-20 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-note.c (hildon_note_rebuild):
972 Hide action area in information notes. Prevents text from being
973 slightly aligned to the left.
975 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
978 2009-04-20 Alberto Garcia <agarcia@igalia.com>
980 Patch by Mox Soini (ext-mox.soini@nokia.com)
982 * src/hildon-banner.c (hildon_banner_create_animation):
983 Use stylus-sized icons in animation banner.
985 Fixes: NB#111206 (stylus sized icon for animation banner)
987 2009-04-20 Alberto Garcia <agarcia@igalia.com>
991 (+hildon_gtk_window_set_do_not_disturb):
992 New API to set the do-not-disturb flag.
994 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
996 2009-04-20 Alberto Garcia <agarcia@igalia.com>
998 * examples/hildon-progress-indicator-example.c: Fix example
1000 * src/hildon-gtk.c (set_clear_window_flag)
1001 (hildon_gtk_window_set_progress_indicator):
1002 Create a generic function for setting flags to a window.
1003 Use GDK instead of direct Xlib calls.
1005 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1007 * src/hildon-button.c (hildon_button_set_arrangement):
1008 Due to NB#88126, if one of the labels is too long it will be
1009 painted outside the button. The 'value' label is more likely to be
1010 the longest one, so we change its packing options in order to
1011 truncate it if necessary. As a side effect, the 'title' label will
1012 no longer be truncated.
1014 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1016 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1021 * configure.ac: Bump version.
1022 * debian/changelog: Updates.
1024 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1026 Deprecation of the hildon_pannable_area_set_size_request_policy
1027 API, the only policy properly supported in gtk+ nowadays is the
1030 * src/hildon-pannable-area.c,
1031 (hildon_pannable_area_size_request): Added a workaround for the
1032 size_request to avoid the problems of huge pixmaps in case someone
1033 is still using the function.
1034 * src/hildon-pannable-area.h: Deprecated the enum with the
1037 Fixes: NB#110244 (Problems with the
1038 hildon_pannable_area_set_size_request_policy API)
1040 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1042 * src/hildon-pannable-area.c,
1043 (hildon_pannable_area_init),
1044 (hildon_pannable_area_size_request),
1045 (hildon_pannable_area_style_set),
1046 (hildon_pannable_draw_vscroll),
1047 (hildon_pannable_draw_hscroll),
1048 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1049 indicator_width to clarify the use of the attribute.
1051 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1056 * configure.ac: Bump version.
1057 * debian/changelog: Updates.
1059 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-picker-dialog.c
1062 * src/hildon-touch-selector.c
1063 Reverting the change that tried to avoid the hardcoded height on
1064 the picker dialog, as causes problems on the hildon-touch-selector
1067 Fixes: NB#110029 (selectors not scrolling to selected value)
1069 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1071 * src/hildon-touch-selector.c: Fix typos
1073 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1076 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1077 request more motions after using it.
1079 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-calendar.c (hildon_calendar_expose),
1082 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1083 Remove unused variables.
1085 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1087 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1088 variable assignment.
1090 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1092 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1093 Check the return value of gtk_tree_selection_get_selected()
1096 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1098 * src/hildon-animation-actor.c
1099 * src/hildon-button.c
1101 * src/hildon-pannable-area.c
1102 * src/hildon-picker-button.c
1103 * src/hildon-program.c
1104 * src/hildon-remote-texture.c
1105 * src/hildon-text-view.c
1106 * src/hildon-touch-selector.c
1107 * src/hildon-window-stack.c
1108 * src/hildon-window.c:
1109 Add missing 'Since: 2.2' tags.
1111 * doc/hildon-sections.txt:
1112 Add some missing symbols.
1114 * doc/hildon-docs.sgml:
1115 New 'Other' section for HildonAnimationActor and
1118 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1120 Patch by Iván Gómez (igomez@igalia.com)
1123 * doc/compiling.sgml
1124 * doc/hildon-docs.sgml
1125 * doc/hildon-sections.txt
1126 * doc/migration.sgml
1127 * doc/resources.sgml
1129 New chapters on using the Hildon library.
1130 Updated the general structure of the reference manual.
1131 Other minor documentation fixes.
1133 * src/hildon-calendar-popup.c
1134 * src/hildon-calendar.c
1135 * src/hildon-controlbar.c
1136 * src/hildon-date-editor.c
1137 * src/hildon-dialog.c
1138 * src/hildon-hvolumebar.c
1139 * src/hildon-number-editor.c
1140 * src/hildon-range-editor.c
1141 * src/hildon-sort-dialog.c
1142 * src/hildon-time-editor.c
1143 * src/hildon-time-picker.c
1144 * src/hildon-volumebar-range.c
1145 * src/hildon-volumebar.c
1146 * src/hildon-vvolumebar.c
1147 * src/hildon-weekday-picker.c:
1148 Add deprecation notes
1150 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1151 Document 'horizontal-movement' and 'vertical-movement' signals.
1153 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1158 * configure.ac: Bump version.
1159 * debian/changelog: Updates.
1161 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1163 * src/hildon-pannable-area.c,
1164 (hildon_pannable_area_class_init): increased the minimum velocity.
1165 (hildon_pannable_area_button_release_cb): Updated the
1166 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1167 setup. Review the code to control that last event.
1169 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1172 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1174 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1176 * src/hildon-get-password-dialog.c
1177 (hildon_get_password_set_property),
1178 (hildon_get_password_get_property), (create_contents):
1179 * src/hildon-login-dialog-private.h:
1180 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1181 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1182 (hildon_login_dialog_get_password):
1183 * src/hildon-set-password-dialog-private.h:
1184 * src/hildon-set-password-dialog.c
1185 (hildon_set_password_set_property),
1186 (hildon_set_password_get_property), (create_contents),
1187 (hildon_set_password_response_change),
1188 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1190 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1191 instead and look more Fremantle style.
1193 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1195 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1197 * doc/hildon-sections.txt
1198 * src/hildon-window-stack.h
1199 * src/hildon-window-stack.c
1200 (+hildon_window_stack_get_windows):
1201 New API to obtain the list of windows on a stack.
1203 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-app-menu.c (hildon_app_menu_popup)
1206 (hildon_app_menu_class_init, -hildon_app_menu_show):
1207 Remove hildon_app_menu_show() and move all its checks to
1208 hildon_app_menu_popup()
1210 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1212 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1213 (_hildon_picker_dialog_set_selector): removed call to
1214 gtk_widget_set_size_request
1215 * src/hildon-touch-selector.c
1216 (_create_new_column): change the pannable size request policy
1218 Avoid to use a hardcoded height for the hildon picker dialog. In order
1219 to get that, we needed to change the hildon pannable size request
1221 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1223 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1226 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1229 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1231 * debian/control: Depend on osso-system-lock localization package.
1232 * src/hildon-code-dialog.c: Obtain the secu_application_title
1233 translation from osso-system-lock.
1234 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1235 for translation the atk related strings, that's not necessary.
1236 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1237 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1238 cancel button, it is not required.
1240 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1242 * src/hildon-pannable-area.c,
1243 (hildon_pannable_area_class_init): Modified the default value of
1244 the overshooting max speed, we have reduced it.
1246 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1248 * doc/hildon-sections.txt
1249 * src/hildon-window-private.h
1250 * src/hildon-window.h
1251 * src/hildon-window.c (hildon_window_class_init)
1252 (hildon_window_init, hildon_window_finalize)
1253 (hildon_window_realize, hildon_window_get_property)
1254 (hildon_window_set_property, hildon_window_update_markup)
1255 (hildon_window_get_markup, hildon_window_set_markup):
1256 New "markup" property and hildon_window_{get,set}_markup() methods.
1258 * examples/hildon-stackable-window-example.c (new_window):
1259 Update example to use hildon_window_set_markup()
1261 Fixes: NB#106375 (Need API to retitle a window with a title
1264 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1266 * src/hildon-pannable-area.c,
1267 (hildon_pannable_area_class_init): Changed the default value of
1268 the initial_hint to TRUE.
1269 (hildon_pannable_area_initial_effect): Changed the initial effect,
1270 not the effect is just the fade-out of the scrollbars.
1272 Fixes: NB#107775 (No scrollbars can be seen when several items are
1273 available in a dialog)
1275 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-program.c (hildon_program_update_top_most):
1280 Fixes: NB#109179 (Memory leak in Hildon program)
1282 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-banner.c (-get_current_app_window):
1285 Remove unused function.
1287 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1289 * src/hildon-pannable-area.c: Modified the documentation of the
1290 get adjustments functions to explain the problem of using the
1291 adjustment directly.
1292 (hildon_pannable_area_class_init): Improved the explanation about
1295 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1297 * src/hildon-app-menu-private.h
1298 * src/hildon-app-menu.c
1299 (hildon_app_menu_class_init):
1300 Bring back the 'external-border' style property
1301 (hildon_app_menu_class_init, hildon_app_menu_init)
1302 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1303 Set a fixed width-request for the menu, independent of the number
1306 Fixes: NB#94957 (Smoothly opened application menu)
1308 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1312 * src/hildon-banner.c
1313 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1315 Make sure that the banner is correctly placed the first time it's
1317 (hildon_banner_check_position, -check_fullscreen_state):
1318 Show the banner in the same place no matter if the window is in
1319 fullscreen mode or not.
1321 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1323 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-touch-selector.c (_default_print_func): reorder
1326 concatenation for clarity.
1328 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1331 for multicolumn selectors.
1333 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1335 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1340 * configure.ac: Bump version.
1341 * debian/changelog: Updates.
1343 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1345 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1348 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1350 * configure.ac: removed libcangerra-gtk dependency
1351 * debian/control: removed libcanberra-gtk dependency
1352 * src/Makefile.am: removed libcanberra gtk related flags
1353 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1354 context, and manage a global canberra context instead
1356 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1358 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1360 Patch by Daniel Borgmann (danielb@openismus.com)
1362 * src/hildon-edit-toolbar.c:
1363 Adjust the left padding.
1364 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1365 Paint background of the edit toolbar.
1367 Fixes: NB#107897 (Patch to make editmodetoolbar background
1368 themeable and adjust margin)
1370 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1372 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1374 * src/hildon-program.c (hildon_program_update_top_most):
1375 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1377 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1378 change when the user tasks in/out of an application)
1380 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1382 * configure.ac: added libcangerra-gtk dependency
1383 * debian/control: added libcanberra-gtk dependency
1384 * src/Makefile.am: added libcanberra gtk related flags
1385 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1388 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1390 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-program.c (hildon_program_remove_window)
1393 (hildon_program_add_window): Add checks for the window
1394 parameter. Don't decrease the window counter if the window is not
1397 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1399 * src/hildon-pannable-area.c,
1400 (hildon_pannable_area_realize): Fixed position of the event_window
1401 in the realize method.
1403 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-app-menu-private.h
1406 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1407 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1408 (hildon_app_menu_key_press, hildon_app_menu_init)
1409 (hildon_app_menu_finalize):
1410 Make sure that all idle functions are removed when the widget is
1413 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1415 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1420 * configure.ac: Bump version.
1421 * debian/changelog: Updates.
1423 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1425 * src/hildon-entry.c
1426 (+hildon_entry_show_placeholder),
1427 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1428 that replace hildon_entry_update_contents().
1429 (hildon_entry_set_text),
1430 (hildon_entry_set_placeholder),
1431 (hildon_entry_focus_in_event),
1432 (hildon_entry_focus_out_event): Determine when it is needed
1433 either to show or hide the placeholder and call the above methods.
1435 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1436 when the placeholder text is already set)
1438 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1440 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1441 simple GdkPixbufAnim using the new icons for the banner.
1442 (hildon_banner_show_animation): Use the above mentioned method to
1443 create the animation widget.
1445 Fixes: NB#103564 (Make hildon animation banner use individual
1446 image files as the animation)
1448 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1450 * src/hildon-pannable-area.c,
1451 (hildon_pannable_leave_notify_event): Check if the child is NULL
1452 to avoid sending the leave.
1454 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1456 * src/hildon-pannable-area.c,
1457 (hildon_pannable_area_class_init),
1458 (hildon_pannable_leave_notify_event): Added a handler of the
1459 leave-notify-signal to consider when no motion notify before
1462 Fixes: NB#107494 (Items stay selected when clicking and moving
1463 away when inside pannable area)
1465 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1470 * configure.ac: Bump version.
1471 * debian/changelog: Updates.
1473 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1475 Patch by Alberto Garcia (agarcia@igalia.com)
1477 * src/hildon-date-button.c,
1478 (hildon_date_button_class_init),
1479 (hildon_date_button_init): Removed the construct property handling
1480 and created a default selector in the init method.
1481 * src/hildon-picker-button.c,
1482 (hildon_picker_button_class_init): Removed the construct flag of the
1485 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-main.c (hildon_init):
1488 Don't allow hildon_init() to be called more than once.
1490 Fixes: NB#106607 (hildon_init should issue error message upon
1493 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1495 * examples/hildon-pannable-area-touch-list-example.c
1496 * examples/hildon-pannagle-area-touch-grid-example.c
1497 * examples/hildon-edit-toolbar-example.c
1498 * examples/hildon-touch-selector-multi-cells-example.c
1499 Removed the call to gtk_rc_parse_string, as it is not required since
1502 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-pannable-area.c,
1505 (hildon_pannable_area_class_init): Modified the default panning
1506 threshold of the widget to 6px.
1508 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1509 than the threshold value ) within the button is not sending the
1512 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1515 for the treeview in the new column. This way, the touch list will never
1518 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1519 be selected manually for the HW keys to work)
1521 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1524 comparison instead of using strcmp(). Fixes a compiler warning as well.
1526 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1528 * doc/hildon-docs.sgml: Do not set the library version in the
1529 document title, use the releaseinfo tag for that purpose instead.
1531 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1534 Do not jump to the first item if the text in the entry is removed.
1536 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1541 * configure.ac: Bump version.
1542 * debian/changelog: Updates.
1544 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-entry.c (hildon_entry_refresh_contents):
1547 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1548 Use "ReversedSecondaryTextColor" for the placeholder text.
1550 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-text-view.c: Fix compilation warning.
1554 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1556 * src/hildon-button.c (hildon_button_class_init): Don't make
1557 "title" and "value" construction properties, to prevent them from
1558 overwriting labels set from derived classes.
1560 * src/hildon-picker-button.c
1561 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1562 (hildon_picker_button_class_init): Make touch-selector a
1563 construction property.
1565 * src/hildon-date-button.c (hildon_date_button_class_init)
1566 (+hildon_date_button_constructed): Add a default date selector if
1569 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1571 * src/hildon-touch-selector.c: Small documentation fixes.
1573 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1575 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1577 * src/hildon-entry.c (hildon_entry_refresh_contents),
1578 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1579 widget name, set the logical color directly instead and a boolean
1580 showing_placeholder instead.
1581 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1582 use the widget name here either.
1584 Fixes: NB#105678 (HildonTextView should use logical colours
1585 instead of setting widget name)
1587 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1589 Patch by Daniel Elster (danielk@openismus.com)
1591 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1592 Add user_data parameter.
1593 (hildon_touch_selector_set_print_func_full): New function akin
1594 hildon_touch_selector_set_print_func() but with support for user
1595 data and a destroy callback.
1596 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1597 to clean up the print function user data.
1598 (hildon_touch_selector_class_init): Install dispose function.
1599 (HildonTouchSelectorPrivate::print_user_data),
1600 (HildonTouchSelectorPrivate::print_destroy_func): New private
1602 (hildon_touch_selector_init): Initialize new private members.
1603 (hildon_touch_selector_get_current_text): Pass along user data
1604 to the print function.
1605 (_default_print_func): Add dummy user_data to parameter list.
1606 * hildon-date-selector.c (_custom_print_func): ditto,
1607 * hildon-time-selector.c (_custom_print_func): ditto,
1608 * hildon-touch-selector-entry.c
1609 (hildon_touch_selector_entry_print_func): ditto.
1611 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1613 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1615 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1617 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1619 * src/hildon-pannable-area.c,
1620 (hildon_pannable_area_init),
1621 (hildon_pannable_area_button_press_cb),
1622 (hildon_pannable_area_motion_notify_cb): We have added code to
1623 handle the leave and enter events when using the motion events.
1625 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1627 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-date-button.c (hildon_date_button_get_date)
1630 (hildon_date_button_set_date): Make sure that the button has a
1633 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1635 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1637 * src/hildon-pannable-area.c,
1638 (hildon_pannable_area_class_init),
1639 (hildon_pannable_area_calculate_velocity): Modify the use of the
1640 force and adapt the value.
1642 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1645 (hildon_app_menu_class_init): Hide the menu if it receives a
1646 delete-event, but don't destroy it
1648 Fixes: NB#104485 (Not able to address the call when application
1649 menu is opened at background)
1651 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-app-menu.c
1654 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1655 Remove the "external-border" style property, let the menu take its
1656 natural size (or the one set by the window manager)
1657 (hildon_app_menu_repack_items):
1658 Don't reshow the menu, avoid flickers.
1660 Partially fixes NB#94957 (Smoothly opened application menu)
1662 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1667 * configure.ac: Bump version.
1668 * debian/changelog: Updates.
1670 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1672 * src/hildon-pannable-area.c,
1673 (hildon_pannable_area_motion_notify_cb): We control that the
1674 direction error margin is used just in case the movement is
1675 allowed in the other direction.
1677 Fixes: NB#105012 (buttons inside a pannable area not getting
1678 release event when dragging/releasing)
1680 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_area_class_init),
1684 (hildon_pannable_area_get_property),
1685 (hildon_pannable_area_set_property),
1686 (hildon_pannable_area_initial_effect),
1687 (hildon_pannable_axis_scroll),
1688 (hildon_pannable_area_button_release_cb): Reviewed the
1689 overshooting effect, now it has its own max
1690 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1691 speed when bouncing.
1693 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1698 * configure.ac: Bump version.
1699 * debian/changelog: Updates.
1701 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1703 * src/hildon-pannable-area.c,
1704 (hildon_pannable_area_class_init): Changed the max speed, now
1705 users can launch the widget very fast. Reduced the default force,
1706 that way it is easier to control the launch speed.
1708 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1710 * src/hildon-pannable-area.c,
1711 (hildon_pannable_area_button_release_cb): Removed this check
1712 because it causes problems when the device is overloaded.
1714 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1717 add a current_text field to store the text entered in the
1718 touch selector entry.
1719 (_clean_current_selection): clean up the current text as well.
1720 (_save_current_selection), (_restore_current_selection):
1721 Save/restore the text in the entry if the selector is a
1722 HildonTouchSelectorEntry.
1724 Fixes: NB#102541 (value entered in the touch selector entry is not
1725 shown when opened for second time)
1727 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1729 * doc/hildon-sections.txt:
1730 * src/hildon-touch-selector-entry.c
1731 (+hildon_touch_selector_entry_get_entry):
1732 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1734 Fixes: NB#104815 (I need accessor to the entry inside
1735 HildonTouchSelectorEntry)
1737 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1740 (hildon_app_menu_class_init):
1741 New "filter-vertical-spacing" style property.
1743 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-find-toolbar.c
1746 (hildon_find_toolbar_emit_close)
1747 (hildon_find_toolbar_emit_invalid_input)
1748 (hildon_find_toolbar_entry_activate):
1749 Use g_signal_emit() instead of g_signal_emit_by_name()
1751 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1753 Patch by Mox Soini (ext-mox.soini@nokia.com)
1755 * tests/TEST-CASES.txt
1756 * tests/check-hildon-banner.c
1757 * tests/check-hildon-note.c
1758 * src/hildon-banner.c
1759 * src/hildon-code-dialog.c
1760 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1761 * src/hildon-time-editor.c
1762 * examples/hildon-lookup-example.c (main):
1763 Replace obsolete icon names with new ones.
1765 * src/hildon-find-toolbar-private.h:
1766 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1767 (-hildon_find_toolbar_emit_search):
1768 Remove find button and change icon of close button.
1770 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1772 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1774 * src/hildon-time-button.c (hildon_time_button_new_step):
1775 Use the "touch-selector" property to set the selector directly
1776 when creating the object.
1778 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1780 Added a new example application that allows tuning the pannable
1781 area and replaced defines with properties in order to simplify the
1782 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1783 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1784 PROP_DIRECTION_ERROR_MARGIN.
1786 * examples/hildon-pannable-area-tuning-example.c: New example
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_class_init),
1790 (hildon_pannable_area_init),
1791 (hildon_pannable_area_get_property),
1792 (hildon_pannable_area_set_property),
1793 (hildon_pannable_area_launch_fade_timeout),
1794 (hildon_pannable_area_adjust_value_changed),
1795 (hildon_pannable_axis_scroll),
1796 (hildon_pannable_area_motion_notify_cb),
1797 (hildon_pannable_area_scroll_cb),
1798 (hildon_pannable_area_button_release_cb): We have converted some
1799 of the defines that control the widget to properties to simplify
1802 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-app-menu.c (hildon_app_menu_map)
1805 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1806 so it's closed if a new window appears.
1808 Fixes: NB#104485 (Not able to address the call when application
1809 menu is opened at background)
1811 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1814 missing 'break' statement in in 'case' construct to avoid
1817 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-touch-selector-entry.c
1820 (hildon_touch_selector_entry_get_property),
1821 (hildon_touch_selector_entry_set_property): Add missing 'break'
1822 statements in in 'case' constructs to avoid incorrect warnings.
1824 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-time-editor.c
1827 (hildon_time_editor_get_time_separators): Do not crash if
1828 the first label is NULL.
1830 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1832 * src/hildon-date-selector.c (_month_days): Check for month to be
1833 strictly less than 12, since otherwise we may overrun the array.
1835 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-date-button.c (+hildon_date_button_new_full)
1838 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1839 (hildon_date_button_init): Set the date selector using a
1840 construction property, to make it happen after HildonButton's
1841 "value" property is set.
1843 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1844 current date by default)
1846 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1848 * doc/hildon-sections.txt
1849 * src/hildon-program.c
1850 * src/hildon-stackable-window.c
1851 * src/hildon-window.c:
1852 Documentation updates
1854 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1857 (hildon_window_stack_new, +hildon_window_stack_set_property)
1858 (+hildon_window_stack_get_property)
1859 (hildon_window_stack_class_init)
1860 (+hildon_window_stack_set_window_group)
1861 (+hildon_window_stack_get_window_group):
1862 Make the window group a construction property.
1864 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1866 * doc/hildon-sections.txt
1867 * src/hildon-stackable-window-private.h
1868 * src/hildon-stackable-window.h
1869 * src/hildon-stackable-window.c
1870 (-hildon_stackable_window_set_app_menu)
1871 (-hildon_stackable_window_get_app_menu)
1872 (-hildon_stackable_window_toggle_menu)
1873 (-hildon_stackable_window_finalize)
1874 (hildon_stackable_window_class_init)
1875 (hildon_stackable_window_init)
1876 * src/hildon-window-private.h
1877 * src/hildon-window.h
1878 * src/hildon-window.c (hildon_window_init)
1879 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1880 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1881 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1882 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1883 Moved all HildonAppMenu code to HildonWindow. The menu does not
1884 require a HildonStackableWindow anymore.
1886 * src/hildon-app-menu.c
1887 * src/hildon-program.c
1888 * examples/hildon-app-menu-example.c (main):
1889 Update examples and documentation to reflect HildonAppMenu
1892 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-remote-texture.c
1895 * src/hildon-animation-actor.c:
1896 Don't include unused private headers.
1898 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-program-private.h
1901 * src/hildon-program.c
1902 (hildon_program_set_common_menu)
1903 (hildon_program_get_common_menu)
1904 (hildon_program_set_common_app_menu)
1905 (hildon_program_get_common_app_menu):
1906 Change common menu pointers from GtkWidget* to GtkMenu* and
1907 HildonAppMenu* to avoid unnecessary casts.
1909 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-window.c (hildon_window_set_main_menu):
1912 Removed incorrect 'Since:' tag
1914 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_area_calculate_velocity): We use now the
1918 RATIO_TOLERANCE here to check the distance, fixed typo in the
1920 (hildon_pannable_area_motion_notify_cb): We have to set the type
1921 and time even if we are not sending the motion.
1923 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1925 * doc/hildon-sections.txt
1926 * src/hildon-app-menu.h
1927 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1928 (+hildon_app_menu_get_filters): New methods to get the contents of
1931 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1934 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-app-menu.c (hildon_app_menu_popup):
1939 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1941 * src/hildon-window.h
1942 * src/hildon-window.c (+hildon_window_get_main_menu)
1943 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1944 and deprecated hildon_window_get_menu().
1946 * src/hildon-stackable-window.h
1947 * src/hildon-stackable-window.c
1948 (+hildon_stackable_window_set_app_menu)
1949 (+hildon_stackable_window_get_app_menu)
1950 (hildon_stackable_window_set_main_menu): Created
1951 hildon_stackable_window_{get,set}_app_menu() and deprecated
1952 hildon_stackable_window_set_main_menu().
1954 * doc/hildon-sections.txt
1955 * examples/hildon-app-menu-example.c (main)
1956 * src/hildon-app-menu.c
1957 * src/hildon-program.c:
1958 Updated examples and documentation.
1960 Fixes: NB#103758 (No way to obtain a menu from a
1961 HildonStackableWindow)
1963 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1968 * configure.ac: Bump version.
1969 * debian/changelog: Updates.
1971 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1973 * examples/hildon-remote-texture-example.c: Include
1974 hildon-remote-texture.h explicitely.
1975 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1976 applications not defining _XOPEN_SOURCE which don't require this header.
1978 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1980 * doc/hildon-sections.txt
1981 * src/hildon-app-menu.h
1982 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1983 New function to pop up a HildonAppMenu
1985 * src/hildon-stackable-window.c
1986 (hildon_stackable_window_toggle_menu):
1987 Use hildon_app_menu_popup() to show the menu.
1989 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1991 * src/hildon-app-menu.c (hildon_app_menu_show)
1992 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1993 menu if there's another window between it and its parent window.
1995 Fixes: NB#100468 (Application menu window is launched even when a
1996 new secondary-window/dialog is pending to be shown/realized)
1998 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2000 * src/hildon-window-stack.c (hildon_window_stack_push)
2001 (hildon_window_stack_pop_and_push):
2002 Don't forget to push/pop the first window.
2003 Reverse the window list before calling _push_list()
2005 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2007 * src/hildon-picker-button.h
2008 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2009 Remove "value_changed" slot to avoid ABI breakage
2011 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2013 * src/hildon-pannable-area.c,
2014 (hildon_pannable_area_realize),
2015 (hildon_pannable_area_unrealize),
2016 (hildon_pannable_draw_vscroll),
2017 (hildon_pannable_draw_hscroll): Changed the method to handle the
2018 GC used to draw the transparent scrollbar, this way we avoid
2019 creating the GC all the time when drawing the scrollbars.
2021 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2023 * src/hildon-pannable-area.c,
2024 (hildon_pannable_area_init),
2025 (hildon_pannable_area_remove): Removed some unnecessary casts.
2026 (hildon_pannable_area_dispose): Disconnected some signals before
2027 releasing the adjustments.
2029 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2031 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2032 Make sure that all widgets contained in the toolbar are shown.
2034 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2036 * doc/hildon-sections.txt
2037 * src/hildon-picker-button.h
2038 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2039 (_selection_changed, hildon_picker_button_on_dialog_response)
2040 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2041 New hildon_picker_button_value_changed() method.
2044 * src/hildon-picker-button-private.h
2045 * src/hildon-picker-button.c (hildon_picker_button_init)
2046 (+hildon_picker_button_disable_value_changed): Add protected
2047 function for disabling the "value-changed" signal.
2049 * src/hildon-date-button.c (hildon_date_button_set_date):
2050 Don't emit "value-changed" for each one of the three columns.
2052 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2053 before actual change of values)
2055 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2057 * src/hildon-pannable-area.c,
2058 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2059 for the treeview overshooting.
2061 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-banner.c (+hildon_banner_bind_style):
2064 Renamed from hildon_banner_bind_label_style(), now naming the
2065 banner itself as well.
2066 (hildon_banner_show_information),
2067 (hildon_banner_show_information_with_markup),
2068 (hildon_banner_show_animation), (hildon_banner_show_progress):
2069 Name the widgets and labels, based on their type.
2071 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2074 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2076 * src/hildon-note.c (hildon_note_set_property): call
2077 hildon_note_rename() on HildonNote:note-type set.
2078 (hildon_note_rename): Name the note and its label, based on the
2079 HildonNote:note-type property.
2081 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2084 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_class_init),
2088 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2089 panning parameters, increased SPS and deceleration factor. Added
2090 also a margin to control fake directions.
2092 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2094 Patch by Sven Herzberg (sven@imendio.com)
2096 * configure.ac: Add missing AM_PROG_CC_C_0
2097 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2099 See NB#101420 (Update unit tests and fix make check)
2101 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2103 This patch was applied before but reverted because it caused
2104 problems, we have changed the main condition and tested the
2105 regressions we detected before and they work ok. We have done a
2106 complete review of the topmost algorithm in order to get a more
2109 * src/hildon-pannable-area.c,
2110 (hildon_pannable_area_get_topmost): Added a new parameter to
2111 filter the the windows that do not include those events.
2112 (hildon_pannable_area_button_press_cb),
2113 (hildon_pannable_area_button_release_cb),
2114 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2115 topmost function, we have added the new parameter.
2117 Fixes: NB#97458 (Pannable area prevents propagation of button
2120 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2123 if all columns in the selector have an item selected.
2124 (_on_dialog_response): Stop "response" signal emission if there is
2125 any selector column without selected items.
2127 Fixes: NB#101889 (Picker dialog should not close when nothing is
2128 selected in multiple selection list)
2130 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-font-selection-dialog.c
2133 (hildon_font_selection_dialog_class_init),
2134 (hildon_font_selection_dialog_init): Remove the preview
2135 button and dialog, since previewing with default theming is likely
2136 to be overcomplicated. The :preview property has now no effect.
2137 Update documentation blurbs to inform about this.
2139 Fixes: NB#92297 (Preview content is not clearly visible for
2140 default colour text)
2142 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2144 Reviewed the geometry that handles the children size and
2145 scrollbar, now it tries a size and reviews the results depending
2146 on the scrollbars visibility.
2148 * src/hildon-pannable-area.c,
2149 (hildon_pannable_area_realize): Fixed a typo.
2150 (hildon_pannable_area_child_allocate_calculate): Added this
2151 function to calculate the child allocation.
2152 (hildon_pannable_area_size_allocate): Reviewed the allocation
2154 (hildon_pannable_area_check_scrollbars),
2155 (hildon_pannable_area_refresh): Refactored refresh function, this
2156 way we can call the code handling the scrollbars without causing a
2157 size_request, it is interesting in the allocate.
2158 (hildon_pannable_area_init): Replace the callbacks of the
2159 value_changed and changed signals to propertly deal with the
2161 (hildon_pannable_area_grab_notify),
2162 (hildon_pannable_area_initial_effect),
2163 (hildon_pannable_area_launch_fade_timeout),
2164 (hildon_pannable_area_adjust_changed),
2165 (hildon_pannable_area_adjust_value_changed),
2166 (hildon_pannable_area_redraw),
2167 (hildon_pannable_area_button_press_cb),
2168 (hildon_pannable_area_button_release_cb),
2169 (hildon_pannable_area_scroll_cb),
2170 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2171 code and use the new functions adjust_changed and
2172 adjust_value_changed.
2174 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2175 Contact editor dialog)
2177 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2182 * configure.ac: Bump version.
2183 * debian/changelog: Updates.
2185 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2187 * src/hildon-pannable-area.c,
2188 (hildon_pannable_area_get_topmost),
2189 (hildon_pannable_area_button_press_cb),
2190 (hildon_pannable_area_button_release_cb),
2191 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2192 topmost function adding the event mask. We have to try a
2193 differente approach because it is still causing problems (NB#9745,
2196 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-banner.c:
2199 Update the maximum width of timed banners.
2200 (force_to_wrap_truncated): Enforce the maximum text width if the
2203 Fixes: NB#102413 (The text margins (wrapping) in information
2204 banner should be HILDON_MARGIN_TRIPLE)
2206 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2208 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2210 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2211 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2212 bound when calculating the scroll indicator position.
2214 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2215 treat ->lower correctly)
2217 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2220 expose event handling, since it is not necessary to draw the focus
2223 Fixes: NB#102467 (Do not show highlight on the text in
2226 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2229 full height of the toolbar for the button and the label.
2231 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2234 padding before the label and after the button.
2236 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2238 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2240 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2241 Add a GtkVSeparator between the button and the back arrow.
2242 Let the button have automatic size.
2243 Set a name to the widget for theming handling.
2245 Fixes: NB#101793 (Make edit toolbar the same height as window
2246 title bar (use title area theming))
2248 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-helper.c (attach_new_color_element): Fix memory
2253 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2255 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2257 * examples/hildon-button-example.c (common_buttons_window): Don't
2260 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2263 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2265 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2267 * src/hildon-gtk.c: Check that the window is realized.
2269 Fixes: NB#102225 (Crash setting the progress indicator to a non
2272 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2274 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2275 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2276 instead of modifying the one in the widget style.
2278 Fixes: NB#101043 (Second row of all the command button are
2279 displayed in transparent mode.)
2281 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-date-button.c
2284 * src/hildon-time-button.c: Add gettext macros
2286 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2288 * src/hildon-date-button.c (hildon_date_button_new):
2289 * src/hildon-time-button.c (hildon_time_button_new_step):
2290 Use new logical strings to set the button default title.
2292 Fixes: NB#99915 (Date and Time options are not localised in Date
2295 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2297 * src/hildon-pannable-area.c
2298 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2299 the PANNING_THRESHOLD.
2301 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2303 * src/hildon-pannable-area.c,
2304 (hildon_pannable_area_class_init): Increased the maximum speed.
2305 (hildon_pannable_area_get_property),
2306 (hildon_pannable_area_set_property),
2307 (hildon_pannable_area_timeout): Added a new low friction mode, it
2308 allows the user avoid friction when launching the widget fast
2309 enough. It is interesting to traverse long lists.
2311 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2314 (+hildon_stackable_window_delete_event): Ignore delete events if
2315 the window is not the topmost one.
2317 Fixes: NB#101698 (Back button long press and delete-event handling)
2319 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2321 * src/hildon-pannable-area.c,
2322 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2323 gtk-dnd-drag-threshold, it was too big. We have defined our own
2324 dnd define and set a smaller value: PANNIG_THRESHOLD.
2326 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2329 user-defined icons, use always the default one.
2331 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2333 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2335 This patch was applied before but reverted because it caused
2336 problems, we have changed the main condition and tested the
2337 regressions we detected before and they work ok.
2339 * src/hildon-pannable-area.c,
2340 (hildon_pannable_area_get_topmost): Added a new parameter to
2341 filter the the windows that do not include those events. Added
2342 also a condition when finding the window to filter windows that do
2343 not ask for those events.
2344 (hildon_pannable_area_button_press_cb),
2345 (hildon_pannable_area_button_release_cb),
2346 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2347 topmost function, we have added the new parameter.
2349 Fixes: NB#97458 (Pannable area prevents propagation of button
2352 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2354 * tests/check-hildon-color-button.c (START_TEST): do not leak
2357 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-font-selection-dialog.c
2360 (hildon_font_selection_dialog_get_preview_text): Return NULL
2361 instead of FALSE on the g_return_val_if_fail().
2363 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2366 * src/hildon-date-selector.c
2367 (hildon_date_selector_select_current_date):
2368 Do not compare unsigned integers to be greater than or equal 0,
2369 because it's always TRUE.
2371 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2373 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2374 (hildon_date_selector_constructor): Do not select the current
2375 date until we are handle the "changed" signal, to avoid having bogus
2376 elements in the days model.
2378 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2381 for num_days, since _month_days() can return a negative value.
2383 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-caption.c (hildon_caption_size_allocate):
2386 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2387 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2389 Initialize allocation variables to 0, to avoid eventually using
2390 unitialized variables.
2392 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-bread-crumb-trail.c
2395 (hildon_bread_crumb_trail_size_allocate):
2396 * src/hildon-calendar.c (hildon_calendar_set_background):
2397 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2398 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2399 * src/hildon-seekbar.c (hildon_seekbar_init):
2400 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2401 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2402 * src/hildon-touch-selector-entry.c
2403 (hildon_touch_selector_get_text_from_model):
2404 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2405 * src/hildon-window.c (hildon_window_finalize):
2407 Remove many unused variables.
2409 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-seekbar.c: (hildon_seekbar_init),
2412 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2414 Remove unnecessary g_assert() calls.
2416 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-caption.c: (hildon_caption_expose),
2419 (hildon_caption_set_property), (hildon_caption_init),
2420 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2421 (hildon_caption_size_request), (hildon_caption_size_allocate),
2422 (hildon_caption_forall), (hildon_caption_set_separator),
2423 (hildon_caption_activate), (hildon_caption_set_child_expand),
2424 (hildon_caption_set_label_text),
2425 (hildon_caption_get_label_alignment):
2427 Remove unnecessary g_assert() calls.
2429 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2431 * src/hildon-banner.c
2432 (hildon_banner_map, hildon_banner_init): Make banner temporary
2433 before mapping it to avoid closing other temporary windows, but
2434 make it non-temporary afterwards to avoid being closed by other
2435 non-temporary windows.
2436 (-hildon_banner_client_event, hildon_banner_init):
2437 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2439 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2442 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2447 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2449 * src/hildon-remote-texture.c
2450 * src/hildon-remote-texture.h
2451 * src/hildon-remote-texture-private.h
2452 * examples/hildon-remote-texture-example.c:
2453 Updates/fixes to remote-texture and its example.
2455 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2457 Patch by Mox Soini (ext-mox.soini@nokia.com)
2459 * src/hildon-code-dialog.c: Update logical id.
2460 * src/hildon-set-password-dialog.c: Update logical id.
2462 Fixes: NB#100646 (Logical strings is shown for ok in set
2463 password,Password needed dialogs)
2465 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2468 * src/hildon-remote-texture.c
2469 * src/hildon-remote-texture.h
2470 * src/hildon-remote-texture-private.h
2472 Added remote texture widget (for Clutter shared memory textures)
2474 * examples/hildon-remote-texture-example.c
2475 * examples/Makefile.am
2476 Added example file for remote texture usage
2478 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2480 * configure.ac: post release version bump.
2481 * debian/changelog: version bump.
2483 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2488 * configure.ac: Bump version.
2489 * debian/changelog: Updates.
2491 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-date-selector.c (hildon_date_selector_init)
2494 (hildon_date_selector_constructor): Don't connect to the "changed"
2495 signal until the selector is completely constructed.
2497 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-touch-selector.c: (_create_new_column),
2500 (hildon_touch_selector_append_column),
2501 (hildon_touch_selector_set_column_selection_mode),
2502 (hildon_touch_selector_set_active),
2503 (hildon_touch_selector_select_iter):
2504 Emit the HildonTouchSelector::changed signal every time selection
2505 is changed in any of the methods above. This behavior was already
2506 documented but not fully functional.
2508 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2509 selection is programmatically changed)
2511 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2513 * doc/hildon-sections.txt: Remove obsolete icon
2514 sizes from here as well.
2516 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2518 * examples/hildon-stackable-window-example.c (add_window): Remove
2521 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-app-menu.c
2524 (hildon_app_menu_show): Check whether the parent window of a menu
2525 is topmost before popping it up.
2527 Fixes: NB#100468 (Application menu window is launched even when a
2528 new secondary-window/dialog is pending to be shown/realized.)
2530 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2532 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2535 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2537 Patch by Mox Soini (ext-mox.soini@nokia.com)
2539 * src/hildon-banner.c: (hildon_banner_show_animation):
2540 use stylus size instead of obsolete note size.
2541 * src/hildon-defines.h: Update icon sizes.
2543 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-touch-selector-entry.c:
2546 (hildon_touch_selector_entry_init): Disable unsupported
2548 (hildon_touch_selector_entry_get_text_column): Emit a warning
2549 if an unsupported input modes is used and explicitile state
2550 these modes in the documentation.
2552 Fixes: NB#99802 (Hildon touch selector entry not working properly
2553 for some of the input modes)
2555 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_area_init): Added the changed signal handlers of
2561 Fixes: NB#100320 (HildonPannableArea does not listen to
2562 GtkAdjustment "change" signals)
2564 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2566 * doc/hildon-sections.txt
2567 * src/hildon-window-private.h
2568 * src/hildon-window.h
2569 * src/hildon-window.c (hildon_window_init)
2570 (hildon_window_realize, hildon_window_unrealize)
2571 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2572 (hildon_window_size_request, hildon_window_size_allocate)
2573 (hildon_window_forall, hildon_window_show_all)
2574 (hildon_window_destroy, +paint_edit_toolbar)
2575 (+hildon_window_set_edit_toolbar):
2576 New hildon_window_set_edit_toolbar() method, to add a
2577 HildonEditToolbar to a window without having to pack it manually.
2579 Reorganize hildon_window_size_allocate()
2581 * src/hildon-edit-toolbar.c: Update documentation.
2583 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2584 example to use the new API.
2586 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2588 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2591 Remove from stack before calling parent's hide.
2593 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2596 window is removed from the middle of the stack, update the
2597 transiency of the previous one.
2599 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2602 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2605 block/unblock the signal handler if it's not actually being used.
2606 Fixes some critical warnings.
2608 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2610 Based on a patch by Iván Gómez (igomez@igalia.com)
2612 * src/hildon-banner.c
2616 * src/hildon-pannable-area.c
2617 * src/hildon-picker-dialog.c
2618 * src/hildon-wizard-dialog.h
2619 * src/hildon-wizard-dialog.c: Documentation updates.
2621 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2622 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2624 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2626 * configure.ac: post release version bump.
2627 * debian/changelog: version bump.
2629 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2634 * configure.ac: Bump version.
2635 * debian/changelog: Updates.
2637 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2640 a stock icon nor change the relief of the back arrow.
2642 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2643 graphics from theme)
2645 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-button.c (hildon_button_set_alignment): Use
2648 priv->alignment if the button has no child yet.
2650 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-button.c: (hildon_button_init): Set the
2653 button style during initialization to give it the proper
2656 Fixes: NB#99713 (HildonButton value label color is wrong)
2658 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-touch-selector.c: Document
2661 hildon_touch_selector_center_on_selected()
2663 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2666 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2667 all menu items, but not the menu itself.
2668 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2669 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2670 items after adding them to the menu so keyboard accelerators work.
2671 (hildon_app_menu_show): Don't show the menu if it contains items
2672 but none of them are visible.
2674 * examples/hildon-app-menu-example.c (create_menu): Use
2675 gtk_widget_show_all() to show all menu items.
2677 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-picker-dialog.c:
2680 (-_update_title_on_selector_changed_cb),
2681 (-_dialog_update_title): Removed.
2682 (_select_on_selector_changed_cb), (_on_dialog_response),
2683 (on_selector_columns_changed): Do not update the dialog title.
2684 (setup_interaction_mode): Do not connect to
2685 HildonTouchSelector::changed signal if there's a "done" button, as
2686 the dialog title doesn't need to be updated.
2688 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2691 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2693 Patch by Kristian Rietveld (kris@imendio.com)
2695 * src/hildon-touch-selector.c: (_create_new_column): Use new
2696 GtkTreeView::hildon-row-tapped signal to react to user interactions
2697 instead of ::changed.
2699 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2700 with some dynamic tree model)
2702 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2705 (+screen_size_changed, +label_size_request)
2706 (hildon_note_class_init): Make the Hildon information note have a
2707 minimum height, and make its text hvae a maximum width.
2709 Fixes: NB#98614 (Hildon information note (background) should have
2710 minimum height and maximum text width)
2712 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-banner.h
2715 * src/hildon-banner.c (hildon_banner_show_information)
2716 (hildon_banner_show_informationf)
2717 (hildon_banner_show_information_with_markup): Update documentation
2718 to reflect that the icon_name parameter is not used anymore.
2719 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2720 Remove all code from these functions and mark them as deprecated.
2721 (hildon_banner_show_progress): Mark as deprecated.
2723 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2725 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2727 * src/hildon-pannable-area.c,
2728 (hildon_pannable_area_class_init),
2729 (tranparency_color),
2730 (hildon_pannable_draw_vscroll),
2731 (hildon_pannable_draw_hscroll),
2732 (hildon_pannable_area_expose_event): Added a new way to render the
2733 scrollbars of the pannable area avoiding using cairo at all. This
2734 way we improve the performance of the pannable area rendering. The
2735 cairo rendering procedure is still in the code, we can control
2736 which one to use changing the value of the define
2737 USE_CAIRO_SCROLLBARS.
2739 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2741 * configure.ac: post release version bump.
2742 * debian/changelog: version bump.
2744 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2749 * configure.ac: Bump version.
2750 * debian/changelog: Updates.
2752 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2755 banners instead of destroying them when they receive a button
2758 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2760 Reverted commit 34028, it was causing regressions, probably the
2761 topmost condition is not correct, we have to check it in more
2762 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2763 propagation of button press events)
2765 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2767 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2768 that the selection is not empty before attempting to retrieve the
2769 current ampm selection.
2771 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2773 * src/hildon-picker-button.c:
2774 (hildon_picker_button_on_dialog_response): Directly update the
2775 button contents when required instead of calling _selection_changed.
2777 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-program.c (hildon_program_update_top_most): Update
2780 'is-topmost' property also when wm_hints is not set.
2782 Fixes: NB#98383 (is-topmost signal is not emitted when task
2783 switcher is clicked.)
2785 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2787 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2791 * src/hildon-animation-actor.c,
2792 * src/hildon-animation-actor.h: Added the animation actor class,
2793 this widget represents an animation actor for WM-assisted
2794 animation effects in the Hildon framework.
2796 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-window-stack-private.h
2799 * src/hildon-window-stack.c
2800 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2801 Avoid calling gtk_widget_show() again indirectly from
2802 hildon_stackable_window_show()
2804 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2809 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2812 (hildon_time_selector_init): Move the construction of the hours and
2813 ampm columns to the constructor to preserve the order the columns
2816 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-picker-dialog.c:
2819 (hildon_picker_dialog_class_init): Connect a realize method.
2820 (+hildon_picker_dialog_realize): Setup the interaction mode here
2822 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2823 yet, do it during the realize instead.
2824 (_on_dialog_response):
2825 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2826 if the widget is not realized, to avoid the dialog response before it
2829 Avoid premature responses in the HildonPickerDialog that can cause it
2830 to be hidden before it's even shown.
2832 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2835 (on_selector_columns_changed), (requires_done_button),
2836 (+prepare_action_area), (setup_interaction_mode),
2837 (_hildon_picker_dialog_set_selector):
2839 Split the interaction mode setup into preparation of the
2840 action area (prepare_action_area()) and the connection of
2841 the signals in setup_interaction_mode() and update the code to
2844 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2846 * src/hildon-pannable-area.c,
2847 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2848 per second to 15, we will check if this is ok regarding
2851 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2853 * src/hildon-pannable-area.c,
2854 (hildon_pannable_axis_scroll): Avoid resize if we already have
2855 reached overshoot_max.
2857 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2859 * src/hildon-pannable-area.c,
2860 (hildon_pannable_area_init),
2861 (hildon_pannable_area_realize),
2862 (hildon_pannable_area_size_allocate),
2863 (hildon_pannable_area_map),
2864 (hildon_pannable_area_unmap),
2865 (hildon_pannable_draw_vscroll),
2866 (hildon_pannable_draw_hscroll),
2867 (hildon_pannable_area_expose_event),
2868 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2869 pannable are to avoid the expose events go to the window and
2870 redraw the window. We save this way that part of the stack and the
2871 paint_boxes. We had to change the positions of the elements when
2874 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2877 * src/hildon-color-chooser-dialog.c:
2878 (hildon_color_chooser_dialog_init):
2879 * src/hildon-font-selection-dialog.c:
2880 (hildon_font_selection_dialog_init),
2881 (hildon_font_selection_dialog_show_preview):
2882 * src/hildon-get-password-dialog.c:
2883 * src/hildon-login-dialog.c:
2884 * src/hildon-set-password-dialog.c:
2885 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2886 * src/hildon-time-picker.c: (hildon_time_picker_init):
2888 Remove obsolete logical string IDs and update to the appropriate ones.
2890 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2892 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2895 that happens if the window hasn't been realized yet.
2897 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2898 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2900 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2903 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2906 Fixes: NB#98537 (Device hangs in account settings dialog)
2908 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: post release version bump.
2911 * debian/changelog: version bump
2913 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2918 * configure.ac: Bump version.
2919 * debian/changelog: Updates.
2921 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2923 Added a new function to the HildonTimeButton widget that allows to
2924 change the step of the minutes in the selector associated with the
2925 button: hildon_time_button_new_step
2927 * src/hildon-time-button.c,
2928 (hildon_time_button_init),
2929 (hildon_time_button_new),
2930 (hildon_time_button_new_step):
2931 * src/hildon-time-button.h: Added the new function and refactored
2933 * examples/hildon-time-button-example.c,
2934 (main): We have replaced the function without parameters with the
2935 function with the steps set to 5
2937 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2939 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2941 * src/hildon-time-selector.c,
2942 (hildon_time_selector_class_init),
2943 (hildon_time_selector_constructor),
2944 (hildon_time_selector_get_property),
2945 (hildon_time_selector_set_property),
2946 (_create_minutes_model),
2947 (hildon_time_selector_new_step),
2948 (hildon_time_selector_set_time),
2949 * src/hildon-time-selector.h: Added a new property to the
2950 HildonTimeSelector (minutes-step), we use that property to control
2951 the steps between the minutes in the list of the selector. We have
2952 added a new function to the API to create a widget changing the
2953 step: hildon_time_selector_new_step.
2955 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2957 * src/hildon-time-selector.c,
2958 (hildon_time_selector_class_init),
2959 (hildon_time_selector_constructor),
2960 (hildon_time_selector_init): Overrided the construct function when
2961 creating the time selector object. We have moved the minutes model
2962 handling code from the init to the new construction function:
2963 hildon_time_selector_constructor.
2965 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2967 * examples/hildon-date-button-example.c: (main): Use the new
2968 hildon_date_button_new_with_year_range() method in the example.
2969 * src/hildon-date-button.c:
2970 (+hildon_date_button_new_with_year_range): New public method
2971 to conveniently create a HildonDateButton with a custom year range
2972 in its HildonDateSelector.
2973 * src/hildon-date-button.h: Add the new public method definition.
2975 Fixes: NB#97908 (Not possible to change the year range in
2976 HildonDateSelector/HildonDateButton)
2978 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-date-selector.c:
2981 (+hildon_date_selector_set_property),
2982 (+hildon_date_selector_get_property),
2983 (hildon_date_selector_class_init): Install new properties "min-year"
2984 and "max-year" to define boundaries for the year column.
2985 (_create_year_model): Use the boundary properties to populate the model.
2986 (+hildon_date_selector_new_with_year_range): New public method to
2987 create a HildonDateSelector with a user defined year range.
2988 (hildon_date_selector_select_current_date): Use the new boundaries to
2989 calculate the iterator of current year.
2990 * src/hildon-date-selector.h: Add the new public method definition.
2992 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2995 Install a constructor method.
2996 (+hildon_date_selector_construct_ui): construct the widget.
2997 (+hildon_date_selector_constructor): new constructor.
2998 (+hildon_date_selector_init): move out widget construction code to
2999 the new constructor.
3001 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3004 that there's actually a month or year selected before obtaining them.
3005 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3006 of the HildonTouchSelector::changed signal, as it was emitted on every
3007 single item selection.
3009 Fix some warnings and possible crashers due to the selection restoring.
3011 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3014 the signal handlers only after creating the dialog instead of on every
3017 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-button.c (hildon_button_init)
3020 * src/hildon-check-button.c (hildon_check_button_init)
3021 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3022 focus when clicked by default.
3024 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3029 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3031 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3032 Alejandro G. Castro (alex@igalia.com)
3034 * src/hildon-picker-dialog.c:
3035 (hildon_picker_dialog_class_init): install new "center-on-show"
3037 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3038 (hildon_picker_dialog_set_property): add setter code for the new
3040 (hildon_picker_dialog_get_property): add getter code for the new
3042 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3043 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3046 Fixes: NB#92849 (Selected item is not always visible when
3047 HildonTouchSelector is shown)
3049 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3051 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3052 Alejandro G. Castro (alex@igalia.com)
3054 * src/hildon-touch-selector.c:
3055 (_create_new_column): Do not connect to the "realize" signal of the
3057 (hildon_touch_selector_append_column): center on the selected items
3058 when a new column is appended.
3059 (hildon_touch_selector_select_iter): Factor out the code to select a
3060 column to hildon_touch_selector_scroll_to().
3061 (+search_nearest_element): Method to retrieve the nearest selected
3062 element to the visible area of the pannable area in a column.
3063 (+on_realize_cb): scroll to the initially selected item.
3064 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3065 the pannable area is realized, otherwise delay this until it is.
3066 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3067 selected items of a given column.
3068 (+hildon_touch_selector_center_on_selected): Public method to center
3069 all columns on the nearest selected item.
3070 * src/hildon-touch-selector.h: Add definition for
3071 hildon_touch_selector_center_on_selected().
3073 Implement public API to ensure visibility of all selected items in
3074 a HildonTouchSelector.
3076 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3078 Fixed a problem in the fading when calling the scroll_to API, and
3079 improve scrollbar fading handling.
3081 * src/hildon-pannable-area.c,
3082 (hildon_pannable_area_grab_notify): avoid the timeout when the
3084 (hildon_pannable_area_button_press_cb),
3085 (hildon_pannable_area_motion_notify_cb): Code style changes.
3086 (hildon_pannable_area_button_release_cb): Review the conditions
3087 when releasing the mouse button to avoid unrequired fading
3089 (hildon_pannable_area_scroll_to): Do not calculate and set the
3090 velocity if the scroll is not required.
3092 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3095 Don't check whether the new selector is NULL: it cannot be.
3096 Hold a reference to the selector while doing the replacement.
3098 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3101 unnecessary size_request in a removed widget.
3103 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3106 an unnecessary reference tracking that was leaking.
3108 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3110 Added delayed motion notify event handling, this way we can
3111 discard redrawing if more than 25 events arrive per second.
3113 * src/hildon-pannable-area.c,
3114 (hildon_pannable_area_init): Initialized the new private atributes
3115 controlling this timeout
3116 (hildon_pannable_area_dispose): Remove the timeout that controls
3117 the motion notify events.
3118 (hildon_pannable_area_scroll): Added a condition to control the
3119 use of the acceleration.
3120 (hildon_pannable_area_motion_event_scroll_timeout),
3121 (hildon_pannable_area_motion_event_scroll): Added this two
3122 functions, they handle the motion notify events inside the
3124 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3125 to the scroll method with the new function.
3126 (hildon_pannable_area_button_release_cb): We have to remove the
3127 timeout handler and move to the last position if the last motion
3128 events were not handled.
3130 Fixes: NB#97028 (Pannable area updates on every motion event)
3132 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3134 * src/hildon-pannable-area.c,
3135 (hildon_pannable_area_get_topmost): Added a new parameter to
3136 filter the the windows that do not include those events. Added
3137 also a condition when finding the window to filter windows that do
3138 not ask for those events.
3139 (hildon_pannable_area_button_press_cb),
3140 (hildon_pannable_area_button_release_cb),
3141 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3142 topmost function, we have added the new parameter.
3144 Fixes: NB#97458 (Pannable area prevents propagation of button
3147 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3149 * src/hildon-pannable-area.c,
3150 (hildon_pannable_area_initial_effect): Added controls before
3151 launching the timeout and the idle functions.
3152 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3153 of the method, in some situations it can return with TRUE and 0 in
3155 (hildon_pannable_area_button_press_cb): We do not need to set
3156 DELAY for fading out here.
3158 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3160 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3163 post-cleaning if the selection is not NULL.
3165 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3168 all items before restoring the selection.
3170 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3172 * src/hildon-touch-selector.c:
3173 (+hildon_touch_selector_unselect_all):
3174 * src/hildon-touch-selector.h: New API to unselect all items in a
3175 column of the touch selector.
3177 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3179 * src/hildon-pannable-area.c,
3180 (hildon_pannable_area_redraw): Added a call to the refresh
3181 function inside the redraw because apparently in some cases the
3182 change in the adjustment does not imply a size allocate.
3184 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3185 despite the view not being scrollable)
3187 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3190 leak. Check for NULL before attempting to set the window title.
3192 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3195 whether to show or not the 'Done' button each time the dialog is
3196 shown, as it depends on the HildonTouchSelector selection mode.
3198 Fixes: NB#96226 (In multiple selection mode Done button is shown
3199 sometimes in listpicker)
3201 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3204 for the number of columns in the HildonTouchSelector more than once.
3206 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-touch-selector.c: Minor documentation fixes.
3210 * src/hildon-picker-dialog.c (+_dialog_update_title)
3211 (_select_on_selector_changed_cb)
3212 (_update_title_on_selector_changed_cb)
3213 (on_selector_columns_changed): Update dialog title when there's no
3214 'Done' button and also when the number of columns in the selector
3218 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3219 (+_selection_changed, hildon_picker_button_on_dialog_response)
3220 (hildon_picker_button_selector_selection_changed)
3221 (+hildon_picker_button_selector_columns_changed)
3222 (hildon_picker_button_set_selector): Update button value and emit
3223 'value-changed' when the number of columns in the selector
3227 Fixes: NB#96225 (Dialog titles are not shown according to the
3228 values selected in the list picker)
3230 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3233 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3234 New "arrow-width" and "arrow-height" style properties to set the
3235 size of the arrow button.
3236 Set name of arrow button ("hildon-edit-toolbar-arrow").
3238 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3239 graphics from theme)
3241 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-picker-button.c:
3244 (hildon_picker_button_selector_selection_changed): Use
3245 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3246 the dialog is present.
3248 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3249 the selection is accepted in the dialog)
3251 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-color-chooser.h
3254 * src/hildon-color-chooser-dialog.h:
3255 Added G_BEGIN_DECLS and G_END_DECLS
3257 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3259 (_clean_current_selection): plug a leak in the list.
3261 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-picker-dialog.c:
3264 (+free_path_list): Method to free a GList of GtkTreePaths.
3265 (_clean_current_selection), (_save_current_selection),
3266 (_restore_current_selection): Save the current selection in
3267 as a list of lists, to support multiple selection properly.
3269 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3271 patch by Claudio Saavedra (csaavedra@igalia.com)
3273 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3274 Store the press position.
3275 (+hildon_text_view_button_release_event): If the release position is
3276 close enough to the press position, move the cursor here. Otherwise,
3278 (hildon_text_view_class_init): Override GtkTextView press, release, and
3279 motion event handlers, disabling this way text selection through
3280 pointer interaction, and allowing the container widget to handle the
3283 Fixes: NB#95828 (HildonTextView functionality)
3285 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3287 Based on a patch by Iván Gómez (igomez@igalia.com)
3289 * src/hildon-button.[ch]
3290 * src/hildon-calendar.c
3291 * src/hildon-check-button.c
3292 * src/hildon-date-editor.c
3293 * src/hildon-date-selector.c
3294 * src/hildon-picker-button.c
3295 * src/hildon-time-editor.c
3296 * src/hildon-time-selector.c
3297 * src/hildon-touch-selector.[ch]:
3298 Documentation updates
3300 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3304 threshold, it was required due to X events handling.
3306 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3308 * src/hildon-pannable-area.c,
3309 (hildon_pannable_area_grab_notify),
3310 (hildon_pannable_area_initial_effect),
3311 (hildon_pannable_area_button_press_cb),
3312 (hildon_pannable_area_button_release_cb),
3313 (hildon_pannable_area_scroll_cb),
3314 (hildon_pannable_area_scroll_to): Review the timeout management of
3315 the scrollbar, the frecuency was incorrectly set.
3317 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-picker-button.c:
3320 (+hildon_picker_button_on_dialog_response),
3321 (hildon_picker_button_clicked): Present the dialog instead of
3322 running it with gtk_dialog_run().
3324 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3327 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3330 (hildon_app_menu_finalize): When a window is hidden it doesn't
3331 emit notify::is-topmost, so make sure than the menu also
3332 disappears in that case.
3333 (parent_window_topmost_notify): Renamed from parent_window_hidden
3335 Fixes: NB#94460 (stackable window's menu is not closed when its
3338 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-touch-selector-entry.c:
3341 (+hildon_touch_selector_entry_set_input_mode),
3342 (+hildon_touch_selector_entry_get_input_mode):
3343 * src/hildon-touch-selector-entry.h: New methods to access the input
3344 mode in the selector's entry.
3346 Fixes: NB#93410 (API required for setting IM mode in
3347 HildonTouchSelectorEntry)
3349 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3351 * configure.ac: post release version bump.
3352 * debian/changelog: version bump
3354 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3359 * configure.ac: Bump version.
3360 * debian/changelog: Updates.
3362 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-touch-selector.c:
3365 (_hildon_touch_selector_has_multiple_selection): No need
3366 to initialize the variables here.
3368 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3370 * src/hildon-note-private.h
3371 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3372 (hildon_note_finalize, hildon_note_rebuild): Close information
3373 notes when they receive a button press.
3375 Fixes: NB#89890 (Information notes does not get disappeared after
3378 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3381 mark from the wizard title, as it's not really necessary. Also,
3382 do not display the page title if not set.
3384 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3386 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3387 (parent_window_hidden): Use the window's "is-topmost" property to
3388 detect when to hide the menu.
3390 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3393 (hildon_app_menu_finalize): If the parent window of the menu is
3394 hidden, hide the menu too.
3396 Fixes: NB#94460 (stackable window's menu is not closed when its
3399 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3402 * debian/libhildon1-examples.install
3404 * examples/Makefile.am:
3405 Use dh_install to install all examples.
3406 Use DEB_SRCDIR instead of defining SOURCE_DIR
3408 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3410 * configure.ac: post release version bump.
3411 * debian/changelog: version bump
3413 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3418 * configure.ac: bump version
3419 * debian/changelog: updates
3420 * debian/control: bump gtk+ dependency
3422 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3424 patch by Christian Dywan (christian@imendio.com)
3426 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3427 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3429 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-check-button.c (hildon_check_button_init)
3432 (hildon_check_button_class_init, hildon_check_button_style_set)
3433 (hildon_check_button_apply_style):
3434 New "checkbox-size" style property.
3436 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3437 larger / configurable size)
3439 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3441 * configure.ac: post release version bump.
3442 * debian/changelog: version bump
3444 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3449 * configure.ac: bump version
3450 * debian/changelog: updates
3452 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3454 * doc/hildon-sections.txt
3455 * src/hildon-pannable-area.c
3456 * src/hildon-program.c
3457 * src/hildon-time-editor.c
3458 * src/hildon-touch-selector-entry.c:
3460 More documentation updates.
3462 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3464 * doc/hildon-sections.txt
3465 * src/hildon-caption.c
3466 * src/hildon-code-dialog.c
3467 * src/hildon-color-button.c
3468 * src/hildon-controlbar.c
3469 * src/hildon-date-editor.c
3470 * src/hildon-date-selector.c
3471 * src/hildon-edit-toolbar.c
3472 * src/hildon-find-toolbar.c
3473 * src/hildon-font-selection-dialog.c
3475 * src/hildon-program.c
3476 * src/hildon-range-editor.c
3477 * src/hildon-seekbar.c
3478 * src/hildon-time-editor.c
3479 * src/hildon-time-selector.c
3480 * src/hildon-volumebar-range.c
3481 * src/hildon-volumebar.c
3482 * src/hildon-vvolumebar.c
3483 * src/hildon-weekday-picker.c
3484 * src/hildon-window.c
3485 * src/hildon-wizard-dialog.c:
3487 Lots of documentation fixes.
3489 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3491 Patch contributed by Iván Gómez (igomez@igalia.com)
3493 * src/hildon-check-button.c:
3494 * src/hildon-date-button.c:
3495 * src/hildon-date-selector.c:
3496 * src/hildon-dialog.c:
3497 * src/hildon-edit-toolbar.c:
3498 * src/hildon-entry.c:
3499 * src/hildon-picker-button.c:
3500 * src/hildon-program.c:
3501 * src/hildon-text-view.c:
3502 * src/hildon-time-button.c:
3503 * src/hildon-touch-selector-entry.c:
3504 * src/hildon-window-stack.c:
3506 Add more "since" tags to the new API.
3508 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3510 * doc/hildon-sections.txt: Add below method.
3511 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3512 version for the hildonized scale.
3513 * src/hildon-gtk.h: Add the definition.
3515 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3517 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3519 * doc/hildon-sections.txt: Add missing entries for new methods.
3521 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3523 Added API to pannable are in order to get its adjustments. We
3524 added two properties to manage the values we had in the private
3527 * src/hildon-pannable-area.c:
3528 (hildon_pannable_area_class_init): Added hadjustment and
3529 vadjustment properties in order to expose horizontal and vertical
3531 (hildon_pannable_area_get_property),
3532 (hildon_pannable_area_set_property): Added code to handle the new
3534 (hildon_pannable_area_get_hadjustment),
3535 (hildon_pannable_area_get_vadjustment): API functions to get the
3537 * src/hildon-pannable-area.h:
3538 (hildon_pannable_area_get_hadjustment),
3539 (hildon_pannable_area_get_vadjustment): API functions to get the
3542 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3544 Fixed some leaks, after valgrinding.
3546 * src/hildon-touch-selector.c:
3547 (_default_print_func): Fixed a leak.
3548 (hildon_touch_selector_append_column): Fixed a leak.
3549 * src/hildon-date-button.c:
3550 (hildon_date_button_init): Fixed a leak.
3551 * src/hildon-date-selector.c
3552 (hildon_date_selector_finalize): Fixed a leak.
3554 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3556 Based on a patch by Christian Dywan (christian@imendio.com)
3558 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3560 * src/hildon-gtk.h: Add definition.
3562 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3564 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-picker-button.c: (hildon_picker_button_init),
3567 (hildon_picker_button_new): Set the HildonButton::style property
3568 in the init method, to propagate the value to the derived classes.
3570 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-button.c: (hildon_button_class_init): Do not make
3573 the "style" property a construct property.
3575 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-wizard-dialog.h
3578 * src/hildon-wizard-dialog.c
3579 (hildon_wizard_dialog_set_forward_page_func)
3580 * src/hildon-pannable-area.h
3581 * src/hildon-pannable-area.c
3582 (hildon_pannable_area_set_size_request_policy):
3583 Documentation fixes.
3585 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3587 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3589 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3591 * doc/hildon-sections.txt: Added sections file.
3593 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3596 * src/*.[ch]: Updates.
3598 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3600 * examples/hildon-progress-indicator-example.c: new file
3601 * examples/Makefile.am: include the new example program
3603 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3607 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3609 * configure.ac: post release version bump
3610 * debian/changelog: version bump
3612 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3617 * configure.ac: bump version
3618 * debian/changelog: updates
3619 * debian/control: bump gtk+ dependency
3621 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-dialog.c: Mark as deprecated.
3624 * src/hildon-dialog.h: Mark as deprecated.
3625 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3626 from HildonDialog and still work, even if
3627 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3628 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3630 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3631 maemo changes) instead)
3633 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3635 * src/hildon-pannable_area.h:
3636 * src/hildon-pannable_area.c:
3637 (hildon_pannable_area_class_init),
3638 (hildon_pannable_area_set_property),
3639 (hildon_pannable_area_get_property),
3640 (hildon_pannable_area_size_request),
3641 (hildon_pannable_area_get_size_request_policy),
3642 (hildon_pannable_area_set_size_request_policy): Added new API
3643 allowing applications to control the request policy. Now they can
3644 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3645 children allocation (HILDON_MOVEMENT_CHILDREN).
3647 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3651 (hildon_gtk_tree_view_set_ui_mode)
3652 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3653 mode of treeviews and iconviews.
3655 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3657 * src/hildon-touch-selector-entry.c:
3658 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3659 of a GtkEntry to get proper theming.
3661 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3662 widget, not GtkEntry)
3664 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3667 no HildonWizardDialogPageFunc.
3669 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3671 Patch contributed by Iván Gómez (igomez@igalia.com)
3673 * src/hildon-app-menu.c:
3674 * src/hildon-button.c:
3675 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3676 * src/hildon-stackable-window.c:
3677 * src/hildon-time-selector.c:
3678 * src/hildon-touch-selector.c:
3679 * src/hildon-window.c:
3681 Add more "since" tags to the new API in hildon 2.2.
3683 2008-12-05 Tim Janik <timj@imendio.com>
3685 Patch contributed by Christian Dywan (christian@imendio.com)
3687 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3688 HildonSizeType, which are supplied by Gtk+ now.
3690 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3692 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3693 (with maemo changes) instead)
3695 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3697 Patch contributed by Iván Gómez (igomez@igalia.com)
3699 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3702 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3704 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3705 (some_page_func), (main): Update the example to use a
3706 HildonWizardDialogPageFunc function.
3708 * src/hildon-wizard-dialog-private.h: Add private data for
3709 the HildonWizardDialogPageFunc function usage.
3711 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3712 (destroy), (hildon_wizard_dialog_init), (response),
3713 (hildon_wizard_dialog_set_forward_page_func):
3714 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3715 that applications can use to stop a HildonWizardDialog to jump to
3718 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3721 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3723 * src/hildon-program.h
3724 * src/hildon-program-private.h
3725 * src/hildon-program.c (hildon_program_init)
3726 (hildon_program_set_common_app_menu)
3727 (hildon_program_get_common_app_menu):
3728 New API for setting a common HildonAppMenu for all
3729 HildonStackableWindows registered with the HildonProgram.
3731 * src/hildon-stackable-window.c
3732 (hildon_stackable_window_toggle_menu):
3733 Use the common HildonAppMenu if a window doesn't have a specific
3736 * src/hildon-app-menu-private.h
3737 * src/hildon-app-menu.c
3738 (hildon_app_menu_get_parent_window):
3739 Function to obtain the window a HildonAppMenu is attached to.
3740 (hildon_app_menu_set_parent_window):
3741 Hide the menu if the parent window is set to NULL.
3743 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3746 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3747 search widget to popup.
3749 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3751 * configure.ac: post release version bump
3752 * debian/changelog: version bump
3754 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3759 * configure.ac: bump version
3760 * debian/changelog: updates
3762 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3764 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3766 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3767 (hildon_window_stack_window_realized)
3768 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3769 Set the leader GdkWindow when a window is stacked and realized,
3770 unset it when it's unstacked.
3771 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3773 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3775 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-stackable-window.h
3778 * src/hildon-window-stack.h:
3779 Protect definition of HildonWindowStack using the preprocessor.
3781 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3784 Fix warning if all menu items are hidden.
3786 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3788 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3790 * src/hildon-controlbar.c:
3791 * src/hildon-hvolumebar.c:
3792 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3793 Multiple scale size defines updates.
3795 Fixes: NB#94322 (Scale Updates)
3797 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3799 * examples/hildon-app-menu-example.c (create_menu)
3800 Show items after adding them to the menu, as in the future the
3801 menu will no longer call gtk_widget_show() on the added items.
3803 * src/hildon-app-menu.c:
3804 Update example as explained above.
3806 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-app-menu.c
3809 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3810 Make sure that all menu items have finger height.
3812 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3814 * src/hildon-picker-dialog.c:
3815 (_on_dialog_response), (_save_current_selection),
3816 (_restore_current_selection), (_clean_current_selection),
3817 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3818 Defined new functions in order to save the current internal selector
3819 selection previous open the dialog, in case that the use cancel the
3820 interaction, so the widget restores the previous selection.
3822 Fixes: NB#92032 (In calendar application, date values in 'new event'
3825 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3827 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-button.c: Add a reference to the button examples in
3830 hildon-button-example.c
3832 * examples/hildon-button-example.c: Added examples of the most
3833 common button layouts.
3835 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-app-menu.c (hildon_app_menu_show)
3838 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3840 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3842 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-picker-dialog.c:
3845 (hildon_picker_dialog_init): Initialize the signal id for
3846 HildonTouchSelector::columns-changed.
3847 (+on_selector_columns_changed): Set up the interaction mode everytime a
3848 column is added or removed from the HildonTouchSelector.
3849 (_hildon_picker_dialog_set_selector): Connect to
3850 HildonTouchSelector::columns-changed and keep track of it.
3852 Make sure to update the interaction mode of the dialog everytime a
3853 column is added or removed in the HildonTouchSelector.
3855 Fixes: NB#93228 (Done button is not shown always in listpicker)
3857 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3859 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3860 a new ::columns-changed signal.
3861 (hildon_touch_selector_append_column): Emit ::columns-changed.
3862 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3864 Add a ::columns-changed signal, emitted when the number of columns in a
3865 HildonTouchSelector changes.
3867 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3870 (_hildon_picker_dialog_set_selector): Factor out the code
3871 to set up the dialog interaction mode.
3873 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3875 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3876 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3877 to signal_changed_id.
3879 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3884 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3886 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3887 Updated the logical ids related to ampm format, as now it is required to
3888 show it correctly localized even on languages with no default
3889 abbreviations for am or pm
3890 (_check_am_pm_format): check correctly the 24h format gconf property
3892 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3894 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3896 * src/hildon-button.c: Documentation updates.
3898 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3901 * src/hildon-caption.c: (hildon_caption_class_init):
3902 * src/hildon-color-button.c: (hildon_color_button_class_init):
3903 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3904 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3905 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3906 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3908 Remove deprecated GTK+ marshalers and replace them with the ones
3909 provided by GLib, for those available, add a marshaler for
3910 BOOLEAN:VOID, which is not available in GLib, and use it.
3912 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3914 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3915 the text from the previous column if there is no
3916 HildonTouchSelectorColumn::text-property set.
3918 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-button.h
3921 * src/hildon-button.c (hildon_button_set_property)
3922 (hildon_button_get_property, hildon_button_class_init)
3923 (hildon_button_set_style, hildon_button_get_style):
3924 New "style" property to change the visual appearance of the
3927 * src/hildon-picker-button.c (hildon_picker_button_new):
3928 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3930 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3931 HildonButton look like PickerButton)
3933 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3936 column while building the default string.
3938 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3941 scroll indicator by default.
3943 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3945 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3947 * src/hildon-main.c: Fix the documentation for hildon_init()
3949 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3951 * doc/hildon-docs.sgml
3955 * src/hildon-window-stack-private.h
3956 * src/hildon-window-stack.h
3957 * src/hildon-window-stack.c:
3958 New HildonWindowStack object, that adds support for multiple
3959 stacks of windows per process.
3961 * src/hildon-stackable-window-private.h
3962 * src/hildon-stackable-window.h
3963 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3964 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3965 (hildon_stackable_window_show, hildon_stackable_window_hide)
3966 (hildon_stackable_window_class_init)
3967 (hildon_stackable_window_init):
3968 Use HildonWindowStack for stack management.
3970 * src/hildon-program.c (hildon_program_pop_window_stack)
3971 (hildon_program_peek_window_stack)
3972 (hildon_program_go_to_root_window):
3973 Add a fallback implementation to the deprecated functions using
3976 * examples/hildon-stackable-window-example.c:
3977 Use the new HildonWindowStack API.
3979 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3981 * src/hildon-stackable-window-private.h
3982 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3983 (hildon_stackable_window_hide, hildon_stackable_window_init):
3984 Remove all window stack management.
3986 * src/hildon-program-private.h
3987 * src/hildon-program.h
3988 * src/hildon-program.c (hildon_program_init)
3989 (hildon_program_pop_window_stack)
3990 (hildon_program_peek_window_stack)
3991 (hildon_program_go_to_root_window):
3992 Remove all window stack management and mark functions as
3995 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3997 * src/hildon-app-menu.c (hildon_app_menu_realize):
3998 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4000 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4002 * configure.ac: post release version bump
4003 * debian/changelog: version bump
4005 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4010 * configure.ac: bump version
4011 * debian/changelog: updates
4013 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4015 Based on initial code by Christian Dywan (christian@imendio.com)
4017 * doc/hildon-docs.sgml: Add section for hildon-main.
4018 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4019 * src/Makefile.am: Add new hildon-main.[ch]
4020 * src/hildon-defines.h: Update the icon sizes.
4021 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4022 new library initialization files and register icon sizes.
4023 * src/hildon-main.h: New declarations.
4024 * src/hildon.h: Include hildon-main.h
4026 Add new initialization functions to the library. These methods
4027 will register the hildon specific icon sizes and can be used in the
4028 future for other hildon specific bits.
4030 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4032 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-window.c: (hildon_window_realize),
4035 (hildon_window_notify), (-hildon_window_update_title): Do not set
4036 the application name in the window title.
4038 Fixes: NB#89754 (Applications shouldn't display their names in the
4041 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4043 * src/hildon-note-private.h:
4044 * src/hildon-note.c: (hildon_note_set_property),
4045 (hildon_note_get_property), (hildon_note_class_init),
4046 (hildon_note_init), (hildon_note_finalize),
4047 (hildon_note_new_confirmation_with_icon_name),
4048 (hildon_note_new_information_with_icon_name):
4050 No need to mark as deprecated the actual code. Revert
4051 to avoid missing symbols in widgets using deprecated API.
4053 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4055 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4057 * src/hildon-volumebar.h
4058 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4059 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4061 * src/hildon-helper.h
4062 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4063 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4065 * examples/Makefile.am:
4066 Deprecate hildon-insensitive-example
4068 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4070 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4072 * examples/hildon-pannable-area-buttons-scroll-example.c:
4073 Make all buttons finger height
4075 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4077 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4079 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4080 update the day model only if it is really required, and to avoid the
4081 full-reconstruction aproach. Now it only add or remove the required days.
4083 The purpose of this is avoid superfluous HildonTouchSelector::changed
4086 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4087 with strange parameters)
4089 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4091 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4093 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4094 the WINDOW_TYPE property.
4096 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4098 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4101 Fix dependency to allow parallel compilation with make -jX
4103 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4105 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4106 color frame and some minor tweaks to make it more consistent with
4109 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4110 highlighted but not visible)
4112 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4114 * examples/Makefile.am: Fixed typo in the Makefile.am.
4116 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4118 Reviewed the use of MAEMO_GTK define, now we add the define in the
4119 compilation line, and we also add it to the pc file.
4121 * configure.ac: Added MAEMO_GTK define to the compilation command
4122 and removed it from the config.h.
4124 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4125 do not have to take care about this define if the library was
4129 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4131 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4133 * examples/Makefile.am,
4134 * examples/hildon-pannable-area-buttons-scroll-example.c,
4135 * examples/hildon-pannable-area-gesture-signals-example.c,
4136 * examples/hildon-pannable-area-scroll-jump-example.c,
4137 * examples/hildon-pannable-area-tree-view-example.c:
4138 Renamed the pannable area examples, now they have more meaningful
4141 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4143 * src/hildon-touch-selector.c:
4144 (hildon_touch_selector_set_column_selection_mode): Used of
4145 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4146 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4147 to avoid re-seting the same selection mode.
4149 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4150 breaks HildonPickerDialog)
4152 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4154 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4155 conditional in the Makefile.am
4157 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4160 Remove unused methods.
4162 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-button.c (hildon_button_init):
4165 Make button images center-aligned by default
4167 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4170 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4171 activated, we have to think about how to deal with both defines
4172 MAEMO_GTK and MAEMO_CHANGES.
4174 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4176 * examples/hildon-app-menu-example.c (create_menu): Make all
4177 buttons finger size.
4179 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4181 Fixed the compilation without maemo gtk adding ifdefs with
4182 MAEMO_GTK define to the code, we have to check this version more
4185 * examples/Makefile.am: Added control to avoid some examples that
4186 just make sense with maemo gtk.
4189 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4190 hildon modes with the define.
4192 * examples/hildon-edit-toolbar-example.c,
4193 (create_icon_view): Create the icon view without hildon-gtk
4194 helpers if we are not using maemo gtk.
4196 * src/hildon-touch-selector.c,
4197 (_create_new_column): Create the treeview without hildon-gtk
4198 helpers if we are not using maemo gtk.
4200 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4202 * src/hildon-pnnable-area.c,
4203 (hildon_pannable_area_dispose),
4204 (hildon_pannable_area_button_press_cb),
4205 (hildon_pannable_area_child_mapped),
4206 (hildon_pannable_area_add),
4207 (hildon_pannable_area_remove): Added code to control the position
4208 of the event_window when adding and removing children from the
4209 pannable. We have to raise the event window when the child is
4212 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4213 selection mode using custom widget inside pannable)
4215 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4217 * configure.ac: post release version bump
4218 * debian/changelog: version bump
4220 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4225 * configure.ac: bump version
4226 * debian/changelog: updates
4228 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4230 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4231 search mode, in order to avoid lose the focus on the treeview when
4232 a hw key (like enter) is pressed.
4234 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4235 in HildonDateSelector dialog)
4237 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4239 * debian/rules: Added --enable-maintainer-mode
4240 * Makefile.am: Added ACLOCAL_AMFLAGS
4242 This allows to properly regenerate the Makefiles if you modify the
4243 configure.ac or any Makefile.am.
4245 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4247 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4248 properties, not needed at all.
4250 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4252 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4254 * src/hildon-note.c: (hildon_note_set_property),
4255 (hildon_note_get_property), (hildon_note_class_init),
4256 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4257 (hildon_note_new_confirmation_add_buttons): Remove icons.
4258 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4259 (hildon_note_new_information_with_icon_name): Deprecate.
4260 (hildon_note_new_confirmation): Act directly, without calling
4261 the deprecated constructor.
4262 (hildon_note_new_information): Act directly, without calling
4263 the deprecated constructor.
4264 * src/hildon-note.h: Mark deprecate methods as such.
4265 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4266 not run tests on the deprecated methods if built with deprecation
4269 Fixes: NB#91688 (Never show icons in information notes/confirmation
4272 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4275 (hildon_app_menu_key_press): Remove leftover usage of the
4276 private structure in HildonAppMenu struct.
4277 * src/hildon-app-menu.h: Remove leftover private structure
4278 from the HildonAppMenu struct.
4280 Fixes a crasher when using the HildonAppMenu.
4282 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-picker-dialog.c: Use appropriate logical id
4285 for the default "Done" text.
4287 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4289 * configure.ac: post release version bump
4290 * debian/changelog: version bump
4292 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4294 Modified the way to scroll to the current selection just when the touch
4295 selector is shown on the screen, avoiding a g_idle. Added too a property
4296 to configure this behaviour. See hildon_pannable_area_jump_to_child
4297 documentation for more information.
4299 * src/hildon-touch-selector.c
4300 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4301 Added 'initial-scroll' property
4302 (hildon_touch_selector_set_property): Added
4303 (hildon_touch_selector_map): Removed as not required anymore
4304 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4305 only a concrete column, instead of iterate along all the columns
4307 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4312 * configure.ac: bump version
4313 * debian/changelog: updates
4315 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4318 compilation time warnings.
4320 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4322 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4323 the default value for HildonPannableArea::mov-mode to
4324 HILDON_PANNABLE_AREA_MODE_VERT.
4326 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4328 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4330 Reverting following commit:
4332 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4334 * src/hildon-app-menu-private.h
4335 * src/hildon-app-menu.[ch]
4336 * src/hildon-button.[ch]
4337 * src/hildon-check-button.[ch]
4338 * src/hildon-entry.[ch]
4339 * src/hildon-pannable-area.[ch]
4340 * src/hildon-text-view.[ch]:
4341 Added private field to the object's structure.
4343 because it causes an ABI breakage. We will need to introduce these
4344 changes later at some point. See NB#91636 for an extensive
4345 explanation and status.
4347 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4349 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4351 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4352 remove special cases that are no longer necessary.
4354 Fixes: NB#91016 (Change toolbar sizes, simplification)
4356 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4359 is shown in the cancel note.
4361 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4363 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4364 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4365 (hildon_seekbar_init): Remove steppers, remove expose event.
4366 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4368 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4370 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4373 label font to "SmallSystemFont" for vertically arranged buttons.
4375 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4378 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-check-button.c
4381 (hildon_check_button_set_active, hildon_check_button_clicked):
4382 Don't access private parts directly, use getters instead.
4384 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4386 * src/hildon-check-button.c (hildon_check_button_new):
4387 Align the contents of the check button to the left.
4389 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4391 * src/hildon-pannable-area.c,
4392 (hildon_pannable_area_scroll_to),
4393 (hildon_pannable_area_jump_to),
4394 (hildon_pannable_area_scroll_to_child),
4395 (hildon_pannable_area_jump_to_child): Replace the mapped
4396 precondition of these functions with the realized, it is the
4397 correct state of the widget in this case. Changed the
4398 documentation according to this modification.
4400 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4402 Added a new EXTRA_CFLAGS option to add the deprecated define to
4403 the compilation command. This way we can avoid using the define in
4404 the documentation compilation.
4406 * configure.ac: Defined EXTRA_CFLAGS.
4408 * examples/Makefile.am:
4410 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4412 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4414 * src/hildon-picker-dialog.c:
4415 Defined a utility macro with the desired touch selector height
4416 Removed currently unused separator, and title_label variables from
4418 (hildon_picker_dialog_init): Removed code related to the creation
4419 of unused private variables title_label and separator.
4420 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4421 to ensure correct visualization of the touch selector inside the dialog.
4422 * src/hildon-touch-selector.c
4423 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4424 ensure a concrete height of the widget.
4426 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4429 * tests/Makefile.am:
4431 Remove spurious whitespaces.
4433 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4436 compilation warning after the cancel button removal.
4438 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4440 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4442 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4443 Makefile.am, that way we can choose not to compile some examples
4444 and tests of the deprecated widgets.
4446 * examples/Makefile.am: Divided the sources in deprecated and
4449 * src/Makefile.am: Added undef statement of the deprecated
4450 symbol to the enums file generation process.
4452 * src/hildon-color-chooser-dialog.c
4453 * src/hildon-color-chooser-dialog.h
4454 * src/hildon-color-button.c
4455 * src/hildon-color-button.h
4456 * src/hildon-color-chooser.c
4457 * src/hildon-color-chooser.h
4458 * src/hildon-controlbar.c
4459 * src/hildon-controlbar.h
4460 * src/hildon-date-editor.c
4461 * src/hildon-date-editor.h
4462 * src/hildon-hvolumebar.c
4463 * src/hildon-hvolumebar.h
4464 * src/hildon-private.c
4465 * src/hildon-private.h
4466 * src/hildon-range-editor.c
4467 * src/hildon-range-editor.h
4468 * src/hildon-seekbar.c
4469 * src/hildon-seekbar.h
4470 * src/hildon-time-editor.c
4471 * src/hildon-time-editor.h
4472 * src/hildon-time-picker.c
4473 * src/hildon-time-picker.h
4474 * src/hildon-volumebar.c
4475 * src/hildon-volumebar.h
4476 * src/hildon-vvolumebar.c
4477 * src/hildon-vvolumebar.h
4478 * src/hildon-bread-crumb-trail.h
4479 * src/hildon-bread-crumb-trail.c
4480 * src/hildon-calendar-popup.c
4481 * src/hildon-calendar-popup.h
4482 * src/hildon-weekday-picker.c:
4483 * src/hildon-weekday-picker.h:
4484 * src/hildon-bread-crumb-widget.c:
4485 * src/hildon-bread-crumb-widget.h:
4486 * src/hildon-bread-crumb.c:
4487 * src/hildon-bread-crumb.h:
4488 * src/hildon-calendar.c:
4489 * src/hildon-calendar.h:
4490 * src/hildon-caption.c:
4491 * src/hildon-code-dialog.c:
4492 * src/hildon-code-dialog.h:
4493 * src/hildon-font-selection-dialog.c:
4494 * src/hildon-font-selection-dialog.h:
4495 * src/hildon-get-password-dialog.c:
4496 * src/hildon-get-password-dialog.h:
4497 * src/hildon-login-dialog.c:
4498 * src/hildon-login-dialog.h:
4499 * src/hildon-number-editor.c:
4500 * src/hildon-number-editor.h:
4501 * src/hildon-set-password-dialog.c:
4502 * src/hildon-set-password-dialog.h:
4503 * src/hildon-sort-dialog.c:
4504 * src/hildon-sort-dialog.h: This is the list of deprecated
4507 * src/hildon-touch-selector.c:
4508 * src/hildon-window.c: Added undef statement to avoid compilation
4511 * tests/Makefile.am: Divided the sources in deprecated and
4514 * tests/check_test.c,
4515 (configure_tests): Marked the deprecated code that was adding
4516 suites with deprecated tests.
4518 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4520 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-touch-selector.c: (_default_print_func): Do not
4523 duplicate a string returned by gtk_tree_model_get(), it is already
4526 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4529 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4531 * src/hildon-pannable-area.c
4532 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4533 method, it had problems when adding a widget with viewport the
4534 second time. Now checks if it already has a viewport and uses it.
4536 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4539 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4541 * src/hildon-pannable-area.c,
4542 (hildon_pannable_area_scroll_to),
4543 (hildon_pannable_area_jump_to),
4544 (hildon_pannable_area_scroll_to_child),
4545 (hildon_pannable_area_jump_to_child): Added a precondition to the
4546 scroll and jump to functions: the widget must be mapped before we
4547 can safely call these functions. We have also added documentation
4548 to the functions to explain how to use them in this situation.
4551 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4553 Reviewed the threading handling of the pannable widget, we have
4554 used the gdk_threads_add_timeout function instead of the usual
4555 glib handlers. This avoids some problems with the threads.
4557 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4558 (hildon_pannable_area_initial_effect),
4559 (hildon_pannable_area_scroll_indicator_fade),
4560 (hildon_pannable_area_button_press_cb),
4561 (hildon_pannable_area_timeout),
4562 (hildon_pannable_area_motion_notify_cb),
4563 (hildon_pannable_area_button_release_cb),
4564 (hildon_pannable_area_scroll_cb),
4565 (hildon_pannable_area_scroll_to): Removed the
4566 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4567 gdk_threads_add_timeout.
4569 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4571 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4576 * configure.ac: bump version
4577 * debian/changelog: updates
4579 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4582 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4583 * src/hildon-color-chooser-dialog.c:
4584 (hildon_color_chooser_dialog_init):
4585 * src/hildon-font-selection-dialog.c:
4586 (hildon_font_selection_dialog_init):
4587 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4589 Remove all cancel/close-like dialogs, as these are not going to be
4592 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4594 * src/hildon-note.c: (hildon_note_rebuild),
4595 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4598 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4600 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4602 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4603 sure all buttons are shown, even the Cancel/Close-like ones.
4605 Fixes: NB#90861 (Custom Confirmation dialogs should be
4606 protected from cancel button removal)
4608 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4610 * debian/control: Change libhildon1-examples dependency from libhildon1
4612 * debian/libhildon1-examples.install
4614 * Makefile.am: Modified the final install directory for the examples on
4615 package libhildon1-examples
4616 * Makefile.static: Update clean target in order to remove all the binary
4619 Changes suggested by Claudio after review new libhildon1-examples package
4621 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4624 * src/hildon-touch-selector.c: Ditto.
4626 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4628 * debian/control: Added new package libhildon1-examples, in order to pack
4629 the current hildon examples as documentation
4630 * debian/rules: Not to compress .c files, modify some includes on the
4631 examples (as normally are compiled locally, but when installed it will
4632 require to include the installed libhildon1 library), and rename
4634 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4635 install all the example files on the new example package
4636 * examples/Makefile.static: Added static makefile that can be used to
4637 compile the examples, once installed the new example package
4638 * examples: Most of the examples were modified in order to grant that
4639 all use only '#include "hildon.h"', in order to be easy to prepare
4640 it on the example package
4642 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4645 * debian/libhildon1-dev.install
4646 * debian/libhildon1-doc.install:
4647 Move all gtk-doc files to a separate libhildon1-doc package.
4649 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4651 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4655 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4657 * debian/rules: Fixed a error in order to avoid unnecessary calls
4658 to autogen.sh on package building
4660 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4662 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4664 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4666 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4669 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4671 * src/hildon-picker-button.c
4672 (hildon_picker_button_finalize):
4673 Free priv->done_button_text
4675 * src/hildon-time-button.c
4676 (hildon_time_button_set_time)
4677 * src/hildon-picker-button.c
4678 (hildon_picker_button_clicked)
4679 (hildon_picker_button_selector_selection_changed)
4680 (hildon_picker_button_set_selector)
4681 * src/hildon-date-button.c
4682 (hildon_date_button_set_date):
4683 Free strings returned by hildon_touch_selector_get_current_text()
4685 * src/hildon-button.c (hildon_button_construct_child):
4686 Fix leaks in priv->image and priv->label_box
4688 Fixes: NB#90535 (Memory leak in picker button)
4690 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4692 * src/hildon-button.c: (hildon_button_get_property): Do not access
4693 private elements directly, use getters instead.
4695 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4697 * src/hildon-app-menu-private.h
4698 * src/hildon-app-menu.c
4699 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4700 Store the menu's parent window.
4702 * src/hildon-stackable-window.c
4703 (hildon_stackable_window_toggle_menu)
4704 (hildon_stackable_window_finalize):
4705 Set the menu's parent window when the menu is shown, unset it when
4708 * src/hildon-app-menu.c
4709 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4710 (hildon_app_menu_class_init):
4711 Send unhandled keyboard accelerators to the parent window.
4713 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-stackable-window.c
4716 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4718 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4720 * configure.ac: post release version bump
4722 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4725 * configure.ac: Bump version
4726 * debian/changelog: Updates
4727 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4730 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4732 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4735 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4736 GtkMenu with Hildon style.
4738 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4740 * src/hildon-picker-button.c:
4741 (hildon_picker_button_set_done_button_text): Set the dialog's
4742 done button text here as well.
4744 Fixes: NB#90232 (Picker button does not set the label on done button
4745 for the second time)
4747 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4752 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-app-menu.c (hildon_app_menu_insert)
4755 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4756 the HildonAppMenu to be activatable using keyboard accelerators
4757 when the menu is not being shown.
4759 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4761 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-stackable-window.c
4764 (hildon_stackable_window_show):
4765 Don't hide old windows automatically when new windows are shown:
4766 this is now a task for the window manager.
4767 (hildon_stackable_window_class_init)
4768 (hildon_stackable_window_hide):
4769 Remove windows from the stack everytime they're hidden.
4770 (hildon_stackable_window_realize):
4771 Don't change the _NET_WM_WINDOW_TYPE property. Use
4772 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4773 it as a stackable window.
4775 * src/hildon-program.c
4776 (hildon_program_pop_window_stack):
4777 Just hide the window to remove it from the stack.
4778 (hildon_program_go_to_root_window):
4779 Don't call gtk_widget_show(), this is now a task for the window
4782 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4784 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-button.c
4787 (hildon_button_construct_child):
4788 Don't pack anything in the button until text or image are
4789 set. This allows adding a custom child after creating the button
4790 with hildon_button_new().
4791 (hildon_button_finalize, hildon_button_class_init)
4792 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4793 alignment and the label box even when they're not packed in the
4796 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4798 * src/hildon-touch-selector.h:
4799 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4800 currently the type definition was using GTK_TYPE_VBOX
4801 * src/hildon-touch-selector.c:
4802 Added some implementation notes in order to clarify that any other widget
4803 added without the column related API will not be included on the
4804 selection logic, and how the widget is freed, as some people ask about
4806 (hildon_touch_selector_remove): Reimplemented in order to free properly
4807 the column related data when you remove the private hbox.
4808 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4809 to get a proper HildonTouchSelectorColumn documentation
4811 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-touch-selector-entry.c:
4814 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4815 text in the GtkEntry and there is no item selected. Fixes a
4818 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-app-menu-private.h
4821 * src/hildon-app-menu.[ch]
4822 * src/hildon-button.[ch]
4823 * src/hildon-check-button.[ch]
4824 * src/hildon-entry.[ch]
4825 * src/hildon-pannable-area.[ch]
4826 * src/hildon-text-view.[ch]:
4827 Added private field to the object's structure.
4829 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4831 * configure.ac: post-release version bump
4833 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4837 * configure.ac: pre-release version bump
4839 * debian/changelog: updates.
4841 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4844 Disconnect the handler for HildonTouchSelector::changed.
4846 (hildon_picker_button_selector_selection_changed): Update the button
4847 value if the selection change was not triggered by the
4850 (hildon_picker_button_set_selector): connect to
4851 HildonTouchSelector::changed.
4853 Fixes: NB#89650 (Picker button is not updated, when selection in
4854 selector has changed)
4856 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * src/hildon-picker-dialog.c
4859 (hildon_picker_dialog_realize): Removed as not required
4860 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4861 * src/hildon-picker-button.c
4862 (_current_selector_empty): New function, checks if the selector is empty
4863 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4864 if the current selector is empty, in order to avoid to show the dialog
4865 close the dialog in this case (and shows a g_warning).
4867 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4869 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4871 * src/hildon-pannable-area.c,
4872 (hildon_pannable_area_scroll): Added clause to stop movement when
4873 the child of pannable is smaller than one page.
4874 (hildon_pannable_area_scroll_to): Added conditions to avoid
4875 starting the scrolling movement if the child is smaller than one
4876 page, the complete child is in the screen, we do not have to move.
4878 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4880 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4882 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4883 this is managed automatically by the widget when the size of the
4886 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-picker-button.c
4889 (hildon_picker_button_set_done_button_text): Make a copy of the
4890 text, and free the previous value.
4892 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4894 * src/hildon-touch-selector-entry.c:
4895 (hildon_touch_selector_entry_print_func): Return the selected row's
4896 text if the entry is empty.
4898 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4901 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4905 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-check-button.h
4909 * src/hildon-check-button.c
4910 * examples/hildon-check-button-example.c:
4911 HildonCheckButton is now a new widget. 'toggled' signal added.
4913 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-program-private.h
4916 * src/hildon-program.c (hildon_program_init)
4917 (hildon_program_finalize): Removed unused variables group_leader
4918 and name from HildonProgramPrivate.
4920 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-check-button.c (hildon_check_button_set_active)
4923 (hildon_check_button_get_active, hildon_check_button_new): Use
4924 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4926 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4928 * src/hildon-touch-selector.h
4929 (hildon_touch_selector_set_column_attributes): added deprecation
4930 guard HILDON_DISABLE_DEPRECATED
4931 * src/hildon-time-selector.c
4932 (hildon_time_selector_set_time)
4933 (hildon_time_selector_get_time): Fixed a typo on documentation
4934 * src/hildon-touch-selector.c: update HildonTouchSelector and
4935 HildonTouchSelectorColumn documentation
4936 * src/hildon-touch-selector-entry.c: update "text-column" property
4938 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4939 to be added to the general documentation.
4941 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4943 * examples/hildon-pannable-area-example-4.c,
4945 * examples/hildon-pannable-area-example.c,
4946 (main): Modified the code in order to use the container add, with
4947 viewport treeviews could have problems if they are really big.
4949 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4951 * src/hildon-weekday-picker.c,
4952 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4953 the agreement regarding deprecation in the library.
4955 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4957 * examples/hildon-picker-button-multicolumn-example.c:
4958 (main): Use custom "done" button text.
4960 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4961 (hildon_picker_button_set_property),
4962 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4963 (hildon_picker_button_init),
4964 (+hildon_picker_button_get_done_button_text),
4965 (+hildon_picker_button_set_done_button_text): New methods to customize
4966 the "done" button label in the launched HildonPickerDialog. Also,
4969 * src/hildon-picker-button.h: add the public API.
4971 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4973 * src/hildon-date-selector.h:
4974 * src/hildon-picker-dialog.h:
4975 * src/hildon-time-selector.h:
4976 * src/hildon-touch-selector-column.h:
4977 * src/hildon-touch-selector.h:
4979 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4980 declarations. Fixes gtk-doc warnings.
4982 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-picker-dialog.h
4985 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4986 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4988 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4989 long text is set as label for done button)
4991 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-dialog.c (hildon_dialog_add_button):
4994 Set fixed width to all buttons in the HildonDialog.
4996 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4998 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5000 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5001 Set widget name using class name plus "-finger" or "-thumb".
5003 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5006 'clicked' when the state of the button is manually changed.
5008 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5010 * src/hildon-app-menu.c (hildon_app_menu_realize)
5011 (hildon_app_menu_unrealize, hildon_app_menu_init)
5012 (hildon_app_menu_class_init, item_visibility_changed):
5013 Change the menu layout when the size of the screen changes.
5014 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5015 Show warning only when changing the number of colums using the
5018 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5020 * debian/compat: Set to 5
5021 * debian/control: Update dependencies.
5022 * debian/libhildon1-dbg.install: Remove.
5023 * debian/libhildon1-dev.install: Update according to cdbs paths.
5024 * debian/libhildon1.install: Update according to cdbs paths.
5025 * debian/rules: Switch to cdbs.
5027 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5030 'item' variable renamed to 'filter'
5032 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-app-menu.c (hildon_app_menu_insert)
5035 (hildon_app_menu_add_filter, remove_item_from_list)
5036 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5037 Don't leak hidden items when the menu is destroyed.
5039 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-app-menu.c (hildon_app_menu_insert)
5042 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5043 (hildon_app_menu_set_columns, item_visibility_changed)
5044 (filter_visibility_changed, hildon_app_menu_repack_filters)
5045 (hildon_app_menu_repack_items):
5046 Repack items and filters separately.
5048 Don't repack all items, change only the ones that are needed to
5051 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5053 * src/Makefile.am: added hildon-touch-selector-column.h
5055 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5057 * src/hildon-touch-selector.c: added the property "text-column" to the
5058 class HildonTouchSelectorColumn, and related get/set functions
5059 (_default_printf_func): updated to use "text-column" property
5060 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5061 "text-column" in his documentation, as this is now included on
5062 HildonTouchSelectorColumn. The get/set_property can still be used,
5063 working as a wrapper to the concrete column "text-column" property
5064 (_text_column_modified): callback added in order to handle the signal
5065 "notify::text-column" of the concrete HildonTouchSelectorColumn
5066 (hildon_touch_selector_entry_get_text_column)
5067 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5068 modified in order to use the HildonTouchSelectorColumn "text-column"
5070 * src/hildon-time-selector.c:
5071 * src/hildon-date-selector.c:
5072 * examples/hildon-touch-selector-example.c
5073 * examples/hildon-touch-selector-multi-cells-example.c
5074 * examples/hildon-picker-button-multicolumn-example.c
5075 Set the right value to "text-column" property on the creation of a new
5076 column using hildon_touch_selector_append_column()
5078 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5080 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5082 * src/hildon-app-menu.c
5083 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5084 updating the layout of the menu, don't create all widgets again,
5085 just repack the items in their new places.
5087 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5089 * src/hildon-time-selector.c
5090 (hildon_time_selector_get_time)
5091 (hildon_time_selector_set_time)
5092 Added documentation of these public methods
5094 * src/hildon-date-button.h
5095 * src/hildon-touch-selector-column.h
5096 * src/hildon-time-button.h
5097 * src/hildon-picker-dialog.h
5098 * src/hildon-time-selector.h
5099 * src/hildon-picker-button.h
5100 * src/hildon-touch-selector.h
5101 * src/hildon-time-picker.h
5102 * src/hildon-date-selector.h
5103 * src/hildon-touch-selector-entry.h
5104 Modified in order to use hildon-widgets code style
5106 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5108 Added deprecated support to the compilation process using
5109 HILDON_DISABLE_DEPRECATED
5111 * configure.ac: Added the --disable-deprecated to the configure
5114 * src/hildon-weekday-picker.c:
5115 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5116 to use the deprecated support. We will update the other deprecated
5117 widgets status in a new patch.
5119 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5121 * configure.ac: Fixed typo with fatal warnings support, the
5122 variable name was not correct
5124 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-app-menu.c
5127 * src/hildon-program.c: Update documentation.
5129 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5131 * configure.ac: Post-release version bump.
5133 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5138 * configure.ac: Pre-release version bump.
5139 * debian/changelog: Updates.
5141 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5143 * NEWS: Update news for previous releases.
5145 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5147 * examples/hildon-touch-selector-multi-cells-example.c:
5148 (create_selector): Update the example to use
5149 hildon_touch_selector_append_column() with a NULL renderer and set
5150 the renderers later.
5151 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5152 passed a NULL renderer. This is documented behavior now.
5154 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5155 This must be used if the developer wants full control on the layout of
5156 the renderers to be added to the column.
5158 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5160 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-touch-selector.c: Documentation fixes.
5164 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5166 * src/hildon-wizard-dialog-private.h: Remove image and box.
5167 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5168 (hildon_wizard_dialog_set_property), (response): Completely remove
5169 image/icon support, and the containers required for the layout.
5171 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5173 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-app-menu.c: Updated documentation.
5177 * src/hildon-stackable-window.c
5178 (hildon_stackable_window_set_main_menu): Unref the old menu after
5179 ref'ing the new one.
5181 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5183 * src/hildon-stackable-window.c
5184 (hildon_stackable_window_set_main_menu): Unref the previous menu
5185 instead of destroying it.
5187 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5188 floating reference and set has_user_ref_count to FALSE to make
5189 HildonAppMenu act like a normal ref-counted widget and not a
5192 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5195 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5197 * src/hildon-touch-selector-column.h: new file
5198 * src/hildon-touch-selector.h
5199 * src/hildon-touch-selector.c
5200 Implemented GtkCellLayout interface, in order to allow to configure
5201 the cell layout on each individual selector column
5202 (hildon_touch_selector_set_column_attributes): marked as deprecated
5203 * examples/hildon-touch-selector-multi-cells-example.c
5204 Example of how to use the GtkCellLayout interface on the selector
5206 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5208 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5210 * src/hildon-app-menu.h
5211 * src/hildon-app-menu.c
5212 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5213 (hildon_app_menu_append, hildon_app_menu_prepend):
5214 New methods to prepend, insert and move items in the menu.
5216 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5218 * src/hildon-wizard-dialog.c:
5220 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5222 (create_title): Update logical IDs and related code.
5223 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5225 * src/hildon-wizard-dialog.h: Note that
5226 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5227 point, as it is not used anymore.
5229 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5231 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-note.c:
5234 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5235 shown. Do not display an icon in confirmation notes nor information
5237 (hildon_note_set_button_text): Update logical ID for cancel button.
5239 Fixes: NB#88850 (Update HildonNote button strings + signals)
5241 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5243 * src/hildon-stackable-window.c
5244 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5246 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5248 * src/hildon-app-menu-private.h
5249 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5250 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5251 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5252 temporary property 'columns' to change the number of columns.
5254 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5256 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5258 * examples/hildon-note-example.c: (on_information_clicked),
5259 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5260 debugging information.
5261 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5263 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5264 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5265 in order to close: this will be handled by the WM from now on.
5267 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5269 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-app-menu-private.h
5272 * src/hildon-app-menu.c
5273 (hildon_app_menu_append, hildon_app_menu_add_filter)
5274 (button_visibility_changed, hildon_app_menu_apply_style)
5275 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5276 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5277 layout everytime a button (item or filter) is shown or hidden.
5279 * src/hildon-stackable-window.c
5280 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5283 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5285 * src/hildon-touch-selector.c:
5286 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5287 that the treeview inside the touch selector is in fremantle hildon mode
5288 * examples/hildon-date-button-example.c
5289 * examples/hildon-picker-button-multicolumn-example.c
5290 * examples/hildon-touch-selector-entry-example.c
5291 * examples/hildon-touch-selector-example.c
5292 * examples/hildon-time-button-example.c
5293 * examples/hildon-picker-button-example.c:
5294 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5296 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5298 * examples/hildon-text-view-example.c: (main): Remove the
5299 gtkrc bits, now handled by the theme.
5301 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5306 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5308 * po/Makefile.am: Install properly the mo files.
5309 * po/en_GB.po: Update translation, to ease testing purposes.
5311 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5313 * examples/hildon-picker-button-example.c: (main): Select an item
5314 in the selector before setting it to the button.
5316 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5318 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5319 Update button's value if the selector has an item active.
5321 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5322 'value' with the selector)
5324 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5326 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5327 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5328 (hildon_picker_button_class_init): Plug the finalize method.
5329 (hildon_picker_button_set_selector): If there's a previously set
5330 selector, unref'it before setting a new one.
5332 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5333 HildonTouchSelector)
5335 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5337 * src/hildon-touch-selector-entry.c:
5338 (hildon_touch_selector_entry_changed): Check if there is no text
5339 selected before setting the entry text.
5342 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-touch-selector.h
5345 * src/hildon-touch-selector.c
5346 (hildon_touch_selector_get_active)
5347 (hildon_touch_selector_set_active): New methods to set/get the
5348 index of the selected item.
5350 * src/hildon-picker-button.h
5351 * src/hildon-picker-button.c
5352 (hildon_picker_button_get_active)
5353 (hildon_picker_button_set_active): New methods to set/get the
5354 index of the selected item.
5356 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5358 * configure.ac: post-release version bump.
5360 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5364 * configure.ac: Pre-release version bump.
5365 * debian/changelog: Updates.
5366 * debian/control: Add myself as maintainer and depend on l10n
5369 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-window.c
5372 (hildon_window_set_main_menu)
5373 * src/hildon-stackable-window.c
5374 (hildon_stackable_window_set_main_menu):
5375 Updated documentation.
5377 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5380 Don't free selector->priv manually.
5383 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5386 (hildon_gtk_window_set_progress_indicator):
5387 * src/hildon-gtk.h: Added the new API
5388 hildon_gtk_window_set_progress_indicator, it changes the state of
5389 the window progress hint.
5391 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5393 * src/hildon-button.c
5394 * src/hildon-stackable-window.c: Minor documentation updates.
5396 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-stackable-window.c: Updated documentation.
5400 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5402 * src/hildon-defines.h: Update margins definitions
5403 to the Fremantle sizes.
5406 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5408 * src/hildon-touch-selector.c,
5409 (_hildon_touch_selector_set_model): Cleaning the code after
5410 review, removed g_print and #if 0 from the code.
5412 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5414 * src/hildon-edit-toolbar.c: Update documentation.
5416 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5418 * src/hildon-check-button.h
5419 * src/hildon-check-button.c
5420 (hildon_check_button_set_label, hildon_check_button_get_label)
5421 * examples/hildon-check-button-example.c
5422 (button_clicked_cb):
5423 Removed deprecated methods.
5425 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-text-view.c:
5428 Add sample code to the documentation.
5430 * src/hildon-entry.h
5431 * src/hildon-text-view.h:
5432 Minor cosmetic changes.
5434 * src/hildon-entry.c:
5435 Add sample code to the documentation.
5436 (hildon_entry_init, hildon_entry_refresh_contents):
5437 Don't allow NULL values in the placeholder.
5439 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5441 * doc/hildon-docs.sgml
5443 * examples/Makefile.am
5444 * examples/hildon-text-view-example.c
5446 * src/hildon-text-view.c
5447 * src/hildon-text-view.h
5449 New HildonTextView widget, with example.
5451 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5453 * po/POTFILES.in: Add missing files with translatable strings.
5454 Partially fixes NB#88287.
5456 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5458 * examples/hildon-pannable-area-example-2.c: (main): No need to
5459 set the cellrenderer height inside hildon touch lists, the theme does
5462 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5464 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5465 they are integrated in the theme.
5467 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5469 * examples/hildon-entry-example.c: Update the example adding
5470 widgets to modify the text and the placeholder of the HildonEntry.
5472 * src/hildon-entry.c: Show the placeholder everytime the widget
5473 is empty and loses the focus.
5475 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5477 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5479 * src/hildon-pannable-area.c,
5480 (hildon_pannable_area_size_request): Fixed bug in height
5481 requisition, avoid increasing size and add border twice.
5483 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5485 * configure.ac: postrelease version bump.
5487 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5491 * configure.ac: Prerelease version bump.
5492 * debian/changelog: update.
5493 * debian/rules: make -dbg package contain useful debugging symbols.
5495 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-dialog.h
5498 * src/hildon-dialog.c
5499 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5500 New methods to add buttons with finger size.
5501 (hildon_dialog_new_with_buttons):
5502 Create buttons with finger size.
5504 * examples/hildon-dialog-example.c (main): Use HildonDialog
5505 methods to add buttons.
5507 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5509 * src/hildon-entry.c: Updated HildonButton documentation.
5511 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5514 button value label with (FALSE, FALSE) to prevent NB#88126 from
5517 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5519 * examples/hildon-pannable-area-example.c,
5520 (main): Removed examples panning a vbox inside a pannable
5521 area. Check bug NB#87965
5523 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5525 Patch contributed by Kris Rietveld (kris@imendio.com)
5527 * src/hildon-pannable-area.c,
5528 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5529 get_size and get_position, this saves an X server roundtrip.
5531 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5533 * doc/hildon-docs.sgml
5535 * examples/Makefile.am
5536 * examples/hildon-entry-example.c
5538 * src/hildon-entry.c
5539 * src/hildon-entry.h
5541 New HildonEntry widget, with example.
5543 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-button.c (hildon_button_construct_child): Pack the
5546 image with expand == fill == FALSE. This is a workaround for a bug
5549 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5551 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5552 labels for the text column, to make it more look more dynamic.
5554 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5556 * src/hildon-time-selector.c
5557 Define gettext auxiliar macro N_
5558 (_create_minutes_model)
5559 (_create_hours_model)
5560 (_create_ampm_model): use of strftime in order to fill the model
5561 * src/hildon-date-selector.c
5562 (hildon_date_selector_finalize):
5563 (_locales_init): remove the logic related to get the name of the months
5564 using nl_langinfo, as it is not required anymore
5566 (_create_year_model)
5567 (_create_month_model)
5568 (_update_day_model): use of strftime in order to fill the model properly
5571 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-button.h
5574 * src/hildon-button.c (hildon_button_get_image): New method to
5577 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5579 * src/hildon-touch-selector.c:
5580 (hildon_touch_selector_remove_column): Remove from the correct parent
5581 and also remove the list element and free it.
5584 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5586 * src/hildon-time-selector.c
5587 (_create_hours_model): change the range on 12h ampm format in order to use
5588 a 12-11 range instead of previous 01-12 range
5589 (hildon_time_selector_set_time): change the way to select the current time
5590 on 12h ampm format, due the change on the range
5591 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5594 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5596 * src/hildon-touch-selector.c
5597 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5598 in order to allow use this function on multiple row selection mode if
5599 the column is different that the first one
5602 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5605 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5607 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5609 * src/hildon-date-selector.h: clean some comments, now on the .c
5610 * src/hildon-date-selector.c
5611 (hildon_date_selector_select_month): first implementation
5612 (hildon_date_selector_select_day): added documentation, reimplemented
5613 using hildon_date_selector_select_current_date to avoid repeat code
5616 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5618 Reviewed interaction logic based on device experiences, refactored
5621 * src/hildon-pannable-area.c,
5622 (hildon_pannable_area_class_init): Updated default vmax speed.
5623 (hildon_pannable_area_calculate_velocity): Added this function, it
5624 avoids duplicate valocity calculation. Adjusted calculation to
5625 avoid problems with zero dist events.
5627 (hildon_pannable_area_motion_notify_cb): Now we use the
5628 calculate_velocity function.
5630 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5632 * src/hildon-date-selector.c
5633 (hildon_date_selector_select_current_date): fix the day range check
5634 as it failed using the last day of the current month
5637 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5639 * src/hildon-touch-selector.c
5640 (hildon_touch_selector_get_num_columns): added a parameter validation
5643 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5645 * examples/Makefile.am
5646 * examples/hildon-edit-toolbar-example.c: Example of the
5647 HildonEditToolbar widget.
5649 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5651 * configure.ac: postrelease version bump.
5653 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5657 * configure.ac: prerelease version bump.
5658 * debian/changelog: update.
5660 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5662 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5663 renderer to display stock icons in the touch list. Also, set the sizes
5664 to the recommended in the style guide.
5666 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5667 * src/hildon-touch-selector.h
5668 (hildon_touch_selector_set_active_iter): renamed, now is
5669 hildon_touch_selector_select_iter
5670 (hildon_touch_selector_get_active_iter): renamed, now is
5671 hildon_touch_selector_get_selected
5672 (hildon_touch_selector_unselect_iter): added
5673 * src/hildon-touch-selector.c
5674 Update after API modification (methods renamed)
5675 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5676 order to avoid problems selecting multiple elements on the column
5677 (hildon_touch_selector_unselect_iter): added the implementation
5678 * src/hildon-time-selector.c
5679 * src/hildon-date-selector.c
5680 * src/hildon-touch-selector-entry.c
5681 Update methods calls after hildon-touch-selector.h API modification (methods
5684 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-stackable-window.c
5687 (hildon_stackable_window_finalize): Call the parent class's finalize.
5689 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5691 * examples/hildon-touch-selector-example.c: (create_selector): Use
5692 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5695 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5697 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5698 set a cell background color, to respect theming.
5700 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5702 * doc/hildon-docs.sgml
5705 * src/hildon-edit-toolbar.c
5706 * src/hildon-edit-toolbar.h
5707 * src/hildon.h: New HildonEditToolbar widget.
5709 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5711 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5714 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5715 * src/hildon-touch-selector.c
5716 (_create_new_column): use g_object_set instead of two g_object_set_property
5718 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5719 * src/hildon-touch-selector.c
5720 (_create_new_column): use of hildon_gtk_tree_view_new to create
5721 the treeview, instead of use directly g_object_new
5722 (_create_new_column): update the property name "vindicator-mode" for the
5723 new one "vscrollbar-policy"
5724 * examples/hildon-date-button-example.c
5725 * examples/hildon-picker-button-multicolumn-example.c
5726 * examples/hildon-touch-selector-entry-example.c
5727 * examples/hildon-touch-selector-example.c
5728 * examples/hildon-time-button-example.c
5729 * examples/hildon-picker-button-example.c
5730 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5731 to all the treeviews inside a pannable area.
5733 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-button.h
5736 * src/hildon-button.c (hildon_button_init)
5737 (hildon_button_set_arrangement, hildon_button_set_alignment)
5738 (hildon_button_set_title_alignment)
5739 (hildon_button_set_value_alignment)
5740 (hildon_button_set_image_alignment)
5741 (hildon_button_construct_child): New methods to set the alignment
5742 of the individual components of the button (title, value,
5743 image). Also, new method to alter the xscale and yscale properties
5744 of the GtkAlignment inside the button, so more complex layouts can
5747 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5749 * src/hildon-button.c (hildon_button_style_set)
5750 (hildon_button_class_init, hildon_button_set_arrangement)
5751 (hildon_button_construct_child): Apply style properties
5752 correctly. Use the 'image-spacing' style property too.
5754 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5756 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5757 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5760 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5762 * src/hildon-pannable-area.c,
5763 (hildon_pannable_area_size_request): Fixed problem with
5764 pannable-area size_request.
5766 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5768 Added management for the grab-focus to a child widget, like a
5769 range, we need to fade out the scrollbar when releasing.
5771 * src/hildon-pannable-area.c,
5772 (hildon_pannable_area_init): Connected the grab-focus signal to
5774 (hildon_pannable_area_grab_notify): Added this function in order
5775 to manage the situation when the grab-focus ends. We have to
5776 fade-out the scrollbar.
5778 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5780 * src/hildon-app-menu.c: Minor documentation update.
5782 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5784 * src/hildon-app-menu.c
5785 * examples/hildon-app-menu-example.c (create_menu): Update
5786 examples and documentation to explain how to connect callbacks.
5788 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5790 * examples/hildon-button-example.c
5791 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5792 hildon_stackable_window_new instead of gtk_window_new
5794 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5796 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5797 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5798 (hildon_pannable_area_set_property),
5799 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5800 (hildon_pannable_area_unrealize),
5801 (hildon_pannable_area_size_request),
5802 (hildon_pannable_area_size_allocate),
5803 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5804 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5805 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5806 (hildon_pannable_area_initial_effect),
5807 (hildon_pannable_area_redraw),
5808 (hildon_pannable_area_scroll_indicator_fade),
5809 (hildon_pannable_area_expose_event),
5810 (hildon_pannable_area_get_topmost), (synth_crossing),
5811 (hildon_pannable_area_button_press_cb),
5812 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5813 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5814 (hildon_pannable_area_motion_notify_cb),
5815 (hildon_pannable_area_button_release_cb),
5816 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5817 (hildon_pannable_area_remove),
5818 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5819 chage the code layout to a more GtkWidget like. Review the use of
5822 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5824 * examples/hildon-pannable-area-example-4.c,
5825 (main): Modified the name of the hindicator_mode to
5828 * src/hildon-pannable-area.c,
5829 (hildon_pannable_area_class_init),
5830 (hildon_pannable_area_motion_notify_cb),
5831 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5832 we have reduced the amount of signals and managed reviewed its
5833 rationale. Changed the default decelerate value.
5835 (hildon_pannable_area_add),
5836 (hildon_pannable_area_redraw): Refactored functions.
5838 (hildon_pannable_area_init),
5839 (hildon_pannable_area_get_property),
5840 (hildon_pannable_area_set_property):
5841 (hildon_pannable_draw_vscroll),
5842 (hildon_pannable_draw_hscroll),
5843 (hildon_pannable_area_initial_effect),
5844 (hildon_pannable_area_expose_event),
5845 (hildon_pannable_area_scroll),
5846 (hildon_pannable_area_button_press_cb),
5847 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5848 and vindicator_mode with hscrollbar_policy and
5849 vscrollbar_policy. Replaced hscroll and vscroll with
5850 hscroll_visible and vscroll_visible.
5852 (hildon_pannable_area_refresh): Refactor the function, remove
5853 variables and check the calls to this function, added resize
5854 conditions in case the children change their layout.
5856 (hildon_pannable_area_size_request): Added more detailed
5857 size_request calculation.
5860 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5862 * src/hildon-color-chooser.c
5863 (init_borders): use the correct gtk_border_free instead of g_free, to
5864 avoid a crash when this widget is used (ie: the three color selection
5867 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5869 * src/hildon-check-button.c,
5870 (hildon_check_button_set_active): Fixed problem when setting the
5871 active value, the widget was not redrawn.
5873 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5875 * src/hildon-pannable-area.c,
5876 (hildon_pannable_area_refresh),
5877 (hildon_pannable_area_scroll),
5878 (hildon_pannable_area_motion_notify_cb): Small code style change.
5880 (hildon_pannable_area_class_init): Default initial_hint set to
5881 FALSE, it is not in the specs.
5883 (hildon_pannable_area_initial_effect),
5884 (hildon_pannable_area_expose_event),
5885 (hildon_pannable_area_map),
5886 (hildon_pannable_area_init): Moved the launching point of the
5887 initial effect, it was in map but the sizes where not correct in
5888 that method so we do not know if we have the reproduce it. Now it
5889 is placed in the expose_event method and uses a variable to
5890 reproduce it just once.
5892 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5894 * src/hildon-pannable-area.c,
5895 (hildon_pannable_draw_vscroll),
5896 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5897 position allowed for the scrollbars.
5899 (hildon_pannable_area_size_allocate): Small style change.
5901 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5903 * src/hildon-pannable-area.c,
5904 (hildon_pannable_area_scroll_indicator_fade),
5905 (hildon_pannable_area_button_press_cb),
5906 (hildon_pannable_area_button_release_cb),
5907 (hildon_pannable_area_scroll_cb),
5908 (hildon_pannable_area_expose_event),
5909 (hildon_pannable_area_init): Added the define parameter
5910 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5911 and refactor the fade variable.
5913 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5915 * src/hildon-pannable-area.c,
5916 (hildon_pannable_area_redraw),
5917 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5918 lines, we were reimplemeting the redraw code.
5920 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5922 * src/hildon-pannable-area.c,
5923 (hildon_pannable_area_scroll_cb),
5924 (hildon_pannable_area_realize),
5925 (hildon_pannable_area_class_init): Added scroll_event management
5926 for pannable area, now we can scroll the usual desktop method.
5928 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5929 initialization of the parameters should depend on idle_id.
5931 (hildon_pannable_area_init),
5932 (hildon_pannable_area_map): Small code style modifications
5934 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5936 * src/hildon-pannable-area.c
5937 (hildon_pannable_area_button_press_cb),
5938 (hildon_pannable_area_motion_notify_cb),
5939 (hildon_pannable_area_button_release_cb),
5940 (hildon_pannable_area_size_allocate),
5941 (hildon_pannable_area_scroll_to): Improved the timeouts
5942 management, we avoid creating them each time.
5944 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5946 * src/hildon-pannable-area.c:
5947 (hildon_pannable_area_refresh),
5948 (hildon_pannable_area_motion_notify_cb),
5949 (hildon_pannable_area_class_init):
5950 * src/hildon-pannable-area.h:
5951 * src/hildon-touch-selector.c
5952 (_create_new_column):
5953 * examples/hildon-pannable-area-example-4.c:
5954 (horizontal_movement),
5955 (vertical_movement),
5957 Replaced the names of enums in the HildonPannableArea:
5958 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5959 HILDON_MOVEMENT_MODE_*
5960 - HILDON_PANNABLE_AREA_MOV_* ->
5962 - Removed HildonPannableAreaIndicatorMode, now we
5965 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5967 * examples/hildon-pannable-area-touch-grid-example.c
5968 * examples/hildon-pannable-area-touch-list-example.c: Fix
5969 compilation warnings.
5971 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-gtk.c (hildon_gtk_button_new)
5974 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5975 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5976 images overriding the value of the "gtk-button-images" setting.
5978 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-check-button.c (hildon_check_button_new):
5981 Instead of using a custom container, display the label and the
5982 checkbox using the standard GtkButton API.
5984 * examples/hildon-check-button-example.c (main): Don't use
5985 hildon_check_button_set_label() anymore
5987 * src/hildon-check-button.h
5988 * src/hildon-check-button.c
5989 (hildon_check_button_set_label, hildon_check_button_get_label):
5990 Set as deprecated, now we're using gtk_button_{get,set}_label()
5992 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5994 * src/hildon-pannable-area.c,
5995 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5996 GtkTreeview first line we detected it after the inclusion of the
5997 GtkWindowImpl in gtk+. We now check if the window is visible, not
5998 just if the pointer is over the window.
5999 (hildon_pannable_axis_scroll),
6000 (hildon_pannable_area_expose_event): Small style changes.
6002 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-button.c: Update documentation.
6006 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6008 * examples/hildon-button-example.c: Add a switch to show images in
6011 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6013 * doc/hildon-docs.sgml: Some docs reorganization.
6015 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6017 * examples/hildon-pannable-area-touch-list-example.c
6019 * examples/hildon-pannable-area-touch-grid-example.c
6020 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6021 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6022 Fix memory leak when setting the tree model.
6024 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6028 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6030 * doc/hildon.types: Remove duplicated hildon_window_get_type
6031 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6032 documentation comment.
6034 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6036 * doc/Makefile.am: Complete list of private headers.
6038 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6040 * doc/hildon-docs.sgml
6041 * src/hildon-app-menu.c
6042 * src/hildon-bread-crumb.c
6043 * src/hildon-button.c
6045 * src/hildon-program.c
6046 * src/hildon-stackable-window.c
6047 * src/hildon-window.c: Lots of documentation updates.
6049 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6051 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6053 * configure.ac: Require Gtk+ 2.12.9 at least
6055 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6057 * src/hildon-pannable-area.c
6058 (hildon_pannable_area_scroll_indicator_fade),
6059 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6060 to protect the return of this timeout callbacks, avoiding deadlocks.
6062 2008-08-12 Christian Dywan <christian@imendio.com>
6065 * src/hildon-*.h: Ensure a consistent include order,
6066 include <gtk/gtk.h> instead of particular files and
6067 only include the topmost header in the gtk stack. See NB #39857
6069 2008-08-12 Christian Dywan <christian@imendio.com>
6071 * src/hildon-picker-dialog.c
6072 * src/hildon-touch-selector.c: Fix warnings about unused and
6073 uninitialized variables.
6075 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6077 * examples/Makefile.am
6078 * examples/hildon-check-button-example.c: Example of the hildon
6081 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6083 * src/hildon-window.h
6084 * src/hildon-window.c (hildon_window_class_init)
6085 (hildon_window_unset_program): Don't make
6086 hildon_window_unset_program a virtual function anymore.
6088 * src/hildon-stackable-window.c: Update documentation
6090 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6093 * doc/hildon-docs.sgml
6094 * doc/visual_index.xml
6095 * src/hildon-defines.c
6097 * src/hildon-helper.c
6098 * src/hildon-range-editor.c: Lots of documentation fixes.
6100 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6102 * examples/hildon-picker-button-multicolumn-example.c
6103 (create_touch_selector): Fix compilation warning.
6105 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6108 (hildon_pannable_area_button_release_cb)
6109 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6111 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6116 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-bread-crumb-trail.h
6119 * src/hildon-date-editor.c
6120 * src/hildon-date-selector.c
6121 * src/hildon-pannable-area.c
6122 * src/hildon-picker-dialog.c
6123 * src/hildon-time-selector.c
6124 * src/hildon-touch-selector-entry.c
6125 * src/hildon-touch-selector.c
6126 * src/hildon-touch-selector.h: Misc documentation fixes
6128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6130 * examples/hildon-date-editor-example.c (main): Updated date
6133 * examples/hildon-note-example.c (on_confirmation_clicked):
6134 Updated confirmation note example.
6136 * src/hildon-date-editor.c
6137 * src/hildon-note.c: Updated sample programs in documentation.
6140 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6142 * src/hildon-date-button.h:
6143 * src/hildon-picker-button.h:
6144 * src/hildon-time-button.c:
6145 * src/hildon-time-button.h:
6147 Some declarations changes to allow gtk-doc to document the widgets
6150 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6152 * src/hildon-date-button.c: Document the widget.
6153 * src/hildon-time-button.c: Document the widget.
6155 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6157 * src/hildon-picker-button.c: Document the widget.
6158 * src/hildon-touch-selector-entry.c: Document the widget.
6160 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6162 * doc/hildon-docs.sgml
6165 * src/hildon-check-button.h
6166 * src/hildon-check-button.c: New functions to create the Hildon
6170 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6172 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-button.h
6175 * src/hildon-button.c
6176 (hildon_button_add_title_size_group)
6177 (hildon_button_add_value_size_group)
6178 (hildon_button_add_image_size_group)
6179 (hildon_button_add_size_groups): New functions to set size groups
6180 for the button labels and image.
6181 (hildon_button_new_full): Removed
6183 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6185 * src/hildon-time-selector.c
6186 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6187 in order to avoid a crash if gconf is not available
6189 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-button.c (hildon_button_set_arrangement)
6192 (hildon_button_construct_child): Don't construct the button child
6193 before setting the arrangement.
6195 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6197 * src/hildon-program-private.h
6198 * src/hildon-program.c
6199 * src/hildon-program.h
6200 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6201 (hildon_program_peek_window_stack)
6202 (hildon_program_pop_window_stack)
6203 (hildon_program_go_to_root_window): HildonProgram now has a
6204 separate list for stackable windows. Functions are provided to
6205 manage that list with a stack-like API.
6207 * src/hildon-stackable-window.c: Stackable window management is
6208 now much simpler with the new HildonProgram API. Windows no
6209 longer need to be manually added to the program, they're
6210 automatically pushed to the top of the stack when shown.
6212 * examples/hildon-stackable-window-example.c: Updated example to
6213 reflect the API changes.
6215 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6217 * src/hildon-touch-selector.c: Comment out unimplemented
6218 hildon_touch_selector_insert_column() to avoid a compile warning.
6220 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6222 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6223 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6224 (hildon_touch_selector_set_column_selection_mode),
6225 (_hildon_touch_selector_set_model),
6226 (hildon_touch_selector_set_model):
6228 Complete review of HildonTouchSelector documentation.
6230 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6232 * doc/hildon-docs.sgml
6236 * src/hildon-gtk.c: Convenience functions for standard Gtk
6237 widgets, used to easily perform frequent operations.
6239 * src/hildon-button-helpers.h
6240 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6242 * src/hildon-helper.h
6243 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6244 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6246 * src/hildon-button.h
6247 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6249 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6251 * src/hildon-button.c (hildon_button_init)
6252 (hildon_button_set_arrangement, hildon_button_construct_child):
6253 Pack the image and the labels inside the same GtkAlignment so
6254 gtk_button_set_alignment() can be used
6256 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-button.h
6259 * src/hildon-button.c
6260 (hildon_button_init, hildon_button_set_image)
6261 (hildon_button_set_image_position)
6262 (hildon_button_construct_child): New functions to add an image to
6265 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6267 * src/hildon-date-button.c
6268 * src/hildon-picker-button.c
6269 * src/hildon-time-button.c
6270 * src/hildon-button.c:
6271 (hildon_button_class_init): "size-flags" renamed to "size"
6272 (hildon_button_set_title): Hide the title label if set to NULL.
6274 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6276 HildonButtonFlags split into HildonButtonArrangement (to set the
6277 button layout) and HildonSizeType (which can be used for any
6280 * src/hildon-button.h
6281 * src/hildon-button.c
6282 (hildon_button_class_init)
6283 (hildon_button_set_arrangement)
6284 (hildon_button_set_property): New "size-flags"
6285 property. "arrangement-flags" renamed to "arrangement".
6286 (hildon_button_new, hildon_button_new_with_text)
6287 (hildon_button_new_full): Constructors updated to reflect type changes.
6289 * src/hildon-helper.h
6290 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6291 to set the size of a widget.
6295 * src/hildon-button-helpers.c
6296 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6298 * src/hildon-date-button.c
6299 * src/hildon-date-button.h
6300 * src/hildon-picker-button.c
6301 * src/hildon-picker-button.h
6302 * src/hildon-time-button.c
6303 * src/hildon-time-button.h: Updated widgets to reflect
6304 HildonButton API changes.
6306 * examples/hildon-button-example.c
6307 * examples/hildon-date-button-example.c
6308 * examples/hildon-picker-button-example.c
6309 * examples/hildon-picker-button-multicolumn-example.c
6310 * examples/hildon-time-button-example.c
6311 * examples/hildon-touch-selector-entry-example.c
6312 * examples/hildon-touch-selector-example.c: Updated examples to
6313 reflect HildonButton API changes.
6315 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6317 * doc/hildon-docs.sgml:
6319 * examples/Makefile.am:
6320 * examples/hildon-touch-selector-entry-example.c:
6322 * src/hildon-touch-selector-entry.c:
6323 * src/hildon-touch-selector-entry.h:
6326 Moved HildonTouchSelectorEntry from sandbox. Added its
6327 documentation and examples.
6329 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6331 * src/hildon-touch-selector.h:
6332 * examples/hildon-picker-button-multicolumn-example.c:
6333 (hildon_touch_selector_append_text_column): Add a gboolean
6334 parameter to determine if text must be centered in the column.
6336 * src/hildon-date-selector.c: (hildon_date_selector_init):
6337 * src/hildon-time-selector.c: (hildon_time_selector_init):
6338 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6339 (create_touch_selector): Update widgets and example to reflect
6342 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6344 * src/hildon-touch-selector.c:
6345 (hildon_touch_selector_set_active_iter): Set also the cursor in
6348 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6350 * doc/hildon-docs.sgml
6353 * src/hildon-toggle-button.c
6354 * src/hildon-toggle-button.h
6355 * src/hildon.h: Removed HildonToggleButton widget, a derived
6356 class is not necessary for this.
6358 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6360 * src/hildon-pannable-area.c,
6361 (hildon_pannable_area_realize),
6362 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6365 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6367 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6368 "done" button the default widget for the dialog.
6370 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6372 * src/hildon-touch-selector.c:
6373 (hildon_touch_selector_class_init),
6374 (hildon_touch_selector_get_property),
6375 (_hildon_touch_selector_set_model),
6376 (_hildon_touch_selector_has_multiple_selection),
6377 (hildon_touch_selector_has_multiple_selection):
6378 Add a "has-multiple-selection" property with a virtual
6379 has_multiple_selection() method to allow derived classes to
6380 override the default value for it. See the method and property
6381 documentation for details.
6383 * src/hildon-touch-selector.h: Add the new API.
6385 * src/hildon-picker-dialog.c: (requires_done_button): Call
6386 hildon_touch_selector_has_multiple_selection() instead of
6387 determining the need for a button itself.
6389 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6391 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6392 (_hildon_touch_selector_set_model),
6393 (hildon_touch_selector_set_model): Move working code to
6394 _hildon_touch_selector_set_mode(). Call the class method instead.
6396 * src/hildon-touch-selector.h: Add (*set_model) to
6397 HildonTouchSelectorClass.
6399 Make hildon_touch_selector_set_model() a virtual method, so that
6400 derived classes can extend it and do fancy stuff with the model.
6402 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6404 * configure.ac: Set back the tarname in AC_INIT to hildon.
6406 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6410 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6411 instead of libesd (NB#86876). Volume handling is still an open issue.
6413 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6416 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6418 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6419 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6420 derived class to ease placement of an entry widget in
6421 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6422 end, where the selector columns are packed now.
6424 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-picker-button.c: Removed the simple _text() API.
6427 * src/hildon-picker-button.h: Likewise.
6429 * src/hildon-touch-selector.h:
6430 * src/hildon-touch-selector.c:
6431 (hildon_touch_selector_new_text),
6432 (hildon_touch_selector_append_text),
6433 (hildon_touch_selector_prepend_text),
6434 (hildon_touch_selector_insert_text):
6436 Moved the simple _text() API from HildonPickerButton to
6437 HildonTouchPicker, to provide better escalability and not to tie
6438 that API to HildonPickerButton.
6440 * examples/hildon-picker-button-example.c: (main): Example updated.
6442 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.c: Updated documentation.
6446 * examples/hildon-button-example.c: Add the posibility to create
6447 the buttons using horizontal layout for title and value.
6449 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-app-menu-private.h
6452 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6453 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6454 GtkSizeGroup for the filters, use the 'homogeneous' property of
6457 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6459 * examples/hildon-button-example.c: Updated example.
6461 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6463 * doc/hildon-docs.sgml:
6466 Update documentation.
6468 * examples/Makefile.am: Update renamed examples.
6470 * examples/hildon-picker-button-multicolumn-example.c:
6471 (create_touch_selector), (main): Update after the rename.
6473 * examples/hildon-touch-picker-example.c: Removed.
6474 * examples/hildon-touch-selector-example.c: (value_changed),
6475 (create_selector), (get_visible_content), (main): Renamed from
6476 hildon-touch-picker-example.c
6478 * src/Makefile.am: Updated renamed files.
6480 * src/hildon-date-button.c: (hildon_date_button_init),
6481 (hildon_date_button_get_date), (hildon_date_button_set_date):
6482 * src/hildon-date-selector.c: (hildon_date_selector_init),
6483 (_custom_print_func), (_update_day_model),
6484 (_manage_selector_change_cb),
6485 (hildon_date_selector_select_current_date),
6486 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6487 * src/hildon-date-selector.h:
6488 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6489 (hildon_picker_button_set_property),
6490 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6491 (hildon_picker_button_init), (hildon_picker_button_new_text),
6492 (hildon_picker_button_append_text),
6493 (hildon_picker_button_prepend_text),
6494 (hildon_picker_button_insert_text),
6495 (hildon_picker_button_set_selector),
6496 (hildon_picker_button_get_selector):
6497 * src/hildon-picker-button.h:
6498 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6499 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6500 (_update_title_on_selector_changed_cb), (requires_done_button),
6501 (_hildon_picker_dialog_set_selector),
6502 (hildon_picker_dialog_set_selector),
6503 (hildon_picker_dialog_get_selector):
6504 * src/hildon-picker-dialog.h:
6505 * src/hildon-time-button.c: (hildon_time_button_init),
6506 (hildon_time_button_get_time), (hildon_time_button_set_time):
6507 * src/hildon-time-selector.c: (hildon_time_selector_init),
6508 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6509 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6510 * src/hildon-time-selector.h:
6513 Massive code updates after the rename.
6515 * src/hildon-touch-picker.c: Removed.
6516 * src/hildon-touch-picker.h: Removed.
6518 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6519 (hildon_touch_selector_init), (hildon_touch_selector_map),
6520 (hildon_touch_selector_remove), (_default_print_func),
6521 (_selection_changed_cb), (_create_new_column),
6522 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6523 (hildon_touch_selector_append_text_column),
6524 (hildon_touch_selector_remove_column),
6525 (hildon_touch_selector_set_column_attributes),
6526 (hildon_touch_selector_insert_column),
6527 (hildon_touch_selector_get_num_columns),
6528 (hildon_touch_selector_get_column_selection_mode),
6529 (hildon_touch_selector_set_column_selection_mode),
6530 (hildon_touch_selector_set_print_func),
6531 (hildon_touch_selector_get_print_func),
6532 (hildon_touch_selector_get_active_iter),
6533 (hildon_touch_selector_set_active_iter),
6534 (hildon_touch_selector_get_selected_rows),
6535 (hildon_touch_selector_get_model),
6536 (hildon_touch_selector_set_model),
6537 (hildon_touch_selector_get_current_text),
6538 (_hildon_touch_selector_center_on_selected_items):
6539 * src/hildon-touch-selector.h: Renamed from
6540 hildon-touch-picker.[ch]
6542 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6543 references, code examples, and related documentation.
6545 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6547 * doc/hildon-docs.sgml
6550 * src/hildon-toggle-button.c
6551 * src/hildon-toggle-button.h
6552 * src/hildon.h: New HildonToggleButton widget.
6554 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-button.c: Add API documentation.
6557 (hildon_button_set_size_groups): Check input parameters
6559 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6561 * src/hildon-pannable-area.c
6562 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6563 effect after reaching the movement thredshold. This way we start
6564 using the distance after passing the thredshold.
6566 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6568 * src/hildon-button.c: (hildon_button_set_property): Use the
6569 appropriate g_value_get_flags() method.
6571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6573 * doc/hildon-docs.sgml:
6576 Add the touch pickers, picker dialogs, and picker button widgets
6577 to the documentation.
6579 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6581 * src/hildon-button.c: (hildon_button_set_property),
6582 (hildon_button_class_init): Make "arrangement-flags" a proper
6583 G_TYPE_FLAGS derived property.
6585 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6587 * examples/Makefile.am: Add below examples.
6588 * examples/hildon-date-button-example.c:
6589 * examples/hildon-picker-button-example.c:
6590 * examples/hildon-picker-button-multicolumn-example.c:
6591 * examples/hildon-time-button-example.c:
6592 * examples/hildon-touch-picker-example.c:
6594 Add examples for the recently added touch pickers,
6595 picker dialogs, and picker button widgets.
6597 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6599 * src/hildon-button.c: Add some API documentation
6601 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6603 * src/hildon-button.h
6604 * src/hildon-button.c
6606 (hildon_button_new_with_text): New constructor to create a button
6607 with no text at all.
6608 (hildon_button_init, hildon_button_set_arrangement)
6609 (hildon_button_set_title, hildon_button_set_value)
6610 (hildon_button_set_text)
6611 (hildon_button_construct_child): Hide the value when it's not used
6612 so the rest of the text is properly aligned.
6613 Allow creating buttons with arbitrary widgets inside (not just
6614 title/value labels).
6616 * examples/hildon-button-example.c (vertical_buttons_window)
6617 (horizontal_buttons_window): Update example to use new API.
6619 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6621 * src/Makefile.am: Added HildonTimeButton.
6622 * src/hildon-time-button.c: Added missing LGPL header.
6623 * src/hildon-time-button.h: Added missing LGPL header.
6624 * src/hildon.h: Add hildon-time-button.h
6626 Copied HildonTimeButton from sandbox to trunk. Future work on this
6627 widget must take place in trunk.
6629 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/Makefile.am: Added HildonDateButton.
6632 * src/hildon-date-button.c: Update includes.
6633 * src/hildon.h: Add hildon-date-button.h
6635 Copied HildonDateButton from sandbox to trunk. Future work on this
6636 widget must take place in trunk.
6638 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6640 * src/Makefile.am: Added HildonPickerButton.
6641 * src/hildon-picker-button.h: Update includes.
6642 * src/hildon.h: Add hildon-picker-button.h
6644 Copied HildonPickerButton from sandbox to trunk. Future work on
6645 this widget must take place in trunk.
6647 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6649 * src/Makefile.am: Added HildonPickerDialog.
6650 * src/hildon-picker-dialog.c: Update includes.
6651 * src/hildon.h: Add hildon-picker-dialog.h
6653 Copied HildonPickerDialog from sandbox to trunk. Future work
6654 on this widget must take place in trunk.
6656 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6658 * src/Makefile.am: Added HildonTimeSelector.
6659 * src/hildon.h: Add hildon-time-selector.h
6661 Copied HildonTimeSelector widget from sandbox to trunk. Future
6662 work on this widget must happen in trunk.
6664 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6666 * src/Makefile.am: Added HildonDateSelector.
6667 * src/hildon.h: Add hildon-date-selector.h
6669 Copied HildonDateSelector widget from sandbox to trunk. Future
6670 work on this widget must happen in trunk.
6672 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6674 * src/Makefile.am: Added HildonTouchPicker.
6675 * src/hildon-touch-picker.c: Update includes.
6676 * src/hildon.h: Add hildon-touch-picker.h
6678 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6679 on this widget must happen in trunk.
6681 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6683 * src/hildon-pannable-area.c:
6684 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6686 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6688 * examples/hildon-app-menu-example.c (main): Let the window
6691 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6693 * src/hildon-pannable-area.c
6694 (hildon_pannable_area_class_init): Set the min value of the
6695 overshoot properties to zero, which points out that not
6696 overshooting allowed.
6698 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6700 Modified the procedure to get the widget at a point inside the
6701 pannable area when using the movement type signals. Now the user
6702 has to call a function to get the child, that way we just
6703 calculate the child in case the user really want to use it and not
6706 * src/hildon-marshalers.list: Modified the marshallers, now we do
6707 not have the widget as a parameter.
6709 * src/hildon-pannable-area.c
6710 (hildon_pannable_area_motion_notify_cb),
6711 (hildon_pannable_area_class_init),
6712 (hildon_pannable_get_child_widget_at): Removed the widget
6713 parameter from the signal callback. We have also refactored the
6714 emission of the signals.
6716 * src/hildon-pannable-area.h: Added a new method to the API to
6717 calculate a widget at a point inside the pannable area,
6718 hildon_pannable_get_child_widget_at.
6720 * examples/hildon-pannable-area-example-4.c
6721 (horizontal_movement): Modified the example to use the new API,
6722 added condition to control which widget is under the event. This
6723 way we can avoid scrolling laterally over other widgets.
6725 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6727 * src/hildon-pannable-area.c
6728 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6729 modes, we stop getting the pointer events due to returning the
6730 callback without properly calling the get pointer again. Fixed
6731 also an error using the hscroll and vscroll.
6733 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-app-menu-private.h
6736 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6737 (hildon_app_menu_button_release, hildon_app_menu_init)
6738 (hildon_app_menu_class_init): Don't hide the menu on button
6739 release if the user didn't press outside first.
6741 * src/hildon-window.h
6742 * src/hildon-window.c (hildon_window_toggle_menu)
6743 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6744 hildon_window_toggle_menu a virtual function for the stackable
6745 window to override it.
6747 * src/hildon-stackable-window.h
6748 * src/hildon-stackable-window-private.h
6749 * src/hildon-stackable-window.c
6750 (hildon_stackable_window_realize)
6751 (hildon_stackable_window_finalize)
6752 (hildon_stackable_window_class_init)
6753 (hildon_stackable_window_init)
6754 (hildon_stackable_window_set_main_menu): New function to set the
6755 app menu of a HildonStackableWindow.
6757 * examples/hildon-app-menu-example.c: Remove the button to show
6758 the app menu, now it'll be shown when clicking on the title bar
6761 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6763 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6764 set the widget name if the arrangement flags do not specify
6767 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6769 * src/hildon-button.c: (hildon_button_set_property),
6770 (hildon_button_class_init), (hildon_button_new_full),
6771 (hildon_button_set_arrangement): Added "arrangement-flags"
6774 Make the HildonButtonFlags a construction-only property, to allow
6775 subclasses to set them properly.
6777 2008-07-21 Tim Janik <timj@imendio.com>
6779 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6780 insertion position after backspace, so additional digits are appended,
6783 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6785 * src/hildon-pannable-area.c,
6786 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6787 TODO list, it was complete and removed the g_debug and g_print
6790 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6792 Added the movement modes to the hildon-pannable-area, with this
6793 modes the developers can control in which directions the widget
6794 can scroll. They can also connect to signals in order to do
6795 something when that happens, allowing applications scroll. There
6796 is an example uploaded showing how to use it.
6798 * examples/Makefile.am:
6799 * examples/hildon-pannable-area-example-4.c: Added this example of
6800 an application using the modes.
6802 * src/hildon-marshalers.list: Added a new marshaller for the new
6805 * src/hildon-pannable-area.h: Added new enumerations and flags in
6806 order to control the movement modes and the new signals to warn
6807 about the movements in the area.
6809 * src/hildon-pannable-area.c:
6810 (hildon_pannable_axis_scroll),
6811 (hildon_pannable_area_scroll),
6812 (hildon_pannable_area_motion_notify_cb),
6813 (hildon_pannable_area_get_property),
6814 (hildon_pannable_area_set_property),
6815 (hildon_pannable_area_map),
6816 (hildon_pannable_area_class_init),
6817 (hildon_pannable_area_init),
6818 (hildon_pannable_area_jump_to): Added the modes to control the
6819 movement in the widget. We have added properties to control it,
6820 signals to warn about the movements and refactored some code.
6822 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6824 Changes required in order to allow vfast_factor set to zero to
6827 * src/hildon-pannable-area.c:
6828 (hildon_pannable_area_button_press_cb): Changed the condition, it
6829 is required for not allowing click when vfast_factor is zero.
6830 (hildon_pannable_area_timeout): Initialized velocity variables
6831 when we stop moving, it was less than 1 but not zero and we need
6832 to check zero in some situations.
6833 (hildon_pannable_area_class_init): Changed the default value of
6834 the speed factor, now the button_press is just sent in case the
6835 speed is 2 per cent of the max speed.
6836 (hildon_pannable_area_init): Initialization with 0.
6838 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6840 * src/hildon-pannable-area.c,
6841 (hildon_pannable_area_get_topmost): replaced
6842 gdk_window_get_children with gdk_window_peek_children, this way we
6843 do not have to free the list because it is not a copy.
6845 (hildon_pannable_axis_scroll),
6846 (hildon_pannable_area_scroll),
6847 (hildon_pannable_area_timeout),
6848 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6849 two parameters that were only used inside the
6850 hildon_pannable_area_scroll function.
6852 * examples/hildon-pannable-area-example.c,
6853 (get_sawtooth_label): Fixed small memory leak.
6855 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6857 More checks for the case where the overshoot is bigger than the
6860 * src/hildon-pannable-area.c:
6861 (hildon_pannable_draw_vscroll),
6862 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6863 to draw the slider of the scrollbar under the other scrollbar.
6864 (hildon_pannable_area_expose_event): added new checks to control
6865 the drawing of the overshooting area rectangle, in case it is too
6866 big for the area of the widget.
6867 (hildon_pannable_area_size_allocate): add more checks to avoid
6868 setting a position to the child widget outside the area.
6870 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6872 * src/hildon-pannable-area.c
6873 (hildon_pannable_area_size_allocate): Added conditions to control
6874 when overshooting is bigger than the allocated space for the
6875 children, this avoids negative allocations.
6877 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6879 * doc/hildon-docs.sgml
6881 * examples/Makefile.am
6882 * examples/hildon-button-example.c
6884 * src/hildon-button.c
6885 * src/hildon-button.h
6886 * src/hildon.h: Initial version of the new HildonButton widget,
6889 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6891 * src/hildon-pannable-area.c:
6892 (hildon_pannable_area_button_press_cb),
6893 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6894 (hildon_pannable_area_motion_notify_cb),
6895 (hildon_pannable_area_button_release_cb),
6896 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6897 (hildon_pannable_area_jump_to_child):
6899 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6901 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6903 * examples/Makefile.am
6904 * examples/hildon-pannable-area-touch-grid-example.c
6905 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6906 the Hildon Touch List and Hildon Touch Grid using the
6907 HildonPannableArea widget.
6909 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6911 * src/hildon-pannable-area.c,
6912 (hildon_pannable_area_button_press_cb),
6913 (hildon_pannable_area_refresh),
6914 (hildon_pannable_area_scroll),
6915 (hildon_pannable_area_motion_notify_cb),
6916 (hildon_pannable_area_button_release_cb),
6917 (hildon_pannable_area_expose_event),
6918 (hildon_pannable_area_add),
6919 (hildon_pannable_area_remove),
6920 (hildon_pannable_area_realize),
6921 (hildon_pannable_area_size_allocate),
6922 (hildon_pannable_area_class_init),
6923 (hildon_pannable_area_init),
6924 (hildon_pannable_area_scroll_to_child),
6925 (hildon_pannable_area_jump_to_child): Fixed the problem of
6926 removing the child from the GtkBin, we have rearranged the widget
6927 hierarchy, now there is no GtkAlignment which was not doing
6928 anything interesting but breaking some of the assumptions of
6929 GtkContainer. Now developers if they want to add a GtkAlignment
6930 they could, but it is not inside the area.
6932 We had to review the whole allocation/expose process, now it is
6933 improved and we save at least three signals which would be saving
6934 some time when rendering the widget. The allocation of the
6935 scrollbars is now made in the allocate method as usual.
6937 We have also added some conditions in order to control when there
6938 is no child of the pannable area. Maybe we will need more work
6941 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6943 * src/hildon-pannable-area.c,
6944 (hildon_pannable_area_dispose): Released the fade-out timeout when
6945 disposing the widget.
6947 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6949 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6950 zero, we are going to use that property in order to deactivate the
6952 (hildon_pannable_axis_scroll),
6953 (hildon_pannable_area_size_allocate): Added conditions to control
6954 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6955 call, now it is called in all situations and we can remove calls
6956 in the allocate method.
6957 (hildon_pannable_area_map): Control the situation when
6958 overshoot_max is zero, we do not need the timeout.
6959 (hildon_pannable_area_class_init): Added documentation in order to
6960 point out that setting zero to overshoot_max means deactivate
6963 NOTE: removed trailing whitespaces from my previous comments of
6966 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6968 * src/hildon-pannable-area.c
6969 (hildon_pannable_area_get_property),
6970 (hildon_pannable_area_set_property),
6971 (hildon_pannable_area_map),
6972 (hildon_pannable_area_class_init),
6973 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6974 to cause the widget give a hint about its panning abilities upon
6977 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6979 * src/hildon-pannable-area.c: Several documentation improvements.
6981 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6983 * src/hildon-program.c
6984 * src/hildon-stackable-window.c: Update documentation.
6986 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6988 * src/hildon-stackable-window.c (get_previous_window_if_last):
6989 Renamed get_last_window()
6990 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6991 (hildon_stackable_window_unset_program):
6993 (get_previous_window_if_last):
6994 Detect if the window hasn't been added to a HildonProgram.
6996 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6998 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7000 * src/hildon-pannable-area.c
7001 (hildon_pannable_area_button_press_cb),
7002 (hildon_pannable_axis_scroll),
7003 (hildon_pannable_area_scroll),
7004 (hildon_pannable_area_timeout),
7005 (hildon_pannable_calculate_vel_factor),
7006 (hildon_pannable_area_get_property),
7007 (hildon_pannable_area_set_property),
7008 (hildon_pannable_area_class_init),
7009 (hildon_pannable_area_init),
7010 (hildon_pannable_area_scroll_to),
7011 (hildon_pannable_area_jump_to),
7012 (hildon_pannable_area_scroll_to_child),
7013 (hildon_pannable_area_jump_to_child):
7014 * src/hildon-pannable-area.h: Added the new API functions:
7015 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7016 hildon_pannable_area_scroll_to_child,
7017 hildon_pannable_area_jump_to_child
7020 * examples/Makefile.am
7021 * examples/hildon-pannable-area-example-2.c
7022 * examples/hildon-pannable-area-example-3.c: Added these two new
7023 examples in order to test and show how the new APIs work.
7025 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7027 * examples/hildon-stackable-window-example.c (new_window):
7028 * src/Makefile.am (noinst_HEADERS):
7029 * src/hildon-program.c (hildon_program_go_to_root_window):
7030 * src/hildon-program.h:
7031 * src/hildon-stackable-window-private.h:
7032 * src/hildon-stackable-window.c:
7033 * src/hildon-stackable-window.h:
7034 Create hildon-stackable-window-private.h
7035 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7037 * examples/hildon-app-menu-example.c (create_menu):
7038 * examples/hildon-hvolumebar-insensitive-example.c (main):
7039 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7040 * examples/hildon-toolbar-seekbar-example.c (main):
7041 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7042 * src/hildon-banner.c (hildon_banner_set_property):
7043 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7044 Fix compilation warnings
7046 * src/hildon-window.c:
7049 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7051 * src/hildon-stackable-window.c
7052 (hildon_stackable_window_unset_program):
7053 Calculate correctly whether to show the previous window if the
7054 last one is removed from the stack.
7055 (hildon_stackable_window_go_to_root_window):
7056 Send delete events starting from the topmost window.
7057 Stop if one of the windows is not destroyed.
7059 (hildon_stackable_window_delete_event)
7060 (hildon_stackable_window_class_init):
7061 Ignore the delete event if the window is not the topmost one.
7063 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7065 * src/hildon-pannable-area.c
7066 (hildon_pannable_area_expose_event): Fixed a problem when
7067 selecting the background color of the scrollbars.
7069 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7071 * examples/hildon-stackable-window-example.c
7072 * src/hildon-stackable-window.c
7073 * src/hildon-stackable-window.h
7074 hildon_stackable_window_go_home() renamed to
7075 hildon_stackable_window_go_to_root_window()
7076 Send delete events to windows rather than closing them with
7077 gtk_widget_destroy()
7079 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7081 * src/hildon-pannable-area.c
7082 (hildon_pannable_area_button_release_cb): Fix overshooting in
7085 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-pannable-area.c
7088 (hildon_pannable_area_init): Initially show the scroll indicators.
7089 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7091 Add initial effect showing the widget is pannable.
7093 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7095 * src/hildon-pannable-area.c
7096 (hildon_pannable_area_class_init)
7097 (hildon_pannable_area_set_property)
7098 (hildon_pannable_area_get_property)
7099 (hildon_pannable_area_button_press_cb):
7100 New 'velocity_fast_factor' property to decide which velocity is
7103 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7105 * src/hildon-pannable-area.c
7106 (hildon_pannable_draw_hscroll)
7107 (hildon_pannable_draw_vscroll):
7108 Use float variables to calculate the size of the scrollbars to
7109 avoid error propagation and resizing during scrolling.
7111 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7113 * src/hildon-pannable-area.c
7114 (hildon_pannable_draw_vscroll)
7115 (hildon_pannable_draw_hscroll):
7116 Define a minimum size for the scroll bars
7118 * src/hildon-stackable-window.c
7119 (hildon_stackable_window_go_home): Fix compilation warning
7120 (get_last_window): Minor optimizations
7121 (hildon_stackable_window_class_init): Fix initialization of
7124 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7126 * src/hildon-stackable-window.c: Fixed typos in doc
7128 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7130 * src/hildon-pannable-area.c
7131 (hildon_pannable_area_scroll):
7132 Calculate here whether we need to scroll instead of using the booleans
7133 that tell us whether to /draw/ the scrolling bars.
7135 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-app-menu.h
7139 * src/hildon-app-menu.c
7140 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7141 multiple filter groups related code and API. Now we support only
7143 * examples/hildon-app-menu-example.c:
7145 Update to reflect API changes.
7147 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7149 * src/hildon-stackable-window.c
7150 (hildon_stackable_window_class_init):
7151 Add hildon_stackable_window_realize.
7152 (hildon_stackable_window_realize):
7153 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7154 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7155 to apply theming and behavior specific to HildonStackableWindow
7158 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7160 * src/hildon-note.c (hildon_note_button_release):
7161 Close information notes also when tapping on them
7163 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7165 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7166 ELASTICITY, refactor and review, fix some issues with drawing
7169 * src/hildon-pannable-area.c:
7170 (hildon_pannable_area_button_press_cb): removed the conditions to
7171 avoid clicks when overshooting. It is not required
7173 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7174 define. Refatored and reviewed the code, now we do not need to
7175 manage velocity in motion_notify.
7177 (hildon_pannable_area_motion_notify_cb): We have moved the code
7178 that controls the area_scroll to the axis_scroll function and get
7179 rid of duplicated code.
7181 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7183 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7185 (hildon_pannable_draw_vscroll),
7186 (hildon_pannable_draw_hscroll): Fixed the problems with the
7187 scrollbar drawing, now we do not use two surfaces, it is easier
7188 and saves resources.
7190 (hildon_pannable_area_get_property): Style modification.
7192 (hildon_pannable_area_class_init): Changed some default values.
7194 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7196 * src/hildon-stackable-window.c: Fix some typos in the
7199 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7201 * src/hildon-dialog.c:
7202 Change indentation style
7205 (hildon_note_button_release):
7206 Use root coordinates to check if the release event happened
7209 * src/hildon-app-menu.c
7210 (hildon_app_menu_button_release):
7211 Remove unnecessary check
7213 * examples/hildon-app-menu-example.c
7215 Add cast to fix warning
7217 * src/hildon-app-menu.c
7218 (hildon_app_menu_class_init):
7219 New inner-border style property.
7220 Set all default spacings to 16
7221 (hildon_app_menu_init):
7222 Use vertical-spacing to set the space between filter buttons and
7223 regular menu buttons.
7224 Set the default container border using the inner-border value.
7226 * examples/hildon-app-menu-example.c
7228 Don't set the menu border explicitly, now we have the inner-border
7229 style property for that.
7231 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7233 * src/hildon-app-menu.c (hildon_app_menu_init):
7234 Make the window modal
7236 * src/hildon-note.c (hildon_note_map)
7237 * src/hildon-app-menu.c (hildon_app_menu_map):
7238 Destroy the grab window if we're unable to grab the pointer
7240 * src/hildon-app-menu-private.h
7241 * src/hildon-app-menu.c
7242 (hildon_app_menu_init, hildon_app_menu_finalize)
7243 (hildon_app_menu_map, hildon_app_menu_unmap)
7244 (hildon_app_menu_button_release)
7245 (grab_transfer_window_get):
7246 Bring back the grab window
7247 (hildon_app_menu_realize):
7248 Decorate the window, set WM hint for Matchbox
7250 * src/hildon-note.c (hildon_note_realize):
7251 * src/hildon-banner.c (hildon_banner_realize):
7252 Add WM hints for Matchbox
7254 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7256 * src/hildon-app-menu-private.h
7257 * src/hildon-app-menu.c
7258 (hildon_app_menu_init, hildon_app_menu_finalize)
7259 (hildon_app_menu_map, hildon_app_menu_unmap)
7260 (hildon_app_menu_button_release):
7261 Remove the grab window, it's not needed anymore
7263 * src/hildon-program.c
7264 Fixed typo in documentation
7266 * src/hildon-app-menu.h
7267 * src/hildon-app-menu.c
7268 * examples/hildon-app-menu-example.c
7269 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7271 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7274 Added new transfer_window and close_if_pressed_outside private
7276 (hildon_note_rebuild):
7277 Don't add a cancel button to the information note. It will be
7278 closed when tapping outside
7279 Remove the comment about the OK button in the documentation
7280 (hildon_note_realize):
7281 Set the notification type hint
7282 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7283 Grab/ungrab pointer and keyboard if the note has to be closed when
7285 (hildon_note_button_release):
7286 Close the note when tapping outside (if applicable)
7288 * src/hildon-app-menu.c
7289 Grab/ungrab pointer and keyboard on map/unmap
7290 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7291 Close the menu on button release, not button press
7293 * src/hildon-banner.c
7294 (hildon_banner_set_property)
7295 (hildon_banner_check_position):
7296 Make the banner use the full width of the screen
7297 (hildon_banner_show_information)
7298 (hildon_banner_show_information_with_markup):
7299 Don't display an icon by default
7301 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7303 Added fading scrollbars and adapted all the overshooting code to
7304 horizontal scrolling. We have also fixed bugs with overshooting
7305 and current fading implementation.
7307 * src/hildon-pannable-area.c
7308 (hildon_pannable_area_scroll_indicator_fade): Time out function
7309 used to change the transparency of the scrollbars.
7311 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7312 control and fixed a problem with fading, we now remove the fade
7313 timeout before adding a new one.
7315 (hildon_pannable_axis_scroll):
7316 (hildon_pannable_area_scroll):
7317 (hildon_pannable_area_timeout): Added this functions so we can use
7318 the scroll code both for vertical and horizontal.
7320 (hildon_pannable_area_motion_notify_cb):
7321 (hildon_pannable_area_button_release_cb): Added the horizontal
7322 scrolling control, fixed a problem with the overshooting timeout.
7324 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7325 painting of the scrolls.
7327 (hildon_pannable_draw_vscroll):
7328 (hildon_pannable_draw_hscroll):
7329 (hildon_pannable_area_expose_event):
7330 Draw both scrollbars and rectangles in the overshooting area.
7332 (hildon_pannable_area_get_property):
7333 (hildon_pannable_area_set_property):
7334 Modified the overshoot property to overshoot_max
7336 (hildon_pannable_area_map):
7337 Replaced the comments symbols.
7339 (hildon_pannable_area_size_allocate):
7340 (hildon_pannable_area_class_init):
7341 (hildon_pannable_area_init): Added horizontal scroll, fading
7342 effect properties, fixed a problem when overshooting in the bottom
7345 * examples/hildon-pannable-area-example.c:
7346 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7347 looks better in the example.
7349 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-window.c
7352 * src/hildon-window.h
7353 (hildon_window_class_init)
7354 (hildon_window_unset_program)
7355 (hildon_window_unset_program_real):
7356 Make unset_program a virtual function
7358 * src/hildon-stackable-window.c
7359 * src/hildon-stackable-window.h
7360 Added hildon_stackable_window_go_home()
7362 * examples/Makefile.am
7363 * examples/hildon-stackable-window-example.c
7364 HildonStackableWindow example
7366 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7368 * hildon-pannable-area.c: Added the overshoot property and removed
7369 the OVERSHOOT define. Fixed an indent style error.
7370 (hildon_pannable_area_motion_notify_cb):
7371 (hildon_pannable_area_get_property):
7372 (hildon_pannable_area_set_property): Add overshoot property.
7374 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7377 (hildon_pannable_area_class_init): Installed the new property.
7379 * hildon-pannable-area-example.c: Added a sawtooth function, this
7380 way it is easier to check the movement in the pannable.
7381 (get_sawtooth_label): Added this function.
7382 (main): Now we get the labels from the new get_sawtooth_label
7385 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7387 * src/hildon-app-menu.h
7388 * src/hildon-app-menu.c
7389 Renamed API variables for consistency
7391 (hildon_app_menu_popup): Use also the default window size to
7392 decide where to place the menu
7394 (hildon_app_menu_init, hildon_app_menu_class_init): New
7395 external-border style property
7397 2008-05-26 Michael Natterer <mitch@imendio.com>
7399 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7400 widget_class->tap_and_hold_setup signal slot doesn't exist any
7401 longer, stop overriding it.
7403 (hildon_time_editor_init): g_signal_connect() to the
7404 tap-and-hold-setup signal instead.
7406 (hildon_time_editor_entry_keypress): add cast to fix warning.
7408 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7410 * doc/hildon-docs.sgml
7412 * examples/Makefile.am
7413 * examples/hildon-app-menu-example.c
7415 * src/hildon-app-menu-private.h
7416 * src/hildon-app-menu.c
7417 * src/hildon-app-menu.h
7419 New HildonAppMenu widget
7421 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7423 Rearranged the inheritance of the pannable area, now it inherits
7424 from GtkBin. This will allow us to control the event_window and
7425 the allocation process of the widget, required for some effects.
7427 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7428 GtkBin structures. * src/hildon-pannable-area.c: Added the
7429 event_window variable.
7430 (hildon_pannable_area_button_press_cb):
7431 (hildon_pannable_area_button_release_cb):
7432 (hildon_pannable_area_motion_notify_cb):
7433 Changed the signature of the method, now we override the event
7434 callback instead of connecting to the signal.
7436 (hildon_pannable_area_realize):
7437 (hildon_pannable_area_unrealize):
7438 (hildon_pannable_area_map):
7439 (hildon_pannable_area_unmap):
7440 (hildon_pannable_area_size_allocate):
7441 Added functions to control the widget construction. We add a
7442 INPUT_ONLY window and we put it over the widgets inside the
7443 container, this event_window handles the events.
7445 (hildon_pannable_area_class_init):
7446 Replaced the signal connections with overrides of the event
7449 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7451 Bouncing effect added when touching the borders, you can change
7452 the elasticity of the border changing the ELASTICITY define.
7454 * src/hildon-pannable-area.c: Added ELASTICITY define.
7455 (hildon_pannable_area_timeout): Added inverse velocity when
7456 touching the border of the child widget, that causes a bounce.
7458 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7460 Improved performance, we now do not go to the X server in order to
7461 get the list of window children. Apparently the effect is the
7462 same, we have to be careful and check if this breaks something in
7465 * src/hildon-pannable-area.c:
7466 (get_ordered_children): Removed this function.
7467 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7468 the children windows function with gdk_window_get_children.
7470 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7472 * src/hildon-pannable-area.c:
7473 (hildon_pannable_area_dispose): Fixed a crash when closing the
7474 window and kinetics is activated.
7476 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7478 * src/hildon-pannable-area.h
7479 * src/hildon-pannable-area.c
7480 Changed indentation style to meet the one used in Hildon
7482 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7484 Reviewed the interaction of the AUTO mode, now we use the time
7485 attribute of the events and calculate the velocity in the motion,
7486 doing a gimp like calculation. The velocity is calculated in each
7487 motion event using the last velocity and the current one, the
7488 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7490 * src/hildon-pannable-area.c: Replaced the time based algorithm
7492 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7493 timeout for the AUTO mode when we are still moving the cursor. We
7494 added also the velocity calculation in this function.
7495 (hildon_pannable_area_button_release_cb): launch the timeout in
7496 case we are in AUTO mode. There are still some constants here that
7497 come from the old implementation that should be reviewed and
7500 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7502 * doc/hildon-docs.sgml
7505 * src/hildon-stackable-window.c
7506 * src/hildon-stackable-window.h
7508 New HildonStackableWindow widget
7510 * examples/hildon-dialog-example.c
7511 * examples/hildon-pannable-area-example.c
7514 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7516 * src/hildon-dialog.c
7517 (hildon_dialog_new_with_buttons): New constructor.
7519 * examples/hildon-dialog-example.c
7520 (main): Update the example to use the new
7521 hildon_dialog_new_with_buttons().
7523 * examples/hildon-pannable-area-example.c
7524 (main): Update example.
7526 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7528 * doc/hildon-docs.sgml
7530 Added HildonPannableArea to the documentation.
7532 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7534 * doc/visual_index.xml
7535 Fix reference to HildonLoginDialog in documentation
7537 * doc/hildon-docs.sgml
7539 * examples/Makefile.am
7540 * examples/hildon-dialog-example.c
7542 * src/hildon-dialog.c
7543 * src/hildon-dialog.h
7545 New HildonDialog widget.
7547 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7549 * src/hildon-pannable-area.c
7550 Merge latest changes (r4318, r4342) from libmokoui trunk
7552 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7554 * examples/Makefile.am
7555 * examples/hildon-pannable-area-example.c
7557 * src/hildon-pannable-area.c
7558 * src/hildon-pannable-area.h
7560 New HildonPannableArea widget.
7562 2008-04-15 18:05:19 <timj@imendio.com>
7564 * src/hildon-banner.c: revert the recent change, that introduced
7565 gtk_window_present() calls. this reopens:
7566 Bug 78481 - [freetest] information banners are hidden under browser menu
7567 But resolves another variant of:
7568 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7570 2008-04-15 13:21:13 <timj@imendio.com>
7572 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7573 recreated its layout, spotted by Kris. this fixes all remaining
7574 artefacts and stability issues with the banner code. in particular:
7575 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7577 2008-04-14 16:52:59 <timj@imendio.com>
7579 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7580 operating on unrealized widgets, fixes:
7581 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7583 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7585 2008-04-09 Kristian Rietveld <kris@imendio.com>
7587 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7588 makes banner disappear.
7589 Fixes: NB#79182: info banner flickering with certain message lengts.
7591 * src/hildon-banner.c (hildon_banner_constructor),
7592 (hildon_banner_init), (hildon_banner_set_text),
7593 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7594 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7595 FALSE, reset size requests of label and banner,
7596 (force_to_wrap_truncated): when the text is too wide, always enforce
7597 the maximum possible width instead of recalculating it from the
7598 layout; enforce the maximum banner height of 3 lines,
7599 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7600 nicer wrapping and no truncated chars if space gets tight.
7602 * src/hildon-banner-private.h: add has_been_wrapped and
7603 has_been_truncated fields.
7605 2008-04-07 Sven Herzberg <sven@imendio.com>
7607 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7608 local values in hildon_date_editor_size_allocate
7610 * src/hildon-date-editor.c: moved the real allocation code into the
7613 2008-04-07 Sven Herzberg <sven@imendio.com>
7615 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7616 local values in hildon_date_editor_size_allocate
7618 * src/hildon-date-editor.c: merged the two if() branches together
7620 2008-04-07 Sven Herzberg <sven@imendio.com>
7622 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7623 local values in hildon_date_editor_size_allocate
7625 * src/hildon-date-editor.c: changed the arguments of the if()
7628 2008-04-07 Sven Herzberg <sven@imendio.com>
7630 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7631 local values in hildon_date_editor_size_allocate
7633 * src/hildon-date-editor.c: split the calculation of the allocation
7634 from the real allocation
7636 2008-03-27 Michael Natterer <mitch@imendio.com>
7638 Fixes: NB#81696: The passcode is not overwritten even after
7641 * src/hildon-code-dialog.c
7642 (hildon_code_dialog_button_clicked)
7643 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7644 because that doesn't overwrite selected text. Instead, emit the
7645 "commit" signal on the entry's im_context so the entry's normal
7646 insert logic is triggered. Set the cursor to the end of the entry
7647 after each insert operation so that we *only* insert in the middle
7648 of the text if something was selected.
7650 2008-03-27 Michael Natterer <mitch@imendio.com>
7652 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7653 selector cannot be opened
7655 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7656 when the popup color selector is created. Please connect to this
7657 signal in order to set the dialog's help ID.
7659 2008-03-25 Sven Herzberg <sven@imendio.com>
7661 Fixes: MB#1212: Hide info banners (infoprints) on click
7663 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7664 extracted the close event simulation into an extra function
7665 (hildon_banner_button_press_event): simulate a close event and destroy
7666 the widget if the event wasn't handled
7667 (hildon_banner_class_init): added the button_press_event handler
7668 (hildon_banner_init): added button-press events to the widget
7670 2008-03-25 Sven Herzberg <sven@imendio.com>
7672 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7673 Patch from: Mohammad Anwari <mdamt@maemo.org>
7675 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7676 instead of the right in RTL mode
7677 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7678 breadcrumb button list in RTL mode
7679 * src/hildon-caption.c: mirror the appearance of the caption widget in
7681 * src/hildon-date-editor.c: mirror appearance of the date editor in
7683 * src/hildon-time-editor.c: mirror appearance of the time editor in
7685 * src/hildon-window.c: fix the position of the popup in RTL mode
7687 2008-03-25 Sven Herzberg <sven@imendio.com>
7689 Amendment to the fix of NB#22072. Fix compilation.
7691 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7693 2008-03-19 Sven Herzberg <sven@imendio.com>
7695 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7698 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7699 timeout id properly when the timeout will disappear this leaves no
7700 artifacts around in the destroy(); there will only be the timeout
7701 created by hildon_banner_ensure_timeout() and adding a new timeout
7702 will also work if the timeout gets removed because the timeout_handler
7705 2008-03-19 Michael Natterer <mitch@imendio.com>
7707 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7709 * src/hildon-volumebar.c
7710 * src/hildon-vvolumebar.c
7711 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7712 the widget becomes focussable at all.
7714 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7715 set the focus to wither the mute button or the volumebar.
7717 Remove own "can-focus" property and instead listen to
7718 notify::can-focus in order to update the widget's state.
7720 Implement GtkWidget::focus() and make sure we can also *leave* the
7721 widget, not only enter it, depending on volumebar orientation and
7722 requested focus direction.
7724 Clean up set_mute() to cooperate nicely with all the above.
7726 2008-03-04 Michael Natterer <mitch@imendio.com>
7728 Fixes: NB#78481: information banners are hidden under browser menu
7730 * src/hildon-banner.c: call gtk_window_present() on the banners so
7731 they are risen if they are already visible.
7733 2008-03-03 Sven Herzberg <sven@imendio.com>
7735 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7737 * examples/hildon-window-menu-example.c: (main): extended the window
7738 menu example to serve as a testcase for automatically added
7739 accelerator groups, too
7740 * src/hildon-window.c: (hildon_window_add_accel_group),
7741 (hildon_window_set_menu): added patch by Tommi Komulainen
7743 2008-03-03 Sven Herzberg <sven@imendio.com>
7745 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7747 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7748 knowledge about the border allocators used within GTK+
7750 2008-02-26 Sven Herzberg <sven@imendio.com>
7752 Fixes: MB#2981: Build with asserts broken
7754 * src/hildon-date-editor.c,
7755 * src/hildon-number-editor.c,
7756 * src/hildon-time-editor.c,
7757 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7758 the proper GType instance check
7760 2008-02-25 Sven Herzberg <sven@imendio.com>
7762 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7764 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7765 * examples/hildon-window-menu-example.c: (main): explicitly show
7767 * src/hildon-window.c:
7768 (hildon_window_set_main_menu): moved most of the code from set_menu()
7769 to this place; skipped the call to gtk_widget_show_all(); also didn't
7770 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7771 (hildon_window_set_menu): removed most of the code, just keep the
7772 questionable gtk_widget_show_all()
7773 * src/hildon-window.h: added the new function and deprecate the old
7776 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7782 * debian/changelog: Updating.
7784 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7787 * pkgconfig/Makefile.am:
7788 * pkgconfig/hildon.pc.in:
7791 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7792 use newly created API_MAJOR_VERSION.
7794 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7800 * debian/changelog: Updating.
7802 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7804 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7806 Add outer_border style property, we use it but don't define it (!).
7810 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7812 * examples/hildon-bread-crumb-trail-example.c (main):
7816 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7818 Fix logic for the bread crumb trail node removal.
7822 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * debian/changelog: Updating.
7830 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7832 Patch by Alejandro to get/set passwords dialogs accesibility.
7834 * hildon-1/src/hildon-get-password-dialog.c:
7835 * hildon-1/src/hildon-set-password-dialog.c:
7836 Set atk_set_name to the passwd entries in order to allow
7837 accessibility by name on this entries.
7839 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7844 * debian/control: Updating gtk dep.
7846 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7848 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7849 USE_MAEMO_GTK is enabled.
7851 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7853 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7854 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7856 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * debian/changelog: Updating.
7864 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * examples/Makefile.am:
7867 * examples/hildon-logical-color-example.c:
7868 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7869 applied + adding a test case. Fixes: NB#71660.
7871 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7873 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7874 to be visible, fixes warning on map for windows without toolbars.
7876 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7878 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7879 2.11.0, add a check for that besides the MAEMO_GTK check.
7881 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * debian/changelog: Updating.
7889 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7892 visibility. Fixes: NB#70842 and MB#615.
7894 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7896 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7897 set the separator as no-show-all so it doesn't unintentionally appear when
7898 someone does a show_all.
7900 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7902 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7903 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7904 toplevel item. Fixes: NB#62031
7906 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7908 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7909 fix the name of the function in the docs.
7911 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7917 * debian/changelog: Updating.
7919 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * examples/hildon-banner-long-example.c: Adding a test-case for long
7924 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7926 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7928 * src/hildon-color-chooser-dialog.c:
7929 * src/hildon-color-chooser.c:
7930 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7931 memory leaks in font selector and color selector. Fixes: NB#70499 and
7934 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7936 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7938 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7941 little bit bigger. Fixes: #NB63694.
7943 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * debian/changelog: Updating.
7951 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * doc/hildon-docs.sgml:
7955 * doc/images/bread-crumb-trail.png:
7956 * doc/images/calendar-popup.png:
7957 * doc/images/caption.png:
7958 * doc/images/code-dialog.png:
7959 * doc/images/color-button.png:
7960 * doc/images/color-chooser-dialog.png:
7961 * doc/images/color-chooser.png:
7962 * doc/images/controlbar.png:
7963 * doc/images/date-editor.png:
7964 * doc/images/font-selection-dialog.png:
7965 * doc/images/get-password-dialog.png:
7966 * doc/images/hvolumebar.png:
7967 * doc/images/login-dialog.png:
7968 * doc/images/note.png:
7969 * doc/images/number-editor.png:
7970 * doc/images/range-editor.png:
7971 * doc/images/seekbar.png:
7972 * doc/images/set-password-dialog.png:
7973 * doc/images/sort-dialog.png:
7974 * doc/images/time-editor.png:
7975 * doc/images/time-picker.png:
7976 * doc/images/vvolumebar.png:
7977 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7978 Adding the bread-crumb-trial and helpers to the documentation.
7980 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * examples/hildon-find-toolbar-example.c:
7983 * src/hildon-find-toolbar.c:
7984 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7985 actually continue firing the other handlers if connected. Adding a new
7987 hildon_find_toolbar_get_last_index that gets the index of the most
7988 recently added (last) item. Fixes: NB#52301.
7990 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7993 behaviour. Fixes: NB#68610.
7995 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8000 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8003 when realizing the banner. Should make the infonbanner effect a bit more
8006 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-volumebar.c:
8009 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8010 hildon_volumebar_set_range_insensitive_message and
8011 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8013 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * src/hildon-window.c: Fixing the border freeing on destroy.
8017 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8019 * src/hildon-code-dialog-private.h:
8020 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8021 kw keyboard support in HildonCodeDialog.
8023 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * debian/changelog: Updating.
8031 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8033 * src/hildon-date-editor.c:
8034 * src/hildon-number-editor.c:
8035 * src/hildon-private.c:
8036 * src/hildon-private.h:
8037 * src/hildon-time-editor.c:
8038 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8039 handling in subclassed composite widgets. Fixes: NB#66628.
8041 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8043 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8044 from destroy_ callback as it introduces problems in async dbus signal
8045 handlers. Fixes NB#66673.
8047 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * examples/hildon-hvolumebar-example.c:
8050 * src/hildon-volumebar.c: Improving the focus handling in the
8051 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8052 set_property accessor so that "mute" property can be actually set. I'm
8053 scared that nobody noticed it's totally broken.
8055 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8057 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8060 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * src/hildon-calendar.c:
8063 * src/hildon-number-editor.c:
8064 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8065 matches the spec of 6 chars per second. Fixes: NB#60489.
8067 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8069 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8070 gtk_style_lookup_color sometime returns FALSE even though color was
8071 found and values were filled properly. Weird. Removing the warning for the
8074 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8076 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8077 expand vertically. Adding some extra space to the find toolbar buttons to
8078 make them thumbable. Fixes NB#66060.
8080 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8082 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8083 popup with "Ok" and "Cancel". Fixes NB#59299.
8085 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8087 * src/hildon-calendar.c: Process all window updates before executing next
8088 timeout. Fixes: NB#54146.
8090 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * debian/changelog: Updating.
8098 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8100 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8101 the client event and ignore it, since we use the delete event to close
8104 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8106 * src/hildon-helper.c: Remove the bogus warning about color not being
8107 found. Fixes NB#58352.
8109 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8111 * examples/Makefile.am:
8112 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8113 HildonSeekbar widget inside a toolbar.
8115 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8117 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8118 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8119 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8120 don't want to be closed by non-temporary windows on map.
8122 Also use G_DEFINE_TYPE instead of manually typed code.
8124 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8131 * debian/rules: Updating.
8133 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * examples/Makefile.am:
8136 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8137 bug NB#61128. Strangely it works.
8139 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 * src/hildon-date-editor.c: When the date editor entry has been changed
8142 but the numbers of characters < max, turn off the skip validation flag.
8143 Prevents a situation when we enter first a valid year and later re-write
8144 it with an invalid one. Fixes NB#60154.
8146 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8149 code dialog. Fixes NB#64355.
8151 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8154 switching the page. Fixes NB#49374.
8156 * examples/Makefile.am:
8157 * examples/hildon-wizard-dialog-example.c: Adding an example for
8158 HildonWizardDialog that shows how to handle manual sensitivity setting on
8161 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * src/hildon-version.h.in:
8166 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8168 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8170 * src/hildon-volumebar.c: Updating the docs.
8172 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * debian/changelog: Updating.
8180 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8182 * src/hildon-find-toolbar.c:
8183 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8184 selected item: hildon_find_toolbar_set_active,
8185 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8186 hildon_find_toolbar_get_active_iter . They correspond to respective
8187 GtkComboBox functions.
8189 * examples/Makefile.am:
8190 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8193 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * examples/Makefile.am:
8196 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8199 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8200 when font size > 32 and we pack a focusable widget inside. Actually using
8201 the default response would work too, but since we don't show default
8202 response state in any way (no theming) it would not be visible to the
8203 user. Fixes NB#63430.
8205 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8207 * src/hildon-date-editor.c: Adding the missing variable setter in the
8208 set_property handler. Fixes NB#54182.
8210 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-window.h: Changing the long key press time from 1500ms to
8213 800ms as requested in NB#63700. I have a bad feeling about this, let's
8214 see... Fixes NB#63700.
8216 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8218 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8219 hildon_time_picker_map, hildon_time_picker_realize,
8220 hildon_time_picker_style_set): Split the contents of map to more
8221 appropriate functions; set window decorations on realize and update
8222 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8224 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8229 * debian/changelog: Updating.
8231 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8233 * src/Makefile.am: fixed installation of the header files
8235 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8241 * debian/changelog: Updating.
8243 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * configure.ac: Removing some remaining of --enable-xan.
8247 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8249 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8250 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8252 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8253 2.10.12-osso6 because the move-focus signal needs to be available in
8256 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * examples/Makefile.am:
8259 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8260 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8261 fine. Prolly NB#61128 is fixed now.
8263 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * src/hildon-volumebar.c:
8266 * src/hildon-volumebar.h: Adding the
8267 hildon_volumebar_set_range_insensitive_message and
8268 hildon_volumebar_set_range_insensitive_messagef functions to set
8269 insensitive message on the slider of the volumebar. Fixes NB#61129.
8271 * examples/Makefile.am:
8272 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8273 test the new insensitive messsage functionality on HildonVolumebar.
8275 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8277 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8280 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8282 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8283 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8284 button on after clearing the trail.
8286 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8290 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8292 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8293 by splitting the installed headers in generated and non-generated groups. Use
8294 only the non-generated headers to create the hildon-enum-types.h file.
8296 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8298 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8300 * src/hildon-window.c: Hide the window before performing the destroy.
8301 Should make the app closing a little tiny bit more snappy.
8303 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8305 * src/hildon-seekbar.c: add gtkrange.h header
8306 * src/hildon-caption.c: remove unused variable
8308 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8310 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8313 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * debian/changelog: Updating.
8321 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8323 * src/hildon-window.c (hildon_window_window_state_event,
8324 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8325 escape timeout on focus-out-event rather than notify::is-topmost; the
8326 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8328 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8330 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8331 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8333 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8335 * src/hildon-window: actually, you need to use the macro always, there's
8336 no private pointer in the instance structure. We should have cleaned this up
8337 when we had the chance...
8339 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8341 * src/hildon-window.c: do not get the private date from HildonWindow before
8342 it passes the g_return_if_fail check. Once it's passed the test, there's no
8343 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8344 if you are only going to access the data once. Whitespace cleanups.
8346 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8348 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8349 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8351 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * debian/changelog: Updating.
8359 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-window.c: When destroying the window, remove (if exists) the
8362 escape timeout handler. Fixes #NB59276.
8364 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-banner.c: When realizing the widget, set the window
8367 transiency. Setting the transiency in the gobject constructor is not
8368 good, as the widget is not realized at that point. Fixes: #NB56624.
8370 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8372 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8373 Add padding for future expansions.
8375 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8377 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8378 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8379 will fake an activation on the previous to the last item of the trail, so
8380 the effect can be overrided by the developer as usual.
8381 Also change the callback for the back button to do the same thing, so its
8382 effect can be overrided too. Fixes: NB#58982
8384 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8386 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8387 HildonCaption. Fixes NB#52379.
8389 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8391 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8392 the internal state of the trail after the user has had the chance of executing
8393 his handler for the signal. Specifically, it may happen that the activated button
8394 is removed and the user still lets the default handler run. This would segfault
8397 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8400 scrollbar to the preview dialog. Fixes NB#54147.
8402 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8405 max/min year properties can be altered, so the client can modify it
8406 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8408 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8410 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8411 hildonlike by default. Fixing a problem with disappearing arrows when
8412 scrolling through months and years. Fixes NB#54127.
8414 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * examples/hildon-date-editor-example.c: Adding error callback to the date
8419 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * configure.ac: Updating.
8427 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * configure.ac: Adding a special '--enable-xan' configure option that
8430 turns off the -Werror compilation setting. Usefull for development.
8432 * src/hildon-calendar.c:
8433 * src/hildon-number-editor.c:
8434 * src/hildon-time-picker.c: Adding the 5* multiplier to
8437 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8439 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8440 instead of g_object_ref + gtk_object_sink.
8442 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * debian/changelog: Updating.
8450 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * src/hildon-color-chooser-dialog.c:
8453 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8454 straight from Tommi labs.
8456 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * examples/hildon-finger-example.c: Correcting the header file path.
8460 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8461 the changed signal. Fixes a small memory leak.
8463 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-banner.c: Importing several usefull fixes from the
8468 ubuntu-mobile branch.
8470 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8472 * examples/Makefile.am:
8473 * examples/hildon-finger-example.c: Adding a finger-checking code
8476 * src/hildon-font-selection-dialog.c: Do not allocate the color
8477 structure using the g_new. Fixes NB#54061.
8479 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * src/hildon-helper.c: Correcting tabs in file.
8483 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8485 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8486 control the visibility of the children.
8488 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8490 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * debian/changelog: Updating.
8498 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8500 * src/hildon-bread-crumb-trail.c:
8501 (hildon_bread_crumb_trail_size_allocate):
8503 Make the back button always a square.
8505 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8507 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8508 from the .c file as it's a private file.
8510 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8512 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8513 uses slightly bigger height.
8515 * src/hildon-font-selection-dialog.c: Adding some checks before
8516 freeing memory in the font selection dialog.
8518 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-font-selection-dialog.c: Adding a small check when
8523 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8524 buttons sensitivity on page switching.
8526 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8528 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8529 internal details of adding a bread crumb to the trail.
8531 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * debian/changelog: Updating.
8539 * src/hildon-bread-crumb-trail.h:
8540 * src/hildon-bread-crumb.h: Changing the API guard to
8541 HILDON_ENABLE_UNSTABLE_API.
8543 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * src/hildon-helper.h: Updating.
8553 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8565 * src/hildon-helper.h: Small fix to make the package actually compile.
8567 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8569 * src/hildon-bread-crumb-trail.h:
8570 * src/hildon-bread-crumb.h:
8572 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8573 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8575 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8577 * examples/hildon-bread-crumb-trail-example.c:
8579 * src/hildon-bread-crumb-trail.c:
8580 * src/hildon-bread-crumb-trail.h:
8581 * src/hildon-bread-crumb.c:
8582 * src/hildon-bread-crumb.h:
8583 * src/hildon-marshalers.list:
8584 * src/hildon-bread-crumb-widget.c:
8585 * src/hildon-bread-crumb-widget.h:
8587 Slight change in the widget design. The bread crumb trail API is
8588 unchanged, but HildonBreadCrumb is now an interface. A *private*
8589 implementation, hildon-bread-crumb-widget, is provided and used
8590 internally by the trail for the push_text/push_icon functions.
8592 The generic push API is still available, so anyone can implement
8593 and use its own bread crumb widget.
8595 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8597 * debian/rules: Fixing the shlibs.
8599 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8601 * src/hildon-banner.c: Fixing a problem with timed banners having
8602 their parrent destroyed before they are.
8604 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-bread-crumb.c:
8607 * src/hildon-bread-crumb.h:
8609 Make the get_natural_size function a vfunc.
8611 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8613 * src/hildon-bread-crumb.c:
8614 * src/hildon-bread-crumb-trail.c:
8618 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * debian/changelog: Updating for release.
8627 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8629 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8630 don't leak the pango layout.
8632 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8635 * examples/hildon-bread-crumb-trail-example.c:
8639 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * debian/changelog: Removing the bug-fixed entries that were actually
8642 resolved as WONTFIX.
8644 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8647 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8649 * src/hildon-bread-crumb-trail.c:
8650 * src/hildon-bread-crumb-trail.h:
8651 * src/hildon-bread-crumb.c:
8652 * src/hildon-bread-crumb.h:
8656 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8658 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8659 until it's passed the type check.
8661 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8663 * examples/hildon-bread-crumb-trail-example.c
8667 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8669 * examples/Makefile.am
8670 * examples/hildon-bread-crumb-trail-example.c
8672 * src/hildon-bread-crumb-trail.c
8673 * src/hildon-bread-crumb-trail.h
8674 * src/hildon-bread-crumb.c
8675 * src/hildon-bread-crumb.h
8677 New HildonBreadCrumbTrail widget.
8679 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8681 * src/hildon-range-editor.c (hildon_range_editor_init),
8682 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8683 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8684 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8685 hildon_time_editor_class_init, hildon_time_editor_init),
8686 src/hildon-get-password-dialog.c (invalid_input,
8687 hildon_get_password_set_property, hildon_get_password_get_property,
8688 create_contents, hildon_get_password_dialog_set_max_characters),
8689 src/hildon-set-password-dialog.c (create_contents),
8690 src/hildon-date-editor.c (hildon_date_editor_init),
8691 src/hildon-login-dialog.c (hildon_login_dialog_init),
8692 src/hildon-number-editor.c (hildon_number_editor_init),
8693 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8694 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8695 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8696 configure option and adding the respective checks in the code.
8697 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8698 hildon_calendar_drag_data_received): fixed some build warnings.
8700 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8702 * debian/changelog: A 1.0.0 release notes.