1 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
4 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
5 avoid unnecessary scaling.
7 2009-05-27 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-app-menu.c (hildon_app_menu_map):
10 Create grab transfer window before calling parent's map function.
12 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
13 "crushed" button(s) in the top left corner)
15 2009-05-26 Alberto Garcia <agarcia@igalia.com>
17 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
18 Check if the window is already realized when pushing it.
20 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
22 * configure.ac: post release version bump
23 * debian/changelog: post release version bump
25 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
30 * configure.ac: Bump version.
31 * debian/changelog: Updates.
33 2009-05-25 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-app-menu.c: Doc updates.
37 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
39 * hildon/hildon-banner.c: Remove leftover macro.
41 2009-05-25 Alejandro G. Castro <alex@igalia.com>
43 * hildon/hildon-pannable-area.c,
44 (hildon_pannable_area_scroll_indicator_fade),
45 (hildon_pannable_area_button_release_cb): Reviewed vmin
46 conditions, it could cause problems in the fadeout procedure.
48 2009-05-25 Alejandro G. Castro <alex@igalia.com>
50 * hildon/hildon-pannable-area.c
51 (hildon_pannable_area_button_release_cb): Added a threshold to
52 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
54 2009-05-25 Alejandro G. Castro <alex@igalia.com>
56 * hildon/hildon-pannable-area.c,
57 (hildon_pannable_area_set_property): Added code to sync the gtk
58 dnd threshold with the panning threshold.
60 2009-05-25 Alejandro G. Castro <alex@igalia.com>
62 * hildon/hildon-pannable-area.c,
63 (hildon_pannable_area_class_init): Changed some of the default
64 values, now it should be less responsive and more accurate.
66 2009-05-25 Alejandro G. Castro <alex@igalia.com>
68 * hildon/hildon-pannable-area.c,
69 (hildon_pannable_area_init),
70 (hildon_pannable_area_scroll_indicator_fade),
71 (hildon_pannable_area_button_press_cb),
72 (hildon_pannable_axis_scroll),
73 (hildon_pannable_area_timeout),
74 (hildon_pannable_area_motion_notify_cb),
75 (hildon_pannable_area_button_release_cb): Changed the name of the
76 clicked attribute to button_pressed, it is more clear about its use.
78 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
80 * src/hildon-pannable-area.c
81 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
83 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
84 vertical scrollbar visibility, and use the data on private section instead,
85 remove the initial_hint check
86 (hildon_pannable_area_expose_event): add the initial_hint check here
88 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
90 * src/hildon-pannable-area.c
91 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
92 if the fadeout effect was used
93 (hildon_pannable_area_expose_event): check if it is required to
94 manage the initial effect on the begining of the function. Previously
95 it was made at the end, but this doesn't ensure that the scrollbars
96 will be painted on the first show. Do not set to FALSE initial_effect,
97 to ensure that the initial hint is showed the first time the pannable
99 * examples/Makefile.am
100 * examples/hildon-pannable-area-initial-hint-example.c:
101 New example, to show that the initial-hint is showed when the widget
104 Fixes: NB#116607 (Pannable area should always have scrollbar visible
105 initially if the application can be scrolled)
107 2009-05-25 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
110 Resize table before adding new items to make sure that
111 gtk_table_resize() is called just once.
113 2009-05-25 Alberto Garcia <agarcia@igalia.com>
115 * hildon/hildon-app-menu-private.h
116 * hildon/hildon-app-menu.c (item_visibility_changed)
117 (filter_visibility_changed, hildon_app_menu_show_all)
118 (hildon_app_menu_hide_all, hildon_app_menu_init):
119 Rearrange items just once when gtk_widget_show_all()/hide_all()
122 2009-05-25 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-app-menu.c
125 (hildon_app_menu_insert, hildon_app_menu_add_filter):
126 Don't call gtk_widget_show() on added items.
128 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
129 automatically when they're added)
131 2009-05-20 Alberto Garcia <agarcia@igalia.com>
133 * hildon/hildon-banner.c
134 (hildon_banner_realize, +hildon_banner_unrealize)
135 (+screen_size_changed, hildon_banner_class_init):
136 Redisplay the banner if the screen is rotated.
138 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
139 on transition from landscape to portrait)
141 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
143 * hildon/hildon-banner.[ch]:
144 (hildon_banner_show_information_override_dnd): remove icon_name from the
145 method definition as it is ignored.
146 * examples/hildon-banner-dnd-example.c: updated with the change on
149 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
151 * hildon/hildon-banner-private.h: new require_override_dnd and
152 overrides_dnd variables
153 * hildon/hildon-banner.h:
154 (hildon_banner_show_information_override_dnd): new method, that shows
155 the information but sets the override flag, in order to show important
157 * hildon/hildon-banner.c
158 (hildon_banner_show_information_override_dnd): new method
159 (hildon_banner_set_override_flag): new utility function
160 (hildon_banner_real_show_information): new utility function, in order to
161 generalize the current hildon_banner_show_information_override_dnd and
162 hildon_banner_show_information_override_dnd
163 * examples/Makefile.am
164 * examples/hildon-banner-dnd-example.c: New example that show how to
165 use the new hildon_banner_show_information_override_dnd
167 Fixes: NB#114874 (There is no possibility to show hildon banners with
170 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
172 * hildon/hildon-pannable-area.c: Add a comment explaining the math
173 behind hildon_pannable_calculate_vel_factor().
175 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
177 * hildon/hildon-pannable-area.c
178 (hildon_pannable_calculate_vel_factor): Correct the sum of the
179 deceleration factors.
181 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
183 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
184 Reduce the default value for 'scroll_time' to 1 second, since the
185 current initial scrolling takes too much time.
187 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
189 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
190 calculate velocity factor during initialization, since the properties
193 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
195 * hildon/hildon-pannable-area.c
196 (hildon_pannable_area_set_property): Calculate the velocity factor
197 after setting the deceleration property and not after.
199 2009-05-20 Alberto Garcia <agarcia@igalia.com>
201 * hildon/hildon-entry.c
202 (hildon_entry_class_init, +set_property, hildon_entry_new)
203 * hildon/hildon-check-button.c
204 (hildon_check_button_class_init)
205 (+set_property, hildon_check_button_new):
206 Make the theme size a property.
208 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
209 others) do too much in the _new function)
211 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
213 * configure.ac: post release version bump
214 * debian/changelog: post release version bump
216 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: Bump version.
222 * debian/changelog: Updates.
224 2009-05-15 Alberto Garcia <agarcia@igalia.com>
226 * hildon/hildon-gtk.h
227 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
228 New API function to take a screenshot of a window
230 Fixes: NB#106374 (Need API to take a loading screenshot)
232 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
234 * hildon/hildon-time-selector.c
235 (update_format_policy): prevent to use hours and minutes unitialized
237 2009-05-15 Alberto Garcia <agarcia@igalia.com>
239 * hildon/hildon-window.c (hildon_window_size_request):
240 Always request the full size of the screen (minus the title bar if
241 not in fullscreen mode).
243 Fixes: NB#107486 (HildonWindow should size itself properly)
245 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
247 * hildon/hildon-note-private.h: Add idle_handler to the private data.
248 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
249 (on_show_cb), (sound_handling): Disconnect the idle handler for
250 the sound when the note is finalized to avoid possible crashes.
252 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
255 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
257 * src/hildon-animation-actor.c,
258 * src/hildon-remote-texture.c:
259 Added proper object cleanup to remove signal handler and object
260 references as HildonAnimationActor and HildonRemoteTexture
261 objects get destroyed.
263 Fixes: NB#116682 (Destroying parented animation actors when
264 parent in unmapped leads to crash)
266 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
268 Based on a patch by Christian Dywan (christian@imendio.com)
270 * doc/hildon-sections.txt:
271 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
272 * hildon/hildon-helper.h: New file size formatting method.
274 * debian/control: Depend on osso-filemanager l10n package for
275 proper localization strings.
277 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
279 * tests/Makefile.am: Include top_srcdir to make possible to build
280 tests in a different builddir.
281 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
282 on a different builddir.
284 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
286 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
287 (hildon_touch_selector_remove): Disconnect model's signal handler
290 Fixes: NB#116289 (Hildon home crashes while adding task
293 2009-05-11 Alberto Garcia <agarcia@igalia.com>
295 * hildon/hildon-button.c
296 (hildon_button_set_title, hildon_button_set_value):
297 Hide labels containing an empty string.
299 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
301 * configure.ac: post release version bump
302 * debian/changelog: post release version bump
304 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
309 * configure.ac: Bump version.
310 * debian/changelog: Updates.
312 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
314 * hildon/hildon-note-private.h: Removed sound_signal_handler
315 * hildon/hildon-note.c
316 (on_show_cb): new callback on note "show" event, this simply adds
317 a idle, with the function sound_handling
318 (sound_handling): removed the sound_signal_handler management
319 (hildon_note_init): connect note "show" event to on_show_cb
320 (hildon_note_realize): remove the connection to "expose-event"
322 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
323 device?' confirmation note)
325 2009-05-08 Alberto Garcia <agarcia@igalia.com>
327 * hildon/hildon-note.c
328 (hildon_note_new_information_with_icon_name)
329 (hildon_note_new_confirmation_with_icon_name):
330 Terminate the list of parameters in g_object_set() calls
332 Fixes: NB#115166 (Formatting memory card is not taking place)
334 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
336 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
337 "dialog-information" role for the sound being played.
339 2009-05-06 Alberto Garcia <agarcia@igalia.com>
341 * hildon/hildon-app-menu.c (hildon_app_menu_init):
342 Don't make the menu a modal window, it causes strange interactions
343 with the pointer grab and it's not really needed.
345 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
347 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
349 * hildon/hildon-touch-selector.[ch]
350 (hildon_touch_selector_optimal_size_request): function added to get a
351 optimal size request from the touch selector, when you want a dialog to
352 show as much of the selector
353 * hildon/hildon-picker-dialog.c:
354 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
355 (hildon_app_menu_class_init):
356 New "max-height-landscape" and "max-height-portrait" style properties
357 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
358 (hildon_picker_dialog_get_max_height): returns the maximum height using
359 the style properties defined and checking the current portrait/landscape
361 (_hildon_picker_dialog_set_selector): removed the set_size_request
363 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
365 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
367 * hildon/hildon-bread-crumb-trail.c:
368 * hildon/hildon-bread-crumb.c:
369 * hildon/hildon-seekbar.c:
370 Add reference to replacements for these deprecated widgets.
372 Fixes: MB#4461 (Documentation: All deprecations should mention
375 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
377 * examples/hildon-remote-texture-example.c
379 Change the include to the hildon-remote-texture in order to compile
380 properly the examples on the installed libhildon1-examples package
382 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
384 * tests/Makefile.am: Add check for HildonPickerButton.
385 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
386 (START_TEST), (create_hildon_picker_button_suite): Add three simple
387 checks for the HildonPickerButton.
388 * tests/check_test.c (configure_tests): Add the test suite.
389 * tests/test_suites.h: likewise.
391 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
393 * hildon/hildon-touch-selector.c
394 (+on_row_changed): Emit HildonTouchSelector:changed when the
395 contents of a selected row change.
396 (_create_new_column), (_hildon_touch_selector_set_model): connect
397 to GtkTreeModel:row-changed on a newly set model.
399 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
401 2009-05-05 Alberto Garcia <agarcia@igalia.com>
403 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
405 * hildon/hildon-banner.c (hildon_banner_destroy)
406 (hildon_banner_show_progress, hildon_banner_set_fraction):
407 Remove the progress bar from HildonBanner and use a progress
410 Fixes: NB#113761 (Update progress banner to use progress
413 2009-05-04 Alberto Garcia <agarcia@igalia.com>
415 * hildon/hildon-banner.c:
416 Calculate size of the banner label using the actual screen width
417 rather than using a fixed value.
419 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
422 2009-05-04 Alejandro G. Castro <alex@igalia.com>
424 * hildon/hildon-pannable-area.c,
425 (hildon_pannable_area_class_init): Fixed signals documentation
428 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
430 * configure.ac: post release version bump
431 * debian/changelog: post release version bump
433 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
438 * configure.ac: Bump version.
439 * debian/changelog: Updates.
441 2009-05-01 Alberto Garcia <agarcia@igalia.com>
443 * hildon/hildon-edit-toolbar.c
444 (hildon_edit_toolbar_init):
445 Don't let buttons in HildonEditToolbar receive focus.
447 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
448 typing on an HW arrows key)
450 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
452 * doc/Makefile.am: Fix build.
454 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
456 * doc/Makefile.am: Do not redefine content_files.
458 2009-04-30 Alberto Garcia <agarcia@igalia.com>
466 Renamed src/ to hildon/
471 Include <hildon/hildon.h> directly in all examples.
473 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
475 * src/hildon-sort-dialog.c
476 (hildon_sort_dialog_add_sort_key_with_sorting)
480 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
482 * src/Makefile.am: Move generated sources to CLEANFILES, so that
483 make distcheck passes.
485 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
487 * Makefile.am: Enable gtk-doc during distcheck.
489 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
491 * Makefile.am: Do not distribute the debian/ directory.
493 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
495 * doc/Makefile.am: Add the extra SGML files to content_files,
496 so that they are distributed properly.
498 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
500 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
503 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
505 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
506 (hildon_note_new_information_with_icon_name): Set the "icon" property
507 to preserve soundness.
509 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-font-selection-dialog.c
512 (hildon_font_selection_dialog_set_property): Fail when the "family"
513 property is set to NULL.
515 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
517 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
520 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
522 * src/hildon-time-selector.h:
523 Added HildonTimeSelectorFormatPolicy
524 * src/hildon-time-selector.c:
525 Added PROP_TIME_FORMAT_POLICY
526 (_check_ampm_format): renamed to check_automatic_ampm_format
527 (update_format_policy), (update_format_dependant_columns): new functions
528 (hildon_time_selector_class_init)
529 (hildon_time_selector_contructor)
530 (hildon_time_selector_init)
531 (hildon_time_selector_get_property)
532 (hildon_time_selector_set_property)
533 (hildon_time_selector_get_time)
534 (hildon_time_selector_set_time)
535 * src/hildon-touch-selector.h: new file
536 * src/hildon-touch-selector.c
537 (hildon_touch_selector_emit_changed)
538 (hildon_touch_selector_block_changed)
539 (hildon_touch_selector_unblock_changed)
540 Added functions to allow to block the emission of the "changed" signal
541 * src/hildon-picker-dialog.c
542 (hildon_picker_dialog_show): call the parent show before the custom code
543 * examples/hildon-time-button-example.c
544 Modified, so now you can configure the time format using the new property
546 Added a new property "time-format-policy" that allow to choose the time
547 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
548 case it uses gconf in order to check if the time selector must use
551 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
554 2009-04-28 Alberto Garcia <agarcia@igalia.com>
556 * src/hildon-note.c (hildon_note_init):
557 Label in HildonNote must be left aligned, not centered. This
558 reverts the last commit in HildonNote.
560 Fixes: NB#112933 (text is not left aligned in confirmation dialog
561 is connectivity dialog)
563 2009-04-27 Alberto Garcia <agarcia@igalia.com>
568 * doc/hildon-sections.txt:
569 Added hildon_gtk_window_set_do_not_disturb()
571 2009-04-27 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-note.c (hildon_note_init): Center label.
575 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
578 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: Bump version.
584 * debian/changelog: Updates.
586 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
588 * src/hildon-note-private.h: Add button-width to the private data.
589 * src/hildon-note.c (+resize_button),
590 (+hildon_note_orientation_update): methods to repack widgets on orientation
592 (screen_size_changed): Call above method for confirmation notes.
593 (hildon_note_realize): Always connect to the "screen-size" changed signal.
594 (hildon_note_rebuild): Store the original width request from buttons.
596 Fixes: NB#109635 (Confirmation notes do not support portrait)
598 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
600 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
601 when it is a progress note.
603 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
605 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
606 in the note, since there are no horizontally arranged contents.
608 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
610 * src/hildon-gtk.c (+set_flag): new generic method to
611 set/delay a flag setting in a window.
612 (hildon_gtk_window_set_progress_indicator):
613 (hildon_gtk_window_set_do_not_disturb),
614 (hildon_gtk_window_set_portrait_flags): use set_flag() to
615 avoid code redundance.
617 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
619 Based on a patch by Alberto Garcia (agarcia@igalia.com)
621 * src/hildon-gtk.c (set_clear_window_flag),
622 (do_set_progress_indicator), (do_set_do_not_disturb),
623 (do_set_portrait_flags),
624 (hildon_gtk_window_set_progress_indicator),
625 (hildon_gtk_window_set_do_not_disturb),
626 (hildon_gtk_window_set_portrait_flags):
627 Allow setting dnd-flag, progress indicator, and portrait flags
628 when the window is not realized.
630 2009-04-24 Alejandro G. Castro <alex@igalia.com>
632 * src/hildon-pannable-area.c,
633 * src/hildon-pannable-area.h: Add the hildon deprecated define to
634 the size request policy function and defines.
636 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
638 * doc/hildon-sections.txt: Add the new API.
639 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
640 method to set the portrait flags.
641 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
643 Fixes: NB#112328 (Adding helpers for setting portrait properties)
645 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
647 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
648 to allow using this method with other flags.
649 (hildon_gtk_window_set_progress_indicator): Update accordingly.
650 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
652 2009-04-22 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-touch-selector.c
655 (hildon_touch_selector_append_text_column):
656 Make the cell renderer use the smallest width possible.
658 Fixes: NB#108470 (Selected items in multiple selection are either
659 having a tick that is cut or not visible at all.)
661 2009-04-22 Alberto Garcia <agarcia@igalia.com>
663 * src/hildon-touch-selector.c
664 (hildon_touch_selector_append_text_column):
667 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
669 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
670 Use g_strdup_printf() instead of a fixed size buffer.
672 2009-04-21 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
675 Close banners when a HildonAppMenu is popped up.
677 Fixes: NB#111027 (Title menu closed immediately if activated when
678 "Invalid e-mail address" banner is shown)
680 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
685 * configure.ac: Bump version.
686 * debian/changelog: Updates.
688 2009-04-20 Alberto Garcia <agarcia@igalia.com>
690 * src/hildon-banner.c (hildon_banner_realize):
691 Mark HildonBanner as supporting portrait mode.
692 Use GDK to set window properties insetad of direct Xlib calls.
694 Fixes: NB#111830 (HildonBanner should be marked as supporting
697 2009-04-20 Alberto Garcia <agarcia@igalia.com>
699 * src/hildon-note.c (hildon_note_rebuild):
700 Hide action area in information notes. Prevents text from being
701 slightly aligned to the left.
703 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
706 2009-04-20 Alberto Garcia <agarcia@igalia.com>
708 Patch by Mox Soini (ext-mox.soini@nokia.com)
710 * src/hildon-banner.c (hildon_banner_create_animation):
711 Use stylus-sized icons in animation banner.
713 Fixes: NB#111206 (stylus sized icon for animation banner)
715 2009-04-20 Alberto Garcia <agarcia@igalia.com>
719 (+hildon_gtk_window_set_do_not_disturb):
720 New API to set the do-not-disturb flag.
722 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
724 2009-04-20 Alberto Garcia <agarcia@igalia.com>
726 * examples/hildon-progress-indicator-example.c: Fix example
728 * src/hildon-gtk.c (set_clear_window_flag)
729 (hildon_gtk_window_set_progress_indicator):
730 Create a generic function for setting flags to a window.
731 Use GDK instead of direct Xlib calls.
733 2009-04-14 Alberto Garcia <agarcia@igalia.com>
735 * src/hildon-button.c (hildon_button_set_arrangement):
736 Due to NB#88126, if one of the labels is too long it will be
737 painted outside the button. The 'value' label is more likely to be
738 the longest one, so we change its packing options in order to
739 truncate it if necessary. As a side effect, the 'title' label will
740 no longer be truncated.
742 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
744 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
749 * configure.ac: Bump version.
750 * debian/changelog: Updates.
752 2009-04-13 Alejandro G. Castro <alex@igalia.com>
754 Deprecation of the hildon_pannable_area_set_size_request_policy
755 API, the only policy properly supported in gtk+ nowadays is the
758 * src/hildon-pannable-area.c,
759 (hildon_pannable_area_size_request): Added a workaround for the
760 size_request to avoid the problems of huge pixmaps in case someone
761 is still using the function.
762 * src/hildon-pannable-area.h: Deprecated the enum with the
765 Fixes: NB#110244 (Problems with the
766 hildon_pannable_area_set_size_request_policy API)
768 2009-04-08 Alejandro G. Castro <alex@igalia.com>
770 * src/hildon-pannable-area.c,
771 (hildon_pannable_area_init),
772 (hildon_pannable_area_size_request),
773 (hildon_pannable_area_style_set),
774 (hildon_pannable_draw_vscroll),
775 (hildon_pannable_draw_hscroll),
776 (hildon_pannable_area_check_scrollbars): Replaced area_width with
777 indicator_width to clarify the use of the attribute.
779 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
784 * configure.ac: Bump version.
785 * debian/changelog: Updates.
787 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
789 * src/hildon-picker-dialog.c
790 * src/hildon-touch-selector.c
791 Reverting the change that tried to avoid the hardcoded height on
792 the picker dialog, as causes problems on the hildon-touch-selector
795 Fixes: NB#110029 (selectors not scrolling to selected value)
797 2009-04-07 Alberto Garcia <agarcia@igalia.com>
799 * src/hildon-touch-selector.c: Fix typos
801 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
804 Use the event coordinates instead of gdk_window_get_pointer(). Also,
805 request more motions after using it.
807 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-calendar.c (hildon_calendar_expose),
810 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
811 Remove unused variables.
813 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
815 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
818 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
820 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
821 Check the return value of gtk_tree_selection_get_selected()
824 2009-04-06 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-animation-actor.c
827 * src/hildon-button.c
829 * src/hildon-pannable-area.c
830 * src/hildon-picker-button.c
831 * src/hildon-program.c
832 * src/hildon-remote-texture.c
833 * src/hildon-text-view.c
834 * src/hildon-touch-selector.c
835 * src/hildon-window-stack.c
836 * src/hildon-window.c:
837 Add missing 'Since: 2.2' tags.
839 * doc/hildon-sections.txt:
840 Add some missing symbols.
842 * doc/hildon-docs.sgml:
843 New 'Other' section for HildonAnimationActor and
846 2009-04-06 Alberto Garcia <agarcia@igalia.com>
848 Patch by Iván Gómez (igomez@igalia.com)
852 * doc/hildon-docs.sgml
853 * doc/hildon-sections.txt
857 New chapters on using the Hildon library.
858 Updated the general structure of the reference manual.
859 Other minor documentation fixes.
861 * src/hildon-calendar-popup.c
862 * src/hildon-calendar.c
863 * src/hildon-controlbar.c
864 * src/hildon-date-editor.c
865 * src/hildon-dialog.c
866 * src/hildon-hvolumebar.c
867 * src/hildon-number-editor.c
868 * src/hildon-range-editor.c
869 * src/hildon-sort-dialog.c
870 * src/hildon-time-editor.c
871 * src/hildon-time-picker.c
872 * src/hildon-volumebar-range.c
873 * src/hildon-volumebar.c
874 * src/hildon-vvolumebar.c
875 * src/hildon-weekday-picker.c:
876 Add deprecation notes
878 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
879 Document 'horizontal-movement' and 'vertical-movement' signals.
881 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
886 * configure.ac: Bump version.
887 * debian/changelog: Updates.
889 2009-04-06 Alejandro G. Castro <alex@igalia.com>
891 * src/hildon-pannable-area.c,
892 (hildon_pannable_area_class_init): increased the minimum velocity.
893 (hildon_pannable_area_button_release_cb): Updated the
894 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
895 setup. Review the code to control that last event.
897 Fixes: NB#109790 (Releasing finger in pannable area easily causes
900 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
902 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
904 * src/hildon-get-password-dialog.c
905 (hildon_get_password_set_property),
906 (hildon_get_password_get_property), (create_contents):
907 * src/hildon-login-dialog-private.h:
908 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
909 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
910 (hildon_login_dialog_get_password):
911 * src/hildon-set-password-dialog-private.h:
912 * src/hildon-set-password-dialog.c
913 (hildon_set_password_set_property),
914 (hildon_set_password_get_property), (create_contents),
915 (hildon_set_password_response_change),
916 (hildon_set_password_response_set), (hildon_checkbox_toggled):
918 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
919 instead and look more Fremantle style.
921 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
923 2009-04-03 Alberto Garcia <agarcia@igalia.com>
925 * doc/hildon-sections.txt
926 * src/hildon-window-stack.h
927 * src/hildon-window-stack.c
928 (+hildon_window_stack_get_windows):
929 New API to obtain the list of windows on a stack.
931 2009-04-02 Alberto Garcia <agarcia@igalia.com>
933 * src/hildon-app-menu.c (hildon_app_menu_popup)
934 (hildon_app_menu_class_init, -hildon_app_menu_show):
935 Remove hildon_app_menu_show() and move all its checks to
936 hildon_app_menu_popup()
938 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
940 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
941 (_hildon_picker_dialog_set_selector): removed call to
942 gtk_widget_set_size_request
943 * src/hildon-touch-selector.c
944 (_create_new_column): change the pannable size request policy
946 Avoid to use a hardcoded height for the hildon picker dialog. In order
947 to get that, we needed to change the hildon pannable size request
949 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
951 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
953 * src/hildon-window.c (hildon_window_map): Check for vbox to be
954 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
957 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
959 * debian/control: Depend on osso-system-lock localization package.
960 * src/hildon-code-dialog.c: Obtain the secu_application_title
961 translation from osso-system-lock.
962 * src/hildon-get-password-dialog.c (create_contents): Do not mark
963 for translation the atk related strings, that's not necessary.
964 * src/hildon-set-password-dialog.c (create_contents): Ditto.
965 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
966 cancel button, it is not required.
968 2009-04-02 Alejandro G. Castro <alex@igalia.com>
970 * src/hildon-pannable-area.c,
971 (hildon_pannable_area_class_init): Modified the default value of
972 the overshooting max speed, we have reduced it.
974 2009-04-02 Alberto Garcia <agarcia@igalia.com>
976 * doc/hildon-sections.txt
977 * src/hildon-window-private.h
978 * src/hildon-window.h
979 * src/hildon-window.c (hildon_window_class_init)
980 (hildon_window_init, hildon_window_finalize)
981 (hildon_window_realize, hildon_window_get_property)
982 (hildon_window_set_property, hildon_window_update_markup)
983 (hildon_window_get_markup, hildon_window_set_markup):
984 New "markup" property and hildon_window_{get,set}_markup() methods.
986 * examples/hildon-stackable-window-example.c (new_window):
987 Update example to use hildon_window_set_markup()
989 Fixes: NB#106375 (Need API to retitle a window with a title
992 2009-04-01 Alejandro G. Castro <alex@igalia.com>
994 * src/hildon-pannable-area.c,
995 (hildon_pannable_area_class_init): Changed the default value of
996 the initial_hint to TRUE.
997 (hildon_pannable_area_initial_effect): Changed the initial effect,
998 not the effect is just the fade-out of the scrollbars.
1000 Fixes: NB#107775 (No scrollbars can be seen when several items are
1001 available in a dialog)
1003 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-program.c (hildon_program_update_top_most):
1008 Fixes: NB#109179 (Memory leak in Hildon program)
1010 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-banner.c (-get_current_app_window):
1013 Remove unused function.
1015 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1017 * src/hildon-pannable-area.c: Modified the documentation of the
1018 get adjustments functions to explain the problem of using the
1019 adjustment directly.
1020 (hildon_pannable_area_class_init): Improved the explanation about
1023 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-app-menu-private.h
1026 * src/hildon-app-menu.c
1027 (hildon_app_menu_class_init):
1028 Bring back the 'external-border' style property
1029 (hildon_app_menu_class_init, hildon_app_menu_init)
1030 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1031 Set a fixed width-request for the menu, independent of the number
1034 Fixes: NB#94957 (Smoothly opened application menu)
1036 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1038 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1040 * src/hildon-banner.c
1041 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1043 Make sure that the banner is correctly placed the first time it's
1045 (hildon_banner_check_position, -check_fullscreen_state):
1046 Show the banner in the same place no matter if the window is in
1047 fullscreen mode or not.
1049 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1051 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-touch-selector.c (_default_print_func): reorder
1054 concatenation for clarity.
1056 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1058 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1059 for multicolumn selectors.
1061 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1063 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1068 * configure.ac: Bump version.
1069 * debian/changelog: Updates.
1071 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1073 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1076 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1078 * configure.ac: removed libcangerra-gtk dependency
1079 * debian/control: removed libcanberra-gtk dependency
1080 * src/Makefile.am: removed libcanberra gtk related flags
1081 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1082 context, and manage a global canberra context instead
1084 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1086 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1088 Patch by Daniel Borgmann (danielb@openismus.com)
1090 * src/hildon-edit-toolbar.c:
1091 Adjust the left padding.
1092 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1093 Paint background of the edit toolbar.
1095 Fixes: NB#107897 (Patch to make editmodetoolbar background
1096 themeable and adjust margin)
1098 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1100 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1102 * src/hildon-program.c (hildon_program_update_top_most):
1103 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1105 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1106 change when the user tasks in/out of an application)
1108 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1110 * configure.ac: added libcangerra-gtk dependency
1111 * debian/control: added libcanberra-gtk dependency
1112 * src/Makefile.am: added libcanberra gtk related flags
1113 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1116 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1118 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1120 * src/hildon-program.c (hildon_program_remove_window)
1121 (hildon_program_add_window): Add checks for the window
1122 parameter. Don't decrease the window counter if the window is not
1125 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1127 * src/hildon-pannable-area.c,
1128 (hildon_pannable_area_realize): Fixed position of the event_window
1129 in the realize method.
1131 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1133 * src/hildon-app-menu-private.h
1134 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1135 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1136 (hildon_app_menu_key_press, hildon_app_menu_init)
1137 (hildon_app_menu_finalize):
1138 Make sure that all idle functions are removed when the widget is
1141 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1143 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1148 * configure.ac: Bump version.
1149 * debian/changelog: Updates.
1151 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1153 * src/hildon-entry.c
1154 (+hildon_entry_show_placeholder),
1155 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1156 that replace hildon_entry_update_contents().
1157 (hildon_entry_set_text),
1158 (hildon_entry_set_placeholder),
1159 (hildon_entry_focus_in_event),
1160 (hildon_entry_focus_out_event): Determine when it is needed
1161 either to show or hide the placeholder and call the above methods.
1163 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1164 when the placeholder text is already set)
1166 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1169 simple GdkPixbufAnim using the new icons for the banner.
1170 (hildon_banner_show_animation): Use the above mentioned method to
1171 create the animation widget.
1173 Fixes: NB#103564 (Make hildon animation banner use individual
1174 image files as the animation)
1176 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1178 * src/hildon-pannable-area.c,
1179 (hildon_pannable_leave_notify_event): Check if the child is NULL
1180 to avoid sending the leave.
1182 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1184 * src/hildon-pannable-area.c,
1185 (hildon_pannable_area_class_init),
1186 (hildon_pannable_leave_notify_event): Added a handler of the
1187 leave-notify-signal to consider when no motion notify before
1190 Fixes: NB#107494 (Items stay selected when clicking and moving
1191 away when inside pannable area)
1193 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1198 * configure.ac: Bump version.
1199 * debian/changelog: Updates.
1201 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1203 Patch by Alberto Garcia (agarcia@igalia.com)
1205 * src/hildon-date-button.c,
1206 (hildon_date_button_class_init),
1207 (hildon_date_button_init): Removed the construct property handling
1208 and created a default selector in the init method.
1209 * src/hildon-picker-button.c,
1210 (hildon_picker_button_class_init): Removed the construct flag of the
1213 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1215 * src/hildon-main.c (hildon_init):
1216 Don't allow hildon_init() to be called more than once.
1218 Fixes: NB#106607 (hildon_init should issue error message upon
1221 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1223 * examples/hildon-pannable-area-touch-list-example.c
1224 * examples/hildon-pannagle-area-touch-grid-example.c
1225 * examples/hildon-edit-toolbar-example.c
1226 * examples/hildon-touch-selector-multi-cells-example.c
1227 Removed the call to gtk_rc_parse_string, as it is not required since
1230 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1232 * src/hildon-pannable-area.c,
1233 (hildon_pannable_area_class_init): Modified the default panning
1234 threshold of the widget to 6px.
1236 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1237 than the threshold value ) within the button is not sending the
1240 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1243 for the treeview in the new column. This way, the touch list will never
1246 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1247 be selected manually for the HW keys to work)
1249 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1252 comparison instead of using strcmp(). Fixes a compiler warning as well.
1254 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1256 * doc/hildon-docs.sgml: Do not set the library version in the
1257 document title, use the releaseinfo tag for that purpose instead.
1259 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1261 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1262 Do not jump to the first item if the text in the entry is removed.
1264 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: Bump version.
1270 * debian/changelog: Updates.
1272 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1274 * src/hildon-entry.c (hildon_entry_refresh_contents):
1275 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1276 Use "ReversedSecondaryTextColor" for the placeholder text.
1278 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1280 * src/hildon-text-view.c: Fix compilation warning.
1282 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-button.c (hildon_button_class_init): Don't make
1285 "title" and "value" construction properties, to prevent them from
1286 overwriting labels set from derived classes.
1288 * src/hildon-picker-button.c
1289 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1290 (hildon_picker_button_class_init): Make touch-selector a
1291 construction property.
1293 * src/hildon-date-button.c (hildon_date_button_class_init)
1294 (+hildon_date_button_constructed): Add a default date selector if
1297 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1299 * src/hildon-touch-selector.c: Small documentation fixes.
1301 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1303 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1305 * src/hildon-entry.c (hildon_entry_refresh_contents),
1306 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1307 widget name, set the logical color directly instead and a boolean
1308 showing_placeholder instead.
1309 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1310 use the widget name here either.
1312 Fixes: NB#105678 (HildonTextView should use logical colours
1313 instead of setting widget name)
1315 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1317 Patch by Daniel Elster (danielk@openismus.com)
1319 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1320 Add user_data parameter.
1321 (hildon_touch_selector_set_print_func_full): New function akin
1322 hildon_touch_selector_set_print_func() but with support for user
1323 data and a destroy callback.
1324 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1325 to clean up the print function user data.
1326 (hildon_touch_selector_class_init): Install dispose function.
1327 (HildonTouchSelectorPrivate::print_user_data),
1328 (HildonTouchSelectorPrivate::print_destroy_func): New private
1330 (hildon_touch_selector_init): Initialize new private members.
1331 (hildon_touch_selector_get_current_text): Pass along user data
1332 to the print function.
1333 (_default_print_func): Add dummy user_data to parameter list.
1334 * hildon-date-selector.c (_custom_print_func): ditto,
1335 * hildon-time-selector.c (_custom_print_func): ditto,
1336 * hildon-touch-selector-entry.c
1337 (hildon_touch_selector_entry_print_func): ditto.
1339 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1341 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1343 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1345 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1347 * src/hildon-pannable-area.c,
1348 (hildon_pannable_area_init),
1349 (hildon_pannable_area_button_press_cb),
1350 (hildon_pannable_area_motion_notify_cb): We have added code to
1351 handle the leave and enter events when using the motion events.
1353 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1355 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1357 * src/hildon-date-button.c (hildon_date_button_get_date)
1358 (hildon_date_button_set_date): Make sure that the button has a
1361 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1363 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1365 * src/hildon-pannable-area.c,
1366 (hildon_pannable_area_class_init),
1367 (hildon_pannable_area_calculate_velocity): Modify the use of the
1368 force and adapt the value.
1370 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1373 (hildon_app_menu_class_init): Hide the menu if it receives a
1374 delete-event, but don't destroy it
1376 Fixes: NB#104485 (Not able to address the call when application
1377 menu is opened at background)
1379 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-app-menu.c
1382 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1383 Remove the "external-border" style property, let the menu take its
1384 natural size (or the one set by the window manager)
1385 (hildon_app_menu_repack_items):
1386 Don't reshow the menu, avoid flickers.
1388 Partially fixes NB#94957 (Smoothly opened application menu)
1390 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1395 * configure.ac: Bump version.
1396 * debian/changelog: Updates.
1398 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1400 * src/hildon-pannable-area.c,
1401 (hildon_pannable_area_motion_notify_cb): We control that the
1402 direction error margin is used just in case the movement is
1403 allowed in the other direction.
1405 Fixes: NB#105012 (buttons inside a pannable area not getting
1406 release event when dragging/releasing)
1408 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1410 * src/hildon-pannable-area.c,
1411 (hildon_pannable_area_class_init),
1412 (hildon_pannable_area_get_property),
1413 (hildon_pannable_area_set_property),
1414 (hildon_pannable_area_initial_effect),
1415 (hildon_pannable_axis_scroll),
1416 (hildon_pannable_area_button_release_cb): Reviewed the
1417 overshooting effect, now it has its own max
1418 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1419 speed when bouncing.
1421 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1426 * configure.ac: Bump version.
1427 * debian/changelog: Updates.
1429 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1431 * src/hildon-pannable-area.c,
1432 (hildon_pannable_area_class_init): Changed the max speed, now
1433 users can launch the widget very fast. Reduced the default force,
1434 that way it is easier to control the launch speed.
1436 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_button_release_cb): Removed this check
1440 because it causes problems when the device is overloaded.
1442 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1445 add a current_text field to store the text entered in the
1446 touch selector entry.
1447 (_clean_current_selection): clean up the current text as well.
1448 (_save_current_selection), (_restore_current_selection):
1449 Save/restore the text in the entry if the selector is a
1450 HildonTouchSelectorEntry.
1452 Fixes: NB#102541 (value entered in the touch selector entry is not
1453 shown when opened for second time)
1455 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1457 * doc/hildon-sections.txt:
1458 * src/hildon-touch-selector-entry.c
1459 (+hildon_touch_selector_entry_get_entry):
1460 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1462 Fixes: NB#104815 (I need accessor to the entry inside
1463 HildonTouchSelectorEntry)
1465 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1467 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1468 (hildon_app_menu_class_init):
1469 New "filter-vertical-spacing" style property.
1471 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-find-toolbar.c
1474 (hildon_find_toolbar_emit_close)
1475 (hildon_find_toolbar_emit_invalid_input)
1476 (hildon_find_toolbar_entry_activate):
1477 Use g_signal_emit() instead of g_signal_emit_by_name()
1479 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1481 Patch by Mox Soini (ext-mox.soini@nokia.com)
1483 * tests/TEST-CASES.txt
1484 * tests/check-hildon-banner.c
1485 * tests/check-hildon-note.c
1486 * src/hildon-banner.c
1487 * src/hildon-code-dialog.c
1488 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1489 * src/hildon-time-editor.c
1490 * examples/hildon-lookup-example.c (main):
1491 Replace obsolete icon names with new ones.
1493 * src/hildon-find-toolbar-private.h:
1494 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1495 (-hildon_find_toolbar_emit_search):
1496 Remove find button and change icon of close button.
1498 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1500 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-time-button.c (hildon_time_button_new_step):
1503 Use the "touch-selector" property to set the selector directly
1504 when creating the object.
1506 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1508 Added a new example application that allows tuning the pannable
1509 area and replaced defines with properties in order to simplify the
1510 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1511 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1512 PROP_DIRECTION_ERROR_MARGIN.
1514 * examples/hildon-pannable-area-tuning-example.c: New example
1516 * src/hildon-pannable-area.c,
1517 (hildon_pannable_area_class_init),
1518 (hildon_pannable_area_init),
1519 (hildon_pannable_area_get_property),
1520 (hildon_pannable_area_set_property),
1521 (hildon_pannable_area_launch_fade_timeout),
1522 (hildon_pannable_area_adjust_value_changed),
1523 (hildon_pannable_axis_scroll),
1524 (hildon_pannable_area_motion_notify_cb),
1525 (hildon_pannable_area_scroll_cb),
1526 (hildon_pannable_area_button_release_cb): We have converted some
1527 of the defines that control the widget to properties to simplify
1530 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-app-menu.c (hildon_app_menu_map)
1533 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1534 so it's closed if a new window appears.
1536 Fixes: NB#104485 (Not able to address the call when application
1537 menu is opened at background)
1539 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1542 missing 'break' statement in in 'case' construct to avoid
1545 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-touch-selector-entry.c
1548 (hildon_touch_selector_entry_get_property),
1549 (hildon_touch_selector_entry_set_property): Add missing 'break'
1550 statements in in 'case' constructs to avoid incorrect warnings.
1552 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1554 * src/hildon-time-editor.c
1555 (hildon_time_editor_get_time_separators): Do not crash if
1556 the first label is NULL.
1558 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1560 * src/hildon-date-selector.c (_month_days): Check for month to be
1561 strictly less than 12, since otherwise we may overrun the array.
1563 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-date-button.c (+hildon_date_button_new_full)
1566 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1567 (hildon_date_button_init): Set the date selector using a
1568 construction property, to make it happen after HildonButton's
1569 "value" property is set.
1571 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1572 current date by default)
1574 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1576 * doc/hildon-sections.txt
1577 * src/hildon-program.c
1578 * src/hildon-stackable-window.c
1579 * src/hildon-window.c:
1580 Documentation updates
1582 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1585 (hildon_window_stack_new, +hildon_window_stack_set_property)
1586 (+hildon_window_stack_get_property)
1587 (hildon_window_stack_class_init)
1588 (+hildon_window_stack_set_window_group)
1589 (+hildon_window_stack_get_window_group):
1590 Make the window group a construction property.
1592 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1594 * doc/hildon-sections.txt
1595 * src/hildon-stackable-window-private.h
1596 * src/hildon-stackable-window.h
1597 * src/hildon-stackable-window.c
1598 (-hildon_stackable_window_set_app_menu)
1599 (-hildon_stackable_window_get_app_menu)
1600 (-hildon_stackable_window_toggle_menu)
1601 (-hildon_stackable_window_finalize)
1602 (hildon_stackable_window_class_init)
1603 (hildon_stackable_window_init)
1604 * src/hildon-window-private.h
1605 * src/hildon-window.h
1606 * src/hildon-window.c (hildon_window_init)
1607 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1608 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1609 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1610 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1611 Moved all HildonAppMenu code to HildonWindow. The menu does not
1612 require a HildonStackableWindow anymore.
1614 * src/hildon-app-menu.c
1615 * src/hildon-program.c
1616 * examples/hildon-app-menu-example.c (main):
1617 Update examples and documentation to reflect HildonAppMenu
1620 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-remote-texture.c
1623 * src/hildon-animation-actor.c:
1624 Don't include unused private headers.
1626 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-program-private.h
1629 * src/hildon-program.c
1630 (hildon_program_set_common_menu)
1631 (hildon_program_get_common_menu)
1632 (hildon_program_set_common_app_menu)
1633 (hildon_program_get_common_app_menu):
1634 Change common menu pointers from GtkWidget* to GtkMenu* and
1635 HildonAppMenu* to avoid unnecessary casts.
1637 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-window.c (hildon_window_set_main_menu):
1640 Removed incorrect 'Since:' tag
1642 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1644 * src/hildon-pannable-area.c,
1645 (hildon_pannable_area_calculate_velocity): We use now the
1646 RATIO_TOLERANCE here to check the distance, fixed typo in the
1648 (hildon_pannable_area_motion_notify_cb): We have to set the type
1649 and time even if we are not sending the motion.
1651 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1653 * doc/hildon-sections.txt
1654 * src/hildon-app-menu.h
1655 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1656 (+hildon_app_menu_get_filters): New methods to get the contents of
1659 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1662 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1664 * src/hildon-app-menu.c (hildon_app_menu_popup):
1667 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1669 * src/hildon-window.h
1670 * src/hildon-window.c (+hildon_window_get_main_menu)
1671 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1672 and deprecated hildon_window_get_menu().
1674 * src/hildon-stackable-window.h
1675 * src/hildon-stackable-window.c
1676 (+hildon_stackable_window_set_app_menu)
1677 (+hildon_stackable_window_get_app_menu)
1678 (hildon_stackable_window_set_main_menu): Created
1679 hildon_stackable_window_{get,set}_app_menu() and deprecated
1680 hildon_stackable_window_set_main_menu().
1682 * doc/hildon-sections.txt
1683 * examples/hildon-app-menu-example.c (main)
1684 * src/hildon-app-menu.c
1685 * src/hildon-program.c:
1686 Updated examples and documentation.
1688 Fixes: NB#103758 (No way to obtain a menu from a
1689 HildonStackableWindow)
1691 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1696 * configure.ac: Bump version.
1697 * debian/changelog: Updates.
1699 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1701 * examples/hildon-remote-texture-example.c: Include
1702 hildon-remote-texture.h explicitely.
1703 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1704 applications not defining _XOPEN_SOURCE which don't require this header.
1706 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1708 * doc/hildon-sections.txt
1709 * src/hildon-app-menu.h
1710 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1711 New function to pop up a HildonAppMenu
1713 * src/hildon-stackable-window.c
1714 (hildon_stackable_window_toggle_menu):
1715 Use hildon_app_menu_popup() to show the menu.
1717 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-app-menu.c (hildon_app_menu_show)
1720 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1721 menu if there's another window between it and its parent window.
1723 Fixes: NB#100468 (Application menu window is launched even when a
1724 new secondary-window/dialog is pending to be shown/realized)
1726 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-window-stack.c (hildon_window_stack_push)
1729 (hildon_window_stack_pop_and_push):
1730 Don't forget to push/pop the first window.
1731 Reverse the window list before calling _push_list()
1733 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-picker-button.h
1736 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1737 Remove "value_changed" slot to avoid ABI breakage
1739 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1741 * src/hildon-pannable-area.c,
1742 (hildon_pannable_area_realize),
1743 (hildon_pannable_area_unrealize),
1744 (hildon_pannable_draw_vscroll),
1745 (hildon_pannable_draw_hscroll): Changed the method to handle the
1746 GC used to draw the transparent scrollbar, this way we avoid
1747 creating the GC all the time when drawing the scrollbars.
1749 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1751 * src/hildon-pannable-area.c,
1752 (hildon_pannable_area_init),
1753 (hildon_pannable_area_remove): Removed some unnecessary casts.
1754 (hildon_pannable_area_dispose): Disconnected some signals before
1755 releasing the adjustments.
1757 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1760 Make sure that all widgets contained in the toolbar are shown.
1762 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1764 * doc/hildon-sections.txt
1765 * src/hildon-picker-button.h
1766 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1767 (_selection_changed, hildon_picker_button_on_dialog_response)
1768 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1769 New hildon_picker_button_value_changed() method.
1772 * src/hildon-picker-button-private.h
1773 * src/hildon-picker-button.c (hildon_picker_button_init)
1774 (+hildon_picker_button_disable_value_changed): Add protected
1775 function for disabling the "value-changed" signal.
1777 * src/hildon-date-button.c (hildon_date_button_set_date):
1778 Don't emit "value-changed" for each one of the three columns.
1780 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1781 before actual change of values)
1783 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1785 * src/hildon-pannable-area.c,
1786 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1787 for the treeview overshooting.
1789 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1791 * src/hildon-banner.c (+hildon_banner_bind_style):
1792 Renamed from hildon_banner_bind_label_style(), now naming the
1793 banner itself as well.
1794 (hildon_banner_show_information),
1795 (hildon_banner_show_information_with_markup),
1796 (hildon_banner_show_animation), (hildon_banner_show_progress):
1797 Name the widgets and labels, based on their type.
1799 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1802 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1804 * src/hildon-note.c (hildon_note_set_property): call
1805 hildon_note_rename() on HildonNote:note-type set.
1806 (hildon_note_rename): Name the note and its label, based on the
1807 HildonNote:note-type property.
1809 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1812 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1814 * src/hildon-pannable-area.c,
1815 (hildon_pannable_area_class_init),
1816 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1817 panning parameters, increased SPS and deceleration factor. Added
1818 also a margin to control fake directions.
1820 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1822 Patch by Sven Herzberg (sven@imendio.com)
1824 * configure.ac: Add missing AM_PROG_CC_C_0
1825 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1827 See NB#101420 (Update unit tests and fix make check)
1829 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1831 This patch was applied before but reverted because it caused
1832 problems, we have changed the main condition and tested the
1833 regressions we detected before and they work ok. We have done a
1834 complete review of the topmost algorithm in order to get a more
1837 * src/hildon-pannable-area.c,
1838 (hildon_pannable_area_get_topmost): Added a new parameter to
1839 filter the the windows that do not include those events.
1840 (hildon_pannable_area_button_press_cb),
1841 (hildon_pannable_area_button_release_cb),
1842 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1843 topmost function, we have added the new parameter.
1845 Fixes: NB#97458 (Pannable area prevents propagation of button
1848 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1851 if all columns in the selector have an item selected.
1852 (_on_dialog_response): Stop "response" signal emission if there is
1853 any selector column without selected items.
1855 Fixes: NB#101889 (Picker dialog should not close when nothing is
1856 selected in multiple selection list)
1858 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-font-selection-dialog.c
1861 (hildon_font_selection_dialog_class_init),
1862 (hildon_font_selection_dialog_init): Remove the preview
1863 button and dialog, since previewing with default theming is likely
1864 to be overcomplicated. The :preview property has now no effect.
1865 Update documentation blurbs to inform about this.
1867 Fixes: NB#92297 (Preview content is not clearly visible for
1868 default colour text)
1870 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1872 Reviewed the geometry that handles the children size and
1873 scrollbar, now it tries a size and reviews the results depending
1874 on the scrollbars visibility.
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_area_realize): Fixed a typo.
1878 (hildon_pannable_area_child_allocate_calculate): Added this
1879 function to calculate the child allocation.
1880 (hildon_pannable_area_size_allocate): Reviewed the allocation
1882 (hildon_pannable_area_check_scrollbars),
1883 (hildon_pannable_area_refresh): Refactored refresh function, this
1884 way we can call the code handling the scrollbars without causing a
1885 size_request, it is interesting in the allocate.
1886 (hildon_pannable_area_init): Replace the callbacks of the
1887 value_changed and changed signals to propertly deal with the
1889 (hildon_pannable_area_grab_notify),
1890 (hildon_pannable_area_initial_effect),
1891 (hildon_pannable_area_launch_fade_timeout),
1892 (hildon_pannable_area_adjust_changed),
1893 (hildon_pannable_area_adjust_value_changed),
1894 (hildon_pannable_area_redraw),
1895 (hildon_pannable_area_button_press_cb),
1896 (hildon_pannable_area_button_release_cb),
1897 (hildon_pannable_area_scroll_cb),
1898 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1899 code and use the new functions adjust_changed and
1900 adjust_value_changed.
1902 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1903 Contact editor dialog)
1905 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: Bump version.
1911 * debian/changelog: Updates.
1913 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_area_get_topmost),
1917 (hildon_pannable_area_button_press_cb),
1918 (hildon_pannable_area_button_release_cb),
1919 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1920 topmost function adding the event mask. We have to try a
1921 differente approach because it is still causing problems (NB#9745,
1924 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1926 * src/hildon-banner.c:
1927 Update the maximum width of timed banners.
1928 (force_to_wrap_truncated): Enforce the maximum text width if the
1931 Fixes: NB#102413 (The text margins (wrapping) in information
1932 banner should be HILDON_MARGIN_TRIPLE)
1934 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1936 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1938 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1939 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1940 bound when calculating the scroll indicator position.
1942 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1943 treat ->lower correctly)
1945 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1948 expose event handling, since it is not necessary to draw the focus
1951 Fixes: NB#102467 (Do not show highlight on the text in
1954 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1957 full height of the toolbar for the button and the label.
1959 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1962 padding before the label and after the button.
1964 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1968 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1969 Add a GtkVSeparator between the button and the back arrow.
1970 Let the button have automatic size.
1971 Set a name to the widget for theming handling.
1973 Fixes: NB#101793 (Make edit toolbar the same height as window
1974 title bar (use title area theming))
1976 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-helper.c (attach_new_color_element): Fix memory
1981 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1983 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1985 * examples/hildon-button-example.c (common_buttons_window): Don't
1988 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1991 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1993 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-gtk.c: Check that the window is realized.
1997 Fixes: NB#102225 (Crash setting the progress indicator to a non
2000 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2003 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2004 instead of modifying the one in the widget style.
2006 Fixes: NB#101043 (Second row of all the command button are
2007 displayed in transparent mode.)
2009 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2011 * src/hildon-date-button.c
2012 * src/hildon-time-button.c: Add gettext macros
2014 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-date-button.c (hildon_date_button_new):
2017 * src/hildon-time-button.c (hildon_time_button_new_step):
2018 Use new logical strings to set the button default title.
2020 Fixes: NB#99915 (Date and Time options are not localised in Date
2023 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-pannable-area.c
2026 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2027 the PANNING_THRESHOLD.
2029 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_class_init): Increased the maximum speed.
2033 (hildon_pannable_area_get_property),
2034 (hildon_pannable_area_set_property),
2035 (hildon_pannable_area_timeout): Added a new low friction mode, it
2036 allows the user avoid friction when launching the widget fast
2037 enough. It is interesting to traverse long lists.
2039 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2042 (+hildon_stackable_window_delete_event): Ignore delete events if
2043 the window is not the topmost one.
2045 Fixes: NB#101698 (Back button long press and delete-event handling)
2047 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2049 * src/hildon-pannable-area.c,
2050 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2051 gtk-dnd-drag-threshold, it was too big. We have defined our own
2052 dnd define and set a smaller value: PANNIG_THRESHOLD.
2054 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2057 user-defined icons, use always the default one.
2059 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2061 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2063 This patch was applied before but reverted because it caused
2064 problems, we have changed the main condition and tested the
2065 regressions we detected before and they work ok.
2067 * src/hildon-pannable-area.c,
2068 (hildon_pannable_area_get_topmost): Added a new parameter to
2069 filter the the windows that do not include those events. Added
2070 also a condition when finding the window to filter windows that do
2071 not ask for those events.
2072 (hildon_pannable_area_button_press_cb),
2073 (hildon_pannable_area_button_release_cb),
2074 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2075 topmost function, we have added the new parameter.
2077 Fixes: NB#97458 (Pannable area prevents propagation of button
2080 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2082 * tests/check-hildon-color-button.c (START_TEST): do not leak
2085 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-font-selection-dialog.c
2088 (hildon_font_selection_dialog_get_preview_text): Return NULL
2089 instead of FALSE on the g_return_val_if_fail().
2091 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2094 * src/hildon-date-selector.c
2095 (hildon_date_selector_select_current_date):
2096 Do not compare unsigned integers to be greater than or equal 0,
2097 because it's always TRUE.
2099 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2102 (hildon_date_selector_constructor): Do not select the current
2103 date until we are handle the "changed" signal, to avoid having bogus
2104 elements in the days model.
2106 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2109 for num_days, since _month_days() can return a negative value.
2111 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2113 * src/hildon-caption.c (hildon_caption_size_allocate):
2114 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2115 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2117 Initialize allocation variables to 0, to avoid eventually using
2118 unitialized variables.
2120 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-bread-crumb-trail.c
2123 (hildon_bread_crumb_trail_size_allocate):
2124 * src/hildon-calendar.c (hildon_calendar_set_background):
2125 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2126 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2127 * src/hildon-seekbar.c (hildon_seekbar_init):
2128 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2129 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2130 * src/hildon-touch-selector-entry.c
2131 (hildon_touch_selector_get_text_from_model):
2132 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2133 * src/hildon-window.c (hildon_window_finalize):
2135 Remove many unused variables.
2137 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-seekbar.c: (hildon_seekbar_init),
2140 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2142 Remove unnecessary g_assert() calls.
2144 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-caption.c: (hildon_caption_expose),
2147 (hildon_caption_set_property), (hildon_caption_init),
2148 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2149 (hildon_caption_size_request), (hildon_caption_size_allocate),
2150 (hildon_caption_forall), (hildon_caption_set_separator),
2151 (hildon_caption_activate), (hildon_caption_set_child_expand),
2152 (hildon_caption_set_label_text),
2153 (hildon_caption_get_label_alignment):
2155 Remove unnecessary g_assert() calls.
2157 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2159 * src/hildon-banner.c
2160 (hildon_banner_map, hildon_banner_init): Make banner temporary
2161 before mapping it to avoid closing other temporary windows, but
2162 make it non-temporary afterwards to avoid being closed by other
2163 non-temporary windows.
2164 (-hildon_banner_client_event, hildon_banner_init):
2165 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2167 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2170 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2172 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2175 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2177 * src/hildon-remote-texture.c
2178 * src/hildon-remote-texture.h
2179 * src/hildon-remote-texture-private.h
2180 * examples/hildon-remote-texture-example.c:
2181 Updates/fixes to remote-texture and its example.
2183 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2185 Patch by Mox Soini (ext-mox.soini@nokia.com)
2187 * src/hildon-code-dialog.c: Update logical id.
2188 * src/hildon-set-password-dialog.c: Update logical id.
2190 Fixes: NB#100646 (Logical strings is shown for ok in set
2191 password,Password needed dialogs)
2193 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2196 * src/hildon-remote-texture.c
2197 * src/hildon-remote-texture.h
2198 * src/hildon-remote-texture-private.h
2200 Added remote texture widget (for Clutter shared memory textures)
2202 * examples/hildon-remote-texture-example.c
2203 * examples/Makefile.am
2204 Added example file for remote texture usage
2206 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2208 * configure.ac: post release version bump.
2209 * debian/changelog: version bump.
2211 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2216 * configure.ac: Bump version.
2217 * debian/changelog: Updates.
2219 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-date-selector.c (hildon_date_selector_init)
2222 (hildon_date_selector_constructor): Don't connect to the "changed"
2223 signal until the selector is completely constructed.
2225 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2227 * src/hildon-touch-selector.c: (_create_new_column),
2228 (hildon_touch_selector_append_column),
2229 (hildon_touch_selector_set_column_selection_mode),
2230 (hildon_touch_selector_set_active),
2231 (hildon_touch_selector_select_iter):
2232 Emit the HildonTouchSelector::changed signal every time selection
2233 is changed in any of the methods above. This behavior was already
2234 documented but not fully functional.
2236 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2237 selection is programmatically changed)
2239 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2241 * doc/hildon-sections.txt: Remove obsolete icon
2242 sizes from here as well.
2244 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2246 * examples/hildon-stackable-window-example.c (add_window): Remove
2249 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-app-menu.c
2252 (hildon_app_menu_show): Check whether the parent window of a menu
2253 is topmost before popping it up.
2255 Fixes: NB#100468 (Application menu window is launched even when a
2256 new secondary-window/dialog is pending to be shown/realized.)
2258 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2260 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2263 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2265 Patch by Mox Soini (ext-mox.soini@nokia.com)
2267 * src/hildon-banner.c: (hildon_banner_show_animation):
2268 use stylus size instead of obsolete note size.
2269 * src/hildon-defines.h: Update icon sizes.
2271 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2273 * src/hildon-touch-selector-entry.c:
2274 (hildon_touch_selector_entry_init): Disable unsupported
2276 (hildon_touch_selector_entry_get_text_column): Emit a warning
2277 if an unsupported input modes is used and explicitile state
2278 these modes in the documentation.
2280 Fixes: NB#99802 (Hildon touch selector entry not working properly
2281 for some of the input modes)
2283 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2285 * src/hildon-pannable-area.c,
2286 (hildon_pannable_area_init): Added the changed signal handlers of
2289 Fixes: NB#100320 (HildonPannableArea does not listen to
2290 GtkAdjustment "change" signals)
2292 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2294 * doc/hildon-sections.txt
2295 * src/hildon-window-private.h
2296 * src/hildon-window.h
2297 * src/hildon-window.c (hildon_window_init)
2298 (hildon_window_realize, hildon_window_unrealize)
2299 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2300 (hildon_window_size_request, hildon_window_size_allocate)
2301 (hildon_window_forall, hildon_window_show_all)
2302 (hildon_window_destroy, +paint_edit_toolbar)
2303 (+hildon_window_set_edit_toolbar):
2304 New hildon_window_set_edit_toolbar() method, to add a
2305 HildonEditToolbar to a window without having to pack it manually.
2307 Reorganize hildon_window_size_allocate()
2309 * src/hildon-edit-toolbar.c: Update documentation.
2311 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2312 example to use the new API.
2314 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2316 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2318 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2319 Remove from stack before calling parent's hide.
2321 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2324 window is removed from the middle of the stack, update the
2325 transiency of the previous one.
2327 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2330 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2333 block/unblock the signal handler if it's not actually being used.
2334 Fixes some critical warnings.
2336 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2338 Based on a patch by Iván Gómez (igomez@igalia.com)
2340 * src/hildon-banner.c
2344 * src/hildon-pannable-area.c
2345 * src/hildon-picker-dialog.c
2346 * src/hildon-wizard-dialog.h
2347 * src/hildon-wizard-dialog.c: Documentation updates.
2349 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2350 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2352 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2354 * configure.ac: post release version bump.
2355 * debian/changelog: version bump.
2357 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2362 * configure.ac: Bump version.
2363 * debian/changelog: Updates.
2365 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2368 a stock icon nor change the relief of the back arrow.
2370 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2371 graphics from theme)
2373 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-button.c (hildon_button_set_alignment): Use
2376 priv->alignment if the button has no child yet.
2378 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-button.c: (hildon_button_init): Set the
2381 button style during initialization to give it the proper
2384 Fixes: NB#99713 (HildonButton value label color is wrong)
2386 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-touch-selector.c: Document
2389 hildon_touch_selector_center_on_selected()
2391 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2394 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2395 all menu items, but not the menu itself.
2396 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2397 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2398 items after adding them to the menu so keyboard accelerators work.
2399 (hildon_app_menu_show): Don't show the menu if it contains items
2400 but none of them are visible.
2402 * examples/hildon-app-menu-example.c (create_menu): Use
2403 gtk_widget_show_all() to show all menu items.
2405 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-picker-dialog.c:
2408 (-_update_title_on_selector_changed_cb),
2409 (-_dialog_update_title): Removed.
2410 (_select_on_selector_changed_cb), (_on_dialog_response),
2411 (on_selector_columns_changed): Do not update the dialog title.
2412 (setup_interaction_mode): Do not connect to
2413 HildonTouchSelector::changed signal if there's a "done" button, as
2414 the dialog title doesn't need to be updated.
2416 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2419 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2421 Patch by Kristian Rietveld (kris@imendio.com)
2423 * src/hildon-touch-selector.c: (_create_new_column): Use new
2424 GtkTreeView::hildon-row-tapped signal to react to user interactions
2425 instead of ::changed.
2427 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2428 with some dynamic tree model)
2430 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2433 (+screen_size_changed, +label_size_request)
2434 (hildon_note_class_init): Make the Hildon information note have a
2435 minimum height, and make its text hvae a maximum width.
2437 Fixes: NB#98614 (Hildon information note (background) should have
2438 minimum height and maximum text width)
2440 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-banner.h
2443 * src/hildon-banner.c (hildon_banner_show_information)
2444 (hildon_banner_show_informationf)
2445 (hildon_banner_show_information_with_markup): Update documentation
2446 to reflect that the icon_name parameter is not used anymore.
2447 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2448 Remove all code from these functions and mark them as deprecated.
2449 (hildon_banner_show_progress): Mark as deprecated.
2451 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2453 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2455 * src/hildon-pannable-area.c,
2456 (hildon_pannable_area_class_init),
2457 (tranparency_color),
2458 (hildon_pannable_draw_vscroll),
2459 (hildon_pannable_draw_hscroll),
2460 (hildon_pannable_area_expose_event): Added a new way to render the
2461 scrollbars of the pannable area avoiding using cairo at all. This
2462 way we improve the performance of the pannable area rendering. The
2463 cairo rendering procedure is still in the code, we can control
2464 which one to use changing the value of the define
2465 USE_CAIRO_SCROLLBARS.
2467 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2469 * configure.ac: post release version bump.
2470 * debian/changelog: version bump.
2472 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2477 * configure.ac: Bump version.
2478 * debian/changelog: Updates.
2480 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2483 banners instead of destroying them when they receive a button
2486 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2488 Reverted commit 34028, it was causing regressions, probably the
2489 topmost condition is not correct, we have to check it in more
2490 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2491 propagation of button press events)
2493 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2496 that the selection is not empty before attempting to retrieve the
2497 current ampm selection.
2499 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2501 * src/hildon-picker-button.c:
2502 (hildon_picker_button_on_dialog_response): Directly update the
2503 button contents when required instead of calling _selection_changed.
2505 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-program.c (hildon_program_update_top_most): Update
2508 'is-topmost' property also when wm_hints is not set.
2510 Fixes: NB#98383 (is-topmost signal is not emitted when task
2511 switcher is clicked.)
2513 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2515 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2519 * src/hildon-animation-actor.c,
2520 * src/hildon-animation-actor.h: Added the animation actor class,
2521 this widget represents an animation actor for WM-assisted
2522 animation effects in the Hildon framework.
2524 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-window-stack-private.h
2527 * src/hildon-window-stack.c
2528 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2529 Avoid calling gtk_widget_show() again indirectly from
2530 hildon_stackable_window_show()
2532 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2537 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2540 (hildon_time_selector_init): Move the construction of the hours and
2541 ampm columns to the constructor to preserve the order the columns
2544 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2546 * src/hildon-picker-dialog.c:
2547 (hildon_picker_dialog_class_init): Connect a realize method.
2548 (+hildon_picker_dialog_realize): Setup the interaction mode here
2550 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2551 yet, do it during the realize instead.
2552 (_on_dialog_response):
2553 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2554 if the widget is not realized, to avoid the dialog response before it
2557 Avoid premature responses in the HildonPickerDialog that can cause it
2558 to be hidden before it's even shown.
2560 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2563 (on_selector_columns_changed), (requires_done_button),
2564 (+prepare_action_area), (setup_interaction_mode),
2565 (_hildon_picker_dialog_set_selector):
2567 Split the interaction mode setup into preparation of the
2568 action area (prepare_action_area()) and the connection of
2569 the signals in setup_interaction_mode() and update the code to
2572 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2576 per second to 15, we will check if this is ok regarding
2579 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_axis_scroll): Avoid resize if we already have
2583 reached overshoot_max.
2585 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2587 * src/hildon-pannable-area.c,
2588 (hildon_pannable_area_init),
2589 (hildon_pannable_area_realize),
2590 (hildon_pannable_area_size_allocate),
2591 (hildon_pannable_area_map),
2592 (hildon_pannable_area_unmap),
2593 (hildon_pannable_draw_vscroll),
2594 (hildon_pannable_draw_hscroll),
2595 (hildon_pannable_area_expose_event),
2596 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2597 pannable are to avoid the expose events go to the window and
2598 redraw the window. We save this way that part of the stack and the
2599 paint_boxes. We had to change the positions of the elements when
2602 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2605 * src/hildon-color-chooser-dialog.c:
2606 (hildon_color_chooser_dialog_init):
2607 * src/hildon-font-selection-dialog.c:
2608 (hildon_font_selection_dialog_init),
2609 (hildon_font_selection_dialog_show_preview):
2610 * src/hildon-get-password-dialog.c:
2611 * src/hildon-login-dialog.c:
2612 * src/hildon-set-password-dialog.c:
2613 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2614 * src/hildon-time-picker.c: (hildon_time_picker_init):
2616 Remove obsolete logical string IDs and update to the appropriate ones.
2618 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2620 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2623 that happens if the window hasn't been realized yet.
2625 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2626 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2628 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2631 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2634 Fixes: NB#98537 (Device hangs in account settings dialog)
2636 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2638 * configure.ac: post release version bump.
2639 * debian/changelog: version bump
2641 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2646 * configure.ac: Bump version.
2647 * debian/changelog: Updates.
2649 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2651 Added a new function to the HildonTimeButton widget that allows to
2652 change the step of the minutes in the selector associated with the
2653 button: hildon_time_button_new_step
2655 * src/hildon-time-button.c,
2656 (hildon_time_button_init),
2657 (hildon_time_button_new),
2658 (hildon_time_button_new_step):
2659 * src/hildon-time-button.h: Added the new function and refactored
2661 * examples/hildon-time-button-example.c,
2662 (main): We have replaced the function without parameters with the
2663 function with the steps set to 5
2665 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2667 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2669 * src/hildon-time-selector.c,
2670 (hildon_time_selector_class_init),
2671 (hildon_time_selector_constructor),
2672 (hildon_time_selector_get_property),
2673 (hildon_time_selector_set_property),
2674 (_create_minutes_model),
2675 (hildon_time_selector_new_step),
2676 (hildon_time_selector_set_time),
2677 * src/hildon-time-selector.h: Added a new property to the
2678 HildonTimeSelector (minutes-step), we use that property to control
2679 the steps between the minutes in the list of the selector. We have
2680 added a new function to the API to create a widget changing the
2681 step: hildon_time_selector_new_step.
2683 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2685 * src/hildon-time-selector.c,
2686 (hildon_time_selector_class_init),
2687 (hildon_time_selector_constructor),
2688 (hildon_time_selector_init): Overrided the construct function when
2689 creating the time selector object. We have moved the minutes model
2690 handling code from the init to the new construction function:
2691 hildon_time_selector_constructor.
2693 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2695 * examples/hildon-date-button-example.c: (main): Use the new
2696 hildon_date_button_new_with_year_range() method in the example.
2697 * src/hildon-date-button.c:
2698 (+hildon_date_button_new_with_year_range): New public method
2699 to conveniently create a HildonDateButton with a custom year range
2700 in its HildonDateSelector.
2701 * src/hildon-date-button.h: Add the new public method definition.
2703 Fixes: NB#97908 (Not possible to change the year range in
2704 HildonDateSelector/HildonDateButton)
2706 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-date-selector.c:
2709 (+hildon_date_selector_set_property),
2710 (+hildon_date_selector_get_property),
2711 (hildon_date_selector_class_init): Install new properties "min-year"
2712 and "max-year" to define boundaries for the year column.
2713 (_create_year_model): Use the boundary properties to populate the model.
2714 (+hildon_date_selector_new_with_year_range): New public method to
2715 create a HildonDateSelector with a user defined year range.
2716 (hildon_date_selector_select_current_date): Use the new boundaries to
2717 calculate the iterator of current year.
2718 * src/hildon-date-selector.h: Add the new public method definition.
2720 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2723 Install a constructor method.
2724 (+hildon_date_selector_construct_ui): construct the widget.
2725 (+hildon_date_selector_constructor): new constructor.
2726 (+hildon_date_selector_init): move out widget construction code to
2727 the new constructor.
2729 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2732 that there's actually a month or year selected before obtaining them.
2733 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2734 of the HildonTouchSelector::changed signal, as it was emitted on every
2735 single item selection.
2737 Fix some warnings and possible crashers due to the selection restoring.
2739 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2742 the signal handlers only after creating the dialog instead of on every
2745 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2747 * src/hildon-button.c (hildon_button_init)
2748 * src/hildon-check-button.c (hildon_check_button_init)
2749 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2750 focus when clicked by default.
2752 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2757 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2759 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2760 Alejandro G. Castro (alex@igalia.com)
2762 * src/hildon-picker-dialog.c:
2763 (hildon_picker_dialog_class_init): install new "center-on-show"
2765 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2766 (hildon_picker_dialog_set_property): add setter code for the new
2768 (hildon_picker_dialog_get_property): add getter code for the new
2770 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2771 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2774 Fixes: NB#92849 (Selected item is not always visible when
2775 HildonTouchSelector is shown)
2777 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2779 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2780 Alejandro G. Castro (alex@igalia.com)
2782 * src/hildon-touch-selector.c:
2783 (_create_new_column): Do not connect to the "realize" signal of the
2785 (hildon_touch_selector_append_column): center on the selected items
2786 when a new column is appended.
2787 (hildon_touch_selector_select_iter): Factor out the code to select a
2788 column to hildon_touch_selector_scroll_to().
2789 (+search_nearest_element): Method to retrieve the nearest selected
2790 element to the visible area of the pannable area in a column.
2791 (+on_realize_cb): scroll to the initially selected item.
2792 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2793 the pannable area is realized, otherwise delay this until it is.
2794 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2795 selected items of a given column.
2796 (+hildon_touch_selector_center_on_selected): Public method to center
2797 all columns on the nearest selected item.
2798 * src/hildon-touch-selector.h: Add definition for
2799 hildon_touch_selector_center_on_selected().
2801 Implement public API to ensure visibility of all selected items in
2802 a HildonTouchSelector.
2804 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2806 Fixed a problem in the fading when calling the scroll_to API, and
2807 improve scrollbar fading handling.
2809 * src/hildon-pannable-area.c,
2810 (hildon_pannable_area_grab_notify): avoid the timeout when the
2812 (hildon_pannable_area_button_press_cb),
2813 (hildon_pannable_area_motion_notify_cb): Code style changes.
2814 (hildon_pannable_area_button_release_cb): Review the conditions
2815 when releasing the mouse button to avoid unrequired fading
2817 (hildon_pannable_area_scroll_to): Do not calculate and set the
2818 velocity if the scroll is not required.
2820 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2823 Don't check whether the new selector is NULL: it cannot be.
2824 Hold a reference to the selector while doing the replacement.
2826 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2829 unnecessary size_request in a removed widget.
2831 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2834 an unnecessary reference tracking that was leaking.
2836 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2838 Added delayed motion notify event handling, this way we can
2839 discard redrawing if more than 25 events arrive per second.
2841 * src/hildon-pannable-area.c,
2842 (hildon_pannable_area_init): Initialized the new private atributes
2843 controlling this timeout
2844 (hildon_pannable_area_dispose): Remove the timeout that controls
2845 the motion notify events.
2846 (hildon_pannable_area_scroll): Added a condition to control the
2847 use of the acceleration.
2848 (hildon_pannable_area_motion_event_scroll_timeout),
2849 (hildon_pannable_area_motion_event_scroll): Added this two
2850 functions, they handle the motion notify events inside the
2852 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2853 to the scroll method with the new function.
2854 (hildon_pannable_area_button_release_cb): We have to remove the
2855 timeout handler and move to the last position if the last motion
2856 events were not handled.
2858 Fixes: NB#97028 (Pannable area updates on every motion event)
2860 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_get_topmost): Added a new parameter to
2864 filter the the windows that do not include those events. Added
2865 also a condition when finding the window to filter windows that do
2866 not ask for those events.
2867 (hildon_pannable_area_button_press_cb),
2868 (hildon_pannable_area_button_release_cb),
2869 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2870 topmost function, we have added the new parameter.
2872 Fixes: NB#97458 (Pannable area prevents propagation of button
2875 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2877 * src/hildon-pannable-area.c,
2878 (hildon_pannable_area_initial_effect): Added controls before
2879 launching the timeout and the idle functions.
2880 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2881 of the method, in some situations it can return with TRUE and 0 in
2883 (hildon_pannable_area_button_press_cb): We do not need to set
2884 DELAY for fading out here.
2886 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2888 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2890 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2891 post-cleaning if the selection is not NULL.
2893 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2895 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2896 all items before restoring the selection.
2898 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-touch-selector.c:
2901 (+hildon_touch_selector_unselect_all):
2902 * src/hildon-touch-selector.h: New API to unselect all items in a
2903 column of the touch selector.
2905 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2907 * src/hildon-pannable-area.c,
2908 (hildon_pannable_area_redraw): Added a call to the refresh
2909 function inside the redraw because apparently in some cases the
2910 change in the adjustment does not imply a size allocate.
2912 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2913 despite the view not being scrollable)
2915 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2918 leak. Check for NULL before attempting to set the window title.
2920 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2923 whether to show or not the 'Done' button each time the dialog is
2924 shown, as it depends on the HildonTouchSelector selection mode.
2926 Fixes: NB#96226 (In multiple selection mode Done button is shown
2927 sometimes in listpicker)
2929 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2932 for the number of columns in the HildonTouchSelector more than once.
2934 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-touch-selector.c: Minor documentation fixes.
2938 * src/hildon-picker-dialog.c (+_dialog_update_title)
2939 (_select_on_selector_changed_cb)
2940 (_update_title_on_selector_changed_cb)
2941 (on_selector_columns_changed): Update dialog title when there's no
2942 'Done' button and also when the number of columns in the selector
2946 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2947 (+_selection_changed, hildon_picker_button_on_dialog_response)
2948 (hildon_picker_button_selector_selection_changed)
2949 (+hildon_picker_button_selector_columns_changed)
2950 (hildon_picker_button_set_selector): Update button value and emit
2951 'value-changed' when the number of columns in the selector
2955 Fixes: NB#96225 (Dialog titles are not shown according to the
2956 values selected in the list picker)
2958 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2960 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2961 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2962 New "arrow-width" and "arrow-height" style properties to set the
2963 size of the arrow button.
2964 Set name of arrow button ("hildon-edit-toolbar-arrow").
2966 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2967 graphics from theme)
2969 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-picker-button.c:
2972 (hildon_picker_button_selector_selection_changed): Use
2973 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2974 the dialog is present.
2976 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2977 the selection is accepted in the dialog)
2979 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-color-chooser.h
2982 * src/hildon-color-chooser-dialog.h:
2983 Added G_BEGIN_DECLS and G_END_DECLS
2985 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2987 (_clean_current_selection): plug a leak in the list.
2989 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-picker-dialog.c:
2992 (+free_path_list): Method to free a GList of GtkTreePaths.
2993 (_clean_current_selection), (_save_current_selection),
2994 (_restore_current_selection): Save the current selection in
2995 as a list of lists, to support multiple selection properly.
2997 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2999 patch by Claudio Saavedra (csaavedra@igalia.com)
3001 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3002 Store the press position.
3003 (+hildon_text_view_button_release_event): If the release position is
3004 close enough to the press position, move the cursor here. Otherwise,
3006 (hildon_text_view_class_init): Override GtkTextView press, release, and
3007 motion event handlers, disabling this way text selection through
3008 pointer interaction, and allowing the container widget to handle the
3011 Fixes: NB#95828 (HildonTextView functionality)
3013 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3015 Based on a patch by Iván Gómez (igomez@igalia.com)
3017 * src/hildon-button.[ch]
3018 * src/hildon-calendar.c
3019 * src/hildon-check-button.c
3020 * src/hildon-date-editor.c
3021 * src/hildon-date-selector.c
3022 * src/hildon-picker-button.c
3023 * src/hildon-time-editor.c
3024 * src/hildon-time-selector.c
3025 * src/hildon-touch-selector.[ch]:
3026 Documentation updates
3028 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3030 * src/hildon-pannable-area.c,
3031 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3032 threshold, it was required due to X events handling.
3034 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3036 * src/hildon-pannable-area.c,
3037 (hildon_pannable_area_grab_notify),
3038 (hildon_pannable_area_initial_effect),
3039 (hildon_pannable_area_button_press_cb),
3040 (hildon_pannable_area_button_release_cb),
3041 (hildon_pannable_area_scroll_cb),
3042 (hildon_pannable_area_scroll_to): Review the timeout management of
3043 the scrollbar, the frecuency was incorrectly set.
3045 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-picker-button.c:
3048 (+hildon_picker_button_on_dialog_response),
3049 (hildon_picker_button_clicked): Present the dialog instead of
3050 running it with gtk_dialog_run().
3052 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3055 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3058 (hildon_app_menu_finalize): When a window is hidden it doesn't
3059 emit notify::is-topmost, so make sure than the menu also
3060 disappears in that case.
3061 (parent_window_topmost_notify): Renamed from parent_window_hidden
3063 Fixes: NB#94460 (stackable window's menu is not closed when its
3066 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-touch-selector-entry.c:
3069 (+hildon_touch_selector_entry_set_input_mode),
3070 (+hildon_touch_selector_entry_get_input_mode):
3071 * src/hildon-touch-selector-entry.h: New methods to access the input
3072 mode in the selector's entry.
3074 Fixes: NB#93410 (API required for setting IM mode in
3075 HildonTouchSelectorEntry)
3077 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: post release version bump.
3080 * debian/changelog: version bump
3082 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: Bump version.
3088 * debian/changelog: Updates.
3090 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-touch-selector.c:
3093 (_hildon_touch_selector_has_multiple_selection): No need
3094 to initialize the variables here.
3096 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-note-private.h
3099 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3100 (hildon_note_finalize, hildon_note_rebuild): Close information
3101 notes when they receive a button press.
3103 Fixes: NB#89890 (Information notes does not get disappeared after
3106 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3109 mark from the wizard title, as it's not really necessary. Also,
3110 do not display the page title if not set.
3112 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3115 (parent_window_hidden): Use the window's "is-topmost" property to
3116 detect when to hide the menu.
3118 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3121 (hildon_app_menu_finalize): If the parent window of the menu is
3122 hidden, hide the menu too.
3124 Fixes: NB#94460 (stackable window's menu is not closed when its
3127 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3130 * debian/libhildon1-examples.install
3132 * examples/Makefile.am:
3133 Use dh_install to install all examples.
3134 Use DEB_SRCDIR instead of defining SOURCE_DIR
3136 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3138 * configure.ac: post release version bump.
3139 * debian/changelog: version bump
3141 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3146 * configure.ac: bump version
3147 * debian/changelog: updates
3148 * debian/control: bump gtk+ dependency
3150 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3152 patch by Christian Dywan (christian@imendio.com)
3154 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3155 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3157 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-check-button.c (hildon_check_button_init)
3160 (hildon_check_button_class_init, hildon_check_button_style_set)
3161 (hildon_check_button_apply_style):
3162 New "checkbox-size" style property.
3164 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3165 larger / configurable size)
3167 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: post release version bump.
3170 * debian/changelog: version bump
3172 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3177 * configure.ac: bump version
3178 * debian/changelog: updates
3180 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3182 * doc/hildon-sections.txt
3183 * src/hildon-pannable-area.c
3184 * src/hildon-program.c
3185 * src/hildon-time-editor.c
3186 * src/hildon-touch-selector-entry.c:
3188 More documentation updates.
3190 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3192 * doc/hildon-sections.txt
3193 * src/hildon-caption.c
3194 * src/hildon-code-dialog.c
3195 * src/hildon-color-button.c
3196 * src/hildon-controlbar.c
3197 * src/hildon-date-editor.c
3198 * src/hildon-date-selector.c
3199 * src/hildon-edit-toolbar.c
3200 * src/hildon-find-toolbar.c
3201 * src/hildon-font-selection-dialog.c
3203 * src/hildon-program.c
3204 * src/hildon-range-editor.c
3205 * src/hildon-seekbar.c
3206 * src/hildon-time-editor.c
3207 * src/hildon-time-selector.c
3208 * src/hildon-volumebar-range.c
3209 * src/hildon-volumebar.c
3210 * src/hildon-vvolumebar.c
3211 * src/hildon-weekday-picker.c
3212 * src/hildon-window.c
3213 * src/hildon-wizard-dialog.c:
3215 Lots of documentation fixes.
3217 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3219 Patch contributed by Iván Gómez (igomez@igalia.com)
3221 * src/hildon-check-button.c:
3222 * src/hildon-date-button.c:
3223 * src/hildon-date-selector.c:
3224 * src/hildon-dialog.c:
3225 * src/hildon-edit-toolbar.c:
3226 * src/hildon-entry.c:
3227 * src/hildon-picker-button.c:
3228 * src/hildon-program.c:
3229 * src/hildon-text-view.c:
3230 * src/hildon-time-button.c:
3231 * src/hildon-touch-selector-entry.c:
3232 * src/hildon-window-stack.c:
3234 Add more "since" tags to the new API.
3236 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3238 * doc/hildon-sections.txt: Add below method.
3239 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3240 version for the hildonized scale.
3241 * src/hildon-gtk.h: Add the definition.
3243 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3245 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3247 * doc/hildon-sections.txt: Add missing entries for new methods.
3249 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3251 Added API to pannable are in order to get its adjustments. We
3252 added two properties to manage the values we had in the private
3255 * src/hildon-pannable-area.c:
3256 (hildon_pannable_area_class_init): Added hadjustment and
3257 vadjustment properties in order to expose horizontal and vertical
3259 (hildon_pannable_area_get_property),
3260 (hildon_pannable_area_set_property): Added code to handle the new
3262 (hildon_pannable_area_get_hadjustment),
3263 (hildon_pannable_area_get_vadjustment): API functions to get the
3265 * src/hildon-pannable-area.h:
3266 (hildon_pannable_area_get_hadjustment),
3267 (hildon_pannable_area_get_vadjustment): API functions to get the
3270 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3272 Fixed some leaks, after valgrinding.
3274 * src/hildon-touch-selector.c:
3275 (_default_print_func): Fixed a leak.
3276 (hildon_touch_selector_append_column): Fixed a leak.
3277 * src/hildon-date-button.c:
3278 (hildon_date_button_init): Fixed a leak.
3279 * src/hildon-date-selector.c
3280 (hildon_date_selector_finalize): Fixed a leak.
3282 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3284 Based on a patch by Christian Dywan (christian@imendio.com)
3286 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3288 * src/hildon-gtk.h: Add definition.
3290 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3292 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-picker-button.c: (hildon_picker_button_init),
3295 (hildon_picker_button_new): Set the HildonButton::style property
3296 in the init method, to propagate the value to the derived classes.
3298 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-button.c: (hildon_button_class_init): Do not make
3301 the "style" property a construct property.
3303 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-wizard-dialog.h
3306 * src/hildon-wizard-dialog.c
3307 (hildon_wizard_dialog_set_forward_page_func)
3308 * src/hildon-pannable-area.h
3309 * src/hildon-pannable-area.c
3310 (hildon_pannable_area_set_size_request_policy):
3311 Documentation fixes.
3313 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3315 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3317 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3319 * doc/hildon-sections.txt: Added sections file.
3321 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3324 * src/*.[ch]: Updates.
3326 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3328 * examples/hildon-progress-indicator-example.c: new file
3329 * examples/Makefile.am: include the new example program
3331 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3335 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3337 * configure.ac: post release version bump
3338 * debian/changelog: version bump
3340 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3345 * configure.ac: bump version
3346 * debian/changelog: updates
3347 * debian/control: bump gtk+ dependency
3349 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-dialog.c: Mark as deprecated.
3352 * src/hildon-dialog.h: Mark as deprecated.
3353 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3354 from HildonDialog and still work, even if
3355 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3356 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3358 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3359 maemo changes) instead)
3361 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3363 * src/hildon-pannable_area.h:
3364 * src/hildon-pannable_area.c:
3365 (hildon_pannable_area_class_init),
3366 (hildon_pannable_area_set_property),
3367 (hildon_pannable_area_get_property),
3368 (hildon_pannable_area_size_request),
3369 (hildon_pannable_area_get_size_request_policy),
3370 (hildon_pannable_area_set_size_request_policy): Added new API
3371 allowing applications to control the request policy. Now they can
3372 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3373 children allocation (HILDON_MOVEMENT_CHILDREN).
3375 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3379 (hildon_gtk_tree_view_set_ui_mode)
3380 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3381 mode of treeviews and iconviews.
3383 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-touch-selector-entry.c:
3386 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3387 of a GtkEntry to get proper theming.
3389 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3390 widget, not GtkEntry)
3392 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3395 no HildonWizardDialogPageFunc.
3397 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3399 Patch contributed by Iván Gómez (igomez@igalia.com)
3401 * src/hildon-app-menu.c:
3402 * src/hildon-button.c:
3403 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3404 * src/hildon-stackable-window.c:
3405 * src/hildon-time-selector.c:
3406 * src/hildon-touch-selector.c:
3407 * src/hildon-window.c:
3409 Add more "since" tags to the new API in hildon 2.2.
3411 2008-12-05 Tim Janik <timj@imendio.com>
3413 Patch contributed by Christian Dywan (christian@imendio.com)
3415 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3416 HildonSizeType, which are supplied by Gtk+ now.
3418 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3420 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3421 (with maemo changes) instead)
3423 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3425 Patch contributed by Iván Gómez (igomez@igalia.com)
3427 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3430 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3432 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3433 (some_page_func), (main): Update the example to use a
3434 HildonWizardDialogPageFunc function.
3436 * src/hildon-wizard-dialog-private.h: Add private data for
3437 the HildonWizardDialogPageFunc function usage.
3439 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3440 (destroy), (hildon_wizard_dialog_init), (response),
3441 (hildon_wizard_dialog_set_forward_page_func):
3442 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3443 that applications can use to stop a HildonWizardDialog to jump to
3446 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3449 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-program.h
3452 * src/hildon-program-private.h
3453 * src/hildon-program.c (hildon_program_init)
3454 (hildon_program_set_common_app_menu)
3455 (hildon_program_get_common_app_menu):
3456 New API for setting a common HildonAppMenu for all
3457 HildonStackableWindows registered with the HildonProgram.
3459 * src/hildon-stackable-window.c
3460 (hildon_stackable_window_toggle_menu):
3461 Use the common HildonAppMenu if a window doesn't have a specific
3464 * src/hildon-app-menu-private.h
3465 * src/hildon-app-menu.c
3466 (hildon_app_menu_get_parent_window):
3467 Function to obtain the window a HildonAppMenu is attached to.
3468 (hildon_app_menu_set_parent_window):
3469 Hide the menu if the parent window is set to NULL.
3471 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3474 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3475 search widget to popup.
3477 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3479 * configure.ac: post release version bump
3480 * debian/changelog: version bump
3482 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3487 * configure.ac: bump version
3488 * debian/changelog: updates
3490 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3492 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3494 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3495 (hildon_window_stack_window_realized)
3496 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3497 Set the leader GdkWindow when a window is stacked and realized,
3498 unset it when it's unstacked.
3499 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3501 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3503 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-stackable-window.h
3506 * src/hildon-window-stack.h:
3507 Protect definition of HildonWindowStack using the preprocessor.
3509 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3511 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3512 Fix warning if all menu items are hidden.
3514 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3516 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3518 * src/hildon-controlbar.c:
3519 * src/hildon-hvolumebar.c:
3520 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3521 Multiple scale size defines updates.
3523 Fixes: NB#94322 (Scale Updates)
3525 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3527 * examples/hildon-app-menu-example.c (create_menu)
3528 Show items after adding them to the menu, as in the future the
3529 menu will no longer call gtk_widget_show() on the added items.
3531 * src/hildon-app-menu.c:
3532 Update example as explained above.
3534 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-app-menu.c
3537 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3538 Make sure that all menu items have finger height.
3540 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3542 * src/hildon-picker-dialog.c:
3543 (_on_dialog_response), (_save_current_selection),
3544 (_restore_current_selection), (_clean_current_selection),
3545 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3546 Defined new functions in order to save the current internal selector
3547 selection previous open the dialog, in case that the use cancel the
3548 interaction, so the widget restores the previous selection.
3550 Fixes: NB#92032 (In calendar application, date values in 'new event'
3553 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3555 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3557 * src/hildon-button.c: Add a reference to the button examples in
3558 hildon-button-example.c
3560 * examples/hildon-button-example.c: Added examples of the most
3561 common button layouts.
3563 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-app-menu.c (hildon_app_menu_show)
3566 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3568 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3570 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-picker-dialog.c:
3573 (hildon_picker_dialog_init): Initialize the signal id for
3574 HildonTouchSelector::columns-changed.
3575 (+on_selector_columns_changed): Set up the interaction mode everytime a
3576 column is added or removed from the HildonTouchSelector.
3577 (_hildon_picker_dialog_set_selector): Connect to
3578 HildonTouchSelector::columns-changed and keep track of it.
3580 Make sure to update the interaction mode of the dialog everytime a
3581 column is added or removed in the HildonTouchSelector.
3583 Fixes: NB#93228 (Done button is not shown always in listpicker)
3585 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3587 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3588 a new ::columns-changed signal.
3589 (hildon_touch_selector_append_column): Emit ::columns-changed.
3590 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3592 Add a ::columns-changed signal, emitted when the number of columns in a
3593 HildonTouchSelector changes.
3595 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3598 (_hildon_picker_dialog_set_selector): Factor out the code
3599 to set up the dialog interaction mode.
3601 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3604 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3605 to signal_changed_id.
3607 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3612 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3614 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3615 Updated the logical ids related to ampm format, as now it is required to
3616 show it correctly localized even on languages with no default
3617 abbreviations for am or pm
3618 (_check_am_pm_format): check correctly the 24h format gconf property
3620 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3622 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-button.c: Documentation updates.
3626 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3629 * src/hildon-caption.c: (hildon_caption_class_init):
3630 * src/hildon-color-button.c: (hildon_color_button_class_init):
3631 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3632 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3633 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3634 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3636 Remove deprecated GTK+ marshalers and replace them with the ones
3637 provided by GLib, for those available, add a marshaler for
3638 BOOLEAN:VOID, which is not available in GLib, and use it.
3640 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3643 the text from the previous column if there is no
3644 HildonTouchSelectorColumn::text-property set.
3646 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-button.h
3649 * src/hildon-button.c (hildon_button_set_property)
3650 (hildon_button_get_property, hildon_button_class_init)
3651 (hildon_button_set_style, hildon_button_get_style):
3652 New "style" property to change the visual appearance of the
3655 * src/hildon-picker-button.c (hildon_picker_button_new):
3656 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3658 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3659 HildonButton look like PickerButton)
3661 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3664 column while building the default string.
3666 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3668 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3669 scroll indicator by default.
3671 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3673 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-main.c: Fix the documentation for hildon_init()
3677 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3679 * doc/hildon-docs.sgml
3683 * src/hildon-window-stack-private.h
3684 * src/hildon-window-stack.h
3685 * src/hildon-window-stack.c:
3686 New HildonWindowStack object, that adds support for multiple
3687 stacks of windows per process.
3689 * src/hildon-stackable-window-private.h
3690 * src/hildon-stackable-window.h
3691 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3692 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3693 (hildon_stackable_window_show, hildon_stackable_window_hide)
3694 (hildon_stackable_window_class_init)
3695 (hildon_stackable_window_init):
3696 Use HildonWindowStack for stack management.
3698 * src/hildon-program.c (hildon_program_pop_window_stack)
3699 (hildon_program_peek_window_stack)
3700 (hildon_program_go_to_root_window):
3701 Add a fallback implementation to the deprecated functions using
3704 * examples/hildon-stackable-window-example.c:
3705 Use the new HildonWindowStack API.
3707 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-stackable-window-private.h
3710 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3711 (hildon_stackable_window_hide, hildon_stackable_window_init):
3712 Remove all window stack management.
3714 * src/hildon-program-private.h
3715 * src/hildon-program.h
3716 * src/hildon-program.c (hildon_program_init)
3717 (hildon_program_pop_window_stack)
3718 (hildon_program_peek_window_stack)
3719 (hildon_program_go_to_root_window):
3720 Remove all window stack management and mark functions as
3723 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3725 * src/hildon-app-menu.c (hildon_app_menu_realize):
3726 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3728 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3730 * configure.ac: post release version bump
3731 * debian/changelog: version bump
3733 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3738 * configure.ac: bump version
3739 * debian/changelog: updates
3741 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3743 Based on initial code by Christian Dywan (christian@imendio.com)
3745 * doc/hildon-docs.sgml: Add section for hildon-main.
3746 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3747 * src/Makefile.am: Add new hildon-main.[ch]
3748 * src/hildon-defines.h: Update the icon sizes.
3749 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3750 new library initialization files and register icon sizes.
3751 * src/hildon-main.h: New declarations.
3752 * src/hildon.h: Include hildon-main.h
3754 Add new initialization functions to the library. These methods
3755 will register the hildon specific icon sizes and can be used in the
3756 future for other hildon specific bits.
3758 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3760 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-window.c: (hildon_window_realize),
3763 (hildon_window_notify), (-hildon_window_update_title): Do not set
3764 the application name in the window title.
3766 Fixes: NB#89754 (Applications shouldn't display their names in the
3769 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-note-private.h:
3772 * src/hildon-note.c: (hildon_note_set_property),
3773 (hildon_note_get_property), (hildon_note_class_init),
3774 (hildon_note_init), (hildon_note_finalize),
3775 (hildon_note_new_confirmation_with_icon_name),
3776 (hildon_note_new_information_with_icon_name):
3778 No need to mark as deprecated the actual code. Revert
3779 to avoid missing symbols in widgets using deprecated API.
3781 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3783 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3785 * src/hildon-volumebar.h
3786 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3787 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3789 * src/hildon-helper.h
3790 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3791 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3793 * examples/Makefile.am:
3794 Deprecate hildon-insensitive-example
3796 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3798 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3800 * examples/hildon-pannable-area-buttons-scroll-example.c:
3801 Make all buttons finger height
3803 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3805 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3807 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3808 update the day model only if it is really required, and to avoid the
3809 full-reconstruction aproach. Now it only add or remove the required days.
3811 The purpose of this is avoid superfluous HildonTouchSelector::changed
3814 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3815 with strange parameters)
3817 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3819 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3821 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3822 the WINDOW_TYPE property.
3824 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3826 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3829 Fix dependency to allow parallel compilation with make -jX
3831 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3834 color frame and some minor tweaks to make it more consistent with
3837 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3838 highlighted but not visible)
3840 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3842 * examples/Makefile.am: Fixed typo in the Makefile.am.
3844 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3846 Reviewed the use of MAEMO_GTK define, now we add the define in the
3847 compilation line, and we also add it to the pc file.
3849 * configure.ac: Added MAEMO_GTK define to the compilation command
3850 and removed it from the config.h.
3852 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3853 do not have to take care about this define if the library was
3857 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3859 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3861 * examples/Makefile.am,
3862 * examples/hildon-pannable-area-buttons-scroll-example.c,
3863 * examples/hildon-pannable-area-gesture-signals-example.c,
3864 * examples/hildon-pannable-area-scroll-jump-example.c,
3865 * examples/hildon-pannable-area-tree-view-example.c:
3866 Renamed the pannable area examples, now they have more meaningful
3869 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3871 * src/hildon-touch-selector.c:
3872 (hildon_touch_selector_set_column_selection_mode): Used of
3873 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3874 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3875 to avoid re-seting the same selection mode.
3877 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3878 breaks HildonPickerDialog)
3880 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3882 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3883 conditional in the Makefile.am
3885 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3888 Remove unused methods.
3890 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3892 * src/hildon-button.c (hildon_button_init):
3893 Make button images center-aligned by default
3895 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3898 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3899 activated, we have to think about how to deal with both defines
3900 MAEMO_GTK and MAEMO_CHANGES.
3902 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3904 * examples/hildon-app-menu-example.c (create_menu): Make all
3905 buttons finger size.
3907 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3909 Fixed the compilation without maemo gtk adding ifdefs with
3910 MAEMO_GTK define to the code, we have to check this version more
3913 * examples/Makefile.am: Added control to avoid some examples that
3914 just make sense with maemo gtk.
3917 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3918 hildon modes with the define.
3920 * examples/hildon-edit-toolbar-example.c,
3921 (create_icon_view): Create the icon view without hildon-gtk
3922 helpers if we are not using maemo gtk.
3924 * src/hildon-touch-selector.c,
3925 (_create_new_column): Create the treeview without hildon-gtk
3926 helpers if we are not using maemo gtk.
3928 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3930 * src/hildon-pnnable-area.c,
3931 (hildon_pannable_area_dispose),
3932 (hildon_pannable_area_button_press_cb),
3933 (hildon_pannable_area_child_mapped),
3934 (hildon_pannable_area_add),
3935 (hildon_pannable_area_remove): Added code to control the position
3936 of the event_window when adding and removing children from the
3937 pannable. We have to raise the event window when the child is
3940 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3941 selection mode using custom widget inside pannable)
3943 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3945 * configure.ac: post release version bump
3946 * debian/changelog: version bump
3948 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3953 * configure.ac: bump version
3954 * debian/changelog: updates
3956 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3958 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3959 search mode, in order to avoid lose the focus on the treeview when
3960 a hw key (like enter) is pressed.
3962 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3963 in HildonDateSelector dialog)
3965 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3967 * debian/rules: Added --enable-maintainer-mode
3968 * Makefile.am: Added ACLOCAL_AMFLAGS
3970 This allows to properly regenerate the Makefiles if you modify the
3971 configure.ac or any Makefile.am.
3973 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3975 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3976 properties, not needed at all.
3978 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3982 * src/hildon-note.c: (hildon_note_set_property),
3983 (hildon_note_get_property), (hildon_note_class_init),
3984 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3985 (hildon_note_new_confirmation_add_buttons): Remove icons.
3986 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3987 (hildon_note_new_information_with_icon_name): Deprecate.
3988 (hildon_note_new_confirmation): Act directly, without calling
3989 the deprecated constructor.
3990 (hildon_note_new_information): Act directly, without calling
3991 the deprecated constructor.
3992 * src/hildon-note.h: Mark deprecate methods as such.
3993 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3994 not run tests on the deprecated methods if built with deprecation
3997 Fixes: NB#91688 (Never show icons in information notes/confirmation
4000 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4002 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4003 (hildon_app_menu_key_press): Remove leftover usage of the
4004 private structure in HildonAppMenu struct.
4005 * src/hildon-app-menu.h: Remove leftover private structure
4006 from the HildonAppMenu struct.
4008 Fixes a crasher when using the HildonAppMenu.
4010 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4012 * src/hildon-picker-dialog.c: Use appropriate logical id
4013 for the default "Done" text.
4015 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4017 * configure.ac: post release version bump
4018 * debian/changelog: version bump
4020 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4022 Modified the way to scroll to the current selection just when the touch
4023 selector is shown on the screen, avoiding a g_idle. Added too a property
4024 to configure this behaviour. See hildon_pannable_area_jump_to_child
4025 documentation for more information.
4027 * src/hildon-touch-selector.c
4028 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4029 Added 'initial-scroll' property
4030 (hildon_touch_selector_set_property): Added
4031 (hildon_touch_selector_map): Removed as not required anymore
4032 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4033 only a concrete column, instead of iterate along all the columns
4035 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4040 * configure.ac: bump version
4041 * debian/changelog: updates
4043 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4046 compilation time warnings.
4048 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4051 the default value for HildonPannableArea::mov-mode to
4052 HILDON_PANNABLE_AREA_MODE_VERT.
4054 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4056 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4058 Reverting following commit:
4060 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4062 * src/hildon-app-menu-private.h
4063 * src/hildon-app-menu.[ch]
4064 * src/hildon-button.[ch]
4065 * src/hildon-check-button.[ch]
4066 * src/hildon-entry.[ch]
4067 * src/hildon-pannable-area.[ch]
4068 * src/hildon-text-view.[ch]:
4069 Added private field to the object's structure.
4071 because it causes an ABI breakage. We will need to introduce these
4072 changes later at some point. See NB#91636 for an extensive
4073 explanation and status.
4075 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4077 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4079 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4080 remove special cases that are no longer necessary.
4082 Fixes: NB#91016 (Change toolbar sizes, simplification)
4084 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4087 is shown in the cancel note.
4089 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4091 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4092 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4093 (hildon_seekbar_init): Remove steppers, remove expose event.
4094 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4096 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4098 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4100 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4101 label font to "SmallSystemFont" for vertically arranged buttons.
4103 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4106 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-check-button.c
4109 (hildon_check_button_set_active, hildon_check_button_clicked):
4110 Don't access private parts directly, use getters instead.
4112 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-check-button.c (hildon_check_button_new):
4115 Align the contents of the check button to the left.
4117 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4119 * src/hildon-pannable-area.c,
4120 (hildon_pannable_area_scroll_to),
4121 (hildon_pannable_area_jump_to),
4122 (hildon_pannable_area_scroll_to_child),
4123 (hildon_pannable_area_jump_to_child): Replace the mapped
4124 precondition of these functions with the realized, it is the
4125 correct state of the widget in this case. Changed the
4126 documentation according to this modification.
4128 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4130 Added a new EXTRA_CFLAGS option to add the deprecated define to
4131 the compilation command. This way we can avoid using the define in
4132 the documentation compilation.
4134 * configure.ac: Defined EXTRA_CFLAGS.
4136 * examples/Makefile.am:
4138 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4140 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4142 * src/hildon-picker-dialog.c:
4143 Defined a utility macro with the desired touch selector height
4144 Removed currently unused separator, and title_label variables from
4146 (hildon_picker_dialog_init): Removed code related to the creation
4147 of unused private variables title_label and separator.
4148 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4149 to ensure correct visualization of the touch selector inside the dialog.
4150 * src/hildon-touch-selector.c
4151 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4152 ensure a concrete height of the widget.
4154 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4157 * tests/Makefile.am:
4159 Remove spurious whitespaces.
4161 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4163 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4164 compilation warning after the cancel button removal.
4166 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4168 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4170 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4171 Makefile.am, that way we can choose not to compile some examples
4172 and tests of the deprecated widgets.
4174 * examples/Makefile.am: Divided the sources in deprecated and
4177 * src/Makefile.am: Added undef statement of the deprecated
4178 symbol to the enums file generation process.
4180 * src/hildon-color-chooser-dialog.c
4181 * src/hildon-color-chooser-dialog.h
4182 * src/hildon-color-button.c
4183 * src/hildon-color-button.h
4184 * src/hildon-color-chooser.c
4185 * src/hildon-color-chooser.h
4186 * src/hildon-controlbar.c
4187 * src/hildon-controlbar.h
4188 * src/hildon-date-editor.c
4189 * src/hildon-date-editor.h
4190 * src/hildon-hvolumebar.c
4191 * src/hildon-hvolumebar.h
4192 * src/hildon-private.c
4193 * src/hildon-private.h
4194 * src/hildon-range-editor.c
4195 * src/hildon-range-editor.h
4196 * src/hildon-seekbar.c
4197 * src/hildon-seekbar.h
4198 * src/hildon-time-editor.c
4199 * src/hildon-time-editor.h
4200 * src/hildon-time-picker.c
4201 * src/hildon-time-picker.h
4202 * src/hildon-volumebar.c
4203 * src/hildon-volumebar.h
4204 * src/hildon-vvolumebar.c
4205 * src/hildon-vvolumebar.h
4206 * src/hildon-bread-crumb-trail.h
4207 * src/hildon-bread-crumb-trail.c
4208 * src/hildon-calendar-popup.c
4209 * src/hildon-calendar-popup.h
4210 * src/hildon-weekday-picker.c:
4211 * src/hildon-weekday-picker.h:
4212 * src/hildon-bread-crumb-widget.c:
4213 * src/hildon-bread-crumb-widget.h:
4214 * src/hildon-bread-crumb.c:
4215 * src/hildon-bread-crumb.h:
4216 * src/hildon-calendar.c:
4217 * src/hildon-calendar.h:
4218 * src/hildon-caption.c:
4219 * src/hildon-code-dialog.c:
4220 * src/hildon-code-dialog.h:
4221 * src/hildon-font-selection-dialog.c:
4222 * src/hildon-font-selection-dialog.h:
4223 * src/hildon-get-password-dialog.c:
4224 * src/hildon-get-password-dialog.h:
4225 * src/hildon-login-dialog.c:
4226 * src/hildon-login-dialog.h:
4227 * src/hildon-number-editor.c:
4228 * src/hildon-number-editor.h:
4229 * src/hildon-set-password-dialog.c:
4230 * src/hildon-set-password-dialog.h:
4231 * src/hildon-sort-dialog.c:
4232 * src/hildon-sort-dialog.h: This is the list of deprecated
4235 * src/hildon-touch-selector.c:
4236 * src/hildon-window.c: Added undef statement to avoid compilation
4239 * tests/Makefile.am: Divided the sources in deprecated and
4242 * tests/check_test.c,
4243 (configure_tests): Marked the deprecated code that was adding
4244 suites with deprecated tests.
4246 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4248 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-touch-selector.c: (_default_print_func): Do not
4251 duplicate a string returned by gtk_tree_model_get(), it is already
4254 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4257 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4259 * src/hildon-pannable-area.c
4260 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4261 method, it had problems when adding a widget with viewport the
4262 second time. Now checks if it already has a viewport and uses it.
4264 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4267 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4269 * src/hildon-pannable-area.c,
4270 (hildon_pannable_area_scroll_to),
4271 (hildon_pannable_area_jump_to),
4272 (hildon_pannable_area_scroll_to_child),
4273 (hildon_pannable_area_jump_to_child): Added a precondition to the
4274 scroll and jump to functions: the widget must be mapped before we
4275 can safely call these functions. We have also added documentation
4276 to the functions to explain how to use them in this situation.
4279 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4281 Reviewed the threading handling of the pannable widget, we have
4282 used the gdk_threads_add_timeout function instead of the usual
4283 glib handlers. This avoids some problems with the threads.
4285 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4286 (hildon_pannable_area_initial_effect),
4287 (hildon_pannable_area_scroll_indicator_fade),
4288 (hildon_pannable_area_button_press_cb),
4289 (hildon_pannable_area_timeout),
4290 (hildon_pannable_area_motion_notify_cb),
4291 (hildon_pannable_area_button_release_cb),
4292 (hildon_pannable_area_scroll_cb),
4293 (hildon_pannable_area_scroll_to): Removed the
4294 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4295 gdk_threads_add_timeout.
4297 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4299 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4304 * configure.ac: bump version
4305 * debian/changelog: updates
4307 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4309 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4310 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4311 * src/hildon-color-chooser-dialog.c:
4312 (hildon_color_chooser_dialog_init):
4313 * src/hildon-font-selection-dialog.c:
4314 (hildon_font_selection_dialog_init):
4315 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4317 Remove all cancel/close-like dialogs, as these are not going to be
4320 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4322 * src/hildon-note.c: (hildon_note_rebuild),
4323 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4326 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4328 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4330 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4331 sure all buttons are shown, even the Cancel/Close-like ones.
4333 Fixes: NB#90861 (Custom Confirmation dialogs should be
4334 protected from cancel button removal)
4336 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4338 * debian/control: Change libhildon1-examples dependency from libhildon1
4340 * debian/libhildon1-examples.install
4342 * Makefile.am: Modified the final install directory for the examples on
4343 package libhildon1-examples
4344 * Makefile.static: Update clean target in order to remove all the binary
4347 Changes suggested by Claudio after review new libhildon1-examples package
4349 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4352 * src/hildon-touch-selector.c: Ditto.
4354 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4356 * debian/control: Added new package libhildon1-examples, in order to pack
4357 the current hildon examples as documentation
4358 * debian/rules: Not to compress .c files, modify some includes on the
4359 examples (as normally are compiled locally, but when installed it will
4360 require to include the installed libhildon1 library), and rename
4362 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4363 install all the example files on the new example package
4364 * examples/Makefile.static: Added static makefile that can be used to
4365 compile the examples, once installed the new example package
4366 * examples: Most of the examples were modified in order to grant that
4367 all use only '#include "hildon.h"', in order to be easy to prepare
4368 it on the example package
4370 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4373 * debian/libhildon1-dev.install
4374 * debian/libhildon1-doc.install:
4375 Move all gtk-doc files to a separate libhildon1-doc package.
4377 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4379 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4381 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4383 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4385 * debian/rules: Fixed a error in order to avoid unnecessary calls
4386 to autogen.sh on package building
4388 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4390 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4392 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4394 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4397 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4399 * src/hildon-picker-button.c
4400 (hildon_picker_button_finalize):
4401 Free priv->done_button_text
4403 * src/hildon-time-button.c
4404 (hildon_time_button_set_time)
4405 * src/hildon-picker-button.c
4406 (hildon_picker_button_clicked)
4407 (hildon_picker_button_selector_selection_changed)
4408 (hildon_picker_button_set_selector)
4409 * src/hildon-date-button.c
4410 (hildon_date_button_set_date):
4411 Free strings returned by hildon_touch_selector_get_current_text()
4413 * src/hildon-button.c (hildon_button_construct_child):
4414 Fix leaks in priv->image and priv->label_box
4416 Fixes: NB#90535 (Memory leak in picker button)
4418 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4420 * src/hildon-button.c: (hildon_button_get_property): Do not access
4421 private elements directly, use getters instead.
4423 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-app-menu-private.h
4426 * src/hildon-app-menu.c
4427 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4428 Store the menu's parent window.
4430 * src/hildon-stackable-window.c
4431 (hildon_stackable_window_toggle_menu)
4432 (hildon_stackable_window_finalize):
4433 Set the menu's parent window when the menu is shown, unset it when
4436 * src/hildon-app-menu.c
4437 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4438 (hildon_app_menu_class_init):
4439 Send unhandled keyboard accelerators to the parent window.
4441 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4443 * src/hildon-stackable-window.c
4444 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4446 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4448 * configure.ac: post release version bump
4450 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4453 * configure.ac: Bump version
4454 * debian/changelog: Updates
4455 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4458 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4460 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4463 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4464 GtkMenu with Hildon style.
4466 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4468 * src/hildon-picker-button.c:
4469 (hildon_picker_button_set_done_button_text): Set the dialog's
4470 done button text here as well.
4472 Fixes: NB#90232 (Picker button does not set the label on done button
4473 for the second time)
4475 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4480 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4482 * src/hildon-app-menu.c (hildon_app_menu_insert)
4483 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4484 the HildonAppMenu to be activatable using keyboard accelerators
4485 when the menu is not being shown.
4487 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4489 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-stackable-window.c
4492 (hildon_stackable_window_show):
4493 Don't hide old windows automatically when new windows are shown:
4494 this is now a task for the window manager.
4495 (hildon_stackable_window_class_init)
4496 (hildon_stackable_window_hide):
4497 Remove windows from the stack everytime they're hidden.
4498 (hildon_stackable_window_realize):
4499 Don't change the _NET_WM_WINDOW_TYPE property. Use
4500 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4501 it as a stackable window.
4503 * src/hildon-program.c
4504 (hildon_program_pop_window_stack):
4505 Just hide the window to remove it from the stack.
4506 (hildon_program_go_to_root_window):
4507 Don't call gtk_widget_show(), this is now a task for the window
4510 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4512 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-button.c
4515 (hildon_button_construct_child):
4516 Don't pack anything in the button until text or image are
4517 set. This allows adding a custom child after creating the button
4518 with hildon_button_new().
4519 (hildon_button_finalize, hildon_button_class_init)
4520 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4521 alignment and the label box even when they're not packed in the
4524 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4526 * src/hildon-touch-selector.h:
4527 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4528 currently the type definition was using GTK_TYPE_VBOX
4529 * src/hildon-touch-selector.c:
4530 Added some implementation notes in order to clarify that any other widget
4531 added without the column related API will not be included on the
4532 selection logic, and how the widget is freed, as some people ask about
4534 (hildon_touch_selector_remove): Reimplemented in order to free properly
4535 the column related data when you remove the private hbox.
4536 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4537 to get a proper HildonTouchSelectorColumn documentation
4539 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/hildon-touch-selector-entry.c:
4542 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4543 text in the GtkEntry and there is no item selected. Fixes a
4546 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4548 * src/hildon-app-menu-private.h
4549 * src/hildon-app-menu.[ch]
4550 * src/hildon-button.[ch]
4551 * src/hildon-check-button.[ch]
4552 * src/hildon-entry.[ch]
4553 * src/hildon-pannable-area.[ch]
4554 * src/hildon-text-view.[ch]:
4555 Added private field to the object's structure.
4557 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: post-release version bump
4561 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4565 * configure.ac: pre-release version bump
4567 * debian/changelog: updates.
4569 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4571 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4572 Disconnect the handler for HildonTouchSelector::changed.
4574 (hildon_picker_button_selector_selection_changed): Update the button
4575 value if the selection change was not triggered by the
4578 (hildon_picker_button_set_selector): connect to
4579 HildonTouchSelector::changed.
4581 Fixes: NB#89650 (Picker button is not updated, when selection in
4582 selector has changed)
4584 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4586 * src/hildon-picker-dialog.c
4587 (hildon_picker_dialog_realize): Removed as not required
4588 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4589 * src/hildon-picker-button.c
4590 (_current_selector_empty): New function, checks if the selector is empty
4591 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4592 if the current selector is empty, in order to avoid to show the dialog
4593 close the dialog in this case (and shows a g_warning).
4595 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4597 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4599 * src/hildon-pannable-area.c,
4600 (hildon_pannable_area_scroll): Added clause to stop movement when
4601 the child of pannable is smaller than one page.
4602 (hildon_pannable_area_scroll_to): Added conditions to avoid
4603 starting the scrolling movement if the child is smaller than one
4604 page, the complete child is in the screen, we do not have to move.
4606 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4608 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4610 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4611 this is managed automatically by the widget when the size of the
4614 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4616 * src/hildon-picker-button.c
4617 (hildon_picker_button_set_done_button_text): Make a copy of the
4618 text, and free the previous value.
4620 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-touch-selector-entry.c:
4623 (hildon_touch_selector_entry_print_func): Return the selected row's
4624 text if the entry is empty.
4626 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4629 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4633 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4636 * src/hildon-check-button.h
4637 * src/hildon-check-button.c
4638 * examples/hildon-check-button-example.c:
4639 HildonCheckButton is now a new widget. 'toggled' signal added.
4641 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4643 * src/hildon-program-private.h
4644 * src/hildon-program.c (hildon_program_init)
4645 (hildon_program_finalize): Removed unused variables group_leader
4646 and name from HildonProgramPrivate.
4648 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-check-button.c (hildon_check_button_set_active)
4651 (hildon_check_button_get_active, hildon_check_button_new): Use
4652 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4654 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4656 * src/hildon-touch-selector.h
4657 (hildon_touch_selector_set_column_attributes): added deprecation
4658 guard HILDON_DISABLE_DEPRECATED
4659 * src/hildon-time-selector.c
4660 (hildon_time_selector_set_time)
4661 (hildon_time_selector_get_time): Fixed a typo on documentation
4662 * src/hildon-touch-selector.c: update HildonTouchSelector and
4663 HildonTouchSelectorColumn documentation
4664 * src/hildon-touch-selector-entry.c: update "text-column" property
4666 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4667 to be added to the general documentation.
4669 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4671 * examples/hildon-pannable-area-example-4.c,
4673 * examples/hildon-pannable-area-example.c,
4674 (main): Modified the code in order to use the container add, with
4675 viewport treeviews could have problems if they are really big.
4677 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4679 * src/hildon-weekday-picker.c,
4680 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4681 the agreement regarding deprecation in the library.
4683 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4685 * examples/hildon-picker-button-multicolumn-example.c:
4686 (main): Use custom "done" button text.
4688 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4689 (hildon_picker_button_set_property),
4690 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4691 (hildon_picker_button_init),
4692 (+hildon_picker_button_get_done_button_text),
4693 (+hildon_picker_button_set_done_button_text): New methods to customize
4694 the "done" button label in the launched HildonPickerDialog. Also,
4697 * src/hildon-picker-button.h: add the public API.
4699 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-date-selector.h:
4702 * src/hildon-picker-dialog.h:
4703 * src/hildon-time-selector.h:
4704 * src/hildon-touch-selector-column.h:
4705 * src/hildon-touch-selector.h:
4707 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4708 declarations. Fixes gtk-doc warnings.
4710 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4712 * src/hildon-picker-dialog.h
4713 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4714 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4716 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4717 long text is set as label for done button)
4719 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4721 * src/hildon-dialog.c (hildon_dialog_add_button):
4722 Set fixed width to all buttons in the HildonDialog.
4724 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4726 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4728 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4729 Set widget name using class name plus "-finger" or "-thumb".
4731 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4734 'clicked' when the state of the button is manually changed.
4736 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-app-menu.c (hildon_app_menu_realize)
4739 (hildon_app_menu_unrealize, hildon_app_menu_init)
4740 (hildon_app_menu_class_init, item_visibility_changed):
4741 Change the menu layout when the size of the screen changes.
4742 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4743 Show warning only when changing the number of colums using the
4746 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4748 * debian/compat: Set to 5
4749 * debian/control: Update dependencies.
4750 * debian/libhildon1-dbg.install: Remove.
4751 * debian/libhildon1-dev.install: Update according to cdbs paths.
4752 * debian/libhildon1.install: Update according to cdbs paths.
4753 * debian/rules: Switch to cdbs.
4755 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4757 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4758 'item' variable renamed to 'filter'
4760 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4762 * src/hildon-app-menu.c (hildon_app_menu_insert)
4763 (hildon_app_menu_add_filter, remove_item_from_list)
4764 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4765 Don't leak hidden items when the menu is destroyed.
4767 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-app-menu.c (hildon_app_menu_insert)
4770 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4771 (hildon_app_menu_set_columns, item_visibility_changed)
4772 (filter_visibility_changed, hildon_app_menu_repack_filters)
4773 (hildon_app_menu_repack_items):
4774 Repack items and filters separately.
4776 Don't repack all items, change only the ones that are needed to
4779 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4781 * src/Makefile.am: added hildon-touch-selector-column.h
4783 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4785 * src/hildon-touch-selector.c: added the property "text-column" to the
4786 class HildonTouchSelectorColumn, and related get/set functions
4787 (_default_printf_func): updated to use "text-column" property
4788 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4789 "text-column" in his documentation, as this is now included on
4790 HildonTouchSelectorColumn. The get/set_property can still be used,
4791 working as a wrapper to the concrete column "text-column" property
4792 (_text_column_modified): callback added in order to handle the signal
4793 "notify::text-column" of the concrete HildonTouchSelectorColumn
4794 (hildon_touch_selector_entry_get_text_column)
4795 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4796 modified in order to use the HildonTouchSelectorColumn "text-column"
4798 * src/hildon-time-selector.c:
4799 * src/hildon-date-selector.c:
4800 * examples/hildon-touch-selector-example.c
4801 * examples/hildon-touch-selector-multi-cells-example.c
4802 * examples/hildon-picker-button-multicolumn-example.c
4803 Set the right value to "text-column" property on the creation of a new
4804 column using hildon_touch_selector_append_column()
4806 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4808 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4810 * src/hildon-app-menu.c
4811 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4812 updating the layout of the menu, don't create all widgets again,
4813 just repack the items in their new places.
4815 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4817 * src/hildon-time-selector.c
4818 (hildon_time_selector_get_time)
4819 (hildon_time_selector_set_time)
4820 Added documentation of these public methods
4822 * src/hildon-date-button.h
4823 * src/hildon-touch-selector-column.h
4824 * src/hildon-time-button.h
4825 * src/hildon-picker-dialog.h
4826 * src/hildon-time-selector.h
4827 * src/hildon-picker-button.h
4828 * src/hildon-touch-selector.h
4829 * src/hildon-time-picker.h
4830 * src/hildon-date-selector.h
4831 * src/hildon-touch-selector-entry.h
4832 Modified in order to use hildon-widgets code style
4834 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4836 Added deprecated support to the compilation process using
4837 HILDON_DISABLE_DEPRECATED
4839 * configure.ac: Added the --disable-deprecated to the configure
4842 * src/hildon-weekday-picker.c:
4843 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4844 to use the deprecated support. We will update the other deprecated
4845 widgets status in a new patch.
4847 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4849 * configure.ac: Fixed typo with fatal warnings support, the
4850 variable name was not correct
4852 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4854 * src/hildon-app-menu.c
4855 * src/hildon-program.c: Update documentation.
4857 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4859 * configure.ac: Post-release version bump.
4861 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4866 * configure.ac: Pre-release version bump.
4867 * debian/changelog: Updates.
4869 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4871 * NEWS: Update news for previous releases.
4873 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4875 * examples/hildon-touch-selector-multi-cells-example.c:
4876 (create_selector): Update the example to use
4877 hildon_touch_selector_append_column() with a NULL renderer and set
4878 the renderers later.
4879 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4880 passed a NULL renderer. This is documented behavior now.
4882 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4883 This must be used if the developer wants full control on the layout of
4884 the renderers to be added to the column.
4886 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4888 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4890 * src/hildon-touch-selector.c: Documentation fixes.
4892 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4894 * src/hildon-wizard-dialog-private.h: Remove image and box.
4895 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4896 (hildon_wizard_dialog_set_property), (response): Completely remove
4897 image/icon support, and the containers required for the layout.
4899 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4901 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-app-menu.c: Updated documentation.
4905 * src/hildon-stackable-window.c
4906 (hildon_stackable_window_set_main_menu): Unref the old menu after
4907 ref'ing the new one.
4909 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-stackable-window.c
4912 (hildon_stackable_window_set_main_menu): Unref the previous menu
4913 instead of destroying it.
4915 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4916 floating reference and set has_user_ref_count to FALSE to make
4917 HildonAppMenu act like a normal ref-counted widget and not a
4920 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4923 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4925 * src/hildon-touch-selector-column.h: new file
4926 * src/hildon-touch-selector.h
4927 * src/hildon-touch-selector.c
4928 Implemented GtkCellLayout interface, in order to allow to configure
4929 the cell layout on each individual selector column
4930 (hildon_touch_selector_set_column_attributes): marked as deprecated
4931 * examples/hildon-touch-selector-multi-cells-example.c
4932 Example of how to use the GtkCellLayout interface on the selector
4934 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4936 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-app-menu.h
4939 * src/hildon-app-menu.c
4940 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4941 (hildon_app_menu_append, hildon_app_menu_prepend):
4942 New methods to prepend, insert and move items in the menu.
4944 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4946 * src/hildon-wizard-dialog.c:
4948 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4950 (create_title): Update logical IDs and related code.
4951 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4953 * src/hildon-wizard-dialog.h: Note that
4954 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4955 point, as it is not used anymore.
4957 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4959 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4961 * src/hildon-note.c:
4962 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4963 shown. Do not display an icon in confirmation notes nor information
4965 (hildon_note_set_button_text): Update logical ID for cancel button.
4967 Fixes: NB#88850 (Update HildonNote button strings + signals)
4969 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-stackable-window.c
4972 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4974 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-app-menu-private.h
4977 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4978 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4979 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4980 temporary property 'columns' to change the number of columns.
4982 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4984 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4986 * examples/hildon-note-example.c: (on_information_clicked),
4987 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4988 debugging information.
4989 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4991 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4992 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4993 in order to close: this will be handled by the WM from now on.
4995 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4997 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-app-menu-private.h
5000 * src/hildon-app-menu.c
5001 (hildon_app_menu_append, hildon_app_menu_add_filter)
5002 (button_visibility_changed, hildon_app_menu_apply_style)
5003 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5004 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5005 layout everytime a button (item or filter) is shown or hidden.
5007 * src/hildon-stackable-window.c
5008 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5011 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5013 * src/hildon-touch-selector.c:
5014 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5015 that the treeview inside the touch selector is in fremantle hildon mode
5016 * examples/hildon-date-button-example.c
5017 * examples/hildon-picker-button-multicolumn-example.c
5018 * examples/hildon-touch-selector-entry-example.c
5019 * examples/hildon-touch-selector-example.c
5020 * examples/hildon-time-button-example.c
5021 * examples/hildon-picker-button-example.c:
5022 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5024 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5026 * examples/hildon-text-view-example.c: (main): Remove the
5027 gtkrc bits, now handled by the theme.
5029 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5031 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5034 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5036 * po/Makefile.am: Install properly the mo files.
5037 * po/en_GB.po: Update translation, to ease testing purposes.
5039 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5041 * examples/hildon-picker-button-example.c: (main): Select an item
5042 in the selector before setting it to the button.
5044 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5047 Update button's value if the selector has an item active.
5049 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5050 'value' with the selector)
5052 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5054 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5055 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5056 (hildon_picker_button_class_init): Plug the finalize method.
5057 (hildon_picker_button_set_selector): If there's a previously set
5058 selector, unref'it before setting a new one.
5060 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5061 HildonTouchSelector)
5063 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-touch-selector-entry.c:
5066 (hildon_touch_selector_entry_changed): Check if there is no text
5067 selected before setting the entry text.
5070 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-touch-selector.h
5073 * src/hildon-touch-selector.c
5074 (hildon_touch_selector_get_active)
5075 (hildon_touch_selector_set_active): New methods to set/get the
5076 index of the selected item.
5078 * src/hildon-picker-button.h
5079 * src/hildon-picker-button.c
5080 (hildon_picker_button_get_active)
5081 (hildon_picker_button_set_active): New methods to set/get the
5082 index of the selected item.
5084 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5086 * configure.ac: post-release version bump.
5088 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5092 * configure.ac: Pre-release version bump.
5093 * debian/changelog: Updates.
5094 * debian/control: Add myself as maintainer and depend on l10n
5097 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-window.c
5100 (hildon_window_set_main_menu)
5101 * src/hildon-stackable-window.c
5102 (hildon_stackable_window_set_main_menu):
5103 Updated documentation.
5105 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5107 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5108 Don't free selector->priv manually.
5111 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5114 (hildon_gtk_window_set_progress_indicator):
5115 * src/hildon-gtk.h: Added the new API
5116 hildon_gtk_window_set_progress_indicator, it changes the state of
5117 the window progress hint.
5119 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5121 * src/hildon-button.c
5122 * src/hildon-stackable-window.c: Minor documentation updates.
5124 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-stackable-window.c: Updated documentation.
5128 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5130 * src/hildon-defines.h: Update margins definitions
5131 to the Fremantle sizes.
5134 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5136 * src/hildon-touch-selector.c,
5137 (_hildon_touch_selector_set_model): Cleaning the code after
5138 review, removed g_print and #if 0 from the code.
5140 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5142 * src/hildon-edit-toolbar.c: Update documentation.
5144 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5146 * src/hildon-check-button.h
5147 * src/hildon-check-button.c
5148 (hildon_check_button_set_label, hildon_check_button_get_label)
5149 * examples/hildon-check-button-example.c
5150 (button_clicked_cb):
5151 Removed deprecated methods.
5153 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5155 * src/hildon-text-view.c:
5156 Add sample code to the documentation.
5158 * src/hildon-entry.h
5159 * src/hildon-text-view.h:
5160 Minor cosmetic changes.
5162 * src/hildon-entry.c:
5163 Add sample code to the documentation.
5164 (hildon_entry_init, hildon_entry_refresh_contents):
5165 Don't allow NULL values in the placeholder.
5167 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5169 * doc/hildon-docs.sgml
5171 * examples/Makefile.am
5172 * examples/hildon-text-view-example.c
5174 * src/hildon-text-view.c
5175 * src/hildon-text-view.h
5177 New HildonTextView widget, with example.
5179 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5181 * po/POTFILES.in: Add missing files with translatable strings.
5182 Partially fixes NB#88287.
5184 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5186 * examples/hildon-pannable-area-example-2.c: (main): No need to
5187 set the cellrenderer height inside hildon touch lists, the theme does
5190 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5192 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5193 they are integrated in the theme.
5195 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5197 * examples/hildon-entry-example.c: Update the example adding
5198 widgets to modify the text and the placeholder of the HildonEntry.
5200 * src/hildon-entry.c: Show the placeholder everytime the widget
5201 is empty and loses the focus.
5203 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5205 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5207 * src/hildon-pannable-area.c,
5208 (hildon_pannable_area_size_request): Fixed bug in height
5209 requisition, avoid increasing size and add border twice.
5211 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5213 * configure.ac: postrelease version bump.
5215 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5219 * configure.ac: Prerelease version bump.
5220 * debian/changelog: update.
5221 * debian/rules: make -dbg package contain useful debugging symbols.
5223 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-dialog.h
5226 * src/hildon-dialog.c
5227 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5228 New methods to add buttons with finger size.
5229 (hildon_dialog_new_with_buttons):
5230 Create buttons with finger size.
5232 * examples/hildon-dialog-example.c (main): Use HildonDialog
5233 methods to add buttons.
5235 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-entry.c: Updated HildonButton documentation.
5239 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5241 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5242 button value label with (FALSE, FALSE) to prevent NB#88126 from
5245 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5247 * examples/hildon-pannable-area-example.c,
5248 (main): Removed examples panning a vbox inside a pannable
5249 area. Check bug NB#87965
5251 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5253 Patch contributed by Kris Rietveld (kris@imendio.com)
5255 * src/hildon-pannable-area.c,
5256 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5257 get_size and get_position, this saves an X server roundtrip.
5259 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5261 * doc/hildon-docs.sgml
5263 * examples/Makefile.am
5264 * examples/hildon-entry-example.c
5266 * src/hildon-entry.c
5267 * src/hildon-entry.h
5269 New HildonEntry widget, with example.
5271 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5273 * src/hildon-button.c (hildon_button_construct_child): Pack the
5274 image with expand == fill == FALSE. This is a workaround for a bug
5277 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5279 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5280 labels for the text column, to make it more look more dynamic.
5282 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5284 * src/hildon-time-selector.c
5285 Define gettext auxiliar macro N_
5286 (_create_minutes_model)
5287 (_create_hours_model)
5288 (_create_ampm_model): use of strftime in order to fill the model
5289 * src/hildon-date-selector.c
5290 (hildon_date_selector_finalize):
5291 (_locales_init): remove the logic related to get the name of the months
5292 using nl_langinfo, as it is not required anymore
5294 (_create_year_model)
5295 (_create_month_model)
5296 (_update_day_model): use of strftime in order to fill the model properly
5299 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-button.h
5302 * src/hildon-button.c (hildon_button_get_image): New method to
5305 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5307 * src/hildon-touch-selector.c:
5308 (hildon_touch_selector_remove_column): Remove from the correct parent
5309 and also remove the list element and free it.
5312 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5314 * src/hildon-time-selector.c
5315 (_create_hours_model): change the range on 12h ampm format in order to use
5316 a 12-11 range instead of previous 01-12 range
5317 (hildon_time_selector_set_time): change the way to select the current time
5318 on 12h ampm format, due the change on the range
5319 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5322 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5324 * src/hildon-touch-selector.c
5325 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5326 in order to allow use this function on multiple row selection mode if
5327 the column is different that the first one
5330 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5333 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5335 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5337 * src/hildon-date-selector.h: clean some comments, now on the .c
5338 * src/hildon-date-selector.c
5339 (hildon_date_selector_select_month): first implementation
5340 (hildon_date_selector_select_day): added documentation, reimplemented
5341 using hildon_date_selector_select_current_date to avoid repeat code
5344 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5346 Reviewed interaction logic based on device experiences, refactored
5349 * src/hildon-pannable-area.c,
5350 (hildon_pannable_area_class_init): Updated default vmax speed.
5351 (hildon_pannable_area_calculate_velocity): Added this function, it
5352 avoids duplicate valocity calculation. Adjusted calculation to
5353 avoid problems with zero dist events.
5355 (hildon_pannable_area_motion_notify_cb): Now we use the
5356 calculate_velocity function.
5358 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5360 * src/hildon-date-selector.c
5361 (hildon_date_selector_select_current_date): fix the day range check
5362 as it failed using the last day of the current month
5365 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5367 * src/hildon-touch-selector.c
5368 (hildon_touch_selector_get_num_columns): added a parameter validation
5371 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5373 * examples/Makefile.am
5374 * examples/hildon-edit-toolbar-example.c: Example of the
5375 HildonEditToolbar widget.
5377 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5379 * configure.ac: postrelease version bump.
5381 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5385 * configure.ac: prerelease version bump.
5386 * debian/changelog: update.
5388 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5390 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5391 renderer to display stock icons in the touch list. Also, set the sizes
5392 to the recommended in the style guide.
5394 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5395 * src/hildon-touch-selector.h
5396 (hildon_touch_selector_set_active_iter): renamed, now is
5397 hildon_touch_selector_select_iter
5398 (hildon_touch_selector_get_active_iter): renamed, now is
5399 hildon_touch_selector_get_selected
5400 (hildon_touch_selector_unselect_iter): added
5401 * src/hildon-touch-selector.c
5402 Update after API modification (methods renamed)
5403 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5404 order to avoid problems selecting multiple elements on the column
5405 (hildon_touch_selector_unselect_iter): added the implementation
5406 * src/hildon-time-selector.c
5407 * src/hildon-date-selector.c
5408 * src/hildon-touch-selector-entry.c
5409 Update methods calls after hildon-touch-selector.h API modification (methods
5412 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5414 * src/hildon-stackable-window.c
5415 (hildon_stackable_window_finalize): Call the parent class's finalize.
5417 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5419 * examples/hildon-touch-selector-example.c: (create_selector): Use
5420 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5423 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5425 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5426 set a cell background color, to respect theming.
5428 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5430 * doc/hildon-docs.sgml
5433 * src/hildon-edit-toolbar.c
5434 * src/hildon-edit-toolbar.h
5435 * src/hildon.h: New HildonEditToolbar widget.
5437 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5439 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5442 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5443 * src/hildon-touch-selector.c
5444 (_create_new_column): use g_object_set instead of two g_object_set_property
5446 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5447 * src/hildon-touch-selector.c
5448 (_create_new_column): use of hildon_gtk_tree_view_new to create
5449 the treeview, instead of use directly g_object_new
5450 (_create_new_column): update the property name "vindicator-mode" for the
5451 new one "vscrollbar-policy"
5452 * examples/hildon-date-button-example.c
5453 * examples/hildon-picker-button-multicolumn-example.c
5454 * examples/hildon-touch-selector-entry-example.c
5455 * examples/hildon-touch-selector-example.c
5456 * examples/hildon-time-button-example.c
5457 * examples/hildon-picker-button-example.c
5458 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5459 to all the treeviews inside a pannable area.
5461 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5463 * src/hildon-button.h
5464 * src/hildon-button.c (hildon_button_init)
5465 (hildon_button_set_arrangement, hildon_button_set_alignment)
5466 (hildon_button_set_title_alignment)
5467 (hildon_button_set_value_alignment)
5468 (hildon_button_set_image_alignment)
5469 (hildon_button_construct_child): New methods to set the alignment
5470 of the individual components of the button (title, value,
5471 image). Also, new method to alter the xscale and yscale properties
5472 of the GtkAlignment inside the button, so more complex layouts can
5475 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-button.c (hildon_button_style_set)
5478 (hildon_button_class_init, hildon_button_set_arrangement)
5479 (hildon_button_construct_child): Apply style properties
5480 correctly. Use the 'image-spacing' style property too.
5482 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5485 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5488 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5490 * src/hildon-pannable-area.c,
5491 (hildon_pannable_area_size_request): Fixed problem with
5492 pannable-area size_request.
5494 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5496 Added management for the grab-focus to a child widget, like a
5497 range, we need to fade out the scrollbar when releasing.
5499 * src/hildon-pannable-area.c,
5500 (hildon_pannable_area_init): Connected the grab-focus signal to
5502 (hildon_pannable_area_grab_notify): Added this function in order
5503 to manage the situation when the grab-focus ends. We have to
5504 fade-out the scrollbar.
5506 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-app-menu.c: Minor documentation update.
5510 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5512 * src/hildon-app-menu.c
5513 * examples/hildon-app-menu-example.c (create_menu): Update
5514 examples and documentation to explain how to connect callbacks.
5516 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5518 * examples/hildon-button-example.c
5519 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5520 hildon_stackable_window_new instead of gtk_window_new
5522 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5524 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5525 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5526 (hildon_pannable_area_set_property),
5527 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5528 (hildon_pannable_area_unrealize),
5529 (hildon_pannable_area_size_request),
5530 (hildon_pannable_area_size_allocate),
5531 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5532 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5533 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5534 (hildon_pannable_area_initial_effect),
5535 (hildon_pannable_area_redraw),
5536 (hildon_pannable_area_scroll_indicator_fade),
5537 (hildon_pannable_area_expose_event),
5538 (hildon_pannable_area_get_topmost), (synth_crossing),
5539 (hildon_pannable_area_button_press_cb),
5540 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5541 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5542 (hildon_pannable_area_motion_notify_cb),
5543 (hildon_pannable_area_button_release_cb),
5544 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5545 (hildon_pannable_area_remove),
5546 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5547 chage the code layout to a more GtkWidget like. Review the use of
5550 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5552 * examples/hildon-pannable-area-example-4.c,
5553 (main): Modified the name of the hindicator_mode to
5556 * src/hildon-pannable-area.c,
5557 (hildon_pannable_area_class_init),
5558 (hildon_pannable_area_motion_notify_cb),
5559 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5560 we have reduced the amount of signals and managed reviewed its
5561 rationale. Changed the default decelerate value.
5563 (hildon_pannable_area_add),
5564 (hildon_pannable_area_redraw): Refactored functions.
5566 (hildon_pannable_area_init),
5567 (hildon_pannable_area_get_property),
5568 (hildon_pannable_area_set_property):
5569 (hildon_pannable_draw_vscroll),
5570 (hildon_pannable_draw_hscroll),
5571 (hildon_pannable_area_initial_effect),
5572 (hildon_pannable_area_expose_event),
5573 (hildon_pannable_area_scroll),
5574 (hildon_pannable_area_button_press_cb),
5575 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5576 and vindicator_mode with hscrollbar_policy and
5577 vscrollbar_policy. Replaced hscroll and vscroll with
5578 hscroll_visible and vscroll_visible.
5580 (hildon_pannable_area_refresh): Refactor the function, remove
5581 variables and check the calls to this function, added resize
5582 conditions in case the children change their layout.
5584 (hildon_pannable_area_size_request): Added more detailed
5585 size_request calculation.
5588 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5590 * src/hildon-color-chooser.c
5591 (init_borders): use the correct gtk_border_free instead of g_free, to
5592 avoid a crash when this widget is used (ie: the three color selection
5595 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5597 * src/hildon-check-button.c,
5598 (hildon_check_button_set_active): Fixed problem when setting the
5599 active value, the widget was not redrawn.
5601 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5603 * src/hildon-pannable-area.c,
5604 (hildon_pannable_area_refresh),
5605 (hildon_pannable_area_scroll),
5606 (hildon_pannable_area_motion_notify_cb): Small code style change.
5608 (hildon_pannable_area_class_init): Default initial_hint set to
5609 FALSE, it is not in the specs.
5611 (hildon_pannable_area_initial_effect),
5612 (hildon_pannable_area_expose_event),
5613 (hildon_pannable_area_map),
5614 (hildon_pannable_area_init): Moved the launching point of the
5615 initial effect, it was in map but the sizes where not correct in
5616 that method so we do not know if we have the reproduce it. Now it
5617 is placed in the expose_event method and uses a variable to
5618 reproduce it just once.
5620 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5622 * src/hildon-pannable-area.c,
5623 (hildon_pannable_draw_vscroll),
5624 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5625 position allowed for the scrollbars.
5627 (hildon_pannable_area_size_allocate): Small style change.
5629 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c,
5632 (hildon_pannable_area_scroll_indicator_fade),
5633 (hildon_pannable_area_button_press_cb),
5634 (hildon_pannable_area_button_release_cb),
5635 (hildon_pannable_area_scroll_cb),
5636 (hildon_pannable_area_expose_event),
5637 (hildon_pannable_area_init): Added the define parameter
5638 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5639 and refactor the fade variable.
5641 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5643 * src/hildon-pannable-area.c,
5644 (hildon_pannable_area_redraw),
5645 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5646 lines, we were reimplemeting the redraw code.
5648 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5650 * src/hildon-pannable-area.c,
5651 (hildon_pannable_area_scroll_cb),
5652 (hildon_pannable_area_realize),
5653 (hildon_pannable_area_class_init): Added scroll_event management
5654 for pannable area, now we can scroll the usual desktop method.
5656 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5657 initialization of the parameters should depend on idle_id.
5659 (hildon_pannable_area_init),
5660 (hildon_pannable_area_map): Small code style modifications
5662 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5664 * src/hildon-pannable-area.c
5665 (hildon_pannable_area_button_press_cb),
5666 (hildon_pannable_area_motion_notify_cb),
5667 (hildon_pannable_area_button_release_cb),
5668 (hildon_pannable_area_size_allocate),
5669 (hildon_pannable_area_scroll_to): Improved the timeouts
5670 management, we avoid creating them each time.
5672 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5674 * src/hildon-pannable-area.c:
5675 (hildon_pannable_area_refresh),
5676 (hildon_pannable_area_motion_notify_cb),
5677 (hildon_pannable_area_class_init):
5678 * src/hildon-pannable-area.h:
5679 * src/hildon-touch-selector.c
5680 (_create_new_column):
5681 * examples/hildon-pannable-area-example-4.c:
5682 (horizontal_movement),
5683 (vertical_movement),
5685 Replaced the names of enums in the HildonPannableArea:
5686 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5687 HILDON_MOVEMENT_MODE_*
5688 - HILDON_PANNABLE_AREA_MOV_* ->
5690 - Removed HildonPannableAreaIndicatorMode, now we
5693 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5695 * examples/hildon-pannable-area-touch-grid-example.c
5696 * examples/hildon-pannable-area-touch-list-example.c: Fix
5697 compilation warnings.
5699 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5701 * src/hildon-gtk.c (hildon_gtk_button_new)
5702 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5703 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5704 images overriding the value of the "gtk-button-images" setting.
5706 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5708 * src/hildon-check-button.c (hildon_check_button_new):
5709 Instead of using a custom container, display the label and the
5710 checkbox using the standard GtkButton API.
5712 * examples/hildon-check-button-example.c (main): Don't use
5713 hildon_check_button_set_label() anymore
5715 * src/hildon-check-button.h
5716 * src/hildon-check-button.c
5717 (hildon_check_button_set_label, hildon_check_button_get_label):
5718 Set as deprecated, now we're using gtk_button_{get,set}_label()
5720 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5722 * src/hildon-pannable-area.c,
5723 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5724 GtkTreeview first line we detected it after the inclusion of the
5725 GtkWindowImpl in gtk+. We now check if the window is visible, not
5726 just if the pointer is over the window.
5727 (hildon_pannable_axis_scroll),
5728 (hildon_pannable_area_expose_event): Small style changes.
5730 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-button.c: Update documentation.
5734 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5736 * examples/hildon-button-example.c: Add a switch to show images in
5739 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5741 * doc/hildon-docs.sgml: Some docs reorganization.
5743 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5745 * examples/hildon-pannable-area-touch-list-example.c
5747 * examples/hildon-pannable-area-touch-grid-example.c
5748 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5749 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5750 Fix memory leak when setting the tree model.
5752 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5756 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5758 * doc/hildon.types: Remove duplicated hildon_window_get_type
5759 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5760 documentation comment.
5762 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5764 * doc/Makefile.am: Complete list of private headers.
5766 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5768 * doc/hildon-docs.sgml
5769 * src/hildon-app-menu.c
5770 * src/hildon-bread-crumb.c
5771 * src/hildon-button.c
5773 * src/hildon-program.c
5774 * src/hildon-stackable-window.c
5775 * src/hildon-window.c: Lots of documentation updates.
5777 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5779 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5781 * configure.ac: Require Gtk+ 2.12.9 at least
5783 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5785 * src/hildon-pannable-area.c
5786 (hildon_pannable_area_scroll_indicator_fade),
5787 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5788 to protect the return of this timeout callbacks, avoiding deadlocks.
5790 2008-08-12 Christian Dywan <christian@imendio.com>
5793 * src/hildon-*.h: Ensure a consistent include order,
5794 include <gtk/gtk.h> instead of particular files and
5795 only include the topmost header in the gtk stack. See NB #39857
5797 2008-08-12 Christian Dywan <christian@imendio.com>
5799 * src/hildon-picker-dialog.c
5800 * src/hildon-touch-selector.c: Fix warnings about unused and
5801 uninitialized variables.
5803 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5805 * examples/Makefile.am
5806 * examples/hildon-check-button-example.c: Example of the hildon
5809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-window.h
5812 * src/hildon-window.c (hildon_window_class_init)
5813 (hildon_window_unset_program): Don't make
5814 hildon_window_unset_program a virtual function anymore.
5816 * src/hildon-stackable-window.c: Update documentation
5818 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5821 * doc/hildon-docs.sgml
5822 * doc/visual_index.xml
5823 * src/hildon-defines.c
5825 * src/hildon-helper.c
5826 * src/hildon-range-editor.c: Lots of documentation fixes.
5828 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5830 * examples/hildon-picker-button-multicolumn-example.c
5831 (create_touch_selector): Fix compilation warning.
5833 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5835 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5836 (hildon_pannable_area_button_release_cb)
5837 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5839 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5841 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5844 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-bread-crumb-trail.h
5847 * src/hildon-date-editor.c
5848 * src/hildon-date-selector.c
5849 * src/hildon-pannable-area.c
5850 * src/hildon-picker-dialog.c
5851 * src/hildon-time-selector.c
5852 * src/hildon-touch-selector-entry.c
5853 * src/hildon-touch-selector.c
5854 * src/hildon-touch-selector.h: Misc documentation fixes
5856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5858 * examples/hildon-date-editor-example.c (main): Updated date
5861 * examples/hildon-note-example.c (on_confirmation_clicked):
5862 Updated confirmation note example.
5864 * src/hildon-date-editor.c
5865 * src/hildon-note.c: Updated sample programs in documentation.
5868 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5870 * src/hildon-date-button.h:
5871 * src/hildon-picker-button.h:
5872 * src/hildon-time-button.c:
5873 * src/hildon-time-button.h:
5875 Some declarations changes to allow gtk-doc to document the widgets
5878 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/hildon-date-button.c: Document the widget.
5881 * src/hildon-time-button.c: Document the widget.
5883 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-picker-button.c: Document the widget.
5886 * src/hildon-touch-selector-entry.c: Document the widget.
5888 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5890 * doc/hildon-docs.sgml
5893 * src/hildon-check-button.h
5894 * src/hildon-check-button.c: New functions to create the Hildon
5898 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5900 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-button.h
5903 * src/hildon-button.c
5904 (hildon_button_add_title_size_group)
5905 (hildon_button_add_value_size_group)
5906 (hildon_button_add_image_size_group)
5907 (hildon_button_add_size_groups): New functions to set size groups
5908 for the button labels and image.
5909 (hildon_button_new_full): Removed
5911 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5913 * src/hildon-time-selector.c
5914 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5915 in order to avoid a crash if gconf is not available
5917 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-button.c (hildon_button_set_arrangement)
5920 (hildon_button_construct_child): Don't construct the button child
5921 before setting the arrangement.
5923 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-program-private.h
5926 * src/hildon-program.c
5927 * src/hildon-program.h
5928 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5929 (hildon_program_peek_window_stack)
5930 (hildon_program_pop_window_stack)
5931 (hildon_program_go_to_root_window): HildonProgram now has a
5932 separate list for stackable windows. Functions are provided to
5933 manage that list with a stack-like API.
5935 * src/hildon-stackable-window.c: Stackable window management is
5936 now much simpler with the new HildonProgram API. Windows no
5937 longer need to be manually added to the program, they're
5938 automatically pushed to the top of the stack when shown.
5940 * examples/hildon-stackable-window-example.c: Updated example to
5941 reflect the API changes.
5943 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5945 * src/hildon-touch-selector.c: Comment out unimplemented
5946 hildon_touch_selector_insert_column() to avoid a compile warning.
5948 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5950 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5951 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5952 (hildon_touch_selector_set_column_selection_mode),
5953 (_hildon_touch_selector_set_model),
5954 (hildon_touch_selector_set_model):
5956 Complete review of HildonTouchSelector documentation.
5958 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5960 * doc/hildon-docs.sgml
5964 * src/hildon-gtk.c: Convenience functions for standard Gtk
5965 widgets, used to easily perform frequent operations.
5967 * src/hildon-button-helpers.h
5968 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5970 * src/hildon-helper.h
5971 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5972 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5974 * src/hildon-button.h
5975 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5977 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5979 * src/hildon-button.c (hildon_button_init)
5980 (hildon_button_set_arrangement, hildon_button_construct_child):
5981 Pack the image and the labels inside the same GtkAlignment so
5982 gtk_button_set_alignment() can be used
5984 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-button.h
5987 * src/hildon-button.c
5988 (hildon_button_init, hildon_button_set_image)
5989 (hildon_button_set_image_position)
5990 (hildon_button_construct_child): New functions to add an image to
5993 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5995 * src/hildon-date-button.c
5996 * src/hildon-picker-button.c
5997 * src/hildon-time-button.c
5998 * src/hildon-button.c:
5999 (hildon_button_class_init): "size-flags" renamed to "size"
6000 (hildon_button_set_title): Hide the title label if set to NULL.
6002 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6004 HildonButtonFlags split into HildonButtonArrangement (to set the
6005 button layout) and HildonSizeType (which can be used for any
6008 * src/hildon-button.h
6009 * src/hildon-button.c
6010 (hildon_button_class_init)
6011 (hildon_button_set_arrangement)
6012 (hildon_button_set_property): New "size-flags"
6013 property. "arrangement-flags" renamed to "arrangement".
6014 (hildon_button_new, hildon_button_new_with_text)
6015 (hildon_button_new_full): Constructors updated to reflect type changes.
6017 * src/hildon-helper.h
6018 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6019 to set the size of a widget.
6023 * src/hildon-button-helpers.c
6024 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6026 * src/hildon-date-button.c
6027 * src/hildon-date-button.h
6028 * src/hildon-picker-button.c
6029 * src/hildon-picker-button.h
6030 * src/hildon-time-button.c
6031 * src/hildon-time-button.h: Updated widgets to reflect
6032 HildonButton API changes.
6034 * examples/hildon-button-example.c
6035 * examples/hildon-date-button-example.c
6036 * examples/hildon-picker-button-example.c
6037 * examples/hildon-picker-button-multicolumn-example.c
6038 * examples/hildon-time-button-example.c
6039 * examples/hildon-touch-selector-entry-example.c
6040 * examples/hildon-touch-selector-example.c: Updated examples to
6041 reflect HildonButton API changes.
6043 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6045 * doc/hildon-docs.sgml:
6047 * examples/Makefile.am:
6048 * examples/hildon-touch-selector-entry-example.c:
6050 * src/hildon-touch-selector-entry.c:
6051 * src/hildon-touch-selector-entry.h:
6054 Moved HildonTouchSelectorEntry from sandbox. Added its
6055 documentation and examples.
6057 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6059 * src/hildon-touch-selector.h:
6060 * examples/hildon-picker-button-multicolumn-example.c:
6061 (hildon_touch_selector_append_text_column): Add a gboolean
6062 parameter to determine if text must be centered in the column.
6064 * src/hildon-date-selector.c: (hildon_date_selector_init):
6065 * src/hildon-time-selector.c: (hildon_time_selector_init):
6066 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6067 (create_touch_selector): Update widgets and example to reflect
6070 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-touch-selector.c:
6073 (hildon_touch_selector_set_active_iter): Set also the cursor in
6076 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6078 * doc/hildon-docs.sgml
6081 * src/hildon-toggle-button.c
6082 * src/hildon-toggle-button.h
6083 * src/hildon.h: Removed HildonToggleButton widget, a derived
6084 class is not necessary for this.
6086 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6088 * src/hildon-pannable-area.c,
6089 (hildon_pannable_area_realize),
6090 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6093 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6095 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6096 "done" button the default widget for the dialog.
6098 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-touch-selector.c:
6101 (hildon_touch_selector_class_init),
6102 (hildon_touch_selector_get_property),
6103 (_hildon_touch_selector_set_model),
6104 (_hildon_touch_selector_has_multiple_selection),
6105 (hildon_touch_selector_has_multiple_selection):
6106 Add a "has-multiple-selection" property with a virtual
6107 has_multiple_selection() method to allow derived classes to
6108 override the default value for it. See the method and property
6109 documentation for details.
6111 * src/hildon-touch-selector.h: Add the new API.
6113 * src/hildon-picker-dialog.c: (requires_done_button): Call
6114 hildon_touch_selector_has_multiple_selection() instead of
6115 determining the need for a button itself.
6117 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6119 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6120 (_hildon_touch_selector_set_model),
6121 (hildon_touch_selector_set_model): Move working code to
6122 _hildon_touch_selector_set_mode(). Call the class method instead.
6124 * src/hildon-touch-selector.h: Add (*set_model) to
6125 HildonTouchSelectorClass.
6127 Make hildon_touch_selector_set_model() a virtual method, so that
6128 derived classes can extend it and do fancy stuff with the model.
6130 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6132 * configure.ac: Set back the tarname in AC_INIT to hildon.
6134 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6138 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6139 instead of libesd (NB#86876). Volume handling is still an open issue.
6141 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6144 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6146 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6147 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6148 derived class to ease placement of an entry widget in
6149 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6150 end, where the selector columns are packed now.
6152 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/hildon-picker-button.c: Removed the simple _text() API.
6155 * src/hildon-picker-button.h: Likewise.
6157 * src/hildon-touch-selector.h:
6158 * src/hildon-touch-selector.c:
6159 (hildon_touch_selector_new_text),
6160 (hildon_touch_selector_append_text),
6161 (hildon_touch_selector_prepend_text),
6162 (hildon_touch_selector_insert_text):
6164 Moved the simple _text() API from HildonPickerButton to
6165 HildonTouchPicker, to provide better escalability and not to tie
6166 that API to HildonPickerButton.
6168 * examples/hildon-picker-button-example.c: (main): Example updated.
6170 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-button.c: Updated documentation.
6174 * examples/hildon-button-example.c: Add the posibility to create
6175 the buttons using horizontal layout for title and value.
6177 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6179 * src/hildon-app-menu-private.h
6180 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6181 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6182 GtkSizeGroup for the filters, use the 'homogeneous' property of
6185 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6187 * examples/hildon-button-example.c: Updated example.
6189 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6191 * doc/hildon-docs.sgml:
6194 Update documentation.
6196 * examples/Makefile.am: Update renamed examples.
6198 * examples/hildon-picker-button-multicolumn-example.c:
6199 (create_touch_selector), (main): Update after the rename.
6201 * examples/hildon-touch-picker-example.c: Removed.
6202 * examples/hildon-touch-selector-example.c: (value_changed),
6203 (create_selector), (get_visible_content), (main): Renamed from
6204 hildon-touch-picker-example.c
6206 * src/Makefile.am: Updated renamed files.
6208 * src/hildon-date-button.c: (hildon_date_button_init),
6209 (hildon_date_button_get_date), (hildon_date_button_set_date):
6210 * src/hildon-date-selector.c: (hildon_date_selector_init),
6211 (_custom_print_func), (_update_day_model),
6212 (_manage_selector_change_cb),
6213 (hildon_date_selector_select_current_date),
6214 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6215 * src/hildon-date-selector.h:
6216 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6217 (hildon_picker_button_set_property),
6218 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6219 (hildon_picker_button_init), (hildon_picker_button_new_text),
6220 (hildon_picker_button_append_text),
6221 (hildon_picker_button_prepend_text),
6222 (hildon_picker_button_insert_text),
6223 (hildon_picker_button_set_selector),
6224 (hildon_picker_button_get_selector):
6225 * src/hildon-picker-button.h:
6226 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6227 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6228 (_update_title_on_selector_changed_cb), (requires_done_button),
6229 (_hildon_picker_dialog_set_selector),
6230 (hildon_picker_dialog_set_selector),
6231 (hildon_picker_dialog_get_selector):
6232 * src/hildon-picker-dialog.h:
6233 * src/hildon-time-button.c: (hildon_time_button_init),
6234 (hildon_time_button_get_time), (hildon_time_button_set_time):
6235 * src/hildon-time-selector.c: (hildon_time_selector_init),
6236 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6237 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6238 * src/hildon-time-selector.h:
6241 Massive code updates after the rename.
6243 * src/hildon-touch-picker.c: Removed.
6244 * src/hildon-touch-picker.h: Removed.
6246 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6247 (hildon_touch_selector_init), (hildon_touch_selector_map),
6248 (hildon_touch_selector_remove), (_default_print_func),
6249 (_selection_changed_cb), (_create_new_column),
6250 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6251 (hildon_touch_selector_append_text_column),
6252 (hildon_touch_selector_remove_column),
6253 (hildon_touch_selector_set_column_attributes),
6254 (hildon_touch_selector_insert_column),
6255 (hildon_touch_selector_get_num_columns),
6256 (hildon_touch_selector_get_column_selection_mode),
6257 (hildon_touch_selector_set_column_selection_mode),
6258 (hildon_touch_selector_set_print_func),
6259 (hildon_touch_selector_get_print_func),
6260 (hildon_touch_selector_get_active_iter),
6261 (hildon_touch_selector_set_active_iter),
6262 (hildon_touch_selector_get_selected_rows),
6263 (hildon_touch_selector_get_model),
6264 (hildon_touch_selector_set_model),
6265 (hildon_touch_selector_get_current_text),
6266 (_hildon_touch_selector_center_on_selected_items):
6267 * src/hildon-touch-selector.h: Renamed from
6268 hildon-touch-picker.[ch]
6270 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6271 references, code examples, and related documentation.
6273 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6275 * doc/hildon-docs.sgml
6278 * src/hildon-toggle-button.c
6279 * src/hildon-toggle-button.h
6280 * src/hildon.h: New HildonToggleButton widget.
6282 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-button.c: Add API documentation.
6285 (hildon_button_set_size_groups): Check input parameters
6287 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6289 * src/hildon-pannable-area.c
6290 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6291 effect after reaching the movement thredshold. This way we start
6292 using the distance after passing the thredshold.
6294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-button.c: (hildon_button_set_property): Use the
6297 appropriate g_value_get_flags() method.
6299 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6301 * doc/hildon-docs.sgml:
6304 Add the touch pickers, picker dialogs, and picker button widgets
6305 to the documentation.
6307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/hildon-button.c: (hildon_button_set_property),
6310 (hildon_button_class_init): Make "arrangement-flags" a proper
6311 G_TYPE_FLAGS derived property.
6313 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6315 * examples/Makefile.am: Add below examples.
6316 * examples/hildon-date-button-example.c:
6317 * examples/hildon-picker-button-example.c:
6318 * examples/hildon-picker-button-multicolumn-example.c:
6319 * examples/hildon-time-button-example.c:
6320 * examples/hildon-touch-picker-example.c:
6322 Add examples for the recently added touch pickers,
6323 picker dialogs, and picker button widgets.
6325 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-button.c: Add some API documentation
6329 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-button.h
6332 * src/hildon-button.c
6334 (hildon_button_new_with_text): New constructor to create a button
6335 with no text at all.
6336 (hildon_button_init, hildon_button_set_arrangement)
6337 (hildon_button_set_title, hildon_button_set_value)
6338 (hildon_button_set_text)
6339 (hildon_button_construct_child): Hide the value when it's not used
6340 so the rest of the text is properly aligned.
6341 Allow creating buttons with arbitrary widgets inside (not just
6342 title/value labels).
6344 * examples/hildon-button-example.c (vertical_buttons_window)
6345 (horizontal_buttons_window): Update example to use new API.
6347 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6349 * src/Makefile.am: Added HildonTimeButton.
6350 * src/hildon-time-button.c: Added missing LGPL header.
6351 * src/hildon-time-button.h: Added missing LGPL header.
6352 * src/hildon.h: Add hildon-time-button.h
6354 Copied HildonTimeButton from sandbox to trunk. Future work on this
6355 widget must take place in trunk.
6357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6359 * src/Makefile.am: Added HildonDateButton.
6360 * src/hildon-date-button.c: Update includes.
6361 * src/hildon.h: Add hildon-date-button.h
6363 Copied HildonDateButton from sandbox to trunk. Future work on this
6364 widget must take place in trunk.
6366 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6368 * src/Makefile.am: Added HildonPickerButton.
6369 * src/hildon-picker-button.h: Update includes.
6370 * src/hildon.h: Add hildon-picker-button.h
6372 Copied HildonPickerButton from sandbox to trunk. Future work on
6373 this widget must take place in trunk.
6375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6377 * src/Makefile.am: Added HildonPickerDialog.
6378 * src/hildon-picker-dialog.c: Update includes.
6379 * src/hildon.h: Add hildon-picker-dialog.h
6381 Copied HildonPickerDialog from sandbox to trunk. Future work
6382 on this widget must take place in trunk.
6384 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/Makefile.am: Added HildonTimeSelector.
6387 * src/hildon.h: Add hildon-time-selector.h
6389 Copied HildonTimeSelector widget from sandbox to trunk. Future
6390 work on this widget must happen in trunk.
6392 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/Makefile.am: Added HildonDateSelector.
6395 * src/hildon.h: Add hildon-date-selector.h
6397 Copied HildonDateSelector widget from sandbox to trunk. Future
6398 work on this widget must happen in trunk.
6400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6402 * src/Makefile.am: Added HildonTouchPicker.
6403 * src/hildon-touch-picker.c: Update includes.
6404 * src/hildon.h: Add hildon-touch-picker.h
6406 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6407 on this widget must happen in trunk.
6409 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6411 * src/hildon-pannable-area.c:
6412 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6414 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6416 * examples/hildon-app-menu-example.c (main): Let the window
6419 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6421 * src/hildon-pannable-area.c
6422 (hildon_pannable_area_class_init): Set the min value of the
6423 overshoot properties to zero, which points out that not
6424 overshooting allowed.
6426 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6428 Modified the procedure to get the widget at a point inside the
6429 pannable area when using the movement type signals. Now the user
6430 has to call a function to get the child, that way we just
6431 calculate the child in case the user really want to use it and not
6434 * src/hildon-marshalers.list: Modified the marshallers, now we do
6435 not have the widget as a parameter.
6437 * src/hildon-pannable-area.c
6438 (hildon_pannable_area_motion_notify_cb),
6439 (hildon_pannable_area_class_init),
6440 (hildon_pannable_get_child_widget_at): Removed the widget
6441 parameter from the signal callback. We have also refactored the
6442 emission of the signals.
6444 * src/hildon-pannable-area.h: Added a new method to the API to
6445 calculate a widget at a point inside the pannable area,
6446 hildon_pannable_get_child_widget_at.
6448 * examples/hildon-pannable-area-example-4.c
6449 (horizontal_movement): Modified the example to use the new API,
6450 added condition to control which widget is under the event. This
6451 way we can avoid scrolling laterally over other widgets.
6453 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6455 * src/hildon-pannable-area.c
6456 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6457 modes, we stop getting the pointer events due to returning the
6458 callback without properly calling the get pointer again. Fixed
6459 also an error using the hscroll and vscroll.
6461 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6463 * src/hildon-app-menu-private.h
6464 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6465 (hildon_app_menu_button_release, hildon_app_menu_init)
6466 (hildon_app_menu_class_init): Don't hide the menu on button
6467 release if the user didn't press outside first.
6469 * src/hildon-window.h
6470 * src/hildon-window.c (hildon_window_toggle_menu)
6471 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6472 hildon_window_toggle_menu a virtual function for the stackable
6473 window to override it.
6475 * src/hildon-stackable-window.h
6476 * src/hildon-stackable-window-private.h
6477 * src/hildon-stackable-window.c
6478 (hildon_stackable_window_realize)
6479 (hildon_stackable_window_finalize)
6480 (hildon_stackable_window_class_init)
6481 (hildon_stackable_window_init)
6482 (hildon_stackable_window_set_main_menu): New function to set the
6483 app menu of a HildonStackableWindow.
6485 * examples/hildon-app-menu-example.c: Remove the button to show
6486 the app menu, now it'll be shown when clicking on the title bar
6489 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6491 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6492 set the widget name if the arrangement flags do not specify
6495 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6497 * src/hildon-button.c: (hildon_button_set_property),
6498 (hildon_button_class_init), (hildon_button_new_full),
6499 (hildon_button_set_arrangement): Added "arrangement-flags"
6502 Make the HildonButtonFlags a construction-only property, to allow
6503 subclasses to set them properly.
6505 2008-07-21 Tim Janik <timj@imendio.com>
6507 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6508 insertion position after backspace, so additional digits are appended,
6511 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6513 * src/hildon-pannable-area.c,
6514 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6515 TODO list, it was complete and removed the g_debug and g_print
6518 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6520 Added the movement modes to the hildon-pannable-area, with this
6521 modes the developers can control in which directions the widget
6522 can scroll. They can also connect to signals in order to do
6523 something when that happens, allowing applications scroll. There
6524 is an example uploaded showing how to use it.
6526 * examples/Makefile.am:
6527 * examples/hildon-pannable-area-example-4.c: Added this example of
6528 an application using the modes.
6530 * src/hildon-marshalers.list: Added a new marshaller for the new
6533 * src/hildon-pannable-area.h: Added new enumerations and flags in
6534 order to control the movement modes and the new signals to warn
6535 about the movements in the area.
6537 * src/hildon-pannable-area.c:
6538 (hildon_pannable_axis_scroll),
6539 (hildon_pannable_area_scroll),
6540 (hildon_pannable_area_motion_notify_cb),
6541 (hildon_pannable_area_get_property),
6542 (hildon_pannable_area_set_property),
6543 (hildon_pannable_area_map),
6544 (hildon_pannable_area_class_init),
6545 (hildon_pannable_area_init),
6546 (hildon_pannable_area_jump_to): Added the modes to control the
6547 movement in the widget. We have added properties to control it,
6548 signals to warn about the movements and refactored some code.
6550 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6552 Changes required in order to allow vfast_factor set to zero to
6555 * src/hildon-pannable-area.c:
6556 (hildon_pannable_area_button_press_cb): Changed the condition, it
6557 is required for not allowing click when vfast_factor is zero.
6558 (hildon_pannable_area_timeout): Initialized velocity variables
6559 when we stop moving, it was less than 1 but not zero and we need
6560 to check zero in some situations.
6561 (hildon_pannable_area_class_init): Changed the default value of
6562 the speed factor, now the button_press is just sent in case the
6563 speed is 2 per cent of the max speed.
6564 (hildon_pannable_area_init): Initialization with 0.
6566 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6568 * src/hildon-pannable-area.c,
6569 (hildon_pannable_area_get_topmost): replaced
6570 gdk_window_get_children with gdk_window_peek_children, this way we
6571 do not have to free the list because it is not a copy.
6573 (hildon_pannable_axis_scroll),
6574 (hildon_pannable_area_scroll),
6575 (hildon_pannable_area_timeout),
6576 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6577 two parameters that were only used inside the
6578 hildon_pannable_area_scroll function.
6580 * examples/hildon-pannable-area-example.c,
6581 (get_sawtooth_label): Fixed small memory leak.
6583 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6585 More checks for the case where the overshoot is bigger than the
6588 * src/hildon-pannable-area.c:
6589 (hildon_pannable_draw_vscroll),
6590 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6591 to draw the slider of the scrollbar under the other scrollbar.
6592 (hildon_pannable_area_expose_event): added new checks to control
6593 the drawing of the overshooting area rectangle, in case it is too
6594 big for the area of the widget.
6595 (hildon_pannable_area_size_allocate): add more checks to avoid
6596 setting a position to the child widget outside the area.
6598 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6600 * src/hildon-pannable-area.c
6601 (hildon_pannable_area_size_allocate): Added conditions to control
6602 when overshooting is bigger than the allocated space for the
6603 children, this avoids negative allocations.
6605 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6607 * doc/hildon-docs.sgml
6609 * examples/Makefile.am
6610 * examples/hildon-button-example.c
6612 * src/hildon-button.c
6613 * src/hildon-button.h
6614 * src/hildon.h: Initial version of the new HildonButton widget,
6617 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6619 * src/hildon-pannable-area.c:
6620 (hildon_pannable_area_button_press_cb),
6621 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6622 (hildon_pannable_area_motion_notify_cb),
6623 (hildon_pannable_area_button_release_cb),
6624 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6625 (hildon_pannable_area_jump_to_child):
6627 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6629 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6631 * examples/Makefile.am
6632 * examples/hildon-pannable-area-touch-grid-example.c
6633 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6634 the Hildon Touch List and Hildon Touch Grid using the
6635 HildonPannableArea widget.
6637 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6639 * src/hildon-pannable-area.c,
6640 (hildon_pannable_area_button_press_cb),
6641 (hildon_pannable_area_refresh),
6642 (hildon_pannable_area_scroll),
6643 (hildon_pannable_area_motion_notify_cb),
6644 (hildon_pannable_area_button_release_cb),
6645 (hildon_pannable_area_expose_event),
6646 (hildon_pannable_area_add),
6647 (hildon_pannable_area_remove),
6648 (hildon_pannable_area_realize),
6649 (hildon_pannable_area_size_allocate),
6650 (hildon_pannable_area_class_init),
6651 (hildon_pannable_area_init),
6652 (hildon_pannable_area_scroll_to_child),
6653 (hildon_pannable_area_jump_to_child): Fixed the problem of
6654 removing the child from the GtkBin, we have rearranged the widget
6655 hierarchy, now there is no GtkAlignment which was not doing
6656 anything interesting but breaking some of the assumptions of
6657 GtkContainer. Now developers if they want to add a GtkAlignment
6658 they could, but it is not inside the area.
6660 We had to review the whole allocation/expose process, now it is
6661 improved and we save at least three signals which would be saving
6662 some time when rendering the widget. The allocation of the
6663 scrollbars is now made in the allocate method as usual.
6665 We have also added some conditions in order to control when there
6666 is no child of the pannable area. Maybe we will need more work
6669 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6671 * src/hildon-pannable-area.c,
6672 (hildon_pannable_area_dispose): Released the fade-out timeout when
6673 disposing the widget.
6675 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6677 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6678 zero, we are going to use that property in order to deactivate the
6680 (hildon_pannable_axis_scroll),
6681 (hildon_pannable_area_size_allocate): Added conditions to control
6682 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6683 call, now it is called in all situations and we can remove calls
6684 in the allocate method.
6685 (hildon_pannable_area_map): Control the situation when
6686 overshoot_max is zero, we do not need the timeout.
6687 (hildon_pannable_area_class_init): Added documentation in order to
6688 point out that setting zero to overshoot_max means deactivate
6691 NOTE: removed trailing whitespaces from my previous comments of
6694 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6696 * src/hildon-pannable-area.c
6697 (hildon_pannable_area_get_property),
6698 (hildon_pannable_area_set_property),
6699 (hildon_pannable_area_map),
6700 (hildon_pannable_area_class_init),
6701 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6702 to cause the widget give a hint about its panning abilities upon
6705 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6707 * src/hildon-pannable-area.c: Several documentation improvements.
6709 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-program.c
6712 * src/hildon-stackable-window.c: Update documentation.
6714 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6716 * src/hildon-stackable-window.c (get_previous_window_if_last):
6717 Renamed get_last_window()
6718 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6719 (hildon_stackable_window_unset_program):
6721 (get_previous_window_if_last):
6722 Detect if the window hasn't been added to a HildonProgram.
6724 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6726 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6728 * src/hildon-pannable-area.c
6729 (hildon_pannable_area_button_press_cb),
6730 (hildon_pannable_axis_scroll),
6731 (hildon_pannable_area_scroll),
6732 (hildon_pannable_area_timeout),
6733 (hildon_pannable_calculate_vel_factor),
6734 (hildon_pannable_area_get_property),
6735 (hildon_pannable_area_set_property),
6736 (hildon_pannable_area_class_init),
6737 (hildon_pannable_area_init),
6738 (hildon_pannable_area_scroll_to),
6739 (hildon_pannable_area_jump_to),
6740 (hildon_pannable_area_scroll_to_child),
6741 (hildon_pannable_area_jump_to_child):
6742 * src/hildon-pannable-area.h: Added the new API functions:
6743 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6744 hildon_pannable_area_scroll_to_child,
6745 hildon_pannable_area_jump_to_child
6748 * examples/Makefile.am
6749 * examples/hildon-pannable-area-example-2.c
6750 * examples/hildon-pannable-area-example-3.c: Added these two new
6751 examples in order to test and show how the new APIs work.
6753 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6755 * examples/hildon-stackable-window-example.c (new_window):
6756 * src/Makefile.am (noinst_HEADERS):
6757 * src/hildon-program.c (hildon_program_go_to_root_window):
6758 * src/hildon-program.h:
6759 * src/hildon-stackable-window-private.h:
6760 * src/hildon-stackable-window.c:
6761 * src/hildon-stackable-window.h:
6762 Create hildon-stackable-window-private.h
6763 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6765 * examples/hildon-app-menu-example.c (create_menu):
6766 * examples/hildon-hvolumebar-insensitive-example.c (main):
6767 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6768 * examples/hildon-toolbar-seekbar-example.c (main):
6769 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6770 * src/hildon-banner.c (hildon_banner_set_property):
6771 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6772 Fix compilation warnings
6774 * src/hildon-window.c:
6777 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6779 * src/hildon-stackable-window.c
6780 (hildon_stackable_window_unset_program):
6781 Calculate correctly whether to show the previous window if the
6782 last one is removed from the stack.
6783 (hildon_stackable_window_go_to_root_window):
6784 Send delete events starting from the topmost window.
6785 Stop if one of the windows is not destroyed.
6787 (hildon_stackable_window_delete_event)
6788 (hildon_stackable_window_class_init):
6789 Ignore the delete event if the window is not the topmost one.
6791 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6793 * src/hildon-pannable-area.c
6794 (hildon_pannable_area_expose_event): Fixed a problem when
6795 selecting the background color of the scrollbars.
6797 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6799 * examples/hildon-stackable-window-example.c
6800 * src/hildon-stackable-window.c
6801 * src/hildon-stackable-window.h
6802 hildon_stackable_window_go_home() renamed to
6803 hildon_stackable_window_go_to_root_window()
6804 Send delete events to windows rather than closing them with
6805 gtk_widget_destroy()
6807 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6809 * src/hildon-pannable-area.c
6810 (hildon_pannable_area_button_release_cb): Fix overshooting in
6813 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6815 * src/hildon-pannable-area.c
6816 (hildon_pannable_area_init): Initially show the scroll indicators.
6817 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6819 Add initial effect showing the widget is pannable.
6821 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6823 * src/hildon-pannable-area.c
6824 (hildon_pannable_area_class_init)
6825 (hildon_pannable_area_set_property)
6826 (hildon_pannable_area_get_property)
6827 (hildon_pannable_area_button_press_cb):
6828 New 'velocity_fast_factor' property to decide which velocity is
6831 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6833 * src/hildon-pannable-area.c
6834 (hildon_pannable_draw_hscroll)
6835 (hildon_pannable_draw_vscroll):
6836 Use float variables to calculate the size of the scrollbars to
6837 avoid error propagation and resizing during scrolling.
6839 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6841 * src/hildon-pannable-area.c
6842 (hildon_pannable_draw_vscroll)
6843 (hildon_pannable_draw_hscroll):
6844 Define a minimum size for the scroll bars
6846 * src/hildon-stackable-window.c
6847 (hildon_stackable_window_go_home): Fix compilation warning
6848 (get_last_window): Minor optimizations
6849 (hildon_stackable_window_class_init): Fix initialization of
6852 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6854 * src/hildon-stackable-window.c: Fixed typos in doc
6856 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6858 * src/hildon-pannable-area.c
6859 (hildon_pannable_area_scroll):
6860 Calculate here whether we need to scroll instead of using the booleans
6861 that tell us whether to /draw/ the scrolling bars.
6863 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6865 * src/hildon-app-menu.h
6867 * src/hildon-app-menu.c
6868 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6869 multiple filter groups related code and API. Now we support only
6871 * examples/hildon-app-menu-example.c:
6873 Update to reflect API changes.
6875 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6877 * src/hildon-stackable-window.c
6878 (hildon_stackable_window_class_init):
6879 Add hildon_stackable_window_realize.
6880 (hildon_stackable_window_realize):
6881 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6882 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6883 to apply theming and behavior specific to HildonStackableWindow
6886 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6888 * src/hildon-note.c (hildon_note_button_release):
6889 Close information notes also when tapping on them
6891 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6893 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6894 ELASTICITY, refactor and review, fix some issues with drawing
6897 * src/hildon-pannable-area.c:
6898 (hildon_pannable_area_button_press_cb): removed the conditions to
6899 avoid clicks when overshooting. It is not required
6901 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6902 define. Refatored and reviewed the code, now we do not need to
6903 manage velocity in motion_notify.
6905 (hildon_pannable_area_motion_notify_cb): We have moved the code
6906 that controls the area_scroll to the axis_scroll function and get
6907 rid of duplicated code.
6909 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6911 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6913 (hildon_pannable_draw_vscroll),
6914 (hildon_pannable_draw_hscroll): Fixed the problems with the
6915 scrollbar drawing, now we do not use two surfaces, it is easier
6916 and saves resources.
6918 (hildon_pannable_area_get_property): Style modification.
6920 (hildon_pannable_area_class_init): Changed some default values.
6922 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6924 * src/hildon-stackable-window.c: Fix some typos in the
6927 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6929 * src/hildon-dialog.c:
6930 Change indentation style
6933 (hildon_note_button_release):
6934 Use root coordinates to check if the release event happened
6937 * src/hildon-app-menu.c
6938 (hildon_app_menu_button_release):
6939 Remove unnecessary check
6941 * examples/hildon-app-menu-example.c
6943 Add cast to fix warning
6945 * src/hildon-app-menu.c
6946 (hildon_app_menu_class_init):
6947 New inner-border style property.
6948 Set all default spacings to 16
6949 (hildon_app_menu_init):
6950 Use vertical-spacing to set the space between filter buttons and
6951 regular menu buttons.
6952 Set the default container border using the inner-border value.
6954 * examples/hildon-app-menu-example.c
6956 Don't set the menu border explicitly, now we have the inner-border
6957 style property for that.
6959 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-app-menu.c (hildon_app_menu_init):
6962 Make the window modal
6964 * src/hildon-note.c (hildon_note_map)
6965 * src/hildon-app-menu.c (hildon_app_menu_map):
6966 Destroy the grab window if we're unable to grab the pointer
6968 * src/hildon-app-menu-private.h
6969 * src/hildon-app-menu.c
6970 (hildon_app_menu_init, hildon_app_menu_finalize)
6971 (hildon_app_menu_map, hildon_app_menu_unmap)
6972 (hildon_app_menu_button_release)
6973 (grab_transfer_window_get):
6974 Bring back the grab window
6975 (hildon_app_menu_realize):
6976 Decorate the window, set WM hint for Matchbox
6978 * src/hildon-note.c (hildon_note_realize):
6979 * src/hildon-banner.c (hildon_banner_realize):
6980 Add WM hints for Matchbox
6982 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6984 * src/hildon-app-menu-private.h
6985 * src/hildon-app-menu.c
6986 (hildon_app_menu_init, hildon_app_menu_finalize)
6987 (hildon_app_menu_map, hildon_app_menu_unmap)
6988 (hildon_app_menu_button_release):
6989 Remove the grab window, it's not needed anymore
6991 * src/hildon-program.c
6992 Fixed typo in documentation
6994 * src/hildon-app-menu.h
6995 * src/hildon-app-menu.c
6996 * examples/hildon-app-menu-example.c
6997 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6999 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7002 Added new transfer_window and close_if_pressed_outside private
7004 (hildon_note_rebuild):
7005 Don't add a cancel button to the information note. It will be
7006 closed when tapping outside
7007 Remove the comment about the OK button in the documentation
7008 (hildon_note_realize):
7009 Set the notification type hint
7010 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7011 Grab/ungrab pointer and keyboard if the note has to be closed when
7013 (hildon_note_button_release):
7014 Close the note when tapping outside (if applicable)
7016 * src/hildon-app-menu.c
7017 Grab/ungrab pointer and keyboard on map/unmap
7018 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7019 Close the menu on button release, not button press
7021 * src/hildon-banner.c
7022 (hildon_banner_set_property)
7023 (hildon_banner_check_position):
7024 Make the banner use the full width of the screen
7025 (hildon_banner_show_information)
7026 (hildon_banner_show_information_with_markup):
7027 Don't display an icon by default
7029 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7031 Added fading scrollbars and adapted all the overshooting code to
7032 horizontal scrolling. We have also fixed bugs with overshooting
7033 and current fading implementation.
7035 * src/hildon-pannable-area.c
7036 (hildon_pannable_area_scroll_indicator_fade): Time out function
7037 used to change the transparency of the scrollbars.
7039 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7040 control and fixed a problem with fading, we now remove the fade
7041 timeout before adding a new one.
7043 (hildon_pannable_axis_scroll):
7044 (hildon_pannable_area_scroll):
7045 (hildon_pannable_area_timeout): Added this functions so we can use
7046 the scroll code both for vertical and horizontal.
7048 (hildon_pannable_area_motion_notify_cb):
7049 (hildon_pannable_area_button_release_cb): Added the horizontal
7050 scrolling control, fixed a problem with the overshooting timeout.
7052 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7053 painting of the scrolls.
7055 (hildon_pannable_draw_vscroll):
7056 (hildon_pannable_draw_hscroll):
7057 (hildon_pannable_area_expose_event):
7058 Draw both scrollbars and rectangles in the overshooting area.
7060 (hildon_pannable_area_get_property):
7061 (hildon_pannable_area_set_property):
7062 Modified the overshoot property to overshoot_max
7064 (hildon_pannable_area_map):
7065 Replaced the comments symbols.
7067 (hildon_pannable_area_size_allocate):
7068 (hildon_pannable_area_class_init):
7069 (hildon_pannable_area_init): Added horizontal scroll, fading
7070 effect properties, fixed a problem when overshooting in the bottom
7073 * examples/hildon-pannable-area-example.c:
7074 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7075 looks better in the example.
7077 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7079 * src/hildon-window.c
7080 * src/hildon-window.h
7081 (hildon_window_class_init)
7082 (hildon_window_unset_program)
7083 (hildon_window_unset_program_real):
7084 Make unset_program a virtual function
7086 * src/hildon-stackable-window.c
7087 * src/hildon-stackable-window.h
7088 Added hildon_stackable_window_go_home()
7090 * examples/Makefile.am
7091 * examples/hildon-stackable-window-example.c
7092 HildonStackableWindow example
7094 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7096 * hildon-pannable-area.c: Added the overshoot property and removed
7097 the OVERSHOOT define. Fixed an indent style error.
7098 (hildon_pannable_area_motion_notify_cb):
7099 (hildon_pannable_area_get_property):
7100 (hildon_pannable_area_set_property): Add overshoot property.
7102 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7105 (hildon_pannable_area_class_init): Installed the new property.
7107 * hildon-pannable-area-example.c: Added a sawtooth function, this
7108 way it is easier to check the movement in the pannable.
7109 (get_sawtooth_label): Added this function.
7110 (main): Now we get the labels from the new get_sawtooth_label
7113 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7115 * src/hildon-app-menu.h
7116 * src/hildon-app-menu.c
7117 Renamed API variables for consistency
7119 (hildon_app_menu_popup): Use also the default window size to
7120 decide where to place the menu
7122 (hildon_app_menu_init, hildon_app_menu_class_init): New
7123 external-border style property
7125 2008-05-26 Michael Natterer <mitch@imendio.com>
7127 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7128 widget_class->tap_and_hold_setup signal slot doesn't exist any
7129 longer, stop overriding it.
7131 (hildon_time_editor_init): g_signal_connect() to the
7132 tap-and-hold-setup signal instead.
7134 (hildon_time_editor_entry_keypress): add cast to fix warning.
7136 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7138 * doc/hildon-docs.sgml
7140 * examples/Makefile.am
7141 * examples/hildon-app-menu-example.c
7143 * src/hildon-app-menu-private.h
7144 * src/hildon-app-menu.c
7145 * src/hildon-app-menu.h
7147 New HildonAppMenu widget
7149 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7151 Rearranged the inheritance of the pannable area, now it inherits
7152 from GtkBin. This will allow us to control the event_window and
7153 the allocation process of the widget, required for some effects.
7155 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7156 GtkBin structures. * src/hildon-pannable-area.c: Added the
7157 event_window variable.
7158 (hildon_pannable_area_button_press_cb):
7159 (hildon_pannable_area_button_release_cb):
7160 (hildon_pannable_area_motion_notify_cb):
7161 Changed the signature of the method, now we override the event
7162 callback instead of connecting to the signal.
7164 (hildon_pannable_area_realize):
7165 (hildon_pannable_area_unrealize):
7166 (hildon_pannable_area_map):
7167 (hildon_pannable_area_unmap):
7168 (hildon_pannable_area_size_allocate):
7169 Added functions to control the widget construction. We add a
7170 INPUT_ONLY window and we put it over the widgets inside the
7171 container, this event_window handles the events.
7173 (hildon_pannable_area_class_init):
7174 Replaced the signal connections with overrides of the event
7177 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7179 Bouncing effect added when touching the borders, you can change
7180 the elasticity of the border changing the ELASTICITY define.
7182 * src/hildon-pannable-area.c: Added ELASTICITY define.
7183 (hildon_pannable_area_timeout): Added inverse velocity when
7184 touching the border of the child widget, that causes a bounce.
7186 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7188 Improved performance, we now do not go to the X server in order to
7189 get the list of window children. Apparently the effect is the
7190 same, we have to be careful and check if this breaks something in
7193 * src/hildon-pannable-area.c:
7194 (get_ordered_children): Removed this function.
7195 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7196 the children windows function with gdk_window_get_children.
7198 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7200 * src/hildon-pannable-area.c:
7201 (hildon_pannable_area_dispose): Fixed a crash when closing the
7202 window and kinetics is activated.
7204 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7206 * src/hildon-pannable-area.h
7207 * src/hildon-pannable-area.c
7208 Changed indentation style to meet the one used in Hildon
7210 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7212 Reviewed the interaction of the AUTO mode, now we use the time
7213 attribute of the events and calculate the velocity in the motion,
7214 doing a gimp like calculation. The velocity is calculated in each
7215 motion event using the last velocity and the current one, the
7216 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7218 * src/hildon-pannable-area.c: Replaced the time based algorithm
7220 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7221 timeout for the AUTO mode when we are still moving the cursor. We
7222 added also the velocity calculation in this function.
7223 (hildon_pannable_area_button_release_cb): launch the timeout in
7224 case we are in AUTO mode. There are still some constants here that
7225 come from the old implementation that should be reviewed and
7228 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7230 * doc/hildon-docs.sgml
7233 * src/hildon-stackable-window.c
7234 * src/hildon-stackable-window.h
7236 New HildonStackableWindow widget
7238 * examples/hildon-dialog-example.c
7239 * examples/hildon-pannable-area-example.c
7242 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7244 * src/hildon-dialog.c
7245 (hildon_dialog_new_with_buttons): New constructor.
7247 * examples/hildon-dialog-example.c
7248 (main): Update the example to use the new
7249 hildon_dialog_new_with_buttons().
7251 * examples/hildon-pannable-area-example.c
7252 (main): Update example.
7254 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7256 * doc/hildon-docs.sgml
7258 Added HildonPannableArea to the documentation.
7260 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7262 * doc/visual_index.xml
7263 Fix reference to HildonLoginDialog in documentation
7265 * doc/hildon-docs.sgml
7267 * examples/Makefile.am
7268 * examples/hildon-dialog-example.c
7270 * src/hildon-dialog.c
7271 * src/hildon-dialog.h
7273 New HildonDialog widget.
7275 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7277 * src/hildon-pannable-area.c
7278 Merge latest changes (r4318, r4342) from libmokoui trunk
7280 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7282 * examples/Makefile.am
7283 * examples/hildon-pannable-area-example.c
7285 * src/hildon-pannable-area.c
7286 * src/hildon-pannable-area.h
7288 New HildonPannableArea widget.
7290 2008-04-15 18:05:19 <timj@imendio.com>
7292 * src/hildon-banner.c: revert the recent change, that introduced
7293 gtk_window_present() calls. this reopens:
7294 Bug 78481 - [freetest] information banners are hidden under browser menu
7295 But resolves another variant of:
7296 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7298 2008-04-15 13:21:13 <timj@imendio.com>
7300 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7301 recreated its layout, spotted by Kris. this fixes all remaining
7302 artefacts and stability issues with the banner code. in particular:
7303 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7305 2008-04-14 16:52:59 <timj@imendio.com>
7307 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7308 operating on unrealized widgets, fixes:
7309 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7311 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7313 2008-04-09 Kristian Rietveld <kris@imendio.com>
7315 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7316 makes banner disappear.
7317 Fixes: NB#79182: info banner flickering with certain message lengts.
7319 * src/hildon-banner.c (hildon_banner_constructor),
7320 (hildon_banner_init), (hildon_banner_set_text),
7321 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7322 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7323 FALSE, reset size requests of label and banner,
7324 (force_to_wrap_truncated): when the text is too wide, always enforce
7325 the maximum possible width instead of recalculating it from the
7326 layout; enforce the maximum banner height of 3 lines,
7327 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7328 nicer wrapping and no truncated chars if space gets tight.
7330 * src/hildon-banner-private.h: add has_been_wrapped and
7331 has_been_truncated fields.
7333 2008-04-07 Sven Herzberg <sven@imendio.com>
7335 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7336 local values in hildon_date_editor_size_allocate
7338 * src/hildon-date-editor.c: moved the real allocation code into the
7341 2008-04-07 Sven Herzberg <sven@imendio.com>
7343 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7344 local values in hildon_date_editor_size_allocate
7346 * src/hildon-date-editor.c: merged the two if() branches together
7348 2008-04-07 Sven Herzberg <sven@imendio.com>
7350 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7351 local values in hildon_date_editor_size_allocate
7353 * src/hildon-date-editor.c: changed the arguments of the if()
7356 2008-04-07 Sven Herzberg <sven@imendio.com>
7358 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7359 local values in hildon_date_editor_size_allocate
7361 * src/hildon-date-editor.c: split the calculation of the allocation
7362 from the real allocation
7364 2008-03-27 Michael Natterer <mitch@imendio.com>
7366 Fixes: NB#81696: The passcode is not overwritten even after
7369 * src/hildon-code-dialog.c
7370 (hildon_code_dialog_button_clicked)
7371 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7372 because that doesn't overwrite selected text. Instead, emit the
7373 "commit" signal on the entry's im_context so the entry's normal
7374 insert logic is triggered. Set the cursor to the end of the entry
7375 after each insert operation so that we *only* insert in the middle
7376 of the text if something was selected.
7378 2008-03-27 Michael Natterer <mitch@imendio.com>
7380 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7381 selector cannot be opened
7383 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7384 when the popup color selector is created. Please connect to this
7385 signal in order to set the dialog's help ID.
7387 2008-03-25 Sven Herzberg <sven@imendio.com>
7389 Fixes: MB#1212: Hide info banners (infoprints) on click
7391 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7392 extracted the close event simulation into an extra function
7393 (hildon_banner_button_press_event): simulate a close event and destroy
7394 the widget if the event wasn't handled
7395 (hildon_banner_class_init): added the button_press_event handler
7396 (hildon_banner_init): added button-press events to the widget
7398 2008-03-25 Sven Herzberg <sven@imendio.com>
7400 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7401 Patch from: Mohammad Anwari <mdamt@maemo.org>
7403 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7404 instead of the right in RTL mode
7405 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7406 breadcrumb button list in RTL mode
7407 * src/hildon-caption.c: mirror the appearance of the caption widget in
7409 * src/hildon-date-editor.c: mirror appearance of the date editor in
7411 * src/hildon-time-editor.c: mirror appearance of the time editor in
7413 * src/hildon-window.c: fix the position of the popup in RTL mode
7415 2008-03-25 Sven Herzberg <sven@imendio.com>
7417 Amendment to the fix of NB#22072. Fix compilation.
7419 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7421 2008-03-19 Sven Herzberg <sven@imendio.com>
7423 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7426 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7427 timeout id properly when the timeout will disappear this leaves no
7428 artifacts around in the destroy(); there will only be the timeout
7429 created by hildon_banner_ensure_timeout() and adding a new timeout
7430 will also work if the timeout gets removed because the timeout_handler
7433 2008-03-19 Michael Natterer <mitch@imendio.com>
7435 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7437 * src/hildon-volumebar.c
7438 * src/hildon-vvolumebar.c
7439 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7440 the widget becomes focussable at all.
7442 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7443 set the focus to wither the mute button or the volumebar.
7445 Remove own "can-focus" property and instead listen to
7446 notify::can-focus in order to update the widget's state.
7448 Implement GtkWidget::focus() and make sure we can also *leave* the
7449 widget, not only enter it, depending on volumebar orientation and
7450 requested focus direction.
7452 Clean up set_mute() to cooperate nicely with all the above.
7454 2008-03-04 Michael Natterer <mitch@imendio.com>
7456 Fixes: NB#78481: information banners are hidden under browser menu
7458 * src/hildon-banner.c: call gtk_window_present() on the banners so
7459 they are risen if they are already visible.
7461 2008-03-03 Sven Herzberg <sven@imendio.com>
7463 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7465 * examples/hildon-window-menu-example.c: (main): extended the window
7466 menu example to serve as a testcase for automatically added
7467 accelerator groups, too
7468 * src/hildon-window.c: (hildon_window_add_accel_group),
7469 (hildon_window_set_menu): added patch by Tommi Komulainen
7471 2008-03-03 Sven Herzberg <sven@imendio.com>
7473 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7475 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7476 knowledge about the border allocators used within GTK+
7478 2008-02-26 Sven Herzberg <sven@imendio.com>
7480 Fixes: MB#2981: Build with asserts broken
7482 * src/hildon-date-editor.c,
7483 * src/hildon-number-editor.c,
7484 * src/hildon-time-editor.c,
7485 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7486 the proper GType instance check
7488 2008-02-25 Sven Herzberg <sven@imendio.com>
7490 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7492 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7493 * examples/hildon-window-menu-example.c: (main): explicitly show
7495 * src/hildon-window.c:
7496 (hildon_window_set_main_menu): moved most of the code from set_menu()
7497 to this place; skipped the call to gtk_widget_show_all(); also didn't
7498 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7499 (hildon_window_set_menu): removed most of the code, just keep the
7500 questionable gtk_widget_show_all()
7501 * src/hildon-window.h: added the new function and deprecate the old
7504 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7510 * debian/changelog: Updating.
7512 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7515 * pkgconfig/Makefile.am:
7516 * pkgconfig/hildon.pc.in:
7519 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7520 use newly created API_MAJOR_VERSION.
7522 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7528 * debian/changelog: Updating.
7530 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7532 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7534 Add outer_border style property, we use it but don't define it (!).
7538 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7540 * examples/hildon-bread-crumb-trail-example.c (main):
7544 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7546 Fix logic for the bread crumb trail node removal.
7550 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * debian/changelog: Updating.
7558 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 Patch by Alejandro to get/set passwords dialogs accesibility.
7562 * hildon-1/src/hildon-get-password-dialog.c:
7563 * hildon-1/src/hildon-set-password-dialog.c:
7564 Set atk_set_name to the passwd entries in order to allow
7565 accessibility by name on this entries.
7567 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7572 * debian/control: Updating gtk dep.
7574 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7576 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7577 USE_MAEMO_GTK is enabled.
7579 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7581 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7582 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7584 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * debian/changelog: Updating.
7592 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7594 * examples/Makefile.am:
7595 * examples/hildon-logical-color-example.c:
7596 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7597 applied + adding a test case. Fixes: NB#71660.
7599 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7601 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7602 to be visible, fixes warning on map for windows without toolbars.
7604 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7606 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7607 2.11.0, add a check for that besides the MAEMO_GTK check.
7609 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7615 * debian/changelog: Updating.
7617 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7619 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7620 visibility. Fixes: NB#70842 and MB#615.
7622 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7624 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7625 set the separator as no-show-all so it doesn't unintentionally appear when
7626 someone does a show_all.
7628 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7630 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7631 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7632 toplevel item. Fixes: NB#62031
7634 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7636 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7637 fix the name of the function in the docs.
7639 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * debian/changelog: Updating.
7647 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * examples/hildon-banner-long-example.c: Adding a test-case for long
7652 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7654 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7656 * src/hildon-color-chooser-dialog.c:
7657 * src/hildon-color-chooser.c:
7658 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7659 memory leaks in font selector and color selector. Fixes: NB#70499 and
7662 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7664 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7666 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7668 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7669 little bit bigger. Fixes: #NB63694.
7671 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * debian/changelog: Updating.
7679 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7682 * doc/hildon-docs.sgml:
7683 * doc/images/bread-crumb-trail.png:
7684 * doc/images/calendar-popup.png:
7685 * doc/images/caption.png:
7686 * doc/images/code-dialog.png:
7687 * doc/images/color-button.png:
7688 * doc/images/color-chooser-dialog.png:
7689 * doc/images/color-chooser.png:
7690 * doc/images/controlbar.png:
7691 * doc/images/date-editor.png:
7692 * doc/images/font-selection-dialog.png:
7693 * doc/images/get-password-dialog.png:
7694 * doc/images/hvolumebar.png:
7695 * doc/images/login-dialog.png:
7696 * doc/images/note.png:
7697 * doc/images/number-editor.png:
7698 * doc/images/range-editor.png:
7699 * doc/images/seekbar.png:
7700 * doc/images/set-password-dialog.png:
7701 * doc/images/sort-dialog.png:
7702 * doc/images/time-editor.png:
7703 * doc/images/time-picker.png:
7704 * doc/images/vvolumebar.png:
7705 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7706 Adding the bread-crumb-trial and helpers to the documentation.
7708 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * examples/hildon-find-toolbar-example.c:
7711 * src/hildon-find-toolbar.c:
7712 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7713 actually continue firing the other handlers if connected. Adding a new
7715 hildon_find_toolbar_get_last_index that gets the index of the most
7716 recently added (last) item. Fixes: NB#52301.
7718 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7721 behaviour. Fixes: NB#68610.
7723 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7728 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7731 when realizing the banner. Should make the infonbanner effect a bit more
7734 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * src/hildon-volumebar.c:
7737 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7738 hildon_volumebar_set_range_insensitive_message and
7739 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7741 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * src/hildon-window.c: Fixing the border freeing on destroy.
7745 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * src/hildon-code-dialog-private.h:
7748 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7749 kw keyboard support in HildonCodeDialog.
7751 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * debian/changelog: Updating.
7759 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * src/hildon-date-editor.c:
7762 * src/hildon-number-editor.c:
7763 * src/hildon-private.c:
7764 * src/hildon-private.h:
7765 * src/hildon-time-editor.c:
7766 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7767 handling in subclassed composite widgets. Fixes: NB#66628.
7769 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7772 from destroy_ callback as it introduces problems in async dbus signal
7773 handlers. Fixes NB#66673.
7775 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7777 * examples/hildon-hvolumebar-example.c:
7778 * src/hildon-volumebar.c: Improving the focus handling in the
7779 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7780 set_property accessor so that "mute" property can be actually set. I'm
7781 scared that nobody noticed it's totally broken.
7783 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7785 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7788 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7790 * src/hildon-calendar.c:
7791 * src/hildon-number-editor.c:
7792 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7793 matches the spec of 6 chars per second. Fixes: NB#60489.
7795 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7797 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7798 gtk_style_lookup_color sometime returns FALSE even though color was
7799 found and values were filled properly. Weird. Removing the warning for the
7802 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7805 expand vertically. Adding some extra space to the find toolbar buttons to
7806 make them thumbable. Fixes NB#66060.
7808 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7810 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7811 popup with "Ok" and "Cancel". Fixes NB#59299.
7813 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * src/hildon-calendar.c: Process all window updates before executing next
7816 timeout. Fixes: NB#54146.
7818 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * debian/changelog: Updating.
7826 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7828 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7829 the client event and ignore it, since we use the delete event to close
7832 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-helper.c: Remove the bogus warning about color not being
7835 found. Fixes NB#58352.
7837 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * examples/Makefile.am:
7840 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7841 HildonSeekbar widget inside a toolbar.
7843 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7845 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7846 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7847 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7848 don't want to be closed by non-temporary windows on map.
7850 Also use G_DEFINE_TYPE instead of manually typed code.
7852 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * debian/rules: Updating.
7861 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * examples/Makefile.am:
7864 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7865 bug NB#61128. Strangely it works.
7867 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7869 * src/hildon-date-editor.c: When the date editor entry has been changed
7870 but the numbers of characters < max, turn off the skip validation flag.
7871 Prevents a situation when we enter first a valid year and later re-write
7872 it with an invalid one. Fixes NB#60154.
7874 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7877 code dialog. Fixes NB#64355.
7879 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7882 switching the page. Fixes NB#49374.
7884 * examples/Makefile.am:
7885 * examples/hildon-wizard-dialog-example.c: Adding an example for
7886 HildonWizardDialog that shows how to handle manual sensitivity setting on
7889 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7893 * src/hildon-version.h.in:
7894 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7896 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * src/hildon-volumebar.c: Updating the docs.
7900 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * debian/changelog: Updating.
7908 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-find-toolbar.c:
7911 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7912 selected item: hildon_find_toolbar_set_active,
7913 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7914 hildon_find_toolbar_get_active_iter . They correspond to respective
7915 GtkComboBox functions.
7917 * examples/Makefile.am:
7918 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7921 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7923 * examples/Makefile.am:
7924 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7927 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7928 when font size > 32 and we pack a focusable widget inside. Actually using
7929 the default response would work too, but since we don't show default
7930 response state in any way (no theming) it would not be visible to the
7931 user. Fixes NB#63430.
7933 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7935 * src/hildon-date-editor.c: Adding the missing variable setter in the
7936 set_property handler. Fixes NB#54182.
7938 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-window.h: Changing the long key press time from 1500ms to
7941 800ms as requested in NB#63700. I have a bad feeling about this, let's
7942 see... Fixes NB#63700.
7944 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7946 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7947 hildon_time_picker_map, hildon_time_picker_realize,
7948 hildon_time_picker_style_set): Split the contents of map to more
7949 appropriate functions; set window decorations on realize and update
7950 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7952 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7957 * debian/changelog: Updating.
7959 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7961 * src/Makefile.am: fixed installation of the header files
7963 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * debian/changelog: Updating.
7971 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * configure.ac: Removing some remaining of --enable-xan.
7975 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7977 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7978 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7980 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7981 2.10.12-osso6 because the move-focus signal needs to be available in
7984 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * examples/Makefile.am:
7987 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7988 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7989 fine. Prolly NB#61128 is fixed now.
7991 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7993 * src/hildon-volumebar.c:
7994 * src/hildon-volumebar.h: Adding the
7995 hildon_volumebar_set_range_insensitive_message and
7996 hildon_volumebar_set_range_insensitive_messagef functions to set
7997 insensitive message on the slider of the volumebar. Fixes NB#61129.
7999 * examples/Makefile.am:
8000 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8001 test the new insensitive messsage functionality on HildonVolumebar.
8003 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8005 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8008 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8010 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8011 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8012 button on after clearing the trail.
8014 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8016 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8018 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8020 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8021 by splitting the installed headers in generated and non-generated groups. Use
8022 only the non-generated headers to create the hildon-enum-types.h file.
8024 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8026 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 * src/hildon-window.c: Hide the window before performing the destroy.
8029 Should make the app closing a little tiny bit more snappy.
8031 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-seekbar.c: add gtkrange.h header
8034 * src/hildon-caption.c: remove unused variable
8036 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8038 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8041 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * debian/changelog: Updating.
8049 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8051 * src/hildon-window.c (hildon_window_window_state_event,
8052 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8053 escape timeout on focus-out-event rather than notify::is-topmost; the
8054 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8056 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8059 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8061 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8063 * src/hildon-window: actually, you need to use the macro always, there's
8064 no private pointer in the instance structure. We should have cleaned this up
8065 when we had the chance...
8067 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8069 * src/hildon-window.c: do not get the private date from HildonWindow before
8070 it passes the g_return_if_fail check. Once it's passed the test, there's no
8071 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8072 if you are only going to access the data once. Whitespace cleanups.
8074 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8076 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8077 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8079 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8085 * debian/changelog: Updating.
8087 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8089 * src/hildon-window.c: When destroying the window, remove (if exists) the
8090 escape timeout handler. Fixes #NB59276.
8092 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8094 * src/hildon-banner.c: When realizing the widget, set the window
8095 transiency. Setting the transiency in the gobject constructor is not
8096 good, as the widget is not realized at that point. Fixes: #NB56624.
8098 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8100 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8101 Add padding for future expansions.
8103 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8105 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8106 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8107 will fake an activation on the previous to the last item of the trail, so
8108 the effect can be overrided by the developer as usual.
8109 Also change the callback for the back button to do the same thing, so its
8110 effect can be overrided too. Fixes: NB#58982
8112 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8115 HildonCaption. Fixes NB#52379.
8117 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8119 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8120 the internal state of the trail after the user has had the chance of executing
8121 his handler for the signal. Specifically, it may happen that the activated button
8122 is removed and the user still lets the default handler run. This would segfault
8125 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8128 scrollbar to the preview dialog. Fixes NB#54147.
8130 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8133 max/min year properties can be altered, so the client can modify it
8134 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8136 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8139 hildonlike by default. Fixing a problem with disappearing arrows when
8140 scrolling through months and years. Fixes NB#54127.
8142 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8144 * examples/hildon-date-editor-example.c: Adding error callback to the date
8147 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * configure.ac: Updating.
8155 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8157 * configure.ac: Adding a special '--enable-xan' configure option that
8158 turns off the -Werror compilation setting. Usefull for development.
8160 * src/hildon-calendar.c:
8161 * src/hildon-number-editor.c:
8162 * src/hildon-time-picker.c: Adding the 5* multiplier to
8165 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8168 instead of g_object_ref + gtk_object_sink.
8170 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * debian/changelog: Updating.
8178 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * src/hildon-color-chooser-dialog.c:
8181 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8182 straight from Tommi labs.
8184 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8186 * examples/hildon-finger-example.c: Correcting the header file path.
8188 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8189 the changed signal. Fixes a small memory leak.
8191 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * src/hildon-banner.c: Importing several usefull fixes from the
8196 ubuntu-mobile branch.
8198 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * examples/Makefile.am:
8201 * examples/hildon-finger-example.c: Adding a finger-checking code
8204 * src/hildon-font-selection-dialog.c: Do not allocate the color
8205 structure using the g_new. Fixes NB#54061.
8207 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8209 * src/hildon-helper.c: Correcting tabs in file.
8211 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8213 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8214 control the visibility of the children.
8216 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8218 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * debian/changelog: Updating.
8226 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8228 * src/hildon-bread-crumb-trail.c:
8229 (hildon_bread_crumb_trail_size_allocate):
8231 Make the back button always a square.
8233 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8236 from the .c file as it's a private file.
8238 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8240 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8241 uses slightly bigger height.
8243 * src/hildon-font-selection-dialog.c: Adding some checks before
8244 freeing memory in the font selection dialog.
8246 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-font-selection-dialog.c: Adding a small check when
8251 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8252 buttons sensitivity on page switching.
8254 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8256 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8257 internal details of adding a bread crumb to the trail.
8259 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * debian/changelog: Updating.
8267 * src/hildon-bread-crumb-trail.h:
8268 * src/hildon-bread-crumb.h: Changing the API guard to
8269 HILDON_ENABLE_UNSTABLE_API.
8271 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8279 * src/hildon-helper.h: Updating.
8281 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8289 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8293 * src/hildon-helper.h: Small fix to make the package actually compile.
8295 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8297 * src/hildon-bread-crumb-trail.h:
8298 * src/hildon-bread-crumb.h:
8300 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8301 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8303 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8305 * examples/hildon-bread-crumb-trail-example.c:
8307 * src/hildon-bread-crumb-trail.c:
8308 * src/hildon-bread-crumb-trail.h:
8309 * src/hildon-bread-crumb.c:
8310 * src/hildon-bread-crumb.h:
8311 * src/hildon-marshalers.list:
8312 * src/hildon-bread-crumb-widget.c:
8313 * src/hildon-bread-crumb-widget.h:
8315 Slight change in the widget design. The bread crumb trail API is
8316 unchanged, but HildonBreadCrumb is now an interface. A *private*
8317 implementation, hildon-bread-crumb-widget, is provided and used
8318 internally by the trail for the push_text/push_icon functions.
8320 The generic push API is still available, so anyone can implement
8321 and use its own bread crumb widget.
8323 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8325 * debian/rules: Fixing the shlibs.
8327 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * src/hildon-banner.c: Fixing a problem with timed banners having
8330 their parrent destroyed before they are.
8332 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8334 * src/hildon-bread-crumb.c:
8335 * src/hildon-bread-crumb.h:
8337 Make the get_natural_size function a vfunc.
8339 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8341 * src/hildon-bread-crumb.c:
8342 * src/hildon-bread-crumb-trail.c:
8346 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8353 * debian/changelog: Updating for release.
8355 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8357 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8358 don't leak the pango layout.
8360 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8363 * examples/hildon-bread-crumb-trail-example.c:
8367 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8369 * debian/changelog: Removing the bug-fixed entries that were actually
8370 resolved as WONTFIX.
8372 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8375 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8377 * src/hildon-bread-crumb-trail.c:
8378 * src/hildon-bread-crumb-trail.h:
8379 * src/hildon-bread-crumb.c:
8380 * src/hildon-bread-crumb.h:
8384 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8386 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8387 until it's passed the type check.
8389 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8391 * examples/hildon-bread-crumb-trail-example.c
8395 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8397 * examples/Makefile.am
8398 * examples/hildon-bread-crumb-trail-example.c
8400 * src/hildon-bread-crumb-trail.c
8401 * src/hildon-bread-crumb-trail.h
8402 * src/hildon-bread-crumb.c
8403 * src/hildon-bread-crumb.h
8405 New HildonBreadCrumbTrail widget.
8407 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8409 * src/hildon-range-editor.c (hildon_range_editor_init),
8410 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8411 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8412 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8413 hildon_time_editor_class_init, hildon_time_editor_init),
8414 src/hildon-get-password-dialog.c (invalid_input,
8415 hildon_get_password_set_property, hildon_get_password_get_property,
8416 create_contents, hildon_get_password_dialog_set_max_characters),
8417 src/hildon-set-password-dialog.c (create_contents),
8418 src/hildon-date-editor.c (hildon_date_editor_init),
8419 src/hildon-login-dialog.c (hildon_login_dialog_init),
8420 src/hildon-number-editor.c (hildon_number_editor_init),
8421 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8422 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8423 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8424 configure option and adding the respective checks in the code.
8425 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8426 hildon_calendar_drag_data_received): fixed some build warnings.
8428 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8430 * debian/changelog: A 1.0.0 release notes.