1 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: post release version bump
6 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
16 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
18 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
19 to ensure the banner contents are centered, instead of relying on
20 the expand and fill properties in GtkHBox.
21 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
23 Fixes: NB#108265 (Animation banner not properly centered)
25 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
27 * hildon/hildon-pannable-area.c
28 (hildon_pannable_area_initial_effect): Remove the initial_effect
29 management, check initial_hint
30 (hildon_pannable_are_expose_event): Remove the initial_hint management,
31 set initial_effect to FALSE
32 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
33 by launching the fade_timeout if the scrollbars state has changed and are
35 * examples/hildon-pannable-area-initial-hint-example.c
36 Modified to allow to remove rows too. Add and remove rows one by one.
38 2009-05-28 Alberto Garcia <agarcia@igalia.com>
40 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
41 Don't close the menu if there's an animation actor below it.
43 Fixes: NB#117927 (Application menu not usable with animation
46 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
48 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
49 "focus-on-click" from the dialog button, to avoid stealing the
52 Fixes: NB#118903 (Account setup wizard: Text in Search field
53 should be focused when "Region" touch list picker is reopened
56 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
58 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
59 (prepare_action_area): Completely hide the dialog separator.
61 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
63 * hildon/hildon-touch-selector-entry.c
64 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
65 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
66 now that the entry is exposed.
68 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
70 * hildon/hildon-touch-selector-entry.c
71 (hildon_touch_selector_entry_init): Change the entry's size
72 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
74 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
77 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
78 avoid unnecessary scaling.
80 2009-05-27 Alberto Garcia <agarcia@igalia.com>
82 * hildon/hildon-app-menu.c (hildon_app_menu_map):
83 Create grab transfer window before calling parent's map function.
85 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
86 "crushed" button(s) in the top left corner)
88 2009-05-26 Alberto Garcia <agarcia@igalia.com>
90 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
91 Check if the window is already realized when pushing it.
93 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
95 * configure.ac: post release version bump
96 * debian/changelog: post release version bump
98 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
103 * configure.ac: Bump version.
104 * debian/changelog: Updates.
106 2009-05-25 Alberto Garcia <agarcia@igalia.com>
108 * hildon/hildon-app-menu.c: Doc updates.
110 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-banner.c: Remove leftover macro.
114 2009-05-25 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-pannable-area.c,
117 (hildon_pannable_area_scroll_indicator_fade),
118 (hildon_pannable_area_button_release_cb): Reviewed vmin
119 conditions, it could cause problems in the fadeout procedure.
121 2009-05-25 Alejandro G. Castro <alex@igalia.com>
123 * hildon/hildon-pannable-area.c
124 (hildon_pannable_area_button_release_cb): Added a threshold to
125 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
127 2009-05-25 Alejandro G. Castro <alex@igalia.com>
129 * hildon/hildon-pannable-area.c,
130 (hildon_pannable_area_set_property): Added code to sync the gtk
131 dnd threshold with the panning threshold.
133 2009-05-25 Alejandro G. Castro <alex@igalia.com>
135 * hildon/hildon-pannable-area.c,
136 (hildon_pannable_area_class_init): Changed some of the default
137 values, now it should be less responsive and more accurate.
139 2009-05-25 Alejandro G. Castro <alex@igalia.com>
141 * hildon/hildon-pannable-area.c,
142 (hildon_pannable_area_init),
143 (hildon_pannable_area_scroll_indicator_fade),
144 (hildon_pannable_area_button_press_cb),
145 (hildon_pannable_axis_scroll),
146 (hildon_pannable_area_timeout),
147 (hildon_pannable_area_motion_notify_cb),
148 (hildon_pannable_area_button_release_cb): Changed the name of the
149 clicked attribute to button_pressed, it is more clear about its use.
151 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
153 * src/hildon-pannable-area.c
154 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
156 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
157 vertical scrollbar visibility, and use the data on private section instead,
158 remove the initial_hint check
159 (hildon_pannable_area_expose_event): add the initial_hint check here
161 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
163 * src/hildon-pannable-area.c
164 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
165 if the fadeout effect was used
166 (hildon_pannable_area_expose_event): check if it is required to
167 manage the initial effect on the begining of the function. Previously
168 it was made at the end, but this doesn't ensure that the scrollbars
169 will be painted on the first show. Do not set to FALSE initial_effect,
170 to ensure that the initial hint is showed the first time the pannable
172 * examples/Makefile.am
173 * examples/hildon-pannable-area-initial-hint-example.c:
174 New example, to show that the initial-hint is showed when the widget
177 Fixes: NB#116607 (Pannable area should always have scrollbar visible
178 initially if the application can be scrolled)
180 2009-05-25 Alberto Garcia <agarcia@igalia.com>
182 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
183 Resize table before adding new items to make sure that
184 gtk_table_resize() is called just once.
186 2009-05-25 Alberto Garcia <agarcia@igalia.com>
188 * hildon/hildon-app-menu-private.h
189 * hildon/hildon-app-menu.c (item_visibility_changed)
190 (filter_visibility_changed, hildon_app_menu_show_all)
191 (hildon_app_menu_hide_all, hildon_app_menu_init):
192 Rearrange items just once when gtk_widget_show_all()/hide_all()
195 2009-05-25 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-app-menu.c
198 (hildon_app_menu_insert, hildon_app_menu_add_filter):
199 Don't call gtk_widget_show() on added items.
201 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
202 automatically when they're added)
204 2009-05-20 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-banner.c
207 (hildon_banner_realize, +hildon_banner_unrealize)
208 (+screen_size_changed, hildon_banner_class_init):
209 Redisplay the banner if the screen is rotated.
211 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
212 on transition from landscape to portrait)
214 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
216 * hildon/hildon-banner.[ch]:
217 (hildon_banner_show_information_override_dnd): remove icon_name from the
218 method definition as it is ignored.
219 * examples/hildon-banner-dnd-example.c: updated with the change on
222 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
224 * hildon/hildon-banner-private.h: new require_override_dnd and
225 overrides_dnd variables
226 * hildon/hildon-banner.h:
227 (hildon_banner_show_information_override_dnd): new method, that shows
228 the information but sets the override flag, in order to show important
230 * hildon/hildon-banner.c
231 (hildon_banner_show_information_override_dnd): new method
232 (hildon_banner_set_override_flag): new utility function
233 (hildon_banner_real_show_information): new utility function, in order to
234 generalize the current hildon_banner_show_information_override_dnd and
235 hildon_banner_show_information_override_dnd
236 * examples/Makefile.am
237 * examples/hildon-banner-dnd-example.c: New example that show how to
238 use the new hildon_banner_show_information_override_dnd
240 Fixes: NB#114874 (There is no possibility to show hildon banners with
243 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-pannable-area.c: Add a comment explaining the math
246 behind hildon_pannable_calculate_vel_factor().
248 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
250 * hildon/hildon-pannable-area.c
251 (hildon_pannable_calculate_vel_factor): Correct the sum of the
252 deceleration factors.
254 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
256 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
257 Reduce the default value for 'scroll_time' to 1 second, since the
258 current initial scrolling takes too much time.
260 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
262 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
263 calculate velocity factor during initialization, since the properties
266 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
268 * hildon/hildon-pannable-area.c
269 (hildon_pannable_area_set_property): Calculate the velocity factor
270 after setting the deceleration property and not after.
272 2009-05-20 Alberto Garcia <agarcia@igalia.com>
274 * hildon/hildon-entry.c
275 (hildon_entry_class_init, +set_property, hildon_entry_new)
276 * hildon/hildon-check-button.c
277 (hildon_check_button_class_init)
278 (+set_property, hildon_check_button_new):
279 Make the theme size a property.
281 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
282 others) do too much in the _new function)
284 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
286 * configure.ac: post release version bump
287 * debian/changelog: post release version bump
289 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
294 * configure.ac: Bump version.
295 * debian/changelog: Updates.
297 2009-05-15 Alberto Garcia <agarcia@igalia.com>
299 * hildon/hildon-gtk.h
300 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
301 New API function to take a screenshot of a window
303 Fixes: NB#106374 (Need API to take a loading screenshot)
305 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
307 * hildon/hildon-time-selector.c
308 (update_format_policy): prevent to use hours and minutes unitialized
310 2009-05-15 Alberto Garcia <agarcia@igalia.com>
312 * hildon/hildon-window.c (hildon_window_size_request):
313 Always request the full size of the screen (minus the title bar if
314 not in fullscreen mode).
316 Fixes: NB#107486 (HildonWindow should size itself properly)
318 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
320 * hildon/hildon-note-private.h: Add idle_handler to the private data.
321 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
322 (on_show_cb), (sound_handling): Disconnect the idle handler for
323 the sound when the note is finalized to avoid possible crashes.
325 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
328 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
330 * src/hildon-animation-actor.c,
331 * src/hildon-remote-texture.c:
332 Added proper object cleanup to remove signal handler and object
333 references as HildonAnimationActor and HildonRemoteTexture
334 objects get destroyed.
336 Fixes: NB#116682 (Destroying parented animation actors when
337 parent in unmapped leads to crash)
339 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
341 Based on a patch by Christian Dywan (christian@imendio.com)
343 * doc/hildon-sections.txt:
344 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
345 * hildon/hildon-helper.h: New file size formatting method.
347 * debian/control: Depend on osso-filemanager l10n package for
348 proper localization strings.
350 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
352 * tests/Makefile.am: Include top_srcdir to make possible to build
353 tests in a different builddir.
354 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
355 on a different builddir.
357 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
359 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
360 (hildon_touch_selector_remove): Disconnect model's signal handler
363 Fixes: NB#116289 (Hildon home crashes while adding task
366 2009-05-11 Alberto Garcia <agarcia@igalia.com>
368 * hildon/hildon-button.c
369 (hildon_button_set_title, hildon_button_set_value):
370 Hide labels containing an empty string.
372 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
374 * configure.ac: post release version bump
375 * debian/changelog: post release version bump
377 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
382 * configure.ac: Bump version.
383 * debian/changelog: Updates.
385 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
387 * hildon/hildon-note-private.h: Removed sound_signal_handler
388 * hildon/hildon-note.c
389 (on_show_cb): new callback on note "show" event, this simply adds
390 a idle, with the function sound_handling
391 (sound_handling): removed the sound_signal_handler management
392 (hildon_note_init): connect note "show" event to on_show_cb
393 (hildon_note_realize): remove the connection to "expose-event"
395 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
396 device?' confirmation note)
398 2009-05-08 Alberto Garcia <agarcia@igalia.com>
400 * hildon/hildon-note.c
401 (hildon_note_new_information_with_icon_name)
402 (hildon_note_new_confirmation_with_icon_name):
403 Terminate the list of parameters in g_object_set() calls
405 Fixes: NB#115166 (Formatting memory card is not taking place)
407 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
409 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
410 "dialog-information" role for the sound being played.
412 2009-05-06 Alberto Garcia <agarcia@igalia.com>
414 * hildon/hildon-app-menu.c (hildon_app_menu_init):
415 Don't make the menu a modal window, it causes strange interactions
416 with the pointer grab and it's not really needed.
418 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
420 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
422 * hildon/hildon-touch-selector.[ch]
423 (hildon_touch_selector_optimal_size_request): function added to get a
424 optimal size request from the touch selector, when you want a dialog to
425 show as much of the selector
426 * hildon/hildon-picker-dialog.c:
427 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
428 (hildon_app_menu_class_init):
429 New "max-height-landscape" and "max-height-portrait" style properties
430 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
431 (hildon_picker_dialog_get_max_height): returns the maximum height using
432 the style properties defined and checking the current portrait/landscape
434 (_hildon_picker_dialog_set_selector): removed the set_size_request
436 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
438 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
440 * hildon/hildon-bread-crumb-trail.c:
441 * hildon/hildon-bread-crumb.c:
442 * hildon/hildon-seekbar.c:
443 Add reference to replacements for these deprecated widgets.
445 Fixes: MB#4461 (Documentation: All deprecations should mention
448 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
450 * examples/hildon-remote-texture-example.c
452 Change the include to the hildon-remote-texture in order to compile
453 properly the examples on the installed libhildon1-examples package
455 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
457 * tests/Makefile.am: Add check for HildonPickerButton.
458 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
459 (START_TEST), (create_hildon_picker_button_suite): Add three simple
460 checks for the HildonPickerButton.
461 * tests/check_test.c (configure_tests): Add the test suite.
462 * tests/test_suites.h: likewise.
464 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
466 * hildon/hildon-touch-selector.c
467 (+on_row_changed): Emit HildonTouchSelector:changed when the
468 contents of a selected row change.
469 (_create_new_column), (_hildon_touch_selector_set_model): connect
470 to GtkTreeModel:row-changed on a newly set model.
472 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
474 2009-05-05 Alberto Garcia <agarcia@igalia.com>
476 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
478 * hildon/hildon-banner.c (hildon_banner_destroy)
479 (hildon_banner_show_progress, hildon_banner_set_fraction):
480 Remove the progress bar from HildonBanner and use a progress
483 Fixes: NB#113761 (Update progress banner to use progress
486 2009-05-04 Alberto Garcia <agarcia@igalia.com>
488 * hildon/hildon-banner.c:
489 Calculate size of the banner label using the actual screen width
490 rather than using a fixed value.
492 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
495 2009-05-04 Alejandro G. Castro <alex@igalia.com>
497 * hildon/hildon-pannable-area.c,
498 (hildon_pannable_area_class_init): Fixed signals documentation
501 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
503 * configure.ac: post release version bump
504 * debian/changelog: post release version bump
506 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: Bump version.
512 * debian/changelog: Updates.
514 2009-05-01 Alberto Garcia <agarcia@igalia.com>
516 * hildon/hildon-edit-toolbar.c
517 (hildon_edit_toolbar_init):
518 Don't let buttons in HildonEditToolbar receive focus.
520 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
521 typing on an HW arrows key)
523 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
525 * doc/Makefile.am: Fix build.
527 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
529 * doc/Makefile.am: Do not redefine content_files.
531 2009-04-30 Alberto Garcia <agarcia@igalia.com>
539 Renamed src/ to hildon/
544 Include <hildon/hildon.h> directly in all examples.
546 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
548 * src/hildon-sort-dialog.c
549 (hildon_sort_dialog_add_sort_key_with_sorting)
553 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
555 * src/Makefile.am: Move generated sources to CLEANFILES, so that
556 make distcheck passes.
558 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
560 * Makefile.am: Enable gtk-doc during distcheck.
562 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
564 * Makefile.am: Do not distribute the debian/ directory.
566 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
568 * doc/Makefile.am: Add the extra SGML files to content_files,
569 so that they are distributed properly.
571 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
573 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
576 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
578 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
579 (hildon_note_new_information_with_icon_name): Set the "icon" property
580 to preserve soundness.
582 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-font-selection-dialog.c
585 (hildon_font_selection_dialog_set_property): Fail when the "family"
586 property is set to NULL.
588 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
590 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
593 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
595 * src/hildon-time-selector.h:
596 Added HildonTimeSelectorFormatPolicy
597 * src/hildon-time-selector.c:
598 Added PROP_TIME_FORMAT_POLICY
599 (_check_ampm_format): renamed to check_automatic_ampm_format
600 (update_format_policy), (update_format_dependant_columns): new functions
601 (hildon_time_selector_class_init)
602 (hildon_time_selector_contructor)
603 (hildon_time_selector_init)
604 (hildon_time_selector_get_property)
605 (hildon_time_selector_set_property)
606 (hildon_time_selector_get_time)
607 (hildon_time_selector_set_time)
608 * src/hildon-touch-selector.h: new file
609 * src/hildon-touch-selector.c
610 (hildon_touch_selector_emit_changed)
611 (hildon_touch_selector_block_changed)
612 (hildon_touch_selector_unblock_changed)
613 Added functions to allow to block the emission of the "changed" signal
614 * src/hildon-picker-dialog.c
615 (hildon_picker_dialog_show): call the parent show before the custom code
616 * examples/hildon-time-button-example.c
617 Modified, so now you can configure the time format using the new property
619 Added a new property "time-format-policy" that allow to choose the time
620 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
621 case it uses gconf in order to check if the time selector must use
624 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
627 2009-04-28 Alberto Garcia <agarcia@igalia.com>
629 * src/hildon-note.c (hildon_note_init):
630 Label in HildonNote must be left aligned, not centered. This
631 reverts the last commit in HildonNote.
633 Fixes: NB#112933 (text is not left aligned in confirmation dialog
634 is connectivity dialog)
636 2009-04-27 Alberto Garcia <agarcia@igalia.com>
641 * doc/hildon-sections.txt:
642 Added hildon_gtk_window_set_do_not_disturb()
644 2009-04-27 Alberto Garcia <agarcia@igalia.com>
646 * src/hildon-note.c (hildon_note_init): Center label.
648 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
651 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
656 * configure.ac: Bump version.
657 * debian/changelog: Updates.
659 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
661 * src/hildon-note-private.h: Add button-width to the private data.
662 * src/hildon-note.c (+resize_button),
663 (+hildon_note_orientation_update): methods to repack widgets on orientation
665 (screen_size_changed): Call above method for confirmation notes.
666 (hildon_note_realize): Always connect to the "screen-size" changed signal.
667 (hildon_note_rebuild): Store the original width request from buttons.
669 Fixes: NB#109635 (Confirmation notes do not support portrait)
671 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
674 when it is a progress note.
676 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
678 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
679 in the note, since there are no horizontally arranged contents.
681 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
683 * src/hildon-gtk.c (+set_flag): new generic method to
684 set/delay a flag setting in a window.
685 (hildon_gtk_window_set_progress_indicator):
686 (hildon_gtk_window_set_do_not_disturb),
687 (hildon_gtk_window_set_portrait_flags): use set_flag() to
688 avoid code redundance.
690 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
692 Based on a patch by Alberto Garcia (agarcia@igalia.com)
694 * src/hildon-gtk.c (set_clear_window_flag),
695 (do_set_progress_indicator), (do_set_do_not_disturb),
696 (do_set_portrait_flags),
697 (hildon_gtk_window_set_progress_indicator),
698 (hildon_gtk_window_set_do_not_disturb),
699 (hildon_gtk_window_set_portrait_flags):
700 Allow setting dnd-flag, progress indicator, and portrait flags
701 when the window is not realized.
703 2009-04-24 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 * src/hildon-pannable-area.h: Add the hildon deprecated define to
707 the size request policy function and defines.
709 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
711 * doc/hildon-sections.txt: Add the new API.
712 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
713 method to set the portrait flags.
714 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
716 Fixes: NB#112328 (Adding helpers for setting portrait properties)
718 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
720 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
721 to allow using this method with other flags.
722 (hildon_gtk_window_set_progress_indicator): Update accordingly.
723 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
725 2009-04-22 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-touch-selector.c
728 (hildon_touch_selector_append_text_column):
729 Make the cell renderer use the smallest width possible.
731 Fixes: NB#108470 (Selected items in multiple selection are either
732 having a tick that is cut or not visible at all.)
734 2009-04-22 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-touch-selector.c
737 (hildon_touch_selector_append_text_column):
740 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
742 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
743 Use g_strdup_printf() instead of a fixed size buffer.
745 2009-04-21 Alberto Garcia <agarcia@igalia.com>
747 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
748 Close banners when a HildonAppMenu is popped up.
750 Fixes: NB#111027 (Title menu closed immediately if activated when
751 "Invalid e-mail address" banner is shown)
753 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
758 * configure.ac: Bump version.
759 * debian/changelog: Updates.
761 2009-04-20 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-banner.c (hildon_banner_realize):
764 Mark HildonBanner as supporting portrait mode.
765 Use GDK to set window properties insetad of direct Xlib calls.
767 Fixes: NB#111830 (HildonBanner should be marked as supporting
770 2009-04-20 Alberto Garcia <agarcia@igalia.com>
772 * src/hildon-note.c (hildon_note_rebuild):
773 Hide action area in information notes. Prevents text from being
774 slightly aligned to the left.
776 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
779 2009-04-20 Alberto Garcia <agarcia@igalia.com>
781 Patch by Mox Soini (ext-mox.soini@nokia.com)
783 * src/hildon-banner.c (hildon_banner_create_animation):
784 Use stylus-sized icons in animation banner.
786 Fixes: NB#111206 (stylus sized icon for animation banner)
788 2009-04-20 Alberto Garcia <agarcia@igalia.com>
792 (+hildon_gtk_window_set_do_not_disturb):
793 New API to set the do-not-disturb flag.
795 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
797 2009-04-20 Alberto Garcia <agarcia@igalia.com>
799 * examples/hildon-progress-indicator-example.c: Fix example
801 * src/hildon-gtk.c (set_clear_window_flag)
802 (hildon_gtk_window_set_progress_indicator):
803 Create a generic function for setting flags to a window.
804 Use GDK instead of direct Xlib calls.
806 2009-04-14 Alberto Garcia <agarcia@igalia.com>
808 * src/hildon-button.c (hildon_button_set_arrangement):
809 Due to NB#88126, if one of the labels is too long it will be
810 painted outside the button. The 'value' label is more likely to be
811 the longest one, so we change its packing options in order to
812 truncate it if necessary. As a side effect, the 'title' label will
813 no longer be truncated.
815 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
817 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
822 * configure.ac: Bump version.
823 * debian/changelog: Updates.
825 2009-04-13 Alejandro G. Castro <alex@igalia.com>
827 Deprecation of the hildon_pannable_area_set_size_request_policy
828 API, the only policy properly supported in gtk+ nowadays is the
831 * src/hildon-pannable-area.c,
832 (hildon_pannable_area_size_request): Added a workaround for the
833 size_request to avoid the problems of huge pixmaps in case someone
834 is still using the function.
835 * src/hildon-pannable-area.h: Deprecated the enum with the
838 Fixes: NB#110244 (Problems with the
839 hildon_pannable_area_set_size_request_policy API)
841 2009-04-08 Alejandro G. Castro <alex@igalia.com>
843 * src/hildon-pannable-area.c,
844 (hildon_pannable_area_init),
845 (hildon_pannable_area_size_request),
846 (hildon_pannable_area_style_set),
847 (hildon_pannable_draw_vscroll),
848 (hildon_pannable_draw_hscroll),
849 (hildon_pannable_area_check_scrollbars): Replaced area_width with
850 indicator_width to clarify the use of the attribute.
852 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
857 * configure.ac: Bump version.
858 * debian/changelog: Updates.
860 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
862 * src/hildon-picker-dialog.c
863 * src/hildon-touch-selector.c
864 Reverting the change that tried to avoid the hardcoded height on
865 the picker dialog, as causes problems on the hildon-touch-selector
868 Fixes: NB#110029 (selectors not scrolling to selected value)
870 2009-04-07 Alberto Garcia <agarcia@igalia.com>
872 * src/hildon-touch-selector.c: Fix typos
874 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
877 Use the event coordinates instead of gdk_window_get_pointer(). Also,
878 request more motions after using it.
880 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
882 * src/hildon-calendar.c (hildon_calendar_expose),
883 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
884 Remove unused variables.
886 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
888 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
891 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
894 Check the return value of gtk_tree_selection_get_selected()
897 2009-04-06 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-animation-actor.c
900 * src/hildon-button.c
902 * src/hildon-pannable-area.c
903 * src/hildon-picker-button.c
904 * src/hildon-program.c
905 * src/hildon-remote-texture.c
906 * src/hildon-text-view.c
907 * src/hildon-touch-selector.c
908 * src/hildon-window-stack.c
909 * src/hildon-window.c:
910 Add missing 'Since: 2.2' tags.
912 * doc/hildon-sections.txt:
913 Add some missing symbols.
915 * doc/hildon-docs.sgml:
916 New 'Other' section for HildonAnimationActor and
919 2009-04-06 Alberto Garcia <agarcia@igalia.com>
921 Patch by Iván Gómez (igomez@igalia.com)
925 * doc/hildon-docs.sgml
926 * doc/hildon-sections.txt
930 New chapters on using the Hildon library.
931 Updated the general structure of the reference manual.
932 Other minor documentation fixes.
934 * src/hildon-calendar-popup.c
935 * src/hildon-calendar.c
936 * src/hildon-controlbar.c
937 * src/hildon-date-editor.c
938 * src/hildon-dialog.c
939 * src/hildon-hvolumebar.c
940 * src/hildon-number-editor.c
941 * src/hildon-range-editor.c
942 * src/hildon-sort-dialog.c
943 * src/hildon-time-editor.c
944 * src/hildon-time-picker.c
945 * src/hildon-volumebar-range.c
946 * src/hildon-volumebar.c
947 * src/hildon-vvolumebar.c
948 * src/hildon-weekday-picker.c:
949 Add deprecation notes
951 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
952 Document 'horizontal-movement' and 'vertical-movement' signals.
954 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
959 * configure.ac: Bump version.
960 * debian/changelog: Updates.
962 2009-04-06 Alejandro G. Castro <alex@igalia.com>
964 * src/hildon-pannable-area.c,
965 (hildon_pannable_area_class_init): increased the minimum velocity.
966 (hildon_pannable_area_button_release_cb): Updated the
967 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
968 setup. Review the code to control that last event.
970 Fixes: NB#109790 (Releasing finger in pannable area easily causes
973 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
975 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
977 * src/hildon-get-password-dialog.c
978 (hildon_get_password_set_property),
979 (hildon_get_password_get_property), (create_contents):
980 * src/hildon-login-dialog-private.h:
981 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
982 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
983 (hildon_login_dialog_get_password):
984 * src/hildon-set-password-dialog-private.h:
985 * src/hildon-set-password-dialog.c
986 (hildon_set_password_set_property),
987 (hildon_set_password_get_property), (create_contents),
988 (hildon_set_password_response_change),
989 (hildon_set_password_response_set), (hildon_checkbox_toggled):
991 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
992 instead and look more Fremantle style.
994 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
996 2009-04-03 Alberto Garcia <agarcia@igalia.com>
998 * doc/hildon-sections.txt
999 * src/hildon-window-stack.h
1000 * src/hildon-window-stack.c
1001 (+hildon_window_stack_get_windows):
1002 New API to obtain the list of windows on a stack.
1004 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-app-menu.c (hildon_app_menu_popup)
1007 (hildon_app_menu_class_init, -hildon_app_menu_show):
1008 Remove hildon_app_menu_show() and move all its checks to
1009 hildon_app_menu_popup()
1011 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1014 (_hildon_picker_dialog_set_selector): removed call to
1015 gtk_widget_set_size_request
1016 * src/hildon-touch-selector.c
1017 (_create_new_column): change the pannable size request policy
1019 Avoid to use a hardcoded height for the hildon picker dialog. In order
1020 to get that, we needed to change the hildon pannable size request
1022 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1024 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1027 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1030 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1032 * debian/control: Depend on osso-system-lock localization package.
1033 * src/hildon-code-dialog.c: Obtain the secu_application_title
1034 translation from osso-system-lock.
1035 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1036 for translation the atk related strings, that's not necessary.
1037 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1038 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1039 cancel button, it is not required.
1041 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1043 * src/hildon-pannable-area.c,
1044 (hildon_pannable_area_class_init): Modified the default value of
1045 the overshooting max speed, we have reduced it.
1047 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1049 * doc/hildon-sections.txt
1050 * src/hildon-window-private.h
1051 * src/hildon-window.h
1052 * src/hildon-window.c (hildon_window_class_init)
1053 (hildon_window_init, hildon_window_finalize)
1054 (hildon_window_realize, hildon_window_get_property)
1055 (hildon_window_set_property, hildon_window_update_markup)
1056 (hildon_window_get_markup, hildon_window_set_markup):
1057 New "markup" property and hildon_window_{get,set}_markup() methods.
1059 * examples/hildon-stackable-window-example.c (new_window):
1060 Update example to use hildon_window_set_markup()
1062 Fixes: NB#106375 (Need API to retitle a window with a title
1065 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1067 * src/hildon-pannable-area.c,
1068 (hildon_pannable_area_class_init): Changed the default value of
1069 the initial_hint to TRUE.
1070 (hildon_pannable_area_initial_effect): Changed the initial effect,
1071 not the effect is just the fade-out of the scrollbars.
1073 Fixes: NB#107775 (No scrollbars can be seen when several items are
1074 available in a dialog)
1076 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-program.c (hildon_program_update_top_most):
1081 Fixes: NB#109179 (Memory leak in Hildon program)
1083 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-banner.c (-get_current_app_window):
1086 Remove unused function.
1088 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1090 * src/hildon-pannable-area.c: Modified the documentation of the
1091 get adjustments functions to explain the problem of using the
1092 adjustment directly.
1093 (hildon_pannable_area_class_init): Improved the explanation about
1096 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1098 * src/hildon-app-menu-private.h
1099 * src/hildon-app-menu.c
1100 (hildon_app_menu_class_init):
1101 Bring back the 'external-border' style property
1102 (hildon_app_menu_class_init, hildon_app_menu_init)
1103 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1104 Set a fixed width-request for the menu, independent of the number
1107 Fixes: NB#94957 (Smoothly opened application menu)
1109 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1113 * src/hildon-banner.c
1114 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1116 Make sure that the banner is correctly placed the first time it's
1118 (hildon_banner_check_position, -check_fullscreen_state):
1119 Show the banner in the same place no matter if the window is in
1120 fullscreen mode or not.
1122 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1124 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1126 * src/hildon-touch-selector.c (_default_print_func): reorder
1127 concatenation for clarity.
1129 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1132 for multicolumn selectors.
1134 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1136 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1141 * configure.ac: Bump version.
1142 * debian/changelog: Updates.
1144 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1146 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1149 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1151 * configure.ac: removed libcangerra-gtk dependency
1152 * debian/control: removed libcanberra-gtk dependency
1153 * src/Makefile.am: removed libcanberra gtk related flags
1154 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1155 context, and manage a global canberra context instead
1157 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1159 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1161 Patch by Daniel Borgmann (danielb@openismus.com)
1163 * src/hildon-edit-toolbar.c:
1164 Adjust the left padding.
1165 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1166 Paint background of the edit toolbar.
1168 Fixes: NB#107897 (Patch to make editmodetoolbar background
1169 themeable and adjust margin)
1171 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1173 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1175 * src/hildon-program.c (hildon_program_update_top_most):
1176 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1178 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1179 change when the user tasks in/out of an application)
1181 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1183 * configure.ac: added libcangerra-gtk dependency
1184 * debian/control: added libcanberra-gtk dependency
1185 * src/Makefile.am: added libcanberra gtk related flags
1186 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1189 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1191 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1193 * src/hildon-program.c (hildon_program_remove_window)
1194 (hildon_program_add_window): Add checks for the window
1195 parameter. Don't decrease the window counter if the window is not
1198 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1200 * src/hildon-pannable-area.c,
1201 (hildon_pannable_area_realize): Fixed position of the event_window
1202 in the realize method.
1204 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1206 * src/hildon-app-menu-private.h
1207 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1208 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1209 (hildon_app_menu_key_press, hildon_app_menu_init)
1210 (hildon_app_menu_finalize):
1211 Make sure that all idle functions are removed when the widget is
1214 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1216 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1221 * configure.ac: Bump version.
1222 * debian/changelog: Updates.
1224 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1226 * src/hildon-entry.c
1227 (+hildon_entry_show_placeholder),
1228 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1229 that replace hildon_entry_update_contents().
1230 (hildon_entry_set_text),
1231 (hildon_entry_set_placeholder),
1232 (hildon_entry_focus_in_event),
1233 (hildon_entry_focus_out_event): Determine when it is needed
1234 either to show or hide the placeholder and call the above methods.
1236 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1237 when the placeholder text is already set)
1239 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1241 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1242 simple GdkPixbufAnim using the new icons for the banner.
1243 (hildon_banner_show_animation): Use the above mentioned method to
1244 create the animation widget.
1246 Fixes: NB#103564 (Make hildon animation banner use individual
1247 image files as the animation)
1249 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1251 * src/hildon-pannable-area.c,
1252 (hildon_pannable_leave_notify_event): Check if the child is NULL
1253 to avoid sending the leave.
1255 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1257 * src/hildon-pannable-area.c,
1258 (hildon_pannable_area_class_init),
1259 (hildon_pannable_leave_notify_event): Added a handler of the
1260 leave-notify-signal to consider when no motion notify before
1263 Fixes: NB#107494 (Items stay selected when clicking and moving
1264 away when inside pannable area)
1266 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1271 * configure.ac: Bump version.
1272 * debian/changelog: Updates.
1274 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1276 Patch by Alberto Garcia (agarcia@igalia.com)
1278 * src/hildon-date-button.c,
1279 (hildon_date_button_class_init),
1280 (hildon_date_button_init): Removed the construct property handling
1281 and created a default selector in the init method.
1282 * src/hildon-picker-button.c,
1283 (hildon_picker_button_class_init): Removed the construct flag of the
1286 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-main.c (hildon_init):
1289 Don't allow hildon_init() to be called more than once.
1291 Fixes: NB#106607 (hildon_init should issue error message upon
1294 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1296 * examples/hildon-pannable-area-touch-list-example.c
1297 * examples/hildon-pannagle-area-touch-grid-example.c
1298 * examples/hildon-edit-toolbar-example.c
1299 * examples/hildon-touch-selector-multi-cells-example.c
1300 Removed the call to gtk_rc_parse_string, as it is not required since
1303 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1305 * src/hildon-pannable-area.c,
1306 (hildon_pannable_area_class_init): Modified the default panning
1307 threshold of the widget to 6px.
1309 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1310 than the threshold value ) within the button is not sending the
1313 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1316 for the treeview in the new column. This way, the touch list will never
1319 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1320 be selected manually for the HW keys to work)
1322 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1325 comparison instead of using strcmp(). Fixes a compiler warning as well.
1327 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1329 * doc/hildon-docs.sgml: Do not set the library version in the
1330 document title, use the releaseinfo tag for that purpose instead.
1332 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1334 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1335 Do not jump to the first item if the text in the entry is removed.
1337 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1342 * configure.ac: Bump version.
1343 * debian/changelog: Updates.
1345 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-entry.c (hildon_entry_refresh_contents):
1348 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1349 Use "ReversedSecondaryTextColor" for the placeholder text.
1351 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-text-view.c: Fix compilation warning.
1355 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1357 * src/hildon-button.c (hildon_button_class_init): Don't make
1358 "title" and "value" construction properties, to prevent them from
1359 overwriting labels set from derived classes.
1361 * src/hildon-picker-button.c
1362 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1363 (hildon_picker_button_class_init): Make touch-selector a
1364 construction property.
1366 * src/hildon-date-button.c (hildon_date_button_class_init)
1367 (+hildon_date_button_constructed): Add a default date selector if
1370 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1372 * src/hildon-touch-selector.c: Small documentation fixes.
1374 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1376 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1378 * src/hildon-entry.c (hildon_entry_refresh_contents),
1379 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1380 widget name, set the logical color directly instead and a boolean
1381 showing_placeholder instead.
1382 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1383 use the widget name here either.
1385 Fixes: NB#105678 (HildonTextView should use logical colours
1386 instead of setting widget name)
1388 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1390 Patch by Daniel Elster (danielk@openismus.com)
1392 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1393 Add user_data parameter.
1394 (hildon_touch_selector_set_print_func_full): New function akin
1395 hildon_touch_selector_set_print_func() but with support for user
1396 data and a destroy callback.
1397 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1398 to clean up the print function user data.
1399 (hildon_touch_selector_class_init): Install dispose function.
1400 (HildonTouchSelectorPrivate::print_user_data),
1401 (HildonTouchSelectorPrivate::print_destroy_func): New private
1403 (hildon_touch_selector_init): Initialize new private members.
1404 (hildon_touch_selector_get_current_text): Pass along user data
1405 to the print function.
1406 (_default_print_func): Add dummy user_data to parameter list.
1407 * hildon-date-selector.c (_custom_print_func): ditto,
1408 * hildon-time-selector.c (_custom_print_func): ditto,
1409 * hildon-touch-selector-entry.c
1410 (hildon_touch_selector_entry_print_func): ditto.
1412 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1414 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1416 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1418 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1420 * src/hildon-pannable-area.c,
1421 (hildon_pannable_area_init),
1422 (hildon_pannable_area_button_press_cb),
1423 (hildon_pannable_area_motion_notify_cb): We have added code to
1424 handle the leave and enter events when using the motion events.
1426 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1428 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-date-button.c (hildon_date_button_get_date)
1431 (hildon_date_button_set_date): Make sure that the button has a
1434 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1436 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_class_init),
1440 (hildon_pannable_area_calculate_velocity): Modify the use of the
1441 force and adapt the value.
1443 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1446 (hildon_app_menu_class_init): Hide the menu if it receives a
1447 delete-event, but don't destroy it
1449 Fixes: NB#104485 (Not able to address the call when application
1450 menu is opened at background)
1452 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-app-menu.c
1455 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1456 Remove the "external-border" style property, let the menu take its
1457 natural size (or the one set by the window manager)
1458 (hildon_app_menu_repack_items):
1459 Don't reshow the menu, avoid flickers.
1461 Partially fixes NB#94957 (Smoothly opened application menu)
1463 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: Bump version.
1469 * debian/changelog: Updates.
1471 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1473 * src/hildon-pannable-area.c,
1474 (hildon_pannable_area_motion_notify_cb): We control that the
1475 direction error margin is used just in case the movement is
1476 allowed in the other direction.
1478 Fixes: NB#105012 (buttons inside a pannable area not getting
1479 release event when dragging/releasing)
1481 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1483 * src/hildon-pannable-area.c,
1484 (hildon_pannable_area_class_init),
1485 (hildon_pannable_area_get_property),
1486 (hildon_pannable_area_set_property),
1487 (hildon_pannable_area_initial_effect),
1488 (hildon_pannable_axis_scroll),
1489 (hildon_pannable_area_button_release_cb): Reviewed the
1490 overshooting effect, now it has its own max
1491 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1492 speed when bouncing.
1494 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1499 * configure.ac: Bump version.
1500 * debian/changelog: Updates.
1502 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-pannable-area.c,
1505 (hildon_pannable_area_class_init): Changed the max speed, now
1506 users can launch the widget very fast. Reduced the default force,
1507 that way it is easier to control the launch speed.
1509 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1511 * src/hildon-pannable-area.c,
1512 (hildon_pannable_area_button_release_cb): Removed this check
1513 because it causes problems when the device is overloaded.
1515 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1518 add a current_text field to store the text entered in the
1519 touch selector entry.
1520 (_clean_current_selection): clean up the current text as well.
1521 (_save_current_selection), (_restore_current_selection):
1522 Save/restore the text in the entry if the selector is a
1523 HildonTouchSelectorEntry.
1525 Fixes: NB#102541 (value entered in the touch selector entry is not
1526 shown when opened for second time)
1528 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1530 * doc/hildon-sections.txt:
1531 * src/hildon-touch-selector-entry.c
1532 (+hildon_touch_selector_entry_get_entry):
1533 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1535 Fixes: NB#104815 (I need accessor to the entry inside
1536 HildonTouchSelectorEntry)
1538 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1541 (hildon_app_menu_class_init):
1542 New "filter-vertical-spacing" style property.
1544 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1546 * src/hildon-find-toolbar.c
1547 (hildon_find_toolbar_emit_close)
1548 (hildon_find_toolbar_emit_invalid_input)
1549 (hildon_find_toolbar_entry_activate):
1550 Use g_signal_emit() instead of g_signal_emit_by_name()
1552 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1554 Patch by Mox Soini (ext-mox.soini@nokia.com)
1556 * tests/TEST-CASES.txt
1557 * tests/check-hildon-banner.c
1558 * tests/check-hildon-note.c
1559 * src/hildon-banner.c
1560 * src/hildon-code-dialog.c
1561 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1562 * src/hildon-time-editor.c
1563 * examples/hildon-lookup-example.c (main):
1564 Replace obsolete icon names with new ones.
1566 * src/hildon-find-toolbar-private.h:
1567 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1568 (-hildon_find_toolbar_emit_search):
1569 Remove find button and change icon of close button.
1571 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1573 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-time-button.c (hildon_time_button_new_step):
1576 Use the "touch-selector" property to set the selector directly
1577 when creating the object.
1579 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1581 Added a new example application that allows tuning the pannable
1582 area and replaced defines with properties in order to simplify the
1583 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1584 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1585 PROP_DIRECTION_ERROR_MARGIN.
1587 * examples/hildon-pannable-area-tuning-example.c: New example
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_class_init),
1591 (hildon_pannable_area_init),
1592 (hildon_pannable_area_get_property),
1593 (hildon_pannable_area_set_property),
1594 (hildon_pannable_area_launch_fade_timeout),
1595 (hildon_pannable_area_adjust_value_changed),
1596 (hildon_pannable_axis_scroll),
1597 (hildon_pannable_area_motion_notify_cb),
1598 (hildon_pannable_area_scroll_cb),
1599 (hildon_pannable_area_button_release_cb): We have converted some
1600 of the defines that control the widget to properties to simplify
1603 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-app-menu.c (hildon_app_menu_map)
1606 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1607 so it's closed if a new window appears.
1609 Fixes: NB#104485 (Not able to address the call when application
1610 menu is opened at background)
1612 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1615 missing 'break' statement in in 'case' construct to avoid
1618 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1620 * src/hildon-touch-selector-entry.c
1621 (hildon_touch_selector_entry_get_property),
1622 (hildon_touch_selector_entry_set_property): Add missing 'break'
1623 statements in in 'case' constructs to avoid incorrect warnings.
1625 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-time-editor.c
1628 (hildon_time_editor_get_time_separators): Do not crash if
1629 the first label is NULL.
1631 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1633 * src/hildon-date-selector.c (_month_days): Check for month to be
1634 strictly less than 12, since otherwise we may overrun the array.
1636 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-date-button.c (+hildon_date_button_new_full)
1639 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1640 (hildon_date_button_init): Set the date selector using a
1641 construction property, to make it happen after HildonButton's
1642 "value" property is set.
1644 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1645 current date by default)
1647 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1649 * doc/hildon-sections.txt
1650 * src/hildon-program.c
1651 * src/hildon-stackable-window.c
1652 * src/hildon-window.c:
1653 Documentation updates
1655 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1658 (hildon_window_stack_new, +hildon_window_stack_set_property)
1659 (+hildon_window_stack_get_property)
1660 (hildon_window_stack_class_init)
1661 (+hildon_window_stack_set_window_group)
1662 (+hildon_window_stack_get_window_group):
1663 Make the window group a construction property.
1665 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1667 * doc/hildon-sections.txt
1668 * src/hildon-stackable-window-private.h
1669 * src/hildon-stackable-window.h
1670 * src/hildon-stackable-window.c
1671 (-hildon_stackable_window_set_app_menu)
1672 (-hildon_stackable_window_get_app_menu)
1673 (-hildon_stackable_window_toggle_menu)
1674 (-hildon_stackable_window_finalize)
1675 (hildon_stackable_window_class_init)
1676 (hildon_stackable_window_init)
1677 * src/hildon-window-private.h
1678 * src/hildon-window.h
1679 * src/hildon-window.c (hildon_window_init)
1680 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1681 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1682 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1683 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1684 Moved all HildonAppMenu code to HildonWindow. The menu does not
1685 require a HildonStackableWindow anymore.
1687 * src/hildon-app-menu.c
1688 * src/hildon-program.c
1689 * examples/hildon-app-menu-example.c (main):
1690 Update examples and documentation to reflect HildonAppMenu
1693 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-remote-texture.c
1696 * src/hildon-animation-actor.c:
1697 Don't include unused private headers.
1699 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1701 * src/hildon-program-private.h
1702 * src/hildon-program.c
1703 (hildon_program_set_common_menu)
1704 (hildon_program_get_common_menu)
1705 (hildon_program_set_common_app_menu)
1706 (hildon_program_get_common_app_menu):
1707 Change common menu pointers from GtkWidget* to GtkMenu* and
1708 HildonAppMenu* to avoid unnecessary casts.
1710 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-window.c (hildon_window_set_main_menu):
1713 Removed incorrect 'Since:' tag
1715 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1717 * src/hildon-pannable-area.c,
1718 (hildon_pannable_area_calculate_velocity): We use now the
1719 RATIO_TOLERANCE here to check the distance, fixed typo in the
1721 (hildon_pannable_area_motion_notify_cb): We have to set the type
1722 and time even if we are not sending the motion.
1724 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1726 * doc/hildon-sections.txt
1727 * src/hildon-app-menu.h
1728 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1729 (+hildon_app_menu_get_filters): New methods to get the contents of
1732 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1735 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-app-menu.c (hildon_app_menu_popup):
1740 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-window.h
1743 * src/hildon-window.c (+hildon_window_get_main_menu)
1744 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1745 and deprecated hildon_window_get_menu().
1747 * src/hildon-stackable-window.h
1748 * src/hildon-stackable-window.c
1749 (+hildon_stackable_window_set_app_menu)
1750 (+hildon_stackable_window_get_app_menu)
1751 (hildon_stackable_window_set_main_menu): Created
1752 hildon_stackable_window_{get,set}_app_menu() and deprecated
1753 hildon_stackable_window_set_main_menu().
1755 * doc/hildon-sections.txt
1756 * examples/hildon-app-menu-example.c (main)
1757 * src/hildon-app-menu.c
1758 * src/hildon-program.c:
1759 Updated examples and documentation.
1761 Fixes: NB#103758 (No way to obtain a menu from a
1762 HildonStackableWindow)
1764 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1769 * configure.ac: Bump version.
1770 * debian/changelog: Updates.
1772 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1774 * examples/hildon-remote-texture-example.c: Include
1775 hildon-remote-texture.h explicitely.
1776 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1777 applications not defining _XOPEN_SOURCE which don't require this header.
1779 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1781 * doc/hildon-sections.txt
1782 * src/hildon-app-menu.h
1783 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1784 New function to pop up a HildonAppMenu
1786 * src/hildon-stackable-window.c
1787 (hildon_stackable_window_toggle_menu):
1788 Use hildon_app_menu_popup() to show the menu.
1790 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-app-menu.c (hildon_app_menu_show)
1793 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1794 menu if there's another window between it and its parent window.
1796 Fixes: NB#100468 (Application menu window is launched even when a
1797 new secondary-window/dialog is pending to be shown/realized)
1799 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-window-stack.c (hildon_window_stack_push)
1802 (hildon_window_stack_pop_and_push):
1803 Don't forget to push/pop the first window.
1804 Reverse the window list before calling _push_list()
1806 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-picker-button.h
1809 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1810 Remove "value_changed" slot to avoid ABI breakage
1812 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1814 * src/hildon-pannable-area.c,
1815 (hildon_pannable_area_realize),
1816 (hildon_pannable_area_unrealize),
1817 (hildon_pannable_draw_vscroll),
1818 (hildon_pannable_draw_hscroll): Changed the method to handle the
1819 GC used to draw the transparent scrollbar, this way we avoid
1820 creating the GC all the time when drawing the scrollbars.
1822 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_init),
1826 (hildon_pannable_area_remove): Removed some unnecessary casts.
1827 (hildon_pannable_area_dispose): Disconnected some signals before
1828 releasing the adjustments.
1830 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1833 Make sure that all widgets contained in the toolbar are shown.
1835 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1837 * doc/hildon-sections.txt
1838 * src/hildon-picker-button.h
1839 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1840 (_selection_changed, hildon_picker_button_on_dialog_response)
1841 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1842 New hildon_picker_button_value_changed() method.
1845 * src/hildon-picker-button-private.h
1846 * src/hildon-picker-button.c (hildon_picker_button_init)
1847 (+hildon_picker_button_disable_value_changed): Add protected
1848 function for disabling the "value-changed" signal.
1850 * src/hildon-date-button.c (hildon_date_button_set_date):
1851 Don't emit "value-changed" for each one of the three columns.
1853 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1854 before actual change of values)
1856 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1860 for the treeview overshooting.
1862 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-banner.c (+hildon_banner_bind_style):
1865 Renamed from hildon_banner_bind_label_style(), now naming the
1866 banner itself as well.
1867 (hildon_banner_show_information),
1868 (hildon_banner_show_information_with_markup),
1869 (hildon_banner_show_animation), (hildon_banner_show_progress):
1870 Name the widgets and labels, based on their type.
1872 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1875 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-note.c (hildon_note_set_property): call
1878 hildon_note_rename() on HildonNote:note-type set.
1879 (hildon_note_rename): Name the note and its label, based on the
1880 HildonNote:note-type property.
1882 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1885 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1887 * src/hildon-pannable-area.c,
1888 (hildon_pannable_area_class_init),
1889 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1890 panning parameters, increased SPS and deceleration factor. Added
1891 also a margin to control fake directions.
1893 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1895 Patch by Sven Herzberg (sven@imendio.com)
1897 * configure.ac: Add missing AM_PROG_CC_C_0
1898 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1900 See NB#101420 (Update unit tests and fix make check)
1902 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1904 This patch was applied before but reverted because it caused
1905 problems, we have changed the main condition and tested the
1906 regressions we detected before and they work ok. We have done a
1907 complete review of the topmost algorithm in order to get a more
1910 * src/hildon-pannable-area.c,
1911 (hildon_pannable_area_get_topmost): Added a new parameter to
1912 filter the the windows that do not include those events.
1913 (hildon_pannable_area_button_press_cb),
1914 (hildon_pannable_area_button_release_cb),
1915 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1916 topmost function, we have added the new parameter.
1918 Fixes: NB#97458 (Pannable area prevents propagation of button
1921 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1924 if all columns in the selector have an item selected.
1925 (_on_dialog_response): Stop "response" signal emission if there is
1926 any selector column without selected items.
1928 Fixes: NB#101889 (Picker dialog should not close when nothing is
1929 selected in multiple selection list)
1931 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1933 * src/hildon-font-selection-dialog.c
1934 (hildon_font_selection_dialog_class_init),
1935 (hildon_font_selection_dialog_init): Remove the preview
1936 button and dialog, since previewing with default theming is likely
1937 to be overcomplicated. The :preview property has now no effect.
1938 Update documentation blurbs to inform about this.
1940 Fixes: NB#92297 (Preview content is not clearly visible for
1941 default colour text)
1943 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1945 Reviewed the geometry that handles the children size and
1946 scrollbar, now it tries a size and reviews the results depending
1947 on the scrollbars visibility.
1949 * src/hildon-pannable-area.c,
1950 (hildon_pannable_area_realize): Fixed a typo.
1951 (hildon_pannable_area_child_allocate_calculate): Added this
1952 function to calculate the child allocation.
1953 (hildon_pannable_area_size_allocate): Reviewed the allocation
1955 (hildon_pannable_area_check_scrollbars),
1956 (hildon_pannable_area_refresh): Refactored refresh function, this
1957 way we can call the code handling the scrollbars without causing a
1958 size_request, it is interesting in the allocate.
1959 (hildon_pannable_area_init): Replace the callbacks of the
1960 value_changed and changed signals to propertly deal with the
1962 (hildon_pannable_area_grab_notify),
1963 (hildon_pannable_area_initial_effect),
1964 (hildon_pannable_area_launch_fade_timeout),
1965 (hildon_pannable_area_adjust_changed),
1966 (hildon_pannable_area_adjust_value_changed),
1967 (hildon_pannable_area_redraw),
1968 (hildon_pannable_area_button_press_cb),
1969 (hildon_pannable_area_button_release_cb),
1970 (hildon_pannable_area_scroll_cb),
1971 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1972 code and use the new functions adjust_changed and
1973 adjust_value_changed.
1975 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1976 Contact editor dialog)
1978 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1983 * configure.ac: Bump version.
1984 * debian/changelog: Updates.
1986 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c,
1989 (hildon_pannable_area_get_topmost),
1990 (hildon_pannable_area_button_press_cb),
1991 (hildon_pannable_area_button_release_cb),
1992 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1993 topmost function adding the event mask. We have to try a
1994 differente approach because it is still causing problems (NB#9745,
1997 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-banner.c:
2000 Update the maximum width of timed banners.
2001 (force_to_wrap_truncated): Enforce the maximum text width if the
2004 Fixes: NB#102413 (The text margins (wrapping) in information
2005 banner should be HILDON_MARGIN_TRIPLE)
2007 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2009 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2011 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2012 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2013 bound when calculating the scroll indicator position.
2015 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2016 treat ->lower correctly)
2018 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2021 expose event handling, since it is not necessary to draw the focus
2024 Fixes: NB#102467 (Do not show highlight on the text in
2027 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2030 full height of the toolbar for the button and the label.
2032 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2035 padding before the label and after the button.
2037 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2039 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2041 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2042 Add a GtkVSeparator between the button and the back arrow.
2043 Let the button have automatic size.
2044 Set a name to the widget for theming handling.
2046 Fixes: NB#101793 (Make edit toolbar the same height as window
2047 title bar (use title area theming))
2049 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-helper.c (attach_new_color_element): Fix memory
2054 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2056 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2058 * examples/hildon-button-example.c (common_buttons_window): Don't
2061 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2064 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2066 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-gtk.c: Check that the window is realized.
2070 Fixes: NB#102225 (Crash setting the progress indicator to a non
2073 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2076 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2077 instead of modifying the one in the widget style.
2079 Fixes: NB#101043 (Second row of all the command button are
2080 displayed in transparent mode.)
2082 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-date-button.c
2085 * src/hildon-time-button.c: Add gettext macros
2087 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-date-button.c (hildon_date_button_new):
2090 * src/hildon-time-button.c (hildon_time_button_new_step):
2091 Use new logical strings to set the button default title.
2093 Fixes: NB#99915 (Date and Time options are not localised in Date
2096 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2098 * src/hildon-pannable-area.c
2099 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2100 the PANNING_THRESHOLD.
2102 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2104 * src/hildon-pannable-area.c,
2105 (hildon_pannable_area_class_init): Increased the maximum speed.
2106 (hildon_pannable_area_get_property),
2107 (hildon_pannable_area_set_property),
2108 (hildon_pannable_area_timeout): Added a new low friction mode, it
2109 allows the user avoid friction when launching the widget fast
2110 enough. It is interesting to traverse long lists.
2112 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2115 (+hildon_stackable_window_delete_event): Ignore delete events if
2116 the window is not the topmost one.
2118 Fixes: NB#101698 (Back button long press and delete-event handling)
2120 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2124 gtk-dnd-drag-threshold, it was too big. We have defined our own
2125 dnd define and set a smaller value: PANNIG_THRESHOLD.
2127 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2130 user-defined icons, use always the default one.
2132 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2134 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2136 This patch was applied before but reverted because it caused
2137 problems, we have changed the main condition and tested the
2138 regressions we detected before and they work ok.
2140 * src/hildon-pannable-area.c,
2141 (hildon_pannable_area_get_topmost): Added a new parameter to
2142 filter the the windows that do not include those events. Added
2143 also a condition when finding the window to filter windows that do
2144 not ask for those events.
2145 (hildon_pannable_area_button_press_cb),
2146 (hildon_pannable_area_button_release_cb),
2147 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2148 topmost function, we have added the new parameter.
2150 Fixes: NB#97458 (Pannable area prevents propagation of button
2153 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2155 * tests/check-hildon-color-button.c (START_TEST): do not leak
2158 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2160 * src/hildon-font-selection-dialog.c
2161 (hildon_font_selection_dialog_get_preview_text): Return NULL
2162 instead of FALSE on the g_return_val_if_fail().
2164 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2166 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2167 * src/hildon-date-selector.c
2168 (hildon_date_selector_select_current_date):
2169 Do not compare unsigned integers to be greater than or equal 0,
2170 because it's always TRUE.
2172 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2175 (hildon_date_selector_constructor): Do not select the current
2176 date until we are handle the "changed" signal, to avoid having bogus
2177 elements in the days model.
2179 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2182 for num_days, since _month_days() can return a negative value.
2184 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-caption.c (hildon_caption_size_allocate):
2187 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2188 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2190 Initialize allocation variables to 0, to avoid eventually using
2191 unitialized variables.
2193 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-bread-crumb-trail.c
2196 (hildon_bread_crumb_trail_size_allocate):
2197 * src/hildon-calendar.c (hildon_calendar_set_background):
2198 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2199 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2200 * src/hildon-seekbar.c (hildon_seekbar_init):
2201 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2202 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2203 * src/hildon-touch-selector-entry.c
2204 (hildon_touch_selector_get_text_from_model):
2205 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2206 * src/hildon-window.c (hildon_window_finalize):
2208 Remove many unused variables.
2210 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2212 * src/hildon-seekbar.c: (hildon_seekbar_init),
2213 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2215 Remove unnecessary g_assert() calls.
2217 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-caption.c: (hildon_caption_expose),
2220 (hildon_caption_set_property), (hildon_caption_init),
2221 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2222 (hildon_caption_size_request), (hildon_caption_size_allocate),
2223 (hildon_caption_forall), (hildon_caption_set_separator),
2224 (hildon_caption_activate), (hildon_caption_set_child_expand),
2225 (hildon_caption_set_label_text),
2226 (hildon_caption_get_label_alignment):
2228 Remove unnecessary g_assert() calls.
2230 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-banner.c
2233 (hildon_banner_map, hildon_banner_init): Make banner temporary
2234 before mapping it to avoid closing other temporary windows, but
2235 make it non-temporary afterwards to avoid being closed by other
2236 non-temporary windows.
2237 (-hildon_banner_client_event, hildon_banner_init):
2238 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2240 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2243 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2248 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2250 * src/hildon-remote-texture.c
2251 * src/hildon-remote-texture.h
2252 * src/hildon-remote-texture-private.h
2253 * examples/hildon-remote-texture-example.c:
2254 Updates/fixes to remote-texture and its example.
2256 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2258 Patch by Mox Soini (ext-mox.soini@nokia.com)
2260 * src/hildon-code-dialog.c: Update logical id.
2261 * src/hildon-set-password-dialog.c: Update logical id.
2263 Fixes: NB#100646 (Logical strings is shown for ok in set
2264 password,Password needed dialogs)
2266 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2269 * src/hildon-remote-texture.c
2270 * src/hildon-remote-texture.h
2271 * src/hildon-remote-texture-private.h
2273 Added remote texture widget (for Clutter shared memory textures)
2275 * examples/hildon-remote-texture-example.c
2276 * examples/Makefile.am
2277 Added example file for remote texture usage
2279 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2281 * configure.ac: post release version bump.
2282 * debian/changelog: version bump.
2284 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: Bump version.
2290 * debian/changelog: Updates.
2292 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-date-selector.c (hildon_date_selector_init)
2295 (hildon_date_selector_constructor): Don't connect to the "changed"
2296 signal until the selector is completely constructed.
2298 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-touch-selector.c: (_create_new_column),
2301 (hildon_touch_selector_append_column),
2302 (hildon_touch_selector_set_column_selection_mode),
2303 (hildon_touch_selector_set_active),
2304 (hildon_touch_selector_select_iter):
2305 Emit the HildonTouchSelector::changed signal every time selection
2306 is changed in any of the methods above. This behavior was already
2307 documented but not fully functional.
2309 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2310 selection is programmatically changed)
2312 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2314 * doc/hildon-sections.txt: Remove obsolete icon
2315 sizes from here as well.
2317 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2319 * examples/hildon-stackable-window-example.c (add_window): Remove
2322 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-app-menu.c
2325 (hildon_app_menu_show): Check whether the parent window of a menu
2326 is topmost before popping it up.
2328 Fixes: NB#100468 (Application menu window is launched even when a
2329 new secondary-window/dialog is pending to be shown/realized.)
2331 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2333 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2336 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2338 Patch by Mox Soini (ext-mox.soini@nokia.com)
2340 * src/hildon-banner.c: (hildon_banner_show_animation):
2341 use stylus size instead of obsolete note size.
2342 * src/hildon-defines.h: Update icon sizes.
2344 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-touch-selector-entry.c:
2347 (hildon_touch_selector_entry_init): Disable unsupported
2349 (hildon_touch_selector_entry_get_text_column): Emit a warning
2350 if an unsupported input modes is used and explicitile state
2351 these modes in the documentation.
2353 Fixes: NB#99802 (Hildon touch selector entry not working properly
2354 for some of the input modes)
2356 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-pannable-area.c,
2359 (hildon_pannable_area_init): Added the changed signal handlers of
2362 Fixes: NB#100320 (HildonPannableArea does not listen to
2363 GtkAdjustment "change" signals)
2365 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2367 * doc/hildon-sections.txt
2368 * src/hildon-window-private.h
2369 * src/hildon-window.h
2370 * src/hildon-window.c (hildon_window_init)
2371 (hildon_window_realize, hildon_window_unrealize)
2372 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2373 (hildon_window_size_request, hildon_window_size_allocate)
2374 (hildon_window_forall, hildon_window_show_all)
2375 (hildon_window_destroy, +paint_edit_toolbar)
2376 (+hildon_window_set_edit_toolbar):
2377 New hildon_window_set_edit_toolbar() method, to add a
2378 HildonEditToolbar to a window without having to pack it manually.
2380 Reorganize hildon_window_size_allocate()
2382 * src/hildon-edit-toolbar.c: Update documentation.
2384 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2385 example to use the new API.
2387 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2389 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2392 Remove from stack before calling parent's hide.
2394 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2397 window is removed from the middle of the stack, update the
2398 transiency of the previous one.
2400 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2403 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2406 block/unblock the signal handler if it's not actually being used.
2407 Fixes some critical warnings.
2409 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2411 Based on a patch by Iván Gómez (igomez@igalia.com)
2413 * src/hildon-banner.c
2417 * src/hildon-pannable-area.c
2418 * src/hildon-picker-dialog.c
2419 * src/hildon-wizard-dialog.h
2420 * src/hildon-wizard-dialog.c: Documentation updates.
2422 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2423 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2425 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2427 * configure.ac: post release version bump.
2428 * debian/changelog: version bump.
2430 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2435 * configure.ac: Bump version.
2436 * debian/changelog: Updates.
2438 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2441 a stock icon nor change the relief of the back arrow.
2443 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2444 graphics from theme)
2446 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-button.c (hildon_button_set_alignment): Use
2449 priv->alignment if the button has no child yet.
2451 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2453 * src/hildon-button.c: (hildon_button_init): Set the
2454 button style during initialization to give it the proper
2457 Fixes: NB#99713 (HildonButton value label color is wrong)
2459 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-touch-selector.c: Document
2462 hildon_touch_selector_center_on_selected()
2464 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2466 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2467 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2468 all menu items, but not the menu itself.
2469 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2470 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2471 items after adding them to the menu so keyboard accelerators work.
2472 (hildon_app_menu_show): Don't show the menu if it contains items
2473 but none of them are visible.
2475 * examples/hildon-app-menu-example.c (create_menu): Use
2476 gtk_widget_show_all() to show all menu items.
2478 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2480 * src/hildon-picker-dialog.c:
2481 (-_update_title_on_selector_changed_cb),
2482 (-_dialog_update_title): Removed.
2483 (_select_on_selector_changed_cb), (_on_dialog_response),
2484 (on_selector_columns_changed): Do not update the dialog title.
2485 (setup_interaction_mode): Do not connect to
2486 HildonTouchSelector::changed signal if there's a "done" button, as
2487 the dialog title doesn't need to be updated.
2489 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2492 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2494 Patch by Kristian Rietveld (kris@imendio.com)
2496 * src/hildon-touch-selector.c: (_create_new_column): Use new
2497 GtkTreeView::hildon-row-tapped signal to react to user interactions
2498 instead of ::changed.
2500 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2501 with some dynamic tree model)
2503 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2506 (+screen_size_changed, +label_size_request)
2507 (hildon_note_class_init): Make the Hildon information note have a
2508 minimum height, and make its text hvae a maximum width.
2510 Fixes: NB#98614 (Hildon information note (background) should have
2511 minimum height and maximum text width)
2513 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2515 * src/hildon-banner.h
2516 * src/hildon-banner.c (hildon_banner_show_information)
2517 (hildon_banner_show_informationf)
2518 (hildon_banner_show_information_with_markup): Update documentation
2519 to reflect that the icon_name parameter is not used anymore.
2520 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2521 Remove all code from these functions and mark them as deprecated.
2522 (hildon_banner_show_progress): Mark as deprecated.
2524 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2526 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2528 * src/hildon-pannable-area.c,
2529 (hildon_pannable_area_class_init),
2530 (tranparency_color),
2531 (hildon_pannable_draw_vscroll),
2532 (hildon_pannable_draw_hscroll),
2533 (hildon_pannable_area_expose_event): Added a new way to render the
2534 scrollbars of the pannable area avoiding using cairo at all. This
2535 way we improve the performance of the pannable area rendering. The
2536 cairo rendering procedure is still in the code, we can control
2537 which one to use changing the value of the define
2538 USE_CAIRO_SCROLLBARS.
2540 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2542 * configure.ac: post release version bump.
2543 * debian/changelog: version bump.
2545 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2550 * configure.ac: Bump version.
2551 * debian/changelog: Updates.
2553 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2556 banners instead of destroying them when they receive a button
2559 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2561 Reverted commit 34028, it was causing regressions, probably the
2562 topmost condition is not correct, we have to check it in more
2563 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2564 propagation of button press events)
2566 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2569 that the selection is not empty before attempting to retrieve the
2570 current ampm selection.
2572 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-picker-button.c:
2575 (hildon_picker_button_on_dialog_response): Directly update the
2576 button contents when required instead of calling _selection_changed.
2578 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2580 * src/hildon-program.c (hildon_program_update_top_most): Update
2581 'is-topmost' property also when wm_hints is not set.
2583 Fixes: NB#98383 (is-topmost signal is not emitted when task
2584 switcher is clicked.)
2586 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2588 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2592 * src/hildon-animation-actor.c,
2593 * src/hildon-animation-actor.h: Added the animation actor class,
2594 this widget represents an animation actor for WM-assisted
2595 animation effects in the Hildon framework.
2597 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-window-stack-private.h
2600 * src/hildon-window-stack.c
2601 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2602 Avoid calling gtk_widget_show() again indirectly from
2603 hildon_stackable_window_show()
2605 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2610 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2613 (hildon_time_selector_init): Move the construction of the hours and
2614 ampm columns to the constructor to preserve the order the columns
2617 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-picker-dialog.c:
2620 (hildon_picker_dialog_class_init): Connect a realize method.
2621 (+hildon_picker_dialog_realize): Setup the interaction mode here
2623 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2624 yet, do it during the realize instead.
2625 (_on_dialog_response):
2626 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2627 if the widget is not realized, to avoid the dialog response before it
2630 Avoid premature responses in the HildonPickerDialog that can cause it
2631 to be hidden before it's even shown.
2633 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2636 (on_selector_columns_changed), (requires_done_button),
2637 (+prepare_action_area), (setup_interaction_mode),
2638 (_hildon_picker_dialog_set_selector):
2640 Split the interaction mode setup into preparation of the
2641 action area (prepare_action_area()) and the connection of
2642 the signals in setup_interaction_mode() and update the code to
2645 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2647 * src/hildon-pannable-area.c,
2648 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2649 per second to 15, we will check if this is ok regarding
2652 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2654 * src/hildon-pannable-area.c,
2655 (hildon_pannable_axis_scroll): Avoid resize if we already have
2656 reached overshoot_max.
2658 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2660 * src/hildon-pannable-area.c,
2661 (hildon_pannable_area_init),
2662 (hildon_pannable_area_realize),
2663 (hildon_pannable_area_size_allocate),
2664 (hildon_pannable_area_map),
2665 (hildon_pannable_area_unmap),
2666 (hildon_pannable_draw_vscroll),
2667 (hildon_pannable_draw_hscroll),
2668 (hildon_pannable_area_expose_event),
2669 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2670 pannable are to avoid the expose events go to the window and
2671 redraw the window. We save this way that part of the stack and the
2672 paint_boxes. We had to change the positions of the elements when
2675 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2678 * src/hildon-color-chooser-dialog.c:
2679 (hildon_color_chooser_dialog_init):
2680 * src/hildon-font-selection-dialog.c:
2681 (hildon_font_selection_dialog_init),
2682 (hildon_font_selection_dialog_show_preview):
2683 * src/hildon-get-password-dialog.c:
2684 * src/hildon-login-dialog.c:
2685 * src/hildon-set-password-dialog.c:
2686 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2687 * src/hildon-time-picker.c: (hildon_time_picker_init):
2689 Remove obsolete logical string IDs and update to the appropriate ones.
2691 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2693 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2696 that happens if the window hasn't been realized yet.
2698 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2699 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2701 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2703 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2704 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2707 Fixes: NB#98537 (Device hangs in account settings dialog)
2709 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2711 * configure.ac: post release version bump.
2712 * debian/changelog: version bump
2714 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2719 * configure.ac: Bump version.
2720 * debian/changelog: Updates.
2722 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2724 Added a new function to the HildonTimeButton widget that allows to
2725 change the step of the minutes in the selector associated with the
2726 button: hildon_time_button_new_step
2728 * src/hildon-time-button.c,
2729 (hildon_time_button_init),
2730 (hildon_time_button_new),
2731 (hildon_time_button_new_step):
2732 * src/hildon-time-button.h: Added the new function and refactored
2734 * examples/hildon-time-button-example.c,
2735 (main): We have replaced the function without parameters with the
2736 function with the steps set to 5
2738 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2740 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2742 * src/hildon-time-selector.c,
2743 (hildon_time_selector_class_init),
2744 (hildon_time_selector_constructor),
2745 (hildon_time_selector_get_property),
2746 (hildon_time_selector_set_property),
2747 (_create_minutes_model),
2748 (hildon_time_selector_new_step),
2749 (hildon_time_selector_set_time),
2750 * src/hildon-time-selector.h: Added a new property to the
2751 HildonTimeSelector (minutes-step), we use that property to control
2752 the steps between the minutes in the list of the selector. We have
2753 added a new function to the API to create a widget changing the
2754 step: hildon_time_selector_new_step.
2756 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2758 * src/hildon-time-selector.c,
2759 (hildon_time_selector_class_init),
2760 (hildon_time_selector_constructor),
2761 (hildon_time_selector_init): Overrided the construct function when
2762 creating the time selector object. We have moved the minutes model
2763 handling code from the init to the new construction function:
2764 hildon_time_selector_constructor.
2766 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2768 * examples/hildon-date-button-example.c: (main): Use the new
2769 hildon_date_button_new_with_year_range() method in the example.
2770 * src/hildon-date-button.c:
2771 (+hildon_date_button_new_with_year_range): New public method
2772 to conveniently create a HildonDateButton with a custom year range
2773 in its HildonDateSelector.
2774 * src/hildon-date-button.h: Add the new public method definition.
2776 Fixes: NB#97908 (Not possible to change the year range in
2777 HildonDateSelector/HildonDateButton)
2779 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2781 * src/hildon-date-selector.c:
2782 (+hildon_date_selector_set_property),
2783 (+hildon_date_selector_get_property),
2784 (hildon_date_selector_class_init): Install new properties "min-year"
2785 and "max-year" to define boundaries for the year column.
2786 (_create_year_model): Use the boundary properties to populate the model.
2787 (+hildon_date_selector_new_with_year_range): New public method to
2788 create a HildonDateSelector with a user defined year range.
2789 (hildon_date_selector_select_current_date): Use the new boundaries to
2790 calculate the iterator of current year.
2791 * src/hildon-date-selector.h: Add the new public method definition.
2793 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2796 Install a constructor method.
2797 (+hildon_date_selector_construct_ui): construct the widget.
2798 (+hildon_date_selector_constructor): new constructor.
2799 (+hildon_date_selector_init): move out widget construction code to
2800 the new constructor.
2802 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2805 that there's actually a month or year selected before obtaining them.
2806 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2807 of the HildonTouchSelector::changed signal, as it was emitted on every
2808 single item selection.
2810 Fix some warnings and possible crashers due to the selection restoring.
2812 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2814 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2815 the signal handlers only after creating the dialog instead of on every
2818 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-button.c (hildon_button_init)
2821 * src/hildon-check-button.c (hildon_check_button_init)
2822 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2823 focus when clicked by default.
2825 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2830 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2832 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2833 Alejandro G. Castro (alex@igalia.com)
2835 * src/hildon-picker-dialog.c:
2836 (hildon_picker_dialog_class_init): install new "center-on-show"
2838 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2839 (hildon_picker_dialog_set_property): add setter code for the new
2841 (hildon_picker_dialog_get_property): add getter code for the new
2843 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2844 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2847 Fixes: NB#92849 (Selected item is not always visible when
2848 HildonTouchSelector is shown)
2850 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2852 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2853 Alejandro G. Castro (alex@igalia.com)
2855 * src/hildon-touch-selector.c:
2856 (_create_new_column): Do not connect to the "realize" signal of the
2858 (hildon_touch_selector_append_column): center on the selected items
2859 when a new column is appended.
2860 (hildon_touch_selector_select_iter): Factor out the code to select a
2861 column to hildon_touch_selector_scroll_to().
2862 (+search_nearest_element): Method to retrieve the nearest selected
2863 element to the visible area of the pannable area in a column.
2864 (+on_realize_cb): scroll to the initially selected item.
2865 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2866 the pannable area is realized, otherwise delay this until it is.
2867 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2868 selected items of a given column.
2869 (+hildon_touch_selector_center_on_selected): Public method to center
2870 all columns on the nearest selected item.
2871 * src/hildon-touch-selector.h: Add definition for
2872 hildon_touch_selector_center_on_selected().
2874 Implement public API to ensure visibility of all selected items in
2875 a HildonTouchSelector.
2877 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2879 Fixed a problem in the fading when calling the scroll_to API, and
2880 improve scrollbar fading handling.
2882 * src/hildon-pannable-area.c,
2883 (hildon_pannable_area_grab_notify): avoid the timeout when the
2885 (hildon_pannable_area_button_press_cb),
2886 (hildon_pannable_area_motion_notify_cb): Code style changes.
2887 (hildon_pannable_area_button_release_cb): Review the conditions
2888 when releasing the mouse button to avoid unrequired fading
2890 (hildon_pannable_area_scroll_to): Do not calculate and set the
2891 velocity if the scroll is not required.
2893 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2896 Don't check whether the new selector is NULL: it cannot be.
2897 Hold a reference to the selector while doing the replacement.
2899 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2902 unnecessary size_request in a removed widget.
2904 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2907 an unnecessary reference tracking that was leaking.
2909 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2911 Added delayed motion notify event handling, this way we can
2912 discard redrawing if more than 25 events arrive per second.
2914 * src/hildon-pannable-area.c,
2915 (hildon_pannable_area_init): Initialized the new private atributes
2916 controlling this timeout
2917 (hildon_pannable_area_dispose): Remove the timeout that controls
2918 the motion notify events.
2919 (hildon_pannable_area_scroll): Added a condition to control the
2920 use of the acceleration.
2921 (hildon_pannable_area_motion_event_scroll_timeout),
2922 (hildon_pannable_area_motion_event_scroll): Added this two
2923 functions, they handle the motion notify events inside the
2925 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2926 to the scroll method with the new function.
2927 (hildon_pannable_area_button_release_cb): We have to remove the
2928 timeout handler and move to the last position if the last motion
2929 events were not handled.
2931 Fixes: NB#97028 (Pannable area updates on every motion event)
2933 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2935 * src/hildon-pannable-area.c,
2936 (hildon_pannable_area_get_topmost): Added a new parameter to
2937 filter the the windows that do not include those events. Added
2938 also a condition when finding the window to filter windows that do
2939 not ask for those events.
2940 (hildon_pannable_area_button_press_cb),
2941 (hildon_pannable_area_button_release_cb),
2942 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2943 topmost function, we have added the new parameter.
2945 Fixes: NB#97458 (Pannable area prevents propagation of button
2948 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2950 * src/hildon-pannable-area.c,
2951 (hildon_pannable_area_initial_effect): Added controls before
2952 launching the timeout and the idle functions.
2953 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2954 of the method, in some situations it can return with TRUE and 0 in
2956 (hildon_pannable_area_button_press_cb): We do not need to set
2957 DELAY for fading out here.
2959 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2961 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2964 post-cleaning if the selection is not NULL.
2966 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2969 all items before restoring the selection.
2971 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2973 * src/hildon-touch-selector.c:
2974 (+hildon_touch_selector_unselect_all):
2975 * src/hildon-touch-selector.h: New API to unselect all items in a
2976 column of the touch selector.
2978 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_redraw): Added a call to the refresh
2982 function inside the redraw because apparently in some cases the
2983 change in the adjustment does not imply a size allocate.
2985 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2986 despite the view not being scrollable)
2988 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2991 leak. Check for NULL before attempting to set the window title.
2993 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2995 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2996 whether to show or not the 'Done' button each time the dialog is
2997 shown, as it depends on the HildonTouchSelector selection mode.
2999 Fixes: NB#96226 (In multiple selection mode Done button is shown
3000 sometimes in listpicker)
3002 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3004 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3005 for the number of columns in the HildonTouchSelector more than once.
3007 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-touch-selector.c: Minor documentation fixes.
3011 * src/hildon-picker-dialog.c (+_dialog_update_title)
3012 (_select_on_selector_changed_cb)
3013 (_update_title_on_selector_changed_cb)
3014 (on_selector_columns_changed): Update dialog title when there's no
3015 'Done' button and also when the number of columns in the selector
3019 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3020 (+_selection_changed, hildon_picker_button_on_dialog_response)
3021 (hildon_picker_button_selector_selection_changed)
3022 (+hildon_picker_button_selector_columns_changed)
3023 (hildon_picker_button_set_selector): Update button value and emit
3024 'value-changed' when the number of columns in the selector
3028 Fixes: NB#96225 (Dialog titles are not shown according to the
3029 values selected in the list picker)
3031 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3034 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3035 New "arrow-width" and "arrow-height" style properties to set the
3036 size of the arrow button.
3037 Set name of arrow button ("hildon-edit-toolbar-arrow").
3039 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3040 graphics from theme)
3042 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3044 * src/hildon-picker-button.c:
3045 (hildon_picker_button_selector_selection_changed): Use
3046 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3047 the dialog is present.
3049 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3050 the selection is accepted in the dialog)
3052 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3054 * src/hildon-color-chooser.h
3055 * src/hildon-color-chooser-dialog.h:
3056 Added G_BEGIN_DECLS and G_END_DECLS
3058 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3060 (_clean_current_selection): plug a leak in the list.
3062 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-picker-dialog.c:
3065 (+free_path_list): Method to free a GList of GtkTreePaths.
3066 (_clean_current_selection), (_save_current_selection),
3067 (_restore_current_selection): Save the current selection in
3068 as a list of lists, to support multiple selection properly.
3070 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3072 patch by Claudio Saavedra (csaavedra@igalia.com)
3074 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3075 Store the press position.
3076 (+hildon_text_view_button_release_event): If the release position is
3077 close enough to the press position, move the cursor here. Otherwise,
3079 (hildon_text_view_class_init): Override GtkTextView press, release, and
3080 motion event handlers, disabling this way text selection through
3081 pointer interaction, and allowing the container widget to handle the
3084 Fixes: NB#95828 (HildonTextView functionality)
3086 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3088 Based on a patch by Iván Gómez (igomez@igalia.com)
3090 * src/hildon-button.[ch]
3091 * src/hildon-calendar.c
3092 * src/hildon-check-button.c
3093 * src/hildon-date-editor.c
3094 * src/hildon-date-selector.c
3095 * src/hildon-picker-button.c
3096 * src/hildon-time-editor.c
3097 * src/hildon-time-selector.c
3098 * src/hildon-touch-selector.[ch]:
3099 Documentation updates
3101 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3103 * src/hildon-pannable-area.c,
3104 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3105 threshold, it was required due to X events handling.
3107 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3109 * src/hildon-pannable-area.c,
3110 (hildon_pannable_area_grab_notify),
3111 (hildon_pannable_area_initial_effect),
3112 (hildon_pannable_area_button_press_cb),
3113 (hildon_pannable_area_button_release_cb),
3114 (hildon_pannable_area_scroll_cb),
3115 (hildon_pannable_area_scroll_to): Review the timeout management of
3116 the scrollbar, the frecuency was incorrectly set.
3118 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-picker-button.c:
3121 (+hildon_picker_button_on_dialog_response),
3122 (hildon_picker_button_clicked): Present the dialog instead of
3123 running it with gtk_dialog_run().
3125 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3128 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3131 (hildon_app_menu_finalize): When a window is hidden it doesn't
3132 emit notify::is-topmost, so make sure than the menu also
3133 disappears in that case.
3134 (parent_window_topmost_notify): Renamed from parent_window_hidden
3136 Fixes: NB#94460 (stackable window's menu is not closed when its
3139 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-touch-selector-entry.c:
3142 (+hildon_touch_selector_entry_set_input_mode),
3143 (+hildon_touch_selector_entry_get_input_mode):
3144 * src/hildon-touch-selector-entry.h: New methods to access the input
3145 mode in the selector's entry.
3147 Fixes: NB#93410 (API required for setting IM mode in
3148 HildonTouchSelectorEntry)
3150 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3152 * configure.ac: post release version bump.
3153 * debian/changelog: version bump
3155 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3160 * configure.ac: Bump version.
3161 * debian/changelog: Updates.
3163 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3165 * src/hildon-touch-selector.c:
3166 (_hildon_touch_selector_has_multiple_selection): No need
3167 to initialize the variables here.
3169 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-note-private.h
3172 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3173 (hildon_note_finalize, hildon_note_rebuild): Close information
3174 notes when they receive a button press.
3176 Fixes: NB#89890 (Information notes does not get disappeared after
3179 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3181 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3182 mark from the wizard title, as it's not really necessary. Also,
3183 do not display the page title if not set.
3185 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3188 (parent_window_hidden): Use the window's "is-topmost" property to
3189 detect when to hide the menu.
3191 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3194 (hildon_app_menu_finalize): If the parent window of the menu is
3195 hidden, hide the menu too.
3197 Fixes: NB#94460 (stackable window's menu is not closed when its
3200 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3203 * debian/libhildon1-examples.install
3205 * examples/Makefile.am:
3206 Use dh_install to install all examples.
3207 Use DEB_SRCDIR instead of defining SOURCE_DIR
3209 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3211 * configure.ac: post release version bump.
3212 * debian/changelog: version bump
3214 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3219 * configure.ac: bump version
3220 * debian/changelog: updates
3221 * debian/control: bump gtk+ dependency
3223 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3225 patch by Christian Dywan (christian@imendio.com)
3227 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3228 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3230 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-check-button.c (hildon_check_button_init)
3233 (hildon_check_button_class_init, hildon_check_button_style_set)
3234 (hildon_check_button_apply_style):
3235 New "checkbox-size" style property.
3237 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3238 larger / configurable size)
3240 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3242 * configure.ac: post release version bump.
3243 * debian/changelog: version bump
3245 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3250 * configure.ac: bump version
3251 * debian/changelog: updates
3253 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3255 * doc/hildon-sections.txt
3256 * src/hildon-pannable-area.c
3257 * src/hildon-program.c
3258 * src/hildon-time-editor.c
3259 * src/hildon-touch-selector-entry.c:
3261 More documentation updates.
3263 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3265 * doc/hildon-sections.txt
3266 * src/hildon-caption.c
3267 * src/hildon-code-dialog.c
3268 * src/hildon-color-button.c
3269 * src/hildon-controlbar.c
3270 * src/hildon-date-editor.c
3271 * src/hildon-date-selector.c
3272 * src/hildon-edit-toolbar.c
3273 * src/hildon-find-toolbar.c
3274 * src/hildon-font-selection-dialog.c
3276 * src/hildon-program.c
3277 * src/hildon-range-editor.c
3278 * src/hildon-seekbar.c
3279 * src/hildon-time-editor.c
3280 * src/hildon-time-selector.c
3281 * src/hildon-volumebar-range.c
3282 * src/hildon-volumebar.c
3283 * src/hildon-vvolumebar.c
3284 * src/hildon-weekday-picker.c
3285 * src/hildon-window.c
3286 * src/hildon-wizard-dialog.c:
3288 Lots of documentation fixes.
3290 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3292 Patch contributed by Iván Gómez (igomez@igalia.com)
3294 * src/hildon-check-button.c:
3295 * src/hildon-date-button.c:
3296 * src/hildon-date-selector.c:
3297 * src/hildon-dialog.c:
3298 * src/hildon-edit-toolbar.c:
3299 * src/hildon-entry.c:
3300 * src/hildon-picker-button.c:
3301 * src/hildon-program.c:
3302 * src/hildon-text-view.c:
3303 * src/hildon-time-button.c:
3304 * src/hildon-touch-selector-entry.c:
3305 * src/hildon-window-stack.c:
3307 Add more "since" tags to the new API.
3309 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3311 * doc/hildon-sections.txt: Add below method.
3312 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3313 version for the hildonized scale.
3314 * src/hildon-gtk.h: Add the definition.
3316 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3318 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3320 * doc/hildon-sections.txt: Add missing entries for new methods.
3322 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3324 Added API to pannable are in order to get its adjustments. We
3325 added two properties to manage the values we had in the private
3328 * src/hildon-pannable-area.c:
3329 (hildon_pannable_area_class_init): Added hadjustment and
3330 vadjustment properties in order to expose horizontal and vertical
3332 (hildon_pannable_area_get_property),
3333 (hildon_pannable_area_set_property): Added code to handle the new
3335 (hildon_pannable_area_get_hadjustment),
3336 (hildon_pannable_area_get_vadjustment): API functions to get the
3338 * src/hildon-pannable-area.h:
3339 (hildon_pannable_area_get_hadjustment),
3340 (hildon_pannable_area_get_vadjustment): API functions to get the
3343 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3345 Fixed some leaks, after valgrinding.
3347 * src/hildon-touch-selector.c:
3348 (_default_print_func): Fixed a leak.
3349 (hildon_touch_selector_append_column): Fixed a leak.
3350 * src/hildon-date-button.c:
3351 (hildon_date_button_init): Fixed a leak.
3352 * src/hildon-date-selector.c
3353 (hildon_date_selector_finalize): Fixed a leak.
3355 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3357 Based on a patch by Christian Dywan (christian@imendio.com)
3359 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3361 * src/hildon-gtk.h: Add definition.
3363 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3365 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3367 * src/hildon-picker-button.c: (hildon_picker_button_init),
3368 (hildon_picker_button_new): Set the HildonButton::style property
3369 in the init method, to propagate the value to the derived classes.
3371 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-button.c: (hildon_button_class_init): Do not make
3374 the "style" property a construct property.
3376 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-wizard-dialog.h
3379 * src/hildon-wizard-dialog.c
3380 (hildon_wizard_dialog_set_forward_page_func)
3381 * src/hildon-pannable-area.h
3382 * src/hildon-pannable-area.c
3383 (hildon_pannable_area_set_size_request_policy):
3384 Documentation fixes.
3386 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3388 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3390 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3392 * doc/hildon-sections.txt: Added sections file.
3394 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/*.[ch]: Updates.
3399 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3401 * examples/hildon-progress-indicator-example.c: new file
3402 * examples/Makefile.am: include the new example program
3404 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3408 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3410 * configure.ac: post release version bump
3411 * debian/changelog: version bump
3413 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3418 * configure.ac: bump version
3419 * debian/changelog: updates
3420 * debian/control: bump gtk+ dependency
3422 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-dialog.c: Mark as deprecated.
3425 * src/hildon-dialog.h: Mark as deprecated.
3426 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3427 from HildonDialog and still work, even if
3428 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3429 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3431 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3432 maemo changes) instead)
3434 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3436 * src/hildon-pannable_area.h:
3437 * src/hildon-pannable_area.c:
3438 (hildon_pannable_area_class_init),
3439 (hildon_pannable_area_set_property),
3440 (hildon_pannable_area_get_property),
3441 (hildon_pannable_area_size_request),
3442 (hildon_pannable_area_get_size_request_policy),
3443 (hildon_pannable_area_set_size_request_policy): Added new API
3444 allowing applications to control the request policy. Now they can
3445 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3446 children allocation (HILDON_MOVEMENT_CHILDREN).
3448 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3452 (hildon_gtk_tree_view_set_ui_mode)
3453 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3454 mode of treeviews and iconviews.
3456 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-touch-selector-entry.c:
3459 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3460 of a GtkEntry to get proper theming.
3462 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3463 widget, not GtkEntry)
3465 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3467 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3468 no HildonWizardDialogPageFunc.
3470 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3472 Patch contributed by Iván Gómez (igomez@igalia.com)
3474 * src/hildon-app-menu.c:
3475 * src/hildon-button.c:
3476 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3477 * src/hildon-stackable-window.c:
3478 * src/hildon-time-selector.c:
3479 * src/hildon-touch-selector.c:
3480 * src/hildon-window.c:
3482 Add more "since" tags to the new API in hildon 2.2.
3484 2008-12-05 Tim Janik <timj@imendio.com>
3486 Patch contributed by Christian Dywan (christian@imendio.com)
3488 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3489 HildonSizeType, which are supplied by Gtk+ now.
3491 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3493 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3494 (with maemo changes) instead)
3496 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3498 Patch contributed by Iván Gómez (igomez@igalia.com)
3500 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3503 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3505 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3506 (some_page_func), (main): Update the example to use a
3507 HildonWizardDialogPageFunc function.
3509 * src/hildon-wizard-dialog-private.h: Add private data for
3510 the HildonWizardDialogPageFunc function usage.
3512 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3513 (destroy), (hildon_wizard_dialog_init), (response),
3514 (hildon_wizard_dialog_set_forward_page_func):
3515 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3516 that applications can use to stop a HildonWizardDialog to jump to
3519 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3522 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-program.h
3525 * src/hildon-program-private.h
3526 * src/hildon-program.c (hildon_program_init)
3527 (hildon_program_set_common_app_menu)
3528 (hildon_program_get_common_app_menu):
3529 New API for setting a common HildonAppMenu for all
3530 HildonStackableWindows registered with the HildonProgram.
3532 * src/hildon-stackable-window.c
3533 (hildon_stackable_window_toggle_menu):
3534 Use the common HildonAppMenu if a window doesn't have a specific
3537 * src/hildon-app-menu-private.h
3538 * src/hildon-app-menu.c
3539 (hildon_app_menu_get_parent_window):
3540 Function to obtain the window a HildonAppMenu is attached to.
3541 (hildon_app_menu_set_parent_window):
3542 Hide the menu if the parent window is set to NULL.
3544 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3546 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3547 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3548 search widget to popup.
3550 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3552 * configure.ac: post release version bump
3553 * debian/changelog: version bump
3555 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3560 * configure.ac: bump version
3561 * debian/changelog: updates
3563 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3565 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3567 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3568 (hildon_window_stack_window_realized)
3569 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3570 Set the leader GdkWindow when a window is stacked and realized,
3571 unset it when it's unstacked.
3572 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3574 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3576 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3578 * src/hildon-stackable-window.h
3579 * src/hildon-window-stack.h:
3580 Protect definition of HildonWindowStack using the preprocessor.
3582 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3585 Fix warning if all menu items are hidden.
3587 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3589 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3591 * src/hildon-controlbar.c:
3592 * src/hildon-hvolumebar.c:
3593 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3594 Multiple scale size defines updates.
3596 Fixes: NB#94322 (Scale Updates)
3598 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3600 * examples/hildon-app-menu-example.c (create_menu)
3601 Show items after adding them to the menu, as in the future the
3602 menu will no longer call gtk_widget_show() on the added items.
3604 * src/hildon-app-menu.c:
3605 Update example as explained above.
3607 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-app-menu.c
3610 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3611 Make sure that all menu items have finger height.
3613 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3615 * src/hildon-picker-dialog.c:
3616 (_on_dialog_response), (_save_current_selection),
3617 (_restore_current_selection), (_clean_current_selection),
3618 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3619 Defined new functions in order to save the current internal selector
3620 selection previous open the dialog, in case that the use cancel the
3621 interaction, so the widget restores the previous selection.
3623 Fixes: NB#92032 (In calendar application, date values in 'new event'
3626 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3628 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3630 * src/hildon-button.c: Add a reference to the button examples in
3631 hildon-button-example.c
3633 * examples/hildon-button-example.c: Added examples of the most
3634 common button layouts.
3636 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3638 * src/hildon-app-menu.c (hildon_app_menu_show)
3639 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3641 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3643 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-picker-dialog.c:
3646 (hildon_picker_dialog_init): Initialize the signal id for
3647 HildonTouchSelector::columns-changed.
3648 (+on_selector_columns_changed): Set up the interaction mode everytime a
3649 column is added or removed from the HildonTouchSelector.
3650 (_hildon_picker_dialog_set_selector): Connect to
3651 HildonTouchSelector::columns-changed and keep track of it.
3653 Make sure to update the interaction mode of the dialog everytime a
3654 column is added or removed in the HildonTouchSelector.
3656 Fixes: NB#93228 (Done button is not shown always in listpicker)
3658 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3660 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3661 a new ::columns-changed signal.
3662 (hildon_touch_selector_append_column): Emit ::columns-changed.
3663 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3665 Add a ::columns-changed signal, emitted when the number of columns in a
3666 HildonTouchSelector changes.
3668 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3671 (_hildon_picker_dialog_set_selector): Factor out the code
3672 to set up the dialog interaction mode.
3674 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3677 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3678 to signal_changed_id.
3680 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3685 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3687 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3688 Updated the logical ids related to ampm format, as now it is required to
3689 show it correctly localized even on languages with no default
3690 abbreviations for am or pm
3691 (_check_am_pm_format): check correctly the 24h format gconf property
3693 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3695 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-button.c: Documentation updates.
3699 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3701 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3702 * src/hildon-caption.c: (hildon_caption_class_init):
3703 * src/hildon-color-button.c: (hildon_color_button_class_init):
3704 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3705 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3706 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3707 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3709 Remove deprecated GTK+ marshalers and replace them with the ones
3710 provided by GLib, for those available, add a marshaler for
3711 BOOLEAN:VOID, which is not available in GLib, and use it.
3713 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3716 the text from the previous column if there is no
3717 HildonTouchSelectorColumn::text-property set.
3719 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3721 * src/hildon-button.h
3722 * src/hildon-button.c (hildon_button_set_property)
3723 (hildon_button_get_property, hildon_button_class_init)
3724 (hildon_button_set_style, hildon_button_get_style):
3725 New "style" property to change the visual appearance of the
3728 * src/hildon-picker-button.c (hildon_picker_button_new):
3729 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3731 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3732 HildonButton look like PickerButton)
3734 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3737 column while building the default string.
3739 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3742 scroll indicator by default.
3744 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3746 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-main.c: Fix the documentation for hildon_init()
3750 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3752 * doc/hildon-docs.sgml
3756 * src/hildon-window-stack-private.h
3757 * src/hildon-window-stack.h
3758 * src/hildon-window-stack.c:
3759 New HildonWindowStack object, that adds support for multiple
3760 stacks of windows per process.
3762 * src/hildon-stackable-window-private.h
3763 * src/hildon-stackable-window.h
3764 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3765 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3766 (hildon_stackable_window_show, hildon_stackable_window_hide)
3767 (hildon_stackable_window_class_init)
3768 (hildon_stackable_window_init):
3769 Use HildonWindowStack for stack management.
3771 * src/hildon-program.c (hildon_program_pop_window_stack)
3772 (hildon_program_peek_window_stack)
3773 (hildon_program_go_to_root_window):
3774 Add a fallback implementation to the deprecated functions using
3777 * examples/hildon-stackable-window-example.c:
3778 Use the new HildonWindowStack API.
3780 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-stackable-window-private.h
3783 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3784 (hildon_stackable_window_hide, hildon_stackable_window_init):
3785 Remove all window stack management.
3787 * src/hildon-program-private.h
3788 * src/hildon-program.h
3789 * src/hildon-program.c (hildon_program_init)
3790 (hildon_program_pop_window_stack)
3791 (hildon_program_peek_window_stack)
3792 (hildon_program_go_to_root_window):
3793 Remove all window stack management and mark functions as
3796 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3798 * src/hildon-app-menu.c (hildon_app_menu_realize):
3799 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3801 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3803 * configure.ac: post release version bump
3804 * debian/changelog: version bump
3806 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3811 * configure.ac: bump version
3812 * debian/changelog: updates
3814 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3816 Based on initial code by Christian Dywan (christian@imendio.com)
3818 * doc/hildon-docs.sgml: Add section for hildon-main.
3819 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3820 * src/Makefile.am: Add new hildon-main.[ch]
3821 * src/hildon-defines.h: Update the icon sizes.
3822 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3823 new library initialization files and register icon sizes.
3824 * src/hildon-main.h: New declarations.
3825 * src/hildon.h: Include hildon-main.h
3827 Add new initialization functions to the library. These methods
3828 will register the hildon specific icon sizes and can be used in the
3829 future for other hildon specific bits.
3831 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3833 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-window.c: (hildon_window_realize),
3836 (hildon_window_notify), (-hildon_window_update_title): Do not set
3837 the application name in the window title.
3839 Fixes: NB#89754 (Applications shouldn't display their names in the
3842 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-note-private.h:
3845 * src/hildon-note.c: (hildon_note_set_property),
3846 (hildon_note_get_property), (hildon_note_class_init),
3847 (hildon_note_init), (hildon_note_finalize),
3848 (hildon_note_new_confirmation_with_icon_name),
3849 (hildon_note_new_information_with_icon_name):
3851 No need to mark as deprecated the actual code. Revert
3852 to avoid missing symbols in widgets using deprecated API.
3854 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3856 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3858 * src/hildon-volumebar.h
3859 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3860 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3862 * src/hildon-helper.h
3863 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3864 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3866 * examples/Makefile.am:
3867 Deprecate hildon-insensitive-example
3869 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3871 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3873 * examples/hildon-pannable-area-buttons-scroll-example.c:
3874 Make all buttons finger height
3876 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3878 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3880 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3881 update the day model only if it is really required, and to avoid the
3882 full-reconstruction aproach. Now it only add or remove the required days.
3884 The purpose of this is avoid superfluous HildonTouchSelector::changed
3887 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3888 with strange parameters)
3890 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3892 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3894 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3895 the WINDOW_TYPE property.
3897 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3899 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3902 Fix dependency to allow parallel compilation with make -jX
3904 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3907 color frame and some minor tweaks to make it more consistent with
3910 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3911 highlighted but not visible)
3913 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3915 * examples/Makefile.am: Fixed typo in the Makefile.am.
3917 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3919 Reviewed the use of MAEMO_GTK define, now we add the define in the
3920 compilation line, and we also add it to the pc file.
3922 * configure.ac: Added MAEMO_GTK define to the compilation command
3923 and removed it from the config.h.
3925 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3926 do not have to take care about this define if the library was
3930 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3932 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3934 * examples/Makefile.am,
3935 * examples/hildon-pannable-area-buttons-scroll-example.c,
3936 * examples/hildon-pannable-area-gesture-signals-example.c,
3937 * examples/hildon-pannable-area-scroll-jump-example.c,
3938 * examples/hildon-pannable-area-tree-view-example.c:
3939 Renamed the pannable area examples, now they have more meaningful
3942 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3944 * src/hildon-touch-selector.c:
3945 (hildon_touch_selector_set_column_selection_mode): Used of
3946 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3947 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3948 to avoid re-seting the same selection mode.
3950 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3951 breaks HildonPickerDialog)
3953 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3955 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3956 conditional in the Makefile.am
3958 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3960 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3961 Remove unused methods.
3963 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3965 * src/hildon-button.c (hildon_button_init):
3966 Make button images center-aligned by default
3968 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3971 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3972 activated, we have to think about how to deal with both defines
3973 MAEMO_GTK and MAEMO_CHANGES.
3975 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3977 * examples/hildon-app-menu-example.c (create_menu): Make all
3978 buttons finger size.
3980 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3982 Fixed the compilation without maemo gtk adding ifdefs with
3983 MAEMO_GTK define to the code, we have to check this version more
3986 * examples/Makefile.am: Added control to avoid some examples that
3987 just make sense with maemo gtk.
3990 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3991 hildon modes with the define.
3993 * examples/hildon-edit-toolbar-example.c,
3994 (create_icon_view): Create the icon view without hildon-gtk
3995 helpers if we are not using maemo gtk.
3997 * src/hildon-touch-selector.c,
3998 (_create_new_column): Create the treeview without hildon-gtk
3999 helpers if we are not using maemo gtk.
4001 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pnnable-area.c,
4004 (hildon_pannable_area_dispose),
4005 (hildon_pannable_area_button_press_cb),
4006 (hildon_pannable_area_child_mapped),
4007 (hildon_pannable_area_add),
4008 (hildon_pannable_area_remove): Added code to control the position
4009 of the event_window when adding and removing children from the
4010 pannable. We have to raise the event window when the child is
4013 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4014 selection mode using custom widget inside pannable)
4016 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4018 * configure.ac: post release version bump
4019 * debian/changelog: version bump
4021 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4026 * configure.ac: bump version
4027 * debian/changelog: updates
4029 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4031 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4032 search mode, in order to avoid lose the focus on the treeview when
4033 a hw key (like enter) is pressed.
4035 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4036 in HildonDateSelector dialog)
4038 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4040 * debian/rules: Added --enable-maintainer-mode
4041 * Makefile.am: Added ACLOCAL_AMFLAGS
4043 This allows to properly regenerate the Makefiles if you modify the
4044 configure.ac or any Makefile.am.
4046 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4048 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4049 properties, not needed at all.
4051 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4055 * src/hildon-note.c: (hildon_note_set_property),
4056 (hildon_note_get_property), (hildon_note_class_init),
4057 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4058 (hildon_note_new_confirmation_add_buttons): Remove icons.
4059 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4060 (hildon_note_new_information_with_icon_name): Deprecate.
4061 (hildon_note_new_confirmation): Act directly, without calling
4062 the deprecated constructor.
4063 (hildon_note_new_information): Act directly, without calling
4064 the deprecated constructor.
4065 * src/hildon-note.h: Mark deprecate methods as such.
4066 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4067 not run tests on the deprecated methods if built with deprecation
4070 Fixes: NB#91688 (Never show icons in information notes/confirmation
4073 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4076 (hildon_app_menu_key_press): Remove leftover usage of the
4077 private structure in HildonAppMenu struct.
4078 * src/hildon-app-menu.h: Remove leftover private structure
4079 from the HildonAppMenu struct.
4081 Fixes a crasher when using the HildonAppMenu.
4083 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-picker-dialog.c: Use appropriate logical id
4086 for the default "Done" text.
4088 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4090 * configure.ac: post release version bump
4091 * debian/changelog: version bump
4093 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4095 Modified the way to scroll to the current selection just when the touch
4096 selector is shown on the screen, avoiding a g_idle. Added too a property
4097 to configure this behaviour. See hildon_pannable_area_jump_to_child
4098 documentation for more information.
4100 * src/hildon-touch-selector.c
4101 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4102 Added 'initial-scroll' property
4103 (hildon_touch_selector_set_property): Added
4104 (hildon_touch_selector_map): Removed as not required anymore
4105 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4106 only a concrete column, instead of iterate along all the columns
4108 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4113 * configure.ac: bump version
4114 * debian/changelog: updates
4116 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4118 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4119 compilation time warnings.
4121 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4123 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4124 the default value for HildonPannableArea::mov-mode to
4125 HILDON_PANNABLE_AREA_MODE_VERT.
4127 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4129 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4131 Reverting following commit:
4133 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-app-menu-private.h
4136 * src/hildon-app-menu.[ch]
4137 * src/hildon-button.[ch]
4138 * src/hildon-check-button.[ch]
4139 * src/hildon-entry.[ch]
4140 * src/hildon-pannable-area.[ch]
4141 * src/hildon-text-view.[ch]:
4142 Added private field to the object's structure.
4144 because it causes an ABI breakage. We will need to introduce these
4145 changes later at some point. See NB#91636 for an extensive
4146 explanation and status.
4148 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4150 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4152 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4153 remove special cases that are no longer necessary.
4155 Fixes: NB#91016 (Change toolbar sizes, simplification)
4157 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4160 is shown in the cancel note.
4162 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4165 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4166 (hildon_seekbar_init): Remove steppers, remove expose event.
4167 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4169 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4171 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4174 label font to "SmallSystemFont" for vertically arranged buttons.
4176 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4179 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-check-button.c
4182 (hildon_check_button_set_active, hildon_check_button_clicked):
4183 Don't access private parts directly, use getters instead.
4185 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4187 * src/hildon-check-button.c (hildon_check_button_new):
4188 Align the contents of the check button to the left.
4190 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4192 * src/hildon-pannable-area.c,
4193 (hildon_pannable_area_scroll_to),
4194 (hildon_pannable_area_jump_to),
4195 (hildon_pannable_area_scroll_to_child),
4196 (hildon_pannable_area_jump_to_child): Replace the mapped
4197 precondition of these functions with the realized, it is the
4198 correct state of the widget in this case. Changed the
4199 documentation according to this modification.
4201 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4203 Added a new EXTRA_CFLAGS option to add the deprecated define to
4204 the compilation command. This way we can avoid using the define in
4205 the documentation compilation.
4207 * configure.ac: Defined EXTRA_CFLAGS.
4209 * examples/Makefile.am:
4211 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4213 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4215 * src/hildon-picker-dialog.c:
4216 Defined a utility macro with the desired touch selector height
4217 Removed currently unused separator, and title_label variables from
4219 (hildon_picker_dialog_init): Removed code related to the creation
4220 of unused private variables title_label and separator.
4221 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4222 to ensure correct visualization of the touch selector inside the dialog.
4223 * src/hildon-touch-selector.c
4224 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4225 ensure a concrete height of the widget.
4227 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4230 * tests/Makefile.am:
4232 Remove spurious whitespaces.
4234 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4236 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4237 compilation warning after the cancel button removal.
4239 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4241 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4243 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4244 Makefile.am, that way we can choose not to compile some examples
4245 and tests of the deprecated widgets.
4247 * examples/Makefile.am: Divided the sources in deprecated and
4250 * src/Makefile.am: Added undef statement of the deprecated
4251 symbol to the enums file generation process.
4253 * src/hildon-color-chooser-dialog.c
4254 * src/hildon-color-chooser-dialog.h
4255 * src/hildon-color-button.c
4256 * src/hildon-color-button.h
4257 * src/hildon-color-chooser.c
4258 * src/hildon-color-chooser.h
4259 * src/hildon-controlbar.c
4260 * src/hildon-controlbar.h
4261 * src/hildon-date-editor.c
4262 * src/hildon-date-editor.h
4263 * src/hildon-hvolumebar.c
4264 * src/hildon-hvolumebar.h
4265 * src/hildon-private.c
4266 * src/hildon-private.h
4267 * src/hildon-range-editor.c
4268 * src/hildon-range-editor.h
4269 * src/hildon-seekbar.c
4270 * src/hildon-seekbar.h
4271 * src/hildon-time-editor.c
4272 * src/hildon-time-editor.h
4273 * src/hildon-time-picker.c
4274 * src/hildon-time-picker.h
4275 * src/hildon-volumebar.c
4276 * src/hildon-volumebar.h
4277 * src/hildon-vvolumebar.c
4278 * src/hildon-vvolumebar.h
4279 * src/hildon-bread-crumb-trail.h
4280 * src/hildon-bread-crumb-trail.c
4281 * src/hildon-calendar-popup.c
4282 * src/hildon-calendar-popup.h
4283 * src/hildon-weekday-picker.c:
4284 * src/hildon-weekday-picker.h:
4285 * src/hildon-bread-crumb-widget.c:
4286 * src/hildon-bread-crumb-widget.h:
4287 * src/hildon-bread-crumb.c:
4288 * src/hildon-bread-crumb.h:
4289 * src/hildon-calendar.c:
4290 * src/hildon-calendar.h:
4291 * src/hildon-caption.c:
4292 * src/hildon-code-dialog.c:
4293 * src/hildon-code-dialog.h:
4294 * src/hildon-font-selection-dialog.c:
4295 * src/hildon-font-selection-dialog.h:
4296 * src/hildon-get-password-dialog.c:
4297 * src/hildon-get-password-dialog.h:
4298 * src/hildon-login-dialog.c:
4299 * src/hildon-login-dialog.h:
4300 * src/hildon-number-editor.c:
4301 * src/hildon-number-editor.h:
4302 * src/hildon-set-password-dialog.c:
4303 * src/hildon-set-password-dialog.h:
4304 * src/hildon-sort-dialog.c:
4305 * src/hildon-sort-dialog.h: This is the list of deprecated
4308 * src/hildon-touch-selector.c:
4309 * src/hildon-window.c: Added undef statement to avoid compilation
4312 * tests/Makefile.am: Divided the sources in deprecated and
4315 * tests/check_test.c,
4316 (configure_tests): Marked the deprecated code that was adding
4317 suites with deprecated tests.
4319 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4321 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-touch-selector.c: (_default_print_func): Do not
4324 duplicate a string returned by gtk_tree_model_get(), it is already
4327 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4330 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4332 * src/hildon-pannable-area.c
4333 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4334 method, it had problems when adding a widget with viewport the
4335 second time. Now checks if it already has a viewport and uses it.
4337 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4340 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4342 * src/hildon-pannable-area.c,
4343 (hildon_pannable_area_scroll_to),
4344 (hildon_pannable_area_jump_to),
4345 (hildon_pannable_area_scroll_to_child),
4346 (hildon_pannable_area_jump_to_child): Added a precondition to the
4347 scroll and jump to functions: the widget must be mapped before we
4348 can safely call these functions. We have also added documentation
4349 to the functions to explain how to use them in this situation.
4352 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4354 Reviewed the threading handling of the pannable widget, we have
4355 used the gdk_threads_add_timeout function instead of the usual
4356 glib handlers. This avoids some problems with the threads.
4358 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4359 (hildon_pannable_area_initial_effect),
4360 (hildon_pannable_area_scroll_indicator_fade),
4361 (hildon_pannable_area_button_press_cb),
4362 (hildon_pannable_area_timeout),
4363 (hildon_pannable_area_motion_notify_cb),
4364 (hildon_pannable_area_button_release_cb),
4365 (hildon_pannable_area_scroll_cb),
4366 (hildon_pannable_area_scroll_to): Removed the
4367 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4368 gdk_threads_add_timeout.
4370 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4372 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4377 * configure.ac: bump version
4378 * debian/changelog: updates
4380 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4382 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4383 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4384 * src/hildon-color-chooser-dialog.c:
4385 (hildon_color_chooser_dialog_init):
4386 * src/hildon-font-selection-dialog.c:
4387 (hildon_font_selection_dialog_init):
4388 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4390 Remove all cancel/close-like dialogs, as these are not going to be
4393 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4395 * src/hildon-note.c: (hildon_note_rebuild),
4396 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4399 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4401 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4404 sure all buttons are shown, even the Cancel/Close-like ones.
4406 Fixes: NB#90861 (Custom Confirmation dialogs should be
4407 protected from cancel button removal)
4409 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4411 * debian/control: Change libhildon1-examples dependency from libhildon1
4413 * debian/libhildon1-examples.install
4415 * Makefile.am: Modified the final install directory for the examples on
4416 package libhildon1-examples
4417 * Makefile.static: Update clean target in order to remove all the binary
4420 Changes suggested by Claudio after review new libhildon1-examples package
4422 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4425 * src/hildon-touch-selector.c: Ditto.
4427 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4429 * debian/control: Added new package libhildon1-examples, in order to pack
4430 the current hildon examples as documentation
4431 * debian/rules: Not to compress .c files, modify some includes on the
4432 examples (as normally are compiled locally, but when installed it will
4433 require to include the installed libhildon1 library), and rename
4435 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4436 install all the example files on the new example package
4437 * examples/Makefile.static: Added static makefile that can be used to
4438 compile the examples, once installed the new example package
4439 * examples: Most of the examples were modified in order to grant that
4440 all use only '#include "hildon.h"', in order to be easy to prepare
4441 it on the example package
4443 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4446 * debian/libhildon1-dev.install
4447 * debian/libhildon1-doc.install:
4448 Move all gtk-doc files to a separate libhildon1-doc package.
4450 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4452 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4454 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4456 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4458 * debian/rules: Fixed a error in order to avoid unnecessary calls
4459 to autogen.sh on package building
4461 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4463 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4465 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4470 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-picker-button.c
4473 (hildon_picker_button_finalize):
4474 Free priv->done_button_text
4476 * src/hildon-time-button.c
4477 (hildon_time_button_set_time)
4478 * src/hildon-picker-button.c
4479 (hildon_picker_button_clicked)
4480 (hildon_picker_button_selector_selection_changed)
4481 (hildon_picker_button_set_selector)
4482 * src/hildon-date-button.c
4483 (hildon_date_button_set_date):
4484 Free strings returned by hildon_touch_selector_get_current_text()
4486 * src/hildon-button.c (hildon_button_construct_child):
4487 Fix leaks in priv->image and priv->label_box
4489 Fixes: NB#90535 (Memory leak in picker button)
4491 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4493 * src/hildon-button.c: (hildon_button_get_property): Do not access
4494 private elements directly, use getters instead.
4496 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4498 * src/hildon-app-menu-private.h
4499 * src/hildon-app-menu.c
4500 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4501 Store the menu's parent window.
4503 * src/hildon-stackable-window.c
4504 (hildon_stackable_window_toggle_menu)
4505 (hildon_stackable_window_finalize):
4506 Set the menu's parent window when the menu is shown, unset it when
4509 * src/hildon-app-menu.c
4510 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4511 (hildon_app_menu_class_init):
4512 Send unhandled keyboard accelerators to the parent window.
4514 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-stackable-window.c
4517 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4519 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4521 * configure.ac: post release version bump
4523 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4526 * configure.ac: Bump version
4527 * debian/changelog: Updates
4528 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4531 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4533 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4536 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4537 GtkMenu with Hildon style.
4539 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/hildon-picker-button.c:
4542 (hildon_picker_button_set_done_button_text): Set the dialog's
4543 done button text here as well.
4545 Fixes: NB#90232 (Picker button does not set the label on done button
4546 for the second time)
4548 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4550 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4553 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-app-menu.c (hildon_app_menu_insert)
4556 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4557 the HildonAppMenu to be activatable using keyboard accelerators
4558 when the menu is not being shown.
4560 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4562 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-stackable-window.c
4565 (hildon_stackable_window_show):
4566 Don't hide old windows automatically when new windows are shown:
4567 this is now a task for the window manager.
4568 (hildon_stackable_window_class_init)
4569 (hildon_stackable_window_hide):
4570 Remove windows from the stack everytime they're hidden.
4571 (hildon_stackable_window_realize):
4572 Don't change the _NET_WM_WINDOW_TYPE property. Use
4573 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4574 it as a stackable window.
4576 * src/hildon-program.c
4577 (hildon_program_pop_window_stack):
4578 Just hide the window to remove it from the stack.
4579 (hildon_program_go_to_root_window):
4580 Don't call gtk_widget_show(), this is now a task for the window
4583 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4585 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4587 * src/hildon-button.c
4588 (hildon_button_construct_child):
4589 Don't pack anything in the button until text or image are
4590 set. This allows adding a custom child after creating the button
4591 with hildon_button_new().
4592 (hildon_button_finalize, hildon_button_class_init)
4593 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4594 alignment and the label box even when they're not packed in the
4597 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4599 * src/hildon-touch-selector.h:
4600 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4601 currently the type definition was using GTK_TYPE_VBOX
4602 * src/hildon-touch-selector.c:
4603 Added some implementation notes in order to clarify that any other widget
4604 added without the column related API will not be included on the
4605 selection logic, and how the widget is freed, as some people ask about
4607 (hildon_touch_selector_remove): Reimplemented in order to free properly
4608 the column related data when you remove the private hbox.
4609 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4610 to get a proper HildonTouchSelectorColumn documentation
4612 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-touch-selector-entry.c:
4615 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4616 text in the GtkEntry and there is no item selected. Fixes a
4619 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-app-menu-private.h
4622 * src/hildon-app-menu.[ch]
4623 * src/hildon-button.[ch]
4624 * src/hildon-check-button.[ch]
4625 * src/hildon-entry.[ch]
4626 * src/hildon-pannable-area.[ch]
4627 * src/hildon-text-view.[ch]:
4628 Added private field to the object's structure.
4630 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4632 * configure.ac: post-release version bump
4634 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4638 * configure.ac: pre-release version bump
4640 * debian/changelog: updates.
4642 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4645 Disconnect the handler for HildonTouchSelector::changed.
4647 (hildon_picker_button_selector_selection_changed): Update the button
4648 value if the selection change was not triggered by the
4651 (hildon_picker_button_set_selector): connect to
4652 HildonTouchSelector::changed.
4654 Fixes: NB#89650 (Picker button is not updated, when selection in
4655 selector has changed)
4657 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4659 * src/hildon-picker-dialog.c
4660 (hildon_picker_dialog_realize): Removed as not required
4661 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4662 * src/hildon-picker-button.c
4663 (_current_selector_empty): New function, checks if the selector is empty
4664 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4665 if the current selector is empty, in order to avoid to show the dialog
4666 close the dialog in this case (and shows a g_warning).
4668 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4670 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4672 * src/hildon-pannable-area.c,
4673 (hildon_pannable_area_scroll): Added clause to stop movement when
4674 the child of pannable is smaller than one page.
4675 (hildon_pannable_area_scroll_to): Added conditions to avoid
4676 starting the scrolling movement if the child is smaller than one
4677 page, the complete child is in the screen, we do not have to move.
4679 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4681 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4683 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4684 this is managed automatically by the widget when the size of the
4687 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4689 * src/hildon-picker-button.c
4690 (hildon_picker_button_set_done_button_text): Make a copy of the
4691 text, and free the previous value.
4693 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4695 * src/hildon-touch-selector-entry.c:
4696 (hildon_touch_selector_entry_print_func): Return the selected row's
4697 text if the entry is empty.
4699 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4702 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4706 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4709 * src/hildon-check-button.h
4710 * src/hildon-check-button.c
4711 * examples/hildon-check-button-example.c:
4712 HildonCheckButton is now a new widget. 'toggled' signal added.
4714 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4716 * src/hildon-program-private.h
4717 * src/hildon-program.c (hildon_program_init)
4718 (hildon_program_finalize): Removed unused variables group_leader
4719 and name from HildonProgramPrivate.
4721 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-check-button.c (hildon_check_button_set_active)
4724 (hildon_check_button_get_active, hildon_check_button_new): Use
4725 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4727 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4729 * src/hildon-touch-selector.h
4730 (hildon_touch_selector_set_column_attributes): added deprecation
4731 guard HILDON_DISABLE_DEPRECATED
4732 * src/hildon-time-selector.c
4733 (hildon_time_selector_set_time)
4734 (hildon_time_selector_get_time): Fixed a typo on documentation
4735 * src/hildon-touch-selector.c: update HildonTouchSelector and
4736 HildonTouchSelectorColumn documentation
4737 * src/hildon-touch-selector-entry.c: update "text-column" property
4739 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4740 to be added to the general documentation.
4742 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4744 * examples/hildon-pannable-area-example-4.c,
4746 * examples/hildon-pannable-area-example.c,
4747 (main): Modified the code in order to use the container add, with
4748 viewport treeviews could have problems if they are really big.
4750 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4752 * src/hildon-weekday-picker.c,
4753 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4754 the agreement regarding deprecation in the library.
4756 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4758 * examples/hildon-picker-button-multicolumn-example.c:
4759 (main): Use custom "done" button text.
4761 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4762 (hildon_picker_button_set_property),
4763 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4764 (hildon_picker_button_init),
4765 (+hildon_picker_button_get_done_button_text),
4766 (+hildon_picker_button_set_done_button_text): New methods to customize
4767 the "done" button label in the launched HildonPickerDialog. Also,
4770 * src/hildon-picker-button.h: add the public API.
4772 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4774 * src/hildon-date-selector.h:
4775 * src/hildon-picker-dialog.h:
4776 * src/hildon-time-selector.h:
4777 * src/hildon-touch-selector-column.h:
4778 * src/hildon-touch-selector.h:
4780 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4781 declarations. Fixes gtk-doc warnings.
4783 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4785 * src/hildon-picker-dialog.h
4786 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4787 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4789 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4790 long text is set as label for done button)
4792 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4794 * src/hildon-dialog.c (hildon_dialog_add_button):
4795 Set fixed width to all buttons in the HildonDialog.
4797 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4799 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4801 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4802 Set widget name using class name plus "-finger" or "-thumb".
4804 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4807 'clicked' when the state of the button is manually changed.
4809 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4811 * src/hildon-app-menu.c (hildon_app_menu_realize)
4812 (hildon_app_menu_unrealize, hildon_app_menu_init)
4813 (hildon_app_menu_class_init, item_visibility_changed):
4814 Change the menu layout when the size of the screen changes.
4815 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4816 Show warning only when changing the number of colums using the
4819 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4821 * debian/compat: Set to 5
4822 * debian/control: Update dependencies.
4823 * debian/libhildon1-dbg.install: Remove.
4824 * debian/libhildon1-dev.install: Update according to cdbs paths.
4825 * debian/libhildon1.install: Update according to cdbs paths.
4826 * debian/rules: Switch to cdbs.
4828 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4830 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4831 'item' variable renamed to 'filter'
4833 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-app-menu.c (hildon_app_menu_insert)
4836 (hildon_app_menu_add_filter, remove_item_from_list)
4837 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4838 Don't leak hidden items when the menu is destroyed.
4840 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-app-menu.c (hildon_app_menu_insert)
4843 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4844 (hildon_app_menu_set_columns, item_visibility_changed)
4845 (filter_visibility_changed, hildon_app_menu_repack_filters)
4846 (hildon_app_menu_repack_items):
4847 Repack items and filters separately.
4849 Don't repack all items, change only the ones that are needed to
4852 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4854 * src/Makefile.am: added hildon-touch-selector-column.h
4856 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * src/hildon-touch-selector.c: added the property "text-column" to the
4859 class HildonTouchSelectorColumn, and related get/set functions
4860 (_default_printf_func): updated to use "text-column" property
4861 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4862 "text-column" in his documentation, as this is now included on
4863 HildonTouchSelectorColumn. The get/set_property can still be used,
4864 working as a wrapper to the concrete column "text-column" property
4865 (_text_column_modified): callback added in order to handle the signal
4866 "notify::text-column" of the concrete HildonTouchSelectorColumn
4867 (hildon_touch_selector_entry_get_text_column)
4868 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4869 modified in order to use the HildonTouchSelectorColumn "text-column"
4871 * src/hildon-time-selector.c:
4872 * src/hildon-date-selector.c:
4873 * examples/hildon-touch-selector-example.c
4874 * examples/hildon-touch-selector-multi-cells-example.c
4875 * examples/hildon-picker-button-multicolumn-example.c
4876 Set the right value to "text-column" property on the creation of a new
4877 column using hildon_touch_selector_append_column()
4879 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4881 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-app-menu.c
4884 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4885 updating the layout of the menu, don't create all widgets again,
4886 just repack the items in their new places.
4888 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4890 * src/hildon-time-selector.c
4891 (hildon_time_selector_get_time)
4892 (hildon_time_selector_set_time)
4893 Added documentation of these public methods
4895 * src/hildon-date-button.h
4896 * src/hildon-touch-selector-column.h
4897 * src/hildon-time-button.h
4898 * src/hildon-picker-dialog.h
4899 * src/hildon-time-selector.h
4900 * src/hildon-picker-button.h
4901 * src/hildon-touch-selector.h
4902 * src/hildon-time-picker.h
4903 * src/hildon-date-selector.h
4904 * src/hildon-touch-selector-entry.h
4905 Modified in order to use hildon-widgets code style
4907 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4909 Added deprecated support to the compilation process using
4910 HILDON_DISABLE_DEPRECATED
4912 * configure.ac: Added the --disable-deprecated to the configure
4915 * src/hildon-weekday-picker.c:
4916 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4917 to use the deprecated support. We will update the other deprecated
4918 widgets status in a new patch.
4920 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4922 * configure.ac: Fixed typo with fatal warnings support, the
4923 variable name was not correct
4925 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4927 * src/hildon-app-menu.c
4928 * src/hildon-program.c: Update documentation.
4930 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4932 * configure.ac: Post-release version bump.
4934 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4939 * configure.ac: Pre-release version bump.
4940 * debian/changelog: Updates.
4942 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4944 * NEWS: Update news for previous releases.
4946 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4948 * examples/hildon-touch-selector-multi-cells-example.c:
4949 (create_selector): Update the example to use
4950 hildon_touch_selector_append_column() with a NULL renderer and set
4951 the renderers later.
4952 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4953 passed a NULL renderer. This is documented behavior now.
4955 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4956 This must be used if the developer wants full control on the layout of
4957 the renderers to be added to the column.
4959 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4961 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4963 * src/hildon-touch-selector.c: Documentation fixes.
4965 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-wizard-dialog-private.h: Remove image and box.
4968 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4969 (hildon_wizard_dialog_set_property), (response): Completely remove
4970 image/icon support, and the containers required for the layout.
4972 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4974 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-app-menu.c: Updated documentation.
4978 * src/hildon-stackable-window.c
4979 (hildon_stackable_window_set_main_menu): Unref the old menu after
4980 ref'ing the new one.
4982 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-stackable-window.c
4985 (hildon_stackable_window_set_main_menu): Unref the previous menu
4986 instead of destroying it.
4988 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4989 floating reference and set has_user_ref_count to FALSE to make
4990 HildonAppMenu act like a normal ref-counted widget and not a
4993 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4996 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4998 * src/hildon-touch-selector-column.h: new file
4999 * src/hildon-touch-selector.h
5000 * src/hildon-touch-selector.c
5001 Implemented GtkCellLayout interface, in order to allow to configure
5002 the cell layout on each individual selector column
5003 (hildon_touch_selector_set_column_attributes): marked as deprecated
5004 * examples/hildon-touch-selector-multi-cells-example.c
5005 Example of how to use the GtkCellLayout interface on the selector
5007 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5009 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-app-menu.h
5012 * src/hildon-app-menu.c
5013 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5014 (hildon_app_menu_append, hildon_app_menu_prepend):
5015 New methods to prepend, insert and move items in the menu.
5017 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-wizard-dialog.c:
5021 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5023 (create_title): Update logical IDs and related code.
5024 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5026 * src/hildon-wizard-dialog.h: Note that
5027 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5028 point, as it is not used anymore.
5030 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5032 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-note.c:
5035 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5036 shown. Do not display an icon in confirmation notes nor information
5038 (hildon_note_set_button_text): Update logical ID for cancel button.
5040 Fixes: NB#88850 (Update HildonNote button strings + signals)
5042 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5044 * src/hildon-stackable-window.c
5045 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5047 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-app-menu-private.h
5050 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5051 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5052 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5053 temporary property 'columns' to change the number of columns.
5055 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5057 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5059 * examples/hildon-note-example.c: (on_information_clicked),
5060 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5061 debugging information.
5062 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5064 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5065 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5066 in order to close: this will be handled by the WM from now on.
5068 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5070 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-app-menu-private.h
5073 * src/hildon-app-menu.c
5074 (hildon_app_menu_append, hildon_app_menu_add_filter)
5075 (button_visibility_changed, hildon_app_menu_apply_style)
5076 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5077 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5078 layout everytime a button (item or filter) is shown or hidden.
5080 * src/hildon-stackable-window.c
5081 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5084 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5086 * src/hildon-touch-selector.c:
5087 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5088 that the treeview inside the touch selector is in fremantle hildon mode
5089 * examples/hildon-date-button-example.c
5090 * examples/hildon-picker-button-multicolumn-example.c
5091 * examples/hildon-touch-selector-entry-example.c
5092 * examples/hildon-touch-selector-example.c
5093 * examples/hildon-time-button-example.c
5094 * examples/hildon-picker-button-example.c:
5095 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5097 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5099 * examples/hildon-text-view-example.c: (main): Remove the
5100 gtkrc bits, now handled by the theme.
5102 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5107 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5109 * po/Makefile.am: Install properly the mo files.
5110 * po/en_GB.po: Update translation, to ease testing purposes.
5112 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5114 * examples/hildon-picker-button-example.c: (main): Select an item
5115 in the selector before setting it to the button.
5117 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5120 Update button's value if the selector has an item active.
5122 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5123 'value' with the selector)
5125 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5127 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5128 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5129 (hildon_picker_button_class_init): Plug the finalize method.
5130 (hildon_picker_button_set_selector): If there's a previously set
5131 selector, unref'it before setting a new one.
5133 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5134 HildonTouchSelector)
5136 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5138 * src/hildon-touch-selector-entry.c:
5139 (hildon_touch_selector_entry_changed): Check if there is no text
5140 selected before setting the entry text.
5143 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5145 * src/hildon-touch-selector.h
5146 * src/hildon-touch-selector.c
5147 (hildon_touch_selector_get_active)
5148 (hildon_touch_selector_set_active): New methods to set/get the
5149 index of the selected item.
5151 * src/hildon-picker-button.h
5152 * src/hildon-picker-button.c
5153 (hildon_picker_button_get_active)
5154 (hildon_picker_button_set_active): New methods to set/get the
5155 index of the selected item.
5157 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5159 * configure.ac: post-release version bump.
5161 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5165 * configure.ac: Pre-release version bump.
5166 * debian/changelog: Updates.
5167 * debian/control: Add myself as maintainer and depend on l10n
5170 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5172 * src/hildon-window.c
5173 (hildon_window_set_main_menu)
5174 * src/hildon-stackable-window.c
5175 (hildon_stackable_window_set_main_menu):
5176 Updated documentation.
5178 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5180 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5181 Don't free selector->priv manually.
5184 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5187 (hildon_gtk_window_set_progress_indicator):
5188 * src/hildon-gtk.h: Added the new API
5189 hildon_gtk_window_set_progress_indicator, it changes the state of
5190 the window progress hint.
5192 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-button.c
5195 * src/hildon-stackable-window.c: Minor documentation updates.
5197 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5199 * src/hildon-stackable-window.c: Updated documentation.
5201 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5203 * src/hildon-defines.h: Update margins definitions
5204 to the Fremantle sizes.
5207 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5209 * src/hildon-touch-selector.c,
5210 (_hildon_touch_selector_set_model): Cleaning the code after
5211 review, removed g_print and #if 0 from the code.
5213 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5215 * src/hildon-edit-toolbar.c: Update documentation.
5217 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-check-button.h
5220 * src/hildon-check-button.c
5221 (hildon_check_button_set_label, hildon_check_button_get_label)
5222 * examples/hildon-check-button-example.c
5223 (button_clicked_cb):
5224 Removed deprecated methods.
5226 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-text-view.c:
5229 Add sample code to the documentation.
5231 * src/hildon-entry.h
5232 * src/hildon-text-view.h:
5233 Minor cosmetic changes.
5235 * src/hildon-entry.c:
5236 Add sample code to the documentation.
5237 (hildon_entry_init, hildon_entry_refresh_contents):
5238 Don't allow NULL values in the placeholder.
5240 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5242 * doc/hildon-docs.sgml
5244 * examples/Makefile.am
5245 * examples/hildon-text-view-example.c
5247 * src/hildon-text-view.c
5248 * src/hildon-text-view.h
5250 New HildonTextView widget, with example.
5252 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5254 * po/POTFILES.in: Add missing files with translatable strings.
5255 Partially fixes NB#88287.
5257 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5259 * examples/hildon-pannable-area-example-2.c: (main): No need to
5260 set the cellrenderer height inside hildon touch lists, the theme does
5263 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5265 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5266 they are integrated in the theme.
5268 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5270 * examples/hildon-entry-example.c: Update the example adding
5271 widgets to modify the text and the placeholder of the HildonEntry.
5273 * src/hildon-entry.c: Show the placeholder everytime the widget
5274 is empty and loses the focus.
5276 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5278 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5280 * src/hildon-pannable-area.c,
5281 (hildon_pannable_area_size_request): Fixed bug in height
5282 requisition, avoid increasing size and add border twice.
5284 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5286 * configure.ac: postrelease version bump.
5288 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5292 * configure.ac: Prerelease version bump.
5293 * debian/changelog: update.
5294 * debian/rules: make -dbg package contain useful debugging symbols.
5296 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-dialog.h
5299 * src/hildon-dialog.c
5300 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5301 New methods to add buttons with finger size.
5302 (hildon_dialog_new_with_buttons):
5303 Create buttons with finger size.
5305 * examples/hildon-dialog-example.c (main): Use HildonDialog
5306 methods to add buttons.
5308 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-entry.c: Updated HildonButton documentation.
5312 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5315 button value label with (FALSE, FALSE) to prevent NB#88126 from
5318 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5320 * examples/hildon-pannable-area-example.c,
5321 (main): Removed examples panning a vbox inside a pannable
5322 area. Check bug NB#87965
5324 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5326 Patch contributed by Kris Rietveld (kris@imendio.com)
5328 * src/hildon-pannable-area.c,
5329 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5330 get_size and get_position, this saves an X server roundtrip.
5332 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5334 * doc/hildon-docs.sgml
5336 * examples/Makefile.am
5337 * examples/hildon-entry-example.c
5339 * src/hildon-entry.c
5340 * src/hildon-entry.h
5342 New HildonEntry widget, with example.
5344 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5346 * src/hildon-button.c (hildon_button_construct_child): Pack the
5347 image with expand == fill == FALSE. This is a workaround for a bug
5350 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5352 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5353 labels for the text column, to make it more look more dynamic.
5355 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5357 * src/hildon-time-selector.c
5358 Define gettext auxiliar macro N_
5359 (_create_minutes_model)
5360 (_create_hours_model)
5361 (_create_ampm_model): use of strftime in order to fill the model
5362 * src/hildon-date-selector.c
5363 (hildon_date_selector_finalize):
5364 (_locales_init): remove the logic related to get the name of the months
5365 using nl_langinfo, as it is not required anymore
5367 (_create_year_model)
5368 (_create_month_model)
5369 (_update_day_model): use of strftime in order to fill the model properly
5372 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5374 * src/hildon-button.h
5375 * src/hildon-button.c (hildon_button_get_image): New method to
5378 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-touch-selector.c:
5381 (hildon_touch_selector_remove_column): Remove from the correct parent
5382 and also remove the list element and free it.
5385 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5387 * src/hildon-time-selector.c
5388 (_create_hours_model): change the range on 12h ampm format in order to use
5389 a 12-11 range instead of previous 01-12 range
5390 (hildon_time_selector_set_time): change the way to select the current time
5391 on 12h ampm format, due the change on the range
5392 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5395 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5397 * src/hildon-touch-selector.c
5398 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5399 in order to allow use this function on multiple row selection mode if
5400 the column is different that the first one
5403 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5405 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5406 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5408 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5410 * src/hildon-date-selector.h: clean some comments, now on the .c
5411 * src/hildon-date-selector.c
5412 (hildon_date_selector_select_month): first implementation
5413 (hildon_date_selector_select_day): added documentation, reimplemented
5414 using hildon_date_selector_select_current_date to avoid repeat code
5417 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5419 Reviewed interaction logic based on device experiences, refactored
5422 * src/hildon-pannable-area.c,
5423 (hildon_pannable_area_class_init): Updated default vmax speed.
5424 (hildon_pannable_area_calculate_velocity): Added this function, it
5425 avoids duplicate valocity calculation. Adjusted calculation to
5426 avoid problems with zero dist events.
5428 (hildon_pannable_area_motion_notify_cb): Now we use the
5429 calculate_velocity function.
5431 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5433 * src/hildon-date-selector.c
5434 (hildon_date_selector_select_current_date): fix the day range check
5435 as it failed using the last day of the current month
5438 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5440 * src/hildon-touch-selector.c
5441 (hildon_touch_selector_get_num_columns): added a parameter validation
5444 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5446 * examples/Makefile.am
5447 * examples/hildon-edit-toolbar-example.c: Example of the
5448 HildonEditToolbar widget.
5450 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5452 * configure.ac: postrelease version bump.
5454 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5458 * configure.ac: prerelease version bump.
5459 * debian/changelog: update.
5461 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5463 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5464 renderer to display stock icons in the touch list. Also, set the sizes
5465 to the recommended in the style guide.
5467 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5468 * src/hildon-touch-selector.h
5469 (hildon_touch_selector_set_active_iter): renamed, now is
5470 hildon_touch_selector_select_iter
5471 (hildon_touch_selector_get_active_iter): renamed, now is
5472 hildon_touch_selector_get_selected
5473 (hildon_touch_selector_unselect_iter): added
5474 * src/hildon-touch-selector.c
5475 Update after API modification (methods renamed)
5476 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5477 order to avoid problems selecting multiple elements on the column
5478 (hildon_touch_selector_unselect_iter): added the implementation
5479 * src/hildon-time-selector.c
5480 * src/hildon-date-selector.c
5481 * src/hildon-touch-selector-entry.c
5482 Update methods calls after hildon-touch-selector.h API modification (methods
5485 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-stackable-window.c
5488 (hildon_stackable_window_finalize): Call the parent class's finalize.
5490 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5492 * examples/hildon-touch-selector-example.c: (create_selector): Use
5493 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5496 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5498 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5499 set a cell background color, to respect theming.
5501 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5503 * doc/hildon-docs.sgml
5506 * src/hildon-edit-toolbar.c
5507 * src/hildon-edit-toolbar.h
5508 * src/hildon.h: New HildonEditToolbar widget.
5510 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5512 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5515 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5516 * src/hildon-touch-selector.c
5517 (_create_new_column): use g_object_set instead of two g_object_set_property
5519 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5520 * src/hildon-touch-selector.c
5521 (_create_new_column): use of hildon_gtk_tree_view_new to create
5522 the treeview, instead of use directly g_object_new
5523 (_create_new_column): update the property name "vindicator-mode" for the
5524 new one "vscrollbar-policy"
5525 * examples/hildon-date-button-example.c
5526 * examples/hildon-picker-button-multicolumn-example.c
5527 * examples/hildon-touch-selector-entry-example.c
5528 * examples/hildon-touch-selector-example.c
5529 * examples/hildon-time-button-example.c
5530 * examples/hildon-picker-button-example.c
5531 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5532 to all the treeviews inside a pannable area.
5534 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5536 * src/hildon-button.h
5537 * src/hildon-button.c (hildon_button_init)
5538 (hildon_button_set_arrangement, hildon_button_set_alignment)
5539 (hildon_button_set_title_alignment)
5540 (hildon_button_set_value_alignment)
5541 (hildon_button_set_image_alignment)
5542 (hildon_button_construct_child): New methods to set the alignment
5543 of the individual components of the button (title, value,
5544 image). Also, new method to alter the xscale and yscale properties
5545 of the GtkAlignment inside the button, so more complex layouts can
5548 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5550 * src/hildon-button.c (hildon_button_style_set)
5551 (hildon_button_class_init, hildon_button_set_arrangement)
5552 (hildon_button_construct_child): Apply style properties
5553 correctly. Use the 'image-spacing' style property too.
5555 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5558 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5561 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5563 * src/hildon-pannable-area.c,
5564 (hildon_pannable_area_size_request): Fixed problem with
5565 pannable-area size_request.
5567 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5569 Added management for the grab-focus to a child widget, like a
5570 range, we need to fade out the scrollbar when releasing.
5572 * src/hildon-pannable-area.c,
5573 (hildon_pannable_area_init): Connected the grab-focus signal to
5575 (hildon_pannable_area_grab_notify): Added this function in order
5576 to manage the situation when the grab-focus ends. We have to
5577 fade-out the scrollbar.
5579 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-app-menu.c: Minor documentation update.
5583 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5585 * src/hildon-app-menu.c
5586 * examples/hildon-app-menu-example.c (create_menu): Update
5587 examples and documentation to explain how to connect callbacks.
5589 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5591 * examples/hildon-button-example.c
5592 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5593 hildon_stackable_window_new instead of gtk_window_new
5595 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5597 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5598 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5599 (hildon_pannable_area_set_property),
5600 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5601 (hildon_pannable_area_unrealize),
5602 (hildon_pannable_area_size_request),
5603 (hildon_pannable_area_size_allocate),
5604 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5605 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5606 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5607 (hildon_pannable_area_initial_effect),
5608 (hildon_pannable_area_redraw),
5609 (hildon_pannable_area_scroll_indicator_fade),
5610 (hildon_pannable_area_expose_event),
5611 (hildon_pannable_area_get_topmost), (synth_crossing),
5612 (hildon_pannable_area_button_press_cb),
5613 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5614 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5615 (hildon_pannable_area_motion_notify_cb),
5616 (hildon_pannable_area_button_release_cb),
5617 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5618 (hildon_pannable_area_remove),
5619 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5620 chage the code layout to a more GtkWidget like. Review the use of
5623 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5625 * examples/hildon-pannable-area-example-4.c,
5626 (main): Modified the name of the hindicator_mode to
5629 * src/hildon-pannable-area.c,
5630 (hildon_pannable_area_class_init),
5631 (hildon_pannable_area_motion_notify_cb),
5632 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5633 we have reduced the amount of signals and managed reviewed its
5634 rationale. Changed the default decelerate value.
5636 (hildon_pannable_area_add),
5637 (hildon_pannable_area_redraw): Refactored functions.
5639 (hildon_pannable_area_init),
5640 (hildon_pannable_area_get_property),
5641 (hildon_pannable_area_set_property):
5642 (hildon_pannable_draw_vscroll),
5643 (hildon_pannable_draw_hscroll),
5644 (hildon_pannable_area_initial_effect),
5645 (hildon_pannable_area_expose_event),
5646 (hildon_pannable_area_scroll),
5647 (hildon_pannable_area_button_press_cb),
5648 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5649 and vindicator_mode with hscrollbar_policy and
5650 vscrollbar_policy. Replaced hscroll and vscroll with
5651 hscroll_visible and vscroll_visible.
5653 (hildon_pannable_area_refresh): Refactor the function, remove
5654 variables and check the calls to this function, added resize
5655 conditions in case the children change their layout.
5657 (hildon_pannable_area_size_request): Added more detailed
5658 size_request calculation.
5661 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5663 * src/hildon-color-chooser.c
5664 (init_borders): use the correct gtk_border_free instead of g_free, to
5665 avoid a crash when this widget is used (ie: the three color selection
5668 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5670 * src/hildon-check-button.c,
5671 (hildon_check_button_set_active): Fixed problem when setting the
5672 active value, the widget was not redrawn.
5674 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5676 * src/hildon-pannable-area.c,
5677 (hildon_pannable_area_refresh),
5678 (hildon_pannable_area_scroll),
5679 (hildon_pannable_area_motion_notify_cb): Small code style change.
5681 (hildon_pannable_area_class_init): Default initial_hint set to
5682 FALSE, it is not in the specs.
5684 (hildon_pannable_area_initial_effect),
5685 (hildon_pannable_area_expose_event),
5686 (hildon_pannable_area_map),
5687 (hildon_pannable_area_init): Moved the launching point of the
5688 initial effect, it was in map but the sizes where not correct in
5689 that method so we do not know if we have the reproduce it. Now it
5690 is placed in the expose_event method and uses a variable to
5691 reproduce it just once.
5693 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5695 * src/hildon-pannable-area.c,
5696 (hildon_pannable_draw_vscroll),
5697 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5698 position allowed for the scrollbars.
5700 (hildon_pannable_area_size_allocate): Small style change.
5702 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5704 * src/hildon-pannable-area.c,
5705 (hildon_pannable_area_scroll_indicator_fade),
5706 (hildon_pannable_area_button_press_cb),
5707 (hildon_pannable_area_button_release_cb),
5708 (hildon_pannable_area_scroll_cb),
5709 (hildon_pannable_area_expose_event),
5710 (hildon_pannable_area_init): Added the define parameter
5711 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5712 and refactor the fade variable.
5714 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5716 * src/hildon-pannable-area.c,
5717 (hildon_pannable_area_redraw),
5718 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5719 lines, we were reimplemeting the redraw code.
5721 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5723 * src/hildon-pannable-area.c,
5724 (hildon_pannable_area_scroll_cb),
5725 (hildon_pannable_area_realize),
5726 (hildon_pannable_area_class_init): Added scroll_event management
5727 for pannable area, now we can scroll the usual desktop method.
5729 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5730 initialization of the parameters should depend on idle_id.
5732 (hildon_pannable_area_init),
5733 (hildon_pannable_area_map): Small code style modifications
5735 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5737 * src/hildon-pannable-area.c
5738 (hildon_pannable_area_button_press_cb),
5739 (hildon_pannable_area_motion_notify_cb),
5740 (hildon_pannable_area_button_release_cb),
5741 (hildon_pannable_area_size_allocate),
5742 (hildon_pannable_area_scroll_to): Improved the timeouts
5743 management, we avoid creating them each time.
5745 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5747 * src/hildon-pannable-area.c:
5748 (hildon_pannable_area_refresh),
5749 (hildon_pannable_area_motion_notify_cb),
5750 (hildon_pannable_area_class_init):
5751 * src/hildon-pannable-area.h:
5752 * src/hildon-touch-selector.c
5753 (_create_new_column):
5754 * examples/hildon-pannable-area-example-4.c:
5755 (horizontal_movement),
5756 (vertical_movement),
5758 Replaced the names of enums in the HildonPannableArea:
5759 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5760 HILDON_MOVEMENT_MODE_*
5761 - HILDON_PANNABLE_AREA_MOV_* ->
5763 - Removed HildonPannableAreaIndicatorMode, now we
5766 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5768 * examples/hildon-pannable-area-touch-grid-example.c
5769 * examples/hildon-pannable-area-touch-list-example.c: Fix
5770 compilation warnings.
5772 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-gtk.c (hildon_gtk_button_new)
5775 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5776 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5777 images overriding the value of the "gtk-button-images" setting.
5779 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5781 * src/hildon-check-button.c (hildon_check_button_new):
5782 Instead of using a custom container, display the label and the
5783 checkbox using the standard GtkButton API.
5785 * examples/hildon-check-button-example.c (main): Don't use
5786 hildon_check_button_set_label() anymore
5788 * src/hildon-check-button.h
5789 * src/hildon-check-button.c
5790 (hildon_check_button_set_label, hildon_check_button_get_label):
5791 Set as deprecated, now we're using gtk_button_{get,set}_label()
5793 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5795 * src/hildon-pannable-area.c,
5796 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5797 GtkTreeview first line we detected it after the inclusion of the
5798 GtkWindowImpl in gtk+. We now check if the window is visible, not
5799 just if the pointer is over the window.
5800 (hildon_pannable_axis_scroll),
5801 (hildon_pannable_area_expose_event): Small style changes.
5803 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-button.c: Update documentation.
5807 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5809 * examples/hildon-button-example.c: Add a switch to show images in
5812 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5814 * doc/hildon-docs.sgml: Some docs reorganization.
5816 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5818 * examples/hildon-pannable-area-touch-list-example.c
5820 * examples/hildon-pannable-area-touch-grid-example.c
5821 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5822 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5823 Fix memory leak when setting the tree model.
5825 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5829 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5831 * doc/hildon.types: Remove duplicated hildon_window_get_type
5832 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5833 documentation comment.
5835 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5837 * doc/Makefile.am: Complete list of private headers.
5839 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5841 * doc/hildon-docs.sgml
5842 * src/hildon-app-menu.c
5843 * src/hildon-bread-crumb.c
5844 * src/hildon-button.c
5846 * src/hildon-program.c
5847 * src/hildon-stackable-window.c
5848 * src/hildon-window.c: Lots of documentation updates.
5850 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5852 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5854 * configure.ac: Require Gtk+ 2.12.9 at least
5856 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5858 * src/hildon-pannable-area.c
5859 (hildon_pannable_area_scroll_indicator_fade),
5860 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5861 to protect the return of this timeout callbacks, avoiding deadlocks.
5863 2008-08-12 Christian Dywan <christian@imendio.com>
5866 * src/hildon-*.h: Ensure a consistent include order,
5867 include <gtk/gtk.h> instead of particular files and
5868 only include the topmost header in the gtk stack. See NB #39857
5870 2008-08-12 Christian Dywan <christian@imendio.com>
5872 * src/hildon-picker-dialog.c
5873 * src/hildon-touch-selector.c: Fix warnings about unused and
5874 uninitialized variables.
5876 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5878 * examples/Makefile.am
5879 * examples/hildon-check-button-example.c: Example of the hildon
5882 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-window.h
5885 * src/hildon-window.c (hildon_window_class_init)
5886 (hildon_window_unset_program): Don't make
5887 hildon_window_unset_program a virtual function anymore.
5889 * src/hildon-stackable-window.c: Update documentation
5891 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5894 * doc/hildon-docs.sgml
5895 * doc/visual_index.xml
5896 * src/hildon-defines.c
5898 * src/hildon-helper.c
5899 * src/hildon-range-editor.c: Lots of documentation fixes.
5901 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5903 * examples/hildon-picker-button-multicolumn-example.c
5904 (create_touch_selector): Fix compilation warning.
5906 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5909 (hildon_pannable_area_button_release_cb)
5910 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5912 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5917 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-bread-crumb-trail.h
5920 * src/hildon-date-editor.c
5921 * src/hildon-date-selector.c
5922 * src/hildon-pannable-area.c
5923 * src/hildon-picker-dialog.c
5924 * src/hildon-time-selector.c
5925 * src/hildon-touch-selector-entry.c
5926 * src/hildon-touch-selector.c
5927 * src/hildon-touch-selector.h: Misc documentation fixes
5929 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5931 * examples/hildon-date-editor-example.c (main): Updated date
5934 * examples/hildon-note-example.c (on_confirmation_clicked):
5935 Updated confirmation note example.
5937 * src/hildon-date-editor.c
5938 * src/hildon-note.c: Updated sample programs in documentation.
5941 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5943 * src/hildon-date-button.h:
5944 * src/hildon-picker-button.h:
5945 * src/hildon-time-button.c:
5946 * src/hildon-time-button.h:
5948 Some declarations changes to allow gtk-doc to document the widgets
5951 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5953 * src/hildon-date-button.c: Document the widget.
5954 * src/hildon-time-button.c: Document the widget.
5956 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5958 * src/hildon-picker-button.c: Document the widget.
5959 * src/hildon-touch-selector-entry.c: Document the widget.
5961 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5963 * doc/hildon-docs.sgml
5966 * src/hildon-check-button.h
5967 * src/hildon-check-button.c: New functions to create the Hildon
5971 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5973 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5975 * src/hildon-button.h
5976 * src/hildon-button.c
5977 (hildon_button_add_title_size_group)
5978 (hildon_button_add_value_size_group)
5979 (hildon_button_add_image_size_group)
5980 (hildon_button_add_size_groups): New functions to set size groups
5981 for the button labels and image.
5982 (hildon_button_new_full): Removed
5984 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5986 * src/hildon-time-selector.c
5987 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5988 in order to avoid a crash if gconf is not available
5990 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5992 * src/hildon-button.c (hildon_button_set_arrangement)
5993 (hildon_button_construct_child): Don't construct the button child
5994 before setting the arrangement.
5996 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-program-private.h
5999 * src/hildon-program.c
6000 * src/hildon-program.h
6001 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6002 (hildon_program_peek_window_stack)
6003 (hildon_program_pop_window_stack)
6004 (hildon_program_go_to_root_window): HildonProgram now has a
6005 separate list for stackable windows. Functions are provided to
6006 manage that list with a stack-like API.
6008 * src/hildon-stackable-window.c: Stackable window management is
6009 now much simpler with the new HildonProgram API. Windows no
6010 longer need to be manually added to the program, they're
6011 automatically pushed to the top of the stack when shown.
6013 * examples/hildon-stackable-window-example.c: Updated example to
6014 reflect the API changes.
6016 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6018 * src/hildon-touch-selector.c: Comment out unimplemented
6019 hildon_touch_selector_insert_column() to avoid a compile warning.
6021 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6024 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6025 (hildon_touch_selector_set_column_selection_mode),
6026 (_hildon_touch_selector_set_model),
6027 (hildon_touch_selector_set_model):
6029 Complete review of HildonTouchSelector documentation.
6031 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6033 * doc/hildon-docs.sgml
6037 * src/hildon-gtk.c: Convenience functions for standard Gtk
6038 widgets, used to easily perform frequent operations.
6040 * src/hildon-button-helpers.h
6041 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6043 * src/hildon-helper.h
6044 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6045 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6047 * src/hildon-button.h
6048 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6050 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-button.c (hildon_button_init)
6053 (hildon_button_set_arrangement, hildon_button_construct_child):
6054 Pack the image and the labels inside the same GtkAlignment so
6055 gtk_button_set_alignment() can be used
6057 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6059 * src/hildon-button.h
6060 * src/hildon-button.c
6061 (hildon_button_init, hildon_button_set_image)
6062 (hildon_button_set_image_position)
6063 (hildon_button_construct_child): New functions to add an image to
6066 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-date-button.c
6069 * src/hildon-picker-button.c
6070 * src/hildon-time-button.c
6071 * src/hildon-button.c:
6072 (hildon_button_class_init): "size-flags" renamed to "size"
6073 (hildon_button_set_title): Hide the title label if set to NULL.
6075 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6077 HildonButtonFlags split into HildonButtonArrangement (to set the
6078 button layout) and HildonSizeType (which can be used for any
6081 * src/hildon-button.h
6082 * src/hildon-button.c
6083 (hildon_button_class_init)
6084 (hildon_button_set_arrangement)
6085 (hildon_button_set_property): New "size-flags"
6086 property. "arrangement-flags" renamed to "arrangement".
6087 (hildon_button_new, hildon_button_new_with_text)
6088 (hildon_button_new_full): Constructors updated to reflect type changes.
6090 * src/hildon-helper.h
6091 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6092 to set the size of a widget.
6096 * src/hildon-button-helpers.c
6097 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6099 * src/hildon-date-button.c
6100 * src/hildon-date-button.h
6101 * src/hildon-picker-button.c
6102 * src/hildon-picker-button.h
6103 * src/hildon-time-button.c
6104 * src/hildon-time-button.h: Updated widgets to reflect
6105 HildonButton API changes.
6107 * examples/hildon-button-example.c
6108 * examples/hildon-date-button-example.c
6109 * examples/hildon-picker-button-example.c
6110 * examples/hildon-picker-button-multicolumn-example.c
6111 * examples/hildon-time-button-example.c
6112 * examples/hildon-touch-selector-entry-example.c
6113 * examples/hildon-touch-selector-example.c: Updated examples to
6114 reflect HildonButton API changes.
6116 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6118 * doc/hildon-docs.sgml:
6120 * examples/Makefile.am:
6121 * examples/hildon-touch-selector-entry-example.c:
6123 * src/hildon-touch-selector-entry.c:
6124 * src/hildon-touch-selector-entry.h:
6127 Moved HildonTouchSelectorEntry from sandbox. Added its
6128 documentation and examples.
6130 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6132 * src/hildon-touch-selector.h:
6133 * examples/hildon-picker-button-multicolumn-example.c:
6134 (hildon_touch_selector_append_text_column): Add a gboolean
6135 parameter to determine if text must be centered in the column.
6137 * src/hildon-date-selector.c: (hildon_date_selector_init):
6138 * src/hildon-time-selector.c: (hildon_time_selector_init):
6139 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6140 (create_touch_selector): Update widgets and example to reflect
6143 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6145 * src/hildon-touch-selector.c:
6146 (hildon_touch_selector_set_active_iter): Set also the cursor in
6149 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6151 * doc/hildon-docs.sgml
6154 * src/hildon-toggle-button.c
6155 * src/hildon-toggle-button.h
6156 * src/hildon.h: Removed HildonToggleButton widget, a derived
6157 class is not necessary for this.
6159 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6161 * src/hildon-pannable-area.c,
6162 (hildon_pannable_area_realize),
6163 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6166 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6168 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6169 "done" button the default widget for the dialog.
6171 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6173 * src/hildon-touch-selector.c:
6174 (hildon_touch_selector_class_init),
6175 (hildon_touch_selector_get_property),
6176 (_hildon_touch_selector_set_model),
6177 (_hildon_touch_selector_has_multiple_selection),
6178 (hildon_touch_selector_has_multiple_selection):
6179 Add a "has-multiple-selection" property with a virtual
6180 has_multiple_selection() method to allow derived classes to
6181 override the default value for it. See the method and property
6182 documentation for details.
6184 * src/hildon-touch-selector.h: Add the new API.
6186 * src/hildon-picker-dialog.c: (requires_done_button): Call
6187 hildon_touch_selector_has_multiple_selection() instead of
6188 determining the need for a button itself.
6190 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6193 (_hildon_touch_selector_set_model),
6194 (hildon_touch_selector_set_model): Move working code to
6195 _hildon_touch_selector_set_mode(). Call the class method instead.
6197 * src/hildon-touch-selector.h: Add (*set_model) to
6198 HildonTouchSelectorClass.
6200 Make hildon_touch_selector_set_model() a virtual method, so that
6201 derived classes can extend it and do fancy stuff with the model.
6203 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6205 * configure.ac: Set back the tarname in AC_INIT to hildon.
6207 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6211 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6212 instead of libesd (NB#86876). Volume handling is still an open issue.
6214 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6217 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6220 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6221 derived class to ease placement of an entry widget in
6222 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6223 end, where the selector columns are packed now.
6225 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6227 * src/hildon-picker-button.c: Removed the simple _text() API.
6228 * src/hildon-picker-button.h: Likewise.
6230 * src/hildon-touch-selector.h:
6231 * src/hildon-touch-selector.c:
6232 (hildon_touch_selector_new_text),
6233 (hildon_touch_selector_append_text),
6234 (hildon_touch_selector_prepend_text),
6235 (hildon_touch_selector_insert_text):
6237 Moved the simple _text() API from HildonPickerButton to
6238 HildonTouchPicker, to provide better escalability and not to tie
6239 that API to HildonPickerButton.
6241 * examples/hildon-picker-button-example.c: (main): Example updated.
6243 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6245 * src/hildon-button.c: Updated documentation.
6247 * examples/hildon-button-example.c: Add the posibility to create
6248 the buttons using horizontal layout for title and value.
6250 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-app-menu-private.h
6253 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6254 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6255 GtkSizeGroup for the filters, use the 'homogeneous' property of
6258 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6260 * examples/hildon-button-example.c: Updated example.
6262 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6264 * doc/hildon-docs.sgml:
6267 Update documentation.
6269 * examples/Makefile.am: Update renamed examples.
6271 * examples/hildon-picker-button-multicolumn-example.c:
6272 (create_touch_selector), (main): Update after the rename.
6274 * examples/hildon-touch-picker-example.c: Removed.
6275 * examples/hildon-touch-selector-example.c: (value_changed),
6276 (create_selector), (get_visible_content), (main): Renamed from
6277 hildon-touch-picker-example.c
6279 * src/Makefile.am: Updated renamed files.
6281 * src/hildon-date-button.c: (hildon_date_button_init),
6282 (hildon_date_button_get_date), (hildon_date_button_set_date):
6283 * src/hildon-date-selector.c: (hildon_date_selector_init),
6284 (_custom_print_func), (_update_day_model),
6285 (_manage_selector_change_cb),
6286 (hildon_date_selector_select_current_date),
6287 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6288 * src/hildon-date-selector.h:
6289 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6290 (hildon_picker_button_set_property),
6291 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6292 (hildon_picker_button_init), (hildon_picker_button_new_text),
6293 (hildon_picker_button_append_text),
6294 (hildon_picker_button_prepend_text),
6295 (hildon_picker_button_insert_text),
6296 (hildon_picker_button_set_selector),
6297 (hildon_picker_button_get_selector):
6298 * src/hildon-picker-button.h:
6299 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6300 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6301 (_update_title_on_selector_changed_cb), (requires_done_button),
6302 (_hildon_picker_dialog_set_selector),
6303 (hildon_picker_dialog_set_selector),
6304 (hildon_picker_dialog_get_selector):
6305 * src/hildon-picker-dialog.h:
6306 * src/hildon-time-button.c: (hildon_time_button_init),
6307 (hildon_time_button_get_time), (hildon_time_button_set_time):
6308 * src/hildon-time-selector.c: (hildon_time_selector_init),
6309 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6310 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6311 * src/hildon-time-selector.h:
6314 Massive code updates after the rename.
6316 * src/hildon-touch-picker.c: Removed.
6317 * src/hildon-touch-picker.h: Removed.
6319 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6320 (hildon_touch_selector_init), (hildon_touch_selector_map),
6321 (hildon_touch_selector_remove), (_default_print_func),
6322 (_selection_changed_cb), (_create_new_column),
6323 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6324 (hildon_touch_selector_append_text_column),
6325 (hildon_touch_selector_remove_column),
6326 (hildon_touch_selector_set_column_attributes),
6327 (hildon_touch_selector_insert_column),
6328 (hildon_touch_selector_get_num_columns),
6329 (hildon_touch_selector_get_column_selection_mode),
6330 (hildon_touch_selector_set_column_selection_mode),
6331 (hildon_touch_selector_set_print_func),
6332 (hildon_touch_selector_get_print_func),
6333 (hildon_touch_selector_get_active_iter),
6334 (hildon_touch_selector_set_active_iter),
6335 (hildon_touch_selector_get_selected_rows),
6336 (hildon_touch_selector_get_model),
6337 (hildon_touch_selector_set_model),
6338 (hildon_touch_selector_get_current_text),
6339 (_hildon_touch_selector_center_on_selected_items):
6340 * src/hildon-touch-selector.h: Renamed from
6341 hildon-touch-picker.[ch]
6343 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6344 references, code examples, and related documentation.
6346 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6348 * doc/hildon-docs.sgml
6351 * src/hildon-toggle-button.c
6352 * src/hildon-toggle-button.h
6353 * src/hildon.h: New HildonToggleButton widget.
6355 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-button.c: Add API documentation.
6358 (hildon_button_set_size_groups): Check input parameters
6360 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6362 * src/hildon-pannable-area.c
6363 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6364 effect after reaching the movement thredshold. This way we start
6365 using the distance after passing the thredshold.
6367 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6369 * src/hildon-button.c: (hildon_button_set_property): Use the
6370 appropriate g_value_get_flags() method.
6372 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6374 * doc/hildon-docs.sgml:
6377 Add the touch pickers, picker dialogs, and picker button widgets
6378 to the documentation.
6380 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6382 * src/hildon-button.c: (hildon_button_set_property),
6383 (hildon_button_class_init): Make "arrangement-flags" a proper
6384 G_TYPE_FLAGS derived property.
6386 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6388 * examples/Makefile.am: Add below examples.
6389 * examples/hildon-date-button-example.c:
6390 * examples/hildon-picker-button-example.c:
6391 * examples/hildon-picker-button-multicolumn-example.c:
6392 * examples/hildon-time-button-example.c:
6393 * examples/hildon-touch-picker-example.c:
6395 Add examples for the recently added touch pickers,
6396 picker dialogs, and picker button widgets.
6398 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6400 * src/hildon-button.c: Add some API documentation
6402 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6404 * src/hildon-button.h
6405 * src/hildon-button.c
6407 (hildon_button_new_with_text): New constructor to create a button
6408 with no text at all.
6409 (hildon_button_init, hildon_button_set_arrangement)
6410 (hildon_button_set_title, hildon_button_set_value)
6411 (hildon_button_set_text)
6412 (hildon_button_construct_child): Hide the value when it's not used
6413 so the rest of the text is properly aligned.
6414 Allow creating buttons with arbitrary widgets inside (not just
6415 title/value labels).
6417 * examples/hildon-button-example.c (vertical_buttons_window)
6418 (horizontal_buttons_window): Update example to use new API.
6420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6422 * src/Makefile.am: Added HildonTimeButton.
6423 * src/hildon-time-button.c: Added missing LGPL header.
6424 * src/hildon-time-button.h: Added missing LGPL header.
6425 * src/hildon.h: Add hildon-time-button.h
6427 Copied HildonTimeButton from sandbox to trunk. Future work on this
6428 widget must take place in trunk.
6430 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6432 * src/Makefile.am: Added HildonDateButton.
6433 * src/hildon-date-button.c: Update includes.
6434 * src/hildon.h: Add hildon-date-button.h
6436 Copied HildonDateButton from sandbox to trunk. Future work on this
6437 widget must take place in trunk.
6439 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/Makefile.am: Added HildonPickerButton.
6442 * src/hildon-picker-button.h: Update includes.
6443 * src/hildon.h: Add hildon-picker-button.h
6445 Copied HildonPickerButton from sandbox to trunk. Future work on
6446 this widget must take place in trunk.
6448 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6450 * src/Makefile.am: Added HildonPickerDialog.
6451 * src/hildon-picker-dialog.c: Update includes.
6452 * src/hildon.h: Add hildon-picker-dialog.h
6454 Copied HildonPickerDialog from sandbox to trunk. Future work
6455 on this widget must take place in trunk.
6457 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/Makefile.am: Added HildonTimeSelector.
6460 * src/hildon.h: Add hildon-time-selector.h
6462 Copied HildonTimeSelector widget from sandbox to trunk. Future
6463 work on this widget must happen in trunk.
6465 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6467 * src/Makefile.am: Added HildonDateSelector.
6468 * src/hildon.h: Add hildon-date-selector.h
6470 Copied HildonDateSelector widget from sandbox to trunk. Future
6471 work on this widget must happen in trunk.
6473 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6475 * src/Makefile.am: Added HildonTouchPicker.
6476 * src/hildon-touch-picker.c: Update includes.
6477 * src/hildon.h: Add hildon-touch-picker.h
6479 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6480 on this widget must happen in trunk.
6482 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/hildon-pannable-area.c:
6485 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6487 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6489 * examples/hildon-app-menu-example.c (main): Let the window
6492 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6494 * src/hildon-pannable-area.c
6495 (hildon_pannable_area_class_init): Set the min value of the
6496 overshoot properties to zero, which points out that not
6497 overshooting allowed.
6499 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6501 Modified the procedure to get the widget at a point inside the
6502 pannable area when using the movement type signals. Now the user
6503 has to call a function to get the child, that way we just
6504 calculate the child in case the user really want to use it and not
6507 * src/hildon-marshalers.list: Modified the marshallers, now we do
6508 not have the widget as a parameter.
6510 * src/hildon-pannable-area.c
6511 (hildon_pannable_area_motion_notify_cb),
6512 (hildon_pannable_area_class_init),
6513 (hildon_pannable_get_child_widget_at): Removed the widget
6514 parameter from the signal callback. We have also refactored the
6515 emission of the signals.
6517 * src/hildon-pannable-area.h: Added a new method to the API to
6518 calculate a widget at a point inside the pannable area,
6519 hildon_pannable_get_child_widget_at.
6521 * examples/hildon-pannable-area-example-4.c
6522 (horizontal_movement): Modified the example to use the new API,
6523 added condition to control which widget is under the event. This
6524 way we can avoid scrolling laterally over other widgets.
6526 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6528 * src/hildon-pannable-area.c
6529 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6530 modes, we stop getting the pointer events due to returning the
6531 callback without properly calling the get pointer again. Fixed
6532 also an error using the hscroll and vscroll.
6534 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6536 * src/hildon-app-menu-private.h
6537 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6538 (hildon_app_menu_button_release, hildon_app_menu_init)
6539 (hildon_app_menu_class_init): Don't hide the menu on button
6540 release if the user didn't press outside first.
6542 * src/hildon-window.h
6543 * src/hildon-window.c (hildon_window_toggle_menu)
6544 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6545 hildon_window_toggle_menu a virtual function for the stackable
6546 window to override it.
6548 * src/hildon-stackable-window.h
6549 * src/hildon-stackable-window-private.h
6550 * src/hildon-stackable-window.c
6551 (hildon_stackable_window_realize)
6552 (hildon_stackable_window_finalize)
6553 (hildon_stackable_window_class_init)
6554 (hildon_stackable_window_init)
6555 (hildon_stackable_window_set_main_menu): New function to set the
6556 app menu of a HildonStackableWindow.
6558 * examples/hildon-app-menu-example.c: Remove the button to show
6559 the app menu, now it'll be shown when clicking on the title bar
6562 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6564 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6565 set the widget name if the arrangement flags do not specify
6568 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6570 * src/hildon-button.c: (hildon_button_set_property),
6571 (hildon_button_class_init), (hildon_button_new_full),
6572 (hildon_button_set_arrangement): Added "arrangement-flags"
6575 Make the HildonButtonFlags a construction-only property, to allow
6576 subclasses to set them properly.
6578 2008-07-21 Tim Janik <timj@imendio.com>
6580 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6581 insertion position after backspace, so additional digits are appended,
6584 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6586 * src/hildon-pannable-area.c,
6587 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6588 TODO list, it was complete and removed the g_debug and g_print
6591 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6593 Added the movement modes to the hildon-pannable-area, with this
6594 modes the developers can control in which directions the widget
6595 can scroll. They can also connect to signals in order to do
6596 something when that happens, allowing applications scroll. There
6597 is an example uploaded showing how to use it.
6599 * examples/Makefile.am:
6600 * examples/hildon-pannable-area-example-4.c: Added this example of
6601 an application using the modes.
6603 * src/hildon-marshalers.list: Added a new marshaller for the new
6606 * src/hildon-pannable-area.h: Added new enumerations and flags in
6607 order to control the movement modes and the new signals to warn
6608 about the movements in the area.
6610 * src/hildon-pannable-area.c:
6611 (hildon_pannable_axis_scroll),
6612 (hildon_pannable_area_scroll),
6613 (hildon_pannable_area_motion_notify_cb),
6614 (hildon_pannable_area_get_property),
6615 (hildon_pannable_area_set_property),
6616 (hildon_pannable_area_map),
6617 (hildon_pannable_area_class_init),
6618 (hildon_pannable_area_init),
6619 (hildon_pannable_area_jump_to): Added the modes to control the
6620 movement in the widget. We have added properties to control it,
6621 signals to warn about the movements and refactored some code.
6623 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6625 Changes required in order to allow vfast_factor set to zero to
6628 * src/hildon-pannable-area.c:
6629 (hildon_pannable_area_button_press_cb): Changed the condition, it
6630 is required for not allowing click when vfast_factor is zero.
6631 (hildon_pannable_area_timeout): Initialized velocity variables
6632 when we stop moving, it was less than 1 but not zero and we need
6633 to check zero in some situations.
6634 (hildon_pannable_area_class_init): Changed the default value of
6635 the speed factor, now the button_press is just sent in case the
6636 speed is 2 per cent of the max speed.
6637 (hildon_pannable_area_init): Initialization with 0.
6639 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6641 * src/hildon-pannable-area.c,
6642 (hildon_pannable_area_get_topmost): replaced
6643 gdk_window_get_children with gdk_window_peek_children, this way we
6644 do not have to free the list because it is not a copy.
6646 (hildon_pannable_axis_scroll),
6647 (hildon_pannable_area_scroll),
6648 (hildon_pannable_area_timeout),
6649 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6650 two parameters that were only used inside the
6651 hildon_pannable_area_scroll function.
6653 * examples/hildon-pannable-area-example.c,
6654 (get_sawtooth_label): Fixed small memory leak.
6656 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6658 More checks for the case where the overshoot is bigger than the
6661 * src/hildon-pannable-area.c:
6662 (hildon_pannable_draw_vscroll),
6663 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6664 to draw the slider of the scrollbar under the other scrollbar.
6665 (hildon_pannable_area_expose_event): added new checks to control
6666 the drawing of the overshooting area rectangle, in case it is too
6667 big for the area of the widget.
6668 (hildon_pannable_area_size_allocate): add more checks to avoid
6669 setting a position to the child widget outside the area.
6671 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6673 * src/hildon-pannable-area.c
6674 (hildon_pannable_area_size_allocate): Added conditions to control
6675 when overshooting is bigger than the allocated space for the
6676 children, this avoids negative allocations.
6678 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6680 * doc/hildon-docs.sgml
6682 * examples/Makefile.am
6683 * examples/hildon-button-example.c
6685 * src/hildon-button.c
6686 * src/hildon-button.h
6687 * src/hildon.h: Initial version of the new HildonButton widget,
6690 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6692 * src/hildon-pannable-area.c:
6693 (hildon_pannable_area_button_press_cb),
6694 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6695 (hildon_pannable_area_motion_notify_cb),
6696 (hildon_pannable_area_button_release_cb),
6697 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6698 (hildon_pannable_area_jump_to_child):
6700 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6702 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6704 * examples/Makefile.am
6705 * examples/hildon-pannable-area-touch-grid-example.c
6706 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6707 the Hildon Touch List and Hildon Touch Grid using the
6708 HildonPannableArea widget.
6710 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6712 * src/hildon-pannable-area.c,
6713 (hildon_pannable_area_button_press_cb),
6714 (hildon_pannable_area_refresh),
6715 (hildon_pannable_area_scroll),
6716 (hildon_pannable_area_motion_notify_cb),
6717 (hildon_pannable_area_button_release_cb),
6718 (hildon_pannable_area_expose_event),
6719 (hildon_pannable_area_add),
6720 (hildon_pannable_area_remove),
6721 (hildon_pannable_area_realize),
6722 (hildon_pannable_area_size_allocate),
6723 (hildon_pannable_area_class_init),
6724 (hildon_pannable_area_init),
6725 (hildon_pannable_area_scroll_to_child),
6726 (hildon_pannable_area_jump_to_child): Fixed the problem of
6727 removing the child from the GtkBin, we have rearranged the widget
6728 hierarchy, now there is no GtkAlignment which was not doing
6729 anything interesting but breaking some of the assumptions of
6730 GtkContainer. Now developers if they want to add a GtkAlignment
6731 they could, but it is not inside the area.
6733 We had to review the whole allocation/expose process, now it is
6734 improved and we save at least three signals which would be saving
6735 some time when rendering the widget. The allocation of the
6736 scrollbars is now made in the allocate method as usual.
6738 We have also added some conditions in order to control when there
6739 is no child of the pannable area. Maybe we will need more work
6742 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6744 * src/hildon-pannable-area.c,
6745 (hildon_pannable_area_dispose): Released the fade-out timeout when
6746 disposing the widget.
6748 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6750 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6751 zero, we are going to use that property in order to deactivate the
6753 (hildon_pannable_axis_scroll),
6754 (hildon_pannable_area_size_allocate): Added conditions to control
6755 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6756 call, now it is called in all situations and we can remove calls
6757 in the allocate method.
6758 (hildon_pannable_area_map): Control the situation when
6759 overshoot_max is zero, we do not need the timeout.
6760 (hildon_pannable_area_class_init): Added documentation in order to
6761 point out that setting zero to overshoot_max means deactivate
6764 NOTE: removed trailing whitespaces from my previous comments of
6767 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6769 * src/hildon-pannable-area.c
6770 (hildon_pannable_area_get_property),
6771 (hildon_pannable_area_set_property),
6772 (hildon_pannable_area_map),
6773 (hildon_pannable_area_class_init),
6774 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6775 to cause the widget give a hint about its panning abilities upon
6778 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6780 * src/hildon-pannable-area.c: Several documentation improvements.
6782 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6784 * src/hildon-program.c
6785 * src/hildon-stackable-window.c: Update documentation.
6787 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6789 * src/hildon-stackable-window.c (get_previous_window_if_last):
6790 Renamed get_last_window()
6791 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6792 (hildon_stackable_window_unset_program):
6794 (get_previous_window_if_last):
6795 Detect if the window hasn't been added to a HildonProgram.
6797 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6799 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6801 * src/hildon-pannable-area.c
6802 (hildon_pannable_area_button_press_cb),
6803 (hildon_pannable_axis_scroll),
6804 (hildon_pannable_area_scroll),
6805 (hildon_pannable_area_timeout),
6806 (hildon_pannable_calculate_vel_factor),
6807 (hildon_pannable_area_get_property),
6808 (hildon_pannable_area_set_property),
6809 (hildon_pannable_area_class_init),
6810 (hildon_pannable_area_init),
6811 (hildon_pannable_area_scroll_to),
6812 (hildon_pannable_area_jump_to),
6813 (hildon_pannable_area_scroll_to_child),
6814 (hildon_pannable_area_jump_to_child):
6815 * src/hildon-pannable-area.h: Added the new API functions:
6816 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6817 hildon_pannable_area_scroll_to_child,
6818 hildon_pannable_area_jump_to_child
6821 * examples/Makefile.am
6822 * examples/hildon-pannable-area-example-2.c
6823 * examples/hildon-pannable-area-example-3.c: Added these two new
6824 examples in order to test and show how the new APIs work.
6826 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6828 * examples/hildon-stackable-window-example.c (new_window):
6829 * src/Makefile.am (noinst_HEADERS):
6830 * src/hildon-program.c (hildon_program_go_to_root_window):
6831 * src/hildon-program.h:
6832 * src/hildon-stackable-window-private.h:
6833 * src/hildon-stackable-window.c:
6834 * src/hildon-stackable-window.h:
6835 Create hildon-stackable-window-private.h
6836 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6838 * examples/hildon-app-menu-example.c (create_menu):
6839 * examples/hildon-hvolumebar-insensitive-example.c (main):
6840 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6841 * examples/hildon-toolbar-seekbar-example.c (main):
6842 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6843 * src/hildon-banner.c (hildon_banner_set_property):
6844 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6845 Fix compilation warnings
6847 * src/hildon-window.c:
6850 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-stackable-window.c
6853 (hildon_stackable_window_unset_program):
6854 Calculate correctly whether to show the previous window if the
6855 last one is removed from the stack.
6856 (hildon_stackable_window_go_to_root_window):
6857 Send delete events starting from the topmost window.
6858 Stop if one of the windows is not destroyed.
6860 (hildon_stackable_window_delete_event)
6861 (hildon_stackable_window_class_init):
6862 Ignore the delete event if the window is not the topmost one.
6864 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6866 * src/hildon-pannable-area.c
6867 (hildon_pannable_area_expose_event): Fixed a problem when
6868 selecting the background color of the scrollbars.
6870 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6872 * examples/hildon-stackable-window-example.c
6873 * src/hildon-stackable-window.c
6874 * src/hildon-stackable-window.h
6875 hildon_stackable_window_go_home() renamed to
6876 hildon_stackable_window_go_to_root_window()
6877 Send delete events to windows rather than closing them with
6878 gtk_widget_destroy()
6880 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-pannable-area.c
6883 (hildon_pannable_area_button_release_cb): Fix overshooting in
6886 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6888 * src/hildon-pannable-area.c
6889 (hildon_pannable_area_init): Initially show the scroll indicators.
6890 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6892 Add initial effect showing the widget is pannable.
6894 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-pannable-area.c
6897 (hildon_pannable_area_class_init)
6898 (hildon_pannable_area_set_property)
6899 (hildon_pannable_area_get_property)
6900 (hildon_pannable_area_button_press_cb):
6901 New 'velocity_fast_factor' property to decide which velocity is
6904 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6906 * src/hildon-pannable-area.c
6907 (hildon_pannable_draw_hscroll)
6908 (hildon_pannable_draw_vscroll):
6909 Use float variables to calculate the size of the scrollbars to
6910 avoid error propagation and resizing during scrolling.
6912 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6914 * src/hildon-pannable-area.c
6915 (hildon_pannable_draw_vscroll)
6916 (hildon_pannable_draw_hscroll):
6917 Define a minimum size for the scroll bars
6919 * src/hildon-stackable-window.c
6920 (hildon_stackable_window_go_home): Fix compilation warning
6921 (get_last_window): Minor optimizations
6922 (hildon_stackable_window_class_init): Fix initialization of
6925 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6927 * src/hildon-stackable-window.c: Fixed typos in doc
6929 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6931 * src/hildon-pannable-area.c
6932 (hildon_pannable_area_scroll):
6933 Calculate here whether we need to scroll instead of using the booleans
6934 that tell us whether to /draw/ the scrolling bars.
6936 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6938 * src/hildon-app-menu.h
6940 * src/hildon-app-menu.c
6941 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6942 multiple filter groups related code and API. Now we support only
6944 * examples/hildon-app-menu-example.c:
6946 Update to reflect API changes.
6948 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6950 * src/hildon-stackable-window.c
6951 (hildon_stackable_window_class_init):
6952 Add hildon_stackable_window_realize.
6953 (hildon_stackable_window_realize):
6954 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6955 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6956 to apply theming and behavior specific to HildonStackableWindow
6959 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-note.c (hildon_note_button_release):
6962 Close information notes also when tapping on them
6964 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6966 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6967 ELASTICITY, refactor and review, fix some issues with drawing
6970 * src/hildon-pannable-area.c:
6971 (hildon_pannable_area_button_press_cb): removed the conditions to
6972 avoid clicks when overshooting. It is not required
6974 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6975 define. Refatored and reviewed the code, now we do not need to
6976 manage velocity in motion_notify.
6978 (hildon_pannable_area_motion_notify_cb): We have moved the code
6979 that controls the area_scroll to the axis_scroll function and get
6980 rid of duplicated code.
6982 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6984 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6986 (hildon_pannable_draw_vscroll),
6987 (hildon_pannable_draw_hscroll): Fixed the problems with the
6988 scrollbar drawing, now we do not use two surfaces, it is easier
6989 and saves resources.
6991 (hildon_pannable_area_get_property): Style modification.
6993 (hildon_pannable_area_class_init): Changed some default values.
6995 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6997 * src/hildon-stackable-window.c: Fix some typos in the
7000 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7002 * src/hildon-dialog.c:
7003 Change indentation style
7006 (hildon_note_button_release):
7007 Use root coordinates to check if the release event happened
7010 * src/hildon-app-menu.c
7011 (hildon_app_menu_button_release):
7012 Remove unnecessary check
7014 * examples/hildon-app-menu-example.c
7016 Add cast to fix warning
7018 * src/hildon-app-menu.c
7019 (hildon_app_menu_class_init):
7020 New inner-border style property.
7021 Set all default spacings to 16
7022 (hildon_app_menu_init):
7023 Use vertical-spacing to set the space between filter buttons and
7024 regular menu buttons.
7025 Set the default container border using the inner-border value.
7027 * examples/hildon-app-menu-example.c
7029 Don't set the menu border explicitly, now we have the inner-border
7030 style property for that.
7032 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7034 * src/hildon-app-menu.c (hildon_app_menu_init):
7035 Make the window modal
7037 * src/hildon-note.c (hildon_note_map)
7038 * src/hildon-app-menu.c (hildon_app_menu_map):
7039 Destroy the grab window if we're unable to grab the pointer
7041 * src/hildon-app-menu-private.h
7042 * src/hildon-app-menu.c
7043 (hildon_app_menu_init, hildon_app_menu_finalize)
7044 (hildon_app_menu_map, hildon_app_menu_unmap)
7045 (hildon_app_menu_button_release)
7046 (grab_transfer_window_get):
7047 Bring back the grab window
7048 (hildon_app_menu_realize):
7049 Decorate the window, set WM hint for Matchbox
7051 * src/hildon-note.c (hildon_note_realize):
7052 * src/hildon-banner.c (hildon_banner_realize):
7053 Add WM hints for Matchbox
7055 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7057 * src/hildon-app-menu-private.h
7058 * src/hildon-app-menu.c
7059 (hildon_app_menu_init, hildon_app_menu_finalize)
7060 (hildon_app_menu_map, hildon_app_menu_unmap)
7061 (hildon_app_menu_button_release):
7062 Remove the grab window, it's not needed anymore
7064 * src/hildon-program.c
7065 Fixed typo in documentation
7067 * src/hildon-app-menu.h
7068 * src/hildon-app-menu.c
7069 * examples/hildon-app-menu-example.c
7070 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7072 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7075 Added new transfer_window and close_if_pressed_outside private
7077 (hildon_note_rebuild):
7078 Don't add a cancel button to the information note. It will be
7079 closed when tapping outside
7080 Remove the comment about the OK button in the documentation
7081 (hildon_note_realize):
7082 Set the notification type hint
7083 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7084 Grab/ungrab pointer and keyboard if the note has to be closed when
7086 (hildon_note_button_release):
7087 Close the note when tapping outside (if applicable)
7089 * src/hildon-app-menu.c
7090 Grab/ungrab pointer and keyboard on map/unmap
7091 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7092 Close the menu on button release, not button press
7094 * src/hildon-banner.c
7095 (hildon_banner_set_property)
7096 (hildon_banner_check_position):
7097 Make the banner use the full width of the screen
7098 (hildon_banner_show_information)
7099 (hildon_banner_show_information_with_markup):
7100 Don't display an icon by default
7102 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7104 Added fading scrollbars and adapted all the overshooting code to
7105 horizontal scrolling. We have also fixed bugs with overshooting
7106 and current fading implementation.
7108 * src/hildon-pannable-area.c
7109 (hildon_pannable_area_scroll_indicator_fade): Time out function
7110 used to change the transparency of the scrollbars.
7112 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7113 control and fixed a problem with fading, we now remove the fade
7114 timeout before adding a new one.
7116 (hildon_pannable_axis_scroll):
7117 (hildon_pannable_area_scroll):
7118 (hildon_pannable_area_timeout): Added this functions so we can use
7119 the scroll code both for vertical and horizontal.
7121 (hildon_pannable_area_motion_notify_cb):
7122 (hildon_pannable_area_button_release_cb): Added the horizontal
7123 scrolling control, fixed a problem with the overshooting timeout.
7125 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7126 painting of the scrolls.
7128 (hildon_pannable_draw_vscroll):
7129 (hildon_pannable_draw_hscroll):
7130 (hildon_pannable_area_expose_event):
7131 Draw both scrollbars and rectangles in the overshooting area.
7133 (hildon_pannable_area_get_property):
7134 (hildon_pannable_area_set_property):
7135 Modified the overshoot property to overshoot_max
7137 (hildon_pannable_area_map):
7138 Replaced the comments symbols.
7140 (hildon_pannable_area_size_allocate):
7141 (hildon_pannable_area_class_init):
7142 (hildon_pannable_area_init): Added horizontal scroll, fading
7143 effect properties, fixed a problem when overshooting in the bottom
7146 * examples/hildon-pannable-area-example.c:
7147 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7148 looks better in the example.
7150 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-window.c
7153 * src/hildon-window.h
7154 (hildon_window_class_init)
7155 (hildon_window_unset_program)
7156 (hildon_window_unset_program_real):
7157 Make unset_program a virtual function
7159 * src/hildon-stackable-window.c
7160 * src/hildon-stackable-window.h
7161 Added hildon_stackable_window_go_home()
7163 * examples/Makefile.am
7164 * examples/hildon-stackable-window-example.c
7165 HildonStackableWindow example
7167 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7169 * hildon-pannable-area.c: Added the overshoot property and removed
7170 the OVERSHOOT define. Fixed an indent style error.
7171 (hildon_pannable_area_motion_notify_cb):
7172 (hildon_pannable_area_get_property):
7173 (hildon_pannable_area_set_property): Add overshoot property.
7175 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7178 (hildon_pannable_area_class_init): Installed the new property.
7180 * hildon-pannable-area-example.c: Added a sawtooth function, this
7181 way it is easier to check the movement in the pannable.
7182 (get_sawtooth_label): Added this function.
7183 (main): Now we get the labels from the new get_sawtooth_label
7186 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7188 * src/hildon-app-menu.h
7189 * src/hildon-app-menu.c
7190 Renamed API variables for consistency
7192 (hildon_app_menu_popup): Use also the default window size to
7193 decide where to place the menu
7195 (hildon_app_menu_init, hildon_app_menu_class_init): New
7196 external-border style property
7198 2008-05-26 Michael Natterer <mitch@imendio.com>
7200 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7201 widget_class->tap_and_hold_setup signal slot doesn't exist any
7202 longer, stop overriding it.
7204 (hildon_time_editor_init): g_signal_connect() to the
7205 tap-and-hold-setup signal instead.
7207 (hildon_time_editor_entry_keypress): add cast to fix warning.
7209 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7211 * doc/hildon-docs.sgml
7213 * examples/Makefile.am
7214 * examples/hildon-app-menu-example.c
7216 * src/hildon-app-menu-private.h
7217 * src/hildon-app-menu.c
7218 * src/hildon-app-menu.h
7220 New HildonAppMenu widget
7222 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7224 Rearranged the inheritance of the pannable area, now it inherits
7225 from GtkBin. This will allow us to control the event_window and
7226 the allocation process of the widget, required for some effects.
7228 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7229 GtkBin structures. * src/hildon-pannable-area.c: Added the
7230 event_window variable.
7231 (hildon_pannable_area_button_press_cb):
7232 (hildon_pannable_area_button_release_cb):
7233 (hildon_pannable_area_motion_notify_cb):
7234 Changed the signature of the method, now we override the event
7235 callback instead of connecting to the signal.
7237 (hildon_pannable_area_realize):
7238 (hildon_pannable_area_unrealize):
7239 (hildon_pannable_area_map):
7240 (hildon_pannable_area_unmap):
7241 (hildon_pannable_area_size_allocate):
7242 Added functions to control the widget construction. We add a
7243 INPUT_ONLY window and we put it over the widgets inside the
7244 container, this event_window handles the events.
7246 (hildon_pannable_area_class_init):
7247 Replaced the signal connections with overrides of the event
7250 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7252 Bouncing effect added when touching the borders, you can change
7253 the elasticity of the border changing the ELASTICITY define.
7255 * src/hildon-pannable-area.c: Added ELASTICITY define.
7256 (hildon_pannable_area_timeout): Added inverse velocity when
7257 touching the border of the child widget, that causes a bounce.
7259 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7261 Improved performance, we now do not go to the X server in order to
7262 get the list of window children. Apparently the effect is the
7263 same, we have to be careful and check if this breaks something in
7266 * src/hildon-pannable-area.c:
7267 (get_ordered_children): Removed this function.
7268 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7269 the children windows function with gdk_window_get_children.
7271 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7273 * src/hildon-pannable-area.c:
7274 (hildon_pannable_area_dispose): Fixed a crash when closing the
7275 window and kinetics is activated.
7277 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7279 * src/hildon-pannable-area.h
7280 * src/hildon-pannable-area.c
7281 Changed indentation style to meet the one used in Hildon
7283 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7285 Reviewed the interaction of the AUTO mode, now we use the time
7286 attribute of the events and calculate the velocity in the motion,
7287 doing a gimp like calculation. The velocity is calculated in each
7288 motion event using the last velocity and the current one, the
7289 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7291 * src/hildon-pannable-area.c: Replaced the time based algorithm
7293 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7294 timeout for the AUTO mode when we are still moving the cursor. We
7295 added also the velocity calculation in this function.
7296 (hildon_pannable_area_button_release_cb): launch the timeout in
7297 case we are in AUTO mode. There are still some constants here that
7298 come from the old implementation that should be reviewed and
7301 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7303 * doc/hildon-docs.sgml
7306 * src/hildon-stackable-window.c
7307 * src/hildon-stackable-window.h
7309 New HildonStackableWindow widget
7311 * examples/hildon-dialog-example.c
7312 * examples/hildon-pannable-area-example.c
7315 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7317 * src/hildon-dialog.c
7318 (hildon_dialog_new_with_buttons): New constructor.
7320 * examples/hildon-dialog-example.c
7321 (main): Update the example to use the new
7322 hildon_dialog_new_with_buttons().
7324 * examples/hildon-pannable-area-example.c
7325 (main): Update example.
7327 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7329 * doc/hildon-docs.sgml
7331 Added HildonPannableArea to the documentation.
7333 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7335 * doc/visual_index.xml
7336 Fix reference to HildonLoginDialog in documentation
7338 * doc/hildon-docs.sgml
7340 * examples/Makefile.am
7341 * examples/hildon-dialog-example.c
7343 * src/hildon-dialog.c
7344 * src/hildon-dialog.h
7346 New HildonDialog widget.
7348 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7350 * src/hildon-pannable-area.c
7351 Merge latest changes (r4318, r4342) from libmokoui trunk
7353 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7355 * examples/Makefile.am
7356 * examples/hildon-pannable-area-example.c
7358 * src/hildon-pannable-area.c
7359 * src/hildon-pannable-area.h
7361 New HildonPannableArea widget.
7363 2008-04-15 18:05:19 <timj@imendio.com>
7365 * src/hildon-banner.c: revert the recent change, that introduced
7366 gtk_window_present() calls. this reopens:
7367 Bug 78481 - [freetest] information banners are hidden under browser menu
7368 But resolves another variant of:
7369 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7371 2008-04-15 13:21:13 <timj@imendio.com>
7373 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7374 recreated its layout, spotted by Kris. this fixes all remaining
7375 artefacts and stability issues with the banner code. in particular:
7376 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7378 2008-04-14 16:52:59 <timj@imendio.com>
7380 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7381 operating on unrealized widgets, fixes:
7382 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7384 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7386 2008-04-09 Kristian Rietveld <kris@imendio.com>
7388 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7389 makes banner disappear.
7390 Fixes: NB#79182: info banner flickering with certain message lengts.
7392 * src/hildon-banner.c (hildon_banner_constructor),
7393 (hildon_banner_init), (hildon_banner_set_text),
7394 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7395 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7396 FALSE, reset size requests of label and banner,
7397 (force_to_wrap_truncated): when the text is too wide, always enforce
7398 the maximum possible width instead of recalculating it from the
7399 layout; enforce the maximum banner height of 3 lines,
7400 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7401 nicer wrapping and no truncated chars if space gets tight.
7403 * src/hildon-banner-private.h: add has_been_wrapped and
7404 has_been_truncated fields.
7406 2008-04-07 Sven Herzberg <sven@imendio.com>
7408 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7409 local values in hildon_date_editor_size_allocate
7411 * src/hildon-date-editor.c: moved the real allocation code into the
7414 2008-04-07 Sven Herzberg <sven@imendio.com>
7416 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7417 local values in hildon_date_editor_size_allocate
7419 * src/hildon-date-editor.c: merged the two if() branches together
7421 2008-04-07 Sven Herzberg <sven@imendio.com>
7423 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7424 local values in hildon_date_editor_size_allocate
7426 * src/hildon-date-editor.c: changed the arguments of the if()
7429 2008-04-07 Sven Herzberg <sven@imendio.com>
7431 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7432 local values in hildon_date_editor_size_allocate
7434 * src/hildon-date-editor.c: split the calculation of the allocation
7435 from the real allocation
7437 2008-03-27 Michael Natterer <mitch@imendio.com>
7439 Fixes: NB#81696: The passcode is not overwritten even after
7442 * src/hildon-code-dialog.c
7443 (hildon_code_dialog_button_clicked)
7444 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7445 because that doesn't overwrite selected text. Instead, emit the
7446 "commit" signal on the entry's im_context so the entry's normal
7447 insert logic is triggered. Set the cursor to the end of the entry
7448 after each insert operation so that we *only* insert in the middle
7449 of the text if something was selected.
7451 2008-03-27 Michael Natterer <mitch@imendio.com>
7453 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7454 selector cannot be opened
7456 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7457 when the popup color selector is created. Please connect to this
7458 signal in order to set the dialog's help ID.
7460 2008-03-25 Sven Herzberg <sven@imendio.com>
7462 Fixes: MB#1212: Hide info banners (infoprints) on click
7464 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7465 extracted the close event simulation into an extra function
7466 (hildon_banner_button_press_event): simulate a close event and destroy
7467 the widget if the event wasn't handled
7468 (hildon_banner_class_init): added the button_press_event handler
7469 (hildon_banner_init): added button-press events to the widget
7471 2008-03-25 Sven Herzberg <sven@imendio.com>
7473 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7474 Patch from: Mohammad Anwari <mdamt@maemo.org>
7476 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7477 instead of the right in RTL mode
7478 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7479 breadcrumb button list in RTL mode
7480 * src/hildon-caption.c: mirror the appearance of the caption widget in
7482 * src/hildon-date-editor.c: mirror appearance of the date editor in
7484 * src/hildon-time-editor.c: mirror appearance of the time editor in
7486 * src/hildon-window.c: fix the position of the popup in RTL mode
7488 2008-03-25 Sven Herzberg <sven@imendio.com>
7490 Amendment to the fix of NB#22072. Fix compilation.
7492 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7494 2008-03-19 Sven Herzberg <sven@imendio.com>
7496 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7499 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7500 timeout id properly when the timeout will disappear this leaves no
7501 artifacts around in the destroy(); there will only be the timeout
7502 created by hildon_banner_ensure_timeout() and adding a new timeout
7503 will also work if the timeout gets removed because the timeout_handler
7506 2008-03-19 Michael Natterer <mitch@imendio.com>
7508 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7510 * src/hildon-volumebar.c
7511 * src/hildon-vvolumebar.c
7512 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7513 the widget becomes focussable at all.
7515 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7516 set the focus to wither the mute button or the volumebar.
7518 Remove own "can-focus" property and instead listen to
7519 notify::can-focus in order to update the widget's state.
7521 Implement GtkWidget::focus() and make sure we can also *leave* the
7522 widget, not only enter it, depending on volumebar orientation and
7523 requested focus direction.
7525 Clean up set_mute() to cooperate nicely with all the above.
7527 2008-03-04 Michael Natterer <mitch@imendio.com>
7529 Fixes: NB#78481: information banners are hidden under browser menu
7531 * src/hildon-banner.c: call gtk_window_present() on the banners so
7532 they are risen if they are already visible.
7534 2008-03-03 Sven Herzberg <sven@imendio.com>
7536 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7538 * examples/hildon-window-menu-example.c: (main): extended the window
7539 menu example to serve as a testcase for automatically added
7540 accelerator groups, too
7541 * src/hildon-window.c: (hildon_window_add_accel_group),
7542 (hildon_window_set_menu): added patch by Tommi Komulainen
7544 2008-03-03 Sven Herzberg <sven@imendio.com>
7546 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7548 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7549 knowledge about the border allocators used within GTK+
7551 2008-02-26 Sven Herzberg <sven@imendio.com>
7553 Fixes: MB#2981: Build with asserts broken
7555 * src/hildon-date-editor.c,
7556 * src/hildon-number-editor.c,
7557 * src/hildon-time-editor.c,
7558 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7559 the proper GType instance check
7561 2008-02-25 Sven Herzberg <sven@imendio.com>
7563 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7565 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7566 * examples/hildon-window-menu-example.c: (main): explicitly show
7568 * src/hildon-window.c:
7569 (hildon_window_set_main_menu): moved most of the code from set_menu()
7570 to this place; skipped the call to gtk_widget_show_all(); also didn't
7571 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7572 (hildon_window_set_menu): removed most of the code, just keep the
7573 questionable gtk_widget_show_all()
7574 * src/hildon-window.h: added the new function and deprecate the old
7577 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7583 * debian/changelog: Updating.
7585 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7588 * pkgconfig/Makefile.am:
7589 * pkgconfig/hildon.pc.in:
7592 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7593 use newly created API_MAJOR_VERSION.
7595 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7601 * debian/changelog: Updating.
7603 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7607 Add outer_border style property, we use it but don't define it (!).
7611 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7613 * examples/hildon-bread-crumb-trail-example.c (main):
7617 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7619 Fix logic for the bread crumb trail node removal.
7623 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * debian/changelog: Updating.
7631 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7633 Patch by Alejandro to get/set passwords dialogs accesibility.
7635 * hildon-1/src/hildon-get-password-dialog.c:
7636 * hildon-1/src/hildon-set-password-dialog.c:
7637 Set atk_set_name to the passwd entries in order to allow
7638 accessibility by name on this entries.
7640 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * debian/control: Updating gtk dep.
7647 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7649 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7650 USE_MAEMO_GTK is enabled.
7652 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7654 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7655 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7657 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * debian/changelog: Updating.
7665 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7667 * examples/Makefile.am:
7668 * examples/hildon-logical-color-example.c:
7669 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7670 applied + adding a test case. Fixes: NB#71660.
7672 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7674 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7675 to be visible, fixes warning on map for windows without toolbars.
7677 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7679 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7680 2.11.0, add a check for that besides the MAEMO_GTK check.
7682 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7688 * debian/changelog: Updating.
7690 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7692 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7693 visibility. Fixes: NB#70842 and MB#615.
7695 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7697 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7698 set the separator as no-show-all so it doesn't unintentionally appear when
7699 someone does a show_all.
7701 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7703 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7704 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7705 toplevel item. Fixes: NB#62031
7707 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7709 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7710 fix the name of the function in the docs.
7712 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * debian/changelog: Updating.
7720 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7722 * examples/hildon-banner-long-example.c: Adding a test-case for long
7725 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7727 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7729 * src/hildon-color-chooser-dialog.c:
7730 * src/hildon-color-chooser.c:
7731 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7732 memory leaks in font selector and color selector. Fixes: NB#70499 and
7735 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7737 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7739 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7741 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7742 little bit bigger. Fixes: #NB63694.
7744 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * debian/changelog: Updating.
7752 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7755 * doc/hildon-docs.sgml:
7756 * doc/images/bread-crumb-trail.png:
7757 * doc/images/calendar-popup.png:
7758 * doc/images/caption.png:
7759 * doc/images/code-dialog.png:
7760 * doc/images/color-button.png:
7761 * doc/images/color-chooser-dialog.png:
7762 * doc/images/color-chooser.png:
7763 * doc/images/controlbar.png:
7764 * doc/images/date-editor.png:
7765 * doc/images/font-selection-dialog.png:
7766 * doc/images/get-password-dialog.png:
7767 * doc/images/hvolumebar.png:
7768 * doc/images/login-dialog.png:
7769 * doc/images/note.png:
7770 * doc/images/number-editor.png:
7771 * doc/images/range-editor.png:
7772 * doc/images/seekbar.png:
7773 * doc/images/set-password-dialog.png:
7774 * doc/images/sort-dialog.png:
7775 * doc/images/time-editor.png:
7776 * doc/images/time-picker.png:
7777 * doc/images/vvolumebar.png:
7778 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7779 Adding the bread-crumb-trial and helpers to the documentation.
7781 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * examples/hildon-find-toolbar-example.c:
7784 * src/hildon-find-toolbar.c:
7785 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7786 actually continue firing the other handlers if connected. Adding a new
7788 hildon_find_toolbar_get_last_index that gets the index of the most
7789 recently added (last) item. Fixes: NB#52301.
7791 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7794 behaviour. Fixes: NB#68610.
7796 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7801 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7803 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7804 when realizing the banner. Should make the infonbanner effect a bit more
7807 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7809 * src/hildon-volumebar.c:
7810 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7811 hildon_volumebar_set_range_insensitive_message and
7812 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7814 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-window.c: Fixing the border freeing on destroy.
7818 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7820 * src/hildon-code-dialog-private.h:
7821 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7822 kw keyboard support in HildonCodeDialog.
7824 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7830 * debian/changelog: Updating.
7832 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-date-editor.c:
7835 * src/hildon-number-editor.c:
7836 * src/hildon-private.c:
7837 * src/hildon-private.h:
7838 * src/hildon-time-editor.c:
7839 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7840 handling in subclassed composite widgets. Fixes: NB#66628.
7842 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7844 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7845 from destroy_ callback as it introduces problems in async dbus signal
7846 handlers. Fixes NB#66673.
7848 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * examples/hildon-hvolumebar-example.c:
7851 * src/hildon-volumebar.c: Improving the focus handling in the
7852 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7853 set_property accessor so that "mute" property can be actually set. I'm
7854 scared that nobody noticed it's totally broken.
7856 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7861 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * src/hildon-calendar.c:
7864 * src/hildon-number-editor.c:
7865 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7866 matches the spec of 6 chars per second. Fixes: NB#60489.
7868 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7870 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7871 gtk_style_lookup_color sometime returns FALSE even though color was
7872 found and values were filled properly. Weird. Removing the warning for the
7875 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7877 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7878 expand vertically. Adding some extra space to the find toolbar buttons to
7879 make them thumbable. Fixes NB#66060.
7881 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7884 popup with "Ok" and "Cancel". Fixes NB#59299.
7886 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * src/hildon-calendar.c: Process all window updates before executing next
7889 timeout. Fixes: NB#54146.
7891 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * debian/changelog: Updating.
7899 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7901 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7902 the client event and ignore it, since we use the delete event to close
7905 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * src/hildon-helper.c: Remove the bogus warning about color not being
7908 found. Fixes NB#58352.
7910 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7912 * examples/Makefile.am:
7913 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7914 HildonSeekbar widget inside a toolbar.
7916 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7918 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7919 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7920 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7921 don't want to be closed by non-temporary windows on map.
7923 Also use G_DEFINE_TYPE instead of manually typed code.
7925 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7932 * debian/rules: Updating.
7934 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7936 * examples/Makefile.am:
7937 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7938 bug NB#61128. Strangely it works.
7940 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7942 * src/hildon-date-editor.c: When the date editor entry has been changed
7943 but the numbers of characters < max, turn off the skip validation flag.
7944 Prevents a situation when we enter first a valid year and later re-write
7945 it with an invalid one. Fixes NB#60154.
7947 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7950 code dialog. Fixes NB#64355.
7952 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7955 switching the page. Fixes NB#49374.
7957 * examples/Makefile.am:
7958 * examples/hildon-wizard-dialog-example.c: Adding an example for
7959 HildonWizardDialog that shows how to handle manual sensitivity setting on
7962 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * src/hildon-version.h.in:
7967 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7969 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7971 * src/hildon-volumebar.c: Updating the docs.
7973 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * debian/changelog: Updating.
7981 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7983 * src/hildon-find-toolbar.c:
7984 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7985 selected item: hildon_find_toolbar_set_active,
7986 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7987 hildon_find_toolbar_get_active_iter . They correspond to respective
7988 GtkComboBox functions.
7990 * examples/Makefile.am:
7991 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7994 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7996 * examples/Makefile.am:
7997 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8000 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8001 when font size > 32 and we pack a focusable widget inside. Actually using
8002 the default response would work too, but since we don't show default
8003 response state in any way (no theming) it would not be visible to the
8004 user. Fixes NB#63430.
8006 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-date-editor.c: Adding the missing variable setter in the
8009 set_property handler. Fixes NB#54182.
8011 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8013 * src/hildon-window.h: Changing the long key press time from 1500ms to
8014 800ms as requested in NB#63700. I have a bad feeling about this, let's
8015 see... Fixes NB#63700.
8017 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8019 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8020 hildon_time_picker_map, hildon_time_picker_realize,
8021 hildon_time_picker_style_set): Split the contents of map to more
8022 appropriate functions; set window decorations on realize and update
8023 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8025 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8030 * debian/changelog: Updating.
8032 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8034 * src/Makefile.am: fixed installation of the header files
8036 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * debian/changelog: Updating.
8044 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8046 * configure.ac: Removing some remaining of --enable-xan.
8048 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8050 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8051 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8053 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8054 2.10.12-osso6 because the move-focus signal needs to be available in
8057 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8059 * examples/Makefile.am:
8060 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8061 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8062 fine. Prolly NB#61128 is fixed now.
8064 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * src/hildon-volumebar.c:
8067 * src/hildon-volumebar.h: Adding the
8068 hildon_volumebar_set_range_insensitive_message and
8069 hildon_volumebar_set_range_insensitive_messagef functions to set
8070 insensitive message on the slider of the volumebar. Fixes NB#61129.
8072 * examples/Makefile.am:
8073 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8074 test the new insensitive messsage functionality on HildonVolumebar.
8076 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8078 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8081 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8083 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8084 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8085 button on after clearing the trail.
8087 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8089 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8091 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8093 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8094 by splitting the installed headers in generated and non-generated groups. Use
8095 only the non-generated headers to create the hildon-enum-types.h file.
8097 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8099 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8101 * src/hildon-window.c: Hide the window before performing the destroy.
8102 Should make the app closing a little tiny bit more snappy.
8104 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8106 * src/hildon-seekbar.c: add gtkrange.h header
8107 * src/hildon-caption.c: remove unused variable
8109 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8111 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8114 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8120 * debian/changelog: Updating.
8122 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8124 * src/hildon-window.c (hildon_window_window_state_event,
8125 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8126 escape timeout on focus-out-event rather than notify::is-topmost; the
8127 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8129 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8131 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8132 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8134 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8136 * src/hildon-window: actually, you need to use the macro always, there's
8137 no private pointer in the instance structure. We should have cleaned this up
8138 when we had the chance...
8140 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8142 * src/hildon-window.c: do not get the private date from HildonWindow before
8143 it passes the g_return_if_fail check. Once it's passed the test, there's no
8144 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8145 if you are only going to access the data once. Whitespace cleanups.
8147 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8149 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8150 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8152 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * debian/changelog: Updating.
8160 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8162 * src/hildon-window.c: When destroying the window, remove (if exists) the
8163 escape timeout handler. Fixes #NB59276.
8165 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * src/hildon-banner.c: When realizing the widget, set the window
8168 transiency. Setting the transiency in the gobject constructor is not
8169 good, as the widget is not realized at that point. Fixes: #NB56624.
8171 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8173 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8174 Add padding for future expansions.
8176 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8178 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8179 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8180 will fake an activation on the previous to the last item of the trail, so
8181 the effect can be overrided by the developer as usual.
8182 Also change the callback for the back button to do the same thing, so its
8183 effect can be overrided too. Fixes: NB#58982
8185 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8187 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8188 HildonCaption. Fixes NB#52379.
8190 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8192 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8193 the internal state of the trail after the user has had the chance of executing
8194 his handler for the signal. Specifically, it may happen that the activated button
8195 is removed and the user still lets the default handler run. This would segfault
8198 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8201 scrollbar to the preview dialog. Fixes NB#54147.
8203 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8206 max/min year properties can be altered, so the client can modify it
8207 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8209 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8211 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8212 hildonlike by default. Fixing a problem with disappearing arrows when
8213 scrolling through months and years. Fixes NB#54127.
8215 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8217 * examples/hildon-date-editor-example.c: Adding error callback to the date
8220 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * configure.ac: Updating.
8228 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * configure.ac: Adding a special '--enable-xan' configure option that
8231 turns off the -Werror compilation setting. Usefull for development.
8233 * src/hildon-calendar.c:
8234 * src/hildon-number-editor.c:
8235 * src/hildon-time-picker.c: Adding the 5* multiplier to
8238 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8240 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8241 instead of g_object_ref + gtk_object_sink.
8243 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8249 * debian/changelog: Updating.
8251 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-color-chooser-dialog.c:
8254 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8255 straight from Tommi labs.
8257 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8259 * examples/hildon-finger-example.c: Correcting the header file path.
8261 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8262 the changed signal. Fixes a small memory leak.
8264 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * src/hildon-banner.c: Importing several usefull fixes from the
8269 ubuntu-mobile branch.
8271 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8273 * examples/Makefile.am:
8274 * examples/hildon-finger-example.c: Adding a finger-checking code
8277 * src/hildon-font-selection-dialog.c: Do not allocate the color
8278 structure using the g_new. Fixes NB#54061.
8280 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * src/hildon-helper.c: Correcting tabs in file.
8284 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8286 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8287 control the visibility of the children.
8289 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8291 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * debian/changelog: Updating.
8299 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8301 * src/hildon-bread-crumb-trail.c:
8302 (hildon_bread_crumb_trail_size_allocate):
8304 Make the back button always a square.
8306 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8308 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8309 from the .c file as it's a private file.
8311 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8313 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8314 uses slightly bigger height.
8316 * src/hildon-font-selection-dialog.c: Adding some checks before
8317 freeing memory in the font selection dialog.
8319 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-font-selection-dialog.c: Adding a small check when
8324 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8325 buttons sensitivity on page switching.
8327 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8329 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8330 internal details of adding a bread crumb to the trail.
8332 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8338 * debian/changelog: Updating.
8340 * src/hildon-bread-crumb-trail.h:
8341 * src/hildon-bread-crumb.h: Changing the API guard to
8342 HILDON_ENABLE_UNSTABLE_API.
8344 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8352 * src/hildon-helper.h: Updating.
8354 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8362 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-helper.h: Small fix to make the package actually compile.
8368 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8370 * src/hildon-bread-crumb-trail.h:
8371 * src/hildon-bread-crumb.h:
8373 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8374 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8376 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8378 * examples/hildon-bread-crumb-trail-example.c:
8380 * src/hildon-bread-crumb-trail.c:
8381 * src/hildon-bread-crumb-trail.h:
8382 * src/hildon-bread-crumb.c:
8383 * src/hildon-bread-crumb.h:
8384 * src/hildon-marshalers.list:
8385 * src/hildon-bread-crumb-widget.c:
8386 * src/hildon-bread-crumb-widget.h:
8388 Slight change in the widget design. The bread crumb trail API is
8389 unchanged, but HildonBreadCrumb is now an interface. A *private*
8390 implementation, hildon-bread-crumb-widget, is provided and used
8391 internally by the trail for the push_text/push_icon functions.
8393 The generic push API is still available, so anyone can implement
8394 and use its own bread crumb widget.
8396 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8398 * debian/rules: Fixing the shlibs.
8400 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * src/hildon-banner.c: Fixing a problem with timed banners having
8403 their parrent destroyed before they are.
8405 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8407 * src/hildon-bread-crumb.c:
8408 * src/hildon-bread-crumb.h:
8410 Make the get_natural_size function a vfunc.
8412 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8414 * src/hildon-bread-crumb.c:
8415 * src/hildon-bread-crumb-trail.c:
8419 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8426 * debian/changelog: Updating for release.
8428 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8430 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8431 don't leak the pango layout.
8433 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8436 * examples/hildon-bread-crumb-trail-example.c:
8440 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * debian/changelog: Removing the bug-fixed entries that were actually
8443 resolved as WONTFIX.
8445 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8448 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8450 * src/hildon-bread-crumb-trail.c:
8451 * src/hildon-bread-crumb-trail.h:
8452 * src/hildon-bread-crumb.c:
8453 * src/hildon-bread-crumb.h:
8457 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8459 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8460 until it's passed the type check.
8462 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8464 * examples/hildon-bread-crumb-trail-example.c
8468 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8470 * examples/Makefile.am
8471 * examples/hildon-bread-crumb-trail-example.c
8473 * src/hildon-bread-crumb-trail.c
8474 * src/hildon-bread-crumb-trail.h
8475 * src/hildon-bread-crumb.c
8476 * src/hildon-bread-crumb.h
8478 New HildonBreadCrumbTrail widget.
8480 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8482 * src/hildon-range-editor.c (hildon_range_editor_init),
8483 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8484 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8485 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8486 hildon_time_editor_class_init, hildon_time_editor_init),
8487 src/hildon-get-password-dialog.c (invalid_input,
8488 hildon_get_password_set_property, hildon_get_password_get_property,
8489 create_contents, hildon_get_password_dialog_set_max_characters),
8490 src/hildon-set-password-dialog.c (create_contents),
8491 src/hildon-date-editor.c (hildon_date_editor_init),
8492 src/hildon-login-dialog.c (hildon_login_dialog_init),
8493 src/hildon-number-editor.c (hildon_number_editor_init),
8494 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8495 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8496 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8497 configure option and adding the respective checks in the code.
8498 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8499 hildon_calendar_drag_data_received): fixed some build warnings.
8501 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8503 * debian/changelog: A 1.0.0 release notes.