1 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
11 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
13 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
14 to ensure the banner contents are centered, instead of relying on
15 the expand and fill properties in GtkHBox.
16 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
18 Fixes: NB#108265 (Animation banner not properly centered)
20 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
22 * hildon/hildon-pannable-area.c
23 (hildon_pannable_area_initial_effect): Remove the initial_effect
24 management, check initial_hint
25 (hildon_pannable_are_expose_event): Remove the initial_hint management,
26 set initial_effect to FALSE
27 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
28 by launching the fade_timeout if the scrollbars state has changed and are
30 * examples/hildon-pannable-area-initial-hint-example.c
31 Modified to allow to remove rows too. Add and remove rows one by one.
33 2009-05-28 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
36 Don't close the menu if there's an animation actor below it.
38 Fixes: NB#117927 (Application menu not usable with animation
41 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
44 "focus-on-click" from the dialog button, to avoid stealing the
47 Fixes: NB#118903 (Account setup wizard: Text in Search field
48 should be focused when "Region" touch list picker is reopened
51 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
53 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
54 (prepare_action_area): Completely hide the dialog separator.
56 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
58 * hildon/hildon-touch-selector-entry.c
59 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
60 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
61 now that the entry is exposed.
63 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-touch-selector-entry.c
66 (hildon_touch_selector_entry_init): Change the entry's size
67 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
69 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
72 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
73 avoid unnecessary scaling.
75 2009-05-27 Alberto Garcia <agarcia@igalia.com>
77 * hildon/hildon-app-menu.c (hildon_app_menu_map):
78 Create grab transfer window before calling parent's map function.
80 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
81 "crushed" button(s) in the top left corner)
83 2009-05-26 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
86 Check if the window is already realized when pushing it.
88 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
90 * configure.ac: post release version bump
91 * debian/changelog: post release version bump
93 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
98 * configure.ac: Bump version.
99 * debian/changelog: Updates.
101 2009-05-25 Alberto Garcia <agarcia@igalia.com>
103 * hildon/hildon-app-menu.c: Doc updates.
105 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
107 * hildon/hildon-banner.c: Remove leftover macro.
109 2009-05-25 Alejandro G. Castro <alex@igalia.com>
111 * hildon/hildon-pannable-area.c,
112 (hildon_pannable_area_scroll_indicator_fade),
113 (hildon_pannable_area_button_release_cb): Reviewed vmin
114 conditions, it could cause problems in the fadeout procedure.
116 2009-05-25 Alejandro G. Castro <alex@igalia.com>
118 * hildon/hildon-pannable-area.c
119 (hildon_pannable_area_button_release_cb): Added a threshold to
120 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
122 2009-05-25 Alejandro G. Castro <alex@igalia.com>
124 * hildon/hildon-pannable-area.c,
125 (hildon_pannable_area_set_property): Added code to sync the gtk
126 dnd threshold with the panning threshold.
128 2009-05-25 Alejandro G. Castro <alex@igalia.com>
130 * hildon/hildon-pannable-area.c,
131 (hildon_pannable_area_class_init): Changed some of the default
132 values, now it should be less responsive and more accurate.
134 2009-05-25 Alejandro G. Castro <alex@igalia.com>
136 * hildon/hildon-pannable-area.c,
137 (hildon_pannable_area_init),
138 (hildon_pannable_area_scroll_indicator_fade),
139 (hildon_pannable_area_button_press_cb),
140 (hildon_pannable_axis_scroll),
141 (hildon_pannable_area_timeout),
142 (hildon_pannable_area_motion_notify_cb),
143 (hildon_pannable_area_button_release_cb): Changed the name of the
144 clicked attribute to button_pressed, it is more clear about its use.
146 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
148 * src/hildon-pannable-area.c
149 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
151 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
152 vertical scrollbar visibility, and use the data on private section instead,
153 remove the initial_hint check
154 (hildon_pannable_area_expose_event): add the initial_hint check here
156 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
158 * src/hildon-pannable-area.c
159 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
160 if the fadeout effect was used
161 (hildon_pannable_area_expose_event): check if it is required to
162 manage the initial effect on the begining of the function. Previously
163 it was made at the end, but this doesn't ensure that the scrollbars
164 will be painted on the first show. Do not set to FALSE initial_effect,
165 to ensure that the initial hint is showed the first time the pannable
167 * examples/Makefile.am
168 * examples/hildon-pannable-area-initial-hint-example.c:
169 New example, to show that the initial-hint is showed when the widget
172 Fixes: NB#116607 (Pannable area should always have scrollbar visible
173 initially if the application can be scrolled)
175 2009-05-25 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
178 Resize table before adding new items to make sure that
179 gtk_table_resize() is called just once.
181 2009-05-25 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-app-menu-private.h
184 * hildon/hildon-app-menu.c (item_visibility_changed)
185 (filter_visibility_changed, hildon_app_menu_show_all)
186 (hildon_app_menu_hide_all, hildon_app_menu_init):
187 Rearrange items just once when gtk_widget_show_all()/hide_all()
190 2009-05-25 Alberto Garcia <agarcia@igalia.com>
192 * hildon/hildon-app-menu.c
193 (hildon_app_menu_insert, hildon_app_menu_add_filter):
194 Don't call gtk_widget_show() on added items.
196 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
197 automatically when they're added)
199 2009-05-20 Alberto Garcia <agarcia@igalia.com>
201 * hildon/hildon-banner.c
202 (hildon_banner_realize, +hildon_banner_unrealize)
203 (+screen_size_changed, hildon_banner_class_init):
204 Redisplay the banner if the screen is rotated.
206 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
207 on transition from landscape to portrait)
209 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
211 * hildon/hildon-banner.[ch]:
212 (hildon_banner_show_information_override_dnd): remove icon_name from the
213 method definition as it is ignored.
214 * examples/hildon-banner-dnd-example.c: updated with the change on
217 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
219 * hildon/hildon-banner-private.h: new require_override_dnd and
220 overrides_dnd variables
221 * hildon/hildon-banner.h:
222 (hildon_banner_show_information_override_dnd): new method, that shows
223 the information but sets the override flag, in order to show important
225 * hildon/hildon-banner.c
226 (hildon_banner_show_information_override_dnd): new method
227 (hildon_banner_set_override_flag): new utility function
228 (hildon_banner_real_show_information): new utility function, in order to
229 generalize the current hildon_banner_show_information_override_dnd and
230 hildon_banner_show_information_override_dnd
231 * examples/Makefile.am
232 * examples/hildon-banner-dnd-example.c: New example that show how to
233 use the new hildon_banner_show_information_override_dnd
235 Fixes: NB#114874 (There is no possibility to show hildon banners with
238 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
240 * hildon/hildon-pannable-area.c: Add a comment explaining the math
241 behind hildon_pannable_calculate_vel_factor().
243 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-pannable-area.c
246 (hildon_pannable_calculate_vel_factor): Correct the sum of the
247 deceleration factors.
249 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
251 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
252 Reduce the default value for 'scroll_time' to 1 second, since the
253 current initial scrolling takes too much time.
255 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
257 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
258 calculate velocity factor during initialization, since the properties
261 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
263 * hildon/hildon-pannable-area.c
264 (hildon_pannable_area_set_property): Calculate the velocity factor
265 after setting the deceleration property and not after.
267 2009-05-20 Alberto Garcia <agarcia@igalia.com>
269 * hildon/hildon-entry.c
270 (hildon_entry_class_init, +set_property, hildon_entry_new)
271 * hildon/hildon-check-button.c
272 (hildon_check_button_class_init)
273 (+set_property, hildon_check_button_new):
274 Make the theme size a property.
276 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
277 others) do too much in the _new function)
279 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
281 * configure.ac: post release version bump
282 * debian/changelog: post release version bump
284 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
289 * configure.ac: Bump version.
290 * debian/changelog: Updates.
292 2009-05-15 Alberto Garcia <agarcia@igalia.com>
294 * hildon/hildon-gtk.h
295 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
296 New API function to take a screenshot of a window
298 Fixes: NB#106374 (Need API to take a loading screenshot)
300 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
302 * hildon/hildon-time-selector.c
303 (update_format_policy): prevent to use hours and minutes unitialized
305 2009-05-15 Alberto Garcia <agarcia@igalia.com>
307 * hildon/hildon-window.c (hildon_window_size_request):
308 Always request the full size of the screen (minus the title bar if
309 not in fullscreen mode).
311 Fixes: NB#107486 (HildonWindow should size itself properly)
313 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
315 * hildon/hildon-note-private.h: Add idle_handler to the private data.
316 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
317 (on_show_cb), (sound_handling): Disconnect the idle handler for
318 the sound when the note is finalized to avoid possible crashes.
320 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
323 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
325 * src/hildon-animation-actor.c,
326 * src/hildon-remote-texture.c:
327 Added proper object cleanup to remove signal handler and object
328 references as HildonAnimationActor and HildonRemoteTexture
329 objects get destroyed.
331 Fixes: NB#116682 (Destroying parented animation actors when
332 parent in unmapped leads to crash)
334 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
336 Based on a patch by Christian Dywan (christian@imendio.com)
338 * doc/hildon-sections.txt:
339 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
340 * hildon/hildon-helper.h: New file size formatting method.
342 * debian/control: Depend on osso-filemanager l10n package for
343 proper localization strings.
345 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
347 * tests/Makefile.am: Include top_srcdir to make possible to build
348 tests in a different builddir.
349 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
350 on a different builddir.
352 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
354 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
355 (hildon_touch_selector_remove): Disconnect model's signal handler
358 Fixes: NB#116289 (Hildon home crashes while adding task
361 2009-05-11 Alberto Garcia <agarcia@igalia.com>
363 * hildon/hildon-button.c
364 (hildon_button_set_title, hildon_button_set_value):
365 Hide labels containing an empty string.
367 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
369 * configure.ac: post release version bump
370 * debian/changelog: post release version bump
372 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
377 * configure.ac: Bump version.
378 * debian/changelog: Updates.
380 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
382 * hildon/hildon-note-private.h: Removed sound_signal_handler
383 * hildon/hildon-note.c
384 (on_show_cb): new callback on note "show" event, this simply adds
385 a idle, with the function sound_handling
386 (sound_handling): removed the sound_signal_handler management
387 (hildon_note_init): connect note "show" event to on_show_cb
388 (hildon_note_realize): remove the connection to "expose-event"
390 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
391 device?' confirmation note)
393 2009-05-08 Alberto Garcia <agarcia@igalia.com>
395 * hildon/hildon-note.c
396 (hildon_note_new_information_with_icon_name)
397 (hildon_note_new_confirmation_with_icon_name):
398 Terminate the list of parameters in g_object_set() calls
400 Fixes: NB#115166 (Formatting memory card is not taking place)
402 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
404 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
405 "dialog-information" role for the sound being played.
407 2009-05-06 Alberto Garcia <agarcia@igalia.com>
409 * hildon/hildon-app-menu.c (hildon_app_menu_init):
410 Don't make the menu a modal window, it causes strange interactions
411 with the pointer grab and it's not really needed.
413 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
415 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
417 * hildon/hildon-touch-selector.[ch]
418 (hildon_touch_selector_optimal_size_request): function added to get a
419 optimal size request from the touch selector, when you want a dialog to
420 show as much of the selector
421 * hildon/hildon-picker-dialog.c:
422 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
423 (hildon_app_menu_class_init):
424 New "max-height-landscape" and "max-height-portrait" style properties
425 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
426 (hildon_picker_dialog_get_max_height): returns the maximum height using
427 the style properties defined and checking the current portrait/landscape
429 (_hildon_picker_dialog_set_selector): removed the set_size_request
431 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
433 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
435 * hildon/hildon-bread-crumb-trail.c:
436 * hildon/hildon-bread-crumb.c:
437 * hildon/hildon-seekbar.c:
438 Add reference to replacements for these deprecated widgets.
440 Fixes: MB#4461 (Documentation: All deprecations should mention
443 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
445 * examples/hildon-remote-texture-example.c
447 Change the include to the hildon-remote-texture in order to compile
448 properly the examples on the installed libhildon1-examples package
450 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
452 * tests/Makefile.am: Add check for HildonPickerButton.
453 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
454 (START_TEST), (create_hildon_picker_button_suite): Add three simple
455 checks for the HildonPickerButton.
456 * tests/check_test.c (configure_tests): Add the test suite.
457 * tests/test_suites.h: likewise.
459 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-touch-selector.c
462 (+on_row_changed): Emit HildonTouchSelector:changed when the
463 contents of a selected row change.
464 (_create_new_column), (_hildon_touch_selector_set_model): connect
465 to GtkTreeModel:row-changed on a newly set model.
467 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
469 2009-05-05 Alberto Garcia <agarcia@igalia.com>
471 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
473 * hildon/hildon-banner.c (hildon_banner_destroy)
474 (hildon_banner_show_progress, hildon_banner_set_fraction):
475 Remove the progress bar from HildonBanner and use a progress
478 Fixes: NB#113761 (Update progress banner to use progress
481 2009-05-04 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-banner.c:
484 Calculate size of the banner label using the actual screen width
485 rather than using a fixed value.
487 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
490 2009-05-04 Alejandro G. Castro <alex@igalia.com>
492 * hildon/hildon-pannable-area.c,
493 (hildon_pannable_area_class_init): Fixed signals documentation
496 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
498 * configure.ac: post release version bump
499 * debian/changelog: post release version bump
501 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
506 * configure.ac: Bump version.
507 * debian/changelog: Updates.
509 2009-05-01 Alberto Garcia <agarcia@igalia.com>
511 * hildon/hildon-edit-toolbar.c
512 (hildon_edit_toolbar_init):
513 Don't let buttons in HildonEditToolbar receive focus.
515 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
516 typing on an HW arrows key)
518 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
520 * doc/Makefile.am: Fix build.
522 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
524 * doc/Makefile.am: Do not redefine content_files.
526 2009-04-30 Alberto Garcia <agarcia@igalia.com>
534 Renamed src/ to hildon/
539 Include <hildon/hildon.h> directly in all examples.
541 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
543 * src/hildon-sort-dialog.c
544 (hildon_sort_dialog_add_sort_key_with_sorting)
548 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
550 * src/Makefile.am: Move generated sources to CLEANFILES, so that
551 make distcheck passes.
553 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
555 * Makefile.am: Enable gtk-doc during distcheck.
557 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
559 * Makefile.am: Do not distribute the debian/ directory.
561 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
563 * doc/Makefile.am: Add the extra SGML files to content_files,
564 so that they are distributed properly.
566 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
568 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
571 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
573 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
574 (hildon_note_new_information_with_icon_name): Set the "icon" property
575 to preserve soundness.
577 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-font-selection-dialog.c
580 (hildon_font_selection_dialog_set_property): Fail when the "family"
581 property is set to NULL.
583 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
588 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
590 * src/hildon-time-selector.h:
591 Added HildonTimeSelectorFormatPolicy
592 * src/hildon-time-selector.c:
593 Added PROP_TIME_FORMAT_POLICY
594 (_check_ampm_format): renamed to check_automatic_ampm_format
595 (update_format_policy), (update_format_dependant_columns): new functions
596 (hildon_time_selector_class_init)
597 (hildon_time_selector_contructor)
598 (hildon_time_selector_init)
599 (hildon_time_selector_get_property)
600 (hildon_time_selector_set_property)
601 (hildon_time_selector_get_time)
602 (hildon_time_selector_set_time)
603 * src/hildon-touch-selector.h: new file
604 * src/hildon-touch-selector.c
605 (hildon_touch_selector_emit_changed)
606 (hildon_touch_selector_block_changed)
607 (hildon_touch_selector_unblock_changed)
608 Added functions to allow to block the emission of the "changed" signal
609 * src/hildon-picker-dialog.c
610 (hildon_picker_dialog_show): call the parent show before the custom code
611 * examples/hildon-time-button-example.c
612 Modified, so now you can configure the time format using the new property
614 Added a new property "time-format-policy" that allow to choose the time
615 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
616 case it uses gconf in order to check if the time selector must use
619 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
622 2009-04-28 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-note.c (hildon_note_init):
625 Label in HildonNote must be left aligned, not centered. This
626 reverts the last commit in HildonNote.
628 Fixes: NB#112933 (text is not left aligned in confirmation dialog
629 is connectivity dialog)
631 2009-04-27 Alberto Garcia <agarcia@igalia.com>
636 * doc/hildon-sections.txt:
637 Added hildon_gtk_window_set_do_not_disturb()
639 2009-04-27 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-note.c (hildon_note_init): Center label.
643 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
646 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: Bump version.
652 * debian/changelog: Updates.
654 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
656 * src/hildon-note-private.h: Add button-width to the private data.
657 * src/hildon-note.c (+resize_button),
658 (+hildon_note_orientation_update): methods to repack widgets on orientation
660 (screen_size_changed): Call above method for confirmation notes.
661 (hildon_note_realize): Always connect to the "screen-size" changed signal.
662 (hildon_note_rebuild): Store the original width request from buttons.
664 Fixes: NB#109635 (Confirmation notes do not support portrait)
666 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
668 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
669 when it is a progress note.
671 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
674 in the note, since there are no horizontally arranged contents.
676 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
678 * src/hildon-gtk.c (+set_flag): new generic method to
679 set/delay a flag setting in a window.
680 (hildon_gtk_window_set_progress_indicator):
681 (hildon_gtk_window_set_do_not_disturb),
682 (hildon_gtk_window_set_portrait_flags): use set_flag() to
683 avoid code redundance.
685 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
687 Based on a patch by Alberto Garcia (agarcia@igalia.com)
689 * src/hildon-gtk.c (set_clear_window_flag),
690 (do_set_progress_indicator), (do_set_do_not_disturb),
691 (do_set_portrait_flags),
692 (hildon_gtk_window_set_progress_indicator),
693 (hildon_gtk_window_set_do_not_disturb),
694 (hildon_gtk_window_set_portrait_flags):
695 Allow setting dnd-flag, progress indicator, and portrait flags
696 when the window is not realized.
698 2009-04-24 Alejandro G. Castro <alex@igalia.com>
700 * src/hildon-pannable-area.c,
701 * src/hildon-pannable-area.h: Add the hildon deprecated define to
702 the size request policy function and defines.
704 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
706 * doc/hildon-sections.txt: Add the new API.
707 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
708 method to set the portrait flags.
709 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
711 Fixes: NB#112328 (Adding helpers for setting portrait properties)
713 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
715 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
716 to allow using this method with other flags.
717 (hildon_gtk_window_set_progress_indicator): Update accordingly.
718 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
720 2009-04-22 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-touch-selector.c
723 (hildon_touch_selector_append_text_column):
724 Make the cell renderer use the smallest width possible.
726 Fixes: NB#108470 (Selected items in multiple selection are either
727 having a tick that is cut or not visible at all.)
729 2009-04-22 Alberto Garcia <agarcia@igalia.com>
731 * src/hildon-touch-selector.c
732 (hildon_touch_selector_append_text_column):
735 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
737 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
738 Use g_strdup_printf() instead of a fixed size buffer.
740 2009-04-21 Alberto Garcia <agarcia@igalia.com>
742 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
743 Close banners when a HildonAppMenu is popped up.
745 Fixes: NB#111027 (Title menu closed immediately if activated when
746 "Invalid e-mail address" banner is shown)
748 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
753 * configure.ac: Bump version.
754 * debian/changelog: Updates.
756 2009-04-20 Alberto Garcia <agarcia@igalia.com>
758 * src/hildon-banner.c (hildon_banner_realize):
759 Mark HildonBanner as supporting portrait mode.
760 Use GDK to set window properties insetad of direct Xlib calls.
762 Fixes: NB#111830 (HildonBanner should be marked as supporting
765 2009-04-20 Alberto Garcia <agarcia@igalia.com>
767 * src/hildon-note.c (hildon_note_rebuild):
768 Hide action area in information notes. Prevents text from being
769 slightly aligned to the left.
771 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
774 2009-04-20 Alberto Garcia <agarcia@igalia.com>
776 Patch by Mox Soini (ext-mox.soini@nokia.com)
778 * src/hildon-banner.c (hildon_banner_create_animation):
779 Use stylus-sized icons in animation banner.
781 Fixes: NB#111206 (stylus sized icon for animation banner)
783 2009-04-20 Alberto Garcia <agarcia@igalia.com>
787 (+hildon_gtk_window_set_do_not_disturb):
788 New API to set the do-not-disturb flag.
790 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
792 2009-04-20 Alberto Garcia <agarcia@igalia.com>
794 * examples/hildon-progress-indicator-example.c: Fix example
796 * src/hildon-gtk.c (set_clear_window_flag)
797 (hildon_gtk_window_set_progress_indicator):
798 Create a generic function for setting flags to a window.
799 Use GDK instead of direct Xlib calls.
801 2009-04-14 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-button.c (hildon_button_set_arrangement):
804 Due to NB#88126, if one of the labels is too long it will be
805 painted outside the button. The 'value' label is more likely to be
806 the longest one, so we change its packing options in order to
807 truncate it if necessary. As a side effect, the 'title' label will
808 no longer be truncated.
810 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
812 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
817 * configure.ac: Bump version.
818 * debian/changelog: Updates.
820 2009-04-13 Alejandro G. Castro <alex@igalia.com>
822 Deprecation of the hildon_pannable_area_set_size_request_policy
823 API, the only policy properly supported in gtk+ nowadays is the
826 * src/hildon-pannable-area.c,
827 (hildon_pannable_area_size_request): Added a workaround for the
828 size_request to avoid the problems of huge pixmaps in case someone
829 is still using the function.
830 * src/hildon-pannable-area.h: Deprecated the enum with the
833 Fixes: NB#110244 (Problems with the
834 hildon_pannable_area_set_size_request_policy API)
836 2009-04-08 Alejandro G. Castro <alex@igalia.com>
838 * src/hildon-pannable-area.c,
839 (hildon_pannable_area_init),
840 (hildon_pannable_area_size_request),
841 (hildon_pannable_area_style_set),
842 (hildon_pannable_draw_vscroll),
843 (hildon_pannable_draw_hscroll),
844 (hildon_pannable_area_check_scrollbars): Replaced area_width with
845 indicator_width to clarify the use of the attribute.
847 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: Bump version.
853 * debian/changelog: Updates.
855 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
857 * src/hildon-picker-dialog.c
858 * src/hildon-touch-selector.c
859 Reverting the change that tried to avoid the hardcoded height on
860 the picker dialog, as causes problems on the hildon-touch-selector
863 Fixes: NB#110029 (selectors not scrolling to selected value)
865 2009-04-07 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-touch-selector.c: Fix typos
869 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
871 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
872 Use the event coordinates instead of gdk_window_get_pointer(). Also,
873 request more motions after using it.
875 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
877 * src/hildon-calendar.c (hildon_calendar_expose),
878 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
879 Remove unused variables.
881 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
883 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
886 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
888 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
889 Check the return value of gtk_tree_selection_get_selected()
892 2009-04-06 Alberto Garcia <agarcia@igalia.com>
894 * src/hildon-animation-actor.c
895 * src/hildon-button.c
897 * src/hildon-pannable-area.c
898 * src/hildon-picker-button.c
899 * src/hildon-program.c
900 * src/hildon-remote-texture.c
901 * src/hildon-text-view.c
902 * src/hildon-touch-selector.c
903 * src/hildon-window-stack.c
904 * src/hildon-window.c:
905 Add missing 'Since: 2.2' tags.
907 * doc/hildon-sections.txt:
908 Add some missing symbols.
910 * doc/hildon-docs.sgml:
911 New 'Other' section for HildonAnimationActor and
914 2009-04-06 Alberto Garcia <agarcia@igalia.com>
916 Patch by Iván Gómez (igomez@igalia.com)
920 * doc/hildon-docs.sgml
921 * doc/hildon-sections.txt
925 New chapters on using the Hildon library.
926 Updated the general structure of the reference manual.
927 Other minor documentation fixes.
929 * src/hildon-calendar-popup.c
930 * src/hildon-calendar.c
931 * src/hildon-controlbar.c
932 * src/hildon-date-editor.c
933 * src/hildon-dialog.c
934 * src/hildon-hvolumebar.c
935 * src/hildon-number-editor.c
936 * src/hildon-range-editor.c
937 * src/hildon-sort-dialog.c
938 * src/hildon-time-editor.c
939 * src/hildon-time-picker.c
940 * src/hildon-volumebar-range.c
941 * src/hildon-volumebar.c
942 * src/hildon-vvolumebar.c
943 * src/hildon-weekday-picker.c:
944 Add deprecation notes
946 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
947 Document 'horizontal-movement' and 'vertical-movement' signals.
949 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: Bump version.
955 * debian/changelog: Updates.
957 2009-04-06 Alejandro G. Castro <alex@igalia.com>
959 * src/hildon-pannable-area.c,
960 (hildon_pannable_area_class_init): increased the minimum velocity.
961 (hildon_pannable_area_button_release_cb): Updated the
962 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
963 setup. Review the code to control that last event.
965 Fixes: NB#109790 (Releasing finger in pannable area easily causes
968 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
970 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
972 * src/hildon-get-password-dialog.c
973 (hildon_get_password_set_property),
974 (hildon_get_password_get_property), (create_contents):
975 * src/hildon-login-dialog-private.h:
976 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
977 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
978 (hildon_login_dialog_get_password):
979 * src/hildon-set-password-dialog-private.h:
980 * src/hildon-set-password-dialog.c
981 (hildon_set_password_set_property),
982 (hildon_set_password_get_property), (create_contents),
983 (hildon_set_password_response_change),
984 (hildon_set_password_response_set), (hildon_checkbox_toggled):
986 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
987 instead and look more Fremantle style.
989 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
991 2009-04-03 Alberto Garcia <agarcia@igalia.com>
993 * doc/hildon-sections.txt
994 * src/hildon-window-stack.h
995 * src/hildon-window-stack.c
996 (+hildon_window_stack_get_windows):
997 New API to obtain the list of windows on a stack.
999 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-app-menu.c (hildon_app_menu_popup)
1002 (hildon_app_menu_class_init, -hildon_app_menu_show):
1003 Remove hildon_app_menu_show() and move all its checks to
1004 hildon_app_menu_popup()
1006 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1008 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1009 (_hildon_picker_dialog_set_selector): removed call to
1010 gtk_widget_set_size_request
1011 * src/hildon-touch-selector.c
1012 (_create_new_column): change the pannable size request policy
1014 Avoid to use a hardcoded height for the hildon picker dialog. In order
1015 to get that, we needed to change the hildon pannable size request
1017 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1019 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1021 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1022 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1025 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1027 * debian/control: Depend on osso-system-lock localization package.
1028 * src/hildon-code-dialog.c: Obtain the secu_application_title
1029 translation from osso-system-lock.
1030 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1031 for translation the atk related strings, that's not necessary.
1032 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1033 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1034 cancel button, it is not required.
1036 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 (hildon_pannable_area_class_init): Modified the default value of
1040 the overshooting max speed, we have reduced it.
1042 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1044 * doc/hildon-sections.txt
1045 * src/hildon-window-private.h
1046 * src/hildon-window.h
1047 * src/hildon-window.c (hildon_window_class_init)
1048 (hildon_window_init, hildon_window_finalize)
1049 (hildon_window_realize, hildon_window_get_property)
1050 (hildon_window_set_property, hildon_window_update_markup)
1051 (hildon_window_get_markup, hildon_window_set_markup):
1052 New "markup" property and hildon_window_{get,set}_markup() methods.
1054 * examples/hildon-stackable-window-example.c (new_window):
1055 Update example to use hildon_window_set_markup()
1057 Fixes: NB#106375 (Need API to retitle a window with a title
1060 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_class_init): Changed the default value of
1064 the initial_hint to TRUE.
1065 (hildon_pannable_area_initial_effect): Changed the initial effect,
1066 not the effect is just the fade-out of the scrollbars.
1068 Fixes: NB#107775 (No scrollbars can be seen when several items are
1069 available in a dialog)
1071 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1073 * src/hildon-program.c (hildon_program_update_top_most):
1076 Fixes: NB#109179 (Memory leak in Hildon program)
1078 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1080 * src/hildon-banner.c (-get_current_app_window):
1081 Remove unused function.
1083 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1085 * src/hildon-pannable-area.c: Modified the documentation of the
1086 get adjustments functions to explain the problem of using the
1087 adjustment directly.
1088 (hildon_pannable_area_class_init): Improved the explanation about
1091 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-app-menu-private.h
1094 * src/hildon-app-menu.c
1095 (hildon_app_menu_class_init):
1096 Bring back the 'external-border' style property
1097 (hildon_app_menu_class_init, hildon_app_menu_init)
1098 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1099 Set a fixed width-request for the menu, independent of the number
1102 Fixes: NB#94957 (Smoothly opened application menu)
1104 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1108 * src/hildon-banner.c
1109 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1111 Make sure that the banner is correctly placed the first time it's
1113 (hildon_banner_check_position, -check_fullscreen_state):
1114 Show the banner in the same place no matter if the window is in
1115 fullscreen mode or not.
1117 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1119 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-touch-selector.c (_default_print_func): reorder
1122 concatenation for clarity.
1124 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1126 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1127 for multicolumn selectors.
1129 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1131 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1136 * configure.ac: Bump version.
1137 * debian/changelog: Updates.
1139 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1141 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1144 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1146 * configure.ac: removed libcangerra-gtk dependency
1147 * debian/control: removed libcanberra-gtk dependency
1148 * src/Makefile.am: removed libcanberra gtk related flags
1149 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1150 context, and manage a global canberra context instead
1152 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1154 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1156 Patch by Daniel Borgmann (danielb@openismus.com)
1158 * src/hildon-edit-toolbar.c:
1159 Adjust the left padding.
1160 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1161 Paint background of the edit toolbar.
1163 Fixes: NB#107897 (Patch to make editmodetoolbar background
1164 themeable and adjust margin)
1166 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1168 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1170 * src/hildon-program.c (hildon_program_update_top_most):
1171 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1173 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1174 change when the user tasks in/out of an application)
1176 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1178 * configure.ac: added libcangerra-gtk dependency
1179 * debian/control: added libcanberra-gtk dependency
1180 * src/Makefile.am: added libcanberra gtk related flags
1181 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1184 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1186 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1188 * src/hildon-program.c (hildon_program_remove_window)
1189 (hildon_program_add_window): Add checks for the window
1190 parameter. Don't decrease the window counter if the window is not
1193 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1195 * src/hildon-pannable-area.c,
1196 (hildon_pannable_area_realize): Fixed position of the event_window
1197 in the realize method.
1199 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-app-menu-private.h
1202 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1203 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1204 (hildon_app_menu_key_press, hildon_app_menu_init)
1205 (hildon_app_menu_finalize):
1206 Make sure that all idle functions are removed when the widget is
1209 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1211 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1216 * configure.ac: Bump version.
1217 * debian/changelog: Updates.
1219 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1221 * src/hildon-entry.c
1222 (+hildon_entry_show_placeholder),
1223 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1224 that replace hildon_entry_update_contents().
1225 (hildon_entry_set_text),
1226 (hildon_entry_set_placeholder),
1227 (hildon_entry_focus_in_event),
1228 (hildon_entry_focus_out_event): Determine when it is needed
1229 either to show or hide the placeholder and call the above methods.
1231 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1232 when the placeholder text is already set)
1234 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1237 simple GdkPixbufAnim using the new icons for the banner.
1238 (hildon_banner_show_animation): Use the above mentioned method to
1239 create the animation widget.
1241 Fixes: NB#103564 (Make hildon animation banner use individual
1242 image files as the animation)
1244 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c,
1247 (hildon_pannable_leave_notify_event): Check if the child is NULL
1248 to avoid sending the leave.
1250 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_class_init),
1254 (hildon_pannable_leave_notify_event): Added a handler of the
1255 leave-notify-signal to consider when no motion notify before
1258 Fixes: NB#107494 (Items stay selected when clicking and moving
1259 away when inside pannable area)
1261 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1266 * configure.ac: Bump version.
1267 * debian/changelog: Updates.
1269 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1271 Patch by Alberto Garcia (agarcia@igalia.com)
1273 * src/hildon-date-button.c,
1274 (hildon_date_button_class_init),
1275 (hildon_date_button_init): Removed the construct property handling
1276 and created a default selector in the init method.
1277 * src/hildon-picker-button.c,
1278 (hildon_picker_button_class_init): Removed the construct flag of the
1281 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-main.c (hildon_init):
1284 Don't allow hildon_init() to be called more than once.
1286 Fixes: NB#106607 (hildon_init should issue error message upon
1289 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1291 * examples/hildon-pannable-area-touch-list-example.c
1292 * examples/hildon-pannagle-area-touch-grid-example.c
1293 * examples/hildon-edit-toolbar-example.c
1294 * examples/hildon-touch-selector-multi-cells-example.c
1295 Removed the call to gtk_rc_parse_string, as it is not required since
1298 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_class_init): Modified the default panning
1302 threshold of the widget to 6px.
1304 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1305 than the threshold value ) within the button is not sending the
1308 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1311 for the treeview in the new column. This way, the touch list will never
1314 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1315 be selected manually for the HW keys to work)
1317 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1319 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1320 comparison instead of using strcmp(). Fixes a compiler warning as well.
1322 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1324 * doc/hildon-docs.sgml: Do not set the library version in the
1325 document title, use the releaseinfo tag for that purpose instead.
1327 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1329 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1330 Do not jump to the first item if the text in the entry is removed.
1332 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1337 * configure.ac: Bump version.
1338 * debian/changelog: Updates.
1340 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-entry.c (hildon_entry_refresh_contents):
1343 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1344 Use "ReversedSecondaryTextColor" for the placeholder text.
1346 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-text-view.c: Fix compilation warning.
1350 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-button.c (hildon_button_class_init): Don't make
1353 "title" and "value" construction properties, to prevent them from
1354 overwriting labels set from derived classes.
1356 * src/hildon-picker-button.c
1357 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1358 (hildon_picker_button_class_init): Make touch-selector a
1359 construction property.
1361 * src/hildon-date-button.c (hildon_date_button_class_init)
1362 (+hildon_date_button_constructed): Add a default date selector if
1365 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/hildon-touch-selector.c: Small documentation fixes.
1369 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1371 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1373 * src/hildon-entry.c (hildon_entry_refresh_contents),
1374 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1375 widget name, set the logical color directly instead and a boolean
1376 showing_placeholder instead.
1377 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1378 use the widget name here either.
1380 Fixes: NB#105678 (HildonTextView should use logical colours
1381 instead of setting widget name)
1383 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1385 Patch by Daniel Elster (danielk@openismus.com)
1387 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1388 Add user_data parameter.
1389 (hildon_touch_selector_set_print_func_full): New function akin
1390 hildon_touch_selector_set_print_func() but with support for user
1391 data and a destroy callback.
1392 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1393 to clean up the print function user data.
1394 (hildon_touch_selector_class_init): Install dispose function.
1395 (HildonTouchSelectorPrivate::print_user_data),
1396 (HildonTouchSelectorPrivate::print_destroy_func): New private
1398 (hildon_touch_selector_init): Initialize new private members.
1399 (hildon_touch_selector_get_current_text): Pass along user data
1400 to the print function.
1401 (_default_print_func): Add dummy user_data to parameter list.
1402 * hildon-date-selector.c (_custom_print_func): ditto,
1403 * hildon-time-selector.c (_custom_print_func): ditto,
1404 * hildon-touch-selector-entry.c
1405 (hildon_touch_selector_entry_print_func): ditto.
1407 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1409 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1411 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1413 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1415 * src/hildon-pannable-area.c,
1416 (hildon_pannable_area_init),
1417 (hildon_pannable_area_button_press_cb),
1418 (hildon_pannable_area_motion_notify_cb): We have added code to
1419 handle the leave and enter events when using the motion events.
1421 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1423 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-date-button.c (hildon_date_button_get_date)
1426 (hildon_date_button_set_date): Make sure that the button has a
1429 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1431 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_class_init),
1435 (hildon_pannable_area_calculate_velocity): Modify the use of the
1436 force and adapt the value.
1438 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1441 (hildon_app_menu_class_init): Hide the menu if it receives a
1442 delete-event, but don't destroy it
1444 Fixes: NB#104485 (Not able to address the call when application
1445 menu is opened at background)
1447 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-app-menu.c
1450 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1451 Remove the "external-border" style property, let the menu take its
1452 natural size (or the one set by the window manager)
1453 (hildon_app_menu_repack_items):
1454 Don't reshow the menu, avoid flickers.
1456 Partially fixes NB#94957 (Smoothly opened application menu)
1458 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: Bump version.
1464 * debian/changelog: Updates.
1466 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1468 * src/hildon-pannable-area.c,
1469 (hildon_pannable_area_motion_notify_cb): We control that the
1470 direction error margin is used just in case the movement is
1471 allowed in the other direction.
1473 Fixes: NB#105012 (buttons inside a pannable area not getting
1474 release event when dragging/releasing)
1476 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1478 * src/hildon-pannable-area.c,
1479 (hildon_pannable_area_class_init),
1480 (hildon_pannable_area_get_property),
1481 (hildon_pannable_area_set_property),
1482 (hildon_pannable_area_initial_effect),
1483 (hildon_pannable_axis_scroll),
1484 (hildon_pannable_area_button_release_cb): Reviewed the
1485 overshooting effect, now it has its own max
1486 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1487 speed when bouncing.
1489 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1494 * configure.ac: Bump version.
1495 * debian/changelog: Updates.
1497 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1499 * src/hildon-pannable-area.c,
1500 (hildon_pannable_area_class_init): Changed the max speed, now
1501 users can launch the widget very fast. Reduced the default force,
1502 that way it is easier to control the launch speed.
1504 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1506 * src/hildon-pannable-area.c,
1507 (hildon_pannable_area_button_release_cb): Removed this check
1508 because it causes problems when the device is overloaded.
1510 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1513 add a current_text field to store the text entered in the
1514 touch selector entry.
1515 (_clean_current_selection): clean up the current text as well.
1516 (_save_current_selection), (_restore_current_selection):
1517 Save/restore the text in the entry if the selector is a
1518 HildonTouchSelectorEntry.
1520 Fixes: NB#102541 (value entered in the touch selector entry is not
1521 shown when opened for second time)
1523 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1525 * doc/hildon-sections.txt:
1526 * src/hildon-touch-selector-entry.c
1527 (+hildon_touch_selector_entry_get_entry):
1528 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1530 Fixes: NB#104815 (I need accessor to the entry inside
1531 HildonTouchSelectorEntry)
1533 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1536 (hildon_app_menu_class_init):
1537 New "filter-vertical-spacing" style property.
1539 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-find-toolbar.c
1542 (hildon_find_toolbar_emit_close)
1543 (hildon_find_toolbar_emit_invalid_input)
1544 (hildon_find_toolbar_entry_activate):
1545 Use g_signal_emit() instead of g_signal_emit_by_name()
1547 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1549 Patch by Mox Soini (ext-mox.soini@nokia.com)
1551 * tests/TEST-CASES.txt
1552 * tests/check-hildon-banner.c
1553 * tests/check-hildon-note.c
1554 * src/hildon-banner.c
1555 * src/hildon-code-dialog.c
1556 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1557 * src/hildon-time-editor.c
1558 * examples/hildon-lookup-example.c (main):
1559 Replace obsolete icon names with new ones.
1561 * src/hildon-find-toolbar-private.h:
1562 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1563 (-hildon_find_toolbar_emit_search):
1564 Remove find button and change icon of close button.
1566 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1568 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-time-button.c (hildon_time_button_new_step):
1571 Use the "touch-selector" property to set the selector directly
1572 when creating the object.
1574 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1576 Added a new example application that allows tuning the pannable
1577 area and replaced defines with properties in order to simplify the
1578 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1579 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1580 PROP_DIRECTION_ERROR_MARGIN.
1582 * examples/hildon-pannable-area-tuning-example.c: New example
1584 * src/hildon-pannable-area.c,
1585 (hildon_pannable_area_class_init),
1586 (hildon_pannable_area_init),
1587 (hildon_pannable_area_get_property),
1588 (hildon_pannable_area_set_property),
1589 (hildon_pannable_area_launch_fade_timeout),
1590 (hildon_pannable_area_adjust_value_changed),
1591 (hildon_pannable_axis_scroll),
1592 (hildon_pannable_area_motion_notify_cb),
1593 (hildon_pannable_area_scroll_cb),
1594 (hildon_pannable_area_button_release_cb): We have converted some
1595 of the defines that control the widget to properties to simplify
1598 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-app-menu.c (hildon_app_menu_map)
1601 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1602 so it's closed if a new window appears.
1604 Fixes: NB#104485 (Not able to address the call when application
1605 menu is opened at background)
1607 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1610 missing 'break' statement in in 'case' construct to avoid
1613 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-touch-selector-entry.c
1616 (hildon_touch_selector_entry_get_property),
1617 (hildon_touch_selector_entry_set_property): Add missing 'break'
1618 statements in in 'case' constructs to avoid incorrect warnings.
1620 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-time-editor.c
1623 (hildon_time_editor_get_time_separators): Do not crash if
1624 the first label is NULL.
1626 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-date-selector.c (_month_days): Check for month to be
1629 strictly less than 12, since otherwise we may overrun the array.
1631 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1633 * src/hildon-date-button.c (+hildon_date_button_new_full)
1634 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1635 (hildon_date_button_init): Set the date selector using a
1636 construction property, to make it happen after HildonButton's
1637 "value" property is set.
1639 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1640 current date by default)
1642 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1644 * doc/hildon-sections.txt
1645 * src/hildon-program.c
1646 * src/hildon-stackable-window.c
1647 * src/hildon-window.c:
1648 Documentation updates
1650 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1652 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1653 (hildon_window_stack_new, +hildon_window_stack_set_property)
1654 (+hildon_window_stack_get_property)
1655 (hildon_window_stack_class_init)
1656 (+hildon_window_stack_set_window_group)
1657 (+hildon_window_stack_get_window_group):
1658 Make the window group a construction property.
1660 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1662 * doc/hildon-sections.txt
1663 * src/hildon-stackable-window-private.h
1664 * src/hildon-stackable-window.h
1665 * src/hildon-stackable-window.c
1666 (-hildon_stackable_window_set_app_menu)
1667 (-hildon_stackable_window_get_app_menu)
1668 (-hildon_stackable_window_toggle_menu)
1669 (-hildon_stackable_window_finalize)
1670 (hildon_stackable_window_class_init)
1671 (hildon_stackable_window_init)
1672 * src/hildon-window-private.h
1673 * src/hildon-window.h
1674 * src/hildon-window.c (hildon_window_init)
1675 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1676 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1677 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1678 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1679 Moved all HildonAppMenu code to HildonWindow. The menu does not
1680 require a HildonStackableWindow anymore.
1682 * src/hildon-app-menu.c
1683 * src/hildon-program.c
1684 * examples/hildon-app-menu-example.c (main):
1685 Update examples and documentation to reflect HildonAppMenu
1688 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-remote-texture.c
1691 * src/hildon-animation-actor.c:
1692 Don't include unused private headers.
1694 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-program-private.h
1697 * src/hildon-program.c
1698 (hildon_program_set_common_menu)
1699 (hildon_program_get_common_menu)
1700 (hildon_program_set_common_app_menu)
1701 (hildon_program_get_common_app_menu):
1702 Change common menu pointers from GtkWidget* to GtkMenu* and
1703 HildonAppMenu* to avoid unnecessary casts.
1705 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-window.c (hildon_window_set_main_menu):
1708 Removed incorrect 'Since:' tag
1710 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1712 * src/hildon-pannable-area.c,
1713 (hildon_pannable_area_calculate_velocity): We use now the
1714 RATIO_TOLERANCE here to check the distance, fixed typo in the
1716 (hildon_pannable_area_motion_notify_cb): We have to set the type
1717 and time even if we are not sending the motion.
1719 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1721 * doc/hildon-sections.txt
1722 * src/hildon-app-menu.h
1723 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1724 (+hildon_app_menu_get_filters): New methods to get the contents of
1727 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1730 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-app-menu.c (hildon_app_menu_popup):
1735 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-window.h
1738 * src/hildon-window.c (+hildon_window_get_main_menu)
1739 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1740 and deprecated hildon_window_get_menu().
1742 * src/hildon-stackable-window.h
1743 * src/hildon-stackable-window.c
1744 (+hildon_stackable_window_set_app_menu)
1745 (+hildon_stackable_window_get_app_menu)
1746 (hildon_stackable_window_set_main_menu): Created
1747 hildon_stackable_window_{get,set}_app_menu() and deprecated
1748 hildon_stackable_window_set_main_menu().
1750 * doc/hildon-sections.txt
1751 * examples/hildon-app-menu-example.c (main)
1752 * src/hildon-app-menu.c
1753 * src/hildon-program.c:
1754 Updated examples and documentation.
1756 Fixes: NB#103758 (No way to obtain a menu from a
1757 HildonStackableWindow)
1759 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1764 * configure.ac: Bump version.
1765 * debian/changelog: Updates.
1767 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1769 * examples/hildon-remote-texture-example.c: Include
1770 hildon-remote-texture.h explicitely.
1771 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1772 applications not defining _XOPEN_SOURCE which don't require this header.
1774 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1776 * doc/hildon-sections.txt
1777 * src/hildon-app-menu.h
1778 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1779 New function to pop up a HildonAppMenu
1781 * src/hildon-stackable-window.c
1782 (hildon_stackable_window_toggle_menu):
1783 Use hildon_app_menu_popup() to show the menu.
1785 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-app-menu.c (hildon_app_menu_show)
1788 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1789 menu if there's another window between it and its parent window.
1791 Fixes: NB#100468 (Application menu window is launched even when a
1792 new secondary-window/dialog is pending to be shown/realized)
1794 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1796 * src/hildon-window-stack.c (hildon_window_stack_push)
1797 (hildon_window_stack_pop_and_push):
1798 Don't forget to push/pop the first window.
1799 Reverse the window list before calling _push_list()
1801 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-picker-button.h
1804 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1805 Remove "value_changed" slot to avoid ABI breakage
1807 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1809 * src/hildon-pannable-area.c,
1810 (hildon_pannable_area_realize),
1811 (hildon_pannable_area_unrealize),
1812 (hildon_pannable_draw_vscroll),
1813 (hildon_pannable_draw_hscroll): Changed the method to handle the
1814 GC used to draw the transparent scrollbar, this way we avoid
1815 creating the GC all the time when drawing the scrollbars.
1817 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1819 * src/hildon-pannable-area.c,
1820 (hildon_pannable_area_init),
1821 (hildon_pannable_area_remove): Removed some unnecessary casts.
1822 (hildon_pannable_area_dispose): Disconnected some signals before
1823 releasing the adjustments.
1825 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1828 Make sure that all widgets contained in the toolbar are shown.
1830 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1832 * doc/hildon-sections.txt
1833 * src/hildon-picker-button.h
1834 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1835 (_selection_changed, hildon_picker_button_on_dialog_response)
1836 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1837 New hildon_picker_button_value_changed() method.
1840 * src/hildon-picker-button-private.h
1841 * src/hildon-picker-button.c (hildon_picker_button_init)
1842 (+hildon_picker_button_disable_value_changed): Add protected
1843 function for disabling the "value-changed" signal.
1845 * src/hildon-date-button.c (hildon_date_button_set_date):
1846 Don't emit "value-changed" for each one of the three columns.
1848 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1849 before actual change of values)
1851 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1855 for the treeview overshooting.
1857 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-banner.c (+hildon_banner_bind_style):
1860 Renamed from hildon_banner_bind_label_style(), now naming the
1861 banner itself as well.
1862 (hildon_banner_show_information),
1863 (hildon_banner_show_information_with_markup),
1864 (hildon_banner_show_animation), (hildon_banner_show_progress):
1865 Name the widgets and labels, based on their type.
1867 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1870 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-note.c (hildon_note_set_property): call
1873 hildon_note_rename() on HildonNote:note-type set.
1874 (hildon_note_rename): Name the note and its label, based on the
1875 HildonNote:note-type property.
1877 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1880 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 (hildon_pannable_area_class_init),
1884 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1885 panning parameters, increased SPS and deceleration factor. Added
1886 also a margin to control fake directions.
1888 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1890 Patch by Sven Herzberg (sven@imendio.com)
1892 * configure.ac: Add missing AM_PROG_CC_C_0
1893 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1895 See NB#101420 (Update unit tests and fix make check)
1897 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1899 This patch was applied before but reverted because it caused
1900 problems, we have changed the main condition and tested the
1901 regressions we detected before and they work ok. We have done a
1902 complete review of the topmost algorithm in order to get a more
1905 * src/hildon-pannable-area.c,
1906 (hildon_pannable_area_get_topmost): Added a new parameter to
1907 filter the the windows that do not include those events.
1908 (hildon_pannable_area_button_press_cb),
1909 (hildon_pannable_area_button_release_cb),
1910 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1911 topmost function, we have added the new parameter.
1913 Fixes: NB#97458 (Pannable area prevents propagation of button
1916 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1918 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1919 if all columns in the selector have an item selected.
1920 (_on_dialog_response): Stop "response" signal emission if there is
1921 any selector column without selected items.
1923 Fixes: NB#101889 (Picker dialog should not close when nothing is
1924 selected in multiple selection list)
1926 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1928 * src/hildon-font-selection-dialog.c
1929 (hildon_font_selection_dialog_class_init),
1930 (hildon_font_selection_dialog_init): Remove the preview
1931 button and dialog, since previewing with default theming is likely
1932 to be overcomplicated. The :preview property has now no effect.
1933 Update documentation blurbs to inform about this.
1935 Fixes: NB#92297 (Preview content is not clearly visible for
1936 default colour text)
1938 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1940 Reviewed the geometry that handles the children size and
1941 scrollbar, now it tries a size and reviews the results depending
1942 on the scrollbars visibility.
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_area_realize): Fixed a typo.
1946 (hildon_pannable_area_child_allocate_calculate): Added this
1947 function to calculate the child allocation.
1948 (hildon_pannable_area_size_allocate): Reviewed the allocation
1950 (hildon_pannable_area_check_scrollbars),
1951 (hildon_pannable_area_refresh): Refactored refresh function, this
1952 way we can call the code handling the scrollbars without causing a
1953 size_request, it is interesting in the allocate.
1954 (hildon_pannable_area_init): Replace the callbacks of the
1955 value_changed and changed signals to propertly deal with the
1957 (hildon_pannable_area_grab_notify),
1958 (hildon_pannable_area_initial_effect),
1959 (hildon_pannable_area_launch_fade_timeout),
1960 (hildon_pannable_area_adjust_changed),
1961 (hildon_pannable_area_adjust_value_changed),
1962 (hildon_pannable_area_redraw),
1963 (hildon_pannable_area_button_press_cb),
1964 (hildon_pannable_area_button_release_cb),
1965 (hildon_pannable_area_scroll_cb),
1966 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1967 code and use the new functions adjust_changed and
1968 adjust_value_changed.
1970 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1971 Contact editor dialog)
1973 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1978 * configure.ac: Bump version.
1979 * debian/changelog: Updates.
1981 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_get_topmost),
1985 (hildon_pannable_area_button_press_cb),
1986 (hildon_pannable_area_button_release_cb),
1987 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1988 topmost function adding the event mask. We have to try a
1989 differente approach because it is still causing problems (NB#9745,
1992 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-banner.c:
1995 Update the maximum width of timed banners.
1996 (force_to_wrap_truncated): Enforce the maximum text width if the
1999 Fixes: NB#102413 (The text margins (wrapping) in information
2000 banner should be HILDON_MARGIN_TRIPLE)
2002 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2004 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2006 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2007 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2008 bound when calculating the scroll indicator position.
2010 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2011 treat ->lower correctly)
2013 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2016 expose event handling, since it is not necessary to draw the focus
2019 Fixes: NB#102467 (Do not show highlight on the text in
2022 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2025 full height of the toolbar for the button and the label.
2027 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2030 padding before the label and after the button.
2032 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2036 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2037 Add a GtkVSeparator between the button and the back arrow.
2038 Let the button have automatic size.
2039 Set a name to the widget for theming handling.
2041 Fixes: NB#101793 (Make edit toolbar the same height as window
2042 title bar (use title area theming))
2044 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2046 * src/hildon-helper.c (attach_new_color_element): Fix memory
2049 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2051 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2053 * examples/hildon-button-example.c (common_buttons_window): Don't
2056 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2058 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2059 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2061 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-gtk.c: Check that the window is realized.
2065 Fixes: NB#102225 (Crash setting the progress indicator to a non
2068 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2071 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2072 instead of modifying the one in the widget style.
2074 Fixes: NB#101043 (Second row of all the command button are
2075 displayed in transparent mode.)
2077 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-date-button.c
2080 * src/hildon-time-button.c: Add gettext macros
2082 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2084 * src/hildon-date-button.c (hildon_date_button_new):
2085 * src/hildon-time-button.c (hildon_time_button_new_step):
2086 Use new logical strings to set the button default title.
2088 Fixes: NB#99915 (Date and Time options are not localised in Date
2091 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2093 * src/hildon-pannable-area.c
2094 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2095 the PANNING_THRESHOLD.
2097 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2099 * src/hildon-pannable-area.c,
2100 (hildon_pannable_area_class_init): Increased the maximum speed.
2101 (hildon_pannable_area_get_property),
2102 (hildon_pannable_area_set_property),
2103 (hildon_pannable_area_timeout): Added a new low friction mode, it
2104 allows the user avoid friction when launching the widget fast
2105 enough. It is interesting to traverse long lists.
2107 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2110 (+hildon_stackable_window_delete_event): Ignore delete events if
2111 the window is not the topmost one.
2113 Fixes: NB#101698 (Back button long press and delete-event handling)
2115 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2119 gtk-dnd-drag-threshold, it was too big. We have defined our own
2120 dnd define and set a smaller value: PANNIG_THRESHOLD.
2122 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2125 user-defined icons, use always the default one.
2127 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2129 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2131 This patch was applied before but reverted because it caused
2132 problems, we have changed the main condition and tested the
2133 regressions we detected before and they work ok.
2135 * src/hildon-pannable-area.c,
2136 (hildon_pannable_area_get_topmost): Added a new parameter to
2137 filter the the windows that do not include those events. Added
2138 also a condition when finding the window to filter windows that do
2139 not ask for those events.
2140 (hildon_pannable_area_button_press_cb),
2141 (hildon_pannable_area_button_release_cb),
2142 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2143 topmost function, we have added the new parameter.
2145 Fixes: NB#97458 (Pannable area prevents propagation of button
2148 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2150 * tests/check-hildon-color-button.c (START_TEST): do not leak
2153 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-font-selection-dialog.c
2156 (hildon_font_selection_dialog_get_preview_text): Return NULL
2157 instead of FALSE on the g_return_val_if_fail().
2159 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2161 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2162 * src/hildon-date-selector.c
2163 (hildon_date_selector_select_current_date):
2164 Do not compare unsigned integers to be greater than or equal 0,
2165 because it's always TRUE.
2167 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2169 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2170 (hildon_date_selector_constructor): Do not select the current
2171 date until we are handle the "changed" signal, to avoid having bogus
2172 elements in the days model.
2174 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2176 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2177 for num_days, since _month_days() can return a negative value.
2179 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-caption.c (hildon_caption_size_allocate):
2182 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2183 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2185 Initialize allocation variables to 0, to avoid eventually using
2186 unitialized variables.
2188 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-bread-crumb-trail.c
2191 (hildon_bread_crumb_trail_size_allocate):
2192 * src/hildon-calendar.c (hildon_calendar_set_background):
2193 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2194 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2195 * src/hildon-seekbar.c (hildon_seekbar_init):
2196 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2197 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2198 * src/hildon-touch-selector-entry.c
2199 (hildon_touch_selector_get_text_from_model):
2200 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2201 * src/hildon-window.c (hildon_window_finalize):
2203 Remove many unused variables.
2205 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2207 * src/hildon-seekbar.c: (hildon_seekbar_init),
2208 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2210 Remove unnecessary g_assert() calls.
2212 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2214 * src/hildon-caption.c: (hildon_caption_expose),
2215 (hildon_caption_set_property), (hildon_caption_init),
2216 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2217 (hildon_caption_size_request), (hildon_caption_size_allocate),
2218 (hildon_caption_forall), (hildon_caption_set_separator),
2219 (hildon_caption_activate), (hildon_caption_set_child_expand),
2220 (hildon_caption_set_label_text),
2221 (hildon_caption_get_label_alignment):
2223 Remove unnecessary g_assert() calls.
2225 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-banner.c
2228 (hildon_banner_map, hildon_banner_init): Make banner temporary
2229 before mapping it to avoid closing other temporary windows, but
2230 make it non-temporary afterwards to avoid being closed by other
2231 non-temporary windows.
2232 (-hildon_banner_client_event, hildon_banner_init):
2233 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2235 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2238 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2243 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2245 * src/hildon-remote-texture.c
2246 * src/hildon-remote-texture.h
2247 * src/hildon-remote-texture-private.h
2248 * examples/hildon-remote-texture-example.c:
2249 Updates/fixes to remote-texture and its example.
2251 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2253 Patch by Mox Soini (ext-mox.soini@nokia.com)
2255 * src/hildon-code-dialog.c: Update logical id.
2256 * src/hildon-set-password-dialog.c: Update logical id.
2258 Fixes: NB#100646 (Logical strings is shown for ok in set
2259 password,Password needed dialogs)
2261 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2264 * src/hildon-remote-texture.c
2265 * src/hildon-remote-texture.h
2266 * src/hildon-remote-texture-private.h
2268 Added remote texture widget (for Clutter shared memory textures)
2270 * examples/hildon-remote-texture-example.c
2271 * examples/Makefile.am
2272 Added example file for remote texture usage
2274 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2276 * configure.ac: post release version bump.
2277 * debian/changelog: version bump.
2279 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2284 * configure.ac: Bump version.
2285 * debian/changelog: Updates.
2287 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-date-selector.c (hildon_date_selector_init)
2290 (hildon_date_selector_constructor): Don't connect to the "changed"
2291 signal until the selector is completely constructed.
2293 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-touch-selector.c: (_create_new_column),
2296 (hildon_touch_selector_append_column),
2297 (hildon_touch_selector_set_column_selection_mode),
2298 (hildon_touch_selector_set_active),
2299 (hildon_touch_selector_select_iter):
2300 Emit the HildonTouchSelector::changed signal every time selection
2301 is changed in any of the methods above. This behavior was already
2302 documented but not fully functional.
2304 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2305 selection is programmatically changed)
2307 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2309 * doc/hildon-sections.txt: Remove obsolete icon
2310 sizes from here as well.
2312 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2314 * examples/hildon-stackable-window-example.c (add_window): Remove
2317 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-app-menu.c
2320 (hildon_app_menu_show): Check whether the parent window of a menu
2321 is topmost before popping it up.
2323 Fixes: NB#100468 (Application menu window is launched even when a
2324 new secondary-window/dialog is pending to be shown/realized.)
2326 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2328 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2331 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2333 Patch by Mox Soini (ext-mox.soini@nokia.com)
2335 * src/hildon-banner.c: (hildon_banner_show_animation):
2336 use stylus size instead of obsolete note size.
2337 * src/hildon-defines.h: Update icon sizes.
2339 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-touch-selector-entry.c:
2342 (hildon_touch_selector_entry_init): Disable unsupported
2344 (hildon_touch_selector_entry_get_text_column): Emit a warning
2345 if an unsupported input modes is used and explicitile state
2346 these modes in the documentation.
2348 Fixes: NB#99802 (Hildon touch selector entry not working properly
2349 for some of the input modes)
2351 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2353 * src/hildon-pannable-area.c,
2354 (hildon_pannable_area_init): Added the changed signal handlers of
2357 Fixes: NB#100320 (HildonPannableArea does not listen to
2358 GtkAdjustment "change" signals)
2360 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2362 * doc/hildon-sections.txt
2363 * src/hildon-window-private.h
2364 * src/hildon-window.h
2365 * src/hildon-window.c (hildon_window_init)
2366 (hildon_window_realize, hildon_window_unrealize)
2367 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2368 (hildon_window_size_request, hildon_window_size_allocate)
2369 (hildon_window_forall, hildon_window_show_all)
2370 (hildon_window_destroy, +paint_edit_toolbar)
2371 (+hildon_window_set_edit_toolbar):
2372 New hildon_window_set_edit_toolbar() method, to add a
2373 HildonEditToolbar to a window without having to pack it manually.
2375 Reorganize hildon_window_size_allocate()
2377 * src/hildon-edit-toolbar.c: Update documentation.
2379 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2380 example to use the new API.
2382 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2384 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2387 Remove from stack before calling parent's hide.
2389 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2392 window is removed from the middle of the stack, update the
2393 transiency of the previous one.
2395 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2398 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2401 block/unblock the signal handler if it's not actually being used.
2402 Fixes some critical warnings.
2404 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2406 Based on a patch by Iván Gómez (igomez@igalia.com)
2408 * src/hildon-banner.c
2412 * src/hildon-pannable-area.c
2413 * src/hildon-picker-dialog.c
2414 * src/hildon-wizard-dialog.h
2415 * src/hildon-wizard-dialog.c: Documentation updates.
2417 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2418 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2420 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2422 * configure.ac: post release version bump.
2423 * debian/changelog: version bump.
2425 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2430 * configure.ac: Bump version.
2431 * debian/changelog: Updates.
2433 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2436 a stock icon nor change the relief of the back arrow.
2438 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2439 graphics from theme)
2441 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-button.c (hildon_button_set_alignment): Use
2444 priv->alignment if the button has no child yet.
2446 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-button.c: (hildon_button_init): Set the
2449 button style during initialization to give it the proper
2452 Fixes: NB#99713 (HildonButton value label color is wrong)
2454 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector.c: Document
2457 hildon_touch_selector_center_on_selected()
2459 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2462 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2463 all menu items, but not the menu itself.
2464 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2465 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2466 items after adding them to the menu so keyboard accelerators work.
2467 (hildon_app_menu_show): Don't show the menu if it contains items
2468 but none of them are visible.
2470 * examples/hildon-app-menu-example.c (create_menu): Use
2471 gtk_widget_show_all() to show all menu items.
2473 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-picker-dialog.c:
2476 (-_update_title_on_selector_changed_cb),
2477 (-_dialog_update_title): Removed.
2478 (_select_on_selector_changed_cb), (_on_dialog_response),
2479 (on_selector_columns_changed): Do not update the dialog title.
2480 (setup_interaction_mode): Do not connect to
2481 HildonTouchSelector::changed signal if there's a "done" button, as
2482 the dialog title doesn't need to be updated.
2484 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2487 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2489 Patch by Kristian Rietveld (kris@imendio.com)
2491 * src/hildon-touch-selector.c: (_create_new_column): Use new
2492 GtkTreeView::hildon-row-tapped signal to react to user interactions
2493 instead of ::changed.
2495 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2496 with some dynamic tree model)
2498 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2501 (+screen_size_changed, +label_size_request)
2502 (hildon_note_class_init): Make the Hildon information note have a
2503 minimum height, and make its text hvae a maximum width.
2505 Fixes: NB#98614 (Hildon information note (background) should have
2506 minimum height and maximum text width)
2508 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-banner.h
2511 * src/hildon-banner.c (hildon_banner_show_information)
2512 (hildon_banner_show_informationf)
2513 (hildon_banner_show_information_with_markup): Update documentation
2514 to reflect that the icon_name parameter is not used anymore.
2515 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2516 Remove all code from these functions and mark them as deprecated.
2517 (hildon_banner_show_progress): Mark as deprecated.
2519 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2521 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2523 * src/hildon-pannable-area.c,
2524 (hildon_pannable_area_class_init),
2525 (tranparency_color),
2526 (hildon_pannable_draw_vscroll),
2527 (hildon_pannable_draw_hscroll),
2528 (hildon_pannable_area_expose_event): Added a new way to render the
2529 scrollbars of the pannable area avoiding using cairo at all. This
2530 way we improve the performance of the pannable area rendering. The
2531 cairo rendering procedure is still in the code, we can control
2532 which one to use changing the value of the define
2533 USE_CAIRO_SCROLLBARS.
2535 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2537 * configure.ac: post release version bump.
2538 * debian/changelog: version bump.
2540 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2545 * configure.ac: Bump version.
2546 * debian/changelog: Updates.
2548 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2550 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2551 banners instead of destroying them when they receive a button
2554 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2556 Reverted commit 34028, it was causing regressions, probably the
2557 topmost condition is not correct, we have to check it in more
2558 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2559 propagation of button press events)
2561 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2563 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2564 that the selection is not empty before attempting to retrieve the
2565 current ampm selection.
2567 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2569 * src/hildon-picker-button.c:
2570 (hildon_picker_button_on_dialog_response): Directly update the
2571 button contents when required instead of calling _selection_changed.
2573 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-program.c (hildon_program_update_top_most): Update
2576 'is-topmost' property also when wm_hints is not set.
2578 Fixes: NB#98383 (is-topmost signal is not emitted when task
2579 switcher is clicked.)
2581 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2583 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2587 * src/hildon-animation-actor.c,
2588 * src/hildon-animation-actor.h: Added the animation actor class,
2589 this widget represents an animation actor for WM-assisted
2590 animation effects in the Hildon framework.
2592 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-window-stack-private.h
2595 * src/hildon-window-stack.c
2596 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2597 Avoid calling gtk_widget_show() again indirectly from
2598 hildon_stackable_window_show()
2600 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2605 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2607 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2608 (hildon_time_selector_init): Move the construction of the hours and
2609 ampm columns to the constructor to preserve the order the columns
2612 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-picker-dialog.c:
2615 (hildon_picker_dialog_class_init): Connect a realize method.
2616 (+hildon_picker_dialog_realize): Setup the interaction mode here
2618 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2619 yet, do it during the realize instead.
2620 (_on_dialog_response):
2621 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2622 if the widget is not realized, to avoid the dialog response before it
2625 Avoid premature responses in the HildonPickerDialog that can cause it
2626 to be hidden before it's even shown.
2628 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2631 (on_selector_columns_changed), (requires_done_button),
2632 (+prepare_action_area), (setup_interaction_mode),
2633 (_hildon_picker_dialog_set_selector):
2635 Split the interaction mode setup into preparation of the
2636 action area (prepare_action_area()) and the connection of
2637 the signals in setup_interaction_mode() and update the code to
2640 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2642 * src/hildon-pannable-area.c,
2643 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2644 per second to 15, we will check if this is ok regarding
2647 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_axis_scroll): Avoid resize if we already have
2651 reached overshoot_max.
2653 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_init),
2657 (hildon_pannable_area_realize),
2658 (hildon_pannable_area_size_allocate),
2659 (hildon_pannable_area_map),
2660 (hildon_pannable_area_unmap),
2661 (hildon_pannable_draw_vscroll),
2662 (hildon_pannable_draw_hscroll),
2663 (hildon_pannable_area_expose_event),
2664 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2665 pannable are to avoid the expose events go to the window and
2666 redraw the window. We save this way that part of the stack and the
2667 paint_boxes. We had to change the positions of the elements when
2670 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2673 * src/hildon-color-chooser-dialog.c:
2674 (hildon_color_chooser_dialog_init):
2675 * src/hildon-font-selection-dialog.c:
2676 (hildon_font_selection_dialog_init),
2677 (hildon_font_selection_dialog_show_preview):
2678 * src/hildon-get-password-dialog.c:
2679 * src/hildon-login-dialog.c:
2680 * src/hildon-set-password-dialog.c:
2681 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2682 * src/hildon-time-picker.c: (hildon_time_picker_init):
2684 Remove obsolete logical string IDs and update to the appropriate ones.
2686 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2688 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2691 that happens if the window hasn't been realized yet.
2693 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2694 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2696 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2699 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2702 Fixes: NB#98537 (Device hangs in account settings dialog)
2704 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2706 * configure.ac: post release version bump.
2707 * debian/changelog: version bump
2709 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2714 * configure.ac: Bump version.
2715 * debian/changelog: Updates.
2717 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2719 Added a new function to the HildonTimeButton widget that allows to
2720 change the step of the minutes in the selector associated with the
2721 button: hildon_time_button_new_step
2723 * src/hildon-time-button.c,
2724 (hildon_time_button_init),
2725 (hildon_time_button_new),
2726 (hildon_time_button_new_step):
2727 * src/hildon-time-button.h: Added the new function and refactored
2729 * examples/hildon-time-button-example.c,
2730 (main): We have replaced the function without parameters with the
2731 function with the steps set to 5
2733 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2735 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2737 * src/hildon-time-selector.c,
2738 (hildon_time_selector_class_init),
2739 (hildon_time_selector_constructor),
2740 (hildon_time_selector_get_property),
2741 (hildon_time_selector_set_property),
2742 (_create_minutes_model),
2743 (hildon_time_selector_new_step),
2744 (hildon_time_selector_set_time),
2745 * src/hildon-time-selector.h: Added a new property to the
2746 HildonTimeSelector (minutes-step), we use that property to control
2747 the steps between the minutes in the list of the selector. We have
2748 added a new function to the API to create a widget changing the
2749 step: hildon_time_selector_new_step.
2751 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2753 * src/hildon-time-selector.c,
2754 (hildon_time_selector_class_init),
2755 (hildon_time_selector_constructor),
2756 (hildon_time_selector_init): Overrided the construct function when
2757 creating the time selector object. We have moved the minutes model
2758 handling code from the init to the new construction function:
2759 hildon_time_selector_constructor.
2761 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2763 * examples/hildon-date-button-example.c: (main): Use the new
2764 hildon_date_button_new_with_year_range() method in the example.
2765 * src/hildon-date-button.c:
2766 (+hildon_date_button_new_with_year_range): New public method
2767 to conveniently create a HildonDateButton with a custom year range
2768 in its HildonDateSelector.
2769 * src/hildon-date-button.h: Add the new public method definition.
2771 Fixes: NB#97908 (Not possible to change the year range in
2772 HildonDateSelector/HildonDateButton)
2774 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2776 * src/hildon-date-selector.c:
2777 (+hildon_date_selector_set_property),
2778 (+hildon_date_selector_get_property),
2779 (hildon_date_selector_class_init): Install new properties "min-year"
2780 and "max-year" to define boundaries for the year column.
2781 (_create_year_model): Use the boundary properties to populate the model.
2782 (+hildon_date_selector_new_with_year_range): New public method to
2783 create a HildonDateSelector with a user defined year range.
2784 (hildon_date_selector_select_current_date): Use the new boundaries to
2785 calculate the iterator of current year.
2786 * src/hildon-date-selector.h: Add the new public method definition.
2788 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2791 Install a constructor method.
2792 (+hildon_date_selector_construct_ui): construct the widget.
2793 (+hildon_date_selector_constructor): new constructor.
2794 (+hildon_date_selector_init): move out widget construction code to
2795 the new constructor.
2797 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2800 that there's actually a month or year selected before obtaining them.
2801 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2802 of the HildonTouchSelector::changed signal, as it was emitted on every
2803 single item selection.
2805 Fix some warnings and possible crashers due to the selection restoring.
2807 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2810 the signal handlers only after creating the dialog instead of on every
2813 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-button.c (hildon_button_init)
2816 * src/hildon-check-button.c (hildon_check_button_init)
2817 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2818 focus when clicked by default.
2820 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2825 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2827 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2828 Alejandro G. Castro (alex@igalia.com)
2830 * src/hildon-picker-dialog.c:
2831 (hildon_picker_dialog_class_init): install new "center-on-show"
2833 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2834 (hildon_picker_dialog_set_property): add setter code for the new
2836 (hildon_picker_dialog_get_property): add getter code for the new
2838 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2839 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2842 Fixes: NB#92849 (Selected item is not always visible when
2843 HildonTouchSelector is shown)
2845 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2847 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2848 Alejandro G. Castro (alex@igalia.com)
2850 * src/hildon-touch-selector.c:
2851 (_create_new_column): Do not connect to the "realize" signal of the
2853 (hildon_touch_selector_append_column): center on the selected items
2854 when a new column is appended.
2855 (hildon_touch_selector_select_iter): Factor out the code to select a
2856 column to hildon_touch_selector_scroll_to().
2857 (+search_nearest_element): Method to retrieve the nearest selected
2858 element to the visible area of the pannable area in a column.
2859 (+on_realize_cb): scroll to the initially selected item.
2860 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2861 the pannable area is realized, otherwise delay this until it is.
2862 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2863 selected items of a given column.
2864 (+hildon_touch_selector_center_on_selected): Public method to center
2865 all columns on the nearest selected item.
2866 * src/hildon-touch-selector.h: Add definition for
2867 hildon_touch_selector_center_on_selected().
2869 Implement public API to ensure visibility of all selected items in
2870 a HildonTouchSelector.
2872 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2874 Fixed a problem in the fading when calling the scroll_to API, and
2875 improve scrollbar fading handling.
2877 * src/hildon-pannable-area.c,
2878 (hildon_pannable_area_grab_notify): avoid the timeout when the
2880 (hildon_pannable_area_button_press_cb),
2881 (hildon_pannable_area_motion_notify_cb): Code style changes.
2882 (hildon_pannable_area_button_release_cb): Review the conditions
2883 when releasing the mouse button to avoid unrequired fading
2885 (hildon_pannable_area_scroll_to): Do not calculate and set the
2886 velocity if the scroll is not required.
2888 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2890 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2891 Don't check whether the new selector is NULL: it cannot be.
2892 Hold a reference to the selector while doing the replacement.
2894 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2897 unnecessary size_request in a removed widget.
2899 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2902 an unnecessary reference tracking that was leaking.
2904 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2906 Added delayed motion notify event handling, this way we can
2907 discard redrawing if more than 25 events arrive per second.
2909 * src/hildon-pannable-area.c,
2910 (hildon_pannable_area_init): Initialized the new private atributes
2911 controlling this timeout
2912 (hildon_pannable_area_dispose): Remove the timeout that controls
2913 the motion notify events.
2914 (hildon_pannable_area_scroll): Added a condition to control the
2915 use of the acceleration.
2916 (hildon_pannable_area_motion_event_scroll_timeout),
2917 (hildon_pannable_area_motion_event_scroll): Added this two
2918 functions, they handle the motion notify events inside the
2920 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2921 to the scroll method with the new function.
2922 (hildon_pannable_area_button_release_cb): We have to remove the
2923 timeout handler and move to the last position if the last motion
2924 events were not handled.
2926 Fixes: NB#97028 (Pannable area updates on every motion event)
2928 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2930 * src/hildon-pannable-area.c,
2931 (hildon_pannable_area_get_topmost): Added a new parameter to
2932 filter the the windows that do not include those events. Added
2933 also a condition when finding the window to filter windows that do
2934 not ask for those events.
2935 (hildon_pannable_area_button_press_cb),
2936 (hildon_pannable_area_button_release_cb),
2937 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2938 topmost function, we have added the new parameter.
2940 Fixes: NB#97458 (Pannable area prevents propagation of button
2943 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2945 * src/hildon-pannable-area.c,
2946 (hildon_pannable_area_initial_effect): Added controls before
2947 launching the timeout and the idle functions.
2948 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2949 of the method, in some situations it can return with TRUE and 0 in
2951 (hildon_pannable_area_button_press_cb): We do not need to set
2952 DELAY for fading out here.
2954 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2956 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2959 post-cleaning if the selection is not NULL.
2961 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2964 all items before restoring the selection.
2966 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-touch-selector.c:
2969 (+hildon_touch_selector_unselect_all):
2970 * src/hildon-touch-selector.h: New API to unselect all items in a
2971 column of the touch selector.
2973 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2975 * src/hildon-pannable-area.c,
2976 (hildon_pannable_area_redraw): Added a call to the refresh
2977 function inside the redraw because apparently in some cases the
2978 change in the adjustment does not imply a size allocate.
2980 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2981 despite the view not being scrollable)
2983 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2986 leak. Check for NULL before attempting to set the window title.
2988 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2991 whether to show or not the 'Done' button each time the dialog is
2992 shown, as it depends on the HildonTouchSelector selection mode.
2994 Fixes: NB#96226 (In multiple selection mode Done button is shown
2995 sometimes in listpicker)
2997 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3000 for the number of columns in the HildonTouchSelector more than once.
3002 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-touch-selector.c: Minor documentation fixes.
3006 * src/hildon-picker-dialog.c (+_dialog_update_title)
3007 (_select_on_selector_changed_cb)
3008 (_update_title_on_selector_changed_cb)
3009 (on_selector_columns_changed): Update dialog title when there's no
3010 'Done' button and also when the number of columns in the selector
3014 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3015 (+_selection_changed, hildon_picker_button_on_dialog_response)
3016 (hildon_picker_button_selector_selection_changed)
3017 (+hildon_picker_button_selector_columns_changed)
3018 (hildon_picker_button_set_selector): Update button value and emit
3019 'value-changed' when the number of columns in the selector
3023 Fixes: NB#96225 (Dialog titles are not shown according to the
3024 values selected in the list picker)
3026 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3029 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3030 New "arrow-width" and "arrow-height" style properties to set the
3031 size of the arrow button.
3032 Set name of arrow button ("hildon-edit-toolbar-arrow").
3034 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3035 graphics from theme)
3037 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-picker-button.c:
3040 (hildon_picker_button_selector_selection_changed): Use
3041 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3042 the dialog is present.
3044 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3045 the selection is accepted in the dialog)
3047 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-color-chooser.h
3050 * src/hildon-color-chooser-dialog.h:
3051 Added G_BEGIN_DECLS and G_END_DECLS
3053 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3055 (_clean_current_selection): plug a leak in the list.
3057 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-picker-dialog.c:
3060 (+free_path_list): Method to free a GList of GtkTreePaths.
3061 (_clean_current_selection), (_save_current_selection),
3062 (_restore_current_selection): Save the current selection in
3063 as a list of lists, to support multiple selection properly.
3065 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3067 patch by Claudio Saavedra (csaavedra@igalia.com)
3069 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3070 Store the press position.
3071 (+hildon_text_view_button_release_event): If the release position is
3072 close enough to the press position, move the cursor here. Otherwise,
3074 (hildon_text_view_class_init): Override GtkTextView press, release, and
3075 motion event handlers, disabling this way text selection through
3076 pointer interaction, and allowing the container widget to handle the
3079 Fixes: NB#95828 (HildonTextView functionality)
3081 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3083 Based on a patch by Iván Gómez (igomez@igalia.com)
3085 * src/hildon-button.[ch]
3086 * src/hildon-calendar.c
3087 * src/hildon-check-button.c
3088 * src/hildon-date-editor.c
3089 * src/hildon-date-selector.c
3090 * src/hildon-picker-button.c
3091 * src/hildon-time-editor.c
3092 * src/hildon-time-selector.c
3093 * src/hildon-touch-selector.[ch]:
3094 Documentation updates
3096 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3098 * src/hildon-pannable-area.c,
3099 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3100 threshold, it was required due to X events handling.
3102 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3104 * src/hildon-pannable-area.c,
3105 (hildon_pannable_area_grab_notify),
3106 (hildon_pannable_area_initial_effect),
3107 (hildon_pannable_area_button_press_cb),
3108 (hildon_pannable_area_button_release_cb),
3109 (hildon_pannable_area_scroll_cb),
3110 (hildon_pannable_area_scroll_to): Review the timeout management of
3111 the scrollbar, the frecuency was incorrectly set.
3113 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-picker-button.c:
3116 (+hildon_picker_button_on_dialog_response),
3117 (hildon_picker_button_clicked): Present the dialog instead of
3118 running it with gtk_dialog_run().
3120 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3123 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3126 (hildon_app_menu_finalize): When a window is hidden it doesn't
3127 emit notify::is-topmost, so make sure than the menu also
3128 disappears in that case.
3129 (parent_window_topmost_notify): Renamed from parent_window_hidden
3131 Fixes: NB#94460 (stackable window's menu is not closed when its
3134 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-touch-selector-entry.c:
3137 (+hildon_touch_selector_entry_set_input_mode),
3138 (+hildon_touch_selector_entry_get_input_mode):
3139 * src/hildon-touch-selector-entry.h: New methods to access the input
3140 mode in the selector's entry.
3142 Fixes: NB#93410 (API required for setting IM mode in
3143 HildonTouchSelectorEntry)
3145 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3147 * configure.ac: post release version bump.
3148 * debian/changelog: version bump
3150 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3155 * configure.ac: Bump version.
3156 * debian/changelog: Updates.
3158 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-touch-selector.c:
3161 (_hildon_touch_selector_has_multiple_selection): No need
3162 to initialize the variables here.
3164 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3166 * src/hildon-note-private.h
3167 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3168 (hildon_note_finalize, hildon_note_rebuild): Close information
3169 notes when they receive a button press.
3171 Fixes: NB#89890 (Information notes does not get disappeared after
3174 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3177 mark from the wizard title, as it's not really necessary. Also,
3178 do not display the page title if not set.
3180 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3183 (parent_window_hidden): Use the window's "is-topmost" property to
3184 detect when to hide the menu.
3186 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3189 (hildon_app_menu_finalize): If the parent window of the menu is
3190 hidden, hide the menu too.
3192 Fixes: NB#94460 (stackable window's menu is not closed when its
3195 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3198 * debian/libhildon1-examples.install
3200 * examples/Makefile.am:
3201 Use dh_install to install all examples.
3202 Use DEB_SRCDIR instead of defining SOURCE_DIR
3204 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3206 * configure.ac: post release version bump.
3207 * debian/changelog: version bump
3209 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3214 * configure.ac: bump version
3215 * debian/changelog: updates
3216 * debian/control: bump gtk+ dependency
3218 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3220 patch by Christian Dywan (christian@imendio.com)
3222 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3223 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3225 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-check-button.c (hildon_check_button_init)
3228 (hildon_check_button_class_init, hildon_check_button_style_set)
3229 (hildon_check_button_apply_style):
3230 New "checkbox-size" style property.
3232 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3233 larger / configurable size)
3235 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3237 * configure.ac: post release version bump.
3238 * debian/changelog: version bump
3240 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3245 * configure.ac: bump version
3246 * debian/changelog: updates
3248 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3250 * doc/hildon-sections.txt
3251 * src/hildon-pannable-area.c
3252 * src/hildon-program.c
3253 * src/hildon-time-editor.c
3254 * src/hildon-touch-selector-entry.c:
3256 More documentation updates.
3258 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3260 * doc/hildon-sections.txt
3261 * src/hildon-caption.c
3262 * src/hildon-code-dialog.c
3263 * src/hildon-color-button.c
3264 * src/hildon-controlbar.c
3265 * src/hildon-date-editor.c
3266 * src/hildon-date-selector.c
3267 * src/hildon-edit-toolbar.c
3268 * src/hildon-find-toolbar.c
3269 * src/hildon-font-selection-dialog.c
3271 * src/hildon-program.c
3272 * src/hildon-range-editor.c
3273 * src/hildon-seekbar.c
3274 * src/hildon-time-editor.c
3275 * src/hildon-time-selector.c
3276 * src/hildon-volumebar-range.c
3277 * src/hildon-volumebar.c
3278 * src/hildon-vvolumebar.c
3279 * src/hildon-weekday-picker.c
3280 * src/hildon-window.c
3281 * src/hildon-wizard-dialog.c:
3283 Lots of documentation fixes.
3285 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3287 Patch contributed by Iván Gómez (igomez@igalia.com)
3289 * src/hildon-check-button.c:
3290 * src/hildon-date-button.c:
3291 * src/hildon-date-selector.c:
3292 * src/hildon-dialog.c:
3293 * src/hildon-edit-toolbar.c:
3294 * src/hildon-entry.c:
3295 * src/hildon-picker-button.c:
3296 * src/hildon-program.c:
3297 * src/hildon-text-view.c:
3298 * src/hildon-time-button.c:
3299 * src/hildon-touch-selector-entry.c:
3300 * src/hildon-window-stack.c:
3302 Add more "since" tags to the new API.
3304 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3306 * doc/hildon-sections.txt: Add below method.
3307 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3308 version for the hildonized scale.
3309 * src/hildon-gtk.h: Add the definition.
3311 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3313 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3315 * doc/hildon-sections.txt: Add missing entries for new methods.
3317 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3319 Added API to pannable are in order to get its adjustments. We
3320 added two properties to manage the values we had in the private
3323 * src/hildon-pannable-area.c:
3324 (hildon_pannable_area_class_init): Added hadjustment and
3325 vadjustment properties in order to expose horizontal and vertical
3327 (hildon_pannable_area_get_property),
3328 (hildon_pannable_area_set_property): Added code to handle the new
3330 (hildon_pannable_area_get_hadjustment),
3331 (hildon_pannable_area_get_vadjustment): API functions to get the
3333 * src/hildon-pannable-area.h:
3334 (hildon_pannable_area_get_hadjustment),
3335 (hildon_pannable_area_get_vadjustment): API functions to get the
3338 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3340 Fixed some leaks, after valgrinding.
3342 * src/hildon-touch-selector.c:
3343 (_default_print_func): Fixed a leak.
3344 (hildon_touch_selector_append_column): Fixed a leak.
3345 * src/hildon-date-button.c:
3346 (hildon_date_button_init): Fixed a leak.
3347 * src/hildon-date-selector.c
3348 (hildon_date_selector_finalize): Fixed a leak.
3350 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3352 Based on a patch by Christian Dywan (christian@imendio.com)
3354 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3356 * src/hildon-gtk.h: Add definition.
3358 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3360 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-picker-button.c: (hildon_picker_button_init),
3363 (hildon_picker_button_new): Set the HildonButton::style property
3364 in the init method, to propagate the value to the derived classes.
3366 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-button.c: (hildon_button_class_init): Do not make
3369 the "style" property a construct property.
3371 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3373 * src/hildon-wizard-dialog.h
3374 * src/hildon-wizard-dialog.c
3375 (hildon_wizard_dialog_set_forward_page_func)
3376 * src/hildon-pannable-area.h
3377 * src/hildon-pannable-area.c
3378 (hildon_pannable_area_set_size_request_policy):
3379 Documentation fixes.
3381 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3383 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3385 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3387 * doc/hildon-sections.txt: Added sections file.
3389 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3392 * src/*.[ch]: Updates.
3394 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3396 * examples/hildon-progress-indicator-example.c: new file
3397 * examples/Makefile.am: include the new example program
3399 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3403 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3405 * configure.ac: post release version bump
3406 * debian/changelog: version bump
3408 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3413 * configure.ac: bump version
3414 * debian/changelog: updates
3415 * debian/control: bump gtk+ dependency
3417 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-dialog.c: Mark as deprecated.
3420 * src/hildon-dialog.h: Mark as deprecated.
3421 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3422 from HildonDialog and still work, even if
3423 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3424 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3426 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3427 maemo changes) instead)
3429 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3431 * src/hildon-pannable_area.h:
3432 * src/hildon-pannable_area.c:
3433 (hildon_pannable_area_class_init),
3434 (hildon_pannable_area_set_property),
3435 (hildon_pannable_area_get_property),
3436 (hildon_pannable_area_size_request),
3437 (hildon_pannable_area_get_size_request_policy),
3438 (hildon_pannable_area_set_size_request_policy): Added new API
3439 allowing applications to control the request policy. Now they can
3440 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3441 children allocation (HILDON_MOVEMENT_CHILDREN).
3443 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3447 (hildon_gtk_tree_view_set_ui_mode)
3448 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3449 mode of treeviews and iconviews.
3451 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-touch-selector-entry.c:
3454 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3455 of a GtkEntry to get proper theming.
3457 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3458 widget, not GtkEntry)
3460 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3462 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3463 no HildonWizardDialogPageFunc.
3465 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3467 Patch contributed by Iván Gómez (igomez@igalia.com)
3469 * src/hildon-app-menu.c:
3470 * src/hildon-button.c:
3471 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3472 * src/hildon-stackable-window.c:
3473 * src/hildon-time-selector.c:
3474 * src/hildon-touch-selector.c:
3475 * src/hildon-window.c:
3477 Add more "since" tags to the new API in hildon 2.2.
3479 2008-12-05 Tim Janik <timj@imendio.com>
3481 Patch contributed by Christian Dywan (christian@imendio.com)
3483 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3484 HildonSizeType, which are supplied by Gtk+ now.
3486 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3488 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3489 (with maemo changes) instead)
3491 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3493 Patch contributed by Iván Gómez (igomez@igalia.com)
3495 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3498 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3500 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3501 (some_page_func), (main): Update the example to use a
3502 HildonWizardDialogPageFunc function.
3504 * src/hildon-wizard-dialog-private.h: Add private data for
3505 the HildonWizardDialogPageFunc function usage.
3507 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3508 (destroy), (hildon_wizard_dialog_init), (response),
3509 (hildon_wizard_dialog_set_forward_page_func):
3510 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3511 that applications can use to stop a HildonWizardDialog to jump to
3514 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3517 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3519 * src/hildon-program.h
3520 * src/hildon-program-private.h
3521 * src/hildon-program.c (hildon_program_init)
3522 (hildon_program_set_common_app_menu)
3523 (hildon_program_get_common_app_menu):
3524 New API for setting a common HildonAppMenu for all
3525 HildonStackableWindows registered with the HildonProgram.
3527 * src/hildon-stackable-window.c
3528 (hildon_stackable_window_toggle_menu):
3529 Use the common HildonAppMenu if a window doesn't have a specific
3532 * src/hildon-app-menu-private.h
3533 * src/hildon-app-menu.c
3534 (hildon_app_menu_get_parent_window):
3535 Function to obtain the window a HildonAppMenu is attached to.
3536 (hildon_app_menu_set_parent_window):
3537 Hide the menu if the parent window is set to NULL.
3539 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3542 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3543 search widget to popup.
3545 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3547 * configure.ac: post release version bump
3548 * debian/changelog: version bump
3550 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3555 * configure.ac: bump version
3556 * debian/changelog: updates
3558 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3560 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3562 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3563 (hildon_window_stack_window_realized)
3564 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3565 Set the leader GdkWindow when a window is stacked and realized,
3566 unset it when it's unstacked.
3567 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3569 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3571 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-stackable-window.h
3574 * src/hildon-window-stack.h:
3575 Protect definition of HildonWindowStack using the preprocessor.
3577 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3580 Fix warning if all menu items are hidden.
3582 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3584 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3586 * src/hildon-controlbar.c:
3587 * src/hildon-hvolumebar.c:
3588 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3589 Multiple scale size defines updates.
3591 Fixes: NB#94322 (Scale Updates)
3593 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3595 * examples/hildon-app-menu-example.c (create_menu)
3596 Show items after adding them to the menu, as in the future the
3597 menu will no longer call gtk_widget_show() on the added items.
3599 * src/hildon-app-menu.c:
3600 Update example as explained above.
3602 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3604 * src/hildon-app-menu.c
3605 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3606 Make sure that all menu items have finger height.
3608 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3610 * src/hildon-picker-dialog.c:
3611 (_on_dialog_response), (_save_current_selection),
3612 (_restore_current_selection), (_clean_current_selection),
3613 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3614 Defined new functions in order to save the current internal selector
3615 selection previous open the dialog, in case that the use cancel the
3616 interaction, so the widget restores the previous selection.
3618 Fixes: NB#92032 (In calendar application, date values in 'new event'
3621 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3623 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3625 * src/hildon-button.c: Add a reference to the button examples in
3626 hildon-button-example.c
3628 * examples/hildon-button-example.c: Added examples of the most
3629 common button layouts.
3631 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3633 * src/hildon-app-menu.c (hildon_app_menu_show)
3634 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3636 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3638 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-picker-dialog.c:
3641 (hildon_picker_dialog_init): Initialize the signal id for
3642 HildonTouchSelector::columns-changed.
3643 (+on_selector_columns_changed): Set up the interaction mode everytime a
3644 column is added or removed from the HildonTouchSelector.
3645 (_hildon_picker_dialog_set_selector): Connect to
3646 HildonTouchSelector::columns-changed and keep track of it.
3648 Make sure to update the interaction mode of the dialog everytime a
3649 column is added or removed in the HildonTouchSelector.
3651 Fixes: NB#93228 (Done button is not shown always in listpicker)
3653 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3656 a new ::columns-changed signal.
3657 (hildon_touch_selector_append_column): Emit ::columns-changed.
3658 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3660 Add a ::columns-changed signal, emitted when the number of columns in a
3661 HildonTouchSelector changes.
3663 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3666 (_hildon_picker_dialog_set_selector): Factor out the code
3667 to set up the dialog interaction mode.
3669 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3672 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3673 to signal_changed_id.
3675 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3677 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3680 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3682 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3683 Updated the logical ids related to ampm format, as now it is required to
3684 show it correctly localized even on languages with no default
3685 abbreviations for am or pm
3686 (_check_am_pm_format): check correctly the 24h format gconf property
3688 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3690 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-button.c: Documentation updates.
3694 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3697 * src/hildon-caption.c: (hildon_caption_class_init):
3698 * src/hildon-color-button.c: (hildon_color_button_class_init):
3699 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3700 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3701 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3702 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3704 Remove deprecated GTK+ marshalers and replace them with the ones
3705 provided by GLib, for those available, add a marshaler for
3706 BOOLEAN:VOID, which is not available in GLib, and use it.
3708 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3711 the text from the previous column if there is no
3712 HildonTouchSelectorColumn::text-property set.
3714 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-button.h
3717 * src/hildon-button.c (hildon_button_set_property)
3718 (hildon_button_get_property, hildon_button_class_init)
3719 (hildon_button_set_style, hildon_button_get_style):
3720 New "style" property to change the visual appearance of the
3723 * src/hildon-picker-button.c (hildon_picker_button_new):
3724 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3726 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3727 HildonButton look like PickerButton)
3729 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3731 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3732 column while building the default string.
3734 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3737 scroll indicator by default.
3739 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3741 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-main.c: Fix the documentation for hildon_init()
3745 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3747 * doc/hildon-docs.sgml
3751 * src/hildon-window-stack-private.h
3752 * src/hildon-window-stack.h
3753 * src/hildon-window-stack.c:
3754 New HildonWindowStack object, that adds support for multiple
3755 stacks of windows per process.
3757 * src/hildon-stackable-window-private.h
3758 * src/hildon-stackable-window.h
3759 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3760 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3761 (hildon_stackable_window_show, hildon_stackable_window_hide)
3762 (hildon_stackable_window_class_init)
3763 (hildon_stackable_window_init):
3764 Use HildonWindowStack for stack management.
3766 * src/hildon-program.c (hildon_program_pop_window_stack)
3767 (hildon_program_peek_window_stack)
3768 (hildon_program_go_to_root_window):
3769 Add a fallback implementation to the deprecated functions using
3772 * examples/hildon-stackable-window-example.c:
3773 Use the new HildonWindowStack API.
3775 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-stackable-window-private.h
3778 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3779 (hildon_stackable_window_hide, hildon_stackable_window_init):
3780 Remove all window stack management.
3782 * src/hildon-program-private.h
3783 * src/hildon-program.h
3784 * src/hildon-program.c (hildon_program_init)
3785 (hildon_program_pop_window_stack)
3786 (hildon_program_peek_window_stack)
3787 (hildon_program_go_to_root_window):
3788 Remove all window stack management and mark functions as
3791 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3793 * src/hildon-app-menu.c (hildon_app_menu_realize):
3794 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3796 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3798 * configure.ac: post release version bump
3799 * debian/changelog: version bump
3801 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3806 * configure.ac: bump version
3807 * debian/changelog: updates
3809 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3811 Based on initial code by Christian Dywan (christian@imendio.com)
3813 * doc/hildon-docs.sgml: Add section for hildon-main.
3814 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3815 * src/Makefile.am: Add new hildon-main.[ch]
3816 * src/hildon-defines.h: Update the icon sizes.
3817 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3818 new library initialization files and register icon sizes.
3819 * src/hildon-main.h: New declarations.
3820 * src/hildon.h: Include hildon-main.h
3822 Add new initialization functions to the library. These methods
3823 will register the hildon specific icon sizes and can be used in the
3824 future for other hildon specific bits.
3826 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3828 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-window.c: (hildon_window_realize),
3831 (hildon_window_notify), (-hildon_window_update_title): Do not set
3832 the application name in the window title.
3834 Fixes: NB#89754 (Applications shouldn't display their names in the
3837 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3839 * src/hildon-note-private.h:
3840 * src/hildon-note.c: (hildon_note_set_property),
3841 (hildon_note_get_property), (hildon_note_class_init),
3842 (hildon_note_init), (hildon_note_finalize),
3843 (hildon_note_new_confirmation_with_icon_name),
3844 (hildon_note_new_information_with_icon_name):
3846 No need to mark as deprecated the actual code. Revert
3847 to avoid missing symbols in widgets using deprecated API.
3849 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3851 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3853 * src/hildon-volumebar.h
3854 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3855 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3857 * src/hildon-helper.h
3858 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3859 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3861 * examples/Makefile.am:
3862 Deprecate hildon-insensitive-example
3864 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3866 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3868 * examples/hildon-pannable-area-buttons-scroll-example.c:
3869 Make all buttons finger height
3871 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3873 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3875 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3876 update the day model only if it is really required, and to avoid the
3877 full-reconstruction aproach. Now it only add or remove the required days.
3879 The purpose of this is avoid superfluous HildonTouchSelector::changed
3882 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3883 with strange parameters)
3885 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3887 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3889 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3890 the WINDOW_TYPE property.
3892 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3894 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3897 Fix dependency to allow parallel compilation with make -jX
3899 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3902 color frame and some minor tweaks to make it more consistent with
3905 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3906 highlighted but not visible)
3908 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3910 * examples/Makefile.am: Fixed typo in the Makefile.am.
3912 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3914 Reviewed the use of MAEMO_GTK define, now we add the define in the
3915 compilation line, and we also add it to the pc file.
3917 * configure.ac: Added MAEMO_GTK define to the compilation command
3918 and removed it from the config.h.
3920 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3921 do not have to take care about this define if the library was
3925 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3927 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3929 * examples/Makefile.am,
3930 * examples/hildon-pannable-area-buttons-scroll-example.c,
3931 * examples/hildon-pannable-area-gesture-signals-example.c,
3932 * examples/hildon-pannable-area-scroll-jump-example.c,
3933 * examples/hildon-pannable-area-tree-view-example.c:
3934 Renamed the pannable area examples, now they have more meaningful
3937 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3939 * src/hildon-touch-selector.c:
3940 (hildon_touch_selector_set_column_selection_mode): Used of
3941 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3942 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3943 to avoid re-seting the same selection mode.
3945 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3946 breaks HildonPickerDialog)
3948 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3950 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3951 conditional in the Makefile.am
3953 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3955 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3956 Remove unused methods.
3958 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3960 * src/hildon-button.c (hildon_button_init):
3961 Make button images center-aligned by default
3963 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3966 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3967 activated, we have to think about how to deal with both defines
3968 MAEMO_GTK and MAEMO_CHANGES.
3970 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3972 * examples/hildon-app-menu-example.c (create_menu): Make all
3973 buttons finger size.
3975 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3977 Fixed the compilation without maemo gtk adding ifdefs with
3978 MAEMO_GTK define to the code, we have to check this version more
3981 * examples/Makefile.am: Added control to avoid some examples that
3982 just make sense with maemo gtk.
3985 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3986 hildon modes with the define.
3988 * examples/hildon-edit-toolbar-example.c,
3989 (create_icon_view): Create the icon view without hildon-gtk
3990 helpers if we are not using maemo gtk.
3992 * src/hildon-touch-selector.c,
3993 (_create_new_column): Create the treeview without hildon-gtk
3994 helpers if we are not using maemo gtk.
3996 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3998 * src/hildon-pnnable-area.c,
3999 (hildon_pannable_area_dispose),
4000 (hildon_pannable_area_button_press_cb),
4001 (hildon_pannable_area_child_mapped),
4002 (hildon_pannable_area_add),
4003 (hildon_pannable_area_remove): Added code to control the position
4004 of the event_window when adding and removing children from the
4005 pannable. We have to raise the event window when the child is
4008 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4009 selection mode using custom widget inside pannable)
4011 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4013 * configure.ac: post release version bump
4014 * debian/changelog: version bump
4016 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: bump version
4022 * debian/changelog: updates
4024 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4026 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4027 search mode, in order to avoid lose the focus on the treeview when
4028 a hw key (like enter) is pressed.
4030 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4031 in HildonDateSelector dialog)
4033 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4035 * debian/rules: Added --enable-maintainer-mode
4036 * Makefile.am: Added ACLOCAL_AMFLAGS
4038 This allows to properly regenerate the Makefiles if you modify the
4039 configure.ac or any Makefile.am.
4041 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4043 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4044 properties, not needed at all.
4046 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4050 * src/hildon-note.c: (hildon_note_set_property),
4051 (hildon_note_get_property), (hildon_note_class_init),
4052 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4053 (hildon_note_new_confirmation_add_buttons): Remove icons.
4054 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4055 (hildon_note_new_information_with_icon_name): Deprecate.
4056 (hildon_note_new_confirmation): Act directly, without calling
4057 the deprecated constructor.
4058 (hildon_note_new_information): Act directly, without calling
4059 the deprecated constructor.
4060 * src/hildon-note.h: Mark deprecate methods as such.
4061 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4062 not run tests on the deprecated methods if built with deprecation
4065 Fixes: NB#91688 (Never show icons in information notes/confirmation
4068 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4070 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4071 (hildon_app_menu_key_press): Remove leftover usage of the
4072 private structure in HildonAppMenu struct.
4073 * src/hildon-app-menu.h: Remove leftover private structure
4074 from the HildonAppMenu struct.
4076 Fixes a crasher when using the HildonAppMenu.
4078 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4080 * src/hildon-picker-dialog.c: Use appropriate logical id
4081 for the default "Done" text.
4083 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4085 * configure.ac: post release version bump
4086 * debian/changelog: version bump
4088 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4090 Modified the way to scroll to the current selection just when the touch
4091 selector is shown on the screen, avoiding a g_idle. Added too a property
4092 to configure this behaviour. See hildon_pannable_area_jump_to_child
4093 documentation for more information.
4095 * src/hildon-touch-selector.c
4096 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4097 Added 'initial-scroll' property
4098 (hildon_touch_selector_set_property): Added
4099 (hildon_touch_selector_map): Removed as not required anymore
4100 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4101 only a concrete column, instead of iterate along all the columns
4103 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: bump version
4109 * debian/changelog: updates
4111 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4114 compilation time warnings.
4116 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4118 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4119 the default value for HildonPannableArea::mov-mode to
4120 HILDON_PANNABLE_AREA_MODE_VERT.
4122 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4124 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4126 Reverting following commit:
4128 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4130 * src/hildon-app-menu-private.h
4131 * src/hildon-app-menu.[ch]
4132 * src/hildon-button.[ch]
4133 * src/hildon-check-button.[ch]
4134 * src/hildon-entry.[ch]
4135 * src/hildon-pannable-area.[ch]
4136 * src/hildon-text-view.[ch]:
4137 Added private field to the object's structure.
4139 because it causes an ABI breakage. We will need to introduce these
4140 changes later at some point. See NB#91636 for an extensive
4141 explanation and status.
4143 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4145 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4147 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4148 remove special cases that are no longer necessary.
4150 Fixes: NB#91016 (Change toolbar sizes, simplification)
4152 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4154 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4155 is shown in the cancel note.
4157 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4160 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4161 (hildon_seekbar_init): Remove steppers, remove expose event.
4162 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4164 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4166 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4169 label font to "SmallSystemFont" for vertically arranged buttons.
4171 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4174 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-check-button.c
4177 (hildon_check_button_set_active, hildon_check_button_clicked):
4178 Don't access private parts directly, use getters instead.
4180 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4182 * src/hildon-check-button.c (hildon_check_button_new):
4183 Align the contents of the check button to the left.
4185 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4187 * src/hildon-pannable-area.c,
4188 (hildon_pannable_area_scroll_to),
4189 (hildon_pannable_area_jump_to),
4190 (hildon_pannable_area_scroll_to_child),
4191 (hildon_pannable_area_jump_to_child): Replace the mapped
4192 precondition of these functions with the realized, it is the
4193 correct state of the widget in this case. Changed the
4194 documentation according to this modification.
4196 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4198 Added a new EXTRA_CFLAGS option to add the deprecated define to
4199 the compilation command. This way we can avoid using the define in
4200 the documentation compilation.
4202 * configure.ac: Defined EXTRA_CFLAGS.
4204 * examples/Makefile.am:
4206 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4208 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4210 * src/hildon-picker-dialog.c:
4211 Defined a utility macro with the desired touch selector height
4212 Removed currently unused separator, and title_label variables from
4214 (hildon_picker_dialog_init): Removed code related to the creation
4215 of unused private variables title_label and separator.
4216 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4217 to ensure correct visualization of the touch selector inside the dialog.
4218 * src/hildon-touch-selector.c
4219 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4220 ensure a concrete height of the widget.
4222 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4225 * tests/Makefile.am:
4227 Remove spurious whitespaces.
4229 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4232 compilation warning after the cancel button removal.
4234 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4236 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4238 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4239 Makefile.am, that way we can choose not to compile some examples
4240 and tests of the deprecated widgets.
4242 * examples/Makefile.am: Divided the sources in deprecated and
4245 * src/Makefile.am: Added undef statement of the deprecated
4246 symbol to the enums file generation process.
4248 * src/hildon-color-chooser-dialog.c
4249 * src/hildon-color-chooser-dialog.h
4250 * src/hildon-color-button.c
4251 * src/hildon-color-button.h
4252 * src/hildon-color-chooser.c
4253 * src/hildon-color-chooser.h
4254 * src/hildon-controlbar.c
4255 * src/hildon-controlbar.h
4256 * src/hildon-date-editor.c
4257 * src/hildon-date-editor.h
4258 * src/hildon-hvolumebar.c
4259 * src/hildon-hvolumebar.h
4260 * src/hildon-private.c
4261 * src/hildon-private.h
4262 * src/hildon-range-editor.c
4263 * src/hildon-range-editor.h
4264 * src/hildon-seekbar.c
4265 * src/hildon-seekbar.h
4266 * src/hildon-time-editor.c
4267 * src/hildon-time-editor.h
4268 * src/hildon-time-picker.c
4269 * src/hildon-time-picker.h
4270 * src/hildon-volumebar.c
4271 * src/hildon-volumebar.h
4272 * src/hildon-vvolumebar.c
4273 * src/hildon-vvolumebar.h
4274 * src/hildon-bread-crumb-trail.h
4275 * src/hildon-bread-crumb-trail.c
4276 * src/hildon-calendar-popup.c
4277 * src/hildon-calendar-popup.h
4278 * src/hildon-weekday-picker.c:
4279 * src/hildon-weekday-picker.h:
4280 * src/hildon-bread-crumb-widget.c:
4281 * src/hildon-bread-crumb-widget.h:
4282 * src/hildon-bread-crumb.c:
4283 * src/hildon-bread-crumb.h:
4284 * src/hildon-calendar.c:
4285 * src/hildon-calendar.h:
4286 * src/hildon-caption.c:
4287 * src/hildon-code-dialog.c:
4288 * src/hildon-code-dialog.h:
4289 * src/hildon-font-selection-dialog.c:
4290 * src/hildon-font-selection-dialog.h:
4291 * src/hildon-get-password-dialog.c:
4292 * src/hildon-get-password-dialog.h:
4293 * src/hildon-login-dialog.c:
4294 * src/hildon-login-dialog.h:
4295 * src/hildon-number-editor.c:
4296 * src/hildon-number-editor.h:
4297 * src/hildon-set-password-dialog.c:
4298 * src/hildon-set-password-dialog.h:
4299 * src/hildon-sort-dialog.c:
4300 * src/hildon-sort-dialog.h: This is the list of deprecated
4303 * src/hildon-touch-selector.c:
4304 * src/hildon-window.c: Added undef statement to avoid compilation
4307 * tests/Makefile.am: Divided the sources in deprecated and
4310 * tests/check_test.c,
4311 (configure_tests): Marked the deprecated code that was adding
4312 suites with deprecated tests.
4314 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4316 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector.c: (_default_print_func): Do not
4319 duplicate a string returned by gtk_tree_model_get(), it is already
4322 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4325 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4327 * src/hildon-pannable-area.c
4328 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4329 method, it had problems when adding a widget with viewport the
4330 second time. Now checks if it already has a viewport and uses it.
4332 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4335 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4337 * src/hildon-pannable-area.c,
4338 (hildon_pannable_area_scroll_to),
4339 (hildon_pannable_area_jump_to),
4340 (hildon_pannable_area_scroll_to_child),
4341 (hildon_pannable_area_jump_to_child): Added a precondition to the
4342 scroll and jump to functions: the widget must be mapped before we
4343 can safely call these functions. We have also added documentation
4344 to the functions to explain how to use them in this situation.
4347 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4349 Reviewed the threading handling of the pannable widget, we have
4350 used the gdk_threads_add_timeout function instead of the usual
4351 glib handlers. This avoids some problems with the threads.
4353 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4354 (hildon_pannable_area_initial_effect),
4355 (hildon_pannable_area_scroll_indicator_fade),
4356 (hildon_pannable_area_button_press_cb),
4357 (hildon_pannable_area_timeout),
4358 (hildon_pannable_area_motion_notify_cb),
4359 (hildon_pannable_area_button_release_cb),
4360 (hildon_pannable_area_scroll_cb),
4361 (hildon_pannable_area_scroll_to): Removed the
4362 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4363 gdk_threads_add_timeout.
4365 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4367 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: bump version
4373 * debian/changelog: updates
4375 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4378 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4379 * src/hildon-color-chooser-dialog.c:
4380 (hildon_color_chooser_dialog_init):
4381 * src/hildon-font-selection-dialog.c:
4382 (hildon_font_selection_dialog_init):
4383 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4385 Remove all cancel/close-like dialogs, as these are not going to be
4388 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/hildon-note.c: (hildon_note_rebuild),
4391 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4394 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4396 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4399 sure all buttons are shown, even the Cancel/Close-like ones.
4401 Fixes: NB#90861 (Custom Confirmation dialogs should be
4402 protected from cancel button removal)
4404 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4406 * debian/control: Change libhildon1-examples dependency from libhildon1
4408 * debian/libhildon1-examples.install
4410 * Makefile.am: Modified the final install directory for the examples on
4411 package libhildon1-examples
4412 * Makefile.static: Update clean target in order to remove all the binary
4415 Changes suggested by Claudio after review new libhildon1-examples package
4417 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4420 * src/hildon-touch-selector.c: Ditto.
4422 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4424 * debian/control: Added new package libhildon1-examples, in order to pack
4425 the current hildon examples as documentation
4426 * debian/rules: Not to compress .c files, modify some includes on the
4427 examples (as normally are compiled locally, but when installed it will
4428 require to include the installed libhildon1 library), and rename
4430 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4431 install all the example files on the new example package
4432 * examples/Makefile.static: Added static makefile that can be used to
4433 compile the examples, once installed the new example package
4434 * examples: Most of the examples were modified in order to grant that
4435 all use only '#include "hildon.h"', in order to be easy to prepare
4436 it on the example package
4438 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4441 * debian/libhildon1-dev.install
4442 * debian/libhildon1-doc.install:
4443 Move all gtk-doc files to a separate libhildon1-doc package.
4445 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4447 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4451 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4453 * debian/rules: Fixed a error in order to avoid unnecessary calls
4454 to autogen.sh on package building
4456 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4458 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4460 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4462 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4465 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-picker-button.c
4468 (hildon_picker_button_finalize):
4469 Free priv->done_button_text
4471 * src/hildon-time-button.c
4472 (hildon_time_button_set_time)
4473 * src/hildon-picker-button.c
4474 (hildon_picker_button_clicked)
4475 (hildon_picker_button_selector_selection_changed)
4476 (hildon_picker_button_set_selector)
4477 * src/hildon-date-button.c
4478 (hildon_date_button_set_date):
4479 Free strings returned by hildon_touch_selector_get_current_text()
4481 * src/hildon-button.c (hildon_button_construct_child):
4482 Fix leaks in priv->image and priv->label_box
4484 Fixes: NB#90535 (Memory leak in picker button)
4486 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4488 * src/hildon-button.c: (hildon_button_get_property): Do not access
4489 private elements directly, use getters instead.
4491 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4493 * src/hildon-app-menu-private.h
4494 * src/hildon-app-menu.c
4495 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4496 Store the menu's parent window.
4498 * src/hildon-stackable-window.c
4499 (hildon_stackable_window_toggle_menu)
4500 (hildon_stackable_window_finalize):
4501 Set the menu's parent window when the menu is shown, unset it when
4504 * src/hildon-app-menu.c
4505 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4506 (hildon_app_menu_class_init):
4507 Send unhandled keyboard accelerators to the parent window.
4509 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-stackable-window.c
4512 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4514 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4516 * configure.ac: post release version bump
4518 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4521 * configure.ac: Bump version
4522 * debian/changelog: Updates
4523 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4526 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4528 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4531 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4532 GtkMenu with Hildon style.
4534 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-picker-button.c:
4537 (hildon_picker_button_set_done_button_text): Set the dialog's
4538 done button text here as well.
4540 Fixes: NB#90232 (Picker button does not set the label on done button
4541 for the second time)
4543 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4548 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-app-menu.c (hildon_app_menu_insert)
4551 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4552 the HildonAppMenu to be activatable using keyboard accelerators
4553 when the menu is not being shown.
4555 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4557 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-stackable-window.c
4560 (hildon_stackable_window_show):
4561 Don't hide old windows automatically when new windows are shown:
4562 this is now a task for the window manager.
4563 (hildon_stackable_window_class_init)
4564 (hildon_stackable_window_hide):
4565 Remove windows from the stack everytime they're hidden.
4566 (hildon_stackable_window_realize):
4567 Don't change the _NET_WM_WINDOW_TYPE property. Use
4568 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4569 it as a stackable window.
4571 * src/hildon-program.c
4572 (hildon_program_pop_window_stack):
4573 Just hide the window to remove it from the stack.
4574 (hildon_program_go_to_root_window):
4575 Don't call gtk_widget_show(), this is now a task for the window
4578 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4580 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-button.c
4583 (hildon_button_construct_child):
4584 Don't pack anything in the button until text or image are
4585 set. This allows adding a custom child after creating the button
4586 with hildon_button_new().
4587 (hildon_button_finalize, hildon_button_class_init)
4588 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4589 alignment and the label box even when they're not packed in the
4592 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4594 * src/hildon-touch-selector.h:
4595 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4596 currently the type definition was using GTK_TYPE_VBOX
4597 * src/hildon-touch-selector.c:
4598 Added some implementation notes in order to clarify that any other widget
4599 added without the column related API will not be included on the
4600 selection logic, and how the widget is freed, as some people ask about
4602 (hildon_touch_selector_remove): Reimplemented in order to free properly
4603 the column related data when you remove the private hbox.
4604 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4605 to get a proper HildonTouchSelectorColumn documentation
4607 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-touch-selector-entry.c:
4610 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4611 text in the GtkEntry and there is no item selected. Fixes a
4614 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4616 * src/hildon-app-menu-private.h
4617 * src/hildon-app-menu.[ch]
4618 * src/hildon-button.[ch]
4619 * src/hildon-check-button.[ch]
4620 * src/hildon-entry.[ch]
4621 * src/hildon-pannable-area.[ch]
4622 * src/hildon-text-view.[ch]:
4623 Added private field to the object's structure.
4625 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4627 * configure.ac: post-release version bump
4629 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4633 * configure.ac: pre-release version bump
4635 * debian/changelog: updates.
4637 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4639 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4640 Disconnect the handler for HildonTouchSelector::changed.
4642 (hildon_picker_button_selector_selection_changed): Update the button
4643 value if the selection change was not triggered by the
4646 (hildon_picker_button_set_selector): connect to
4647 HildonTouchSelector::changed.
4649 Fixes: NB#89650 (Picker button is not updated, when selection in
4650 selector has changed)
4652 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4654 * src/hildon-picker-dialog.c
4655 (hildon_picker_dialog_realize): Removed as not required
4656 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4657 * src/hildon-picker-button.c
4658 (_current_selector_empty): New function, checks if the selector is empty
4659 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4660 if the current selector is empty, in order to avoid to show the dialog
4661 close the dialog in this case (and shows a g_warning).
4663 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4665 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4667 * src/hildon-pannable-area.c,
4668 (hildon_pannable_area_scroll): Added clause to stop movement when
4669 the child of pannable is smaller than one page.
4670 (hildon_pannable_area_scroll_to): Added conditions to avoid
4671 starting the scrolling movement if the child is smaller than one
4672 page, the complete child is in the screen, we do not have to move.
4674 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4676 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4679 this is managed automatically by the widget when the size of the
4682 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4684 * src/hildon-picker-button.c
4685 (hildon_picker_button_set_done_button_text): Make a copy of the
4686 text, and free the previous value.
4688 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-touch-selector-entry.c:
4691 (hildon_touch_selector_entry_print_func): Return the selected row's
4692 text if the entry is empty.
4694 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4697 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4699 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4701 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-check-button.h
4705 * src/hildon-check-button.c
4706 * examples/hildon-check-button-example.c:
4707 HildonCheckButton is now a new widget. 'toggled' signal added.
4709 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-program-private.h
4712 * src/hildon-program.c (hildon_program_init)
4713 (hildon_program_finalize): Removed unused variables group_leader
4714 and name from HildonProgramPrivate.
4716 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-check-button.c (hildon_check_button_set_active)
4719 (hildon_check_button_get_active, hildon_check_button_new): Use
4720 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4722 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4724 * src/hildon-touch-selector.h
4725 (hildon_touch_selector_set_column_attributes): added deprecation
4726 guard HILDON_DISABLE_DEPRECATED
4727 * src/hildon-time-selector.c
4728 (hildon_time_selector_set_time)
4729 (hildon_time_selector_get_time): Fixed a typo on documentation
4730 * src/hildon-touch-selector.c: update HildonTouchSelector and
4731 HildonTouchSelectorColumn documentation
4732 * src/hildon-touch-selector-entry.c: update "text-column" property
4734 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4735 to be added to the general documentation.
4737 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4739 * examples/hildon-pannable-area-example-4.c,
4741 * examples/hildon-pannable-area-example.c,
4742 (main): Modified the code in order to use the container add, with
4743 viewport treeviews could have problems if they are really big.
4745 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4747 * src/hildon-weekday-picker.c,
4748 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4749 the agreement regarding deprecation in the library.
4751 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4753 * examples/hildon-picker-button-multicolumn-example.c:
4754 (main): Use custom "done" button text.
4756 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4757 (hildon_picker_button_set_property),
4758 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4759 (hildon_picker_button_init),
4760 (+hildon_picker_button_get_done_button_text),
4761 (+hildon_picker_button_set_done_button_text): New methods to customize
4762 the "done" button label in the launched HildonPickerDialog. Also,
4765 * src/hildon-picker-button.h: add the public API.
4767 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-date-selector.h:
4770 * src/hildon-picker-dialog.h:
4771 * src/hildon-time-selector.h:
4772 * src/hildon-touch-selector-column.h:
4773 * src/hildon-touch-selector.h:
4775 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4776 declarations. Fixes gtk-doc warnings.
4778 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-picker-dialog.h
4781 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4782 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4784 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4785 long text is set as label for done button)
4787 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-dialog.c (hildon_dialog_add_button):
4790 Set fixed width to all buttons in the HildonDialog.
4792 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4794 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4796 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4797 Set widget name using class name plus "-finger" or "-thumb".
4799 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4802 'clicked' when the state of the button is manually changed.
4804 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-app-menu.c (hildon_app_menu_realize)
4807 (hildon_app_menu_unrealize, hildon_app_menu_init)
4808 (hildon_app_menu_class_init, item_visibility_changed):
4809 Change the menu layout when the size of the screen changes.
4810 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4811 Show warning only when changing the number of colums using the
4814 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4816 * debian/compat: Set to 5
4817 * debian/control: Update dependencies.
4818 * debian/libhildon1-dbg.install: Remove.
4819 * debian/libhildon1-dev.install: Update according to cdbs paths.
4820 * debian/libhildon1.install: Update according to cdbs paths.
4821 * debian/rules: Switch to cdbs.
4823 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4826 'item' variable renamed to 'filter'
4828 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4830 * src/hildon-app-menu.c (hildon_app_menu_insert)
4831 (hildon_app_menu_add_filter, remove_item_from_list)
4832 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4833 Don't leak hidden items when the menu is destroyed.
4835 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-app-menu.c (hildon_app_menu_insert)
4838 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4839 (hildon_app_menu_set_columns, item_visibility_changed)
4840 (filter_visibility_changed, hildon_app_menu_repack_filters)
4841 (hildon_app_menu_repack_items):
4842 Repack items and filters separately.
4844 Don't repack all items, change only the ones that are needed to
4847 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4849 * src/Makefile.am: added hildon-touch-selector-column.h
4851 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4853 * src/hildon-touch-selector.c: added the property "text-column" to the
4854 class HildonTouchSelectorColumn, and related get/set functions
4855 (_default_printf_func): updated to use "text-column" property
4856 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4857 "text-column" in his documentation, as this is now included on
4858 HildonTouchSelectorColumn. The get/set_property can still be used,
4859 working as a wrapper to the concrete column "text-column" property
4860 (_text_column_modified): callback added in order to handle the signal
4861 "notify::text-column" of the concrete HildonTouchSelectorColumn
4862 (hildon_touch_selector_entry_get_text_column)
4863 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4864 modified in order to use the HildonTouchSelectorColumn "text-column"
4866 * src/hildon-time-selector.c:
4867 * src/hildon-date-selector.c:
4868 * examples/hildon-touch-selector-example.c
4869 * examples/hildon-touch-selector-multi-cells-example.c
4870 * examples/hildon-picker-button-multicolumn-example.c
4871 Set the right value to "text-column" property on the creation of a new
4872 column using hildon_touch_selector_append_column()
4874 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4876 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4878 * src/hildon-app-menu.c
4879 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4880 updating the layout of the menu, don't create all widgets again,
4881 just repack the items in their new places.
4883 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4885 * src/hildon-time-selector.c
4886 (hildon_time_selector_get_time)
4887 (hildon_time_selector_set_time)
4888 Added documentation of these public methods
4890 * src/hildon-date-button.h
4891 * src/hildon-touch-selector-column.h
4892 * src/hildon-time-button.h
4893 * src/hildon-picker-dialog.h
4894 * src/hildon-time-selector.h
4895 * src/hildon-picker-button.h
4896 * src/hildon-touch-selector.h
4897 * src/hildon-time-picker.h
4898 * src/hildon-date-selector.h
4899 * src/hildon-touch-selector-entry.h
4900 Modified in order to use hildon-widgets code style
4902 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4904 Added deprecated support to the compilation process using
4905 HILDON_DISABLE_DEPRECATED
4907 * configure.ac: Added the --disable-deprecated to the configure
4910 * src/hildon-weekday-picker.c:
4911 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4912 to use the deprecated support. We will update the other deprecated
4913 widgets status in a new patch.
4915 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4917 * configure.ac: Fixed typo with fatal warnings support, the
4918 variable name was not correct
4920 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-app-menu.c
4923 * src/hildon-program.c: Update documentation.
4925 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4927 * configure.ac: Post-release version bump.
4929 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4934 * configure.ac: Pre-release version bump.
4935 * debian/changelog: Updates.
4937 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4939 * NEWS: Update news for previous releases.
4941 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4943 * examples/hildon-touch-selector-multi-cells-example.c:
4944 (create_selector): Update the example to use
4945 hildon_touch_selector_append_column() with a NULL renderer and set
4946 the renderers later.
4947 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4948 passed a NULL renderer. This is documented behavior now.
4950 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4951 This must be used if the developer wants full control on the layout of
4952 the renderers to be added to the column.
4954 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4956 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-touch-selector.c: Documentation fixes.
4960 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-wizard-dialog-private.h: Remove image and box.
4963 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4964 (hildon_wizard_dialog_set_property), (response): Completely remove
4965 image/icon support, and the containers required for the layout.
4967 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4969 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-app-menu.c: Updated documentation.
4973 * src/hildon-stackable-window.c
4974 (hildon_stackable_window_set_main_menu): Unref the old menu after
4975 ref'ing the new one.
4977 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4979 * src/hildon-stackable-window.c
4980 (hildon_stackable_window_set_main_menu): Unref the previous menu
4981 instead of destroying it.
4983 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4984 floating reference and set has_user_ref_count to FALSE to make
4985 HildonAppMenu act like a normal ref-counted widget and not a
4988 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4991 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4993 * src/hildon-touch-selector-column.h: new file
4994 * src/hildon-touch-selector.h
4995 * src/hildon-touch-selector.c
4996 Implemented GtkCellLayout interface, in order to allow to configure
4997 the cell layout on each individual selector column
4998 (hildon_touch_selector_set_column_attributes): marked as deprecated
4999 * examples/hildon-touch-selector-multi-cells-example.c
5000 Example of how to use the GtkCellLayout interface on the selector
5002 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5004 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-app-menu.h
5007 * src/hildon-app-menu.c
5008 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5009 (hildon_app_menu_append, hildon_app_menu_prepend):
5010 New methods to prepend, insert and move items in the menu.
5012 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-wizard-dialog.c:
5016 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5018 (create_title): Update logical IDs and related code.
5019 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5021 * src/hildon-wizard-dialog.h: Note that
5022 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5023 point, as it is not used anymore.
5025 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5027 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-note.c:
5030 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5031 shown. Do not display an icon in confirmation notes nor information
5033 (hildon_note_set_button_text): Update logical ID for cancel button.
5035 Fixes: NB#88850 (Update HildonNote button strings + signals)
5037 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-stackable-window.c
5040 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5042 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5044 * src/hildon-app-menu-private.h
5045 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5046 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5047 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5048 temporary property 'columns' to change the number of columns.
5050 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5052 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5054 * examples/hildon-note-example.c: (on_information_clicked),
5055 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5056 debugging information.
5057 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5059 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5060 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5061 in order to close: this will be handled by the WM from now on.
5063 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5065 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-app-menu-private.h
5068 * src/hildon-app-menu.c
5069 (hildon_app_menu_append, hildon_app_menu_add_filter)
5070 (button_visibility_changed, hildon_app_menu_apply_style)
5071 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5072 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5073 layout everytime a button (item or filter) is shown or hidden.
5075 * src/hildon-stackable-window.c
5076 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5079 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5081 * src/hildon-touch-selector.c:
5082 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5083 that the treeview inside the touch selector is in fremantle hildon mode
5084 * examples/hildon-date-button-example.c
5085 * examples/hildon-picker-button-multicolumn-example.c
5086 * examples/hildon-touch-selector-entry-example.c
5087 * examples/hildon-touch-selector-example.c
5088 * examples/hildon-time-button-example.c
5089 * examples/hildon-picker-button-example.c:
5090 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5092 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5094 * examples/hildon-text-view-example.c: (main): Remove the
5095 gtkrc bits, now handled by the theme.
5097 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5102 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5104 * po/Makefile.am: Install properly the mo files.
5105 * po/en_GB.po: Update translation, to ease testing purposes.
5107 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5109 * examples/hildon-picker-button-example.c: (main): Select an item
5110 in the selector before setting it to the button.
5112 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5114 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5115 Update button's value if the selector has an item active.
5117 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5118 'value' with the selector)
5120 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5122 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5123 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5124 (hildon_picker_button_class_init): Plug the finalize method.
5125 (hildon_picker_button_set_selector): If there's a previously set
5126 selector, unref'it before setting a new one.
5128 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5129 HildonTouchSelector)
5131 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5133 * src/hildon-touch-selector-entry.c:
5134 (hildon_touch_selector_entry_changed): Check if there is no text
5135 selected before setting the entry text.
5138 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-touch-selector.h
5141 * src/hildon-touch-selector.c
5142 (hildon_touch_selector_get_active)
5143 (hildon_touch_selector_set_active): New methods to set/get the
5144 index of the selected item.
5146 * src/hildon-picker-button.h
5147 * src/hildon-picker-button.c
5148 (hildon_picker_button_get_active)
5149 (hildon_picker_button_set_active): New methods to set/get the
5150 index of the selected item.
5152 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5154 * configure.ac: post-release version bump.
5156 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5160 * configure.ac: Pre-release version bump.
5161 * debian/changelog: Updates.
5162 * debian/control: Add myself as maintainer and depend on l10n
5165 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-window.c
5168 (hildon_window_set_main_menu)
5169 * src/hildon-stackable-window.c
5170 (hildon_stackable_window_set_main_menu):
5171 Updated documentation.
5173 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5176 Don't free selector->priv manually.
5179 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5182 (hildon_gtk_window_set_progress_indicator):
5183 * src/hildon-gtk.h: Added the new API
5184 hildon_gtk_window_set_progress_indicator, it changes the state of
5185 the window progress hint.
5187 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-button.c
5190 * src/hildon-stackable-window.c: Minor documentation updates.
5192 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-stackable-window.c: Updated documentation.
5196 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5198 * src/hildon-defines.h: Update margins definitions
5199 to the Fremantle sizes.
5202 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5204 * src/hildon-touch-selector.c,
5205 (_hildon_touch_selector_set_model): Cleaning the code after
5206 review, removed g_print and #if 0 from the code.
5208 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5210 * src/hildon-edit-toolbar.c: Update documentation.
5212 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-check-button.h
5215 * src/hildon-check-button.c
5216 (hildon_check_button_set_label, hildon_check_button_get_label)
5217 * examples/hildon-check-button-example.c
5218 (button_clicked_cb):
5219 Removed deprecated methods.
5221 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-text-view.c:
5224 Add sample code to the documentation.
5226 * src/hildon-entry.h
5227 * src/hildon-text-view.h:
5228 Minor cosmetic changes.
5230 * src/hildon-entry.c:
5231 Add sample code to the documentation.
5232 (hildon_entry_init, hildon_entry_refresh_contents):
5233 Don't allow NULL values in the placeholder.
5235 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5237 * doc/hildon-docs.sgml
5239 * examples/Makefile.am
5240 * examples/hildon-text-view-example.c
5242 * src/hildon-text-view.c
5243 * src/hildon-text-view.h
5245 New HildonTextView widget, with example.
5247 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5249 * po/POTFILES.in: Add missing files with translatable strings.
5250 Partially fixes NB#88287.
5252 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5254 * examples/hildon-pannable-area-example-2.c: (main): No need to
5255 set the cellrenderer height inside hildon touch lists, the theme does
5258 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5260 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5261 they are integrated in the theme.
5263 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5265 * examples/hildon-entry-example.c: Update the example adding
5266 widgets to modify the text and the placeholder of the HildonEntry.
5268 * src/hildon-entry.c: Show the placeholder everytime the widget
5269 is empty and loses the focus.
5271 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5273 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5275 * src/hildon-pannable-area.c,
5276 (hildon_pannable_area_size_request): Fixed bug in height
5277 requisition, avoid increasing size and add border twice.
5279 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5281 * configure.ac: postrelease version bump.
5283 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5287 * configure.ac: Prerelease version bump.
5288 * debian/changelog: update.
5289 * debian/rules: make -dbg package contain useful debugging symbols.
5291 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5293 * src/hildon-dialog.h
5294 * src/hildon-dialog.c
5295 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5296 New methods to add buttons with finger size.
5297 (hildon_dialog_new_with_buttons):
5298 Create buttons with finger size.
5300 * examples/hildon-dialog-example.c (main): Use HildonDialog
5301 methods to add buttons.
5303 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5305 * src/hildon-entry.c: Updated HildonButton documentation.
5307 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5310 button value label with (FALSE, FALSE) to prevent NB#88126 from
5313 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5315 * examples/hildon-pannable-area-example.c,
5316 (main): Removed examples panning a vbox inside a pannable
5317 area. Check bug NB#87965
5319 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5321 Patch contributed by Kris Rietveld (kris@imendio.com)
5323 * src/hildon-pannable-area.c,
5324 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5325 get_size and get_position, this saves an X server roundtrip.
5327 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5329 * doc/hildon-docs.sgml
5331 * examples/Makefile.am
5332 * examples/hildon-entry-example.c
5334 * src/hildon-entry.c
5335 * src/hildon-entry.h
5337 New HildonEntry widget, with example.
5339 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-button.c (hildon_button_construct_child): Pack the
5342 image with expand == fill == FALSE. This is a workaround for a bug
5345 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5347 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5348 labels for the text column, to make it more look more dynamic.
5350 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5352 * src/hildon-time-selector.c
5353 Define gettext auxiliar macro N_
5354 (_create_minutes_model)
5355 (_create_hours_model)
5356 (_create_ampm_model): use of strftime in order to fill the model
5357 * src/hildon-date-selector.c
5358 (hildon_date_selector_finalize):
5359 (_locales_init): remove the logic related to get the name of the months
5360 using nl_langinfo, as it is not required anymore
5362 (_create_year_model)
5363 (_create_month_model)
5364 (_update_day_model): use of strftime in order to fill the model properly
5367 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5369 * src/hildon-button.h
5370 * src/hildon-button.c (hildon_button_get_image): New method to
5373 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-touch-selector.c:
5376 (hildon_touch_selector_remove_column): Remove from the correct parent
5377 and also remove the list element and free it.
5380 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5382 * src/hildon-time-selector.c
5383 (_create_hours_model): change the range on 12h ampm format in order to use
5384 a 12-11 range instead of previous 01-12 range
5385 (hildon_time_selector_set_time): change the way to select the current time
5386 on 12h ampm format, due the change on the range
5387 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5390 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5392 * src/hildon-touch-selector.c
5393 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5394 in order to allow use this function on multiple row selection mode if
5395 the column is different that the first one
5398 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5400 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5401 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5403 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5405 * src/hildon-date-selector.h: clean some comments, now on the .c
5406 * src/hildon-date-selector.c
5407 (hildon_date_selector_select_month): first implementation
5408 (hildon_date_selector_select_day): added documentation, reimplemented
5409 using hildon_date_selector_select_current_date to avoid repeat code
5412 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5414 Reviewed interaction logic based on device experiences, refactored
5417 * src/hildon-pannable-area.c,
5418 (hildon_pannable_area_class_init): Updated default vmax speed.
5419 (hildon_pannable_area_calculate_velocity): Added this function, it
5420 avoids duplicate valocity calculation. Adjusted calculation to
5421 avoid problems with zero dist events.
5423 (hildon_pannable_area_motion_notify_cb): Now we use the
5424 calculate_velocity function.
5426 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5428 * src/hildon-date-selector.c
5429 (hildon_date_selector_select_current_date): fix the day range check
5430 as it failed using the last day of the current month
5433 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5435 * src/hildon-touch-selector.c
5436 (hildon_touch_selector_get_num_columns): added a parameter validation
5439 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5441 * examples/Makefile.am
5442 * examples/hildon-edit-toolbar-example.c: Example of the
5443 HildonEditToolbar widget.
5445 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5447 * configure.ac: postrelease version bump.
5449 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5453 * configure.ac: prerelease version bump.
5454 * debian/changelog: update.
5456 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5458 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5459 renderer to display stock icons in the touch list. Also, set the sizes
5460 to the recommended in the style guide.
5462 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5463 * src/hildon-touch-selector.h
5464 (hildon_touch_selector_set_active_iter): renamed, now is
5465 hildon_touch_selector_select_iter
5466 (hildon_touch_selector_get_active_iter): renamed, now is
5467 hildon_touch_selector_get_selected
5468 (hildon_touch_selector_unselect_iter): added
5469 * src/hildon-touch-selector.c
5470 Update after API modification (methods renamed)
5471 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5472 order to avoid problems selecting multiple elements on the column
5473 (hildon_touch_selector_unselect_iter): added the implementation
5474 * src/hildon-time-selector.c
5475 * src/hildon-date-selector.c
5476 * src/hildon-touch-selector-entry.c
5477 Update methods calls after hildon-touch-selector.h API modification (methods
5480 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-stackable-window.c
5483 (hildon_stackable_window_finalize): Call the parent class's finalize.
5485 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5487 * examples/hildon-touch-selector-example.c: (create_selector): Use
5488 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5491 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5493 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5494 set a cell background color, to respect theming.
5496 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5498 * doc/hildon-docs.sgml
5501 * src/hildon-edit-toolbar.c
5502 * src/hildon-edit-toolbar.h
5503 * src/hildon.h: New HildonEditToolbar widget.
5505 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5507 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5510 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5511 * src/hildon-touch-selector.c
5512 (_create_new_column): use g_object_set instead of two g_object_set_property
5514 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5515 * src/hildon-touch-selector.c
5516 (_create_new_column): use of hildon_gtk_tree_view_new to create
5517 the treeview, instead of use directly g_object_new
5518 (_create_new_column): update the property name "vindicator-mode" for the
5519 new one "vscrollbar-policy"
5520 * examples/hildon-date-button-example.c
5521 * examples/hildon-picker-button-multicolumn-example.c
5522 * examples/hildon-touch-selector-entry-example.c
5523 * examples/hildon-touch-selector-example.c
5524 * examples/hildon-time-button-example.c
5525 * examples/hildon-picker-button-example.c
5526 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5527 to all the treeviews inside a pannable area.
5529 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-button.h
5532 * src/hildon-button.c (hildon_button_init)
5533 (hildon_button_set_arrangement, hildon_button_set_alignment)
5534 (hildon_button_set_title_alignment)
5535 (hildon_button_set_value_alignment)
5536 (hildon_button_set_image_alignment)
5537 (hildon_button_construct_child): New methods to set the alignment
5538 of the individual components of the button (title, value,
5539 image). Also, new method to alter the xscale and yscale properties
5540 of the GtkAlignment inside the button, so more complex layouts can
5543 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-button.c (hildon_button_style_set)
5546 (hildon_button_class_init, hildon_button_set_arrangement)
5547 (hildon_button_construct_child): Apply style properties
5548 correctly. Use the 'image-spacing' style property too.
5550 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5553 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5556 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5558 * src/hildon-pannable-area.c,
5559 (hildon_pannable_area_size_request): Fixed problem with
5560 pannable-area size_request.
5562 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5564 Added management for the grab-focus to a child widget, like a
5565 range, we need to fade out the scrollbar when releasing.
5567 * src/hildon-pannable-area.c,
5568 (hildon_pannable_area_init): Connected the grab-focus signal to
5570 (hildon_pannable_area_grab_notify): Added this function in order
5571 to manage the situation when the grab-focus ends. We have to
5572 fade-out the scrollbar.
5574 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-app-menu.c: Minor documentation update.
5578 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5580 * src/hildon-app-menu.c
5581 * examples/hildon-app-menu-example.c (create_menu): Update
5582 examples and documentation to explain how to connect callbacks.
5584 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5586 * examples/hildon-button-example.c
5587 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5588 hildon_stackable_window_new instead of gtk_window_new
5590 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5592 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5593 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5594 (hildon_pannable_area_set_property),
5595 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5596 (hildon_pannable_area_unrealize),
5597 (hildon_pannable_area_size_request),
5598 (hildon_pannable_area_size_allocate),
5599 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5600 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5601 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5602 (hildon_pannable_area_initial_effect),
5603 (hildon_pannable_area_redraw),
5604 (hildon_pannable_area_scroll_indicator_fade),
5605 (hildon_pannable_area_expose_event),
5606 (hildon_pannable_area_get_topmost), (synth_crossing),
5607 (hildon_pannable_area_button_press_cb),
5608 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5609 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5610 (hildon_pannable_area_motion_notify_cb),
5611 (hildon_pannable_area_button_release_cb),
5612 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5613 (hildon_pannable_area_remove),
5614 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5615 chage the code layout to a more GtkWidget like. Review the use of
5618 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5620 * examples/hildon-pannable-area-example-4.c,
5621 (main): Modified the name of the hindicator_mode to
5624 * src/hildon-pannable-area.c,
5625 (hildon_pannable_area_class_init),
5626 (hildon_pannable_area_motion_notify_cb),
5627 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5628 we have reduced the amount of signals and managed reviewed its
5629 rationale. Changed the default decelerate value.
5631 (hildon_pannable_area_add),
5632 (hildon_pannable_area_redraw): Refactored functions.
5634 (hildon_pannable_area_init),
5635 (hildon_pannable_area_get_property),
5636 (hildon_pannable_area_set_property):
5637 (hildon_pannable_draw_vscroll),
5638 (hildon_pannable_draw_hscroll),
5639 (hildon_pannable_area_initial_effect),
5640 (hildon_pannable_area_expose_event),
5641 (hildon_pannable_area_scroll),
5642 (hildon_pannable_area_button_press_cb),
5643 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5644 and vindicator_mode with hscrollbar_policy and
5645 vscrollbar_policy. Replaced hscroll and vscroll with
5646 hscroll_visible and vscroll_visible.
5648 (hildon_pannable_area_refresh): Refactor the function, remove
5649 variables and check the calls to this function, added resize
5650 conditions in case the children change their layout.
5652 (hildon_pannable_area_size_request): Added more detailed
5653 size_request calculation.
5656 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5658 * src/hildon-color-chooser.c
5659 (init_borders): use the correct gtk_border_free instead of g_free, to
5660 avoid a crash when this widget is used (ie: the three color selection
5663 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5665 * src/hildon-check-button.c,
5666 (hildon_check_button_set_active): Fixed problem when setting the
5667 active value, the widget was not redrawn.
5669 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5671 * src/hildon-pannable-area.c,
5672 (hildon_pannable_area_refresh),
5673 (hildon_pannable_area_scroll),
5674 (hildon_pannable_area_motion_notify_cb): Small code style change.
5676 (hildon_pannable_area_class_init): Default initial_hint set to
5677 FALSE, it is not in the specs.
5679 (hildon_pannable_area_initial_effect),
5680 (hildon_pannable_area_expose_event),
5681 (hildon_pannable_area_map),
5682 (hildon_pannable_area_init): Moved the launching point of the
5683 initial effect, it was in map but the sizes where not correct in
5684 that method so we do not know if we have the reproduce it. Now it
5685 is placed in the expose_event method and uses a variable to
5686 reproduce it just once.
5688 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5690 * src/hildon-pannable-area.c,
5691 (hildon_pannable_draw_vscroll),
5692 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5693 position allowed for the scrollbars.
5695 (hildon_pannable_area_size_allocate): Small style change.
5697 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5699 * src/hildon-pannable-area.c,
5700 (hildon_pannable_area_scroll_indicator_fade),
5701 (hildon_pannable_area_button_press_cb),
5702 (hildon_pannable_area_button_release_cb),
5703 (hildon_pannable_area_scroll_cb),
5704 (hildon_pannable_area_expose_event),
5705 (hildon_pannable_area_init): Added the define parameter
5706 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5707 and refactor the fade variable.
5709 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5711 * src/hildon-pannable-area.c,
5712 (hildon_pannable_area_redraw),
5713 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5714 lines, we were reimplemeting the redraw code.
5716 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5718 * src/hildon-pannable-area.c,
5719 (hildon_pannable_area_scroll_cb),
5720 (hildon_pannable_area_realize),
5721 (hildon_pannable_area_class_init): Added scroll_event management
5722 for pannable area, now we can scroll the usual desktop method.
5724 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5725 initialization of the parameters should depend on idle_id.
5727 (hildon_pannable_area_init),
5728 (hildon_pannable_area_map): Small code style modifications
5730 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5732 * src/hildon-pannable-area.c
5733 (hildon_pannable_area_button_press_cb),
5734 (hildon_pannable_area_motion_notify_cb),
5735 (hildon_pannable_area_button_release_cb),
5736 (hildon_pannable_area_size_allocate),
5737 (hildon_pannable_area_scroll_to): Improved the timeouts
5738 management, we avoid creating them each time.
5740 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5742 * src/hildon-pannable-area.c:
5743 (hildon_pannable_area_refresh),
5744 (hildon_pannable_area_motion_notify_cb),
5745 (hildon_pannable_area_class_init):
5746 * src/hildon-pannable-area.h:
5747 * src/hildon-touch-selector.c
5748 (_create_new_column):
5749 * examples/hildon-pannable-area-example-4.c:
5750 (horizontal_movement),
5751 (vertical_movement),
5753 Replaced the names of enums in the HildonPannableArea:
5754 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5755 HILDON_MOVEMENT_MODE_*
5756 - HILDON_PANNABLE_AREA_MOV_* ->
5758 - Removed HildonPannableAreaIndicatorMode, now we
5761 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5763 * examples/hildon-pannable-area-touch-grid-example.c
5764 * examples/hildon-pannable-area-touch-list-example.c: Fix
5765 compilation warnings.
5767 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-gtk.c (hildon_gtk_button_new)
5770 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5771 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5772 images overriding the value of the "gtk-button-images" setting.
5774 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-check-button.c (hildon_check_button_new):
5777 Instead of using a custom container, display the label and the
5778 checkbox using the standard GtkButton API.
5780 * examples/hildon-check-button-example.c (main): Don't use
5781 hildon_check_button_set_label() anymore
5783 * src/hildon-check-button.h
5784 * src/hildon-check-button.c
5785 (hildon_check_button_set_label, hildon_check_button_get_label):
5786 Set as deprecated, now we're using gtk_button_{get,set}_label()
5788 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5790 * src/hildon-pannable-area.c,
5791 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5792 GtkTreeview first line we detected it after the inclusion of the
5793 GtkWindowImpl in gtk+. We now check if the window is visible, not
5794 just if the pointer is over the window.
5795 (hildon_pannable_axis_scroll),
5796 (hildon_pannable_area_expose_event): Small style changes.
5798 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-button.c: Update documentation.
5802 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5804 * examples/hildon-button-example.c: Add a switch to show images in
5807 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5809 * doc/hildon-docs.sgml: Some docs reorganization.
5811 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5813 * examples/hildon-pannable-area-touch-list-example.c
5815 * examples/hildon-pannable-area-touch-grid-example.c
5816 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5817 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5818 Fix memory leak when setting the tree model.
5820 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5824 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5826 * doc/hildon.types: Remove duplicated hildon_window_get_type
5827 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5828 documentation comment.
5830 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5832 * doc/Makefile.am: Complete list of private headers.
5834 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5836 * doc/hildon-docs.sgml
5837 * src/hildon-app-menu.c
5838 * src/hildon-bread-crumb.c
5839 * src/hildon-button.c
5841 * src/hildon-program.c
5842 * src/hildon-stackable-window.c
5843 * src/hildon-window.c: Lots of documentation updates.
5845 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5847 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5849 * configure.ac: Require Gtk+ 2.12.9 at least
5851 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5853 * src/hildon-pannable-area.c
5854 (hildon_pannable_area_scroll_indicator_fade),
5855 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5856 to protect the return of this timeout callbacks, avoiding deadlocks.
5858 2008-08-12 Christian Dywan <christian@imendio.com>
5861 * src/hildon-*.h: Ensure a consistent include order,
5862 include <gtk/gtk.h> instead of particular files and
5863 only include the topmost header in the gtk stack. See NB #39857
5865 2008-08-12 Christian Dywan <christian@imendio.com>
5867 * src/hildon-picker-dialog.c
5868 * src/hildon-touch-selector.c: Fix warnings about unused and
5869 uninitialized variables.
5871 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5873 * examples/Makefile.am
5874 * examples/hildon-check-button-example.c: Example of the hildon
5877 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-window.h
5880 * src/hildon-window.c (hildon_window_class_init)
5881 (hildon_window_unset_program): Don't make
5882 hildon_window_unset_program a virtual function anymore.
5884 * src/hildon-stackable-window.c: Update documentation
5886 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5889 * doc/hildon-docs.sgml
5890 * doc/visual_index.xml
5891 * src/hildon-defines.c
5893 * src/hildon-helper.c
5894 * src/hildon-range-editor.c: Lots of documentation fixes.
5896 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5898 * examples/hildon-picker-button-multicolumn-example.c
5899 (create_touch_selector): Fix compilation warning.
5901 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5904 (hildon_pannable_area_button_release_cb)
5905 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5907 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5909 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5912 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-bread-crumb-trail.h
5915 * src/hildon-date-editor.c
5916 * src/hildon-date-selector.c
5917 * src/hildon-pannable-area.c
5918 * src/hildon-picker-dialog.c
5919 * src/hildon-time-selector.c
5920 * src/hildon-touch-selector-entry.c
5921 * src/hildon-touch-selector.c
5922 * src/hildon-touch-selector.h: Misc documentation fixes
5924 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5926 * examples/hildon-date-editor-example.c (main): Updated date
5929 * examples/hildon-note-example.c (on_confirmation_clicked):
5930 Updated confirmation note example.
5932 * src/hildon-date-editor.c
5933 * src/hildon-note.c: Updated sample programs in documentation.
5936 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5938 * src/hildon-date-button.h:
5939 * src/hildon-picker-button.h:
5940 * src/hildon-time-button.c:
5941 * src/hildon-time-button.h:
5943 Some declarations changes to allow gtk-doc to document the widgets
5946 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5948 * src/hildon-date-button.c: Document the widget.
5949 * src/hildon-time-button.c: Document the widget.
5951 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5953 * src/hildon-picker-button.c: Document the widget.
5954 * src/hildon-touch-selector-entry.c: Document the widget.
5956 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5958 * doc/hildon-docs.sgml
5961 * src/hildon-check-button.h
5962 * src/hildon-check-button.c: New functions to create the Hildon
5966 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5968 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5970 * src/hildon-button.h
5971 * src/hildon-button.c
5972 (hildon_button_add_title_size_group)
5973 (hildon_button_add_value_size_group)
5974 (hildon_button_add_image_size_group)
5975 (hildon_button_add_size_groups): New functions to set size groups
5976 for the button labels and image.
5977 (hildon_button_new_full): Removed
5979 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5981 * src/hildon-time-selector.c
5982 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5983 in order to avoid a crash if gconf is not available
5985 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-button.c (hildon_button_set_arrangement)
5988 (hildon_button_construct_child): Don't construct the button child
5989 before setting the arrangement.
5991 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-program-private.h
5994 * src/hildon-program.c
5995 * src/hildon-program.h
5996 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5997 (hildon_program_peek_window_stack)
5998 (hildon_program_pop_window_stack)
5999 (hildon_program_go_to_root_window): HildonProgram now has a
6000 separate list for stackable windows. Functions are provided to
6001 manage that list with a stack-like API.
6003 * src/hildon-stackable-window.c: Stackable window management is
6004 now much simpler with the new HildonProgram API. Windows no
6005 longer need to be manually added to the program, they're
6006 automatically pushed to the top of the stack when shown.
6008 * examples/hildon-stackable-window-example.c: Updated example to
6009 reflect the API changes.
6011 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-touch-selector.c: Comment out unimplemented
6014 hildon_touch_selector_insert_column() to avoid a compile warning.
6016 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6018 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6019 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6020 (hildon_touch_selector_set_column_selection_mode),
6021 (_hildon_touch_selector_set_model),
6022 (hildon_touch_selector_set_model):
6024 Complete review of HildonTouchSelector documentation.
6026 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6028 * doc/hildon-docs.sgml
6032 * src/hildon-gtk.c: Convenience functions for standard Gtk
6033 widgets, used to easily perform frequent operations.
6035 * src/hildon-button-helpers.h
6036 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6038 * src/hildon-helper.h
6039 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6040 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6042 * src/hildon-button.h
6043 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6045 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6047 * src/hildon-button.c (hildon_button_init)
6048 (hildon_button_set_arrangement, hildon_button_construct_child):
6049 Pack the image and the labels inside the same GtkAlignment so
6050 gtk_button_set_alignment() can be used
6052 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-button.h
6055 * src/hildon-button.c
6056 (hildon_button_init, hildon_button_set_image)
6057 (hildon_button_set_image_position)
6058 (hildon_button_construct_child): New functions to add an image to
6061 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-date-button.c
6064 * src/hildon-picker-button.c
6065 * src/hildon-time-button.c
6066 * src/hildon-button.c:
6067 (hildon_button_class_init): "size-flags" renamed to "size"
6068 (hildon_button_set_title): Hide the title label if set to NULL.
6070 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6072 HildonButtonFlags split into HildonButtonArrangement (to set the
6073 button layout) and HildonSizeType (which can be used for any
6076 * src/hildon-button.h
6077 * src/hildon-button.c
6078 (hildon_button_class_init)
6079 (hildon_button_set_arrangement)
6080 (hildon_button_set_property): New "size-flags"
6081 property. "arrangement-flags" renamed to "arrangement".
6082 (hildon_button_new, hildon_button_new_with_text)
6083 (hildon_button_new_full): Constructors updated to reflect type changes.
6085 * src/hildon-helper.h
6086 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6087 to set the size of a widget.
6091 * src/hildon-button-helpers.c
6092 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6094 * src/hildon-date-button.c
6095 * src/hildon-date-button.h
6096 * src/hildon-picker-button.c
6097 * src/hildon-picker-button.h
6098 * src/hildon-time-button.c
6099 * src/hildon-time-button.h: Updated widgets to reflect
6100 HildonButton API changes.
6102 * examples/hildon-button-example.c
6103 * examples/hildon-date-button-example.c
6104 * examples/hildon-picker-button-example.c
6105 * examples/hildon-picker-button-multicolumn-example.c
6106 * examples/hildon-time-button-example.c
6107 * examples/hildon-touch-selector-entry-example.c
6108 * examples/hildon-touch-selector-example.c: Updated examples to
6109 reflect HildonButton API changes.
6111 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6113 * doc/hildon-docs.sgml:
6115 * examples/Makefile.am:
6116 * examples/hildon-touch-selector-entry-example.c:
6118 * src/hildon-touch-selector-entry.c:
6119 * src/hildon-touch-selector-entry.h:
6122 Moved HildonTouchSelectorEntry from sandbox. Added its
6123 documentation and examples.
6125 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6127 * src/hildon-touch-selector.h:
6128 * examples/hildon-picker-button-multicolumn-example.c:
6129 (hildon_touch_selector_append_text_column): Add a gboolean
6130 parameter to determine if text must be centered in the column.
6132 * src/hildon-date-selector.c: (hildon_date_selector_init):
6133 * src/hildon-time-selector.c: (hildon_time_selector_init):
6134 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6135 (create_touch_selector): Update widgets and example to reflect
6138 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6140 * src/hildon-touch-selector.c:
6141 (hildon_touch_selector_set_active_iter): Set also the cursor in
6144 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6146 * doc/hildon-docs.sgml
6149 * src/hildon-toggle-button.c
6150 * src/hildon-toggle-button.h
6151 * src/hildon.h: Removed HildonToggleButton widget, a derived
6152 class is not necessary for this.
6154 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6156 * src/hildon-pannable-area.c,
6157 (hildon_pannable_area_realize),
6158 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6161 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6164 "done" button the default widget for the dialog.
6166 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6168 * src/hildon-touch-selector.c:
6169 (hildon_touch_selector_class_init),
6170 (hildon_touch_selector_get_property),
6171 (_hildon_touch_selector_set_model),
6172 (_hildon_touch_selector_has_multiple_selection),
6173 (hildon_touch_selector_has_multiple_selection):
6174 Add a "has-multiple-selection" property with a virtual
6175 has_multiple_selection() method to allow derived classes to
6176 override the default value for it. See the method and property
6177 documentation for details.
6179 * src/hildon-touch-selector.h: Add the new API.
6181 * src/hildon-picker-dialog.c: (requires_done_button): Call
6182 hildon_touch_selector_has_multiple_selection() instead of
6183 determining the need for a button itself.
6185 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6187 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6188 (_hildon_touch_selector_set_model),
6189 (hildon_touch_selector_set_model): Move working code to
6190 _hildon_touch_selector_set_mode(). Call the class method instead.
6192 * src/hildon-touch-selector.h: Add (*set_model) to
6193 HildonTouchSelectorClass.
6195 Make hildon_touch_selector_set_model() a virtual method, so that
6196 derived classes can extend it and do fancy stuff with the model.
6198 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6200 * configure.ac: Set back the tarname in AC_INIT to hildon.
6202 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6206 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6207 instead of libesd (NB#86876). Volume handling is still an open issue.
6209 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6212 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6214 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6215 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6216 derived class to ease placement of an entry widget in
6217 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6218 end, where the selector columns are packed now.
6220 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6222 * src/hildon-picker-button.c: Removed the simple _text() API.
6223 * src/hildon-picker-button.h: Likewise.
6225 * src/hildon-touch-selector.h:
6226 * src/hildon-touch-selector.c:
6227 (hildon_touch_selector_new_text),
6228 (hildon_touch_selector_append_text),
6229 (hildon_touch_selector_prepend_text),
6230 (hildon_touch_selector_insert_text):
6232 Moved the simple _text() API from HildonPickerButton to
6233 HildonTouchPicker, to provide better escalability and not to tie
6234 that API to HildonPickerButton.
6236 * examples/hildon-picker-button-example.c: (main): Example updated.
6238 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-button.c: Updated documentation.
6242 * examples/hildon-button-example.c: Add the posibility to create
6243 the buttons using horizontal layout for title and value.
6245 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6247 * src/hildon-app-menu-private.h
6248 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6249 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6250 GtkSizeGroup for the filters, use the 'homogeneous' property of
6253 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6255 * examples/hildon-button-example.c: Updated example.
6257 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6259 * doc/hildon-docs.sgml:
6262 Update documentation.
6264 * examples/Makefile.am: Update renamed examples.
6266 * examples/hildon-picker-button-multicolumn-example.c:
6267 (create_touch_selector), (main): Update after the rename.
6269 * examples/hildon-touch-picker-example.c: Removed.
6270 * examples/hildon-touch-selector-example.c: (value_changed),
6271 (create_selector), (get_visible_content), (main): Renamed from
6272 hildon-touch-picker-example.c
6274 * src/Makefile.am: Updated renamed files.
6276 * src/hildon-date-button.c: (hildon_date_button_init),
6277 (hildon_date_button_get_date), (hildon_date_button_set_date):
6278 * src/hildon-date-selector.c: (hildon_date_selector_init),
6279 (_custom_print_func), (_update_day_model),
6280 (_manage_selector_change_cb),
6281 (hildon_date_selector_select_current_date),
6282 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6283 * src/hildon-date-selector.h:
6284 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6285 (hildon_picker_button_set_property),
6286 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6287 (hildon_picker_button_init), (hildon_picker_button_new_text),
6288 (hildon_picker_button_append_text),
6289 (hildon_picker_button_prepend_text),
6290 (hildon_picker_button_insert_text),
6291 (hildon_picker_button_set_selector),
6292 (hildon_picker_button_get_selector):
6293 * src/hildon-picker-button.h:
6294 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6295 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6296 (_update_title_on_selector_changed_cb), (requires_done_button),
6297 (_hildon_picker_dialog_set_selector),
6298 (hildon_picker_dialog_set_selector),
6299 (hildon_picker_dialog_get_selector):
6300 * src/hildon-picker-dialog.h:
6301 * src/hildon-time-button.c: (hildon_time_button_init),
6302 (hildon_time_button_get_time), (hildon_time_button_set_time):
6303 * src/hildon-time-selector.c: (hildon_time_selector_init),
6304 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6305 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6306 * src/hildon-time-selector.h:
6309 Massive code updates after the rename.
6311 * src/hildon-touch-picker.c: Removed.
6312 * src/hildon-touch-picker.h: Removed.
6314 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6315 (hildon_touch_selector_init), (hildon_touch_selector_map),
6316 (hildon_touch_selector_remove), (_default_print_func),
6317 (_selection_changed_cb), (_create_new_column),
6318 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6319 (hildon_touch_selector_append_text_column),
6320 (hildon_touch_selector_remove_column),
6321 (hildon_touch_selector_set_column_attributes),
6322 (hildon_touch_selector_insert_column),
6323 (hildon_touch_selector_get_num_columns),
6324 (hildon_touch_selector_get_column_selection_mode),
6325 (hildon_touch_selector_set_column_selection_mode),
6326 (hildon_touch_selector_set_print_func),
6327 (hildon_touch_selector_get_print_func),
6328 (hildon_touch_selector_get_active_iter),
6329 (hildon_touch_selector_set_active_iter),
6330 (hildon_touch_selector_get_selected_rows),
6331 (hildon_touch_selector_get_model),
6332 (hildon_touch_selector_set_model),
6333 (hildon_touch_selector_get_current_text),
6334 (_hildon_touch_selector_center_on_selected_items):
6335 * src/hildon-touch-selector.h: Renamed from
6336 hildon-touch-picker.[ch]
6338 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6339 references, code examples, and related documentation.
6341 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6343 * doc/hildon-docs.sgml
6346 * src/hildon-toggle-button.c
6347 * src/hildon-toggle-button.h
6348 * src/hildon.h: New HildonToggleButton widget.
6350 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-button.c: Add API documentation.
6353 (hildon_button_set_size_groups): Check input parameters
6355 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6357 * src/hildon-pannable-area.c
6358 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6359 effect after reaching the movement thredshold. This way we start
6360 using the distance after passing the thredshold.
6362 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6364 * src/hildon-button.c: (hildon_button_set_property): Use the
6365 appropriate g_value_get_flags() method.
6367 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6369 * doc/hildon-docs.sgml:
6372 Add the touch pickers, picker dialogs, and picker button widgets
6373 to the documentation.
6375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6377 * src/hildon-button.c: (hildon_button_set_property),
6378 (hildon_button_class_init): Make "arrangement-flags" a proper
6379 G_TYPE_FLAGS derived property.
6381 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6383 * examples/Makefile.am: Add below examples.
6384 * examples/hildon-date-button-example.c:
6385 * examples/hildon-picker-button-example.c:
6386 * examples/hildon-picker-button-multicolumn-example.c:
6387 * examples/hildon-time-button-example.c:
6388 * examples/hildon-touch-picker-example.c:
6390 Add examples for the recently added touch pickers,
6391 picker dialogs, and picker button widgets.
6393 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6395 * src/hildon-button.c: Add some API documentation
6397 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6399 * src/hildon-button.h
6400 * src/hildon-button.c
6402 (hildon_button_new_with_text): New constructor to create a button
6403 with no text at all.
6404 (hildon_button_init, hildon_button_set_arrangement)
6405 (hildon_button_set_title, hildon_button_set_value)
6406 (hildon_button_set_text)
6407 (hildon_button_construct_child): Hide the value when it's not used
6408 so the rest of the text is properly aligned.
6409 Allow creating buttons with arbitrary widgets inside (not just
6410 title/value labels).
6412 * examples/hildon-button-example.c (vertical_buttons_window)
6413 (horizontal_buttons_window): Update example to use new API.
6415 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6417 * src/Makefile.am: Added HildonTimeButton.
6418 * src/hildon-time-button.c: Added missing LGPL header.
6419 * src/hildon-time-button.h: Added missing LGPL header.
6420 * src/hildon.h: Add hildon-time-button.h
6422 Copied HildonTimeButton from sandbox to trunk. Future work on this
6423 widget must take place in trunk.
6425 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/Makefile.am: Added HildonDateButton.
6428 * src/hildon-date-button.c: Update includes.
6429 * src/hildon.h: Add hildon-date-button.h
6431 Copied HildonDateButton from sandbox to trunk. Future work on this
6432 widget must take place in trunk.
6434 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6436 * src/Makefile.am: Added HildonPickerButton.
6437 * src/hildon-picker-button.h: Update includes.
6438 * src/hildon.h: Add hildon-picker-button.h
6440 Copied HildonPickerButton from sandbox to trunk. Future work on
6441 this widget must take place in trunk.
6443 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6445 * src/Makefile.am: Added HildonPickerDialog.
6446 * src/hildon-picker-dialog.c: Update includes.
6447 * src/hildon.h: Add hildon-picker-dialog.h
6449 Copied HildonPickerDialog from sandbox to trunk. Future work
6450 on this widget must take place in trunk.
6452 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6454 * src/Makefile.am: Added HildonTimeSelector.
6455 * src/hildon.h: Add hildon-time-selector.h
6457 Copied HildonTimeSelector widget from sandbox to trunk. Future
6458 work on this widget must happen in trunk.
6460 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6462 * src/Makefile.am: Added HildonDateSelector.
6463 * src/hildon.h: Add hildon-date-selector.h
6465 Copied HildonDateSelector widget from sandbox to trunk. Future
6466 work on this widget must happen in trunk.
6468 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6470 * src/Makefile.am: Added HildonTouchPicker.
6471 * src/hildon-touch-picker.c: Update includes.
6472 * src/hildon.h: Add hildon-touch-picker.h
6474 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6475 on this widget must happen in trunk.
6477 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6479 * src/hildon-pannable-area.c:
6480 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6482 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6484 * examples/hildon-app-menu-example.c (main): Let the window
6487 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6489 * src/hildon-pannable-area.c
6490 (hildon_pannable_area_class_init): Set the min value of the
6491 overshoot properties to zero, which points out that not
6492 overshooting allowed.
6494 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6496 Modified the procedure to get the widget at a point inside the
6497 pannable area when using the movement type signals. Now the user
6498 has to call a function to get the child, that way we just
6499 calculate the child in case the user really want to use it and not
6502 * src/hildon-marshalers.list: Modified the marshallers, now we do
6503 not have the widget as a parameter.
6505 * src/hildon-pannable-area.c
6506 (hildon_pannable_area_motion_notify_cb),
6507 (hildon_pannable_area_class_init),
6508 (hildon_pannable_get_child_widget_at): Removed the widget
6509 parameter from the signal callback. We have also refactored the
6510 emission of the signals.
6512 * src/hildon-pannable-area.h: Added a new method to the API to
6513 calculate a widget at a point inside the pannable area,
6514 hildon_pannable_get_child_widget_at.
6516 * examples/hildon-pannable-area-example-4.c
6517 (horizontal_movement): Modified the example to use the new API,
6518 added condition to control which widget is under the event. This
6519 way we can avoid scrolling laterally over other widgets.
6521 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6523 * src/hildon-pannable-area.c
6524 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6525 modes, we stop getting the pointer events due to returning the
6526 callback without properly calling the get pointer again. Fixed
6527 also an error using the hscroll and vscroll.
6529 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-app-menu-private.h
6532 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6533 (hildon_app_menu_button_release, hildon_app_menu_init)
6534 (hildon_app_menu_class_init): Don't hide the menu on button
6535 release if the user didn't press outside first.
6537 * src/hildon-window.h
6538 * src/hildon-window.c (hildon_window_toggle_menu)
6539 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6540 hildon_window_toggle_menu a virtual function for the stackable
6541 window to override it.
6543 * src/hildon-stackable-window.h
6544 * src/hildon-stackable-window-private.h
6545 * src/hildon-stackable-window.c
6546 (hildon_stackable_window_realize)
6547 (hildon_stackable_window_finalize)
6548 (hildon_stackable_window_class_init)
6549 (hildon_stackable_window_init)
6550 (hildon_stackable_window_set_main_menu): New function to set the
6551 app menu of a HildonStackableWindow.
6553 * examples/hildon-app-menu-example.c: Remove the button to show
6554 the app menu, now it'll be shown when clicking on the title bar
6557 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6559 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6560 set the widget name if the arrangement flags do not specify
6563 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6565 * src/hildon-button.c: (hildon_button_set_property),
6566 (hildon_button_class_init), (hildon_button_new_full),
6567 (hildon_button_set_arrangement): Added "arrangement-flags"
6570 Make the HildonButtonFlags a construction-only property, to allow
6571 subclasses to set them properly.
6573 2008-07-21 Tim Janik <timj@imendio.com>
6575 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6576 insertion position after backspace, so additional digits are appended,
6579 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6581 * src/hildon-pannable-area.c,
6582 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6583 TODO list, it was complete and removed the g_debug and g_print
6586 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6588 Added the movement modes to the hildon-pannable-area, with this
6589 modes the developers can control in which directions the widget
6590 can scroll. They can also connect to signals in order to do
6591 something when that happens, allowing applications scroll. There
6592 is an example uploaded showing how to use it.
6594 * examples/Makefile.am:
6595 * examples/hildon-pannable-area-example-4.c: Added this example of
6596 an application using the modes.
6598 * src/hildon-marshalers.list: Added a new marshaller for the new
6601 * src/hildon-pannable-area.h: Added new enumerations and flags in
6602 order to control the movement modes and the new signals to warn
6603 about the movements in the area.
6605 * src/hildon-pannable-area.c:
6606 (hildon_pannable_axis_scroll),
6607 (hildon_pannable_area_scroll),
6608 (hildon_pannable_area_motion_notify_cb),
6609 (hildon_pannable_area_get_property),
6610 (hildon_pannable_area_set_property),
6611 (hildon_pannable_area_map),
6612 (hildon_pannable_area_class_init),
6613 (hildon_pannable_area_init),
6614 (hildon_pannable_area_jump_to): Added the modes to control the
6615 movement in the widget. We have added properties to control it,
6616 signals to warn about the movements and refactored some code.
6618 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6620 Changes required in order to allow vfast_factor set to zero to
6623 * src/hildon-pannable-area.c:
6624 (hildon_pannable_area_button_press_cb): Changed the condition, it
6625 is required for not allowing click when vfast_factor is zero.
6626 (hildon_pannable_area_timeout): Initialized velocity variables
6627 when we stop moving, it was less than 1 but not zero and we need
6628 to check zero in some situations.
6629 (hildon_pannable_area_class_init): Changed the default value of
6630 the speed factor, now the button_press is just sent in case the
6631 speed is 2 per cent of the max speed.
6632 (hildon_pannable_area_init): Initialization with 0.
6634 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6636 * src/hildon-pannable-area.c,
6637 (hildon_pannable_area_get_topmost): replaced
6638 gdk_window_get_children with gdk_window_peek_children, this way we
6639 do not have to free the list because it is not a copy.
6641 (hildon_pannable_axis_scroll),
6642 (hildon_pannable_area_scroll),
6643 (hildon_pannable_area_timeout),
6644 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6645 two parameters that were only used inside the
6646 hildon_pannable_area_scroll function.
6648 * examples/hildon-pannable-area-example.c,
6649 (get_sawtooth_label): Fixed small memory leak.
6651 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6653 More checks for the case where the overshoot is bigger than the
6656 * src/hildon-pannable-area.c:
6657 (hildon_pannable_draw_vscroll),
6658 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6659 to draw the slider of the scrollbar under the other scrollbar.
6660 (hildon_pannable_area_expose_event): added new checks to control
6661 the drawing of the overshooting area rectangle, in case it is too
6662 big for the area of the widget.
6663 (hildon_pannable_area_size_allocate): add more checks to avoid
6664 setting a position to the child widget outside the area.
6666 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6668 * src/hildon-pannable-area.c
6669 (hildon_pannable_area_size_allocate): Added conditions to control
6670 when overshooting is bigger than the allocated space for the
6671 children, this avoids negative allocations.
6673 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6675 * doc/hildon-docs.sgml
6677 * examples/Makefile.am
6678 * examples/hildon-button-example.c
6680 * src/hildon-button.c
6681 * src/hildon-button.h
6682 * src/hildon.h: Initial version of the new HildonButton widget,
6685 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6687 * src/hildon-pannable-area.c:
6688 (hildon_pannable_area_button_press_cb),
6689 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6690 (hildon_pannable_area_motion_notify_cb),
6691 (hildon_pannable_area_button_release_cb),
6692 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6693 (hildon_pannable_area_jump_to_child):
6695 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6697 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6699 * examples/Makefile.am
6700 * examples/hildon-pannable-area-touch-grid-example.c
6701 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6702 the Hildon Touch List and Hildon Touch Grid using the
6703 HildonPannableArea widget.
6705 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6707 * src/hildon-pannable-area.c,
6708 (hildon_pannable_area_button_press_cb),
6709 (hildon_pannable_area_refresh),
6710 (hildon_pannable_area_scroll),
6711 (hildon_pannable_area_motion_notify_cb),
6712 (hildon_pannable_area_button_release_cb),
6713 (hildon_pannable_area_expose_event),
6714 (hildon_pannable_area_add),
6715 (hildon_pannable_area_remove),
6716 (hildon_pannable_area_realize),
6717 (hildon_pannable_area_size_allocate),
6718 (hildon_pannable_area_class_init),
6719 (hildon_pannable_area_init),
6720 (hildon_pannable_area_scroll_to_child),
6721 (hildon_pannable_area_jump_to_child): Fixed the problem of
6722 removing the child from the GtkBin, we have rearranged the widget
6723 hierarchy, now there is no GtkAlignment which was not doing
6724 anything interesting but breaking some of the assumptions of
6725 GtkContainer. Now developers if they want to add a GtkAlignment
6726 they could, but it is not inside the area.
6728 We had to review the whole allocation/expose process, now it is
6729 improved and we save at least three signals which would be saving
6730 some time when rendering the widget. The allocation of the
6731 scrollbars is now made in the allocate method as usual.
6733 We have also added some conditions in order to control when there
6734 is no child of the pannable area. Maybe we will need more work
6737 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6739 * src/hildon-pannable-area.c,
6740 (hildon_pannable_area_dispose): Released the fade-out timeout when
6741 disposing the widget.
6743 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6745 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6746 zero, we are going to use that property in order to deactivate the
6748 (hildon_pannable_axis_scroll),
6749 (hildon_pannable_area_size_allocate): Added conditions to control
6750 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6751 call, now it is called in all situations and we can remove calls
6752 in the allocate method.
6753 (hildon_pannable_area_map): Control the situation when
6754 overshoot_max is zero, we do not need the timeout.
6755 (hildon_pannable_area_class_init): Added documentation in order to
6756 point out that setting zero to overshoot_max means deactivate
6759 NOTE: removed trailing whitespaces from my previous comments of
6762 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6764 * src/hildon-pannable-area.c
6765 (hildon_pannable_area_get_property),
6766 (hildon_pannable_area_set_property),
6767 (hildon_pannable_area_map),
6768 (hildon_pannable_area_class_init),
6769 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6770 to cause the widget give a hint about its panning abilities upon
6773 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6775 * src/hildon-pannable-area.c: Several documentation improvements.
6777 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6779 * src/hildon-program.c
6780 * src/hildon-stackable-window.c: Update documentation.
6782 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6784 * src/hildon-stackable-window.c (get_previous_window_if_last):
6785 Renamed get_last_window()
6786 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6787 (hildon_stackable_window_unset_program):
6789 (get_previous_window_if_last):
6790 Detect if the window hasn't been added to a HildonProgram.
6792 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6794 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6796 * src/hildon-pannable-area.c
6797 (hildon_pannable_area_button_press_cb),
6798 (hildon_pannable_axis_scroll),
6799 (hildon_pannable_area_scroll),
6800 (hildon_pannable_area_timeout),
6801 (hildon_pannable_calculate_vel_factor),
6802 (hildon_pannable_area_get_property),
6803 (hildon_pannable_area_set_property),
6804 (hildon_pannable_area_class_init),
6805 (hildon_pannable_area_init),
6806 (hildon_pannable_area_scroll_to),
6807 (hildon_pannable_area_jump_to),
6808 (hildon_pannable_area_scroll_to_child),
6809 (hildon_pannable_area_jump_to_child):
6810 * src/hildon-pannable-area.h: Added the new API functions:
6811 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6812 hildon_pannable_area_scroll_to_child,
6813 hildon_pannable_area_jump_to_child
6816 * examples/Makefile.am
6817 * examples/hildon-pannable-area-example-2.c
6818 * examples/hildon-pannable-area-example-3.c: Added these two new
6819 examples in order to test and show how the new APIs work.
6821 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6823 * examples/hildon-stackable-window-example.c (new_window):
6824 * src/Makefile.am (noinst_HEADERS):
6825 * src/hildon-program.c (hildon_program_go_to_root_window):
6826 * src/hildon-program.h:
6827 * src/hildon-stackable-window-private.h:
6828 * src/hildon-stackable-window.c:
6829 * src/hildon-stackable-window.h:
6830 Create hildon-stackable-window-private.h
6831 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6833 * examples/hildon-app-menu-example.c (create_menu):
6834 * examples/hildon-hvolumebar-insensitive-example.c (main):
6835 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6836 * examples/hildon-toolbar-seekbar-example.c (main):
6837 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6838 * src/hildon-banner.c (hildon_banner_set_property):
6839 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6840 Fix compilation warnings
6842 * src/hildon-window.c:
6845 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6847 * src/hildon-stackable-window.c
6848 (hildon_stackable_window_unset_program):
6849 Calculate correctly whether to show the previous window if the
6850 last one is removed from the stack.
6851 (hildon_stackable_window_go_to_root_window):
6852 Send delete events starting from the topmost window.
6853 Stop if one of the windows is not destroyed.
6855 (hildon_stackable_window_delete_event)
6856 (hildon_stackable_window_class_init):
6857 Ignore the delete event if the window is not the topmost one.
6859 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6861 * src/hildon-pannable-area.c
6862 (hildon_pannable_area_expose_event): Fixed a problem when
6863 selecting the background color of the scrollbars.
6865 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6867 * examples/hildon-stackable-window-example.c
6868 * src/hildon-stackable-window.c
6869 * src/hildon-stackable-window.h
6870 hildon_stackable_window_go_home() renamed to
6871 hildon_stackable_window_go_to_root_window()
6872 Send delete events to windows rather than closing them with
6873 gtk_widget_destroy()
6875 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-pannable-area.c
6878 (hildon_pannable_area_button_release_cb): Fix overshooting in
6881 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6883 * src/hildon-pannable-area.c
6884 (hildon_pannable_area_init): Initially show the scroll indicators.
6885 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6887 Add initial effect showing the widget is pannable.
6889 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6891 * src/hildon-pannable-area.c
6892 (hildon_pannable_area_class_init)
6893 (hildon_pannable_area_set_property)
6894 (hildon_pannable_area_get_property)
6895 (hildon_pannable_area_button_press_cb):
6896 New 'velocity_fast_factor' property to decide which velocity is
6899 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6901 * src/hildon-pannable-area.c
6902 (hildon_pannable_draw_hscroll)
6903 (hildon_pannable_draw_vscroll):
6904 Use float variables to calculate the size of the scrollbars to
6905 avoid error propagation and resizing during scrolling.
6907 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6909 * src/hildon-pannable-area.c
6910 (hildon_pannable_draw_vscroll)
6911 (hildon_pannable_draw_hscroll):
6912 Define a minimum size for the scroll bars
6914 * src/hildon-stackable-window.c
6915 (hildon_stackable_window_go_home): Fix compilation warning
6916 (get_last_window): Minor optimizations
6917 (hildon_stackable_window_class_init): Fix initialization of
6920 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6922 * src/hildon-stackable-window.c: Fixed typos in doc
6924 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6926 * src/hildon-pannable-area.c
6927 (hildon_pannable_area_scroll):
6928 Calculate here whether we need to scroll instead of using the booleans
6929 that tell us whether to /draw/ the scrolling bars.
6931 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6933 * src/hildon-app-menu.h
6935 * src/hildon-app-menu.c
6936 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6937 multiple filter groups related code and API. Now we support only
6939 * examples/hildon-app-menu-example.c:
6941 Update to reflect API changes.
6943 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6945 * src/hildon-stackable-window.c
6946 (hildon_stackable_window_class_init):
6947 Add hildon_stackable_window_realize.
6948 (hildon_stackable_window_realize):
6949 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6950 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6951 to apply theming and behavior specific to HildonStackableWindow
6954 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6956 * src/hildon-note.c (hildon_note_button_release):
6957 Close information notes also when tapping on them
6959 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6961 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6962 ELASTICITY, refactor and review, fix some issues with drawing
6965 * src/hildon-pannable-area.c:
6966 (hildon_pannable_area_button_press_cb): removed the conditions to
6967 avoid clicks when overshooting. It is not required
6969 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6970 define. Refatored and reviewed the code, now we do not need to
6971 manage velocity in motion_notify.
6973 (hildon_pannable_area_motion_notify_cb): We have moved the code
6974 that controls the area_scroll to the axis_scroll function and get
6975 rid of duplicated code.
6977 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6979 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6981 (hildon_pannable_draw_vscroll),
6982 (hildon_pannable_draw_hscroll): Fixed the problems with the
6983 scrollbar drawing, now we do not use two surfaces, it is easier
6984 and saves resources.
6986 (hildon_pannable_area_get_property): Style modification.
6988 (hildon_pannable_area_class_init): Changed some default values.
6990 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6992 * src/hildon-stackable-window.c: Fix some typos in the
6995 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6997 * src/hildon-dialog.c:
6998 Change indentation style
7001 (hildon_note_button_release):
7002 Use root coordinates to check if the release event happened
7005 * src/hildon-app-menu.c
7006 (hildon_app_menu_button_release):
7007 Remove unnecessary check
7009 * examples/hildon-app-menu-example.c
7011 Add cast to fix warning
7013 * src/hildon-app-menu.c
7014 (hildon_app_menu_class_init):
7015 New inner-border style property.
7016 Set all default spacings to 16
7017 (hildon_app_menu_init):
7018 Use vertical-spacing to set the space between filter buttons and
7019 regular menu buttons.
7020 Set the default container border using the inner-border value.
7022 * examples/hildon-app-menu-example.c
7024 Don't set the menu border explicitly, now we have the inner-border
7025 style property for that.
7027 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7029 * src/hildon-app-menu.c (hildon_app_menu_init):
7030 Make the window modal
7032 * src/hildon-note.c (hildon_note_map)
7033 * src/hildon-app-menu.c (hildon_app_menu_map):
7034 Destroy the grab window if we're unable to grab the pointer
7036 * src/hildon-app-menu-private.h
7037 * src/hildon-app-menu.c
7038 (hildon_app_menu_init, hildon_app_menu_finalize)
7039 (hildon_app_menu_map, hildon_app_menu_unmap)
7040 (hildon_app_menu_button_release)
7041 (grab_transfer_window_get):
7042 Bring back the grab window
7043 (hildon_app_menu_realize):
7044 Decorate the window, set WM hint for Matchbox
7046 * src/hildon-note.c (hildon_note_realize):
7047 * src/hildon-banner.c (hildon_banner_realize):
7048 Add WM hints for Matchbox
7050 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-app-menu-private.h
7053 * src/hildon-app-menu.c
7054 (hildon_app_menu_init, hildon_app_menu_finalize)
7055 (hildon_app_menu_map, hildon_app_menu_unmap)
7056 (hildon_app_menu_button_release):
7057 Remove the grab window, it's not needed anymore
7059 * src/hildon-program.c
7060 Fixed typo in documentation
7062 * src/hildon-app-menu.h
7063 * src/hildon-app-menu.c
7064 * examples/hildon-app-menu-example.c
7065 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7067 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7070 Added new transfer_window and close_if_pressed_outside private
7072 (hildon_note_rebuild):
7073 Don't add a cancel button to the information note. It will be
7074 closed when tapping outside
7075 Remove the comment about the OK button in the documentation
7076 (hildon_note_realize):
7077 Set the notification type hint
7078 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7079 Grab/ungrab pointer and keyboard if the note has to be closed when
7081 (hildon_note_button_release):
7082 Close the note when tapping outside (if applicable)
7084 * src/hildon-app-menu.c
7085 Grab/ungrab pointer and keyboard on map/unmap
7086 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7087 Close the menu on button release, not button press
7089 * src/hildon-banner.c
7090 (hildon_banner_set_property)
7091 (hildon_banner_check_position):
7092 Make the banner use the full width of the screen
7093 (hildon_banner_show_information)
7094 (hildon_banner_show_information_with_markup):
7095 Don't display an icon by default
7097 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7099 Added fading scrollbars and adapted all the overshooting code to
7100 horizontal scrolling. We have also fixed bugs with overshooting
7101 and current fading implementation.
7103 * src/hildon-pannable-area.c
7104 (hildon_pannable_area_scroll_indicator_fade): Time out function
7105 used to change the transparency of the scrollbars.
7107 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7108 control and fixed a problem with fading, we now remove the fade
7109 timeout before adding a new one.
7111 (hildon_pannable_axis_scroll):
7112 (hildon_pannable_area_scroll):
7113 (hildon_pannable_area_timeout): Added this functions so we can use
7114 the scroll code both for vertical and horizontal.
7116 (hildon_pannable_area_motion_notify_cb):
7117 (hildon_pannable_area_button_release_cb): Added the horizontal
7118 scrolling control, fixed a problem with the overshooting timeout.
7120 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7121 painting of the scrolls.
7123 (hildon_pannable_draw_vscroll):
7124 (hildon_pannable_draw_hscroll):
7125 (hildon_pannable_area_expose_event):
7126 Draw both scrollbars and rectangles in the overshooting area.
7128 (hildon_pannable_area_get_property):
7129 (hildon_pannable_area_set_property):
7130 Modified the overshoot property to overshoot_max
7132 (hildon_pannable_area_map):
7133 Replaced the comments symbols.
7135 (hildon_pannable_area_size_allocate):
7136 (hildon_pannable_area_class_init):
7137 (hildon_pannable_area_init): Added horizontal scroll, fading
7138 effect properties, fixed a problem when overshooting in the bottom
7141 * examples/hildon-pannable-area-example.c:
7142 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7143 looks better in the example.
7145 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7147 * src/hildon-window.c
7148 * src/hildon-window.h
7149 (hildon_window_class_init)
7150 (hildon_window_unset_program)
7151 (hildon_window_unset_program_real):
7152 Make unset_program a virtual function
7154 * src/hildon-stackable-window.c
7155 * src/hildon-stackable-window.h
7156 Added hildon_stackable_window_go_home()
7158 * examples/Makefile.am
7159 * examples/hildon-stackable-window-example.c
7160 HildonStackableWindow example
7162 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7164 * hildon-pannable-area.c: Added the overshoot property and removed
7165 the OVERSHOOT define. Fixed an indent style error.
7166 (hildon_pannable_area_motion_notify_cb):
7167 (hildon_pannable_area_get_property):
7168 (hildon_pannable_area_set_property): Add overshoot property.
7170 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7173 (hildon_pannable_area_class_init): Installed the new property.
7175 * hildon-pannable-area-example.c: Added a sawtooth function, this
7176 way it is easier to check the movement in the pannable.
7177 (get_sawtooth_label): Added this function.
7178 (main): Now we get the labels from the new get_sawtooth_label
7181 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7183 * src/hildon-app-menu.h
7184 * src/hildon-app-menu.c
7185 Renamed API variables for consistency
7187 (hildon_app_menu_popup): Use also the default window size to
7188 decide where to place the menu
7190 (hildon_app_menu_init, hildon_app_menu_class_init): New
7191 external-border style property
7193 2008-05-26 Michael Natterer <mitch@imendio.com>
7195 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7196 widget_class->tap_and_hold_setup signal slot doesn't exist any
7197 longer, stop overriding it.
7199 (hildon_time_editor_init): g_signal_connect() to the
7200 tap-and-hold-setup signal instead.
7202 (hildon_time_editor_entry_keypress): add cast to fix warning.
7204 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7206 * doc/hildon-docs.sgml
7208 * examples/Makefile.am
7209 * examples/hildon-app-menu-example.c
7211 * src/hildon-app-menu-private.h
7212 * src/hildon-app-menu.c
7213 * src/hildon-app-menu.h
7215 New HildonAppMenu widget
7217 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7219 Rearranged the inheritance of the pannable area, now it inherits
7220 from GtkBin. This will allow us to control the event_window and
7221 the allocation process of the widget, required for some effects.
7223 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7224 GtkBin structures. * src/hildon-pannable-area.c: Added the
7225 event_window variable.
7226 (hildon_pannable_area_button_press_cb):
7227 (hildon_pannable_area_button_release_cb):
7228 (hildon_pannable_area_motion_notify_cb):
7229 Changed the signature of the method, now we override the event
7230 callback instead of connecting to the signal.
7232 (hildon_pannable_area_realize):
7233 (hildon_pannable_area_unrealize):
7234 (hildon_pannable_area_map):
7235 (hildon_pannable_area_unmap):
7236 (hildon_pannable_area_size_allocate):
7237 Added functions to control the widget construction. We add a
7238 INPUT_ONLY window and we put it over the widgets inside the
7239 container, this event_window handles the events.
7241 (hildon_pannable_area_class_init):
7242 Replaced the signal connections with overrides of the event
7245 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7247 Bouncing effect added when touching the borders, you can change
7248 the elasticity of the border changing the ELASTICITY define.
7250 * src/hildon-pannable-area.c: Added ELASTICITY define.
7251 (hildon_pannable_area_timeout): Added inverse velocity when
7252 touching the border of the child widget, that causes a bounce.
7254 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7256 Improved performance, we now do not go to the X server in order to
7257 get the list of window children. Apparently the effect is the
7258 same, we have to be careful and check if this breaks something in
7261 * src/hildon-pannable-area.c:
7262 (get_ordered_children): Removed this function.
7263 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7264 the children windows function with gdk_window_get_children.
7266 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7268 * src/hildon-pannable-area.c:
7269 (hildon_pannable_area_dispose): Fixed a crash when closing the
7270 window and kinetics is activated.
7272 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7274 * src/hildon-pannable-area.h
7275 * src/hildon-pannable-area.c
7276 Changed indentation style to meet the one used in Hildon
7278 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7280 Reviewed the interaction of the AUTO mode, now we use the time
7281 attribute of the events and calculate the velocity in the motion,
7282 doing a gimp like calculation. The velocity is calculated in each
7283 motion event using the last velocity and the current one, the
7284 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7286 * src/hildon-pannable-area.c: Replaced the time based algorithm
7288 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7289 timeout for the AUTO mode when we are still moving the cursor. We
7290 added also the velocity calculation in this function.
7291 (hildon_pannable_area_button_release_cb): launch the timeout in
7292 case we are in AUTO mode. There are still some constants here that
7293 come from the old implementation that should be reviewed and
7296 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7298 * doc/hildon-docs.sgml
7301 * src/hildon-stackable-window.c
7302 * src/hildon-stackable-window.h
7304 New HildonStackableWindow widget
7306 * examples/hildon-dialog-example.c
7307 * examples/hildon-pannable-area-example.c
7310 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7312 * src/hildon-dialog.c
7313 (hildon_dialog_new_with_buttons): New constructor.
7315 * examples/hildon-dialog-example.c
7316 (main): Update the example to use the new
7317 hildon_dialog_new_with_buttons().
7319 * examples/hildon-pannable-area-example.c
7320 (main): Update example.
7322 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7324 * doc/hildon-docs.sgml
7326 Added HildonPannableArea to the documentation.
7328 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7330 * doc/visual_index.xml
7331 Fix reference to HildonLoginDialog in documentation
7333 * doc/hildon-docs.sgml
7335 * examples/Makefile.am
7336 * examples/hildon-dialog-example.c
7338 * src/hildon-dialog.c
7339 * src/hildon-dialog.h
7341 New HildonDialog widget.
7343 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7345 * src/hildon-pannable-area.c
7346 Merge latest changes (r4318, r4342) from libmokoui trunk
7348 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7350 * examples/Makefile.am
7351 * examples/hildon-pannable-area-example.c
7353 * src/hildon-pannable-area.c
7354 * src/hildon-pannable-area.h
7356 New HildonPannableArea widget.
7358 2008-04-15 18:05:19 <timj@imendio.com>
7360 * src/hildon-banner.c: revert the recent change, that introduced
7361 gtk_window_present() calls. this reopens:
7362 Bug 78481 - [freetest] information banners are hidden under browser menu
7363 But resolves another variant of:
7364 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7366 2008-04-15 13:21:13 <timj@imendio.com>
7368 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7369 recreated its layout, spotted by Kris. this fixes all remaining
7370 artefacts and stability issues with the banner code. in particular:
7371 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7373 2008-04-14 16:52:59 <timj@imendio.com>
7375 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7376 operating on unrealized widgets, fixes:
7377 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7379 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7381 2008-04-09 Kristian Rietveld <kris@imendio.com>
7383 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7384 makes banner disappear.
7385 Fixes: NB#79182: info banner flickering with certain message lengts.
7387 * src/hildon-banner.c (hildon_banner_constructor),
7388 (hildon_banner_init), (hildon_banner_set_text),
7389 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7390 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7391 FALSE, reset size requests of label and banner,
7392 (force_to_wrap_truncated): when the text is too wide, always enforce
7393 the maximum possible width instead of recalculating it from the
7394 layout; enforce the maximum banner height of 3 lines,
7395 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7396 nicer wrapping and no truncated chars if space gets tight.
7398 * src/hildon-banner-private.h: add has_been_wrapped and
7399 has_been_truncated fields.
7401 2008-04-07 Sven Herzberg <sven@imendio.com>
7403 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7404 local values in hildon_date_editor_size_allocate
7406 * src/hildon-date-editor.c: moved the real allocation code into the
7409 2008-04-07 Sven Herzberg <sven@imendio.com>
7411 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7412 local values in hildon_date_editor_size_allocate
7414 * src/hildon-date-editor.c: merged the two if() branches together
7416 2008-04-07 Sven Herzberg <sven@imendio.com>
7418 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7419 local values in hildon_date_editor_size_allocate
7421 * src/hildon-date-editor.c: changed the arguments of the if()
7424 2008-04-07 Sven Herzberg <sven@imendio.com>
7426 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7427 local values in hildon_date_editor_size_allocate
7429 * src/hildon-date-editor.c: split the calculation of the allocation
7430 from the real allocation
7432 2008-03-27 Michael Natterer <mitch@imendio.com>
7434 Fixes: NB#81696: The passcode is not overwritten even after
7437 * src/hildon-code-dialog.c
7438 (hildon_code_dialog_button_clicked)
7439 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7440 because that doesn't overwrite selected text. Instead, emit the
7441 "commit" signal on the entry's im_context so the entry's normal
7442 insert logic is triggered. Set the cursor to the end of the entry
7443 after each insert operation so that we *only* insert in the middle
7444 of the text if something was selected.
7446 2008-03-27 Michael Natterer <mitch@imendio.com>
7448 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7449 selector cannot be opened
7451 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7452 when the popup color selector is created. Please connect to this
7453 signal in order to set the dialog's help ID.
7455 2008-03-25 Sven Herzberg <sven@imendio.com>
7457 Fixes: MB#1212: Hide info banners (infoprints) on click
7459 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7460 extracted the close event simulation into an extra function
7461 (hildon_banner_button_press_event): simulate a close event and destroy
7462 the widget if the event wasn't handled
7463 (hildon_banner_class_init): added the button_press_event handler
7464 (hildon_banner_init): added button-press events to the widget
7466 2008-03-25 Sven Herzberg <sven@imendio.com>
7468 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7469 Patch from: Mohammad Anwari <mdamt@maemo.org>
7471 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7472 instead of the right in RTL mode
7473 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7474 breadcrumb button list in RTL mode
7475 * src/hildon-caption.c: mirror the appearance of the caption widget in
7477 * src/hildon-date-editor.c: mirror appearance of the date editor in
7479 * src/hildon-time-editor.c: mirror appearance of the time editor in
7481 * src/hildon-window.c: fix the position of the popup in RTL mode
7483 2008-03-25 Sven Herzberg <sven@imendio.com>
7485 Amendment to the fix of NB#22072. Fix compilation.
7487 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7489 2008-03-19 Sven Herzberg <sven@imendio.com>
7491 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7494 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7495 timeout id properly when the timeout will disappear this leaves no
7496 artifacts around in the destroy(); there will only be the timeout
7497 created by hildon_banner_ensure_timeout() and adding a new timeout
7498 will also work if the timeout gets removed because the timeout_handler
7501 2008-03-19 Michael Natterer <mitch@imendio.com>
7503 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7505 * src/hildon-volumebar.c
7506 * src/hildon-vvolumebar.c
7507 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7508 the widget becomes focussable at all.
7510 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7511 set the focus to wither the mute button or the volumebar.
7513 Remove own "can-focus" property and instead listen to
7514 notify::can-focus in order to update the widget's state.
7516 Implement GtkWidget::focus() and make sure we can also *leave* the
7517 widget, not only enter it, depending on volumebar orientation and
7518 requested focus direction.
7520 Clean up set_mute() to cooperate nicely with all the above.
7522 2008-03-04 Michael Natterer <mitch@imendio.com>
7524 Fixes: NB#78481: information banners are hidden under browser menu
7526 * src/hildon-banner.c: call gtk_window_present() on the banners so
7527 they are risen if they are already visible.
7529 2008-03-03 Sven Herzberg <sven@imendio.com>
7531 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7533 * examples/hildon-window-menu-example.c: (main): extended the window
7534 menu example to serve as a testcase for automatically added
7535 accelerator groups, too
7536 * src/hildon-window.c: (hildon_window_add_accel_group),
7537 (hildon_window_set_menu): added patch by Tommi Komulainen
7539 2008-03-03 Sven Herzberg <sven@imendio.com>
7541 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7543 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7544 knowledge about the border allocators used within GTK+
7546 2008-02-26 Sven Herzberg <sven@imendio.com>
7548 Fixes: MB#2981: Build with asserts broken
7550 * src/hildon-date-editor.c,
7551 * src/hildon-number-editor.c,
7552 * src/hildon-time-editor.c,
7553 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7554 the proper GType instance check
7556 2008-02-25 Sven Herzberg <sven@imendio.com>
7558 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7560 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7561 * examples/hildon-window-menu-example.c: (main): explicitly show
7563 * src/hildon-window.c:
7564 (hildon_window_set_main_menu): moved most of the code from set_menu()
7565 to this place; skipped the call to gtk_widget_show_all(); also didn't
7566 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7567 (hildon_window_set_menu): removed most of the code, just keep the
7568 questionable gtk_widget_show_all()
7569 * src/hildon-window.h: added the new function and deprecate the old
7572 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7578 * debian/changelog: Updating.
7580 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7583 * pkgconfig/Makefile.am:
7584 * pkgconfig/hildon.pc.in:
7587 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7588 use newly created API_MAJOR_VERSION.
7590 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7596 * debian/changelog: Updating.
7598 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7602 Add outer_border style property, we use it but don't define it (!).
7606 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7608 * examples/hildon-bread-crumb-trail-example.c (main):
7612 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7614 Fix logic for the bread crumb trail node removal.
7618 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * debian/changelog: Updating.
7626 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7628 Patch by Alejandro to get/set passwords dialogs accesibility.
7630 * hildon-1/src/hildon-get-password-dialog.c:
7631 * hildon-1/src/hildon-set-password-dialog.c:
7632 Set atk_set_name to the passwd entries in order to allow
7633 accessibility by name on this entries.
7635 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7640 * debian/control: Updating gtk dep.
7642 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7644 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7645 USE_MAEMO_GTK is enabled.
7647 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7649 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7650 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7652 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * debian/changelog: Updating.
7660 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * examples/Makefile.am:
7663 * examples/hildon-logical-color-example.c:
7664 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7665 applied + adding a test case. Fixes: NB#71660.
7667 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7669 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7670 to be visible, fixes warning on map for windows without toolbars.
7672 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7674 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7675 2.11.0, add a check for that besides the MAEMO_GTK check.
7677 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * debian/changelog: Updating.
7685 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7688 visibility. Fixes: NB#70842 and MB#615.
7690 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7692 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7693 set the separator as no-show-all so it doesn't unintentionally appear when
7694 someone does a show_all.
7696 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7698 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7699 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7700 toplevel item. Fixes: NB#62031
7702 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7704 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7705 fix the name of the function in the docs.
7707 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * debian/changelog: Updating.
7715 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * examples/hildon-banner-long-example.c: Adding a test-case for long
7720 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7722 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-color-chooser-dialog.c:
7725 * src/hildon-color-chooser.c:
7726 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7727 memory leaks in font selector and color selector. Fixes: NB#70499 and
7730 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7732 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7734 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7737 little bit bigger. Fixes: #NB63694.
7739 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * debian/changelog: Updating.
7747 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * doc/hildon-docs.sgml:
7751 * doc/images/bread-crumb-trail.png:
7752 * doc/images/calendar-popup.png:
7753 * doc/images/caption.png:
7754 * doc/images/code-dialog.png:
7755 * doc/images/color-button.png:
7756 * doc/images/color-chooser-dialog.png:
7757 * doc/images/color-chooser.png:
7758 * doc/images/controlbar.png:
7759 * doc/images/date-editor.png:
7760 * doc/images/font-selection-dialog.png:
7761 * doc/images/get-password-dialog.png:
7762 * doc/images/hvolumebar.png:
7763 * doc/images/login-dialog.png:
7764 * doc/images/note.png:
7765 * doc/images/number-editor.png:
7766 * doc/images/range-editor.png:
7767 * doc/images/seekbar.png:
7768 * doc/images/set-password-dialog.png:
7769 * doc/images/sort-dialog.png:
7770 * doc/images/time-editor.png:
7771 * doc/images/time-picker.png:
7772 * doc/images/vvolumebar.png:
7773 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7774 Adding the bread-crumb-trial and helpers to the documentation.
7776 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7778 * examples/hildon-find-toolbar-example.c:
7779 * src/hildon-find-toolbar.c:
7780 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7781 actually continue firing the other handlers if connected. Adding a new
7783 hildon_find_toolbar_get_last_index that gets the index of the most
7784 recently added (last) item. Fixes: NB#52301.
7786 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7788 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7789 behaviour. Fixes: NB#68610.
7791 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7796 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7799 when realizing the banner. Should make the infonbanner effect a bit more
7802 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-volumebar.c:
7805 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7806 hildon_volumebar_set_range_insensitive_message and
7807 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7809 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * src/hildon-window.c: Fixing the border freeing on destroy.
7813 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * src/hildon-code-dialog-private.h:
7816 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7817 kw keyboard support in HildonCodeDialog.
7819 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7825 * debian/changelog: Updating.
7827 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-date-editor.c:
7830 * src/hildon-number-editor.c:
7831 * src/hildon-private.c:
7832 * src/hildon-private.h:
7833 * src/hildon-time-editor.c:
7834 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7835 handling in subclassed composite widgets. Fixes: NB#66628.
7837 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7840 from destroy_ callback as it introduces problems in async dbus signal
7841 handlers. Fixes NB#66673.
7843 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * examples/hildon-hvolumebar-example.c:
7846 * src/hildon-volumebar.c: Improving the focus handling in the
7847 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7848 set_property accessor so that "mute" property can be actually set. I'm
7849 scared that nobody noticed it's totally broken.
7851 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7856 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * src/hildon-calendar.c:
7859 * src/hildon-number-editor.c:
7860 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7861 matches the spec of 6 chars per second. Fixes: NB#60489.
7863 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7865 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7866 gtk_style_lookup_color sometime returns FALSE even though color was
7867 found and values were filled properly. Weird. Removing the warning for the
7870 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7873 expand vertically. Adding some extra space to the find toolbar buttons to
7874 make them thumbable. Fixes NB#66060.
7876 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7879 popup with "Ok" and "Cancel". Fixes NB#59299.
7881 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * src/hildon-calendar.c: Process all window updates before executing next
7884 timeout. Fixes: NB#54146.
7886 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * debian/changelog: Updating.
7894 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7896 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7897 the client event and ignore it, since we use the delete event to close
7900 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * src/hildon-helper.c: Remove the bogus warning about color not being
7903 found. Fixes NB#58352.
7905 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * examples/Makefile.am:
7908 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7909 HildonSeekbar widget inside a toolbar.
7911 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7913 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7914 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7915 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7916 don't want to be closed by non-temporary windows on map.
7918 Also use G_DEFINE_TYPE instead of manually typed code.
7920 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * debian/rules: Updating.
7929 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7931 * examples/Makefile.am:
7932 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7933 bug NB#61128. Strangely it works.
7935 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * src/hildon-date-editor.c: When the date editor entry has been changed
7938 but the numbers of characters < max, turn off the skip validation flag.
7939 Prevents a situation when we enter first a valid year and later re-write
7940 it with an invalid one. Fixes NB#60154.
7942 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7944 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7945 code dialog. Fixes NB#64355.
7947 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7950 switching the page. Fixes NB#49374.
7952 * examples/Makefile.am:
7953 * examples/hildon-wizard-dialog-example.c: Adding an example for
7954 HildonWizardDialog that shows how to handle manual sensitivity setting on
7957 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7961 * src/hildon-version.h.in:
7962 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7964 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * src/hildon-volumebar.c: Updating the docs.
7968 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7974 * debian/changelog: Updating.
7976 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * src/hildon-find-toolbar.c:
7979 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7980 selected item: hildon_find_toolbar_set_active,
7981 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7982 hildon_find_toolbar_get_active_iter . They correspond to respective
7983 GtkComboBox functions.
7985 * examples/Makefile.am:
7986 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7989 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7991 * examples/Makefile.am:
7992 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7995 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7996 when font size > 32 and we pack a focusable widget inside. Actually using
7997 the default response would work too, but since we don't show default
7998 response state in any way (no theming) it would not be visible to the
7999 user. Fixes NB#63430.
8001 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8003 * src/hildon-date-editor.c: Adding the missing variable setter in the
8004 set_property handler. Fixes NB#54182.
8006 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-window.h: Changing the long key press time from 1500ms to
8009 800ms as requested in NB#63700. I have a bad feeling about this, let's
8010 see... Fixes NB#63700.
8012 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8014 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8015 hildon_time_picker_map, hildon_time_picker_realize,
8016 hildon_time_picker_style_set): Split the contents of map to more
8017 appropriate functions; set window decorations on realize and update
8018 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8020 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8025 * debian/changelog: Updating.
8027 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8029 * src/Makefile.am: fixed installation of the header files
8031 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8037 * debian/changelog: Updating.
8039 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8041 * configure.ac: Removing some remaining of --enable-xan.
8043 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8045 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8046 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8048 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8049 2.10.12-osso6 because the move-focus signal needs to be available in
8052 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8054 * examples/Makefile.am:
8055 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8056 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8057 fine. Prolly NB#61128 is fixed now.
8059 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * src/hildon-volumebar.c:
8062 * src/hildon-volumebar.h: Adding the
8063 hildon_volumebar_set_range_insensitive_message and
8064 hildon_volumebar_set_range_insensitive_messagef functions to set
8065 insensitive message on the slider of the volumebar. Fixes NB#61129.
8067 * examples/Makefile.am:
8068 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8069 test the new insensitive messsage functionality on HildonVolumebar.
8071 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8073 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8076 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8078 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8079 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8080 button on after clearing the trail.
8082 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8084 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8086 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8088 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8089 by splitting the installed headers in generated and non-generated groups. Use
8090 only the non-generated headers to create the hildon-enum-types.h file.
8092 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8094 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * src/hildon-window.c: Hide the window before performing the destroy.
8097 Should make the app closing a little tiny bit more snappy.
8099 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8101 * src/hildon-seekbar.c: add gtkrange.h header
8102 * src/hildon-caption.c: remove unused variable
8104 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8106 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8109 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * debian/changelog: Updating.
8117 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8119 * src/hildon-window.c (hildon_window_window_state_event,
8120 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8121 escape timeout on focus-out-event rather than notify::is-topmost; the
8122 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8124 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8127 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8129 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-window: actually, you need to use the macro always, there's
8132 no private pointer in the instance structure. We should have cleaned this up
8133 when we had the chance...
8135 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8137 * src/hildon-window.c: do not get the private date from HildonWindow before
8138 it passes the g_return_if_fail check. Once it's passed the test, there's no
8139 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8140 if you are only going to access the data once. Whitespace cleanups.
8142 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8144 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8145 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8147 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * debian/changelog: Updating.
8155 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8157 * src/hildon-window.c: When destroying the window, remove (if exists) the
8158 escape timeout handler. Fixes #NB59276.
8160 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8162 * src/hildon-banner.c: When realizing the widget, set the window
8163 transiency. Setting the transiency in the gobject constructor is not
8164 good, as the widget is not realized at that point. Fixes: #NB56624.
8166 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8168 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8169 Add padding for future expansions.
8171 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8173 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8174 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8175 will fake an activation on the previous to the last item of the trail, so
8176 the effect can be overrided by the developer as usual.
8177 Also change the callback for the back button to do the same thing, so its
8178 effect can be overrided too. Fixes: NB#58982
8180 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8182 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8183 HildonCaption. Fixes NB#52379.
8185 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8187 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8188 the internal state of the trail after the user has had the chance of executing
8189 his handler for the signal. Specifically, it may happen that the activated button
8190 is removed and the user still lets the default handler run. This would segfault
8193 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8196 scrollbar to the preview dialog. Fixes NB#54147.
8198 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8201 max/min year properties can be altered, so the client can modify it
8202 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8204 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8206 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8207 hildonlike by default. Fixing a problem with disappearing arrows when
8208 scrolling through months and years. Fixes NB#54127.
8210 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * examples/hildon-date-editor-example.c: Adding error callback to the date
8215 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * configure.ac: Updating.
8223 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8225 * configure.ac: Adding a special '--enable-xan' configure option that
8226 turns off the -Werror compilation setting. Usefull for development.
8228 * src/hildon-calendar.c:
8229 * src/hildon-number-editor.c:
8230 * src/hildon-time-picker.c: Adding the 5* multiplier to
8233 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8236 instead of g_object_ref + gtk_object_sink.
8238 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * debian/changelog: Updating.
8246 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-color-chooser-dialog.c:
8249 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8250 straight from Tommi labs.
8252 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8254 * examples/hildon-finger-example.c: Correcting the header file path.
8256 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8257 the changed signal. Fixes a small memory leak.
8259 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * src/hildon-banner.c: Importing several usefull fixes from the
8264 ubuntu-mobile branch.
8266 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * examples/Makefile.am:
8269 * examples/hildon-finger-example.c: Adding a finger-checking code
8272 * src/hildon-font-selection-dialog.c: Do not allocate the color
8273 structure using the g_new. Fixes NB#54061.
8275 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-helper.c: Correcting tabs in file.
8279 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8281 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8282 control the visibility of the children.
8284 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8286 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * debian/changelog: Updating.
8294 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8296 * src/hildon-bread-crumb-trail.c:
8297 (hildon_bread_crumb_trail_size_allocate):
8299 Make the back button always a square.
8301 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8303 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8304 from the .c file as it's a private file.
8306 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8309 uses slightly bigger height.
8311 * src/hildon-font-selection-dialog.c: Adding some checks before
8312 freeing memory in the font selection dialog.
8314 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-font-selection-dialog.c: Adding a small check when
8319 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8320 buttons sensitivity on page switching.
8322 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8324 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8325 internal details of adding a bread crumb to the trail.
8327 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8333 * debian/changelog: Updating.
8335 * src/hildon-bread-crumb-trail.h:
8336 * src/hildon-bread-crumb.h: Changing the API guard to
8337 HILDON_ENABLE_UNSTABLE_API.
8339 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * src/hildon-helper.h: Updating.
8349 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-helper.h: Small fix to make the package actually compile.
8363 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8365 * src/hildon-bread-crumb-trail.h:
8366 * src/hildon-bread-crumb.h:
8368 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8369 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8371 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8373 * examples/hildon-bread-crumb-trail-example.c:
8375 * src/hildon-bread-crumb-trail.c:
8376 * src/hildon-bread-crumb-trail.h:
8377 * src/hildon-bread-crumb.c:
8378 * src/hildon-bread-crumb.h:
8379 * src/hildon-marshalers.list:
8380 * src/hildon-bread-crumb-widget.c:
8381 * src/hildon-bread-crumb-widget.h:
8383 Slight change in the widget design. The bread crumb trail API is
8384 unchanged, but HildonBreadCrumb is now an interface. A *private*
8385 implementation, hildon-bread-crumb-widget, is provided and used
8386 internally by the trail for the push_text/push_icon functions.
8388 The generic push API is still available, so anyone can implement
8389 and use its own bread crumb widget.
8391 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8393 * debian/rules: Fixing the shlibs.
8395 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * src/hildon-banner.c: Fixing a problem with timed banners having
8398 their parrent destroyed before they are.
8400 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8402 * src/hildon-bread-crumb.c:
8403 * src/hildon-bread-crumb.h:
8405 Make the get_natural_size function a vfunc.
8407 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8409 * src/hildon-bread-crumb.c:
8410 * src/hildon-bread-crumb-trail.c:
8414 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8421 * debian/changelog: Updating for release.
8423 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8425 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8426 don't leak the pango layout.
8428 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8431 * examples/hildon-bread-crumb-trail-example.c:
8435 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * debian/changelog: Removing the bug-fixed entries that were actually
8438 resolved as WONTFIX.
8440 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8443 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8445 * src/hildon-bread-crumb-trail.c:
8446 * src/hildon-bread-crumb-trail.h:
8447 * src/hildon-bread-crumb.c:
8448 * src/hildon-bread-crumb.h:
8452 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8454 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8455 until it's passed the type check.
8457 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8459 * examples/hildon-bread-crumb-trail-example.c
8463 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8465 * examples/Makefile.am
8466 * examples/hildon-bread-crumb-trail-example.c
8468 * src/hildon-bread-crumb-trail.c
8469 * src/hildon-bread-crumb-trail.h
8470 * src/hildon-bread-crumb.c
8471 * src/hildon-bread-crumb.h
8473 New HildonBreadCrumbTrail widget.
8475 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8477 * src/hildon-range-editor.c (hildon_range_editor_init),
8478 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8479 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8480 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8481 hildon_time_editor_class_init, hildon_time_editor_init),
8482 src/hildon-get-password-dialog.c (invalid_input,
8483 hildon_get_password_set_property, hildon_get_password_get_property,
8484 create_contents, hildon_get_password_dialog_set_max_characters),
8485 src/hildon-set-password-dialog.c (create_contents),
8486 src/hildon-date-editor.c (hildon_date_editor_init),
8487 src/hildon-login-dialog.c (hildon_login_dialog_init),
8488 src/hildon-number-editor.c (hildon_number_editor_init),
8489 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8490 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8491 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8492 configure option and adding the respective checks in the code.
8493 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8494 hildon_calendar_drag_data_received): fixed some build warnings.
8496 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * debian/changelog: A 1.0.0 release notes.