1 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
4 "focus-on-click" from the dialog button, to avoid stealing the
7 Fixes: NB#118903 (Account setup wizard: Text in Search field
8 should be focused when "Region" touch list picker is reopened
11 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
13 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
14 (prepare_action_area): Completely hide the dialog separator.
16 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
18 * hildon/hildon-touch-selector-entry.c
19 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
20 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
21 now that the entry is exposed.
23 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
25 * hildon/hildon-touch-selector-entry.c
26 (hildon_touch_selector_entry_init): Change the entry's size
27 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
29 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
31 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
32 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
33 avoid unnecessary scaling.
35 2009-05-27 Alberto Garcia <agarcia@igalia.com>
37 * hildon/hildon-app-menu.c (hildon_app_menu_map):
38 Create grab transfer window before calling parent's map function.
40 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
41 "crushed" button(s) in the top left corner)
43 2009-05-26 Alberto Garcia <agarcia@igalia.com>
45 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
46 Check if the window is already realized when pushing it.
48 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
50 * configure.ac: post release version bump
51 * debian/changelog: post release version bump
53 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
58 * configure.ac: Bump version.
59 * debian/changelog: Updates.
61 2009-05-25 Alberto Garcia <agarcia@igalia.com>
63 * hildon/hildon-app-menu.c: Doc updates.
65 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
67 * hildon/hildon-banner.c: Remove leftover macro.
69 2009-05-25 Alejandro G. Castro <alex@igalia.com>
71 * hildon/hildon-pannable-area.c,
72 (hildon_pannable_area_scroll_indicator_fade),
73 (hildon_pannable_area_button_release_cb): Reviewed vmin
74 conditions, it could cause problems in the fadeout procedure.
76 2009-05-25 Alejandro G. Castro <alex@igalia.com>
78 * hildon/hildon-pannable-area.c
79 (hildon_pannable_area_button_release_cb): Added a threshold to
80 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
82 2009-05-25 Alejandro G. Castro <alex@igalia.com>
84 * hildon/hildon-pannable-area.c,
85 (hildon_pannable_area_set_property): Added code to sync the gtk
86 dnd threshold with the panning threshold.
88 2009-05-25 Alejandro G. Castro <alex@igalia.com>
90 * hildon/hildon-pannable-area.c,
91 (hildon_pannable_area_class_init): Changed some of the default
92 values, now it should be less responsive and more accurate.
94 2009-05-25 Alejandro G. Castro <alex@igalia.com>
96 * hildon/hildon-pannable-area.c,
97 (hildon_pannable_area_init),
98 (hildon_pannable_area_scroll_indicator_fade),
99 (hildon_pannable_area_button_press_cb),
100 (hildon_pannable_axis_scroll),
101 (hildon_pannable_area_timeout),
102 (hildon_pannable_area_motion_notify_cb),
103 (hildon_pannable_area_button_release_cb): Changed the name of the
104 clicked attribute to button_pressed, it is more clear about its use.
106 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
108 * src/hildon-pannable-area.c
109 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
111 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
112 vertical scrollbar visibility, and use the data on private section instead,
113 remove the initial_hint check
114 (hildon_pannable_area_expose_event): add the initial_hint check here
116 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
118 * src/hildon-pannable-area.c
119 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
120 if the fadeout effect was used
121 (hildon_pannable_area_expose_event): check if it is required to
122 manage the initial effect on the begining of the function. Previously
123 it was made at the end, but this doesn't ensure that the scrollbars
124 will be painted on the first show. Do not set to FALSE initial_effect,
125 to ensure that the initial hint is showed the first time the pannable
127 * examples/Makefile.am
128 * examples/hildon-pannable-area-initial-hint-example.c:
129 New example, to show that the initial-hint is showed when the widget
132 Fixes: NB#116607 (Pannable area should always have scrollbar visible
133 initially if the application can be scrolled)
135 2009-05-25 Alberto Garcia <agarcia@igalia.com>
137 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
138 Resize table before adding new items to make sure that
139 gtk_table_resize() is called just once.
141 2009-05-25 Alberto Garcia <agarcia@igalia.com>
143 * hildon/hildon-app-menu-private.h
144 * hildon/hildon-app-menu.c (item_visibility_changed)
145 (filter_visibility_changed, hildon_app_menu_show_all)
146 (hildon_app_menu_hide_all, hildon_app_menu_init):
147 Rearrange items just once when gtk_widget_show_all()/hide_all()
150 2009-05-25 Alberto Garcia <agarcia@igalia.com>
152 * hildon/hildon-app-menu.c
153 (hildon_app_menu_insert, hildon_app_menu_add_filter):
154 Don't call gtk_widget_show() on added items.
156 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
157 automatically when they're added)
159 2009-05-20 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-banner.c
162 (hildon_banner_realize, +hildon_banner_unrealize)
163 (+screen_size_changed, hildon_banner_class_init):
164 Redisplay the banner if the screen is rotated.
166 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
167 on transition from landscape to portrait)
169 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
171 * hildon/hildon-banner.[ch]:
172 (hildon_banner_show_information_override_dnd): remove icon_name from the
173 method definition as it is ignored.
174 * examples/hildon-banner-dnd-example.c: updated with the change on
177 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
179 * hildon/hildon-banner-private.h: new require_override_dnd and
180 overrides_dnd variables
181 * hildon/hildon-banner.h:
182 (hildon_banner_show_information_override_dnd): new method, that shows
183 the information but sets the override flag, in order to show important
185 * hildon/hildon-banner.c
186 (hildon_banner_show_information_override_dnd): new method
187 (hildon_banner_set_override_flag): new utility function
188 (hildon_banner_real_show_information): new utility function, in order to
189 generalize the current hildon_banner_show_information_override_dnd and
190 hildon_banner_show_information_override_dnd
191 * examples/Makefile.am
192 * examples/hildon-banner-dnd-example.c: New example that show how to
193 use the new hildon_banner_show_information_override_dnd
195 Fixes: NB#114874 (There is no possibility to show hildon banners with
198 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
200 * hildon/hildon-pannable-area.c: Add a comment explaining the math
201 behind hildon_pannable_calculate_vel_factor().
203 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
205 * hildon/hildon-pannable-area.c
206 (hildon_pannable_calculate_vel_factor): Correct the sum of the
207 deceleration factors.
209 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
211 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
212 Reduce the default value for 'scroll_time' to 1 second, since the
213 current initial scrolling takes too much time.
215 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
217 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
218 calculate velocity factor during initialization, since the properties
221 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
223 * hildon/hildon-pannable-area.c
224 (hildon_pannable_area_set_property): Calculate the velocity factor
225 after setting the deceleration property and not after.
227 2009-05-20 Alberto Garcia <agarcia@igalia.com>
229 * hildon/hildon-entry.c
230 (hildon_entry_class_init, +set_property, hildon_entry_new)
231 * hildon/hildon-check-button.c
232 (hildon_check_button_class_init)
233 (+set_property, hildon_check_button_new):
234 Make the theme size a property.
236 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
237 others) do too much in the _new function)
239 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: post release version bump
242 * debian/changelog: post release version bump
244 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: Bump version.
250 * debian/changelog: Updates.
252 2009-05-15 Alberto Garcia <agarcia@igalia.com>
254 * hildon/hildon-gtk.h
255 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
256 New API function to take a screenshot of a window
258 Fixes: NB#106374 (Need API to take a loading screenshot)
260 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
262 * hildon/hildon-time-selector.c
263 (update_format_policy): prevent to use hours and minutes unitialized
265 2009-05-15 Alberto Garcia <agarcia@igalia.com>
267 * hildon/hildon-window.c (hildon_window_size_request):
268 Always request the full size of the screen (minus the title bar if
269 not in fullscreen mode).
271 Fixes: NB#107486 (HildonWindow should size itself properly)
273 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
275 * hildon/hildon-note-private.h: Add idle_handler to the private data.
276 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
277 (on_show_cb), (sound_handling): Disconnect the idle handler for
278 the sound when the note is finalized to avoid possible crashes.
280 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
283 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
285 * src/hildon-animation-actor.c,
286 * src/hildon-remote-texture.c:
287 Added proper object cleanup to remove signal handler and object
288 references as HildonAnimationActor and HildonRemoteTexture
289 objects get destroyed.
291 Fixes: NB#116682 (Destroying parented animation actors when
292 parent in unmapped leads to crash)
294 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
296 Based on a patch by Christian Dywan (christian@imendio.com)
298 * doc/hildon-sections.txt:
299 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
300 * hildon/hildon-helper.h: New file size formatting method.
302 * debian/control: Depend on osso-filemanager l10n package for
303 proper localization strings.
305 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
307 * tests/Makefile.am: Include top_srcdir to make possible to build
308 tests in a different builddir.
309 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
310 on a different builddir.
312 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
314 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
315 (hildon_touch_selector_remove): Disconnect model's signal handler
318 Fixes: NB#116289 (Hildon home crashes while adding task
321 2009-05-11 Alberto Garcia <agarcia@igalia.com>
323 * hildon/hildon-button.c
324 (hildon_button_set_title, hildon_button_set_value):
325 Hide labels containing an empty string.
327 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
329 * configure.ac: post release version bump
330 * debian/changelog: post release version bump
332 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
337 * configure.ac: Bump version.
338 * debian/changelog: Updates.
340 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
342 * hildon/hildon-note-private.h: Removed sound_signal_handler
343 * hildon/hildon-note.c
344 (on_show_cb): new callback on note "show" event, this simply adds
345 a idle, with the function sound_handling
346 (sound_handling): removed the sound_signal_handler management
347 (hildon_note_init): connect note "show" event to on_show_cb
348 (hildon_note_realize): remove the connection to "expose-event"
350 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
351 device?' confirmation note)
353 2009-05-08 Alberto Garcia <agarcia@igalia.com>
355 * hildon/hildon-note.c
356 (hildon_note_new_information_with_icon_name)
357 (hildon_note_new_confirmation_with_icon_name):
358 Terminate the list of parameters in g_object_set() calls
360 Fixes: NB#115166 (Formatting memory card is not taking place)
362 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
364 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
365 "dialog-information" role for the sound being played.
367 2009-05-06 Alberto Garcia <agarcia@igalia.com>
369 * hildon/hildon-app-menu.c (hildon_app_menu_init):
370 Don't make the menu a modal window, it causes strange interactions
371 with the pointer grab and it's not really needed.
373 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
375 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
377 * hildon/hildon-touch-selector.[ch]
378 (hildon_touch_selector_optimal_size_request): function added to get a
379 optimal size request from the touch selector, when you want a dialog to
380 show as much of the selector
381 * hildon/hildon-picker-dialog.c:
382 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
383 (hildon_app_menu_class_init):
384 New "max-height-landscape" and "max-height-portrait" style properties
385 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
386 (hildon_picker_dialog_get_max_height): returns the maximum height using
387 the style properties defined and checking the current portrait/landscape
389 (_hildon_picker_dialog_set_selector): removed the set_size_request
391 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
393 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
395 * hildon/hildon-bread-crumb-trail.c:
396 * hildon/hildon-bread-crumb.c:
397 * hildon/hildon-seekbar.c:
398 Add reference to replacements for these deprecated widgets.
400 Fixes: MB#4461 (Documentation: All deprecations should mention
403 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
405 * examples/hildon-remote-texture-example.c
407 Change the include to the hildon-remote-texture in order to compile
408 properly the examples on the installed libhildon1-examples package
410 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
412 * tests/Makefile.am: Add check for HildonPickerButton.
413 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
414 (START_TEST), (create_hildon_picker_button_suite): Add three simple
415 checks for the HildonPickerButton.
416 * tests/check_test.c (configure_tests): Add the test suite.
417 * tests/test_suites.h: likewise.
419 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
421 * hildon/hildon-touch-selector.c
422 (+on_row_changed): Emit HildonTouchSelector:changed when the
423 contents of a selected row change.
424 (_create_new_column), (_hildon_touch_selector_set_model): connect
425 to GtkTreeModel:row-changed on a newly set model.
427 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
429 2009-05-05 Alberto Garcia <agarcia@igalia.com>
431 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
433 * hildon/hildon-banner.c (hildon_banner_destroy)
434 (hildon_banner_show_progress, hildon_banner_set_fraction):
435 Remove the progress bar from HildonBanner and use a progress
438 Fixes: NB#113761 (Update progress banner to use progress
441 2009-05-04 Alberto Garcia <agarcia@igalia.com>
443 * hildon/hildon-banner.c:
444 Calculate size of the banner label using the actual screen width
445 rather than using a fixed value.
447 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
450 2009-05-04 Alejandro G. Castro <alex@igalia.com>
452 * hildon/hildon-pannable-area.c,
453 (hildon_pannable_area_class_init): Fixed signals documentation
456 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: post release version bump
459 * debian/changelog: post release version bump
461 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
466 * configure.ac: Bump version.
467 * debian/changelog: Updates.
469 2009-05-01 Alberto Garcia <agarcia@igalia.com>
471 * hildon/hildon-edit-toolbar.c
472 (hildon_edit_toolbar_init):
473 Don't let buttons in HildonEditToolbar receive focus.
475 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
476 typing on an HW arrows key)
478 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
480 * doc/Makefile.am: Fix build.
482 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
484 * doc/Makefile.am: Do not redefine content_files.
486 2009-04-30 Alberto Garcia <agarcia@igalia.com>
494 Renamed src/ to hildon/
499 Include <hildon/hildon.h> directly in all examples.
501 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
503 * src/hildon-sort-dialog.c
504 (hildon_sort_dialog_add_sort_key_with_sorting)
508 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
510 * src/Makefile.am: Move generated sources to CLEANFILES, so that
511 make distcheck passes.
513 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
515 * Makefile.am: Enable gtk-doc during distcheck.
517 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
519 * Makefile.am: Do not distribute the debian/ directory.
521 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
523 * doc/Makefile.am: Add the extra SGML files to content_files,
524 so that they are distributed properly.
526 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
528 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
531 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
534 (hildon_note_new_information_with_icon_name): Set the "icon" property
535 to preserve soundness.
537 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
539 * src/hildon-font-selection-dialog.c
540 (hildon_font_selection_dialog_set_property): Fail when the "family"
541 property is set to NULL.
543 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
545 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
548 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
550 * src/hildon-time-selector.h:
551 Added HildonTimeSelectorFormatPolicy
552 * src/hildon-time-selector.c:
553 Added PROP_TIME_FORMAT_POLICY
554 (_check_ampm_format): renamed to check_automatic_ampm_format
555 (update_format_policy), (update_format_dependant_columns): new functions
556 (hildon_time_selector_class_init)
557 (hildon_time_selector_contructor)
558 (hildon_time_selector_init)
559 (hildon_time_selector_get_property)
560 (hildon_time_selector_set_property)
561 (hildon_time_selector_get_time)
562 (hildon_time_selector_set_time)
563 * src/hildon-touch-selector.h: new file
564 * src/hildon-touch-selector.c
565 (hildon_touch_selector_emit_changed)
566 (hildon_touch_selector_block_changed)
567 (hildon_touch_selector_unblock_changed)
568 Added functions to allow to block the emission of the "changed" signal
569 * src/hildon-picker-dialog.c
570 (hildon_picker_dialog_show): call the parent show before the custom code
571 * examples/hildon-time-button-example.c
572 Modified, so now you can configure the time format using the new property
574 Added a new property "time-format-policy" that allow to choose the time
575 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
576 case it uses gconf in order to check if the time selector must use
579 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
582 2009-04-28 Alberto Garcia <agarcia@igalia.com>
584 * src/hildon-note.c (hildon_note_init):
585 Label in HildonNote must be left aligned, not centered. This
586 reverts the last commit in HildonNote.
588 Fixes: NB#112933 (text is not left aligned in confirmation dialog
589 is connectivity dialog)
591 2009-04-27 Alberto Garcia <agarcia@igalia.com>
596 * doc/hildon-sections.txt:
597 Added hildon_gtk_window_set_do_not_disturb()
599 2009-04-27 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-note.c (hildon_note_init): Center label.
603 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
606 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
611 * configure.ac: Bump version.
612 * debian/changelog: Updates.
614 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-note-private.h: Add button-width to the private data.
617 * src/hildon-note.c (+resize_button),
618 (+hildon_note_orientation_update): methods to repack widgets on orientation
620 (screen_size_changed): Call above method for confirmation notes.
621 (hildon_note_realize): Always connect to the "screen-size" changed signal.
622 (hildon_note_rebuild): Store the original width request from buttons.
624 Fixes: NB#109635 (Confirmation notes do not support portrait)
626 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
628 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
629 when it is a progress note.
631 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
633 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
634 in the note, since there are no horizontally arranged contents.
636 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
638 * src/hildon-gtk.c (+set_flag): new generic method to
639 set/delay a flag setting in a window.
640 (hildon_gtk_window_set_progress_indicator):
641 (hildon_gtk_window_set_do_not_disturb),
642 (hildon_gtk_window_set_portrait_flags): use set_flag() to
643 avoid code redundance.
645 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
647 Based on a patch by Alberto Garcia (agarcia@igalia.com)
649 * src/hildon-gtk.c (set_clear_window_flag),
650 (do_set_progress_indicator), (do_set_do_not_disturb),
651 (do_set_portrait_flags),
652 (hildon_gtk_window_set_progress_indicator),
653 (hildon_gtk_window_set_do_not_disturb),
654 (hildon_gtk_window_set_portrait_flags):
655 Allow setting dnd-flag, progress indicator, and portrait flags
656 when the window is not realized.
658 2009-04-24 Alejandro G. Castro <alex@igalia.com>
660 * src/hildon-pannable-area.c,
661 * src/hildon-pannable-area.h: Add the hildon deprecated define to
662 the size request policy function and defines.
664 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
666 * doc/hildon-sections.txt: Add the new API.
667 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
668 method to set the portrait flags.
669 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
671 Fixes: NB#112328 (Adding helpers for setting portrait properties)
673 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
676 to allow using this method with other flags.
677 (hildon_gtk_window_set_progress_indicator): Update accordingly.
678 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
680 2009-04-22 Alberto Garcia <agarcia@igalia.com>
682 * src/hildon-touch-selector.c
683 (hildon_touch_selector_append_text_column):
684 Make the cell renderer use the smallest width possible.
686 Fixes: NB#108470 (Selected items in multiple selection are either
687 having a tick that is cut or not visible at all.)
689 2009-04-22 Alberto Garcia <agarcia@igalia.com>
691 * src/hildon-touch-selector.c
692 (hildon_touch_selector_append_text_column):
695 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
697 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
698 Use g_strdup_printf() instead of a fixed size buffer.
700 2009-04-21 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
703 Close banners when a HildonAppMenu is popped up.
705 Fixes: NB#111027 (Title menu closed immediately if activated when
706 "Invalid e-mail address" banner is shown)
708 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
713 * configure.ac: Bump version.
714 * debian/changelog: Updates.
716 2009-04-20 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-banner.c (hildon_banner_realize):
719 Mark HildonBanner as supporting portrait mode.
720 Use GDK to set window properties insetad of direct Xlib calls.
722 Fixes: NB#111830 (HildonBanner should be marked as supporting
725 2009-04-20 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-note.c (hildon_note_rebuild):
728 Hide action area in information notes. Prevents text from being
729 slightly aligned to the left.
731 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
734 2009-04-20 Alberto Garcia <agarcia@igalia.com>
736 Patch by Mox Soini (ext-mox.soini@nokia.com)
738 * src/hildon-banner.c (hildon_banner_create_animation):
739 Use stylus-sized icons in animation banner.
741 Fixes: NB#111206 (stylus sized icon for animation banner)
743 2009-04-20 Alberto Garcia <agarcia@igalia.com>
747 (+hildon_gtk_window_set_do_not_disturb):
748 New API to set the do-not-disturb flag.
750 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
752 2009-04-20 Alberto Garcia <agarcia@igalia.com>
754 * examples/hildon-progress-indicator-example.c: Fix example
756 * src/hildon-gtk.c (set_clear_window_flag)
757 (hildon_gtk_window_set_progress_indicator):
758 Create a generic function for setting flags to a window.
759 Use GDK instead of direct Xlib calls.
761 2009-04-14 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-button.c (hildon_button_set_arrangement):
764 Due to NB#88126, if one of the labels is too long it will be
765 painted outside the button. The 'value' label is more likely to be
766 the longest one, so we change its packing options in order to
767 truncate it if necessary. As a side effect, the 'title' label will
768 no longer be truncated.
770 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
772 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version.
778 * debian/changelog: Updates.
780 2009-04-13 Alejandro G. Castro <alex@igalia.com>
782 Deprecation of the hildon_pannable_area_set_size_request_policy
783 API, the only policy properly supported in gtk+ nowadays is the
786 * src/hildon-pannable-area.c,
787 (hildon_pannable_area_size_request): Added a workaround for the
788 size_request to avoid the problems of huge pixmaps in case someone
789 is still using the function.
790 * src/hildon-pannable-area.h: Deprecated the enum with the
793 Fixes: NB#110244 (Problems with the
794 hildon_pannable_area_set_size_request_policy API)
796 2009-04-08 Alejandro G. Castro <alex@igalia.com>
798 * src/hildon-pannable-area.c,
799 (hildon_pannable_area_init),
800 (hildon_pannable_area_size_request),
801 (hildon_pannable_area_style_set),
802 (hildon_pannable_draw_vscroll),
803 (hildon_pannable_draw_hscroll),
804 (hildon_pannable_area_check_scrollbars): Replaced area_width with
805 indicator_width to clarify the use of the attribute.
807 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
812 * configure.ac: Bump version.
813 * debian/changelog: Updates.
815 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
817 * src/hildon-picker-dialog.c
818 * src/hildon-touch-selector.c
819 Reverting the change that tried to avoid the hardcoded height on
820 the picker dialog, as causes problems on the hildon-touch-selector
823 Fixes: NB#110029 (selectors not scrolling to selected value)
825 2009-04-07 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-touch-selector.c: Fix typos
829 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
831 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
832 Use the event coordinates instead of gdk_window_get_pointer(). Also,
833 request more motions after using it.
835 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-calendar.c (hildon_calendar_expose),
838 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
839 Remove unused variables.
841 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
843 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
846 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
849 Check the return value of gtk_tree_selection_get_selected()
852 2009-04-06 Alberto Garcia <agarcia@igalia.com>
854 * src/hildon-animation-actor.c
855 * src/hildon-button.c
857 * src/hildon-pannable-area.c
858 * src/hildon-picker-button.c
859 * src/hildon-program.c
860 * src/hildon-remote-texture.c
861 * src/hildon-text-view.c
862 * src/hildon-touch-selector.c
863 * src/hildon-window-stack.c
864 * src/hildon-window.c:
865 Add missing 'Since: 2.2' tags.
867 * doc/hildon-sections.txt:
868 Add some missing symbols.
870 * doc/hildon-docs.sgml:
871 New 'Other' section for HildonAnimationActor and
874 2009-04-06 Alberto Garcia <agarcia@igalia.com>
876 Patch by Iván Gómez (igomez@igalia.com)
880 * doc/hildon-docs.sgml
881 * doc/hildon-sections.txt
885 New chapters on using the Hildon library.
886 Updated the general structure of the reference manual.
887 Other minor documentation fixes.
889 * src/hildon-calendar-popup.c
890 * src/hildon-calendar.c
891 * src/hildon-controlbar.c
892 * src/hildon-date-editor.c
893 * src/hildon-dialog.c
894 * src/hildon-hvolumebar.c
895 * src/hildon-number-editor.c
896 * src/hildon-range-editor.c
897 * src/hildon-sort-dialog.c
898 * src/hildon-time-editor.c
899 * src/hildon-time-picker.c
900 * src/hildon-volumebar-range.c
901 * src/hildon-volumebar.c
902 * src/hildon-vvolumebar.c
903 * src/hildon-weekday-picker.c:
904 Add deprecation notes
906 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
907 Document 'horizontal-movement' and 'vertical-movement' signals.
909 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: Bump version.
915 * debian/changelog: Updates.
917 2009-04-06 Alejandro G. Castro <alex@igalia.com>
919 * src/hildon-pannable-area.c,
920 (hildon_pannable_area_class_init): increased the minimum velocity.
921 (hildon_pannable_area_button_release_cb): Updated the
922 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
923 setup. Review the code to control that last event.
925 Fixes: NB#109790 (Releasing finger in pannable area easily causes
928 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
930 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
932 * src/hildon-get-password-dialog.c
933 (hildon_get_password_set_property),
934 (hildon_get_password_get_property), (create_contents):
935 * src/hildon-login-dialog-private.h:
936 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
937 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
938 (hildon_login_dialog_get_password):
939 * src/hildon-set-password-dialog-private.h:
940 * src/hildon-set-password-dialog.c
941 (hildon_set_password_set_property),
942 (hildon_set_password_get_property), (create_contents),
943 (hildon_set_password_response_change),
944 (hildon_set_password_response_set), (hildon_checkbox_toggled):
946 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
947 instead and look more Fremantle style.
949 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
951 2009-04-03 Alberto Garcia <agarcia@igalia.com>
953 * doc/hildon-sections.txt
954 * src/hildon-window-stack.h
955 * src/hildon-window-stack.c
956 (+hildon_window_stack_get_windows):
957 New API to obtain the list of windows on a stack.
959 2009-04-02 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-app-menu.c (hildon_app_menu_popup)
962 (hildon_app_menu_class_init, -hildon_app_menu_show):
963 Remove hildon_app_menu_show() and move all its checks to
964 hildon_app_menu_popup()
966 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
968 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
969 (_hildon_picker_dialog_set_selector): removed call to
970 gtk_widget_set_size_request
971 * src/hildon-touch-selector.c
972 (_create_new_column): change the pannable size request policy
974 Avoid to use a hardcoded height for the hildon picker dialog. In order
975 to get that, we needed to change the hildon pannable size request
977 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
979 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
981 * src/hildon-window.c (hildon_window_map): Check for vbox to be
982 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
985 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
987 * debian/control: Depend on osso-system-lock localization package.
988 * src/hildon-code-dialog.c: Obtain the secu_application_title
989 translation from osso-system-lock.
990 * src/hildon-get-password-dialog.c (create_contents): Do not mark
991 for translation the atk related strings, that's not necessary.
992 * src/hildon-set-password-dialog.c (create_contents): Ditto.
993 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
994 cancel button, it is not required.
996 2009-04-02 Alejandro G. Castro <alex@igalia.com>
998 * src/hildon-pannable-area.c,
999 (hildon_pannable_area_class_init): Modified the default value of
1000 the overshooting max speed, we have reduced it.
1002 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1004 * doc/hildon-sections.txt
1005 * src/hildon-window-private.h
1006 * src/hildon-window.h
1007 * src/hildon-window.c (hildon_window_class_init)
1008 (hildon_window_init, hildon_window_finalize)
1009 (hildon_window_realize, hildon_window_get_property)
1010 (hildon_window_set_property, hildon_window_update_markup)
1011 (hildon_window_get_markup, hildon_window_set_markup):
1012 New "markup" property and hildon_window_{get,set}_markup() methods.
1014 * examples/hildon-stackable-window-example.c (new_window):
1015 Update example to use hildon_window_set_markup()
1017 Fixes: NB#106375 (Need API to retitle a window with a title
1020 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1022 * src/hildon-pannable-area.c,
1023 (hildon_pannable_area_class_init): Changed the default value of
1024 the initial_hint to TRUE.
1025 (hildon_pannable_area_initial_effect): Changed the initial effect,
1026 not the effect is just the fade-out of the scrollbars.
1028 Fixes: NB#107775 (No scrollbars can be seen when several items are
1029 available in a dialog)
1031 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1033 * src/hildon-program.c (hildon_program_update_top_most):
1036 Fixes: NB#109179 (Memory leak in Hildon program)
1038 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-banner.c (-get_current_app_window):
1041 Remove unused function.
1043 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1045 * src/hildon-pannable-area.c: Modified the documentation of the
1046 get adjustments functions to explain the problem of using the
1047 adjustment directly.
1048 (hildon_pannable_area_class_init): Improved the explanation about
1051 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-app-menu-private.h
1054 * src/hildon-app-menu.c
1055 (hildon_app_menu_class_init):
1056 Bring back the 'external-border' style property
1057 (hildon_app_menu_class_init, hildon_app_menu_init)
1058 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1059 Set a fixed width-request for the menu, independent of the number
1062 Fixes: NB#94957 (Smoothly opened application menu)
1064 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1068 * src/hildon-banner.c
1069 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1071 Make sure that the banner is correctly placed the first time it's
1073 (hildon_banner_check_position, -check_fullscreen_state):
1074 Show the banner in the same place no matter if the window is in
1075 fullscreen mode or not.
1077 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1079 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-touch-selector.c (_default_print_func): reorder
1082 concatenation for clarity.
1084 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1086 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1087 for multicolumn selectors.
1089 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1091 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1096 * configure.ac: Bump version.
1097 * debian/changelog: Updates.
1099 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1101 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1104 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1106 * configure.ac: removed libcangerra-gtk dependency
1107 * debian/control: removed libcanberra-gtk dependency
1108 * src/Makefile.am: removed libcanberra gtk related flags
1109 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1110 context, and manage a global canberra context instead
1112 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1114 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1116 Patch by Daniel Borgmann (danielb@openismus.com)
1118 * src/hildon-edit-toolbar.c:
1119 Adjust the left padding.
1120 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1121 Paint background of the edit toolbar.
1123 Fixes: NB#107897 (Patch to make editmodetoolbar background
1124 themeable and adjust margin)
1126 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1128 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1130 * src/hildon-program.c (hildon_program_update_top_most):
1131 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1133 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1134 change when the user tasks in/out of an application)
1136 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1138 * configure.ac: added libcangerra-gtk dependency
1139 * debian/control: added libcanberra-gtk dependency
1140 * src/Makefile.am: added libcanberra gtk related flags
1141 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1144 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1146 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1148 * src/hildon-program.c (hildon_program_remove_window)
1149 (hildon_program_add_window): Add checks for the window
1150 parameter. Don't decrease the window counter if the window is not
1153 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1155 * src/hildon-pannable-area.c,
1156 (hildon_pannable_area_realize): Fixed position of the event_window
1157 in the realize method.
1159 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-app-menu-private.h
1162 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1163 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1164 (hildon_app_menu_key_press, hildon_app_menu_init)
1165 (hildon_app_menu_finalize):
1166 Make sure that all idle functions are removed when the widget is
1169 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1171 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1176 * configure.ac: Bump version.
1177 * debian/changelog: Updates.
1179 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/hildon-entry.c
1182 (+hildon_entry_show_placeholder),
1183 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1184 that replace hildon_entry_update_contents().
1185 (hildon_entry_set_text),
1186 (hildon_entry_set_placeholder),
1187 (hildon_entry_focus_in_event),
1188 (hildon_entry_focus_out_event): Determine when it is needed
1189 either to show or hide the placeholder and call the above methods.
1191 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1192 when the placeholder text is already set)
1194 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1197 simple GdkPixbufAnim using the new icons for the banner.
1198 (hildon_banner_show_animation): Use the above mentioned method to
1199 create the animation widget.
1201 Fixes: NB#103564 (Make hildon animation banner use individual
1202 image files as the animation)
1204 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1206 * src/hildon-pannable-area.c,
1207 (hildon_pannable_leave_notify_event): Check if the child is NULL
1208 to avoid sending the leave.
1210 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1212 * src/hildon-pannable-area.c,
1213 (hildon_pannable_area_class_init),
1214 (hildon_pannable_leave_notify_event): Added a handler of the
1215 leave-notify-signal to consider when no motion notify before
1218 Fixes: NB#107494 (Items stay selected when clicking and moving
1219 away when inside pannable area)
1221 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1226 * configure.ac: Bump version.
1227 * debian/changelog: Updates.
1229 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1231 Patch by Alberto Garcia (agarcia@igalia.com)
1233 * src/hildon-date-button.c,
1234 (hildon_date_button_class_init),
1235 (hildon_date_button_init): Removed the construct property handling
1236 and created a default selector in the init method.
1237 * src/hildon-picker-button.c,
1238 (hildon_picker_button_class_init): Removed the construct flag of the
1241 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-main.c (hildon_init):
1244 Don't allow hildon_init() to be called more than once.
1246 Fixes: NB#106607 (hildon_init should issue error message upon
1249 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * examples/hildon-pannable-area-touch-list-example.c
1252 * examples/hildon-pannagle-area-touch-grid-example.c
1253 * examples/hildon-edit-toolbar-example.c
1254 * examples/hildon-touch-selector-multi-cells-example.c
1255 Removed the call to gtk_rc_parse_string, as it is not required since
1258 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1260 * src/hildon-pannable-area.c,
1261 (hildon_pannable_area_class_init): Modified the default panning
1262 threshold of the widget to 6px.
1264 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1265 than the threshold value ) within the button is not sending the
1268 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1271 for the treeview in the new column. This way, the touch list will never
1274 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1275 be selected manually for the HW keys to work)
1277 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1279 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1280 comparison instead of using strcmp(). Fixes a compiler warning as well.
1282 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1284 * doc/hildon-docs.sgml: Do not set the library version in the
1285 document title, use the releaseinfo tag for that purpose instead.
1287 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1290 Do not jump to the first item if the text in the entry is removed.
1292 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: Bump version.
1298 * debian/changelog: Updates.
1300 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1302 * src/hildon-entry.c (hildon_entry_refresh_contents):
1303 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1304 Use "ReversedSecondaryTextColor" for the placeholder text.
1306 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-text-view.c: Fix compilation warning.
1310 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1312 * src/hildon-button.c (hildon_button_class_init): Don't make
1313 "title" and "value" construction properties, to prevent them from
1314 overwriting labels set from derived classes.
1316 * src/hildon-picker-button.c
1317 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1318 (hildon_picker_button_class_init): Make touch-selector a
1319 construction property.
1321 * src/hildon-date-button.c (hildon_date_button_class_init)
1322 (+hildon_date_button_constructed): Add a default date selector if
1325 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-touch-selector.c: Small documentation fixes.
1329 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1331 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1333 * src/hildon-entry.c (hildon_entry_refresh_contents),
1334 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1335 widget name, set the logical color directly instead and a boolean
1336 showing_placeholder instead.
1337 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1338 use the widget name here either.
1340 Fixes: NB#105678 (HildonTextView should use logical colours
1341 instead of setting widget name)
1343 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1345 Patch by Daniel Elster (danielk@openismus.com)
1347 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1348 Add user_data parameter.
1349 (hildon_touch_selector_set_print_func_full): New function akin
1350 hildon_touch_selector_set_print_func() but with support for user
1351 data and a destroy callback.
1352 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1353 to clean up the print function user data.
1354 (hildon_touch_selector_class_init): Install dispose function.
1355 (HildonTouchSelectorPrivate::print_user_data),
1356 (HildonTouchSelectorPrivate::print_destroy_func): New private
1358 (hildon_touch_selector_init): Initialize new private members.
1359 (hildon_touch_selector_get_current_text): Pass along user data
1360 to the print function.
1361 (_default_print_func): Add dummy user_data to parameter list.
1362 * hildon-date-selector.c (_custom_print_func): ditto,
1363 * hildon-time-selector.c (_custom_print_func): ditto,
1364 * hildon-touch-selector-entry.c
1365 (hildon_touch_selector_entry_print_func): ditto.
1367 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1369 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1371 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1373 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1375 * src/hildon-pannable-area.c,
1376 (hildon_pannable_area_init),
1377 (hildon_pannable_area_button_press_cb),
1378 (hildon_pannable_area_motion_notify_cb): We have added code to
1379 handle the leave and enter events when using the motion events.
1381 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1383 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1385 * src/hildon-date-button.c (hildon_date_button_get_date)
1386 (hildon_date_button_set_date): Make sure that the button has a
1389 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1391 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1393 * src/hildon-pannable-area.c,
1394 (hildon_pannable_area_class_init),
1395 (hildon_pannable_area_calculate_velocity): Modify the use of the
1396 force and adapt the value.
1398 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1400 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1401 (hildon_app_menu_class_init): Hide the menu if it receives a
1402 delete-event, but don't destroy it
1404 Fixes: NB#104485 (Not able to address the call when application
1405 menu is opened at background)
1407 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-app-menu.c
1410 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1411 Remove the "external-border" style property, let the menu take its
1412 natural size (or the one set by the window manager)
1413 (hildon_app_menu_repack_items):
1414 Don't reshow the menu, avoid flickers.
1416 Partially fixes NB#94957 (Smoothly opened application menu)
1418 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1423 * configure.ac: Bump version.
1424 * debian/changelog: Updates.
1426 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1428 * src/hildon-pannable-area.c,
1429 (hildon_pannable_area_motion_notify_cb): We control that the
1430 direction error margin is used just in case the movement is
1431 allowed in the other direction.
1433 Fixes: NB#105012 (buttons inside a pannable area not getting
1434 release event when dragging/releasing)
1436 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_class_init),
1440 (hildon_pannable_area_get_property),
1441 (hildon_pannable_area_set_property),
1442 (hildon_pannable_area_initial_effect),
1443 (hildon_pannable_axis_scroll),
1444 (hildon_pannable_area_button_release_cb): Reviewed the
1445 overshooting effect, now it has its own max
1446 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1447 speed when bouncing.
1449 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1454 * configure.ac: Bump version.
1455 * debian/changelog: Updates.
1457 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1459 * src/hildon-pannable-area.c,
1460 (hildon_pannable_area_class_init): Changed the max speed, now
1461 users can launch the widget very fast. Reduced the default force,
1462 that way it is easier to control the launch speed.
1464 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1466 * src/hildon-pannable-area.c,
1467 (hildon_pannable_area_button_release_cb): Removed this check
1468 because it causes problems when the device is overloaded.
1470 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1472 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1473 add a current_text field to store the text entered in the
1474 touch selector entry.
1475 (_clean_current_selection): clean up the current text as well.
1476 (_save_current_selection), (_restore_current_selection):
1477 Save/restore the text in the entry if the selector is a
1478 HildonTouchSelectorEntry.
1480 Fixes: NB#102541 (value entered in the touch selector entry is not
1481 shown when opened for second time)
1483 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1485 * doc/hildon-sections.txt:
1486 * src/hildon-touch-selector-entry.c
1487 (+hildon_touch_selector_entry_get_entry):
1488 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1490 Fixes: NB#104815 (I need accessor to the entry inside
1491 HildonTouchSelectorEntry)
1493 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1496 (hildon_app_menu_class_init):
1497 New "filter-vertical-spacing" style property.
1499 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-find-toolbar.c
1502 (hildon_find_toolbar_emit_close)
1503 (hildon_find_toolbar_emit_invalid_input)
1504 (hildon_find_toolbar_entry_activate):
1505 Use g_signal_emit() instead of g_signal_emit_by_name()
1507 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1509 Patch by Mox Soini (ext-mox.soini@nokia.com)
1511 * tests/TEST-CASES.txt
1512 * tests/check-hildon-banner.c
1513 * tests/check-hildon-note.c
1514 * src/hildon-banner.c
1515 * src/hildon-code-dialog.c
1516 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1517 * src/hildon-time-editor.c
1518 * examples/hildon-lookup-example.c (main):
1519 Replace obsolete icon names with new ones.
1521 * src/hildon-find-toolbar-private.h:
1522 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1523 (-hildon_find_toolbar_emit_search):
1524 Remove find button and change icon of close button.
1526 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1528 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-time-button.c (hildon_time_button_new_step):
1531 Use the "touch-selector" property to set the selector directly
1532 when creating the object.
1534 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1536 Added a new example application that allows tuning the pannable
1537 area and replaced defines with properties in order to simplify the
1538 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1539 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1540 PROP_DIRECTION_ERROR_MARGIN.
1542 * examples/hildon-pannable-area-tuning-example.c: New example
1544 * src/hildon-pannable-area.c,
1545 (hildon_pannable_area_class_init),
1546 (hildon_pannable_area_init),
1547 (hildon_pannable_area_get_property),
1548 (hildon_pannable_area_set_property),
1549 (hildon_pannable_area_launch_fade_timeout),
1550 (hildon_pannable_area_adjust_value_changed),
1551 (hildon_pannable_axis_scroll),
1552 (hildon_pannable_area_motion_notify_cb),
1553 (hildon_pannable_area_scroll_cb),
1554 (hildon_pannable_area_button_release_cb): We have converted some
1555 of the defines that control the widget to properties to simplify
1558 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1560 * src/hildon-app-menu.c (hildon_app_menu_map)
1561 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1562 so it's closed if a new window appears.
1564 Fixes: NB#104485 (Not able to address the call when application
1565 menu is opened at background)
1567 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1569 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1570 missing 'break' statement in in 'case' construct to avoid
1573 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1575 * src/hildon-touch-selector-entry.c
1576 (hildon_touch_selector_entry_get_property),
1577 (hildon_touch_selector_entry_set_property): Add missing 'break'
1578 statements in in 'case' constructs to avoid incorrect warnings.
1580 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1582 * src/hildon-time-editor.c
1583 (hildon_time_editor_get_time_separators): Do not crash if
1584 the first label is NULL.
1586 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1588 * src/hildon-date-selector.c (_month_days): Check for month to be
1589 strictly less than 12, since otherwise we may overrun the array.
1591 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-date-button.c (+hildon_date_button_new_full)
1594 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1595 (hildon_date_button_init): Set the date selector using a
1596 construction property, to make it happen after HildonButton's
1597 "value" property is set.
1599 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1600 current date by default)
1602 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1604 * doc/hildon-sections.txt
1605 * src/hildon-program.c
1606 * src/hildon-stackable-window.c
1607 * src/hildon-window.c:
1608 Documentation updates
1610 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1612 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1613 (hildon_window_stack_new, +hildon_window_stack_set_property)
1614 (+hildon_window_stack_get_property)
1615 (hildon_window_stack_class_init)
1616 (+hildon_window_stack_set_window_group)
1617 (+hildon_window_stack_get_window_group):
1618 Make the window group a construction property.
1620 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1622 * doc/hildon-sections.txt
1623 * src/hildon-stackable-window-private.h
1624 * src/hildon-stackable-window.h
1625 * src/hildon-stackable-window.c
1626 (-hildon_stackable_window_set_app_menu)
1627 (-hildon_stackable_window_get_app_menu)
1628 (-hildon_stackable_window_toggle_menu)
1629 (-hildon_stackable_window_finalize)
1630 (hildon_stackable_window_class_init)
1631 (hildon_stackable_window_init)
1632 * src/hildon-window-private.h
1633 * src/hildon-window.h
1634 * src/hildon-window.c (hildon_window_init)
1635 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1636 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1637 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1638 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1639 Moved all HildonAppMenu code to HildonWindow. The menu does not
1640 require a HildonStackableWindow anymore.
1642 * src/hildon-app-menu.c
1643 * src/hildon-program.c
1644 * examples/hildon-app-menu-example.c (main):
1645 Update examples and documentation to reflect HildonAppMenu
1648 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-remote-texture.c
1651 * src/hildon-animation-actor.c:
1652 Don't include unused private headers.
1654 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-program-private.h
1657 * src/hildon-program.c
1658 (hildon_program_set_common_menu)
1659 (hildon_program_get_common_menu)
1660 (hildon_program_set_common_app_menu)
1661 (hildon_program_get_common_app_menu):
1662 Change common menu pointers from GtkWidget* to GtkMenu* and
1663 HildonAppMenu* to avoid unnecessary casts.
1665 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-window.c (hildon_window_set_main_menu):
1668 Removed incorrect 'Since:' tag
1670 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1672 * src/hildon-pannable-area.c,
1673 (hildon_pannable_area_calculate_velocity): We use now the
1674 RATIO_TOLERANCE here to check the distance, fixed typo in the
1676 (hildon_pannable_area_motion_notify_cb): We have to set the type
1677 and time even if we are not sending the motion.
1679 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1681 * doc/hildon-sections.txt
1682 * src/hildon-app-menu.h
1683 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1684 (+hildon_app_menu_get_filters): New methods to get the contents of
1687 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1690 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-app-menu.c (hildon_app_menu_popup):
1695 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-window.h
1698 * src/hildon-window.c (+hildon_window_get_main_menu)
1699 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1700 and deprecated hildon_window_get_menu().
1702 * src/hildon-stackable-window.h
1703 * src/hildon-stackable-window.c
1704 (+hildon_stackable_window_set_app_menu)
1705 (+hildon_stackable_window_get_app_menu)
1706 (hildon_stackable_window_set_main_menu): Created
1707 hildon_stackable_window_{get,set}_app_menu() and deprecated
1708 hildon_stackable_window_set_main_menu().
1710 * doc/hildon-sections.txt
1711 * examples/hildon-app-menu-example.c (main)
1712 * src/hildon-app-menu.c
1713 * src/hildon-program.c:
1714 Updated examples and documentation.
1716 Fixes: NB#103758 (No way to obtain a menu from a
1717 HildonStackableWindow)
1719 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1724 * configure.ac: Bump version.
1725 * debian/changelog: Updates.
1727 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1729 * examples/hildon-remote-texture-example.c: Include
1730 hildon-remote-texture.h explicitely.
1731 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1732 applications not defining _XOPEN_SOURCE which don't require this header.
1734 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1736 * doc/hildon-sections.txt
1737 * src/hildon-app-menu.h
1738 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1739 New function to pop up a HildonAppMenu
1741 * src/hildon-stackable-window.c
1742 (hildon_stackable_window_toggle_menu):
1743 Use hildon_app_menu_popup() to show the menu.
1745 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1747 * src/hildon-app-menu.c (hildon_app_menu_show)
1748 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1749 menu if there's another window between it and its parent window.
1751 Fixes: NB#100468 (Application menu window is launched even when a
1752 new secondary-window/dialog is pending to be shown/realized)
1754 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-window-stack.c (hildon_window_stack_push)
1757 (hildon_window_stack_pop_and_push):
1758 Don't forget to push/pop the first window.
1759 Reverse the window list before calling _push_list()
1761 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1763 * src/hildon-picker-button.h
1764 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1765 Remove "value_changed" slot to avoid ABI breakage
1767 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1769 * src/hildon-pannable-area.c,
1770 (hildon_pannable_area_realize),
1771 (hildon_pannable_area_unrealize),
1772 (hildon_pannable_draw_vscroll),
1773 (hildon_pannable_draw_hscroll): Changed the method to handle the
1774 GC used to draw the transparent scrollbar, this way we avoid
1775 creating the GC all the time when drawing the scrollbars.
1777 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1779 * src/hildon-pannable-area.c,
1780 (hildon_pannable_area_init),
1781 (hildon_pannable_area_remove): Removed some unnecessary casts.
1782 (hildon_pannable_area_dispose): Disconnected some signals before
1783 releasing the adjustments.
1785 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1788 Make sure that all widgets contained in the toolbar are shown.
1790 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1792 * doc/hildon-sections.txt
1793 * src/hildon-picker-button.h
1794 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1795 (_selection_changed, hildon_picker_button_on_dialog_response)
1796 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1797 New hildon_picker_button_value_changed() method.
1800 * src/hildon-picker-button-private.h
1801 * src/hildon-picker-button.c (hildon_picker_button_init)
1802 (+hildon_picker_button_disable_value_changed): Add protected
1803 function for disabling the "value-changed" signal.
1805 * src/hildon-date-button.c (hildon_date_button_set_date):
1806 Don't emit "value-changed" for each one of the three columns.
1808 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1809 before actual change of values)
1811 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1815 for the treeview overshooting.
1817 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-banner.c (+hildon_banner_bind_style):
1820 Renamed from hildon_banner_bind_label_style(), now naming the
1821 banner itself as well.
1822 (hildon_banner_show_information),
1823 (hildon_banner_show_information_with_markup),
1824 (hildon_banner_show_animation), (hildon_banner_show_progress):
1825 Name the widgets and labels, based on their type.
1827 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1830 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1832 * src/hildon-note.c (hildon_note_set_property): call
1833 hildon_note_rename() on HildonNote:note-type set.
1834 (hildon_note_rename): Name the note and its label, based on the
1835 HildonNote:note-type property.
1837 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1840 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_class_init),
1844 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1845 panning parameters, increased SPS and deceleration factor. Added
1846 also a margin to control fake directions.
1848 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1850 Patch by Sven Herzberg (sven@imendio.com)
1852 * configure.ac: Add missing AM_PROG_CC_C_0
1853 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1855 See NB#101420 (Update unit tests and fix make check)
1857 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1859 This patch was applied before but reverted because it caused
1860 problems, we have changed the main condition and tested the
1861 regressions we detected before and they work ok. We have done a
1862 complete review of the topmost algorithm in order to get a more
1865 * src/hildon-pannable-area.c,
1866 (hildon_pannable_area_get_topmost): Added a new parameter to
1867 filter the the windows that do not include those events.
1868 (hildon_pannable_area_button_press_cb),
1869 (hildon_pannable_area_button_release_cb),
1870 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1871 topmost function, we have added the new parameter.
1873 Fixes: NB#97458 (Pannable area prevents propagation of button
1876 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1878 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1879 if all columns in the selector have an item selected.
1880 (_on_dialog_response): Stop "response" signal emission if there is
1881 any selector column without selected items.
1883 Fixes: NB#101889 (Picker dialog should not close when nothing is
1884 selected in multiple selection list)
1886 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1888 * src/hildon-font-selection-dialog.c
1889 (hildon_font_selection_dialog_class_init),
1890 (hildon_font_selection_dialog_init): Remove the preview
1891 button and dialog, since previewing with default theming is likely
1892 to be overcomplicated. The :preview property has now no effect.
1893 Update documentation blurbs to inform about this.
1895 Fixes: NB#92297 (Preview content is not clearly visible for
1896 default colour text)
1898 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1900 Reviewed the geometry that handles the children size and
1901 scrollbar, now it tries a size and reviews the results depending
1902 on the scrollbars visibility.
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_realize): Fixed a typo.
1906 (hildon_pannable_area_child_allocate_calculate): Added this
1907 function to calculate the child allocation.
1908 (hildon_pannable_area_size_allocate): Reviewed the allocation
1910 (hildon_pannable_area_check_scrollbars),
1911 (hildon_pannable_area_refresh): Refactored refresh function, this
1912 way we can call the code handling the scrollbars without causing a
1913 size_request, it is interesting in the allocate.
1914 (hildon_pannable_area_init): Replace the callbacks of the
1915 value_changed and changed signals to propertly deal with the
1917 (hildon_pannable_area_grab_notify),
1918 (hildon_pannable_area_initial_effect),
1919 (hildon_pannable_area_launch_fade_timeout),
1920 (hildon_pannable_area_adjust_changed),
1921 (hildon_pannable_area_adjust_value_changed),
1922 (hildon_pannable_area_redraw),
1923 (hildon_pannable_area_button_press_cb),
1924 (hildon_pannable_area_button_release_cb),
1925 (hildon_pannable_area_scroll_cb),
1926 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1927 code and use the new functions adjust_changed and
1928 adjust_value_changed.
1930 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1931 Contact editor dialog)
1933 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1938 * configure.ac: Bump version.
1939 * debian/changelog: Updates.
1941 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1943 * src/hildon-pannable-area.c,
1944 (hildon_pannable_area_get_topmost),
1945 (hildon_pannable_area_button_press_cb),
1946 (hildon_pannable_area_button_release_cb),
1947 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1948 topmost function adding the event mask. We have to try a
1949 differente approach because it is still causing problems (NB#9745,
1952 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-banner.c:
1955 Update the maximum width of timed banners.
1956 (force_to_wrap_truncated): Enforce the maximum text width if the
1959 Fixes: NB#102413 (The text margins (wrapping) in information
1960 banner should be HILDON_MARGIN_TRIPLE)
1962 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1964 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1966 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1967 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1968 bound when calculating the scroll indicator position.
1970 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1971 treat ->lower correctly)
1973 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1976 expose event handling, since it is not necessary to draw the focus
1979 Fixes: NB#102467 (Do not show highlight on the text in
1982 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1984 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1985 full height of the toolbar for the button and the label.
1987 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1990 padding before the label and after the button.
1992 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1996 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1997 Add a GtkVSeparator between the button and the back arrow.
1998 Let the button have automatic size.
1999 Set a name to the widget for theming handling.
2001 Fixes: NB#101793 (Make edit toolbar the same height as window
2002 title bar (use title area theming))
2004 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-helper.c (attach_new_color_element): Fix memory
2009 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2011 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2013 * examples/hildon-button-example.c (common_buttons_window): Don't
2016 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2019 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2021 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-gtk.c: Check that the window is realized.
2025 Fixes: NB#102225 (Crash setting the progress indicator to a non
2028 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2031 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2032 instead of modifying the one in the widget style.
2034 Fixes: NB#101043 (Second row of all the command button are
2035 displayed in transparent mode.)
2037 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2039 * src/hildon-date-button.c
2040 * src/hildon-time-button.c: Add gettext macros
2042 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-date-button.c (hildon_date_button_new):
2045 * src/hildon-time-button.c (hildon_time_button_new_step):
2046 Use new logical strings to set the button default title.
2048 Fixes: NB#99915 (Date and Time options are not localised in Date
2051 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-pannable-area.c
2054 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2055 the PANNING_THRESHOLD.
2057 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2059 * src/hildon-pannable-area.c,
2060 (hildon_pannable_area_class_init): Increased the maximum speed.
2061 (hildon_pannable_area_get_property),
2062 (hildon_pannable_area_set_property),
2063 (hildon_pannable_area_timeout): Added a new low friction mode, it
2064 allows the user avoid friction when launching the widget fast
2065 enough. It is interesting to traverse long lists.
2067 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2070 (+hildon_stackable_window_delete_event): Ignore delete events if
2071 the window is not the topmost one.
2073 Fixes: NB#101698 (Back button long press and delete-event handling)
2075 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2079 gtk-dnd-drag-threshold, it was too big. We have defined our own
2080 dnd define and set a smaller value: PANNIG_THRESHOLD.
2082 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2085 user-defined icons, use always the default one.
2087 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2089 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2091 This patch was applied before but reverted because it caused
2092 problems, we have changed the main condition and tested the
2093 regressions we detected before and they work ok.
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_get_topmost): Added a new parameter to
2097 filter the the windows that do not include those events. Added
2098 also a condition when finding the window to filter windows that do
2099 not ask for those events.
2100 (hildon_pannable_area_button_press_cb),
2101 (hildon_pannable_area_button_release_cb),
2102 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2103 topmost function, we have added the new parameter.
2105 Fixes: NB#97458 (Pannable area prevents propagation of button
2108 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2110 * tests/check-hildon-color-button.c (START_TEST): do not leak
2113 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-font-selection-dialog.c
2116 (hildon_font_selection_dialog_get_preview_text): Return NULL
2117 instead of FALSE on the g_return_val_if_fail().
2119 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2122 * src/hildon-date-selector.c
2123 (hildon_date_selector_select_current_date):
2124 Do not compare unsigned integers to be greater than or equal 0,
2125 because it's always TRUE.
2127 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2129 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2130 (hildon_date_selector_constructor): Do not select the current
2131 date until we are handle the "changed" signal, to avoid having bogus
2132 elements in the days model.
2134 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2136 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2137 for num_days, since _month_days() can return a negative value.
2139 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-caption.c (hildon_caption_size_allocate):
2142 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2143 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2145 Initialize allocation variables to 0, to avoid eventually using
2146 unitialized variables.
2148 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2150 * src/hildon-bread-crumb-trail.c
2151 (hildon_bread_crumb_trail_size_allocate):
2152 * src/hildon-calendar.c (hildon_calendar_set_background):
2153 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2154 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2155 * src/hildon-seekbar.c (hildon_seekbar_init):
2156 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2157 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2158 * src/hildon-touch-selector-entry.c
2159 (hildon_touch_selector_get_text_from_model):
2160 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2161 * src/hildon-window.c (hildon_window_finalize):
2163 Remove many unused variables.
2165 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2167 * src/hildon-seekbar.c: (hildon_seekbar_init),
2168 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2170 Remove unnecessary g_assert() calls.
2172 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-caption.c: (hildon_caption_expose),
2175 (hildon_caption_set_property), (hildon_caption_init),
2176 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2177 (hildon_caption_size_request), (hildon_caption_size_allocate),
2178 (hildon_caption_forall), (hildon_caption_set_separator),
2179 (hildon_caption_activate), (hildon_caption_set_child_expand),
2180 (hildon_caption_set_label_text),
2181 (hildon_caption_get_label_alignment):
2183 Remove unnecessary g_assert() calls.
2185 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-banner.c
2188 (hildon_banner_map, hildon_banner_init): Make banner temporary
2189 before mapping it to avoid closing other temporary windows, but
2190 make it non-temporary afterwards to avoid being closed by other
2191 non-temporary windows.
2192 (-hildon_banner_client_event, hildon_banner_init):
2193 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2195 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2198 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2203 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2205 * src/hildon-remote-texture.c
2206 * src/hildon-remote-texture.h
2207 * src/hildon-remote-texture-private.h
2208 * examples/hildon-remote-texture-example.c:
2209 Updates/fixes to remote-texture and its example.
2211 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2213 Patch by Mox Soini (ext-mox.soini@nokia.com)
2215 * src/hildon-code-dialog.c: Update logical id.
2216 * src/hildon-set-password-dialog.c: Update logical id.
2218 Fixes: NB#100646 (Logical strings is shown for ok in set
2219 password,Password needed dialogs)
2221 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2224 * src/hildon-remote-texture.c
2225 * src/hildon-remote-texture.h
2226 * src/hildon-remote-texture-private.h
2228 Added remote texture widget (for Clutter shared memory textures)
2230 * examples/hildon-remote-texture-example.c
2231 * examples/Makefile.am
2232 Added example file for remote texture usage
2234 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2236 * configure.ac: post release version bump.
2237 * debian/changelog: version bump.
2239 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2244 * configure.ac: Bump version.
2245 * debian/changelog: Updates.
2247 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-date-selector.c (hildon_date_selector_init)
2250 (hildon_date_selector_constructor): Don't connect to the "changed"
2251 signal until the selector is completely constructed.
2253 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-touch-selector.c: (_create_new_column),
2256 (hildon_touch_selector_append_column),
2257 (hildon_touch_selector_set_column_selection_mode),
2258 (hildon_touch_selector_set_active),
2259 (hildon_touch_selector_select_iter):
2260 Emit the HildonTouchSelector::changed signal every time selection
2261 is changed in any of the methods above. This behavior was already
2262 documented but not fully functional.
2264 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2265 selection is programmatically changed)
2267 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2269 * doc/hildon-sections.txt: Remove obsolete icon
2270 sizes from here as well.
2272 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2274 * examples/hildon-stackable-window-example.c (add_window): Remove
2277 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-app-menu.c
2280 (hildon_app_menu_show): Check whether the parent window of a menu
2281 is topmost before popping it up.
2283 Fixes: NB#100468 (Application menu window is launched even when a
2284 new secondary-window/dialog is pending to be shown/realized.)
2286 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2288 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2291 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2293 Patch by Mox Soini (ext-mox.soini@nokia.com)
2295 * src/hildon-banner.c: (hildon_banner_show_animation):
2296 use stylus size instead of obsolete note size.
2297 * src/hildon-defines.h: Update icon sizes.
2299 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-touch-selector-entry.c:
2302 (hildon_touch_selector_entry_init): Disable unsupported
2304 (hildon_touch_selector_entry_get_text_column): Emit a warning
2305 if an unsupported input modes is used and explicitile state
2306 these modes in the documentation.
2308 Fixes: NB#99802 (Hildon touch selector entry not working properly
2309 for some of the input modes)
2311 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2313 * src/hildon-pannable-area.c,
2314 (hildon_pannable_area_init): Added the changed signal handlers of
2317 Fixes: NB#100320 (HildonPannableArea does not listen to
2318 GtkAdjustment "change" signals)
2320 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2322 * doc/hildon-sections.txt
2323 * src/hildon-window-private.h
2324 * src/hildon-window.h
2325 * src/hildon-window.c (hildon_window_init)
2326 (hildon_window_realize, hildon_window_unrealize)
2327 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2328 (hildon_window_size_request, hildon_window_size_allocate)
2329 (hildon_window_forall, hildon_window_show_all)
2330 (hildon_window_destroy, +paint_edit_toolbar)
2331 (+hildon_window_set_edit_toolbar):
2332 New hildon_window_set_edit_toolbar() method, to add a
2333 HildonEditToolbar to a window without having to pack it manually.
2335 Reorganize hildon_window_size_allocate()
2337 * src/hildon-edit-toolbar.c: Update documentation.
2339 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2340 example to use the new API.
2342 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2344 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2347 Remove from stack before calling parent's hide.
2349 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2351 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2352 window is removed from the middle of the stack, update the
2353 transiency of the previous one.
2355 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2358 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2361 block/unblock the signal handler if it's not actually being used.
2362 Fixes some critical warnings.
2364 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2366 Based on a patch by Iván Gómez (igomez@igalia.com)
2368 * src/hildon-banner.c
2372 * src/hildon-pannable-area.c
2373 * src/hildon-picker-dialog.c
2374 * src/hildon-wizard-dialog.h
2375 * src/hildon-wizard-dialog.c: Documentation updates.
2377 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2378 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2380 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2382 * configure.ac: post release version bump.
2383 * debian/changelog: version bump.
2385 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2390 * configure.ac: Bump version.
2391 * debian/changelog: Updates.
2393 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2396 a stock icon nor change the relief of the back arrow.
2398 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2399 graphics from theme)
2401 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-button.c (hildon_button_set_alignment): Use
2404 priv->alignment if the button has no child yet.
2406 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-button.c: (hildon_button_init): Set the
2409 button style during initialization to give it the proper
2412 Fixes: NB#99713 (HildonButton value label color is wrong)
2414 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-touch-selector.c: Document
2417 hildon_touch_selector_center_on_selected()
2419 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2421 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2422 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2423 all menu items, but not the menu itself.
2424 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2425 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2426 items after adding them to the menu so keyboard accelerators work.
2427 (hildon_app_menu_show): Don't show the menu if it contains items
2428 but none of them are visible.
2430 * examples/hildon-app-menu-example.c (create_menu): Use
2431 gtk_widget_show_all() to show all menu items.
2433 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2435 * src/hildon-picker-dialog.c:
2436 (-_update_title_on_selector_changed_cb),
2437 (-_dialog_update_title): Removed.
2438 (_select_on_selector_changed_cb), (_on_dialog_response),
2439 (on_selector_columns_changed): Do not update the dialog title.
2440 (setup_interaction_mode): Do not connect to
2441 HildonTouchSelector::changed signal if there's a "done" button, as
2442 the dialog title doesn't need to be updated.
2444 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2447 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2449 Patch by Kristian Rietveld (kris@imendio.com)
2451 * src/hildon-touch-selector.c: (_create_new_column): Use new
2452 GtkTreeView::hildon-row-tapped signal to react to user interactions
2453 instead of ::changed.
2455 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2456 with some dynamic tree model)
2458 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2461 (+screen_size_changed, +label_size_request)
2462 (hildon_note_class_init): Make the Hildon information note have a
2463 minimum height, and make its text hvae a maximum width.
2465 Fixes: NB#98614 (Hildon information note (background) should have
2466 minimum height and maximum text width)
2468 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-banner.h
2471 * src/hildon-banner.c (hildon_banner_show_information)
2472 (hildon_banner_show_informationf)
2473 (hildon_banner_show_information_with_markup): Update documentation
2474 to reflect that the icon_name parameter is not used anymore.
2475 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2476 Remove all code from these functions and mark them as deprecated.
2477 (hildon_banner_show_progress): Mark as deprecated.
2479 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2481 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2483 * src/hildon-pannable-area.c,
2484 (hildon_pannable_area_class_init),
2485 (tranparency_color),
2486 (hildon_pannable_draw_vscroll),
2487 (hildon_pannable_draw_hscroll),
2488 (hildon_pannable_area_expose_event): Added a new way to render the
2489 scrollbars of the pannable area avoiding using cairo at all. This
2490 way we improve the performance of the pannable area rendering. The
2491 cairo rendering procedure is still in the code, we can control
2492 which one to use changing the value of the define
2493 USE_CAIRO_SCROLLBARS.
2495 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2497 * configure.ac: post release version bump.
2498 * debian/changelog: version bump.
2500 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2505 * configure.ac: Bump version.
2506 * debian/changelog: Updates.
2508 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2511 banners instead of destroying them when they receive a button
2514 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2516 Reverted commit 34028, it was causing regressions, probably the
2517 topmost condition is not correct, we have to check it in more
2518 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2519 propagation of button press events)
2521 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2524 that the selection is not empty before attempting to retrieve the
2525 current ampm selection.
2527 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2529 * src/hildon-picker-button.c:
2530 (hildon_picker_button_on_dialog_response): Directly update the
2531 button contents when required instead of calling _selection_changed.
2533 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-program.c (hildon_program_update_top_most): Update
2536 'is-topmost' property also when wm_hints is not set.
2538 Fixes: NB#98383 (is-topmost signal is not emitted when task
2539 switcher is clicked.)
2541 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2543 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2547 * src/hildon-animation-actor.c,
2548 * src/hildon-animation-actor.h: Added the animation actor class,
2549 this widget represents an animation actor for WM-assisted
2550 animation effects in the Hildon framework.
2552 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2554 * src/hildon-window-stack-private.h
2555 * src/hildon-window-stack.c
2556 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2557 Avoid calling gtk_widget_show() again indirectly from
2558 hildon_stackable_window_show()
2560 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2565 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2567 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2568 (hildon_time_selector_init): Move the construction of the hours and
2569 ampm columns to the constructor to preserve the order the columns
2572 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-picker-dialog.c:
2575 (hildon_picker_dialog_class_init): Connect a realize method.
2576 (+hildon_picker_dialog_realize): Setup the interaction mode here
2578 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2579 yet, do it during the realize instead.
2580 (_on_dialog_response):
2581 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2582 if the widget is not realized, to avoid the dialog response before it
2585 Avoid premature responses in the HildonPickerDialog that can cause it
2586 to be hidden before it's even shown.
2588 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2591 (on_selector_columns_changed), (requires_done_button),
2592 (+prepare_action_area), (setup_interaction_mode),
2593 (_hildon_picker_dialog_set_selector):
2595 Split the interaction mode setup into preparation of the
2596 action area (prepare_action_area()) and the connection of
2597 the signals in setup_interaction_mode() and update the code to
2600 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2602 * src/hildon-pannable-area.c,
2603 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2604 per second to 15, we will check if this is ok regarding
2607 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_axis_scroll): Avoid resize if we already have
2611 reached overshoot_max.
2613 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2615 * src/hildon-pannable-area.c,
2616 (hildon_pannable_area_init),
2617 (hildon_pannable_area_realize),
2618 (hildon_pannable_area_size_allocate),
2619 (hildon_pannable_area_map),
2620 (hildon_pannable_area_unmap),
2621 (hildon_pannable_draw_vscroll),
2622 (hildon_pannable_draw_hscroll),
2623 (hildon_pannable_area_expose_event),
2624 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2625 pannable are to avoid the expose events go to the window and
2626 redraw the window. We save this way that part of the stack and the
2627 paint_boxes. We had to change the positions of the elements when
2630 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2633 * src/hildon-color-chooser-dialog.c:
2634 (hildon_color_chooser_dialog_init):
2635 * src/hildon-font-selection-dialog.c:
2636 (hildon_font_selection_dialog_init),
2637 (hildon_font_selection_dialog_show_preview):
2638 * src/hildon-get-password-dialog.c:
2639 * src/hildon-login-dialog.c:
2640 * src/hildon-set-password-dialog.c:
2641 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2642 * src/hildon-time-picker.c: (hildon_time_picker_init):
2644 Remove obsolete logical string IDs and update to the appropriate ones.
2646 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2648 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2650 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2651 that happens if the window hasn't been realized yet.
2653 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2654 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2656 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2658 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2659 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2662 Fixes: NB#98537 (Device hangs in account settings dialog)
2664 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: post release version bump.
2667 * debian/changelog: version bump
2669 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: Bump version.
2675 * debian/changelog: Updates.
2677 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2679 Added a new function to the HildonTimeButton widget that allows to
2680 change the step of the minutes in the selector associated with the
2681 button: hildon_time_button_new_step
2683 * src/hildon-time-button.c,
2684 (hildon_time_button_init),
2685 (hildon_time_button_new),
2686 (hildon_time_button_new_step):
2687 * src/hildon-time-button.h: Added the new function and refactored
2689 * examples/hildon-time-button-example.c,
2690 (main): We have replaced the function without parameters with the
2691 function with the steps set to 5
2693 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2695 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-time-selector.c,
2698 (hildon_time_selector_class_init),
2699 (hildon_time_selector_constructor),
2700 (hildon_time_selector_get_property),
2701 (hildon_time_selector_set_property),
2702 (_create_minutes_model),
2703 (hildon_time_selector_new_step),
2704 (hildon_time_selector_set_time),
2705 * src/hildon-time-selector.h: Added a new property to the
2706 HildonTimeSelector (minutes-step), we use that property to control
2707 the steps between the minutes in the list of the selector. We have
2708 added a new function to the API to create a widget changing the
2709 step: hildon_time_selector_new_step.
2711 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2713 * src/hildon-time-selector.c,
2714 (hildon_time_selector_class_init),
2715 (hildon_time_selector_constructor),
2716 (hildon_time_selector_init): Overrided the construct function when
2717 creating the time selector object. We have moved the minutes model
2718 handling code from the init to the new construction function:
2719 hildon_time_selector_constructor.
2721 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2723 * examples/hildon-date-button-example.c: (main): Use the new
2724 hildon_date_button_new_with_year_range() method in the example.
2725 * src/hildon-date-button.c:
2726 (+hildon_date_button_new_with_year_range): New public method
2727 to conveniently create a HildonDateButton with a custom year range
2728 in its HildonDateSelector.
2729 * src/hildon-date-button.h: Add the new public method definition.
2731 Fixes: NB#97908 (Not possible to change the year range in
2732 HildonDateSelector/HildonDateButton)
2734 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-date-selector.c:
2737 (+hildon_date_selector_set_property),
2738 (+hildon_date_selector_get_property),
2739 (hildon_date_selector_class_init): Install new properties "min-year"
2740 and "max-year" to define boundaries for the year column.
2741 (_create_year_model): Use the boundary properties to populate the model.
2742 (+hildon_date_selector_new_with_year_range): New public method to
2743 create a HildonDateSelector with a user defined year range.
2744 (hildon_date_selector_select_current_date): Use the new boundaries to
2745 calculate the iterator of current year.
2746 * src/hildon-date-selector.h: Add the new public method definition.
2748 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2751 Install a constructor method.
2752 (+hildon_date_selector_construct_ui): construct the widget.
2753 (+hildon_date_selector_constructor): new constructor.
2754 (+hildon_date_selector_init): move out widget construction code to
2755 the new constructor.
2757 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2760 that there's actually a month or year selected before obtaining them.
2761 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2762 of the HildonTouchSelector::changed signal, as it was emitted on every
2763 single item selection.
2765 Fix some warnings and possible crashers due to the selection restoring.
2767 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2770 the signal handlers only after creating the dialog instead of on every
2773 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-button.c (hildon_button_init)
2776 * src/hildon-check-button.c (hildon_check_button_init)
2777 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2778 focus when clicked by default.
2780 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2782 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2785 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2787 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2788 Alejandro G. Castro (alex@igalia.com)
2790 * src/hildon-picker-dialog.c:
2791 (hildon_picker_dialog_class_init): install new "center-on-show"
2793 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2794 (hildon_picker_dialog_set_property): add setter code for the new
2796 (hildon_picker_dialog_get_property): add getter code for the new
2798 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2799 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2802 Fixes: NB#92849 (Selected item is not always visible when
2803 HildonTouchSelector is shown)
2805 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2807 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2808 Alejandro G. Castro (alex@igalia.com)
2810 * src/hildon-touch-selector.c:
2811 (_create_new_column): Do not connect to the "realize" signal of the
2813 (hildon_touch_selector_append_column): center on the selected items
2814 when a new column is appended.
2815 (hildon_touch_selector_select_iter): Factor out the code to select a
2816 column to hildon_touch_selector_scroll_to().
2817 (+search_nearest_element): Method to retrieve the nearest selected
2818 element to the visible area of the pannable area in a column.
2819 (+on_realize_cb): scroll to the initially selected item.
2820 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2821 the pannable area is realized, otherwise delay this until it is.
2822 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2823 selected items of a given column.
2824 (+hildon_touch_selector_center_on_selected): Public method to center
2825 all columns on the nearest selected item.
2826 * src/hildon-touch-selector.h: Add definition for
2827 hildon_touch_selector_center_on_selected().
2829 Implement public API to ensure visibility of all selected items in
2830 a HildonTouchSelector.
2832 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2834 Fixed a problem in the fading when calling the scroll_to API, and
2835 improve scrollbar fading handling.
2837 * src/hildon-pannable-area.c,
2838 (hildon_pannable_area_grab_notify): avoid the timeout when the
2840 (hildon_pannable_area_button_press_cb),
2841 (hildon_pannable_area_motion_notify_cb): Code style changes.
2842 (hildon_pannable_area_button_release_cb): Review the conditions
2843 when releasing the mouse button to avoid unrequired fading
2845 (hildon_pannable_area_scroll_to): Do not calculate and set the
2846 velocity if the scroll is not required.
2848 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2851 Don't check whether the new selector is NULL: it cannot be.
2852 Hold a reference to the selector while doing the replacement.
2854 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2857 unnecessary size_request in a removed widget.
2859 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2862 an unnecessary reference tracking that was leaking.
2864 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2866 Added delayed motion notify event handling, this way we can
2867 discard redrawing if more than 25 events arrive per second.
2869 * src/hildon-pannable-area.c,
2870 (hildon_pannable_area_init): Initialized the new private atributes
2871 controlling this timeout
2872 (hildon_pannable_area_dispose): Remove the timeout that controls
2873 the motion notify events.
2874 (hildon_pannable_area_scroll): Added a condition to control the
2875 use of the acceleration.
2876 (hildon_pannable_area_motion_event_scroll_timeout),
2877 (hildon_pannable_area_motion_event_scroll): Added this two
2878 functions, they handle the motion notify events inside the
2880 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2881 to the scroll method with the new function.
2882 (hildon_pannable_area_button_release_cb): We have to remove the
2883 timeout handler and move to the last position if the last motion
2884 events were not handled.
2886 Fixes: NB#97028 (Pannable area updates on every motion event)
2888 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2890 * src/hildon-pannable-area.c,
2891 (hildon_pannable_area_get_topmost): Added a new parameter to
2892 filter the the windows that do not include those events. Added
2893 also a condition when finding the window to filter windows that do
2894 not ask for those events.
2895 (hildon_pannable_area_button_press_cb),
2896 (hildon_pannable_area_button_release_cb),
2897 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2898 topmost function, we have added the new parameter.
2900 Fixes: NB#97458 (Pannable area prevents propagation of button
2903 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2905 * src/hildon-pannable-area.c,
2906 (hildon_pannable_area_initial_effect): Added controls before
2907 launching the timeout and the idle functions.
2908 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2909 of the method, in some situations it can return with TRUE and 0 in
2911 (hildon_pannable_area_button_press_cb): We do not need to set
2912 DELAY for fading out here.
2914 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2916 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2918 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2919 post-cleaning if the selection is not NULL.
2921 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2923 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2924 all items before restoring the selection.
2926 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-touch-selector.c:
2929 (+hildon_touch_selector_unselect_all):
2930 * src/hildon-touch-selector.h: New API to unselect all items in a
2931 column of the touch selector.
2933 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2935 * src/hildon-pannable-area.c,
2936 (hildon_pannable_area_redraw): Added a call to the refresh
2937 function inside the redraw because apparently in some cases the
2938 change in the adjustment does not imply a size allocate.
2940 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2941 despite the view not being scrollable)
2943 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2946 leak. Check for NULL before attempting to set the window title.
2948 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2951 whether to show or not the 'Done' button each time the dialog is
2952 shown, as it depends on the HildonTouchSelector selection mode.
2954 Fixes: NB#96226 (In multiple selection mode Done button is shown
2955 sometimes in listpicker)
2957 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2960 for the number of columns in the HildonTouchSelector more than once.
2962 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2964 * src/hildon-touch-selector.c: Minor documentation fixes.
2966 * src/hildon-picker-dialog.c (+_dialog_update_title)
2967 (_select_on_selector_changed_cb)
2968 (_update_title_on_selector_changed_cb)
2969 (on_selector_columns_changed): Update dialog title when there's no
2970 'Done' button and also when the number of columns in the selector
2974 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2975 (+_selection_changed, hildon_picker_button_on_dialog_response)
2976 (hildon_picker_button_selector_selection_changed)
2977 (+hildon_picker_button_selector_columns_changed)
2978 (hildon_picker_button_set_selector): Update button value and emit
2979 'value-changed' when the number of columns in the selector
2983 Fixes: NB#96225 (Dialog titles are not shown according to the
2984 values selected in the list picker)
2986 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2989 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2990 New "arrow-width" and "arrow-height" style properties to set the
2991 size of the arrow button.
2992 Set name of arrow button ("hildon-edit-toolbar-arrow").
2994 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2995 graphics from theme)
2997 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-picker-button.c:
3000 (hildon_picker_button_selector_selection_changed): Use
3001 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3002 the dialog is present.
3004 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3005 the selection is accepted in the dialog)
3007 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-color-chooser.h
3010 * src/hildon-color-chooser-dialog.h:
3011 Added G_BEGIN_DECLS and G_END_DECLS
3013 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3015 (_clean_current_selection): plug a leak in the list.
3017 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3019 * src/hildon-picker-dialog.c:
3020 (+free_path_list): Method to free a GList of GtkTreePaths.
3021 (_clean_current_selection), (_save_current_selection),
3022 (_restore_current_selection): Save the current selection in
3023 as a list of lists, to support multiple selection properly.
3025 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3027 patch by Claudio Saavedra (csaavedra@igalia.com)
3029 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3030 Store the press position.
3031 (+hildon_text_view_button_release_event): If the release position is
3032 close enough to the press position, move the cursor here. Otherwise,
3034 (hildon_text_view_class_init): Override GtkTextView press, release, and
3035 motion event handlers, disabling this way text selection through
3036 pointer interaction, and allowing the container widget to handle the
3039 Fixes: NB#95828 (HildonTextView functionality)
3041 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3043 Based on a patch by Iván Gómez (igomez@igalia.com)
3045 * src/hildon-button.[ch]
3046 * src/hildon-calendar.c
3047 * src/hildon-check-button.c
3048 * src/hildon-date-editor.c
3049 * src/hildon-date-selector.c
3050 * src/hildon-picker-button.c
3051 * src/hildon-time-editor.c
3052 * src/hildon-time-selector.c
3053 * src/hildon-touch-selector.[ch]:
3054 Documentation updates
3056 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3058 * src/hildon-pannable-area.c,
3059 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3060 threshold, it was required due to X events handling.
3062 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3064 * src/hildon-pannable-area.c,
3065 (hildon_pannable_area_grab_notify),
3066 (hildon_pannable_area_initial_effect),
3067 (hildon_pannable_area_button_press_cb),
3068 (hildon_pannable_area_button_release_cb),
3069 (hildon_pannable_area_scroll_cb),
3070 (hildon_pannable_area_scroll_to): Review the timeout management of
3071 the scrollbar, the frecuency was incorrectly set.
3073 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-picker-button.c:
3076 (+hildon_picker_button_on_dialog_response),
3077 (hildon_picker_button_clicked): Present the dialog instead of
3078 running it with gtk_dialog_run().
3080 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3083 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3086 (hildon_app_menu_finalize): When a window is hidden it doesn't
3087 emit notify::is-topmost, so make sure than the menu also
3088 disappears in that case.
3089 (parent_window_topmost_notify): Renamed from parent_window_hidden
3091 Fixes: NB#94460 (stackable window's menu is not closed when its
3094 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-touch-selector-entry.c:
3097 (+hildon_touch_selector_entry_set_input_mode),
3098 (+hildon_touch_selector_entry_get_input_mode):
3099 * src/hildon-touch-selector-entry.h: New methods to access the input
3100 mode in the selector's entry.
3102 Fixes: NB#93410 (API required for setting IM mode in
3103 HildonTouchSelectorEntry)
3105 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3107 * configure.ac: post release version bump.
3108 * debian/changelog: version bump
3110 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3115 * configure.ac: Bump version.
3116 * debian/changelog: Updates.
3118 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-touch-selector.c:
3121 (_hildon_touch_selector_has_multiple_selection): No need
3122 to initialize the variables here.
3124 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3126 * src/hildon-note-private.h
3127 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3128 (hildon_note_finalize, hildon_note_rebuild): Close information
3129 notes when they receive a button press.
3131 Fixes: NB#89890 (Information notes does not get disappeared after
3134 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3137 mark from the wizard title, as it's not really necessary. Also,
3138 do not display the page title if not set.
3140 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3143 (parent_window_hidden): Use the window's "is-topmost" property to
3144 detect when to hide the menu.
3146 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3149 (hildon_app_menu_finalize): If the parent window of the menu is
3150 hidden, hide the menu too.
3152 Fixes: NB#94460 (stackable window's menu is not closed when its
3155 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3158 * debian/libhildon1-examples.install
3160 * examples/Makefile.am:
3161 Use dh_install to install all examples.
3162 Use DEB_SRCDIR instead of defining SOURCE_DIR
3164 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3166 * configure.ac: post release version bump.
3167 * debian/changelog: version bump
3169 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3174 * configure.ac: bump version
3175 * debian/changelog: updates
3176 * debian/control: bump gtk+ dependency
3178 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3180 patch by Christian Dywan (christian@imendio.com)
3182 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3183 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3185 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-check-button.c (hildon_check_button_init)
3188 (hildon_check_button_class_init, hildon_check_button_style_set)
3189 (hildon_check_button_apply_style):
3190 New "checkbox-size" style property.
3192 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3193 larger / configurable size)
3195 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3197 * configure.ac: post release version bump.
3198 * debian/changelog: version bump
3200 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3205 * configure.ac: bump version
3206 * debian/changelog: updates
3208 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3210 * doc/hildon-sections.txt
3211 * src/hildon-pannable-area.c
3212 * src/hildon-program.c
3213 * src/hildon-time-editor.c
3214 * src/hildon-touch-selector-entry.c:
3216 More documentation updates.
3218 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3220 * doc/hildon-sections.txt
3221 * src/hildon-caption.c
3222 * src/hildon-code-dialog.c
3223 * src/hildon-color-button.c
3224 * src/hildon-controlbar.c
3225 * src/hildon-date-editor.c
3226 * src/hildon-date-selector.c
3227 * src/hildon-edit-toolbar.c
3228 * src/hildon-find-toolbar.c
3229 * src/hildon-font-selection-dialog.c
3231 * src/hildon-program.c
3232 * src/hildon-range-editor.c
3233 * src/hildon-seekbar.c
3234 * src/hildon-time-editor.c
3235 * src/hildon-time-selector.c
3236 * src/hildon-volumebar-range.c
3237 * src/hildon-volumebar.c
3238 * src/hildon-vvolumebar.c
3239 * src/hildon-weekday-picker.c
3240 * src/hildon-window.c
3241 * src/hildon-wizard-dialog.c:
3243 Lots of documentation fixes.
3245 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3247 Patch contributed by Iván Gómez (igomez@igalia.com)
3249 * src/hildon-check-button.c:
3250 * src/hildon-date-button.c:
3251 * src/hildon-date-selector.c:
3252 * src/hildon-dialog.c:
3253 * src/hildon-edit-toolbar.c:
3254 * src/hildon-entry.c:
3255 * src/hildon-picker-button.c:
3256 * src/hildon-program.c:
3257 * src/hildon-text-view.c:
3258 * src/hildon-time-button.c:
3259 * src/hildon-touch-selector-entry.c:
3260 * src/hildon-window-stack.c:
3262 Add more "since" tags to the new API.
3264 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3266 * doc/hildon-sections.txt: Add below method.
3267 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3268 version for the hildonized scale.
3269 * src/hildon-gtk.h: Add the definition.
3271 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3273 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3275 * doc/hildon-sections.txt: Add missing entries for new methods.
3277 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3279 Added API to pannable are in order to get its adjustments. We
3280 added two properties to manage the values we had in the private
3283 * src/hildon-pannable-area.c:
3284 (hildon_pannable_area_class_init): Added hadjustment and
3285 vadjustment properties in order to expose horizontal and vertical
3287 (hildon_pannable_area_get_property),
3288 (hildon_pannable_area_set_property): Added code to handle the new
3290 (hildon_pannable_area_get_hadjustment),
3291 (hildon_pannable_area_get_vadjustment): API functions to get the
3293 * src/hildon-pannable-area.h:
3294 (hildon_pannable_area_get_hadjustment),
3295 (hildon_pannable_area_get_vadjustment): API functions to get the
3298 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3300 Fixed some leaks, after valgrinding.
3302 * src/hildon-touch-selector.c:
3303 (_default_print_func): Fixed a leak.
3304 (hildon_touch_selector_append_column): Fixed a leak.
3305 * src/hildon-date-button.c:
3306 (hildon_date_button_init): Fixed a leak.
3307 * src/hildon-date-selector.c
3308 (hildon_date_selector_finalize): Fixed a leak.
3310 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3312 Based on a patch by Christian Dywan (christian@imendio.com)
3314 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3316 * src/hildon-gtk.h: Add definition.
3318 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3320 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-picker-button.c: (hildon_picker_button_init),
3323 (hildon_picker_button_new): Set the HildonButton::style property
3324 in the init method, to propagate the value to the derived classes.
3326 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-button.c: (hildon_button_class_init): Do not make
3329 the "style" property a construct property.
3331 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-wizard-dialog.h
3334 * src/hildon-wizard-dialog.c
3335 (hildon_wizard_dialog_set_forward_page_func)
3336 * src/hildon-pannable-area.h
3337 * src/hildon-pannable-area.c
3338 (hildon_pannable_area_set_size_request_policy):
3339 Documentation fixes.
3341 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3343 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3345 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3347 * doc/hildon-sections.txt: Added sections file.
3349 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/*.[ch]: Updates.
3354 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3356 * examples/hildon-progress-indicator-example.c: new file
3357 * examples/Makefile.am: include the new example program
3359 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3361 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3363 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3365 * configure.ac: post release version bump
3366 * debian/changelog: version bump
3368 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3373 * configure.ac: bump version
3374 * debian/changelog: updates
3375 * debian/control: bump gtk+ dependency
3377 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-dialog.c: Mark as deprecated.
3380 * src/hildon-dialog.h: Mark as deprecated.
3381 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3382 from HildonDialog and still work, even if
3383 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3384 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3386 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3387 maemo changes) instead)
3389 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3391 * src/hildon-pannable_area.h:
3392 * src/hildon-pannable_area.c:
3393 (hildon_pannable_area_class_init),
3394 (hildon_pannable_area_set_property),
3395 (hildon_pannable_area_get_property),
3396 (hildon_pannable_area_size_request),
3397 (hildon_pannable_area_get_size_request_policy),
3398 (hildon_pannable_area_set_size_request_policy): Added new API
3399 allowing applications to control the request policy. Now they can
3400 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3401 children allocation (HILDON_MOVEMENT_CHILDREN).
3403 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3407 (hildon_gtk_tree_view_set_ui_mode)
3408 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3409 mode of treeviews and iconviews.
3411 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-touch-selector-entry.c:
3414 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3415 of a GtkEntry to get proper theming.
3417 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3418 widget, not GtkEntry)
3420 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3422 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3423 no HildonWizardDialogPageFunc.
3425 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3427 Patch contributed by Iván Gómez (igomez@igalia.com)
3429 * src/hildon-app-menu.c:
3430 * src/hildon-button.c:
3431 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3432 * src/hildon-stackable-window.c:
3433 * src/hildon-time-selector.c:
3434 * src/hildon-touch-selector.c:
3435 * src/hildon-window.c:
3437 Add more "since" tags to the new API in hildon 2.2.
3439 2008-12-05 Tim Janik <timj@imendio.com>
3441 Patch contributed by Christian Dywan (christian@imendio.com)
3443 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3444 HildonSizeType, which are supplied by Gtk+ now.
3446 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3448 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3449 (with maemo changes) instead)
3451 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3453 Patch contributed by Iván Gómez (igomez@igalia.com)
3455 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3458 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3460 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3461 (some_page_func), (main): Update the example to use a
3462 HildonWizardDialogPageFunc function.
3464 * src/hildon-wizard-dialog-private.h: Add private data for
3465 the HildonWizardDialogPageFunc function usage.
3467 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3468 (destroy), (hildon_wizard_dialog_init), (response),
3469 (hildon_wizard_dialog_set_forward_page_func):
3470 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3471 that applications can use to stop a HildonWizardDialog to jump to
3474 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3477 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3479 * src/hildon-program.h
3480 * src/hildon-program-private.h
3481 * src/hildon-program.c (hildon_program_init)
3482 (hildon_program_set_common_app_menu)
3483 (hildon_program_get_common_app_menu):
3484 New API for setting a common HildonAppMenu for all
3485 HildonStackableWindows registered with the HildonProgram.
3487 * src/hildon-stackable-window.c
3488 (hildon_stackable_window_toggle_menu):
3489 Use the common HildonAppMenu if a window doesn't have a specific
3492 * src/hildon-app-menu-private.h
3493 * src/hildon-app-menu.c
3494 (hildon_app_menu_get_parent_window):
3495 Function to obtain the window a HildonAppMenu is attached to.
3496 (hildon_app_menu_set_parent_window):
3497 Hide the menu if the parent window is set to NULL.
3499 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3501 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3502 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3503 search widget to popup.
3505 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3507 * configure.ac: post release version bump
3508 * debian/changelog: version bump
3510 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3515 * configure.ac: bump version
3516 * debian/changelog: updates
3518 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3520 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3522 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3523 (hildon_window_stack_window_realized)
3524 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3525 Set the leader GdkWindow when a window is stacked and realized,
3526 unset it when it's unstacked.
3527 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3529 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3531 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-stackable-window.h
3534 * src/hildon-window-stack.h:
3535 Protect definition of HildonWindowStack using the preprocessor.
3537 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3540 Fix warning if all menu items are hidden.
3542 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3544 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3546 * src/hildon-controlbar.c:
3547 * src/hildon-hvolumebar.c:
3548 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3549 Multiple scale size defines updates.
3551 Fixes: NB#94322 (Scale Updates)
3553 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3555 * examples/hildon-app-menu-example.c (create_menu)
3556 Show items after adding them to the menu, as in the future the
3557 menu will no longer call gtk_widget_show() on the added items.
3559 * src/hildon-app-menu.c:
3560 Update example as explained above.
3562 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3564 * src/hildon-app-menu.c
3565 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3566 Make sure that all menu items have finger height.
3568 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3570 * src/hildon-picker-dialog.c:
3571 (_on_dialog_response), (_save_current_selection),
3572 (_restore_current_selection), (_clean_current_selection),
3573 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3574 Defined new functions in order to save the current internal selector
3575 selection previous open the dialog, in case that the use cancel the
3576 interaction, so the widget restores the previous selection.
3578 Fixes: NB#92032 (In calendar application, date values in 'new event'
3581 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3583 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3585 * src/hildon-button.c: Add a reference to the button examples in
3586 hildon-button-example.c
3588 * examples/hildon-button-example.c: Added examples of the most
3589 common button layouts.
3591 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3593 * src/hildon-app-menu.c (hildon_app_menu_show)
3594 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3596 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3598 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-picker-dialog.c:
3601 (hildon_picker_dialog_init): Initialize the signal id for
3602 HildonTouchSelector::columns-changed.
3603 (+on_selector_columns_changed): Set up the interaction mode everytime a
3604 column is added or removed from the HildonTouchSelector.
3605 (_hildon_picker_dialog_set_selector): Connect to
3606 HildonTouchSelector::columns-changed and keep track of it.
3608 Make sure to update the interaction mode of the dialog everytime a
3609 column is added or removed in the HildonTouchSelector.
3611 Fixes: NB#93228 (Done button is not shown always in listpicker)
3613 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3616 a new ::columns-changed signal.
3617 (hildon_touch_selector_append_column): Emit ::columns-changed.
3618 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3620 Add a ::columns-changed signal, emitted when the number of columns in a
3621 HildonTouchSelector changes.
3623 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3626 (_hildon_picker_dialog_set_selector): Factor out the code
3627 to set up the dialog interaction mode.
3629 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3632 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3633 to signal_changed_id.
3635 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3640 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3642 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3643 Updated the logical ids related to ampm format, as now it is required to
3644 show it correctly localized even on languages with no default
3645 abbreviations for am or pm
3646 (_check_am_pm_format): check correctly the 24h format gconf property
3648 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3650 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-button.c: Documentation updates.
3654 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3657 * src/hildon-caption.c: (hildon_caption_class_init):
3658 * src/hildon-color-button.c: (hildon_color_button_class_init):
3659 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3660 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3661 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3662 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3664 Remove deprecated GTK+ marshalers and replace them with the ones
3665 provided by GLib, for those available, add a marshaler for
3666 BOOLEAN:VOID, which is not available in GLib, and use it.
3668 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3671 the text from the previous column if there is no
3672 HildonTouchSelectorColumn::text-property set.
3674 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-button.h
3677 * src/hildon-button.c (hildon_button_set_property)
3678 (hildon_button_get_property, hildon_button_class_init)
3679 (hildon_button_set_style, hildon_button_get_style):
3680 New "style" property to change the visual appearance of the
3683 * src/hildon-picker-button.c (hildon_picker_button_new):
3684 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3686 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3687 HildonButton look like PickerButton)
3689 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3692 column while building the default string.
3694 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3697 scroll indicator by default.
3699 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3701 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-main.c: Fix the documentation for hildon_init()
3705 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3707 * doc/hildon-docs.sgml
3711 * src/hildon-window-stack-private.h
3712 * src/hildon-window-stack.h
3713 * src/hildon-window-stack.c:
3714 New HildonWindowStack object, that adds support for multiple
3715 stacks of windows per process.
3717 * src/hildon-stackable-window-private.h
3718 * src/hildon-stackable-window.h
3719 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3720 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3721 (hildon_stackable_window_show, hildon_stackable_window_hide)
3722 (hildon_stackable_window_class_init)
3723 (hildon_stackable_window_init):
3724 Use HildonWindowStack for stack management.
3726 * src/hildon-program.c (hildon_program_pop_window_stack)
3727 (hildon_program_peek_window_stack)
3728 (hildon_program_go_to_root_window):
3729 Add a fallback implementation to the deprecated functions using
3732 * examples/hildon-stackable-window-example.c:
3733 Use the new HildonWindowStack API.
3735 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-stackable-window-private.h
3738 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3739 (hildon_stackable_window_hide, hildon_stackable_window_init):
3740 Remove all window stack management.
3742 * src/hildon-program-private.h
3743 * src/hildon-program.h
3744 * src/hildon-program.c (hildon_program_init)
3745 (hildon_program_pop_window_stack)
3746 (hildon_program_peek_window_stack)
3747 (hildon_program_go_to_root_window):
3748 Remove all window stack management and mark functions as
3751 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3753 * src/hildon-app-menu.c (hildon_app_menu_realize):
3754 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3756 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3758 * configure.ac: post release version bump
3759 * debian/changelog: version bump
3761 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3766 * configure.ac: bump version
3767 * debian/changelog: updates
3769 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3771 Based on initial code by Christian Dywan (christian@imendio.com)
3773 * doc/hildon-docs.sgml: Add section for hildon-main.
3774 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3775 * src/Makefile.am: Add new hildon-main.[ch]
3776 * src/hildon-defines.h: Update the icon sizes.
3777 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3778 new library initialization files and register icon sizes.
3779 * src/hildon-main.h: New declarations.
3780 * src/hildon.h: Include hildon-main.h
3782 Add new initialization functions to the library. These methods
3783 will register the hildon specific icon sizes and can be used in the
3784 future for other hildon specific bits.
3786 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3788 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-window.c: (hildon_window_realize),
3791 (hildon_window_notify), (-hildon_window_update_title): Do not set
3792 the application name in the window title.
3794 Fixes: NB#89754 (Applications shouldn't display their names in the
3797 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3799 * src/hildon-note-private.h:
3800 * src/hildon-note.c: (hildon_note_set_property),
3801 (hildon_note_get_property), (hildon_note_class_init),
3802 (hildon_note_init), (hildon_note_finalize),
3803 (hildon_note_new_confirmation_with_icon_name),
3804 (hildon_note_new_information_with_icon_name):
3806 No need to mark as deprecated the actual code. Revert
3807 to avoid missing symbols in widgets using deprecated API.
3809 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3811 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3813 * src/hildon-volumebar.h
3814 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3815 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3817 * src/hildon-helper.h
3818 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3819 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3821 * examples/Makefile.am:
3822 Deprecate hildon-insensitive-example
3824 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3826 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3828 * examples/hildon-pannable-area-buttons-scroll-example.c:
3829 Make all buttons finger height
3831 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3833 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3835 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3836 update the day model only if it is really required, and to avoid the
3837 full-reconstruction aproach. Now it only add or remove the required days.
3839 The purpose of this is avoid superfluous HildonTouchSelector::changed
3842 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3843 with strange parameters)
3845 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3847 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3849 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3850 the WINDOW_TYPE property.
3852 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3854 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3857 Fix dependency to allow parallel compilation with make -jX
3859 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3861 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3862 color frame and some minor tweaks to make it more consistent with
3865 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3866 highlighted but not visible)
3868 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3870 * examples/Makefile.am: Fixed typo in the Makefile.am.
3872 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3874 Reviewed the use of MAEMO_GTK define, now we add the define in the
3875 compilation line, and we also add it to the pc file.
3877 * configure.ac: Added MAEMO_GTK define to the compilation command
3878 and removed it from the config.h.
3880 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3881 do not have to take care about this define if the library was
3885 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3887 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3889 * examples/Makefile.am,
3890 * examples/hildon-pannable-area-buttons-scroll-example.c,
3891 * examples/hildon-pannable-area-gesture-signals-example.c,
3892 * examples/hildon-pannable-area-scroll-jump-example.c,
3893 * examples/hildon-pannable-area-tree-view-example.c:
3894 Renamed the pannable area examples, now they have more meaningful
3897 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3899 * src/hildon-touch-selector.c:
3900 (hildon_touch_selector_set_column_selection_mode): Used of
3901 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3902 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3903 to avoid re-seting the same selection mode.
3905 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3906 breaks HildonPickerDialog)
3908 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3910 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3911 conditional in the Makefile.am
3913 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3916 Remove unused methods.
3918 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-button.c (hildon_button_init):
3921 Make button images center-aligned by default
3923 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3926 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3927 activated, we have to think about how to deal with both defines
3928 MAEMO_GTK and MAEMO_CHANGES.
3930 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3932 * examples/hildon-app-menu-example.c (create_menu): Make all
3933 buttons finger size.
3935 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3937 Fixed the compilation without maemo gtk adding ifdefs with
3938 MAEMO_GTK define to the code, we have to check this version more
3941 * examples/Makefile.am: Added control to avoid some examples that
3942 just make sense with maemo gtk.
3945 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3946 hildon modes with the define.
3948 * examples/hildon-edit-toolbar-example.c,
3949 (create_icon_view): Create the icon view without hildon-gtk
3950 helpers if we are not using maemo gtk.
3952 * src/hildon-touch-selector.c,
3953 (_create_new_column): Create the treeview without hildon-gtk
3954 helpers if we are not using maemo gtk.
3956 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3958 * src/hildon-pnnable-area.c,
3959 (hildon_pannable_area_dispose),
3960 (hildon_pannable_area_button_press_cb),
3961 (hildon_pannable_area_child_mapped),
3962 (hildon_pannable_area_add),
3963 (hildon_pannable_area_remove): Added code to control the position
3964 of the event_window when adding and removing children from the
3965 pannable. We have to raise the event window when the child is
3968 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3969 selection mode using custom widget inside pannable)
3971 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3973 * configure.ac: post release version bump
3974 * debian/changelog: version bump
3976 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: bump version
3982 * debian/changelog: updates
3984 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3986 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3987 search mode, in order to avoid lose the focus on the treeview when
3988 a hw key (like enter) is pressed.
3990 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3991 in HildonDateSelector dialog)
3993 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3995 * debian/rules: Added --enable-maintainer-mode
3996 * Makefile.am: Added ACLOCAL_AMFLAGS
3998 This allows to properly regenerate the Makefiles if you modify the
3999 configure.ac or any Makefile.am.
4001 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4003 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4004 properties, not needed at all.
4006 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4008 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4010 * src/hildon-note.c: (hildon_note_set_property),
4011 (hildon_note_get_property), (hildon_note_class_init),
4012 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4013 (hildon_note_new_confirmation_add_buttons): Remove icons.
4014 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4015 (hildon_note_new_information_with_icon_name): Deprecate.
4016 (hildon_note_new_confirmation): Act directly, without calling
4017 the deprecated constructor.
4018 (hildon_note_new_information): Act directly, without calling
4019 the deprecated constructor.
4020 * src/hildon-note.h: Mark deprecate methods as such.
4021 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4022 not run tests on the deprecated methods if built with deprecation
4025 Fixes: NB#91688 (Never show icons in information notes/confirmation
4028 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4031 (hildon_app_menu_key_press): Remove leftover usage of the
4032 private structure in HildonAppMenu struct.
4033 * src/hildon-app-menu.h: Remove leftover private structure
4034 from the HildonAppMenu struct.
4036 Fixes a crasher when using the HildonAppMenu.
4038 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-picker-dialog.c: Use appropriate logical id
4041 for the default "Done" text.
4043 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4045 * configure.ac: post release version bump
4046 * debian/changelog: version bump
4048 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4050 Modified the way to scroll to the current selection just when the touch
4051 selector is shown on the screen, avoiding a g_idle. Added too a property
4052 to configure this behaviour. See hildon_pannable_area_jump_to_child
4053 documentation for more information.
4055 * src/hildon-touch-selector.c
4056 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4057 Added 'initial-scroll' property
4058 (hildon_touch_selector_set_property): Added
4059 (hildon_touch_selector_map): Removed as not required anymore
4060 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4061 only a concrete column, instead of iterate along all the columns
4063 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4068 * configure.ac: bump version
4069 * debian/changelog: updates
4071 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4074 compilation time warnings.
4076 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4078 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4079 the default value for HildonPannableArea::mov-mode to
4080 HILDON_PANNABLE_AREA_MODE_VERT.
4082 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4084 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4086 Reverting following commit:
4088 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4090 * src/hildon-app-menu-private.h
4091 * src/hildon-app-menu.[ch]
4092 * src/hildon-button.[ch]
4093 * src/hildon-check-button.[ch]
4094 * src/hildon-entry.[ch]
4095 * src/hildon-pannable-area.[ch]
4096 * src/hildon-text-view.[ch]:
4097 Added private field to the object's structure.
4099 because it causes an ABI breakage. We will need to introduce these
4100 changes later at some point. See NB#91636 for an extensive
4101 explanation and status.
4103 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4105 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4107 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4108 remove special cases that are no longer necessary.
4110 Fixes: NB#91016 (Change toolbar sizes, simplification)
4112 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4115 is shown in the cancel note.
4117 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4120 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4121 (hildon_seekbar_init): Remove steppers, remove expose event.
4122 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4124 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4126 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4129 label font to "SmallSystemFont" for vertically arranged buttons.
4131 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4134 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-check-button.c
4137 (hildon_check_button_set_active, hildon_check_button_clicked):
4138 Don't access private parts directly, use getters instead.
4140 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4142 * src/hildon-check-button.c (hildon_check_button_new):
4143 Align the contents of the check button to the left.
4145 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4147 * src/hildon-pannable-area.c,
4148 (hildon_pannable_area_scroll_to),
4149 (hildon_pannable_area_jump_to),
4150 (hildon_pannable_area_scroll_to_child),
4151 (hildon_pannable_area_jump_to_child): Replace the mapped
4152 precondition of these functions with the realized, it is the
4153 correct state of the widget in this case. Changed the
4154 documentation according to this modification.
4156 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4158 Added a new EXTRA_CFLAGS option to add the deprecated define to
4159 the compilation command. This way we can avoid using the define in
4160 the documentation compilation.
4162 * configure.ac: Defined EXTRA_CFLAGS.
4164 * examples/Makefile.am:
4166 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4168 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4170 * src/hildon-picker-dialog.c:
4171 Defined a utility macro with the desired touch selector height
4172 Removed currently unused separator, and title_label variables from
4174 (hildon_picker_dialog_init): Removed code related to the creation
4175 of unused private variables title_label and separator.
4176 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4177 to ensure correct visualization of the touch selector inside the dialog.
4178 * src/hildon-touch-selector.c
4179 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4180 ensure a concrete height of the widget.
4182 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4185 * tests/Makefile.am:
4187 Remove spurious whitespaces.
4189 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4192 compilation warning after the cancel button removal.
4194 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4196 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4198 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4199 Makefile.am, that way we can choose not to compile some examples
4200 and tests of the deprecated widgets.
4202 * examples/Makefile.am: Divided the sources in deprecated and
4205 * src/Makefile.am: Added undef statement of the deprecated
4206 symbol to the enums file generation process.
4208 * src/hildon-color-chooser-dialog.c
4209 * src/hildon-color-chooser-dialog.h
4210 * src/hildon-color-button.c
4211 * src/hildon-color-button.h
4212 * src/hildon-color-chooser.c
4213 * src/hildon-color-chooser.h
4214 * src/hildon-controlbar.c
4215 * src/hildon-controlbar.h
4216 * src/hildon-date-editor.c
4217 * src/hildon-date-editor.h
4218 * src/hildon-hvolumebar.c
4219 * src/hildon-hvolumebar.h
4220 * src/hildon-private.c
4221 * src/hildon-private.h
4222 * src/hildon-range-editor.c
4223 * src/hildon-range-editor.h
4224 * src/hildon-seekbar.c
4225 * src/hildon-seekbar.h
4226 * src/hildon-time-editor.c
4227 * src/hildon-time-editor.h
4228 * src/hildon-time-picker.c
4229 * src/hildon-time-picker.h
4230 * src/hildon-volumebar.c
4231 * src/hildon-volumebar.h
4232 * src/hildon-vvolumebar.c
4233 * src/hildon-vvolumebar.h
4234 * src/hildon-bread-crumb-trail.h
4235 * src/hildon-bread-crumb-trail.c
4236 * src/hildon-calendar-popup.c
4237 * src/hildon-calendar-popup.h
4238 * src/hildon-weekday-picker.c:
4239 * src/hildon-weekday-picker.h:
4240 * src/hildon-bread-crumb-widget.c:
4241 * src/hildon-bread-crumb-widget.h:
4242 * src/hildon-bread-crumb.c:
4243 * src/hildon-bread-crumb.h:
4244 * src/hildon-calendar.c:
4245 * src/hildon-calendar.h:
4246 * src/hildon-caption.c:
4247 * src/hildon-code-dialog.c:
4248 * src/hildon-code-dialog.h:
4249 * src/hildon-font-selection-dialog.c:
4250 * src/hildon-font-selection-dialog.h:
4251 * src/hildon-get-password-dialog.c:
4252 * src/hildon-get-password-dialog.h:
4253 * src/hildon-login-dialog.c:
4254 * src/hildon-login-dialog.h:
4255 * src/hildon-number-editor.c:
4256 * src/hildon-number-editor.h:
4257 * src/hildon-set-password-dialog.c:
4258 * src/hildon-set-password-dialog.h:
4259 * src/hildon-sort-dialog.c:
4260 * src/hildon-sort-dialog.h: This is the list of deprecated
4263 * src/hildon-touch-selector.c:
4264 * src/hildon-window.c: Added undef statement to avoid compilation
4267 * tests/Makefile.am: Divided the sources in deprecated and
4270 * tests/check_test.c,
4271 (configure_tests): Marked the deprecated code that was adding
4272 suites with deprecated tests.
4274 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4276 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4278 * src/hildon-touch-selector.c: (_default_print_func): Do not
4279 duplicate a string returned by gtk_tree_model_get(), it is already
4282 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4285 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4287 * src/hildon-pannable-area.c
4288 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4289 method, it had problems when adding a widget with viewport the
4290 second time. Now checks if it already has a viewport and uses it.
4292 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4295 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4297 * src/hildon-pannable-area.c,
4298 (hildon_pannable_area_scroll_to),
4299 (hildon_pannable_area_jump_to),
4300 (hildon_pannable_area_scroll_to_child),
4301 (hildon_pannable_area_jump_to_child): Added a precondition to the
4302 scroll and jump to functions: the widget must be mapped before we
4303 can safely call these functions. We have also added documentation
4304 to the functions to explain how to use them in this situation.
4307 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4309 Reviewed the threading handling of the pannable widget, we have
4310 used the gdk_threads_add_timeout function instead of the usual
4311 glib handlers. This avoids some problems with the threads.
4313 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4314 (hildon_pannable_area_initial_effect),
4315 (hildon_pannable_area_scroll_indicator_fade),
4316 (hildon_pannable_area_button_press_cb),
4317 (hildon_pannable_area_timeout),
4318 (hildon_pannable_area_motion_notify_cb),
4319 (hildon_pannable_area_button_release_cb),
4320 (hildon_pannable_area_scroll_cb),
4321 (hildon_pannable_area_scroll_to): Removed the
4322 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4323 gdk_threads_add_timeout.
4325 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4327 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4332 * configure.ac: bump version
4333 * debian/changelog: updates
4335 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4338 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4339 * src/hildon-color-chooser-dialog.c:
4340 (hildon_color_chooser_dialog_init):
4341 * src/hildon-font-selection-dialog.c:
4342 (hildon_font_selection_dialog_init):
4343 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4345 Remove all cancel/close-like dialogs, as these are not going to be
4348 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4350 * src/hildon-note.c: (hildon_note_rebuild),
4351 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4354 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4356 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4359 sure all buttons are shown, even the Cancel/Close-like ones.
4361 Fixes: NB#90861 (Custom Confirmation dialogs should be
4362 protected from cancel button removal)
4364 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4366 * debian/control: Change libhildon1-examples dependency from libhildon1
4368 * debian/libhildon1-examples.install
4370 * Makefile.am: Modified the final install directory for the examples on
4371 package libhildon1-examples
4372 * Makefile.static: Update clean target in order to remove all the binary
4375 Changes suggested by Claudio after review new libhildon1-examples package
4377 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4379 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4380 * src/hildon-touch-selector.c: Ditto.
4382 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4384 * debian/control: Added new package libhildon1-examples, in order to pack
4385 the current hildon examples as documentation
4386 * debian/rules: Not to compress .c files, modify some includes on the
4387 examples (as normally are compiled locally, but when installed it will
4388 require to include the installed libhildon1 library), and rename
4390 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4391 install all the example files on the new example package
4392 * examples/Makefile.static: Added static makefile that can be used to
4393 compile the examples, once installed the new example package
4394 * examples: Most of the examples were modified in order to grant that
4395 all use only '#include "hildon.h"', in order to be easy to prepare
4396 it on the example package
4398 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4401 * debian/libhildon1-dev.install
4402 * debian/libhildon1-doc.install:
4403 Move all gtk-doc files to a separate libhildon1-doc package.
4405 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4407 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4411 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4413 * debian/rules: Fixed a error in order to avoid unnecessary calls
4414 to autogen.sh on package building
4416 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4418 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4420 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4425 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-picker-button.c
4428 (hildon_picker_button_finalize):
4429 Free priv->done_button_text
4431 * src/hildon-time-button.c
4432 (hildon_time_button_set_time)
4433 * src/hildon-picker-button.c
4434 (hildon_picker_button_clicked)
4435 (hildon_picker_button_selector_selection_changed)
4436 (hildon_picker_button_set_selector)
4437 * src/hildon-date-button.c
4438 (hildon_date_button_set_date):
4439 Free strings returned by hildon_touch_selector_get_current_text()
4441 * src/hildon-button.c (hildon_button_construct_child):
4442 Fix leaks in priv->image and priv->label_box
4444 Fixes: NB#90535 (Memory leak in picker button)
4446 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-button.c: (hildon_button_get_property): Do not access
4449 private elements directly, use getters instead.
4451 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4453 * src/hildon-app-menu-private.h
4454 * src/hildon-app-menu.c
4455 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4456 Store the menu's parent window.
4458 * src/hildon-stackable-window.c
4459 (hildon_stackable_window_toggle_menu)
4460 (hildon_stackable_window_finalize):
4461 Set the menu's parent window when the menu is shown, unset it when
4464 * src/hildon-app-menu.c
4465 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4466 (hildon_app_menu_class_init):
4467 Send unhandled keyboard accelerators to the parent window.
4469 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4471 * src/hildon-stackable-window.c
4472 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4474 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4476 * configure.ac: post release version bump
4478 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4481 * configure.ac: Bump version
4482 * debian/changelog: Updates
4483 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4486 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4488 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4491 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4492 GtkMenu with Hildon style.
4494 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4496 * src/hildon-picker-button.c:
4497 (hildon_picker_button_set_done_button_text): Set the dialog's
4498 done button text here as well.
4500 Fixes: NB#90232 (Picker button does not set the label on done button
4501 for the second time)
4503 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4508 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-app-menu.c (hildon_app_menu_insert)
4511 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4512 the HildonAppMenu to be activatable using keyboard accelerators
4513 when the menu is not being shown.
4515 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4517 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4519 * src/hildon-stackable-window.c
4520 (hildon_stackable_window_show):
4521 Don't hide old windows automatically when new windows are shown:
4522 this is now a task for the window manager.
4523 (hildon_stackable_window_class_init)
4524 (hildon_stackable_window_hide):
4525 Remove windows from the stack everytime they're hidden.
4526 (hildon_stackable_window_realize):
4527 Don't change the _NET_WM_WINDOW_TYPE property. Use
4528 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4529 it as a stackable window.
4531 * src/hildon-program.c
4532 (hildon_program_pop_window_stack):
4533 Just hide the window to remove it from the stack.
4534 (hildon_program_go_to_root_window):
4535 Don't call gtk_widget_show(), this is now a task for the window
4538 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4540 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-button.c
4543 (hildon_button_construct_child):
4544 Don't pack anything in the button until text or image are
4545 set. This allows adding a custom child after creating the button
4546 with hildon_button_new().
4547 (hildon_button_finalize, hildon_button_class_init)
4548 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4549 alignment and the label box even when they're not packed in the
4552 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4554 * src/hildon-touch-selector.h:
4555 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4556 currently the type definition was using GTK_TYPE_VBOX
4557 * src/hildon-touch-selector.c:
4558 Added some implementation notes in order to clarify that any other widget
4559 added without the column related API will not be included on the
4560 selection logic, and how the widget is freed, as some people ask about
4562 (hildon_touch_selector_remove): Reimplemented in order to free properly
4563 the column related data when you remove the private hbox.
4564 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4565 to get a proper HildonTouchSelectorColumn documentation
4567 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-touch-selector-entry.c:
4570 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4571 text in the GtkEntry and there is no item selected. Fixes a
4574 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-app-menu-private.h
4577 * src/hildon-app-menu.[ch]
4578 * src/hildon-button.[ch]
4579 * src/hildon-check-button.[ch]
4580 * src/hildon-entry.[ch]
4581 * src/hildon-pannable-area.[ch]
4582 * src/hildon-text-view.[ch]:
4583 Added private field to the object's structure.
4585 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: post-release version bump
4589 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4593 * configure.ac: pre-release version bump
4595 * debian/changelog: updates.
4597 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4600 Disconnect the handler for HildonTouchSelector::changed.
4602 (hildon_picker_button_selector_selection_changed): Update the button
4603 value if the selection change was not triggered by the
4606 (hildon_picker_button_set_selector): connect to
4607 HildonTouchSelector::changed.
4609 Fixes: NB#89650 (Picker button is not updated, when selection in
4610 selector has changed)
4612 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4614 * src/hildon-picker-dialog.c
4615 (hildon_picker_dialog_realize): Removed as not required
4616 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4617 * src/hildon-picker-button.c
4618 (_current_selector_empty): New function, checks if the selector is empty
4619 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4620 if the current selector is empty, in order to avoid to show the dialog
4621 close the dialog in this case (and shows a g_warning).
4623 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4625 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4627 * src/hildon-pannable-area.c,
4628 (hildon_pannable_area_scroll): Added clause to stop movement when
4629 the child of pannable is smaller than one page.
4630 (hildon_pannable_area_scroll_to): Added conditions to avoid
4631 starting the scrolling movement if the child is smaller than one
4632 page, the complete child is in the screen, we do not have to move.
4634 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4636 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4639 this is managed automatically by the widget when the size of the
4642 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-picker-button.c
4645 (hildon_picker_button_set_done_button_text): Make a copy of the
4646 text, and free the previous value.
4648 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4650 * src/hildon-touch-selector-entry.c:
4651 (hildon_touch_selector_entry_print_func): Return the selected row's
4652 text if the entry is empty.
4654 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4657 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4661 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4664 * src/hildon-check-button.h
4665 * src/hildon-check-button.c
4666 * examples/hildon-check-button-example.c:
4667 HildonCheckButton is now a new widget. 'toggled' signal added.
4669 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4671 * src/hildon-program-private.h
4672 * src/hildon-program.c (hildon_program_init)
4673 (hildon_program_finalize): Removed unused variables group_leader
4674 and name from HildonProgramPrivate.
4676 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-check-button.c (hildon_check_button_set_active)
4679 (hildon_check_button_get_active, hildon_check_button_new): Use
4680 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4682 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4684 * src/hildon-touch-selector.h
4685 (hildon_touch_selector_set_column_attributes): added deprecation
4686 guard HILDON_DISABLE_DEPRECATED
4687 * src/hildon-time-selector.c
4688 (hildon_time_selector_set_time)
4689 (hildon_time_selector_get_time): Fixed a typo on documentation
4690 * src/hildon-touch-selector.c: update HildonTouchSelector and
4691 HildonTouchSelectorColumn documentation
4692 * src/hildon-touch-selector-entry.c: update "text-column" property
4694 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4695 to be added to the general documentation.
4697 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4699 * examples/hildon-pannable-area-example-4.c,
4701 * examples/hildon-pannable-area-example.c,
4702 (main): Modified the code in order to use the container add, with
4703 viewport treeviews could have problems if they are really big.
4705 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4707 * src/hildon-weekday-picker.c,
4708 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4709 the agreement regarding deprecation in the library.
4711 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4713 * examples/hildon-picker-button-multicolumn-example.c:
4714 (main): Use custom "done" button text.
4716 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4717 (hildon_picker_button_set_property),
4718 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4719 (hildon_picker_button_init),
4720 (+hildon_picker_button_get_done_button_text),
4721 (+hildon_picker_button_set_done_button_text): New methods to customize
4722 the "done" button label in the launched HildonPickerDialog. Also,
4725 * src/hildon-picker-button.h: add the public API.
4727 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4729 * src/hildon-date-selector.h:
4730 * src/hildon-picker-dialog.h:
4731 * src/hildon-time-selector.h:
4732 * src/hildon-touch-selector-column.h:
4733 * src/hildon-touch-selector.h:
4735 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4736 declarations. Fixes gtk-doc warnings.
4738 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-picker-dialog.h
4741 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4742 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4744 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4745 long text is set as label for done button)
4747 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-dialog.c (hildon_dialog_add_button):
4750 Set fixed width to all buttons in the HildonDialog.
4752 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4754 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4756 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4757 Set widget name using class name plus "-finger" or "-thumb".
4759 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4762 'clicked' when the state of the button is manually changed.
4764 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-app-menu.c (hildon_app_menu_realize)
4767 (hildon_app_menu_unrealize, hildon_app_menu_init)
4768 (hildon_app_menu_class_init, item_visibility_changed):
4769 Change the menu layout when the size of the screen changes.
4770 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4771 Show warning only when changing the number of colums using the
4774 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4776 * debian/compat: Set to 5
4777 * debian/control: Update dependencies.
4778 * debian/libhildon1-dbg.install: Remove.
4779 * debian/libhildon1-dev.install: Update according to cdbs paths.
4780 * debian/libhildon1.install: Update according to cdbs paths.
4781 * debian/rules: Switch to cdbs.
4783 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4785 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4786 'item' variable renamed to 'filter'
4788 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4790 * src/hildon-app-menu.c (hildon_app_menu_insert)
4791 (hildon_app_menu_add_filter, remove_item_from_list)
4792 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4793 Don't leak hidden items when the menu is destroyed.
4795 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-app-menu.c (hildon_app_menu_insert)
4798 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4799 (hildon_app_menu_set_columns, item_visibility_changed)
4800 (filter_visibility_changed, hildon_app_menu_repack_filters)
4801 (hildon_app_menu_repack_items):
4802 Repack items and filters separately.
4804 Don't repack all items, change only the ones that are needed to
4807 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4809 * src/Makefile.am: added hildon-touch-selector-column.h
4811 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4813 * src/hildon-touch-selector.c: added the property "text-column" to the
4814 class HildonTouchSelectorColumn, and related get/set functions
4815 (_default_printf_func): updated to use "text-column" property
4816 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4817 "text-column" in his documentation, as this is now included on
4818 HildonTouchSelectorColumn. The get/set_property can still be used,
4819 working as a wrapper to the concrete column "text-column" property
4820 (_text_column_modified): callback added in order to handle the signal
4821 "notify::text-column" of the concrete HildonTouchSelectorColumn
4822 (hildon_touch_selector_entry_get_text_column)
4823 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4824 modified in order to use the HildonTouchSelectorColumn "text-column"
4826 * src/hildon-time-selector.c:
4827 * src/hildon-date-selector.c:
4828 * examples/hildon-touch-selector-example.c
4829 * examples/hildon-touch-selector-multi-cells-example.c
4830 * examples/hildon-picker-button-multicolumn-example.c
4831 Set the right value to "text-column" property on the creation of a new
4832 column using hildon_touch_selector_append_column()
4834 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4836 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4838 * src/hildon-app-menu.c
4839 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4840 updating the layout of the menu, don't create all widgets again,
4841 just repack the items in their new places.
4843 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4845 * src/hildon-time-selector.c
4846 (hildon_time_selector_get_time)
4847 (hildon_time_selector_set_time)
4848 Added documentation of these public methods
4850 * src/hildon-date-button.h
4851 * src/hildon-touch-selector-column.h
4852 * src/hildon-time-button.h
4853 * src/hildon-picker-dialog.h
4854 * src/hildon-time-selector.h
4855 * src/hildon-picker-button.h
4856 * src/hildon-touch-selector.h
4857 * src/hildon-time-picker.h
4858 * src/hildon-date-selector.h
4859 * src/hildon-touch-selector-entry.h
4860 Modified in order to use hildon-widgets code style
4862 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4864 Added deprecated support to the compilation process using
4865 HILDON_DISABLE_DEPRECATED
4867 * configure.ac: Added the --disable-deprecated to the configure
4870 * src/hildon-weekday-picker.c:
4871 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4872 to use the deprecated support. We will update the other deprecated
4873 widgets status in a new patch.
4875 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4877 * configure.ac: Fixed typo with fatal warnings support, the
4878 variable name was not correct
4880 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4882 * src/hildon-app-menu.c
4883 * src/hildon-program.c: Update documentation.
4885 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4887 * configure.ac: Post-release version bump.
4889 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4894 * configure.ac: Pre-release version bump.
4895 * debian/changelog: Updates.
4897 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4899 * NEWS: Update news for previous releases.
4901 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4903 * examples/hildon-touch-selector-multi-cells-example.c:
4904 (create_selector): Update the example to use
4905 hildon_touch_selector_append_column() with a NULL renderer and set
4906 the renderers later.
4907 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4908 passed a NULL renderer. This is documented behavior now.
4910 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4911 This must be used if the developer wants full control on the layout of
4912 the renderers to be added to the column.
4914 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4916 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-touch-selector.c: Documentation fixes.
4920 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4922 * src/hildon-wizard-dialog-private.h: Remove image and box.
4923 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4924 (hildon_wizard_dialog_set_property), (response): Completely remove
4925 image/icon support, and the containers required for the layout.
4927 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4929 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4931 * src/hildon-app-menu.c: Updated documentation.
4933 * src/hildon-stackable-window.c
4934 (hildon_stackable_window_set_main_menu): Unref the old menu after
4935 ref'ing the new one.
4937 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4939 * src/hildon-stackable-window.c
4940 (hildon_stackable_window_set_main_menu): Unref the previous menu
4941 instead of destroying it.
4943 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4944 floating reference and set has_user_ref_count to FALSE to make
4945 HildonAppMenu act like a normal ref-counted widget and not a
4948 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4951 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4953 * src/hildon-touch-selector-column.h: new file
4954 * src/hildon-touch-selector.h
4955 * src/hildon-touch-selector.c
4956 Implemented GtkCellLayout interface, in order to allow to configure
4957 the cell layout on each individual selector column
4958 (hildon_touch_selector_set_column_attributes): marked as deprecated
4959 * examples/hildon-touch-selector-multi-cells-example.c
4960 Example of how to use the GtkCellLayout interface on the selector
4962 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4964 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4966 * src/hildon-app-menu.h
4967 * src/hildon-app-menu.c
4968 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4969 (hildon_app_menu_append, hildon_app_menu_prepend):
4970 New methods to prepend, insert and move items in the menu.
4972 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-wizard-dialog.c:
4976 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4978 (create_title): Update logical IDs and related code.
4979 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4981 * src/hildon-wizard-dialog.h: Note that
4982 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4983 point, as it is not used anymore.
4985 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4987 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4989 * src/hildon-note.c:
4990 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4991 shown. Do not display an icon in confirmation notes nor information
4993 (hildon_note_set_button_text): Update logical ID for cancel button.
4995 Fixes: NB#88850 (Update HildonNote button strings + signals)
4997 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-stackable-window.c
5000 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5002 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5004 * src/hildon-app-menu-private.h
5005 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5006 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5007 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5008 temporary property 'columns' to change the number of columns.
5010 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5012 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5014 * examples/hildon-note-example.c: (on_information_clicked),
5015 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5016 debugging information.
5017 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5019 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5020 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5021 in order to close: this will be handled by the WM from now on.
5023 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5025 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-app-menu-private.h
5028 * src/hildon-app-menu.c
5029 (hildon_app_menu_append, hildon_app_menu_add_filter)
5030 (button_visibility_changed, hildon_app_menu_apply_style)
5031 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5032 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5033 layout everytime a button (item or filter) is shown or hidden.
5035 * src/hildon-stackable-window.c
5036 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5039 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5041 * src/hildon-touch-selector.c:
5042 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5043 that the treeview inside the touch selector is in fremantle hildon mode
5044 * examples/hildon-date-button-example.c
5045 * examples/hildon-picker-button-multicolumn-example.c
5046 * examples/hildon-touch-selector-entry-example.c
5047 * examples/hildon-touch-selector-example.c
5048 * examples/hildon-time-button-example.c
5049 * examples/hildon-picker-button-example.c:
5050 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5052 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5054 * examples/hildon-text-view-example.c: (main): Remove the
5055 gtkrc bits, now handled by the theme.
5057 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5059 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5062 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5064 * po/Makefile.am: Install properly the mo files.
5065 * po/en_GB.po: Update translation, to ease testing purposes.
5067 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5069 * examples/hildon-picker-button-example.c: (main): Select an item
5070 in the selector before setting it to the button.
5072 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5074 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5075 Update button's value if the selector has an item active.
5077 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5078 'value' with the selector)
5080 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5082 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5083 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5084 (hildon_picker_button_class_init): Plug the finalize method.
5085 (hildon_picker_button_set_selector): If there's a previously set
5086 selector, unref'it before setting a new one.
5088 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5089 HildonTouchSelector)
5091 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5093 * src/hildon-touch-selector-entry.c:
5094 (hildon_touch_selector_entry_changed): Check if there is no text
5095 selected before setting the entry text.
5098 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5100 * src/hildon-touch-selector.h
5101 * src/hildon-touch-selector.c
5102 (hildon_touch_selector_get_active)
5103 (hildon_touch_selector_set_active): New methods to set/get the
5104 index of the selected item.
5106 * src/hildon-picker-button.h
5107 * src/hildon-picker-button.c
5108 (hildon_picker_button_get_active)
5109 (hildon_picker_button_set_active): New methods to set/get the
5110 index of the selected item.
5112 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5114 * configure.ac: post-release version bump.
5116 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5120 * configure.ac: Pre-release version bump.
5121 * debian/changelog: Updates.
5122 * debian/control: Add myself as maintainer and depend on l10n
5125 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-window.c
5128 (hildon_window_set_main_menu)
5129 * src/hildon-stackable-window.c
5130 (hildon_stackable_window_set_main_menu):
5131 Updated documentation.
5133 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5135 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5136 Don't free selector->priv manually.
5139 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5142 (hildon_gtk_window_set_progress_indicator):
5143 * src/hildon-gtk.h: Added the new API
5144 hildon_gtk_window_set_progress_indicator, it changes the state of
5145 the window progress hint.
5147 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-button.c
5150 * src/hildon-stackable-window.c: Minor documentation updates.
5152 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-stackable-window.c: Updated documentation.
5156 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5158 * src/hildon-defines.h: Update margins definitions
5159 to the Fremantle sizes.
5162 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5164 * src/hildon-touch-selector.c,
5165 (_hildon_touch_selector_set_model): Cleaning the code after
5166 review, removed g_print and #if 0 from the code.
5168 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-edit-toolbar.c: Update documentation.
5172 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-check-button.h
5175 * src/hildon-check-button.c
5176 (hildon_check_button_set_label, hildon_check_button_get_label)
5177 * examples/hildon-check-button-example.c
5178 (button_clicked_cb):
5179 Removed deprecated methods.
5181 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5183 * src/hildon-text-view.c:
5184 Add sample code to the documentation.
5186 * src/hildon-entry.h
5187 * src/hildon-text-view.h:
5188 Minor cosmetic changes.
5190 * src/hildon-entry.c:
5191 Add sample code to the documentation.
5192 (hildon_entry_init, hildon_entry_refresh_contents):
5193 Don't allow NULL values in the placeholder.
5195 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5197 * doc/hildon-docs.sgml
5199 * examples/Makefile.am
5200 * examples/hildon-text-view-example.c
5202 * src/hildon-text-view.c
5203 * src/hildon-text-view.h
5205 New HildonTextView widget, with example.
5207 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5209 * po/POTFILES.in: Add missing files with translatable strings.
5210 Partially fixes NB#88287.
5212 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5214 * examples/hildon-pannable-area-example-2.c: (main): No need to
5215 set the cellrenderer height inside hildon touch lists, the theme does
5218 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5220 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5221 they are integrated in the theme.
5223 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5225 * examples/hildon-entry-example.c: Update the example adding
5226 widgets to modify the text and the placeholder of the HildonEntry.
5228 * src/hildon-entry.c: Show the placeholder everytime the widget
5229 is empty and loses the focus.
5231 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5233 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5235 * src/hildon-pannable-area.c,
5236 (hildon_pannable_area_size_request): Fixed bug in height
5237 requisition, avoid increasing size and add border twice.
5239 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5241 * configure.ac: postrelease version bump.
5243 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5247 * configure.ac: Prerelease version bump.
5248 * debian/changelog: update.
5249 * debian/rules: make -dbg package contain useful debugging symbols.
5251 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-dialog.h
5254 * src/hildon-dialog.c
5255 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5256 New methods to add buttons with finger size.
5257 (hildon_dialog_new_with_buttons):
5258 Create buttons with finger size.
5260 * examples/hildon-dialog-example.c (main): Use HildonDialog
5261 methods to add buttons.
5263 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-entry.c: Updated HildonButton documentation.
5267 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5269 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5270 button value label with (FALSE, FALSE) to prevent NB#88126 from
5273 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5275 * examples/hildon-pannable-area-example.c,
5276 (main): Removed examples panning a vbox inside a pannable
5277 area. Check bug NB#87965
5279 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5281 Patch contributed by Kris Rietveld (kris@imendio.com)
5283 * src/hildon-pannable-area.c,
5284 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5285 get_size and get_position, this saves an X server roundtrip.
5287 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5289 * doc/hildon-docs.sgml
5291 * examples/Makefile.am
5292 * examples/hildon-entry-example.c
5294 * src/hildon-entry.c
5295 * src/hildon-entry.h
5297 New HildonEntry widget, with example.
5299 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-button.c (hildon_button_construct_child): Pack the
5302 image with expand == fill == FALSE. This is a workaround for a bug
5305 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5307 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5308 labels for the text column, to make it more look more dynamic.
5310 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5312 * src/hildon-time-selector.c
5313 Define gettext auxiliar macro N_
5314 (_create_minutes_model)
5315 (_create_hours_model)
5316 (_create_ampm_model): use of strftime in order to fill the model
5317 * src/hildon-date-selector.c
5318 (hildon_date_selector_finalize):
5319 (_locales_init): remove the logic related to get the name of the months
5320 using nl_langinfo, as it is not required anymore
5322 (_create_year_model)
5323 (_create_month_model)
5324 (_update_day_model): use of strftime in order to fill the model properly
5327 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5329 * src/hildon-button.h
5330 * src/hildon-button.c (hildon_button_get_image): New method to
5333 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5335 * src/hildon-touch-selector.c:
5336 (hildon_touch_selector_remove_column): Remove from the correct parent
5337 and also remove the list element and free it.
5340 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5342 * src/hildon-time-selector.c
5343 (_create_hours_model): change the range on 12h ampm format in order to use
5344 a 12-11 range instead of previous 01-12 range
5345 (hildon_time_selector_set_time): change the way to select the current time
5346 on 12h ampm format, due the change on the range
5347 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5350 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5352 * src/hildon-touch-selector.c
5353 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5354 in order to allow use this function on multiple row selection mode if
5355 the column is different that the first one
5358 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5360 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5361 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5363 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5365 * src/hildon-date-selector.h: clean some comments, now on the .c
5366 * src/hildon-date-selector.c
5367 (hildon_date_selector_select_month): first implementation
5368 (hildon_date_selector_select_day): added documentation, reimplemented
5369 using hildon_date_selector_select_current_date to avoid repeat code
5372 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5374 Reviewed interaction logic based on device experiences, refactored
5377 * src/hildon-pannable-area.c,
5378 (hildon_pannable_area_class_init): Updated default vmax speed.
5379 (hildon_pannable_area_calculate_velocity): Added this function, it
5380 avoids duplicate valocity calculation. Adjusted calculation to
5381 avoid problems with zero dist events.
5383 (hildon_pannable_area_motion_notify_cb): Now we use the
5384 calculate_velocity function.
5386 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5388 * src/hildon-date-selector.c
5389 (hildon_date_selector_select_current_date): fix the day range check
5390 as it failed using the last day of the current month
5393 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5395 * src/hildon-touch-selector.c
5396 (hildon_touch_selector_get_num_columns): added a parameter validation
5399 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5401 * examples/Makefile.am
5402 * examples/hildon-edit-toolbar-example.c: Example of the
5403 HildonEditToolbar widget.
5405 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5407 * configure.ac: postrelease version bump.
5409 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5413 * configure.ac: prerelease version bump.
5414 * debian/changelog: update.
5416 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5418 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5419 renderer to display stock icons in the touch list. Also, set the sizes
5420 to the recommended in the style guide.
5422 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5423 * src/hildon-touch-selector.h
5424 (hildon_touch_selector_set_active_iter): renamed, now is
5425 hildon_touch_selector_select_iter
5426 (hildon_touch_selector_get_active_iter): renamed, now is
5427 hildon_touch_selector_get_selected
5428 (hildon_touch_selector_unselect_iter): added
5429 * src/hildon-touch-selector.c
5430 Update after API modification (methods renamed)
5431 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5432 order to avoid problems selecting multiple elements on the column
5433 (hildon_touch_selector_unselect_iter): added the implementation
5434 * src/hildon-time-selector.c
5435 * src/hildon-date-selector.c
5436 * src/hildon-touch-selector-entry.c
5437 Update methods calls after hildon-touch-selector.h API modification (methods
5440 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-stackable-window.c
5443 (hildon_stackable_window_finalize): Call the parent class's finalize.
5445 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5447 * examples/hildon-touch-selector-example.c: (create_selector): Use
5448 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5451 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5453 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5454 set a cell background color, to respect theming.
5456 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5458 * doc/hildon-docs.sgml
5461 * src/hildon-edit-toolbar.c
5462 * src/hildon-edit-toolbar.h
5463 * src/hildon.h: New HildonEditToolbar widget.
5465 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5467 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5470 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5471 * src/hildon-touch-selector.c
5472 (_create_new_column): use g_object_set instead of two g_object_set_property
5474 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5475 * src/hildon-touch-selector.c
5476 (_create_new_column): use of hildon_gtk_tree_view_new to create
5477 the treeview, instead of use directly g_object_new
5478 (_create_new_column): update the property name "vindicator-mode" for the
5479 new one "vscrollbar-policy"
5480 * examples/hildon-date-button-example.c
5481 * examples/hildon-picker-button-multicolumn-example.c
5482 * examples/hildon-touch-selector-entry-example.c
5483 * examples/hildon-touch-selector-example.c
5484 * examples/hildon-time-button-example.c
5485 * examples/hildon-picker-button-example.c
5486 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5487 to all the treeviews inside a pannable area.
5489 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-button.h
5492 * src/hildon-button.c (hildon_button_init)
5493 (hildon_button_set_arrangement, hildon_button_set_alignment)
5494 (hildon_button_set_title_alignment)
5495 (hildon_button_set_value_alignment)
5496 (hildon_button_set_image_alignment)
5497 (hildon_button_construct_child): New methods to set the alignment
5498 of the individual components of the button (title, value,
5499 image). Also, new method to alter the xscale and yscale properties
5500 of the GtkAlignment inside the button, so more complex layouts can
5503 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-button.c (hildon_button_style_set)
5506 (hildon_button_class_init, hildon_button_set_arrangement)
5507 (hildon_button_construct_child): Apply style properties
5508 correctly. Use the 'image-spacing' style property too.
5510 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5512 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5513 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5516 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5518 * src/hildon-pannable-area.c,
5519 (hildon_pannable_area_size_request): Fixed problem with
5520 pannable-area size_request.
5522 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5524 Added management for the grab-focus to a child widget, like a
5525 range, we need to fade out the scrollbar when releasing.
5527 * src/hildon-pannable-area.c,
5528 (hildon_pannable_area_init): Connected the grab-focus signal to
5530 (hildon_pannable_area_grab_notify): Added this function in order
5531 to manage the situation when the grab-focus ends. We have to
5532 fade-out the scrollbar.
5534 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5536 * src/hildon-app-menu.c: Minor documentation update.
5538 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-app-menu.c
5541 * examples/hildon-app-menu-example.c (create_menu): Update
5542 examples and documentation to explain how to connect callbacks.
5544 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5546 * examples/hildon-button-example.c
5547 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5548 hildon_stackable_window_new instead of gtk_window_new
5550 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5552 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5553 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5554 (hildon_pannable_area_set_property),
5555 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5556 (hildon_pannable_area_unrealize),
5557 (hildon_pannable_area_size_request),
5558 (hildon_pannable_area_size_allocate),
5559 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5560 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5561 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5562 (hildon_pannable_area_initial_effect),
5563 (hildon_pannable_area_redraw),
5564 (hildon_pannable_area_scroll_indicator_fade),
5565 (hildon_pannable_area_expose_event),
5566 (hildon_pannable_area_get_topmost), (synth_crossing),
5567 (hildon_pannable_area_button_press_cb),
5568 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5569 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5570 (hildon_pannable_area_motion_notify_cb),
5571 (hildon_pannable_area_button_release_cb),
5572 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5573 (hildon_pannable_area_remove),
5574 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5575 chage the code layout to a more GtkWidget like. Review the use of
5578 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5580 * examples/hildon-pannable-area-example-4.c,
5581 (main): Modified the name of the hindicator_mode to
5584 * src/hildon-pannable-area.c,
5585 (hildon_pannable_area_class_init),
5586 (hildon_pannable_area_motion_notify_cb),
5587 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5588 we have reduced the amount of signals and managed reviewed its
5589 rationale. Changed the default decelerate value.
5591 (hildon_pannable_area_add),
5592 (hildon_pannable_area_redraw): Refactored functions.
5594 (hildon_pannable_area_init),
5595 (hildon_pannable_area_get_property),
5596 (hildon_pannable_area_set_property):
5597 (hildon_pannable_draw_vscroll),
5598 (hildon_pannable_draw_hscroll),
5599 (hildon_pannable_area_initial_effect),
5600 (hildon_pannable_area_expose_event),
5601 (hildon_pannable_area_scroll),
5602 (hildon_pannable_area_button_press_cb),
5603 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5604 and vindicator_mode with hscrollbar_policy and
5605 vscrollbar_policy. Replaced hscroll and vscroll with
5606 hscroll_visible and vscroll_visible.
5608 (hildon_pannable_area_refresh): Refactor the function, remove
5609 variables and check the calls to this function, added resize
5610 conditions in case the children change their layout.
5612 (hildon_pannable_area_size_request): Added more detailed
5613 size_request calculation.
5616 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5618 * src/hildon-color-chooser.c
5619 (init_borders): use the correct gtk_border_free instead of g_free, to
5620 avoid a crash when this widget is used (ie: the three color selection
5623 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5625 * src/hildon-check-button.c,
5626 (hildon_check_button_set_active): Fixed problem when setting the
5627 active value, the widget was not redrawn.
5629 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c,
5632 (hildon_pannable_area_refresh),
5633 (hildon_pannable_area_scroll),
5634 (hildon_pannable_area_motion_notify_cb): Small code style change.
5636 (hildon_pannable_area_class_init): Default initial_hint set to
5637 FALSE, it is not in the specs.
5639 (hildon_pannable_area_initial_effect),
5640 (hildon_pannable_area_expose_event),
5641 (hildon_pannable_area_map),
5642 (hildon_pannable_area_init): Moved the launching point of the
5643 initial effect, it was in map but the sizes where not correct in
5644 that method so we do not know if we have the reproduce it. Now it
5645 is placed in the expose_event method and uses a variable to
5646 reproduce it just once.
5648 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5650 * src/hildon-pannable-area.c,
5651 (hildon_pannable_draw_vscroll),
5652 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5653 position allowed for the scrollbars.
5655 (hildon_pannable_area_size_allocate): Small style change.
5657 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5659 * src/hildon-pannable-area.c,
5660 (hildon_pannable_area_scroll_indicator_fade),
5661 (hildon_pannable_area_button_press_cb),
5662 (hildon_pannable_area_button_release_cb),
5663 (hildon_pannable_area_scroll_cb),
5664 (hildon_pannable_area_expose_event),
5665 (hildon_pannable_area_init): Added the define parameter
5666 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5667 and refactor the fade variable.
5669 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5671 * src/hildon-pannable-area.c,
5672 (hildon_pannable_area_redraw),
5673 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5674 lines, we were reimplemeting the redraw code.
5676 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5678 * src/hildon-pannable-area.c,
5679 (hildon_pannable_area_scroll_cb),
5680 (hildon_pannable_area_realize),
5681 (hildon_pannable_area_class_init): Added scroll_event management
5682 for pannable area, now we can scroll the usual desktop method.
5684 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5685 initialization of the parameters should depend on idle_id.
5687 (hildon_pannable_area_init),
5688 (hildon_pannable_area_map): Small code style modifications
5690 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5692 * src/hildon-pannable-area.c
5693 (hildon_pannable_area_button_press_cb),
5694 (hildon_pannable_area_motion_notify_cb),
5695 (hildon_pannable_area_button_release_cb),
5696 (hildon_pannable_area_size_allocate),
5697 (hildon_pannable_area_scroll_to): Improved the timeouts
5698 management, we avoid creating them each time.
5700 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5702 * src/hildon-pannable-area.c:
5703 (hildon_pannable_area_refresh),
5704 (hildon_pannable_area_motion_notify_cb),
5705 (hildon_pannable_area_class_init):
5706 * src/hildon-pannable-area.h:
5707 * src/hildon-touch-selector.c
5708 (_create_new_column):
5709 * examples/hildon-pannable-area-example-4.c:
5710 (horizontal_movement),
5711 (vertical_movement),
5713 Replaced the names of enums in the HildonPannableArea:
5714 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5715 HILDON_MOVEMENT_MODE_*
5716 - HILDON_PANNABLE_AREA_MOV_* ->
5718 - Removed HildonPannableAreaIndicatorMode, now we
5721 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5723 * examples/hildon-pannable-area-touch-grid-example.c
5724 * examples/hildon-pannable-area-touch-list-example.c: Fix
5725 compilation warnings.
5727 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-gtk.c (hildon_gtk_button_new)
5730 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5731 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5732 images overriding the value of the "gtk-button-images" setting.
5734 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5736 * src/hildon-check-button.c (hildon_check_button_new):
5737 Instead of using a custom container, display the label and the
5738 checkbox using the standard GtkButton API.
5740 * examples/hildon-check-button-example.c (main): Don't use
5741 hildon_check_button_set_label() anymore
5743 * src/hildon-check-button.h
5744 * src/hildon-check-button.c
5745 (hildon_check_button_set_label, hildon_check_button_get_label):
5746 Set as deprecated, now we're using gtk_button_{get,set}_label()
5748 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5750 * src/hildon-pannable-area.c,
5751 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5752 GtkTreeview first line we detected it after the inclusion of the
5753 GtkWindowImpl in gtk+. We now check if the window is visible, not
5754 just if the pointer is over the window.
5755 (hildon_pannable_axis_scroll),
5756 (hildon_pannable_area_expose_event): Small style changes.
5758 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-button.c: Update documentation.
5762 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5764 * examples/hildon-button-example.c: Add a switch to show images in
5767 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5769 * doc/hildon-docs.sgml: Some docs reorganization.
5771 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5773 * examples/hildon-pannable-area-touch-list-example.c
5775 * examples/hildon-pannable-area-touch-grid-example.c
5776 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5777 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5778 Fix memory leak when setting the tree model.
5780 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5784 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5786 * doc/hildon.types: Remove duplicated hildon_window_get_type
5787 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5788 documentation comment.
5790 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5792 * doc/Makefile.am: Complete list of private headers.
5794 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5796 * doc/hildon-docs.sgml
5797 * src/hildon-app-menu.c
5798 * src/hildon-bread-crumb.c
5799 * src/hildon-button.c
5801 * src/hildon-program.c
5802 * src/hildon-stackable-window.c
5803 * src/hildon-window.c: Lots of documentation updates.
5805 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5807 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5809 * configure.ac: Require Gtk+ 2.12.9 at least
5811 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5813 * src/hildon-pannable-area.c
5814 (hildon_pannable_area_scroll_indicator_fade),
5815 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5816 to protect the return of this timeout callbacks, avoiding deadlocks.
5818 2008-08-12 Christian Dywan <christian@imendio.com>
5821 * src/hildon-*.h: Ensure a consistent include order,
5822 include <gtk/gtk.h> instead of particular files and
5823 only include the topmost header in the gtk stack. See NB #39857
5825 2008-08-12 Christian Dywan <christian@imendio.com>
5827 * src/hildon-picker-dialog.c
5828 * src/hildon-touch-selector.c: Fix warnings about unused and
5829 uninitialized variables.
5831 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5833 * examples/Makefile.am
5834 * examples/hildon-check-button-example.c: Example of the hildon
5837 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5839 * src/hildon-window.h
5840 * src/hildon-window.c (hildon_window_class_init)
5841 (hildon_window_unset_program): Don't make
5842 hildon_window_unset_program a virtual function anymore.
5844 * src/hildon-stackable-window.c: Update documentation
5846 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5849 * doc/hildon-docs.sgml
5850 * doc/visual_index.xml
5851 * src/hildon-defines.c
5853 * src/hildon-helper.c
5854 * src/hildon-range-editor.c: Lots of documentation fixes.
5856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5858 * examples/hildon-picker-button-multicolumn-example.c
5859 (create_touch_selector): Fix compilation warning.
5861 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5864 (hildon_pannable_area_button_release_cb)
5865 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5867 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5872 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-bread-crumb-trail.h
5875 * src/hildon-date-editor.c
5876 * src/hildon-date-selector.c
5877 * src/hildon-pannable-area.c
5878 * src/hildon-picker-dialog.c
5879 * src/hildon-time-selector.c
5880 * src/hildon-touch-selector-entry.c
5881 * src/hildon-touch-selector.c
5882 * src/hildon-touch-selector.h: Misc documentation fixes
5884 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5886 * examples/hildon-date-editor-example.c (main): Updated date
5889 * examples/hildon-note-example.c (on_confirmation_clicked):
5890 Updated confirmation note example.
5892 * src/hildon-date-editor.c
5893 * src/hildon-note.c: Updated sample programs in documentation.
5896 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5898 * src/hildon-date-button.h:
5899 * src/hildon-picker-button.h:
5900 * src/hildon-time-button.c:
5901 * src/hildon-time-button.h:
5903 Some declarations changes to allow gtk-doc to document the widgets
5906 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5908 * src/hildon-date-button.c: Document the widget.
5909 * src/hildon-time-button.c: Document the widget.
5911 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5913 * src/hildon-picker-button.c: Document the widget.
5914 * src/hildon-touch-selector-entry.c: Document the widget.
5916 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5918 * doc/hildon-docs.sgml
5921 * src/hildon-check-button.h
5922 * src/hildon-check-button.c: New functions to create the Hildon
5926 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5928 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-button.h
5931 * src/hildon-button.c
5932 (hildon_button_add_title_size_group)
5933 (hildon_button_add_value_size_group)
5934 (hildon_button_add_image_size_group)
5935 (hildon_button_add_size_groups): New functions to set size groups
5936 for the button labels and image.
5937 (hildon_button_new_full): Removed
5939 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5941 * src/hildon-time-selector.c
5942 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5943 in order to avoid a crash if gconf is not available
5945 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-button.c (hildon_button_set_arrangement)
5948 (hildon_button_construct_child): Don't construct the button child
5949 before setting the arrangement.
5951 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-program-private.h
5954 * src/hildon-program.c
5955 * src/hildon-program.h
5956 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5957 (hildon_program_peek_window_stack)
5958 (hildon_program_pop_window_stack)
5959 (hildon_program_go_to_root_window): HildonProgram now has a
5960 separate list for stackable windows. Functions are provided to
5961 manage that list with a stack-like API.
5963 * src/hildon-stackable-window.c: Stackable window management is
5964 now much simpler with the new HildonProgram API. Windows no
5965 longer need to be manually added to the program, they're
5966 automatically pushed to the top of the stack when shown.
5968 * examples/hildon-stackable-window-example.c: Updated example to
5969 reflect the API changes.
5971 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5973 * src/hildon-touch-selector.c: Comment out unimplemented
5974 hildon_touch_selector_insert_column() to avoid a compile warning.
5976 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5978 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5979 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5980 (hildon_touch_selector_set_column_selection_mode),
5981 (_hildon_touch_selector_set_model),
5982 (hildon_touch_selector_set_model):
5984 Complete review of HildonTouchSelector documentation.
5986 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5988 * doc/hildon-docs.sgml
5992 * src/hildon-gtk.c: Convenience functions for standard Gtk
5993 widgets, used to easily perform frequent operations.
5995 * src/hildon-button-helpers.h
5996 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5998 * src/hildon-helper.h
5999 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6000 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6002 * src/hildon-button.h
6003 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6005 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-button.c (hildon_button_init)
6008 (hildon_button_set_arrangement, hildon_button_construct_child):
6009 Pack the image and the labels inside the same GtkAlignment so
6010 gtk_button_set_alignment() can be used
6012 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-button.h
6015 * src/hildon-button.c
6016 (hildon_button_init, hildon_button_set_image)
6017 (hildon_button_set_image_position)
6018 (hildon_button_construct_child): New functions to add an image to
6021 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6023 * src/hildon-date-button.c
6024 * src/hildon-picker-button.c
6025 * src/hildon-time-button.c
6026 * src/hildon-button.c:
6027 (hildon_button_class_init): "size-flags" renamed to "size"
6028 (hildon_button_set_title): Hide the title label if set to NULL.
6030 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6032 HildonButtonFlags split into HildonButtonArrangement (to set the
6033 button layout) and HildonSizeType (which can be used for any
6036 * src/hildon-button.h
6037 * src/hildon-button.c
6038 (hildon_button_class_init)
6039 (hildon_button_set_arrangement)
6040 (hildon_button_set_property): New "size-flags"
6041 property. "arrangement-flags" renamed to "arrangement".
6042 (hildon_button_new, hildon_button_new_with_text)
6043 (hildon_button_new_full): Constructors updated to reflect type changes.
6045 * src/hildon-helper.h
6046 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6047 to set the size of a widget.
6051 * src/hildon-button-helpers.c
6052 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6054 * src/hildon-date-button.c
6055 * src/hildon-date-button.h
6056 * src/hildon-picker-button.c
6057 * src/hildon-picker-button.h
6058 * src/hildon-time-button.c
6059 * src/hildon-time-button.h: Updated widgets to reflect
6060 HildonButton API changes.
6062 * examples/hildon-button-example.c
6063 * examples/hildon-date-button-example.c
6064 * examples/hildon-picker-button-example.c
6065 * examples/hildon-picker-button-multicolumn-example.c
6066 * examples/hildon-time-button-example.c
6067 * examples/hildon-touch-selector-entry-example.c
6068 * examples/hildon-touch-selector-example.c: Updated examples to
6069 reflect HildonButton API changes.
6071 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6073 * doc/hildon-docs.sgml:
6075 * examples/Makefile.am:
6076 * examples/hildon-touch-selector-entry-example.c:
6078 * src/hildon-touch-selector-entry.c:
6079 * src/hildon-touch-selector-entry.h:
6082 Moved HildonTouchSelectorEntry from sandbox. Added its
6083 documentation and examples.
6085 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-touch-selector.h:
6088 * examples/hildon-picker-button-multicolumn-example.c:
6089 (hildon_touch_selector_append_text_column): Add a gboolean
6090 parameter to determine if text must be centered in the column.
6092 * src/hildon-date-selector.c: (hildon_date_selector_init):
6093 * src/hildon-time-selector.c: (hildon_time_selector_init):
6094 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6095 (create_touch_selector): Update widgets and example to reflect
6098 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-touch-selector.c:
6101 (hildon_touch_selector_set_active_iter): Set also the cursor in
6104 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6106 * doc/hildon-docs.sgml
6109 * src/hildon-toggle-button.c
6110 * src/hildon-toggle-button.h
6111 * src/hildon.h: Removed HildonToggleButton widget, a derived
6112 class is not necessary for this.
6114 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6116 * src/hildon-pannable-area.c,
6117 (hildon_pannable_area_realize),
6118 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6121 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6124 "done" button the default widget for the dialog.
6126 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-touch-selector.c:
6129 (hildon_touch_selector_class_init),
6130 (hildon_touch_selector_get_property),
6131 (_hildon_touch_selector_set_model),
6132 (_hildon_touch_selector_has_multiple_selection),
6133 (hildon_touch_selector_has_multiple_selection):
6134 Add a "has-multiple-selection" property with a virtual
6135 has_multiple_selection() method to allow derived classes to
6136 override the default value for it. See the method and property
6137 documentation for details.
6139 * src/hildon-touch-selector.h: Add the new API.
6141 * src/hildon-picker-dialog.c: (requires_done_button): Call
6142 hildon_touch_selector_has_multiple_selection() instead of
6143 determining the need for a button itself.
6145 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6147 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6148 (_hildon_touch_selector_set_model),
6149 (hildon_touch_selector_set_model): Move working code to
6150 _hildon_touch_selector_set_mode(). Call the class method instead.
6152 * src/hildon-touch-selector.h: Add (*set_model) to
6153 HildonTouchSelectorClass.
6155 Make hildon_touch_selector_set_model() a virtual method, so that
6156 derived classes can extend it and do fancy stuff with the model.
6158 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6160 * configure.ac: Set back the tarname in AC_INIT to hildon.
6162 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6166 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6167 instead of libesd (NB#86876). Volume handling is still an open issue.
6169 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6172 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6174 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6175 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6176 derived class to ease placement of an entry widget in
6177 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6178 end, where the selector columns are packed now.
6180 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-picker-button.c: Removed the simple _text() API.
6183 * src/hildon-picker-button.h: Likewise.
6185 * src/hildon-touch-selector.h:
6186 * src/hildon-touch-selector.c:
6187 (hildon_touch_selector_new_text),
6188 (hildon_touch_selector_append_text),
6189 (hildon_touch_selector_prepend_text),
6190 (hildon_touch_selector_insert_text):
6192 Moved the simple _text() API from HildonPickerButton to
6193 HildonTouchPicker, to provide better escalability and not to tie
6194 that API to HildonPickerButton.
6196 * examples/hildon-picker-button-example.c: (main): Example updated.
6198 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-button.c: Updated documentation.
6202 * examples/hildon-button-example.c: Add the posibility to create
6203 the buttons using horizontal layout for title and value.
6205 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-app-menu-private.h
6208 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6209 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6210 GtkSizeGroup for the filters, use the 'homogeneous' property of
6213 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6215 * examples/hildon-button-example.c: Updated example.
6217 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6219 * doc/hildon-docs.sgml:
6222 Update documentation.
6224 * examples/Makefile.am: Update renamed examples.
6226 * examples/hildon-picker-button-multicolumn-example.c:
6227 (create_touch_selector), (main): Update after the rename.
6229 * examples/hildon-touch-picker-example.c: Removed.
6230 * examples/hildon-touch-selector-example.c: (value_changed),
6231 (create_selector), (get_visible_content), (main): Renamed from
6232 hildon-touch-picker-example.c
6234 * src/Makefile.am: Updated renamed files.
6236 * src/hildon-date-button.c: (hildon_date_button_init),
6237 (hildon_date_button_get_date), (hildon_date_button_set_date):
6238 * src/hildon-date-selector.c: (hildon_date_selector_init),
6239 (_custom_print_func), (_update_day_model),
6240 (_manage_selector_change_cb),
6241 (hildon_date_selector_select_current_date),
6242 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6243 * src/hildon-date-selector.h:
6244 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6245 (hildon_picker_button_set_property),
6246 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6247 (hildon_picker_button_init), (hildon_picker_button_new_text),
6248 (hildon_picker_button_append_text),
6249 (hildon_picker_button_prepend_text),
6250 (hildon_picker_button_insert_text),
6251 (hildon_picker_button_set_selector),
6252 (hildon_picker_button_get_selector):
6253 * src/hildon-picker-button.h:
6254 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6255 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6256 (_update_title_on_selector_changed_cb), (requires_done_button),
6257 (_hildon_picker_dialog_set_selector),
6258 (hildon_picker_dialog_set_selector),
6259 (hildon_picker_dialog_get_selector):
6260 * src/hildon-picker-dialog.h:
6261 * src/hildon-time-button.c: (hildon_time_button_init),
6262 (hildon_time_button_get_time), (hildon_time_button_set_time):
6263 * src/hildon-time-selector.c: (hildon_time_selector_init),
6264 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6265 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6266 * src/hildon-time-selector.h:
6269 Massive code updates after the rename.
6271 * src/hildon-touch-picker.c: Removed.
6272 * src/hildon-touch-picker.h: Removed.
6274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6275 (hildon_touch_selector_init), (hildon_touch_selector_map),
6276 (hildon_touch_selector_remove), (_default_print_func),
6277 (_selection_changed_cb), (_create_new_column),
6278 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6279 (hildon_touch_selector_append_text_column),
6280 (hildon_touch_selector_remove_column),
6281 (hildon_touch_selector_set_column_attributes),
6282 (hildon_touch_selector_insert_column),
6283 (hildon_touch_selector_get_num_columns),
6284 (hildon_touch_selector_get_column_selection_mode),
6285 (hildon_touch_selector_set_column_selection_mode),
6286 (hildon_touch_selector_set_print_func),
6287 (hildon_touch_selector_get_print_func),
6288 (hildon_touch_selector_get_active_iter),
6289 (hildon_touch_selector_set_active_iter),
6290 (hildon_touch_selector_get_selected_rows),
6291 (hildon_touch_selector_get_model),
6292 (hildon_touch_selector_set_model),
6293 (hildon_touch_selector_get_current_text),
6294 (_hildon_touch_selector_center_on_selected_items):
6295 * src/hildon-touch-selector.h: Renamed from
6296 hildon-touch-picker.[ch]
6298 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6299 references, code examples, and related documentation.
6301 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6303 * doc/hildon-docs.sgml
6306 * src/hildon-toggle-button.c
6307 * src/hildon-toggle-button.h
6308 * src/hildon.h: New HildonToggleButton widget.
6310 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-button.c: Add API documentation.
6313 (hildon_button_set_size_groups): Check input parameters
6315 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6317 * src/hildon-pannable-area.c
6318 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6319 effect after reaching the movement thredshold. This way we start
6320 using the distance after passing the thredshold.
6322 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6324 * src/hildon-button.c: (hildon_button_set_property): Use the
6325 appropriate g_value_get_flags() method.
6327 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6329 * doc/hildon-docs.sgml:
6332 Add the touch pickers, picker dialogs, and picker button widgets
6333 to the documentation.
6335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6337 * src/hildon-button.c: (hildon_button_set_property),
6338 (hildon_button_class_init): Make "arrangement-flags" a proper
6339 G_TYPE_FLAGS derived property.
6341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6343 * examples/Makefile.am: Add below examples.
6344 * examples/hildon-date-button-example.c:
6345 * examples/hildon-picker-button-example.c:
6346 * examples/hildon-picker-button-multicolumn-example.c:
6347 * examples/hildon-time-button-example.c:
6348 * examples/hildon-touch-picker-example.c:
6350 Add examples for the recently added touch pickers,
6351 picker dialogs, and picker button widgets.
6353 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6355 * src/hildon-button.c: Add some API documentation
6357 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6359 * src/hildon-button.h
6360 * src/hildon-button.c
6362 (hildon_button_new_with_text): New constructor to create a button
6363 with no text at all.
6364 (hildon_button_init, hildon_button_set_arrangement)
6365 (hildon_button_set_title, hildon_button_set_value)
6366 (hildon_button_set_text)
6367 (hildon_button_construct_child): Hide the value when it's not used
6368 so the rest of the text is properly aligned.
6369 Allow creating buttons with arbitrary widgets inside (not just
6370 title/value labels).
6372 * examples/hildon-button-example.c (vertical_buttons_window)
6373 (horizontal_buttons_window): Update example to use new API.
6375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6377 * src/Makefile.am: Added HildonTimeButton.
6378 * src/hildon-time-button.c: Added missing LGPL header.
6379 * src/hildon-time-button.h: Added missing LGPL header.
6380 * src/hildon.h: Add hildon-time-button.h
6382 Copied HildonTimeButton from sandbox to trunk. Future work on this
6383 widget must take place in trunk.
6385 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6387 * src/Makefile.am: Added HildonDateButton.
6388 * src/hildon-date-button.c: Update includes.
6389 * src/hildon.h: Add hildon-date-button.h
6391 Copied HildonDateButton from sandbox to trunk. Future work on this
6392 widget must take place in trunk.
6394 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6396 * src/Makefile.am: Added HildonPickerButton.
6397 * src/hildon-picker-button.h: Update includes.
6398 * src/hildon.h: Add hildon-picker-button.h
6400 Copied HildonPickerButton from sandbox to trunk. Future work on
6401 this widget must take place in trunk.
6403 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/Makefile.am: Added HildonPickerDialog.
6406 * src/hildon-picker-dialog.c: Update includes.
6407 * src/hildon.h: Add hildon-picker-dialog.h
6409 Copied HildonPickerDialog from sandbox to trunk. Future work
6410 on this widget must take place in trunk.
6412 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6414 * src/Makefile.am: Added HildonTimeSelector.
6415 * src/hildon.h: Add hildon-time-selector.h
6417 Copied HildonTimeSelector widget from sandbox to trunk. Future
6418 work on this widget must happen in trunk.
6420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6422 * src/Makefile.am: Added HildonDateSelector.
6423 * src/hildon.h: Add hildon-date-selector.h
6425 Copied HildonDateSelector widget from sandbox to trunk. Future
6426 work on this widget must happen in trunk.
6428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6430 * src/Makefile.am: Added HildonTouchPicker.
6431 * src/hildon-touch-picker.c: Update includes.
6432 * src/hildon.h: Add hildon-touch-picker.h
6434 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6435 on this widget must happen in trunk.
6437 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6439 * src/hildon-pannable-area.c:
6440 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6442 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6444 * examples/hildon-app-menu-example.c (main): Let the window
6447 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6449 * src/hildon-pannable-area.c
6450 (hildon_pannable_area_class_init): Set the min value of the
6451 overshoot properties to zero, which points out that not
6452 overshooting allowed.
6454 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6456 Modified the procedure to get the widget at a point inside the
6457 pannable area when using the movement type signals. Now the user
6458 has to call a function to get the child, that way we just
6459 calculate the child in case the user really want to use it and not
6462 * src/hildon-marshalers.list: Modified the marshallers, now we do
6463 not have the widget as a parameter.
6465 * src/hildon-pannable-area.c
6466 (hildon_pannable_area_motion_notify_cb),
6467 (hildon_pannable_area_class_init),
6468 (hildon_pannable_get_child_widget_at): Removed the widget
6469 parameter from the signal callback. We have also refactored the
6470 emission of the signals.
6472 * src/hildon-pannable-area.h: Added a new method to the API to
6473 calculate a widget at a point inside the pannable area,
6474 hildon_pannable_get_child_widget_at.
6476 * examples/hildon-pannable-area-example-4.c
6477 (horizontal_movement): Modified the example to use the new API,
6478 added condition to control which widget is under the event. This
6479 way we can avoid scrolling laterally over other widgets.
6481 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6483 * src/hildon-pannable-area.c
6484 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6485 modes, we stop getting the pointer events due to returning the
6486 callback without properly calling the get pointer again. Fixed
6487 also an error using the hscroll and vscroll.
6489 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6491 * src/hildon-app-menu-private.h
6492 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6493 (hildon_app_menu_button_release, hildon_app_menu_init)
6494 (hildon_app_menu_class_init): Don't hide the menu on button
6495 release if the user didn't press outside first.
6497 * src/hildon-window.h
6498 * src/hildon-window.c (hildon_window_toggle_menu)
6499 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6500 hildon_window_toggle_menu a virtual function for the stackable
6501 window to override it.
6503 * src/hildon-stackable-window.h
6504 * src/hildon-stackable-window-private.h
6505 * src/hildon-stackable-window.c
6506 (hildon_stackable_window_realize)
6507 (hildon_stackable_window_finalize)
6508 (hildon_stackable_window_class_init)
6509 (hildon_stackable_window_init)
6510 (hildon_stackable_window_set_main_menu): New function to set the
6511 app menu of a HildonStackableWindow.
6513 * examples/hildon-app-menu-example.c: Remove the button to show
6514 the app menu, now it'll be shown when clicking on the title bar
6517 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6519 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6520 set the widget name if the arrangement flags do not specify
6523 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-button.c: (hildon_button_set_property),
6526 (hildon_button_class_init), (hildon_button_new_full),
6527 (hildon_button_set_arrangement): Added "arrangement-flags"
6530 Make the HildonButtonFlags a construction-only property, to allow
6531 subclasses to set them properly.
6533 2008-07-21 Tim Janik <timj@imendio.com>
6535 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6536 insertion position after backspace, so additional digits are appended,
6539 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c,
6542 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6543 TODO list, it was complete and removed the g_debug and g_print
6546 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6548 Added the movement modes to the hildon-pannable-area, with this
6549 modes the developers can control in which directions the widget
6550 can scroll. They can also connect to signals in order to do
6551 something when that happens, allowing applications scroll. There
6552 is an example uploaded showing how to use it.
6554 * examples/Makefile.am:
6555 * examples/hildon-pannable-area-example-4.c: Added this example of
6556 an application using the modes.
6558 * src/hildon-marshalers.list: Added a new marshaller for the new
6561 * src/hildon-pannable-area.h: Added new enumerations and flags in
6562 order to control the movement modes and the new signals to warn
6563 about the movements in the area.
6565 * src/hildon-pannable-area.c:
6566 (hildon_pannable_axis_scroll),
6567 (hildon_pannable_area_scroll),
6568 (hildon_pannable_area_motion_notify_cb),
6569 (hildon_pannable_area_get_property),
6570 (hildon_pannable_area_set_property),
6571 (hildon_pannable_area_map),
6572 (hildon_pannable_area_class_init),
6573 (hildon_pannable_area_init),
6574 (hildon_pannable_area_jump_to): Added the modes to control the
6575 movement in the widget. We have added properties to control it,
6576 signals to warn about the movements and refactored some code.
6578 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6580 Changes required in order to allow vfast_factor set to zero to
6583 * src/hildon-pannable-area.c:
6584 (hildon_pannable_area_button_press_cb): Changed the condition, it
6585 is required for not allowing click when vfast_factor is zero.
6586 (hildon_pannable_area_timeout): Initialized velocity variables
6587 when we stop moving, it was less than 1 but not zero and we need
6588 to check zero in some situations.
6589 (hildon_pannable_area_class_init): Changed the default value of
6590 the speed factor, now the button_press is just sent in case the
6591 speed is 2 per cent of the max speed.
6592 (hildon_pannable_area_init): Initialization with 0.
6594 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6596 * src/hildon-pannable-area.c,
6597 (hildon_pannable_area_get_topmost): replaced
6598 gdk_window_get_children with gdk_window_peek_children, this way we
6599 do not have to free the list because it is not a copy.
6601 (hildon_pannable_axis_scroll),
6602 (hildon_pannable_area_scroll),
6603 (hildon_pannable_area_timeout),
6604 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6605 two parameters that were only used inside the
6606 hildon_pannable_area_scroll function.
6608 * examples/hildon-pannable-area-example.c,
6609 (get_sawtooth_label): Fixed small memory leak.
6611 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6613 More checks for the case where the overshoot is bigger than the
6616 * src/hildon-pannable-area.c:
6617 (hildon_pannable_draw_vscroll),
6618 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6619 to draw the slider of the scrollbar under the other scrollbar.
6620 (hildon_pannable_area_expose_event): added new checks to control
6621 the drawing of the overshooting area rectangle, in case it is too
6622 big for the area of the widget.
6623 (hildon_pannable_area_size_allocate): add more checks to avoid
6624 setting a position to the child widget outside the area.
6626 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6628 * src/hildon-pannable-area.c
6629 (hildon_pannable_area_size_allocate): Added conditions to control
6630 when overshooting is bigger than the allocated space for the
6631 children, this avoids negative allocations.
6633 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6635 * doc/hildon-docs.sgml
6637 * examples/Makefile.am
6638 * examples/hildon-button-example.c
6640 * src/hildon-button.c
6641 * src/hildon-button.h
6642 * src/hildon.h: Initial version of the new HildonButton widget,
6645 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6647 * src/hildon-pannable-area.c:
6648 (hildon_pannable_area_button_press_cb),
6649 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6650 (hildon_pannable_area_motion_notify_cb),
6651 (hildon_pannable_area_button_release_cb),
6652 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6653 (hildon_pannable_area_jump_to_child):
6655 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6657 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6659 * examples/Makefile.am
6660 * examples/hildon-pannable-area-touch-grid-example.c
6661 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6662 the Hildon Touch List and Hildon Touch Grid using the
6663 HildonPannableArea widget.
6665 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6667 * src/hildon-pannable-area.c,
6668 (hildon_pannable_area_button_press_cb),
6669 (hildon_pannable_area_refresh),
6670 (hildon_pannable_area_scroll),
6671 (hildon_pannable_area_motion_notify_cb),
6672 (hildon_pannable_area_button_release_cb),
6673 (hildon_pannable_area_expose_event),
6674 (hildon_pannable_area_add),
6675 (hildon_pannable_area_remove),
6676 (hildon_pannable_area_realize),
6677 (hildon_pannable_area_size_allocate),
6678 (hildon_pannable_area_class_init),
6679 (hildon_pannable_area_init),
6680 (hildon_pannable_area_scroll_to_child),
6681 (hildon_pannable_area_jump_to_child): Fixed the problem of
6682 removing the child from the GtkBin, we have rearranged the widget
6683 hierarchy, now there is no GtkAlignment which was not doing
6684 anything interesting but breaking some of the assumptions of
6685 GtkContainer. Now developers if they want to add a GtkAlignment
6686 they could, but it is not inside the area.
6688 We had to review the whole allocation/expose process, now it is
6689 improved and we save at least three signals which would be saving
6690 some time when rendering the widget. The allocation of the
6691 scrollbars is now made in the allocate method as usual.
6693 We have also added some conditions in order to control when there
6694 is no child of the pannable area. Maybe we will need more work
6697 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6699 * src/hildon-pannable-area.c,
6700 (hildon_pannable_area_dispose): Released the fade-out timeout when
6701 disposing the widget.
6703 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6705 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6706 zero, we are going to use that property in order to deactivate the
6708 (hildon_pannable_axis_scroll),
6709 (hildon_pannable_area_size_allocate): Added conditions to control
6710 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6711 call, now it is called in all situations and we can remove calls
6712 in the allocate method.
6713 (hildon_pannable_area_map): Control the situation when
6714 overshoot_max is zero, we do not need the timeout.
6715 (hildon_pannable_area_class_init): Added documentation in order to
6716 point out that setting zero to overshoot_max means deactivate
6719 NOTE: removed trailing whitespaces from my previous comments of
6722 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6724 * src/hildon-pannable-area.c
6725 (hildon_pannable_area_get_property),
6726 (hildon_pannable_area_set_property),
6727 (hildon_pannable_area_map),
6728 (hildon_pannable_area_class_init),
6729 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6730 to cause the widget give a hint about its panning abilities upon
6733 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6735 * src/hildon-pannable-area.c: Several documentation improvements.
6737 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6739 * src/hildon-program.c
6740 * src/hildon-stackable-window.c: Update documentation.
6742 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-stackable-window.c (get_previous_window_if_last):
6745 Renamed get_last_window()
6746 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6747 (hildon_stackable_window_unset_program):
6749 (get_previous_window_if_last):
6750 Detect if the window hasn't been added to a HildonProgram.
6752 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6754 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6756 * src/hildon-pannable-area.c
6757 (hildon_pannable_area_button_press_cb),
6758 (hildon_pannable_axis_scroll),
6759 (hildon_pannable_area_scroll),
6760 (hildon_pannable_area_timeout),
6761 (hildon_pannable_calculate_vel_factor),
6762 (hildon_pannable_area_get_property),
6763 (hildon_pannable_area_set_property),
6764 (hildon_pannable_area_class_init),
6765 (hildon_pannable_area_init),
6766 (hildon_pannable_area_scroll_to),
6767 (hildon_pannable_area_jump_to),
6768 (hildon_pannable_area_scroll_to_child),
6769 (hildon_pannable_area_jump_to_child):
6770 * src/hildon-pannable-area.h: Added the new API functions:
6771 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6772 hildon_pannable_area_scroll_to_child,
6773 hildon_pannable_area_jump_to_child
6776 * examples/Makefile.am
6777 * examples/hildon-pannable-area-example-2.c
6778 * examples/hildon-pannable-area-example-3.c: Added these two new
6779 examples in order to test and show how the new APIs work.
6781 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6783 * examples/hildon-stackable-window-example.c (new_window):
6784 * src/Makefile.am (noinst_HEADERS):
6785 * src/hildon-program.c (hildon_program_go_to_root_window):
6786 * src/hildon-program.h:
6787 * src/hildon-stackable-window-private.h:
6788 * src/hildon-stackable-window.c:
6789 * src/hildon-stackable-window.h:
6790 Create hildon-stackable-window-private.h
6791 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6793 * examples/hildon-app-menu-example.c (create_menu):
6794 * examples/hildon-hvolumebar-insensitive-example.c (main):
6795 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6796 * examples/hildon-toolbar-seekbar-example.c (main):
6797 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6798 * src/hildon-banner.c (hildon_banner_set_property):
6799 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6800 Fix compilation warnings
6802 * src/hildon-window.c:
6805 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-stackable-window.c
6808 (hildon_stackable_window_unset_program):
6809 Calculate correctly whether to show the previous window if the
6810 last one is removed from the stack.
6811 (hildon_stackable_window_go_to_root_window):
6812 Send delete events starting from the topmost window.
6813 Stop if one of the windows is not destroyed.
6815 (hildon_stackable_window_delete_event)
6816 (hildon_stackable_window_class_init):
6817 Ignore the delete event if the window is not the topmost one.
6819 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6821 * src/hildon-pannable-area.c
6822 (hildon_pannable_area_expose_event): Fixed a problem when
6823 selecting the background color of the scrollbars.
6825 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6827 * examples/hildon-stackable-window-example.c
6828 * src/hildon-stackable-window.c
6829 * src/hildon-stackable-window.h
6830 hildon_stackable_window_go_home() renamed to
6831 hildon_stackable_window_go_to_root_window()
6832 Send delete events to windows rather than closing them with
6833 gtk_widget_destroy()
6835 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6837 * src/hildon-pannable-area.c
6838 (hildon_pannable_area_button_release_cb): Fix overshooting in
6841 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6843 * src/hildon-pannable-area.c
6844 (hildon_pannable_area_init): Initially show the scroll indicators.
6845 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6847 Add initial effect showing the widget is pannable.
6849 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6851 * src/hildon-pannable-area.c
6852 (hildon_pannable_area_class_init)
6853 (hildon_pannable_area_set_property)
6854 (hildon_pannable_area_get_property)
6855 (hildon_pannable_area_button_press_cb):
6856 New 'velocity_fast_factor' property to decide which velocity is
6859 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-pannable-area.c
6862 (hildon_pannable_draw_hscroll)
6863 (hildon_pannable_draw_vscroll):
6864 Use float variables to calculate the size of the scrollbars to
6865 avoid error propagation and resizing during scrolling.
6867 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-pannable-area.c
6870 (hildon_pannable_draw_vscroll)
6871 (hildon_pannable_draw_hscroll):
6872 Define a minimum size for the scroll bars
6874 * src/hildon-stackable-window.c
6875 (hildon_stackable_window_go_home): Fix compilation warning
6876 (get_last_window): Minor optimizations
6877 (hildon_stackable_window_class_init): Fix initialization of
6880 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-stackable-window.c: Fixed typos in doc
6884 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6886 * src/hildon-pannable-area.c
6887 (hildon_pannable_area_scroll):
6888 Calculate here whether we need to scroll instead of using the booleans
6889 that tell us whether to /draw/ the scrolling bars.
6891 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6893 * src/hildon-app-menu.h
6895 * src/hildon-app-menu.c
6896 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6897 multiple filter groups related code and API. Now we support only
6899 * examples/hildon-app-menu-example.c:
6901 Update to reflect API changes.
6903 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6905 * src/hildon-stackable-window.c
6906 (hildon_stackable_window_class_init):
6907 Add hildon_stackable_window_realize.
6908 (hildon_stackable_window_realize):
6909 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6910 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6911 to apply theming and behavior specific to HildonStackableWindow
6914 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6916 * src/hildon-note.c (hildon_note_button_release):
6917 Close information notes also when tapping on them
6919 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6921 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6922 ELASTICITY, refactor and review, fix some issues with drawing
6925 * src/hildon-pannable-area.c:
6926 (hildon_pannable_area_button_press_cb): removed the conditions to
6927 avoid clicks when overshooting. It is not required
6929 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6930 define. Refatored and reviewed the code, now we do not need to
6931 manage velocity in motion_notify.
6933 (hildon_pannable_area_motion_notify_cb): We have moved the code
6934 that controls the area_scroll to the axis_scroll function and get
6935 rid of duplicated code.
6937 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6939 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6941 (hildon_pannable_draw_vscroll),
6942 (hildon_pannable_draw_hscroll): Fixed the problems with the
6943 scrollbar drawing, now we do not use two surfaces, it is easier
6944 and saves resources.
6946 (hildon_pannable_area_get_property): Style modification.
6948 (hildon_pannable_area_class_init): Changed some default values.
6950 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6952 * src/hildon-stackable-window.c: Fix some typos in the
6955 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6957 * src/hildon-dialog.c:
6958 Change indentation style
6961 (hildon_note_button_release):
6962 Use root coordinates to check if the release event happened
6965 * src/hildon-app-menu.c
6966 (hildon_app_menu_button_release):
6967 Remove unnecessary check
6969 * examples/hildon-app-menu-example.c
6971 Add cast to fix warning
6973 * src/hildon-app-menu.c
6974 (hildon_app_menu_class_init):
6975 New inner-border style property.
6976 Set all default spacings to 16
6977 (hildon_app_menu_init):
6978 Use vertical-spacing to set the space between filter buttons and
6979 regular menu buttons.
6980 Set the default container border using the inner-border value.
6982 * examples/hildon-app-menu-example.c
6984 Don't set the menu border explicitly, now we have the inner-border
6985 style property for that.
6987 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6989 * src/hildon-app-menu.c (hildon_app_menu_init):
6990 Make the window modal
6992 * src/hildon-note.c (hildon_note_map)
6993 * src/hildon-app-menu.c (hildon_app_menu_map):
6994 Destroy the grab window if we're unable to grab the pointer
6996 * src/hildon-app-menu-private.h
6997 * src/hildon-app-menu.c
6998 (hildon_app_menu_init, hildon_app_menu_finalize)
6999 (hildon_app_menu_map, hildon_app_menu_unmap)
7000 (hildon_app_menu_button_release)
7001 (grab_transfer_window_get):
7002 Bring back the grab window
7003 (hildon_app_menu_realize):
7004 Decorate the window, set WM hint for Matchbox
7006 * src/hildon-note.c (hildon_note_realize):
7007 * src/hildon-banner.c (hildon_banner_realize):
7008 Add WM hints for Matchbox
7010 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7012 * src/hildon-app-menu-private.h
7013 * src/hildon-app-menu.c
7014 (hildon_app_menu_init, hildon_app_menu_finalize)
7015 (hildon_app_menu_map, hildon_app_menu_unmap)
7016 (hildon_app_menu_button_release):
7017 Remove the grab window, it's not needed anymore
7019 * src/hildon-program.c
7020 Fixed typo in documentation
7022 * src/hildon-app-menu.h
7023 * src/hildon-app-menu.c
7024 * examples/hildon-app-menu-example.c
7025 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7027 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7030 Added new transfer_window and close_if_pressed_outside private
7032 (hildon_note_rebuild):
7033 Don't add a cancel button to the information note. It will be
7034 closed when tapping outside
7035 Remove the comment about the OK button in the documentation
7036 (hildon_note_realize):
7037 Set the notification type hint
7038 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7039 Grab/ungrab pointer and keyboard if the note has to be closed when
7041 (hildon_note_button_release):
7042 Close the note when tapping outside (if applicable)
7044 * src/hildon-app-menu.c
7045 Grab/ungrab pointer and keyboard on map/unmap
7046 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7047 Close the menu on button release, not button press
7049 * src/hildon-banner.c
7050 (hildon_banner_set_property)
7051 (hildon_banner_check_position):
7052 Make the banner use the full width of the screen
7053 (hildon_banner_show_information)
7054 (hildon_banner_show_information_with_markup):
7055 Don't display an icon by default
7057 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7059 Added fading scrollbars and adapted all the overshooting code to
7060 horizontal scrolling. We have also fixed bugs with overshooting
7061 and current fading implementation.
7063 * src/hildon-pannable-area.c
7064 (hildon_pannable_area_scroll_indicator_fade): Time out function
7065 used to change the transparency of the scrollbars.
7067 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7068 control and fixed a problem with fading, we now remove the fade
7069 timeout before adding a new one.
7071 (hildon_pannable_axis_scroll):
7072 (hildon_pannable_area_scroll):
7073 (hildon_pannable_area_timeout): Added this functions so we can use
7074 the scroll code both for vertical and horizontal.
7076 (hildon_pannable_area_motion_notify_cb):
7077 (hildon_pannable_area_button_release_cb): Added the horizontal
7078 scrolling control, fixed a problem with the overshooting timeout.
7080 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7081 painting of the scrolls.
7083 (hildon_pannable_draw_vscroll):
7084 (hildon_pannable_draw_hscroll):
7085 (hildon_pannable_area_expose_event):
7086 Draw both scrollbars and rectangles in the overshooting area.
7088 (hildon_pannable_area_get_property):
7089 (hildon_pannable_area_set_property):
7090 Modified the overshoot property to overshoot_max
7092 (hildon_pannable_area_map):
7093 Replaced the comments symbols.
7095 (hildon_pannable_area_size_allocate):
7096 (hildon_pannable_area_class_init):
7097 (hildon_pannable_area_init): Added horizontal scroll, fading
7098 effect properties, fixed a problem when overshooting in the bottom
7101 * examples/hildon-pannable-area-example.c:
7102 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7103 looks better in the example.
7105 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7107 * src/hildon-window.c
7108 * src/hildon-window.h
7109 (hildon_window_class_init)
7110 (hildon_window_unset_program)
7111 (hildon_window_unset_program_real):
7112 Make unset_program a virtual function
7114 * src/hildon-stackable-window.c
7115 * src/hildon-stackable-window.h
7116 Added hildon_stackable_window_go_home()
7118 * examples/Makefile.am
7119 * examples/hildon-stackable-window-example.c
7120 HildonStackableWindow example
7122 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7124 * hildon-pannable-area.c: Added the overshoot property and removed
7125 the OVERSHOOT define. Fixed an indent style error.
7126 (hildon_pannable_area_motion_notify_cb):
7127 (hildon_pannable_area_get_property):
7128 (hildon_pannable_area_set_property): Add overshoot property.
7130 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7133 (hildon_pannable_area_class_init): Installed the new property.
7135 * hildon-pannable-area-example.c: Added a sawtooth function, this
7136 way it is easier to check the movement in the pannable.
7137 (get_sawtooth_label): Added this function.
7138 (main): Now we get the labels from the new get_sawtooth_label
7141 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-app-menu.h
7144 * src/hildon-app-menu.c
7145 Renamed API variables for consistency
7147 (hildon_app_menu_popup): Use also the default window size to
7148 decide where to place the menu
7150 (hildon_app_menu_init, hildon_app_menu_class_init): New
7151 external-border style property
7153 2008-05-26 Michael Natterer <mitch@imendio.com>
7155 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7156 widget_class->tap_and_hold_setup signal slot doesn't exist any
7157 longer, stop overriding it.
7159 (hildon_time_editor_init): g_signal_connect() to the
7160 tap-and-hold-setup signal instead.
7162 (hildon_time_editor_entry_keypress): add cast to fix warning.
7164 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7166 * doc/hildon-docs.sgml
7168 * examples/Makefile.am
7169 * examples/hildon-app-menu-example.c
7171 * src/hildon-app-menu-private.h
7172 * src/hildon-app-menu.c
7173 * src/hildon-app-menu.h
7175 New HildonAppMenu widget
7177 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7179 Rearranged the inheritance of the pannable area, now it inherits
7180 from GtkBin. This will allow us to control the event_window and
7181 the allocation process of the widget, required for some effects.
7183 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7184 GtkBin structures. * src/hildon-pannable-area.c: Added the
7185 event_window variable.
7186 (hildon_pannable_area_button_press_cb):
7187 (hildon_pannable_area_button_release_cb):
7188 (hildon_pannable_area_motion_notify_cb):
7189 Changed the signature of the method, now we override the event
7190 callback instead of connecting to the signal.
7192 (hildon_pannable_area_realize):
7193 (hildon_pannable_area_unrealize):
7194 (hildon_pannable_area_map):
7195 (hildon_pannable_area_unmap):
7196 (hildon_pannable_area_size_allocate):
7197 Added functions to control the widget construction. We add a
7198 INPUT_ONLY window and we put it over the widgets inside the
7199 container, this event_window handles the events.
7201 (hildon_pannable_area_class_init):
7202 Replaced the signal connections with overrides of the event
7205 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7207 Bouncing effect added when touching the borders, you can change
7208 the elasticity of the border changing the ELASTICITY define.
7210 * src/hildon-pannable-area.c: Added ELASTICITY define.
7211 (hildon_pannable_area_timeout): Added inverse velocity when
7212 touching the border of the child widget, that causes a bounce.
7214 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7216 Improved performance, we now do not go to the X server in order to
7217 get the list of window children. Apparently the effect is the
7218 same, we have to be careful and check if this breaks something in
7221 * src/hildon-pannable-area.c:
7222 (get_ordered_children): Removed this function.
7223 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7224 the children windows function with gdk_window_get_children.
7226 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7228 * src/hildon-pannable-area.c:
7229 (hildon_pannable_area_dispose): Fixed a crash when closing the
7230 window and kinetics is activated.
7232 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7234 * src/hildon-pannable-area.h
7235 * src/hildon-pannable-area.c
7236 Changed indentation style to meet the one used in Hildon
7238 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7240 Reviewed the interaction of the AUTO mode, now we use the time
7241 attribute of the events and calculate the velocity in the motion,
7242 doing a gimp like calculation. The velocity is calculated in each
7243 motion event using the last velocity and the current one, the
7244 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7246 * src/hildon-pannable-area.c: Replaced the time based algorithm
7248 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7249 timeout for the AUTO mode when we are still moving the cursor. We
7250 added also the velocity calculation in this function.
7251 (hildon_pannable_area_button_release_cb): launch the timeout in
7252 case we are in AUTO mode. There are still some constants here that
7253 come from the old implementation that should be reviewed and
7256 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7258 * doc/hildon-docs.sgml
7261 * src/hildon-stackable-window.c
7262 * src/hildon-stackable-window.h
7264 New HildonStackableWindow widget
7266 * examples/hildon-dialog-example.c
7267 * examples/hildon-pannable-area-example.c
7270 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7272 * src/hildon-dialog.c
7273 (hildon_dialog_new_with_buttons): New constructor.
7275 * examples/hildon-dialog-example.c
7276 (main): Update the example to use the new
7277 hildon_dialog_new_with_buttons().
7279 * examples/hildon-pannable-area-example.c
7280 (main): Update example.
7282 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7284 * doc/hildon-docs.sgml
7286 Added HildonPannableArea to the documentation.
7288 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7290 * doc/visual_index.xml
7291 Fix reference to HildonLoginDialog in documentation
7293 * doc/hildon-docs.sgml
7295 * examples/Makefile.am
7296 * examples/hildon-dialog-example.c
7298 * src/hildon-dialog.c
7299 * src/hildon-dialog.h
7301 New HildonDialog widget.
7303 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7305 * src/hildon-pannable-area.c
7306 Merge latest changes (r4318, r4342) from libmokoui trunk
7308 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7310 * examples/Makefile.am
7311 * examples/hildon-pannable-area-example.c
7313 * src/hildon-pannable-area.c
7314 * src/hildon-pannable-area.h
7316 New HildonPannableArea widget.
7318 2008-04-15 18:05:19 <timj@imendio.com>
7320 * src/hildon-banner.c: revert the recent change, that introduced
7321 gtk_window_present() calls. this reopens:
7322 Bug 78481 - [freetest] information banners are hidden under browser menu
7323 But resolves another variant of:
7324 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7326 2008-04-15 13:21:13 <timj@imendio.com>
7328 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7329 recreated its layout, spotted by Kris. this fixes all remaining
7330 artefacts and stability issues with the banner code. in particular:
7331 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7333 2008-04-14 16:52:59 <timj@imendio.com>
7335 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7336 operating on unrealized widgets, fixes:
7337 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7339 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7341 2008-04-09 Kristian Rietveld <kris@imendio.com>
7343 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7344 makes banner disappear.
7345 Fixes: NB#79182: info banner flickering with certain message lengts.
7347 * src/hildon-banner.c (hildon_banner_constructor),
7348 (hildon_banner_init), (hildon_banner_set_text),
7349 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7350 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7351 FALSE, reset size requests of label and banner,
7352 (force_to_wrap_truncated): when the text is too wide, always enforce
7353 the maximum possible width instead of recalculating it from the
7354 layout; enforce the maximum banner height of 3 lines,
7355 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7356 nicer wrapping and no truncated chars if space gets tight.
7358 * src/hildon-banner-private.h: add has_been_wrapped and
7359 has_been_truncated fields.
7361 2008-04-07 Sven Herzberg <sven@imendio.com>
7363 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7364 local values in hildon_date_editor_size_allocate
7366 * src/hildon-date-editor.c: moved the real allocation code into the
7369 2008-04-07 Sven Herzberg <sven@imendio.com>
7371 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7372 local values in hildon_date_editor_size_allocate
7374 * src/hildon-date-editor.c: merged the two if() branches together
7376 2008-04-07 Sven Herzberg <sven@imendio.com>
7378 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7379 local values in hildon_date_editor_size_allocate
7381 * src/hildon-date-editor.c: changed the arguments of the if()
7384 2008-04-07 Sven Herzberg <sven@imendio.com>
7386 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7387 local values in hildon_date_editor_size_allocate
7389 * src/hildon-date-editor.c: split the calculation of the allocation
7390 from the real allocation
7392 2008-03-27 Michael Natterer <mitch@imendio.com>
7394 Fixes: NB#81696: The passcode is not overwritten even after
7397 * src/hildon-code-dialog.c
7398 (hildon_code_dialog_button_clicked)
7399 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7400 because that doesn't overwrite selected text. Instead, emit the
7401 "commit" signal on the entry's im_context so the entry's normal
7402 insert logic is triggered. Set the cursor to the end of the entry
7403 after each insert operation so that we *only* insert in the middle
7404 of the text if something was selected.
7406 2008-03-27 Michael Natterer <mitch@imendio.com>
7408 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7409 selector cannot be opened
7411 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7412 when the popup color selector is created. Please connect to this
7413 signal in order to set the dialog's help ID.
7415 2008-03-25 Sven Herzberg <sven@imendio.com>
7417 Fixes: MB#1212: Hide info banners (infoprints) on click
7419 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7420 extracted the close event simulation into an extra function
7421 (hildon_banner_button_press_event): simulate a close event and destroy
7422 the widget if the event wasn't handled
7423 (hildon_banner_class_init): added the button_press_event handler
7424 (hildon_banner_init): added button-press events to the widget
7426 2008-03-25 Sven Herzberg <sven@imendio.com>
7428 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7429 Patch from: Mohammad Anwari <mdamt@maemo.org>
7431 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7432 instead of the right in RTL mode
7433 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7434 breadcrumb button list in RTL mode
7435 * src/hildon-caption.c: mirror the appearance of the caption widget in
7437 * src/hildon-date-editor.c: mirror appearance of the date editor in
7439 * src/hildon-time-editor.c: mirror appearance of the time editor in
7441 * src/hildon-window.c: fix the position of the popup in RTL mode
7443 2008-03-25 Sven Herzberg <sven@imendio.com>
7445 Amendment to the fix of NB#22072. Fix compilation.
7447 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7449 2008-03-19 Sven Herzberg <sven@imendio.com>
7451 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7454 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7455 timeout id properly when the timeout will disappear this leaves no
7456 artifacts around in the destroy(); there will only be the timeout
7457 created by hildon_banner_ensure_timeout() and adding a new timeout
7458 will also work if the timeout gets removed because the timeout_handler
7461 2008-03-19 Michael Natterer <mitch@imendio.com>
7463 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7465 * src/hildon-volumebar.c
7466 * src/hildon-vvolumebar.c
7467 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7468 the widget becomes focussable at all.
7470 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7471 set the focus to wither the mute button or the volumebar.
7473 Remove own "can-focus" property and instead listen to
7474 notify::can-focus in order to update the widget's state.
7476 Implement GtkWidget::focus() and make sure we can also *leave* the
7477 widget, not only enter it, depending on volumebar orientation and
7478 requested focus direction.
7480 Clean up set_mute() to cooperate nicely with all the above.
7482 2008-03-04 Michael Natterer <mitch@imendio.com>
7484 Fixes: NB#78481: information banners are hidden under browser menu
7486 * src/hildon-banner.c: call gtk_window_present() on the banners so
7487 they are risen if they are already visible.
7489 2008-03-03 Sven Herzberg <sven@imendio.com>
7491 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7493 * examples/hildon-window-menu-example.c: (main): extended the window
7494 menu example to serve as a testcase for automatically added
7495 accelerator groups, too
7496 * src/hildon-window.c: (hildon_window_add_accel_group),
7497 (hildon_window_set_menu): added patch by Tommi Komulainen
7499 2008-03-03 Sven Herzberg <sven@imendio.com>
7501 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7503 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7504 knowledge about the border allocators used within GTK+
7506 2008-02-26 Sven Herzberg <sven@imendio.com>
7508 Fixes: MB#2981: Build with asserts broken
7510 * src/hildon-date-editor.c,
7511 * src/hildon-number-editor.c,
7512 * src/hildon-time-editor.c,
7513 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7514 the proper GType instance check
7516 2008-02-25 Sven Herzberg <sven@imendio.com>
7518 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7520 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7521 * examples/hildon-window-menu-example.c: (main): explicitly show
7523 * src/hildon-window.c:
7524 (hildon_window_set_main_menu): moved most of the code from set_menu()
7525 to this place; skipped the call to gtk_widget_show_all(); also didn't
7526 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7527 (hildon_window_set_menu): removed most of the code, just keep the
7528 questionable gtk_widget_show_all()
7529 * src/hildon-window.h: added the new function and deprecate the old
7532 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7538 * debian/changelog: Updating.
7540 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7543 * pkgconfig/Makefile.am:
7544 * pkgconfig/hildon.pc.in:
7547 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7548 use newly created API_MAJOR_VERSION.
7550 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7556 * debian/changelog: Updating.
7558 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7560 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7562 Add outer_border style property, we use it but don't define it (!).
7566 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7568 * examples/hildon-bread-crumb-trail-example.c (main):
7572 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7574 Fix logic for the bread crumb trail node removal.
7578 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7584 * debian/changelog: Updating.
7586 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 Patch by Alejandro to get/set passwords dialogs accesibility.
7590 * hildon-1/src/hildon-get-password-dialog.c:
7591 * hildon-1/src/hildon-set-password-dialog.c:
7592 Set atk_set_name to the passwd entries in order to allow
7593 accessibility by name on this entries.
7595 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * debian/control: Updating gtk dep.
7602 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7604 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7605 USE_MAEMO_GTK is enabled.
7607 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7609 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7610 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7612 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * debian/changelog: Updating.
7620 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7622 * examples/Makefile.am:
7623 * examples/hildon-logical-color-example.c:
7624 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7625 applied + adding a test case. Fixes: NB#71660.
7627 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7629 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7630 to be visible, fixes warning on map for windows without toolbars.
7632 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7634 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7635 2.11.0, add a check for that besides the MAEMO_GTK check.
7637 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7643 * debian/changelog: Updating.
7645 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7648 visibility. Fixes: NB#70842 and MB#615.
7650 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7652 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7653 set the separator as no-show-all so it doesn't unintentionally appear when
7654 someone does a show_all.
7656 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7658 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7659 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7660 toplevel item. Fixes: NB#62031
7662 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7664 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7665 fix the name of the function in the docs.
7667 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * debian/changelog: Updating.
7675 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * examples/hildon-banner-long-example.c: Adding a test-case for long
7680 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7682 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-color-chooser-dialog.c:
7685 * src/hildon-color-chooser.c:
7686 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7687 memory leaks in font selector and color selector. Fixes: NB#70499 and
7690 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7692 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7694 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7697 little bit bigger. Fixes: #NB63694.
7699 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7705 * debian/changelog: Updating.
7707 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * doc/hildon-docs.sgml:
7711 * doc/images/bread-crumb-trail.png:
7712 * doc/images/calendar-popup.png:
7713 * doc/images/caption.png:
7714 * doc/images/code-dialog.png:
7715 * doc/images/color-button.png:
7716 * doc/images/color-chooser-dialog.png:
7717 * doc/images/color-chooser.png:
7718 * doc/images/controlbar.png:
7719 * doc/images/date-editor.png:
7720 * doc/images/font-selection-dialog.png:
7721 * doc/images/get-password-dialog.png:
7722 * doc/images/hvolumebar.png:
7723 * doc/images/login-dialog.png:
7724 * doc/images/note.png:
7725 * doc/images/number-editor.png:
7726 * doc/images/range-editor.png:
7727 * doc/images/seekbar.png:
7728 * doc/images/set-password-dialog.png:
7729 * doc/images/sort-dialog.png:
7730 * doc/images/time-editor.png:
7731 * doc/images/time-picker.png:
7732 * doc/images/vvolumebar.png:
7733 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7734 Adding the bread-crumb-trial and helpers to the documentation.
7736 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * examples/hildon-find-toolbar-example.c:
7739 * src/hildon-find-toolbar.c:
7740 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7741 actually continue firing the other handlers if connected. Adding a new
7743 hildon_find_toolbar_get_last_index that gets the index of the most
7744 recently added (last) item. Fixes: NB#52301.
7746 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7748 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7749 behaviour. Fixes: NB#68610.
7751 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7756 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7759 when realizing the banner. Should make the infonbanner effect a bit more
7762 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * src/hildon-volumebar.c:
7765 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7766 hildon_volumebar_set_range_insensitive_message and
7767 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7769 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * src/hildon-window.c: Fixing the border freeing on destroy.
7773 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * src/hildon-code-dialog-private.h:
7776 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7777 kw keyboard support in HildonCodeDialog.
7779 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7785 * debian/changelog: Updating.
7787 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7789 * src/hildon-date-editor.c:
7790 * src/hildon-number-editor.c:
7791 * src/hildon-private.c:
7792 * src/hildon-private.h:
7793 * src/hildon-time-editor.c:
7794 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7795 handling in subclassed composite widgets. Fixes: NB#66628.
7797 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7800 from destroy_ callback as it introduces problems in async dbus signal
7801 handlers. Fixes NB#66673.
7803 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * examples/hildon-hvolumebar-example.c:
7806 * src/hildon-volumebar.c: Improving the focus handling in the
7807 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7808 set_property accessor so that "mute" property can be actually set. I'm
7809 scared that nobody noticed it's totally broken.
7811 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7813 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7816 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * src/hildon-calendar.c:
7819 * src/hildon-number-editor.c:
7820 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7821 matches the spec of 6 chars per second. Fixes: NB#60489.
7823 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7825 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7826 gtk_style_lookup_color sometime returns FALSE even though color was
7827 found and values were filled properly. Weird. Removing the warning for the
7830 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7832 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7833 expand vertically. Adding some extra space to the find toolbar buttons to
7834 make them thumbable. Fixes NB#66060.
7836 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7839 popup with "Ok" and "Cancel". Fixes NB#59299.
7841 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7843 * src/hildon-calendar.c: Process all window updates before executing next
7844 timeout. Fixes: NB#54146.
7846 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7852 * debian/changelog: Updating.
7854 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7856 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7857 the client event and ignore it, since we use the delete event to close
7860 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-helper.c: Remove the bogus warning about color not being
7863 found. Fixes NB#58352.
7865 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * examples/Makefile.am:
7868 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7869 HildonSeekbar widget inside a toolbar.
7871 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7873 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7874 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7875 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7876 don't want to be closed by non-temporary windows on map.
7878 Also use G_DEFINE_TYPE instead of manually typed code.
7880 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * debian/rules: Updating.
7889 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * examples/Makefile.am:
7892 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7893 bug NB#61128. Strangely it works.
7895 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * src/hildon-date-editor.c: When the date editor entry has been changed
7898 but the numbers of characters < max, turn off the skip validation flag.
7899 Prevents a situation when we enter first a valid year and later re-write
7900 it with an invalid one. Fixes NB#60154.
7902 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7905 code dialog. Fixes NB#64355.
7907 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7909 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7910 switching the page. Fixes NB#49374.
7912 * examples/Makefile.am:
7913 * examples/hildon-wizard-dialog-example.c: Adding an example for
7914 HildonWizardDialog that shows how to handle manual sensitivity setting on
7917 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * src/hildon-version.h.in:
7922 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7924 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * src/hildon-volumebar.c: Updating the docs.
7928 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * debian/changelog: Updating.
7936 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7938 * src/hildon-find-toolbar.c:
7939 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7940 selected item: hildon_find_toolbar_set_active,
7941 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7942 hildon_find_toolbar_get_active_iter . They correspond to respective
7943 GtkComboBox functions.
7945 * examples/Makefile.am:
7946 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7949 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * examples/Makefile.am:
7952 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7955 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7956 when font size > 32 and we pack a focusable widget inside. Actually using
7957 the default response would work too, but since we don't show default
7958 response state in any way (no theming) it would not be visible to the
7959 user. Fixes NB#63430.
7961 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * src/hildon-date-editor.c: Adding the missing variable setter in the
7964 set_property handler. Fixes NB#54182.
7966 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7968 * src/hildon-window.h: Changing the long key press time from 1500ms to
7969 800ms as requested in NB#63700. I have a bad feeling about this, let's
7970 see... Fixes NB#63700.
7972 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7974 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7975 hildon_time_picker_map, hildon_time_picker_realize,
7976 hildon_time_picker_style_set): Split the contents of map to more
7977 appropriate functions; set window decorations on realize and update
7978 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7980 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7985 * debian/changelog: Updating.
7987 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7989 * src/Makefile.am: fixed installation of the header files
7991 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * debian/changelog: Updating.
7999 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8001 * configure.ac: Removing some remaining of --enable-xan.
8003 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8005 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8006 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8008 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8009 2.10.12-osso6 because the move-focus signal needs to be available in
8012 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * examples/Makefile.am:
8015 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8016 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8017 fine. Prolly NB#61128 is fixed now.
8019 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8021 * src/hildon-volumebar.c:
8022 * src/hildon-volumebar.h: Adding the
8023 hildon_volumebar_set_range_insensitive_message and
8024 hildon_volumebar_set_range_insensitive_messagef functions to set
8025 insensitive message on the slider of the volumebar. Fixes NB#61129.
8027 * examples/Makefile.am:
8028 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8029 test the new insensitive messsage functionality on HildonVolumebar.
8031 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8036 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8038 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8039 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8040 button on after clearing the trail.
8042 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8044 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8046 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8048 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8049 by splitting the installed headers in generated and non-generated groups. Use
8050 only the non-generated headers to create the hildon-enum-types.h file.
8052 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8054 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * src/hildon-window.c: Hide the window before performing the destroy.
8057 Should make the app closing a little tiny bit more snappy.
8059 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8061 * src/hildon-seekbar.c: add gtkrange.h header
8062 * src/hildon-caption.c: remove unused variable
8064 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8066 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8069 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8075 * debian/changelog: Updating.
8077 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8079 * src/hildon-window.c (hildon_window_window_state_event,
8080 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8081 escape timeout on focus-out-event rather than notify::is-topmost; the
8082 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8084 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8087 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8089 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8091 * src/hildon-window: actually, you need to use the macro always, there's
8092 no private pointer in the instance structure. We should have cleaned this up
8093 when we had the chance...
8095 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8097 * src/hildon-window.c: do not get the private date from HildonWindow before
8098 it passes the g_return_if_fail check. Once it's passed the test, there's no
8099 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8100 if you are only going to access the data once. Whitespace cleanups.
8102 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8104 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8105 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8107 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8113 * debian/changelog: Updating.
8115 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * src/hildon-window.c: When destroying the window, remove (if exists) the
8118 escape timeout handler. Fixes #NB59276.
8120 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8122 * src/hildon-banner.c: When realizing the widget, set the window
8123 transiency. Setting the transiency in the gobject constructor is not
8124 good, as the widget is not realized at that point. Fixes: #NB56624.
8126 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8128 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8129 Add padding for future expansions.
8131 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8133 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8134 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8135 will fake an activation on the previous to the last item of the trail, so
8136 the effect can be overrided by the developer as usual.
8137 Also change the callback for the back button to do the same thing, so its
8138 effect can be overrided too. Fixes: NB#58982
8140 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8143 HildonCaption. Fixes NB#52379.
8145 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8147 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8148 the internal state of the trail after the user has had the chance of executing
8149 his handler for the signal. Specifically, it may happen that the activated button
8150 is removed and the user still lets the default handler run. This would segfault
8153 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8156 scrollbar to the preview dialog. Fixes NB#54147.
8158 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8160 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8161 max/min year properties can be altered, so the client can modify it
8162 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8164 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8166 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8167 hildonlike by default. Fixing a problem with disappearing arrows when
8168 scrolling through months and years. Fixes NB#54127.
8170 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8172 * examples/hildon-date-editor-example.c: Adding error callback to the date
8175 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * configure.ac: Updating.
8183 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * configure.ac: Adding a special '--enable-xan' configure option that
8186 turns off the -Werror compilation setting. Usefull for development.
8188 * src/hildon-calendar.c:
8189 * src/hildon-number-editor.c:
8190 * src/hildon-time-picker.c: Adding the 5* multiplier to
8193 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8195 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8196 instead of g_object_ref + gtk_object_sink.
8198 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * debian/changelog: Updating.
8206 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8208 * src/hildon-color-chooser-dialog.c:
8209 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8210 straight from Tommi labs.
8212 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * examples/hildon-finger-example.c: Correcting the header file path.
8216 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8217 the changed signal. Fixes a small memory leak.
8219 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * src/hildon-banner.c: Importing several usefull fixes from the
8224 ubuntu-mobile branch.
8226 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8228 * examples/Makefile.am:
8229 * examples/hildon-finger-example.c: Adding a finger-checking code
8232 * src/hildon-font-selection-dialog.c: Do not allocate the color
8233 structure using the g_new. Fixes NB#54061.
8235 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * src/hildon-helper.c: Correcting tabs in file.
8239 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8241 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8242 control the visibility of the children.
8244 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8246 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * debian/changelog: Updating.
8254 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8256 * src/hildon-bread-crumb-trail.c:
8257 (hildon_bread_crumb_trail_size_allocate):
8259 Make the back button always a square.
8261 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8263 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8264 from the .c file as it's a private file.
8266 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8269 uses slightly bigger height.
8271 * src/hildon-font-selection-dialog.c: Adding some checks before
8272 freeing memory in the font selection dialog.
8274 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8276 * src/hildon-font-selection-dialog.c: Adding a small check when
8279 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8280 buttons sensitivity on page switching.
8282 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8284 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8285 internal details of adding a bread crumb to the trail.
8287 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8293 * debian/changelog: Updating.
8295 * src/hildon-bread-crumb-trail.h:
8296 * src/hildon-bread-crumb.h: Changing the API guard to
8297 HILDON_ENABLE_UNSTABLE_API.
8299 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * src/hildon-helper.h: Updating.
8309 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-helper.h: Small fix to make the package actually compile.
8323 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8325 * src/hildon-bread-crumb-trail.h:
8326 * src/hildon-bread-crumb.h:
8328 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8329 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8331 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8333 * examples/hildon-bread-crumb-trail-example.c:
8335 * src/hildon-bread-crumb-trail.c:
8336 * src/hildon-bread-crumb-trail.h:
8337 * src/hildon-bread-crumb.c:
8338 * src/hildon-bread-crumb.h:
8339 * src/hildon-marshalers.list:
8340 * src/hildon-bread-crumb-widget.c:
8341 * src/hildon-bread-crumb-widget.h:
8343 Slight change in the widget design. The bread crumb trail API is
8344 unchanged, but HildonBreadCrumb is now an interface. A *private*
8345 implementation, hildon-bread-crumb-widget, is provided and used
8346 internally by the trail for the push_text/push_icon functions.
8348 The generic push API is still available, so anyone can implement
8349 and use its own bread crumb widget.
8351 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8353 * debian/rules: Fixing the shlibs.
8355 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * src/hildon-banner.c: Fixing a problem with timed banners having
8358 their parrent destroyed before they are.
8360 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8362 * src/hildon-bread-crumb.c:
8363 * src/hildon-bread-crumb.h:
8365 Make the get_natural_size function a vfunc.
8367 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8369 * src/hildon-bread-crumb.c:
8370 * src/hildon-bread-crumb-trail.c:
8374 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * debian/changelog: Updating for release.
8383 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8385 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8386 don't leak the pango layout.
8388 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8391 * examples/hildon-bread-crumb-trail-example.c:
8395 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * debian/changelog: Removing the bug-fixed entries that were actually
8398 resolved as WONTFIX.
8400 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8403 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8405 * src/hildon-bread-crumb-trail.c:
8406 * src/hildon-bread-crumb-trail.h:
8407 * src/hildon-bread-crumb.c:
8408 * src/hildon-bread-crumb.h:
8412 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8414 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8415 until it's passed the type check.
8417 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8419 * examples/hildon-bread-crumb-trail-example.c
8423 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8425 * examples/Makefile.am
8426 * examples/hildon-bread-crumb-trail-example.c
8428 * src/hildon-bread-crumb-trail.c
8429 * src/hildon-bread-crumb-trail.h
8430 * src/hildon-bread-crumb.c
8431 * src/hildon-bread-crumb.h
8433 New HildonBreadCrumbTrail widget.
8435 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8437 * src/hildon-range-editor.c (hildon_range_editor_init),
8438 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8439 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8440 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8441 hildon_time_editor_class_init, hildon_time_editor_init),
8442 src/hildon-get-password-dialog.c (invalid_input,
8443 hildon_get_password_set_property, hildon_get_password_get_property,
8444 create_contents, hildon_get_password_dialog_set_max_characters),
8445 src/hildon-set-password-dialog.c (create_contents),
8446 src/hildon-date-editor.c (hildon_date_editor_init),
8447 src/hildon-login-dialog.c (hildon_login_dialog_init),
8448 src/hildon-number-editor.c (hildon_number_editor_init),
8449 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8450 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8451 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8452 configure option and adding the respective checks in the code.
8453 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8454 hildon_calendar_drag_data_received): fixed some build warnings.
8456 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * debian/changelog: A 1.0.0 release notes.