1 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-color-button.c (hildon_color_button_init): Use
4 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
5 itself, to make it fit better with Fremantle style.
7 Fixes: NB#109878 (height and width of focus on color icon is not
8 consistent with other item in the application tool bar)
10 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
12 * hildon/hildon-touch-selector.c:
13 (hildon_touch_selector_optimal_size_request): use the current requisition
14 as the base, in order to include any possible extra widget, like the
15 hildon entry on HildonTouchSelectorEntry
17 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
19 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
21 * configure.ac: post release version bump
22 * debian/changelog: post release version bump
24 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
29 * configure.ac: Bump version.
30 * debian/changelog: Updates.
32 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
34 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
36 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
37 to ensure the banner contents are centered, instead of relying on
38 the expand and fill properties in GtkHBox.
39 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
41 Fixes: NB#108265 (Animation banner not properly centered)
43 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
45 * hildon/hildon-pannable-area.c
46 (hildon_pannable_area_initial_effect): Remove the initial_effect
47 management, check initial_hint
48 (hildon_pannable_are_expose_event): Remove the initial_hint management,
49 set initial_effect to FALSE
50 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
51 by launching the fade_timeout if the scrollbars state has changed and are
53 * examples/hildon-pannable-area-initial-hint-example.c
54 Modified to allow to remove rows too. Add and remove rows one by one.
56 2009-05-28 Alberto Garcia <agarcia@igalia.com>
58 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
59 Don't close the menu if there's an animation actor below it.
61 Fixes: NB#117927 (Application menu not usable with animation
64 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
66 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
67 "focus-on-click" from the dialog button, to avoid stealing the
70 Fixes: NB#118903 (Account setup wizard: Text in Search field
71 should be focused when "Region" touch list picker is reopened
74 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
77 (prepare_action_area): Completely hide the dialog separator.
79 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
81 * hildon/hildon-touch-selector-entry.c
82 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
83 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
84 now that the entry is exposed.
86 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
88 * hildon/hildon-touch-selector-entry.c
89 (hildon_touch_selector_entry_init): Change the entry's size
90 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
92 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
94 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
95 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
96 avoid unnecessary scaling.
98 2009-05-27 Alberto Garcia <agarcia@igalia.com>
100 * hildon/hildon-app-menu.c (hildon_app_menu_map):
101 Create grab transfer window before calling parent's map function.
103 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
104 "crushed" button(s) in the top left corner)
106 2009-05-26 Alberto Garcia <agarcia@igalia.com>
108 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
109 Check if the window is already realized when pushing it.
111 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
113 * configure.ac: post release version bump
114 * debian/changelog: post release version bump
116 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
121 * configure.ac: Bump version.
122 * debian/changelog: Updates.
124 2009-05-25 Alberto Garcia <agarcia@igalia.com>
126 * hildon/hildon-app-menu.c: Doc updates.
128 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-banner.c: Remove leftover macro.
132 2009-05-25 Alejandro G. Castro <alex@igalia.com>
134 * hildon/hildon-pannable-area.c,
135 (hildon_pannable_area_scroll_indicator_fade),
136 (hildon_pannable_area_button_release_cb): Reviewed vmin
137 conditions, it could cause problems in the fadeout procedure.
139 2009-05-25 Alejandro G. Castro <alex@igalia.com>
141 * hildon/hildon-pannable-area.c
142 (hildon_pannable_area_button_release_cb): Added a threshold to
143 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
145 2009-05-25 Alejandro G. Castro <alex@igalia.com>
147 * hildon/hildon-pannable-area.c,
148 (hildon_pannable_area_set_property): Added code to sync the gtk
149 dnd threshold with the panning threshold.
151 2009-05-25 Alejandro G. Castro <alex@igalia.com>
153 * hildon/hildon-pannable-area.c,
154 (hildon_pannable_area_class_init): Changed some of the default
155 values, now it should be less responsive and more accurate.
157 2009-05-25 Alejandro G. Castro <alex@igalia.com>
159 * hildon/hildon-pannable-area.c,
160 (hildon_pannable_area_init),
161 (hildon_pannable_area_scroll_indicator_fade),
162 (hildon_pannable_area_button_press_cb),
163 (hildon_pannable_axis_scroll),
164 (hildon_pannable_area_timeout),
165 (hildon_pannable_area_motion_notify_cb),
166 (hildon_pannable_area_button_release_cb): Changed the name of the
167 clicked attribute to button_pressed, it is more clear about its use.
169 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
171 * src/hildon-pannable-area.c
172 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
174 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
175 vertical scrollbar visibility, and use the data on private section instead,
176 remove the initial_hint check
177 (hildon_pannable_area_expose_event): add the initial_hint check here
179 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
181 * src/hildon-pannable-area.c
182 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
183 if the fadeout effect was used
184 (hildon_pannable_area_expose_event): check if it is required to
185 manage the initial effect on the begining of the function. Previously
186 it was made at the end, but this doesn't ensure that the scrollbars
187 will be painted on the first show. Do not set to FALSE initial_effect,
188 to ensure that the initial hint is showed the first time the pannable
190 * examples/Makefile.am
191 * examples/hildon-pannable-area-initial-hint-example.c:
192 New example, to show that the initial-hint is showed when the widget
195 Fixes: NB#116607 (Pannable area should always have scrollbar visible
196 initially if the application can be scrolled)
198 2009-05-25 Alberto Garcia <agarcia@igalia.com>
200 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
201 Resize table before adding new items to make sure that
202 gtk_table_resize() is called just once.
204 2009-05-25 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-app-menu-private.h
207 * hildon/hildon-app-menu.c (item_visibility_changed)
208 (filter_visibility_changed, hildon_app_menu_show_all)
209 (hildon_app_menu_hide_all, hildon_app_menu_init):
210 Rearrange items just once when gtk_widget_show_all()/hide_all()
213 2009-05-25 Alberto Garcia <agarcia@igalia.com>
215 * hildon/hildon-app-menu.c
216 (hildon_app_menu_insert, hildon_app_menu_add_filter):
217 Don't call gtk_widget_show() on added items.
219 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
220 automatically when they're added)
222 2009-05-20 Alberto Garcia <agarcia@igalia.com>
224 * hildon/hildon-banner.c
225 (hildon_banner_realize, +hildon_banner_unrealize)
226 (+screen_size_changed, hildon_banner_class_init):
227 Redisplay the banner if the screen is rotated.
229 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
230 on transition from landscape to portrait)
232 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
234 * hildon/hildon-banner.[ch]:
235 (hildon_banner_show_information_override_dnd): remove icon_name from the
236 method definition as it is ignored.
237 * examples/hildon-banner-dnd-example.c: updated with the change on
240 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
242 * hildon/hildon-banner-private.h: new require_override_dnd and
243 overrides_dnd variables
244 * hildon/hildon-banner.h:
245 (hildon_banner_show_information_override_dnd): new method, that shows
246 the information but sets the override flag, in order to show important
248 * hildon/hildon-banner.c
249 (hildon_banner_show_information_override_dnd): new method
250 (hildon_banner_set_override_flag): new utility function
251 (hildon_banner_real_show_information): new utility function, in order to
252 generalize the current hildon_banner_show_information_override_dnd and
253 hildon_banner_show_information_override_dnd
254 * examples/Makefile.am
255 * examples/hildon-banner-dnd-example.c: New example that show how to
256 use the new hildon_banner_show_information_override_dnd
258 Fixes: NB#114874 (There is no possibility to show hildon banners with
261 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
263 * hildon/hildon-pannable-area.c: Add a comment explaining the math
264 behind hildon_pannable_calculate_vel_factor().
266 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
268 * hildon/hildon-pannable-area.c
269 (hildon_pannable_calculate_vel_factor): Correct the sum of the
270 deceleration factors.
272 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
274 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
275 Reduce the default value for 'scroll_time' to 1 second, since the
276 current initial scrolling takes too much time.
278 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
281 calculate velocity factor during initialization, since the properties
284 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
286 * hildon/hildon-pannable-area.c
287 (hildon_pannable_area_set_property): Calculate the velocity factor
288 after setting the deceleration property and not after.
290 2009-05-20 Alberto Garcia <agarcia@igalia.com>
292 * hildon/hildon-entry.c
293 (hildon_entry_class_init, +set_property, hildon_entry_new)
294 * hildon/hildon-check-button.c
295 (hildon_check_button_class_init)
296 (+set_property, hildon_check_button_new):
297 Make the theme size a property.
299 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
300 others) do too much in the _new function)
302 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: post release version bump
305 * debian/changelog: post release version bump
307 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
312 * configure.ac: Bump version.
313 * debian/changelog: Updates.
315 2009-05-15 Alberto Garcia <agarcia@igalia.com>
317 * hildon/hildon-gtk.h
318 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
319 New API function to take a screenshot of a window
321 Fixes: NB#106374 (Need API to take a loading screenshot)
323 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
325 * hildon/hildon-time-selector.c
326 (update_format_policy): prevent to use hours and minutes unitialized
328 2009-05-15 Alberto Garcia <agarcia@igalia.com>
330 * hildon/hildon-window.c (hildon_window_size_request):
331 Always request the full size of the screen (minus the title bar if
332 not in fullscreen mode).
334 Fixes: NB#107486 (HildonWindow should size itself properly)
336 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
338 * hildon/hildon-note-private.h: Add idle_handler to the private data.
339 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
340 (on_show_cb), (sound_handling): Disconnect the idle handler for
341 the sound when the note is finalized to avoid possible crashes.
343 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
346 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
348 * src/hildon-animation-actor.c,
349 * src/hildon-remote-texture.c:
350 Added proper object cleanup to remove signal handler and object
351 references as HildonAnimationActor and HildonRemoteTexture
352 objects get destroyed.
354 Fixes: NB#116682 (Destroying parented animation actors when
355 parent in unmapped leads to crash)
357 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
359 Based on a patch by Christian Dywan (christian@imendio.com)
361 * doc/hildon-sections.txt:
362 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
363 * hildon/hildon-helper.h: New file size formatting method.
365 * debian/control: Depend on osso-filemanager l10n package for
366 proper localization strings.
368 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
370 * tests/Makefile.am: Include top_srcdir to make possible to build
371 tests in a different builddir.
372 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
373 on a different builddir.
375 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
377 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
378 (hildon_touch_selector_remove): Disconnect model's signal handler
381 Fixes: NB#116289 (Hildon home crashes while adding task
384 2009-05-11 Alberto Garcia <agarcia@igalia.com>
386 * hildon/hildon-button.c
387 (hildon_button_set_title, hildon_button_set_value):
388 Hide labels containing an empty string.
390 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
392 * configure.ac: post release version bump
393 * debian/changelog: post release version bump
395 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
400 * configure.ac: Bump version.
401 * debian/changelog: Updates.
403 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
405 * hildon/hildon-note-private.h: Removed sound_signal_handler
406 * hildon/hildon-note.c
407 (on_show_cb): new callback on note "show" event, this simply adds
408 a idle, with the function sound_handling
409 (sound_handling): removed the sound_signal_handler management
410 (hildon_note_init): connect note "show" event to on_show_cb
411 (hildon_note_realize): remove the connection to "expose-event"
413 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
414 device?' confirmation note)
416 2009-05-08 Alberto Garcia <agarcia@igalia.com>
418 * hildon/hildon-note.c
419 (hildon_note_new_information_with_icon_name)
420 (hildon_note_new_confirmation_with_icon_name):
421 Terminate the list of parameters in g_object_set() calls
423 Fixes: NB#115166 (Formatting memory card is not taking place)
425 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
427 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
428 "dialog-information" role for the sound being played.
430 2009-05-06 Alberto Garcia <agarcia@igalia.com>
432 * hildon/hildon-app-menu.c (hildon_app_menu_init):
433 Don't make the menu a modal window, it causes strange interactions
434 with the pointer grab and it's not really needed.
436 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
438 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
440 * hildon/hildon-touch-selector.[ch]
441 (hildon_touch_selector_optimal_size_request): function added to get a
442 optimal size request from the touch selector, when you want a dialog to
443 show as much of the selector
444 * hildon/hildon-picker-dialog.c:
445 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
446 (hildon_app_menu_class_init):
447 New "max-height-landscape" and "max-height-portrait" style properties
448 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
449 (hildon_picker_dialog_get_max_height): returns the maximum height using
450 the style properties defined and checking the current portrait/landscape
452 (_hildon_picker_dialog_set_selector): removed the set_size_request
454 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
456 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
458 * hildon/hildon-bread-crumb-trail.c:
459 * hildon/hildon-bread-crumb.c:
460 * hildon/hildon-seekbar.c:
461 Add reference to replacements for these deprecated widgets.
463 Fixes: MB#4461 (Documentation: All deprecations should mention
466 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
468 * examples/hildon-remote-texture-example.c
470 Change the include to the hildon-remote-texture in order to compile
471 properly the examples on the installed libhildon1-examples package
473 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
475 * tests/Makefile.am: Add check for HildonPickerButton.
476 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
477 (START_TEST), (create_hildon_picker_button_suite): Add three simple
478 checks for the HildonPickerButton.
479 * tests/check_test.c (configure_tests): Add the test suite.
480 * tests/test_suites.h: likewise.
482 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
484 * hildon/hildon-touch-selector.c
485 (+on_row_changed): Emit HildonTouchSelector:changed when the
486 contents of a selected row change.
487 (_create_new_column), (_hildon_touch_selector_set_model): connect
488 to GtkTreeModel:row-changed on a newly set model.
490 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
492 2009-05-05 Alberto Garcia <agarcia@igalia.com>
494 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
496 * hildon/hildon-banner.c (hildon_banner_destroy)
497 (hildon_banner_show_progress, hildon_banner_set_fraction):
498 Remove the progress bar from HildonBanner and use a progress
501 Fixes: NB#113761 (Update progress banner to use progress
504 2009-05-04 Alberto Garcia <agarcia@igalia.com>
506 * hildon/hildon-banner.c:
507 Calculate size of the banner label using the actual screen width
508 rather than using a fixed value.
510 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
513 2009-05-04 Alejandro G. Castro <alex@igalia.com>
515 * hildon/hildon-pannable-area.c,
516 (hildon_pannable_area_class_init): Fixed signals documentation
519 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
521 * configure.ac: post release version bump
522 * debian/changelog: post release version bump
524 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
529 * configure.ac: Bump version.
530 * debian/changelog: Updates.
532 2009-05-01 Alberto Garcia <agarcia@igalia.com>
534 * hildon/hildon-edit-toolbar.c
535 (hildon_edit_toolbar_init):
536 Don't let buttons in HildonEditToolbar receive focus.
538 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
539 typing on an HW arrows key)
541 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
543 * doc/Makefile.am: Fix build.
545 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
547 * doc/Makefile.am: Do not redefine content_files.
549 2009-04-30 Alberto Garcia <agarcia@igalia.com>
557 Renamed src/ to hildon/
562 Include <hildon/hildon.h> directly in all examples.
564 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
566 * src/hildon-sort-dialog.c
567 (hildon_sort_dialog_add_sort_key_with_sorting)
571 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
573 * src/Makefile.am: Move generated sources to CLEANFILES, so that
574 make distcheck passes.
576 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
578 * Makefile.am: Enable gtk-doc during distcheck.
580 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
582 * Makefile.am: Do not distribute the debian/ directory.
584 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
586 * doc/Makefile.am: Add the extra SGML files to content_files,
587 so that they are distributed properly.
589 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
591 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
594 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
596 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
597 (hildon_note_new_information_with_icon_name): Set the "icon" property
598 to preserve soundness.
600 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
602 * src/hildon-font-selection-dialog.c
603 (hildon_font_selection_dialog_set_property): Fail when the "family"
604 property is set to NULL.
606 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
608 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
611 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
613 * src/hildon-time-selector.h:
614 Added HildonTimeSelectorFormatPolicy
615 * src/hildon-time-selector.c:
616 Added PROP_TIME_FORMAT_POLICY
617 (_check_ampm_format): renamed to check_automatic_ampm_format
618 (update_format_policy), (update_format_dependant_columns): new functions
619 (hildon_time_selector_class_init)
620 (hildon_time_selector_contructor)
621 (hildon_time_selector_init)
622 (hildon_time_selector_get_property)
623 (hildon_time_selector_set_property)
624 (hildon_time_selector_get_time)
625 (hildon_time_selector_set_time)
626 * src/hildon-touch-selector.h: new file
627 * src/hildon-touch-selector.c
628 (hildon_touch_selector_emit_changed)
629 (hildon_touch_selector_block_changed)
630 (hildon_touch_selector_unblock_changed)
631 Added functions to allow to block the emission of the "changed" signal
632 * src/hildon-picker-dialog.c
633 (hildon_picker_dialog_show): call the parent show before the custom code
634 * examples/hildon-time-button-example.c
635 Modified, so now you can configure the time format using the new property
637 Added a new property "time-format-policy" that allow to choose the time
638 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
639 case it uses gconf in order to check if the time selector must use
642 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
645 2009-04-28 Alberto Garcia <agarcia@igalia.com>
647 * src/hildon-note.c (hildon_note_init):
648 Label in HildonNote must be left aligned, not centered. This
649 reverts the last commit in HildonNote.
651 Fixes: NB#112933 (text is not left aligned in confirmation dialog
652 is connectivity dialog)
654 2009-04-27 Alberto Garcia <agarcia@igalia.com>
659 * doc/hildon-sections.txt:
660 Added hildon_gtk_window_set_do_not_disturb()
662 2009-04-27 Alberto Garcia <agarcia@igalia.com>
664 * src/hildon-note.c (hildon_note_init): Center label.
666 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
669 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
674 * configure.ac: Bump version.
675 * debian/changelog: Updates.
677 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
679 * src/hildon-note-private.h: Add button-width to the private data.
680 * src/hildon-note.c (+resize_button),
681 (+hildon_note_orientation_update): methods to repack widgets on orientation
683 (screen_size_changed): Call above method for confirmation notes.
684 (hildon_note_realize): Always connect to the "screen-size" changed signal.
685 (hildon_note_rebuild): Store the original width request from buttons.
687 Fixes: NB#109635 (Confirmation notes do not support portrait)
689 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
691 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
692 when it is a progress note.
694 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
696 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
697 in the note, since there are no horizontally arranged contents.
699 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
701 * src/hildon-gtk.c (+set_flag): new generic method to
702 set/delay a flag setting in a window.
703 (hildon_gtk_window_set_progress_indicator):
704 (hildon_gtk_window_set_do_not_disturb),
705 (hildon_gtk_window_set_portrait_flags): use set_flag() to
706 avoid code redundance.
708 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
710 Based on a patch by Alberto Garcia (agarcia@igalia.com)
712 * src/hildon-gtk.c (set_clear_window_flag),
713 (do_set_progress_indicator), (do_set_do_not_disturb),
714 (do_set_portrait_flags),
715 (hildon_gtk_window_set_progress_indicator),
716 (hildon_gtk_window_set_do_not_disturb),
717 (hildon_gtk_window_set_portrait_flags):
718 Allow setting dnd-flag, progress indicator, and portrait flags
719 when the window is not realized.
721 2009-04-24 Alejandro G. Castro <alex@igalia.com>
723 * src/hildon-pannable-area.c,
724 * src/hildon-pannable-area.h: Add the hildon deprecated define to
725 the size request policy function and defines.
727 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
729 * doc/hildon-sections.txt: Add the new API.
730 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
731 method to set the portrait flags.
732 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
734 Fixes: NB#112328 (Adding helpers for setting portrait properties)
736 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
739 to allow using this method with other flags.
740 (hildon_gtk_window_set_progress_indicator): Update accordingly.
741 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
743 2009-04-22 Alberto Garcia <agarcia@igalia.com>
745 * src/hildon-touch-selector.c
746 (hildon_touch_selector_append_text_column):
747 Make the cell renderer use the smallest width possible.
749 Fixes: NB#108470 (Selected items in multiple selection are either
750 having a tick that is cut or not visible at all.)
752 2009-04-22 Alberto Garcia <agarcia@igalia.com>
754 * src/hildon-touch-selector.c
755 (hildon_touch_selector_append_text_column):
758 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
761 Use g_strdup_printf() instead of a fixed size buffer.
763 2009-04-21 Alberto Garcia <agarcia@igalia.com>
765 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
766 Close banners when a HildonAppMenu is popped up.
768 Fixes: NB#111027 (Title menu closed immediately if activated when
769 "Invalid e-mail address" banner is shown)
771 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
776 * configure.ac: Bump version.
777 * debian/changelog: Updates.
779 2009-04-20 Alberto Garcia <agarcia@igalia.com>
781 * src/hildon-banner.c (hildon_banner_realize):
782 Mark HildonBanner as supporting portrait mode.
783 Use GDK to set window properties insetad of direct Xlib calls.
785 Fixes: NB#111830 (HildonBanner should be marked as supporting
788 2009-04-20 Alberto Garcia <agarcia@igalia.com>
790 * src/hildon-note.c (hildon_note_rebuild):
791 Hide action area in information notes. Prevents text from being
792 slightly aligned to the left.
794 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
797 2009-04-20 Alberto Garcia <agarcia@igalia.com>
799 Patch by Mox Soini (ext-mox.soini@nokia.com)
801 * src/hildon-banner.c (hildon_banner_create_animation):
802 Use stylus-sized icons in animation banner.
804 Fixes: NB#111206 (stylus sized icon for animation banner)
806 2009-04-20 Alberto Garcia <agarcia@igalia.com>
810 (+hildon_gtk_window_set_do_not_disturb):
811 New API to set the do-not-disturb flag.
813 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
815 2009-04-20 Alberto Garcia <agarcia@igalia.com>
817 * examples/hildon-progress-indicator-example.c: Fix example
819 * src/hildon-gtk.c (set_clear_window_flag)
820 (hildon_gtk_window_set_progress_indicator):
821 Create a generic function for setting flags to a window.
822 Use GDK instead of direct Xlib calls.
824 2009-04-14 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-button.c (hildon_button_set_arrangement):
827 Due to NB#88126, if one of the labels is too long it will be
828 painted outside the button. The 'value' label is more likely to be
829 the longest one, so we change its packing options in order to
830 truncate it if necessary. As a side effect, the 'title' label will
831 no longer be truncated.
833 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
835 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
840 * configure.ac: Bump version.
841 * debian/changelog: Updates.
843 2009-04-13 Alejandro G. Castro <alex@igalia.com>
845 Deprecation of the hildon_pannable_area_set_size_request_policy
846 API, the only policy properly supported in gtk+ nowadays is the
849 * src/hildon-pannable-area.c,
850 (hildon_pannable_area_size_request): Added a workaround for the
851 size_request to avoid the problems of huge pixmaps in case someone
852 is still using the function.
853 * src/hildon-pannable-area.h: Deprecated the enum with the
856 Fixes: NB#110244 (Problems with the
857 hildon_pannable_area_set_size_request_policy API)
859 2009-04-08 Alejandro G. Castro <alex@igalia.com>
861 * src/hildon-pannable-area.c,
862 (hildon_pannable_area_init),
863 (hildon_pannable_area_size_request),
864 (hildon_pannable_area_style_set),
865 (hildon_pannable_draw_vscroll),
866 (hildon_pannable_draw_hscroll),
867 (hildon_pannable_area_check_scrollbars): Replaced area_width with
868 indicator_width to clarify the use of the attribute.
870 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
875 * configure.ac: Bump version.
876 * debian/changelog: Updates.
878 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
880 * src/hildon-picker-dialog.c
881 * src/hildon-touch-selector.c
882 Reverting the change that tried to avoid the hardcoded height on
883 the picker dialog, as causes problems on the hildon-touch-selector
886 Fixes: NB#110029 (selectors not scrolling to selected value)
888 2009-04-07 Alberto Garcia <agarcia@igalia.com>
890 * src/hildon-touch-selector.c: Fix typos
892 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
895 Use the event coordinates instead of gdk_window_get_pointer(). Also,
896 request more motions after using it.
898 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
900 * src/hildon-calendar.c (hildon_calendar_expose),
901 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
902 Remove unused variables.
904 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
906 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
909 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
912 Check the return value of gtk_tree_selection_get_selected()
915 2009-04-06 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-animation-actor.c
918 * src/hildon-button.c
920 * src/hildon-pannable-area.c
921 * src/hildon-picker-button.c
922 * src/hildon-program.c
923 * src/hildon-remote-texture.c
924 * src/hildon-text-view.c
925 * src/hildon-touch-selector.c
926 * src/hildon-window-stack.c
927 * src/hildon-window.c:
928 Add missing 'Since: 2.2' tags.
930 * doc/hildon-sections.txt:
931 Add some missing symbols.
933 * doc/hildon-docs.sgml:
934 New 'Other' section for HildonAnimationActor and
937 2009-04-06 Alberto Garcia <agarcia@igalia.com>
939 Patch by Iván Gómez (igomez@igalia.com)
943 * doc/hildon-docs.sgml
944 * doc/hildon-sections.txt
948 New chapters on using the Hildon library.
949 Updated the general structure of the reference manual.
950 Other minor documentation fixes.
952 * src/hildon-calendar-popup.c
953 * src/hildon-calendar.c
954 * src/hildon-controlbar.c
955 * src/hildon-date-editor.c
956 * src/hildon-dialog.c
957 * src/hildon-hvolumebar.c
958 * src/hildon-number-editor.c
959 * src/hildon-range-editor.c
960 * src/hildon-sort-dialog.c
961 * src/hildon-time-editor.c
962 * src/hildon-time-picker.c
963 * src/hildon-volumebar-range.c
964 * src/hildon-volumebar.c
965 * src/hildon-vvolumebar.c
966 * src/hildon-weekday-picker.c:
967 Add deprecation notes
969 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
970 Document 'horizontal-movement' and 'vertical-movement' signals.
972 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
977 * configure.ac: Bump version.
978 * debian/changelog: Updates.
980 2009-04-06 Alejandro G. Castro <alex@igalia.com>
982 * src/hildon-pannable-area.c,
983 (hildon_pannable_area_class_init): increased the minimum velocity.
984 (hildon_pannable_area_button_release_cb): Updated the
985 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
986 setup. Review the code to control that last event.
988 Fixes: NB#109790 (Releasing finger in pannable area easily causes
991 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
993 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
995 * src/hildon-get-password-dialog.c
996 (hildon_get_password_set_property),
997 (hildon_get_password_get_property), (create_contents):
998 * src/hildon-login-dialog-private.h:
999 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1000 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1001 (hildon_login_dialog_get_password):
1002 * src/hildon-set-password-dialog-private.h:
1003 * src/hildon-set-password-dialog.c
1004 (hildon_set_password_set_property),
1005 (hildon_set_password_get_property), (create_contents),
1006 (hildon_set_password_response_change),
1007 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1009 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1010 instead and look more Fremantle style.
1012 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1014 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1016 * doc/hildon-sections.txt
1017 * src/hildon-window-stack.h
1018 * src/hildon-window-stack.c
1019 (+hildon_window_stack_get_windows):
1020 New API to obtain the list of windows on a stack.
1022 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-app-menu.c (hildon_app_menu_popup)
1025 (hildon_app_menu_class_init, -hildon_app_menu_show):
1026 Remove hildon_app_menu_show() and move all its checks to
1027 hildon_app_menu_popup()
1029 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1031 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1032 (_hildon_picker_dialog_set_selector): removed call to
1033 gtk_widget_set_size_request
1034 * src/hildon-touch-selector.c
1035 (_create_new_column): change the pannable size request policy
1037 Avoid to use a hardcoded height for the hildon picker dialog. In order
1038 to get that, we needed to change the hildon pannable size request
1040 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1042 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1044 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1045 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1048 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1050 * debian/control: Depend on osso-system-lock localization package.
1051 * src/hildon-code-dialog.c: Obtain the secu_application_title
1052 translation from osso-system-lock.
1053 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1054 for translation the atk related strings, that's not necessary.
1055 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1056 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1057 cancel button, it is not required.
1059 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1061 * src/hildon-pannable-area.c,
1062 (hildon_pannable_area_class_init): Modified the default value of
1063 the overshooting max speed, we have reduced it.
1065 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1067 * doc/hildon-sections.txt
1068 * src/hildon-window-private.h
1069 * src/hildon-window.h
1070 * src/hildon-window.c (hildon_window_class_init)
1071 (hildon_window_init, hildon_window_finalize)
1072 (hildon_window_realize, hildon_window_get_property)
1073 (hildon_window_set_property, hildon_window_update_markup)
1074 (hildon_window_get_markup, hildon_window_set_markup):
1075 New "markup" property and hildon_window_{get,set}_markup() methods.
1077 * examples/hildon-stackable-window-example.c (new_window):
1078 Update example to use hildon_window_set_markup()
1080 Fixes: NB#106375 (Need API to retitle a window with a title
1083 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1085 * src/hildon-pannable-area.c,
1086 (hildon_pannable_area_class_init): Changed the default value of
1087 the initial_hint to TRUE.
1088 (hildon_pannable_area_initial_effect): Changed the initial effect,
1089 not the effect is just the fade-out of the scrollbars.
1091 Fixes: NB#107775 (No scrollbars can be seen when several items are
1092 available in a dialog)
1094 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-program.c (hildon_program_update_top_most):
1099 Fixes: NB#109179 (Memory leak in Hildon program)
1101 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-banner.c (-get_current_app_window):
1104 Remove unused function.
1106 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1108 * src/hildon-pannable-area.c: Modified the documentation of the
1109 get adjustments functions to explain the problem of using the
1110 adjustment directly.
1111 (hildon_pannable_area_class_init): Improved the explanation about
1114 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1116 * src/hildon-app-menu-private.h
1117 * src/hildon-app-menu.c
1118 (hildon_app_menu_class_init):
1119 Bring back the 'external-border' style property
1120 (hildon_app_menu_class_init, hildon_app_menu_init)
1121 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1122 Set a fixed width-request for the menu, independent of the number
1125 Fixes: NB#94957 (Smoothly opened application menu)
1127 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1129 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1131 * src/hildon-banner.c
1132 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1134 Make sure that the banner is correctly placed the first time it's
1136 (hildon_banner_check_position, -check_fullscreen_state):
1137 Show the banner in the same place no matter if the window is in
1138 fullscreen mode or not.
1140 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1142 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-touch-selector.c (_default_print_func): reorder
1145 concatenation for clarity.
1147 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1150 for multicolumn selectors.
1152 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1154 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1159 * configure.ac: Bump version.
1160 * debian/changelog: Updates.
1162 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1167 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1169 * configure.ac: removed libcangerra-gtk dependency
1170 * debian/control: removed libcanberra-gtk dependency
1171 * src/Makefile.am: removed libcanberra gtk related flags
1172 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1173 context, and manage a global canberra context instead
1175 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1177 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1179 Patch by Daniel Borgmann (danielb@openismus.com)
1181 * src/hildon-edit-toolbar.c:
1182 Adjust the left padding.
1183 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1184 Paint background of the edit toolbar.
1186 Fixes: NB#107897 (Patch to make editmodetoolbar background
1187 themeable and adjust margin)
1189 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1191 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1193 * src/hildon-program.c (hildon_program_update_top_most):
1194 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1196 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1197 change when the user tasks in/out of an application)
1199 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1201 * configure.ac: added libcangerra-gtk dependency
1202 * debian/control: added libcanberra-gtk dependency
1203 * src/Makefile.am: added libcanberra gtk related flags
1204 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1207 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1209 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-program.c (hildon_program_remove_window)
1212 (hildon_program_add_window): Add checks for the window
1213 parameter. Don't decrease the window counter if the window is not
1216 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1218 * src/hildon-pannable-area.c,
1219 (hildon_pannable_area_realize): Fixed position of the event_window
1220 in the realize method.
1222 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1224 * src/hildon-app-menu-private.h
1225 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1226 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1227 (hildon_app_menu_key_press, hildon_app_menu_init)
1228 (hildon_app_menu_finalize):
1229 Make sure that all idle functions are removed when the widget is
1232 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1234 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1239 * configure.ac: Bump version.
1240 * debian/changelog: Updates.
1242 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-entry.c
1245 (+hildon_entry_show_placeholder),
1246 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1247 that replace hildon_entry_update_contents().
1248 (hildon_entry_set_text),
1249 (hildon_entry_set_placeholder),
1250 (hildon_entry_focus_in_event),
1251 (hildon_entry_focus_out_event): Determine when it is needed
1252 either to show or hide the placeholder and call the above methods.
1254 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1255 when the placeholder text is already set)
1257 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1259 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1260 simple GdkPixbufAnim using the new icons for the banner.
1261 (hildon_banner_show_animation): Use the above mentioned method to
1262 create the animation widget.
1264 Fixes: NB#103564 (Make hildon animation banner use individual
1265 image files as the animation)
1267 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1269 * src/hildon-pannable-area.c,
1270 (hildon_pannable_leave_notify_event): Check if the child is NULL
1271 to avoid sending the leave.
1273 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1275 * src/hildon-pannable-area.c,
1276 (hildon_pannable_area_class_init),
1277 (hildon_pannable_leave_notify_event): Added a handler of the
1278 leave-notify-signal to consider when no motion notify before
1281 Fixes: NB#107494 (Items stay selected when clicking and moving
1282 away when inside pannable area)
1284 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1289 * configure.ac: Bump version.
1290 * debian/changelog: Updates.
1292 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1294 Patch by Alberto Garcia (agarcia@igalia.com)
1296 * src/hildon-date-button.c,
1297 (hildon_date_button_class_init),
1298 (hildon_date_button_init): Removed the construct property handling
1299 and created a default selector in the init method.
1300 * src/hildon-picker-button.c,
1301 (hildon_picker_button_class_init): Removed the construct flag of the
1304 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-main.c (hildon_init):
1307 Don't allow hildon_init() to be called more than once.
1309 Fixes: NB#106607 (hildon_init should issue error message upon
1312 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1314 * examples/hildon-pannable-area-touch-list-example.c
1315 * examples/hildon-pannagle-area-touch-grid-example.c
1316 * examples/hildon-edit-toolbar-example.c
1317 * examples/hildon-touch-selector-multi-cells-example.c
1318 Removed the call to gtk_rc_parse_string, as it is not required since
1321 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1323 * src/hildon-pannable-area.c,
1324 (hildon_pannable_area_class_init): Modified the default panning
1325 threshold of the widget to 6px.
1327 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1328 than the threshold value ) within the button is not sending the
1331 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1334 for the treeview in the new column. This way, the touch list will never
1337 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1338 be selected manually for the HW keys to work)
1340 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1343 comparison instead of using strcmp(). Fixes a compiler warning as well.
1345 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1347 * doc/hildon-docs.sgml: Do not set the library version in the
1348 document title, use the releaseinfo tag for that purpose instead.
1350 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1352 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1353 Do not jump to the first item if the text in the entry is removed.
1355 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1360 * configure.ac: Bump version.
1361 * debian/changelog: Updates.
1363 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1365 * src/hildon-entry.c (hildon_entry_refresh_contents):
1366 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1367 Use "ReversedSecondaryTextColor" for the placeholder text.
1369 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1371 * src/hildon-text-view.c: Fix compilation warning.
1373 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-button.c (hildon_button_class_init): Don't make
1376 "title" and "value" construction properties, to prevent them from
1377 overwriting labels set from derived classes.
1379 * src/hildon-picker-button.c
1380 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1381 (hildon_picker_button_class_init): Make touch-selector a
1382 construction property.
1384 * src/hildon-date-button.c (hildon_date_button_class_init)
1385 (+hildon_date_button_constructed): Add a default date selector if
1388 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1390 * src/hildon-touch-selector.c: Small documentation fixes.
1392 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1394 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1396 * src/hildon-entry.c (hildon_entry_refresh_contents),
1397 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1398 widget name, set the logical color directly instead and a boolean
1399 showing_placeholder instead.
1400 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1401 use the widget name here either.
1403 Fixes: NB#105678 (HildonTextView should use logical colours
1404 instead of setting widget name)
1406 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1408 Patch by Daniel Elster (danielk@openismus.com)
1410 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1411 Add user_data parameter.
1412 (hildon_touch_selector_set_print_func_full): New function akin
1413 hildon_touch_selector_set_print_func() but with support for user
1414 data and a destroy callback.
1415 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1416 to clean up the print function user data.
1417 (hildon_touch_selector_class_init): Install dispose function.
1418 (HildonTouchSelectorPrivate::print_user_data),
1419 (HildonTouchSelectorPrivate::print_destroy_func): New private
1421 (hildon_touch_selector_init): Initialize new private members.
1422 (hildon_touch_selector_get_current_text): Pass along user data
1423 to the print function.
1424 (_default_print_func): Add dummy user_data to parameter list.
1425 * hildon-date-selector.c (_custom_print_func): ditto,
1426 * hildon-time-selector.c (_custom_print_func): ditto,
1427 * hildon-touch-selector-entry.c
1428 (hildon_touch_selector_entry_print_func): ditto.
1430 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1432 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1434 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1436 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_init),
1440 (hildon_pannable_area_button_press_cb),
1441 (hildon_pannable_area_motion_notify_cb): We have added code to
1442 handle the leave and enter events when using the motion events.
1444 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1446 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-date-button.c (hildon_date_button_get_date)
1449 (hildon_date_button_set_date): Make sure that the button has a
1452 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1454 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1456 * src/hildon-pannable-area.c,
1457 (hildon_pannable_area_class_init),
1458 (hildon_pannable_area_calculate_velocity): Modify the use of the
1459 force and adapt the value.
1461 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1464 (hildon_app_menu_class_init): Hide the menu if it receives a
1465 delete-event, but don't destroy it
1467 Fixes: NB#104485 (Not able to address the call when application
1468 menu is opened at background)
1470 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-app-menu.c
1473 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1474 Remove the "external-border" style property, let the menu take its
1475 natural size (or the one set by the window manager)
1476 (hildon_app_menu_repack_items):
1477 Don't reshow the menu, avoid flickers.
1479 Partially fixes NB#94957 (Smoothly opened application menu)
1481 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1486 * configure.ac: Bump version.
1487 * debian/changelog: Updates.
1489 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1491 * src/hildon-pannable-area.c,
1492 (hildon_pannable_area_motion_notify_cb): We control that the
1493 direction error margin is used just in case the movement is
1494 allowed in the other direction.
1496 Fixes: NB#105012 (buttons inside a pannable area not getting
1497 release event when dragging/releasing)
1499 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1501 * src/hildon-pannable-area.c,
1502 (hildon_pannable_area_class_init),
1503 (hildon_pannable_area_get_property),
1504 (hildon_pannable_area_set_property),
1505 (hildon_pannable_area_initial_effect),
1506 (hildon_pannable_axis_scroll),
1507 (hildon_pannable_area_button_release_cb): Reviewed the
1508 overshooting effect, now it has its own max
1509 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1510 speed when bouncing.
1512 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1517 * configure.ac: Bump version.
1518 * debian/changelog: Updates.
1520 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1522 * src/hildon-pannable-area.c,
1523 (hildon_pannable_area_class_init): Changed the max speed, now
1524 users can launch the widget very fast. Reduced the default force,
1525 that way it is easier to control the launch speed.
1527 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1529 * src/hildon-pannable-area.c,
1530 (hildon_pannable_area_button_release_cb): Removed this check
1531 because it causes problems when the device is overloaded.
1533 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1536 add a current_text field to store the text entered in the
1537 touch selector entry.
1538 (_clean_current_selection): clean up the current text as well.
1539 (_save_current_selection), (_restore_current_selection):
1540 Save/restore the text in the entry if the selector is a
1541 HildonTouchSelectorEntry.
1543 Fixes: NB#102541 (value entered in the touch selector entry is not
1544 shown when opened for second time)
1546 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1548 * doc/hildon-sections.txt:
1549 * src/hildon-touch-selector-entry.c
1550 (+hildon_touch_selector_entry_get_entry):
1551 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1553 Fixes: NB#104815 (I need accessor to the entry inside
1554 HildonTouchSelectorEntry)
1556 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1559 (hildon_app_menu_class_init):
1560 New "filter-vertical-spacing" style property.
1562 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1564 * src/hildon-find-toolbar.c
1565 (hildon_find_toolbar_emit_close)
1566 (hildon_find_toolbar_emit_invalid_input)
1567 (hildon_find_toolbar_entry_activate):
1568 Use g_signal_emit() instead of g_signal_emit_by_name()
1570 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1572 Patch by Mox Soini (ext-mox.soini@nokia.com)
1574 * tests/TEST-CASES.txt
1575 * tests/check-hildon-banner.c
1576 * tests/check-hildon-note.c
1577 * src/hildon-banner.c
1578 * src/hildon-code-dialog.c
1579 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1580 * src/hildon-time-editor.c
1581 * examples/hildon-lookup-example.c (main):
1582 Replace obsolete icon names with new ones.
1584 * src/hildon-find-toolbar-private.h:
1585 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1586 (-hildon_find_toolbar_emit_search):
1587 Remove find button and change icon of close button.
1589 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1591 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-time-button.c (hildon_time_button_new_step):
1594 Use the "touch-selector" property to set the selector directly
1595 when creating the object.
1597 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1599 Added a new example application that allows tuning the pannable
1600 area and replaced defines with properties in order to simplify the
1601 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1602 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1603 PROP_DIRECTION_ERROR_MARGIN.
1605 * examples/hildon-pannable-area-tuning-example.c: New example
1607 * src/hildon-pannable-area.c,
1608 (hildon_pannable_area_class_init),
1609 (hildon_pannable_area_init),
1610 (hildon_pannable_area_get_property),
1611 (hildon_pannable_area_set_property),
1612 (hildon_pannable_area_launch_fade_timeout),
1613 (hildon_pannable_area_adjust_value_changed),
1614 (hildon_pannable_axis_scroll),
1615 (hildon_pannable_area_motion_notify_cb),
1616 (hildon_pannable_area_scroll_cb),
1617 (hildon_pannable_area_button_release_cb): We have converted some
1618 of the defines that control the widget to properties to simplify
1621 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-app-menu.c (hildon_app_menu_map)
1624 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1625 so it's closed if a new window appears.
1627 Fixes: NB#104485 (Not able to address the call when application
1628 menu is opened at background)
1630 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1633 missing 'break' statement in in 'case' construct to avoid
1636 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1638 * src/hildon-touch-selector-entry.c
1639 (hildon_touch_selector_entry_get_property),
1640 (hildon_touch_selector_entry_set_property): Add missing 'break'
1641 statements in in 'case' constructs to avoid incorrect warnings.
1643 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1645 * src/hildon-time-editor.c
1646 (hildon_time_editor_get_time_separators): Do not crash if
1647 the first label is NULL.
1649 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-date-selector.c (_month_days): Check for month to be
1652 strictly less than 12, since otherwise we may overrun the array.
1654 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-date-button.c (+hildon_date_button_new_full)
1657 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1658 (hildon_date_button_init): Set the date selector using a
1659 construction property, to make it happen after HildonButton's
1660 "value" property is set.
1662 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1663 current date by default)
1665 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1667 * doc/hildon-sections.txt
1668 * src/hildon-program.c
1669 * src/hildon-stackable-window.c
1670 * src/hildon-window.c:
1671 Documentation updates
1673 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1676 (hildon_window_stack_new, +hildon_window_stack_set_property)
1677 (+hildon_window_stack_get_property)
1678 (hildon_window_stack_class_init)
1679 (+hildon_window_stack_set_window_group)
1680 (+hildon_window_stack_get_window_group):
1681 Make the window group a construction property.
1683 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1685 * doc/hildon-sections.txt
1686 * src/hildon-stackable-window-private.h
1687 * src/hildon-stackable-window.h
1688 * src/hildon-stackable-window.c
1689 (-hildon_stackable_window_set_app_menu)
1690 (-hildon_stackable_window_get_app_menu)
1691 (-hildon_stackable_window_toggle_menu)
1692 (-hildon_stackable_window_finalize)
1693 (hildon_stackable_window_class_init)
1694 (hildon_stackable_window_init)
1695 * src/hildon-window-private.h
1696 * src/hildon-window.h
1697 * src/hildon-window.c (hildon_window_init)
1698 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1699 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1700 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1701 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1702 Moved all HildonAppMenu code to HildonWindow. The menu does not
1703 require a HildonStackableWindow anymore.
1705 * src/hildon-app-menu.c
1706 * src/hildon-program.c
1707 * examples/hildon-app-menu-example.c (main):
1708 Update examples and documentation to reflect HildonAppMenu
1711 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-remote-texture.c
1714 * src/hildon-animation-actor.c:
1715 Don't include unused private headers.
1717 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-program-private.h
1720 * src/hildon-program.c
1721 (hildon_program_set_common_menu)
1722 (hildon_program_get_common_menu)
1723 (hildon_program_set_common_app_menu)
1724 (hildon_program_get_common_app_menu):
1725 Change common menu pointers from GtkWidget* to GtkMenu* and
1726 HildonAppMenu* to avoid unnecessary casts.
1728 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-window.c (hildon_window_set_main_menu):
1731 Removed incorrect 'Since:' tag
1733 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1735 * src/hildon-pannable-area.c,
1736 (hildon_pannable_area_calculate_velocity): We use now the
1737 RATIO_TOLERANCE here to check the distance, fixed typo in the
1739 (hildon_pannable_area_motion_notify_cb): We have to set the type
1740 and time even if we are not sending the motion.
1742 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1744 * doc/hildon-sections.txt
1745 * src/hildon-app-menu.h
1746 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1747 (+hildon_app_menu_get_filters): New methods to get the contents of
1750 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1753 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-app-menu.c (hildon_app_menu_popup):
1758 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-window.h
1761 * src/hildon-window.c (+hildon_window_get_main_menu)
1762 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1763 and deprecated hildon_window_get_menu().
1765 * src/hildon-stackable-window.h
1766 * src/hildon-stackable-window.c
1767 (+hildon_stackable_window_set_app_menu)
1768 (+hildon_stackable_window_get_app_menu)
1769 (hildon_stackable_window_set_main_menu): Created
1770 hildon_stackable_window_{get,set}_app_menu() and deprecated
1771 hildon_stackable_window_set_main_menu().
1773 * doc/hildon-sections.txt
1774 * examples/hildon-app-menu-example.c (main)
1775 * src/hildon-app-menu.c
1776 * src/hildon-program.c:
1777 Updated examples and documentation.
1779 Fixes: NB#103758 (No way to obtain a menu from a
1780 HildonStackableWindow)
1782 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1787 * configure.ac: Bump version.
1788 * debian/changelog: Updates.
1790 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1792 * examples/hildon-remote-texture-example.c: Include
1793 hildon-remote-texture.h explicitely.
1794 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1795 applications not defining _XOPEN_SOURCE which don't require this header.
1797 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1799 * doc/hildon-sections.txt
1800 * src/hildon-app-menu.h
1801 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1802 New function to pop up a HildonAppMenu
1804 * src/hildon-stackable-window.c
1805 (hildon_stackable_window_toggle_menu):
1806 Use hildon_app_menu_popup() to show the menu.
1808 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-app-menu.c (hildon_app_menu_show)
1811 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1812 menu if there's another window between it and its parent window.
1814 Fixes: NB#100468 (Application menu window is launched even when a
1815 new secondary-window/dialog is pending to be shown/realized)
1817 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-window-stack.c (hildon_window_stack_push)
1820 (hildon_window_stack_pop_and_push):
1821 Don't forget to push/pop the first window.
1822 Reverse the window list before calling _push_list()
1824 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-picker-button.h
1827 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1828 Remove "value_changed" slot to avoid ABI breakage
1830 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_realize),
1834 (hildon_pannable_area_unrealize),
1835 (hildon_pannable_draw_vscroll),
1836 (hildon_pannable_draw_hscroll): Changed the method to handle the
1837 GC used to draw the transparent scrollbar, this way we avoid
1838 creating the GC all the time when drawing the scrollbars.
1840 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_init),
1844 (hildon_pannable_area_remove): Removed some unnecessary casts.
1845 (hildon_pannable_area_dispose): Disconnected some signals before
1846 releasing the adjustments.
1848 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1851 Make sure that all widgets contained in the toolbar are shown.
1853 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1855 * doc/hildon-sections.txt
1856 * src/hildon-picker-button.h
1857 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1858 (_selection_changed, hildon_picker_button_on_dialog_response)
1859 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1860 New hildon_picker_button_value_changed() method.
1863 * src/hildon-picker-button-private.h
1864 * src/hildon-picker-button.c (hildon_picker_button_init)
1865 (+hildon_picker_button_disable_value_changed): Add protected
1866 function for disabling the "value-changed" signal.
1868 * src/hildon-date-button.c (hildon_date_button_set_date):
1869 Don't emit "value-changed" for each one of the three columns.
1871 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1872 before actual change of values)
1874 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1878 for the treeview overshooting.
1880 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-banner.c (+hildon_banner_bind_style):
1883 Renamed from hildon_banner_bind_label_style(), now naming the
1884 banner itself as well.
1885 (hildon_banner_show_information),
1886 (hildon_banner_show_information_with_markup),
1887 (hildon_banner_show_animation), (hildon_banner_show_progress):
1888 Name the widgets and labels, based on their type.
1890 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1893 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-note.c (hildon_note_set_property): call
1896 hildon_note_rename() on HildonNote:note-type set.
1897 (hildon_note_rename): Name the note and its label, based on the
1898 HildonNote:note-type property.
1900 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1903 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1905 * src/hildon-pannable-area.c,
1906 (hildon_pannable_area_class_init),
1907 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1908 panning parameters, increased SPS and deceleration factor. Added
1909 also a margin to control fake directions.
1911 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1913 Patch by Sven Herzberg (sven@imendio.com)
1915 * configure.ac: Add missing AM_PROG_CC_C_0
1916 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1918 See NB#101420 (Update unit tests and fix make check)
1920 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1922 This patch was applied before but reverted because it caused
1923 problems, we have changed the main condition and tested the
1924 regressions we detected before and they work ok. We have done a
1925 complete review of the topmost algorithm in order to get a more
1928 * src/hildon-pannable-area.c,
1929 (hildon_pannable_area_get_topmost): Added a new parameter to
1930 filter the the windows that do not include those events.
1931 (hildon_pannable_area_button_press_cb),
1932 (hildon_pannable_area_button_release_cb),
1933 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1934 topmost function, we have added the new parameter.
1936 Fixes: NB#97458 (Pannable area prevents propagation of button
1939 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1941 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1942 if all columns in the selector have an item selected.
1943 (_on_dialog_response): Stop "response" signal emission if there is
1944 any selector column without selected items.
1946 Fixes: NB#101889 (Picker dialog should not close when nothing is
1947 selected in multiple selection list)
1949 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-font-selection-dialog.c
1952 (hildon_font_selection_dialog_class_init),
1953 (hildon_font_selection_dialog_init): Remove the preview
1954 button and dialog, since previewing with default theming is likely
1955 to be overcomplicated. The :preview property has now no effect.
1956 Update documentation blurbs to inform about this.
1958 Fixes: NB#92297 (Preview content is not clearly visible for
1959 default colour text)
1961 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1963 Reviewed the geometry that handles the children size and
1964 scrollbar, now it tries a size and reviews the results depending
1965 on the scrollbars visibility.
1967 * src/hildon-pannable-area.c,
1968 (hildon_pannable_area_realize): Fixed a typo.
1969 (hildon_pannable_area_child_allocate_calculate): Added this
1970 function to calculate the child allocation.
1971 (hildon_pannable_area_size_allocate): Reviewed the allocation
1973 (hildon_pannable_area_check_scrollbars),
1974 (hildon_pannable_area_refresh): Refactored refresh function, this
1975 way we can call the code handling the scrollbars without causing a
1976 size_request, it is interesting in the allocate.
1977 (hildon_pannable_area_init): Replace the callbacks of the
1978 value_changed and changed signals to propertly deal with the
1980 (hildon_pannable_area_grab_notify),
1981 (hildon_pannable_area_initial_effect),
1982 (hildon_pannable_area_launch_fade_timeout),
1983 (hildon_pannable_area_adjust_changed),
1984 (hildon_pannable_area_adjust_value_changed),
1985 (hildon_pannable_area_redraw),
1986 (hildon_pannable_area_button_press_cb),
1987 (hildon_pannable_area_button_release_cb),
1988 (hildon_pannable_area_scroll_cb),
1989 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1990 code and use the new functions adjust_changed and
1991 adjust_value_changed.
1993 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1994 Contact editor dialog)
1996 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2001 * configure.ac: Bump version.
2002 * debian/changelog: Updates.
2004 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2006 * src/hildon-pannable-area.c,
2007 (hildon_pannable_area_get_topmost),
2008 (hildon_pannable_area_button_press_cb),
2009 (hildon_pannable_area_button_release_cb),
2010 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2011 topmost function adding the event mask. We have to try a
2012 differente approach because it is still causing problems (NB#9745,
2015 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-banner.c:
2018 Update the maximum width of timed banners.
2019 (force_to_wrap_truncated): Enforce the maximum text width if the
2022 Fixes: NB#102413 (The text margins (wrapping) in information
2023 banner should be HILDON_MARGIN_TRIPLE)
2025 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2027 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2029 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2030 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2031 bound when calculating the scroll indicator position.
2033 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2034 treat ->lower correctly)
2036 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2039 expose event handling, since it is not necessary to draw the focus
2042 Fixes: NB#102467 (Do not show highlight on the text in
2045 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2048 full height of the toolbar for the button and the label.
2050 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2053 padding before the label and after the button.
2055 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2057 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2059 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2060 Add a GtkVSeparator between the button and the back arrow.
2061 Let the button have automatic size.
2062 Set a name to the widget for theming handling.
2064 Fixes: NB#101793 (Make edit toolbar the same height as window
2065 title bar (use title area theming))
2067 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-helper.c (attach_new_color_element): Fix memory
2072 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2074 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2076 * examples/hildon-button-example.c (common_buttons_window): Don't
2079 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2082 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2084 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2086 * src/hildon-gtk.c: Check that the window is realized.
2088 Fixes: NB#102225 (Crash setting the progress indicator to a non
2091 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2093 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2094 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2095 instead of modifying the one in the widget style.
2097 Fixes: NB#101043 (Second row of all the command button are
2098 displayed in transparent mode.)
2100 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2102 * src/hildon-date-button.c
2103 * src/hildon-time-button.c: Add gettext macros
2105 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-date-button.c (hildon_date_button_new):
2108 * src/hildon-time-button.c (hildon_time_button_new_step):
2109 Use new logical strings to set the button default title.
2111 Fixes: NB#99915 (Date and Time options are not localised in Date
2114 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2116 * src/hildon-pannable-area.c
2117 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2118 the PANNING_THRESHOLD.
2120 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_class_init): Increased the maximum speed.
2124 (hildon_pannable_area_get_property),
2125 (hildon_pannable_area_set_property),
2126 (hildon_pannable_area_timeout): Added a new low friction mode, it
2127 allows the user avoid friction when launching the widget fast
2128 enough. It is interesting to traverse long lists.
2130 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2133 (+hildon_stackable_window_delete_event): Ignore delete events if
2134 the window is not the topmost one.
2136 Fixes: NB#101698 (Back button long press and delete-event handling)
2138 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c,
2141 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2142 gtk-dnd-drag-threshold, it was too big. We have defined our own
2143 dnd define and set a smaller value: PANNIG_THRESHOLD.
2145 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2148 user-defined icons, use always the default one.
2150 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2152 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2154 This patch was applied before but reverted because it caused
2155 problems, we have changed the main condition and tested the
2156 regressions we detected before and they work ok.
2158 * src/hildon-pannable-area.c,
2159 (hildon_pannable_area_get_topmost): Added a new parameter to
2160 filter the the windows that do not include those events. Added
2161 also a condition when finding the window to filter windows that do
2162 not ask for those events.
2163 (hildon_pannable_area_button_press_cb),
2164 (hildon_pannable_area_button_release_cb),
2165 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2166 topmost function, we have added the new parameter.
2168 Fixes: NB#97458 (Pannable area prevents propagation of button
2171 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2173 * tests/check-hildon-color-button.c (START_TEST): do not leak
2176 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2178 * src/hildon-font-selection-dialog.c
2179 (hildon_font_selection_dialog_get_preview_text): Return NULL
2180 instead of FALSE on the g_return_val_if_fail().
2182 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2185 * src/hildon-date-selector.c
2186 (hildon_date_selector_select_current_date):
2187 Do not compare unsigned integers to be greater than or equal 0,
2188 because it's always TRUE.
2190 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2193 (hildon_date_selector_constructor): Do not select the current
2194 date until we are handle the "changed" signal, to avoid having bogus
2195 elements in the days model.
2197 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2200 for num_days, since _month_days() can return a negative value.
2202 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-caption.c (hildon_caption_size_allocate):
2205 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2206 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2208 Initialize allocation variables to 0, to avoid eventually using
2209 unitialized variables.
2211 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-bread-crumb-trail.c
2214 (hildon_bread_crumb_trail_size_allocate):
2215 * src/hildon-calendar.c (hildon_calendar_set_background):
2216 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2217 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2218 * src/hildon-seekbar.c (hildon_seekbar_init):
2219 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2220 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2221 * src/hildon-touch-selector-entry.c
2222 (hildon_touch_selector_get_text_from_model):
2223 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2224 * src/hildon-window.c (hildon_window_finalize):
2226 Remove many unused variables.
2228 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2230 * src/hildon-seekbar.c: (hildon_seekbar_init),
2231 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2233 Remove unnecessary g_assert() calls.
2235 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-caption.c: (hildon_caption_expose),
2238 (hildon_caption_set_property), (hildon_caption_init),
2239 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2240 (hildon_caption_size_request), (hildon_caption_size_allocate),
2241 (hildon_caption_forall), (hildon_caption_set_separator),
2242 (hildon_caption_activate), (hildon_caption_set_child_expand),
2243 (hildon_caption_set_label_text),
2244 (hildon_caption_get_label_alignment):
2246 Remove unnecessary g_assert() calls.
2248 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-banner.c
2251 (hildon_banner_map, hildon_banner_init): Make banner temporary
2252 before mapping it to avoid closing other temporary windows, but
2253 make it non-temporary afterwards to avoid being closed by other
2254 non-temporary windows.
2255 (-hildon_banner_client_event, hildon_banner_init):
2256 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2258 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2261 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2266 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2268 * src/hildon-remote-texture.c
2269 * src/hildon-remote-texture.h
2270 * src/hildon-remote-texture-private.h
2271 * examples/hildon-remote-texture-example.c:
2272 Updates/fixes to remote-texture and its example.
2274 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2276 Patch by Mox Soini (ext-mox.soini@nokia.com)
2278 * src/hildon-code-dialog.c: Update logical id.
2279 * src/hildon-set-password-dialog.c: Update logical id.
2281 Fixes: NB#100646 (Logical strings is shown for ok in set
2282 password,Password needed dialogs)
2284 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2287 * src/hildon-remote-texture.c
2288 * src/hildon-remote-texture.h
2289 * src/hildon-remote-texture-private.h
2291 Added remote texture widget (for Clutter shared memory textures)
2293 * examples/hildon-remote-texture-example.c
2294 * examples/Makefile.am
2295 Added example file for remote texture usage
2297 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2299 * configure.ac: post release version bump.
2300 * debian/changelog: version bump.
2302 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2307 * configure.ac: Bump version.
2308 * debian/changelog: Updates.
2310 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-date-selector.c (hildon_date_selector_init)
2313 (hildon_date_selector_constructor): Don't connect to the "changed"
2314 signal until the selector is completely constructed.
2316 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-touch-selector.c: (_create_new_column),
2319 (hildon_touch_selector_append_column),
2320 (hildon_touch_selector_set_column_selection_mode),
2321 (hildon_touch_selector_set_active),
2322 (hildon_touch_selector_select_iter):
2323 Emit the HildonTouchSelector::changed signal every time selection
2324 is changed in any of the methods above. This behavior was already
2325 documented but not fully functional.
2327 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2328 selection is programmatically changed)
2330 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2332 * doc/hildon-sections.txt: Remove obsolete icon
2333 sizes from here as well.
2335 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2337 * examples/hildon-stackable-window-example.c (add_window): Remove
2340 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-app-menu.c
2343 (hildon_app_menu_show): Check whether the parent window of a menu
2344 is topmost before popping it up.
2346 Fixes: NB#100468 (Application menu window is launched even when a
2347 new secondary-window/dialog is pending to be shown/realized.)
2349 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2351 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2354 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2356 Patch by Mox Soini (ext-mox.soini@nokia.com)
2358 * src/hildon-banner.c: (hildon_banner_show_animation):
2359 use stylus size instead of obsolete note size.
2360 * src/hildon-defines.h: Update icon sizes.
2362 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-touch-selector-entry.c:
2365 (hildon_touch_selector_entry_init): Disable unsupported
2367 (hildon_touch_selector_entry_get_text_column): Emit a warning
2368 if an unsupported input modes is used and explicitile state
2369 these modes in the documentation.
2371 Fixes: NB#99802 (Hildon touch selector entry not working properly
2372 for some of the input modes)
2374 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2376 * src/hildon-pannable-area.c,
2377 (hildon_pannable_area_init): Added the changed signal handlers of
2380 Fixes: NB#100320 (HildonPannableArea does not listen to
2381 GtkAdjustment "change" signals)
2383 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2385 * doc/hildon-sections.txt
2386 * src/hildon-window-private.h
2387 * src/hildon-window.h
2388 * src/hildon-window.c (hildon_window_init)
2389 (hildon_window_realize, hildon_window_unrealize)
2390 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2391 (hildon_window_size_request, hildon_window_size_allocate)
2392 (hildon_window_forall, hildon_window_show_all)
2393 (hildon_window_destroy, +paint_edit_toolbar)
2394 (+hildon_window_set_edit_toolbar):
2395 New hildon_window_set_edit_toolbar() method, to add a
2396 HildonEditToolbar to a window without having to pack it manually.
2398 Reorganize hildon_window_size_allocate()
2400 * src/hildon-edit-toolbar.c: Update documentation.
2402 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2403 example to use the new API.
2405 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2407 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2410 Remove from stack before calling parent's hide.
2412 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2415 window is removed from the middle of the stack, update the
2416 transiency of the previous one.
2418 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2421 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2424 block/unblock the signal handler if it's not actually being used.
2425 Fixes some critical warnings.
2427 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2429 Based on a patch by Iván Gómez (igomez@igalia.com)
2431 * src/hildon-banner.c
2435 * src/hildon-pannable-area.c
2436 * src/hildon-picker-dialog.c
2437 * src/hildon-wizard-dialog.h
2438 * src/hildon-wizard-dialog.c: Documentation updates.
2440 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2441 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2443 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2445 * configure.ac: post release version bump.
2446 * debian/changelog: version bump.
2448 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2453 * configure.ac: Bump version.
2454 * debian/changelog: Updates.
2456 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2459 a stock icon nor change the relief of the back arrow.
2461 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2462 graphics from theme)
2464 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2466 * src/hildon-button.c (hildon_button_set_alignment): Use
2467 priv->alignment if the button has no child yet.
2469 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-button.c: (hildon_button_init): Set the
2472 button style during initialization to give it the proper
2475 Fixes: NB#99713 (HildonButton value label color is wrong)
2477 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-touch-selector.c: Document
2480 hildon_touch_selector_center_on_selected()
2482 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2485 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2486 all menu items, but not the menu itself.
2487 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2488 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2489 items after adding them to the menu so keyboard accelerators work.
2490 (hildon_app_menu_show): Don't show the menu if it contains items
2491 but none of them are visible.
2493 * examples/hildon-app-menu-example.c (create_menu): Use
2494 gtk_widget_show_all() to show all menu items.
2496 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-picker-dialog.c:
2499 (-_update_title_on_selector_changed_cb),
2500 (-_dialog_update_title): Removed.
2501 (_select_on_selector_changed_cb), (_on_dialog_response),
2502 (on_selector_columns_changed): Do not update the dialog title.
2503 (setup_interaction_mode): Do not connect to
2504 HildonTouchSelector::changed signal if there's a "done" button, as
2505 the dialog title doesn't need to be updated.
2507 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2510 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2512 Patch by Kristian Rietveld (kris@imendio.com)
2514 * src/hildon-touch-selector.c: (_create_new_column): Use new
2515 GtkTreeView::hildon-row-tapped signal to react to user interactions
2516 instead of ::changed.
2518 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2519 with some dynamic tree model)
2521 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2524 (+screen_size_changed, +label_size_request)
2525 (hildon_note_class_init): Make the Hildon information note have a
2526 minimum height, and make its text hvae a maximum width.
2528 Fixes: NB#98614 (Hildon information note (background) should have
2529 minimum height and maximum text width)
2531 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-banner.h
2534 * src/hildon-banner.c (hildon_banner_show_information)
2535 (hildon_banner_show_informationf)
2536 (hildon_banner_show_information_with_markup): Update documentation
2537 to reflect that the icon_name parameter is not used anymore.
2538 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2539 Remove all code from these functions and mark them as deprecated.
2540 (hildon_banner_show_progress): Mark as deprecated.
2542 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2544 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2546 * src/hildon-pannable-area.c,
2547 (hildon_pannable_area_class_init),
2548 (tranparency_color),
2549 (hildon_pannable_draw_vscroll),
2550 (hildon_pannable_draw_hscroll),
2551 (hildon_pannable_area_expose_event): Added a new way to render the
2552 scrollbars of the pannable area avoiding using cairo at all. This
2553 way we improve the performance of the pannable area rendering. The
2554 cairo rendering procedure is still in the code, we can control
2555 which one to use changing the value of the define
2556 USE_CAIRO_SCROLLBARS.
2558 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2560 * configure.ac: post release version bump.
2561 * debian/changelog: version bump.
2563 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2568 * configure.ac: Bump version.
2569 * debian/changelog: Updates.
2571 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2574 banners instead of destroying them when they receive a button
2577 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2579 Reverted commit 34028, it was causing regressions, probably the
2580 topmost condition is not correct, we have to check it in more
2581 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2582 propagation of button press events)
2584 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2586 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2587 that the selection is not empty before attempting to retrieve the
2588 current ampm selection.
2590 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-picker-button.c:
2593 (hildon_picker_button_on_dialog_response): Directly update the
2594 button contents when required instead of calling _selection_changed.
2596 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-program.c (hildon_program_update_top_most): Update
2599 'is-topmost' property also when wm_hints is not set.
2601 Fixes: NB#98383 (is-topmost signal is not emitted when task
2602 switcher is clicked.)
2604 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2606 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2610 * src/hildon-animation-actor.c,
2611 * src/hildon-animation-actor.h: Added the animation actor class,
2612 this widget represents an animation actor for WM-assisted
2613 animation effects in the Hildon framework.
2615 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-window-stack-private.h
2618 * src/hildon-window-stack.c
2619 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2620 Avoid calling gtk_widget_show() again indirectly from
2621 hildon_stackable_window_show()
2623 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2628 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2631 (hildon_time_selector_init): Move the construction of the hours and
2632 ampm columns to the constructor to preserve the order the columns
2635 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-picker-dialog.c:
2638 (hildon_picker_dialog_class_init): Connect a realize method.
2639 (+hildon_picker_dialog_realize): Setup the interaction mode here
2641 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2642 yet, do it during the realize instead.
2643 (_on_dialog_response):
2644 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2645 if the widget is not realized, to avoid the dialog response before it
2648 Avoid premature responses in the HildonPickerDialog that can cause it
2649 to be hidden before it's even shown.
2651 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2654 (on_selector_columns_changed), (requires_done_button),
2655 (+prepare_action_area), (setup_interaction_mode),
2656 (_hildon_picker_dialog_set_selector):
2658 Split the interaction mode setup into preparation of the
2659 action area (prepare_action_area()) and the connection of
2660 the signals in setup_interaction_mode() and update the code to
2663 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2665 * src/hildon-pannable-area.c,
2666 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2667 per second to 15, we will check if this is ok regarding
2670 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2672 * src/hildon-pannable-area.c,
2673 (hildon_pannable_axis_scroll): Avoid resize if we already have
2674 reached overshoot_max.
2676 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2678 * src/hildon-pannable-area.c,
2679 (hildon_pannable_area_init),
2680 (hildon_pannable_area_realize),
2681 (hildon_pannable_area_size_allocate),
2682 (hildon_pannable_area_map),
2683 (hildon_pannable_area_unmap),
2684 (hildon_pannable_draw_vscroll),
2685 (hildon_pannable_draw_hscroll),
2686 (hildon_pannable_area_expose_event),
2687 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2688 pannable are to avoid the expose events go to the window and
2689 redraw the window. We save this way that part of the stack and the
2690 paint_boxes. We had to change the positions of the elements when
2693 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2696 * src/hildon-color-chooser-dialog.c:
2697 (hildon_color_chooser_dialog_init):
2698 * src/hildon-font-selection-dialog.c:
2699 (hildon_font_selection_dialog_init),
2700 (hildon_font_selection_dialog_show_preview):
2701 * src/hildon-get-password-dialog.c:
2702 * src/hildon-login-dialog.c:
2703 * src/hildon-set-password-dialog.c:
2704 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2705 * src/hildon-time-picker.c: (hildon_time_picker_init):
2707 Remove obsolete logical string IDs and update to the appropriate ones.
2709 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2711 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2713 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2714 that happens if the window hasn't been realized yet.
2716 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2717 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2719 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2722 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2725 Fixes: NB#98537 (Device hangs in account settings dialog)
2727 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2729 * configure.ac: post release version bump.
2730 * debian/changelog: version bump
2732 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2737 * configure.ac: Bump version.
2738 * debian/changelog: Updates.
2740 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2742 Added a new function to the HildonTimeButton widget that allows to
2743 change the step of the minutes in the selector associated with the
2744 button: hildon_time_button_new_step
2746 * src/hildon-time-button.c,
2747 (hildon_time_button_init),
2748 (hildon_time_button_new),
2749 (hildon_time_button_new_step):
2750 * src/hildon-time-button.h: Added the new function and refactored
2752 * examples/hildon-time-button-example.c,
2753 (main): We have replaced the function without parameters with the
2754 function with the steps set to 5
2756 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2758 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2760 * src/hildon-time-selector.c,
2761 (hildon_time_selector_class_init),
2762 (hildon_time_selector_constructor),
2763 (hildon_time_selector_get_property),
2764 (hildon_time_selector_set_property),
2765 (_create_minutes_model),
2766 (hildon_time_selector_new_step),
2767 (hildon_time_selector_set_time),
2768 * src/hildon-time-selector.h: Added a new property to the
2769 HildonTimeSelector (minutes-step), we use that property to control
2770 the steps between the minutes in the list of the selector. We have
2771 added a new function to the API to create a widget changing the
2772 step: hildon_time_selector_new_step.
2774 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2776 * src/hildon-time-selector.c,
2777 (hildon_time_selector_class_init),
2778 (hildon_time_selector_constructor),
2779 (hildon_time_selector_init): Overrided the construct function when
2780 creating the time selector object. We have moved the minutes model
2781 handling code from the init to the new construction function:
2782 hildon_time_selector_constructor.
2784 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2786 * examples/hildon-date-button-example.c: (main): Use the new
2787 hildon_date_button_new_with_year_range() method in the example.
2788 * src/hildon-date-button.c:
2789 (+hildon_date_button_new_with_year_range): New public method
2790 to conveniently create a HildonDateButton with a custom year range
2791 in its HildonDateSelector.
2792 * src/hildon-date-button.h: Add the new public method definition.
2794 Fixes: NB#97908 (Not possible to change the year range in
2795 HildonDateSelector/HildonDateButton)
2797 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/hildon-date-selector.c:
2800 (+hildon_date_selector_set_property),
2801 (+hildon_date_selector_get_property),
2802 (hildon_date_selector_class_init): Install new properties "min-year"
2803 and "max-year" to define boundaries for the year column.
2804 (_create_year_model): Use the boundary properties to populate the model.
2805 (+hildon_date_selector_new_with_year_range): New public method to
2806 create a HildonDateSelector with a user defined year range.
2807 (hildon_date_selector_select_current_date): Use the new boundaries to
2808 calculate the iterator of current year.
2809 * src/hildon-date-selector.h: Add the new public method definition.
2811 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2814 Install a constructor method.
2815 (+hildon_date_selector_construct_ui): construct the widget.
2816 (+hildon_date_selector_constructor): new constructor.
2817 (+hildon_date_selector_init): move out widget construction code to
2818 the new constructor.
2820 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2823 that there's actually a month or year selected before obtaining them.
2824 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2825 of the HildonTouchSelector::changed signal, as it was emitted on every
2826 single item selection.
2828 Fix some warnings and possible crashers due to the selection restoring.
2830 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2833 the signal handlers only after creating the dialog instead of on every
2836 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-button.c (hildon_button_init)
2839 * src/hildon-check-button.c (hildon_check_button_init)
2840 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2841 focus when clicked by default.
2843 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2845 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2848 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2850 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2851 Alejandro G. Castro (alex@igalia.com)
2853 * src/hildon-picker-dialog.c:
2854 (hildon_picker_dialog_class_init): install new "center-on-show"
2856 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2857 (hildon_picker_dialog_set_property): add setter code for the new
2859 (hildon_picker_dialog_get_property): add getter code for the new
2861 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2862 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2865 Fixes: NB#92849 (Selected item is not always visible when
2866 HildonTouchSelector is shown)
2868 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2870 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2871 Alejandro G. Castro (alex@igalia.com)
2873 * src/hildon-touch-selector.c:
2874 (_create_new_column): Do not connect to the "realize" signal of the
2876 (hildon_touch_selector_append_column): center on the selected items
2877 when a new column is appended.
2878 (hildon_touch_selector_select_iter): Factor out the code to select a
2879 column to hildon_touch_selector_scroll_to().
2880 (+search_nearest_element): Method to retrieve the nearest selected
2881 element to the visible area of the pannable area in a column.
2882 (+on_realize_cb): scroll to the initially selected item.
2883 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2884 the pannable area is realized, otherwise delay this until it is.
2885 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2886 selected items of a given column.
2887 (+hildon_touch_selector_center_on_selected): Public method to center
2888 all columns on the nearest selected item.
2889 * src/hildon-touch-selector.h: Add definition for
2890 hildon_touch_selector_center_on_selected().
2892 Implement public API to ensure visibility of all selected items in
2893 a HildonTouchSelector.
2895 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2897 Fixed a problem in the fading when calling the scroll_to API, and
2898 improve scrollbar fading handling.
2900 * src/hildon-pannable-area.c,
2901 (hildon_pannable_area_grab_notify): avoid the timeout when the
2903 (hildon_pannable_area_button_press_cb),
2904 (hildon_pannable_area_motion_notify_cb): Code style changes.
2905 (hildon_pannable_area_button_release_cb): Review the conditions
2906 when releasing the mouse button to avoid unrequired fading
2908 (hildon_pannable_area_scroll_to): Do not calculate and set the
2909 velocity if the scroll is not required.
2911 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2913 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2914 Don't check whether the new selector is NULL: it cannot be.
2915 Hold a reference to the selector while doing the replacement.
2917 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2919 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2920 unnecessary size_request in a removed widget.
2922 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2925 an unnecessary reference tracking that was leaking.
2927 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2929 Added delayed motion notify event handling, this way we can
2930 discard redrawing if more than 25 events arrive per second.
2932 * src/hildon-pannable-area.c,
2933 (hildon_pannable_area_init): Initialized the new private atributes
2934 controlling this timeout
2935 (hildon_pannable_area_dispose): Remove the timeout that controls
2936 the motion notify events.
2937 (hildon_pannable_area_scroll): Added a condition to control the
2938 use of the acceleration.
2939 (hildon_pannable_area_motion_event_scroll_timeout),
2940 (hildon_pannable_area_motion_event_scroll): Added this two
2941 functions, they handle the motion notify events inside the
2943 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2944 to the scroll method with the new function.
2945 (hildon_pannable_area_button_release_cb): We have to remove the
2946 timeout handler and move to the last position if the last motion
2947 events were not handled.
2949 Fixes: NB#97028 (Pannable area updates on every motion event)
2951 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2953 * src/hildon-pannable-area.c,
2954 (hildon_pannable_area_get_topmost): Added a new parameter to
2955 filter the the windows that do not include those events. Added
2956 also a condition when finding the window to filter windows that do
2957 not ask for those events.
2958 (hildon_pannable_area_button_press_cb),
2959 (hildon_pannable_area_button_release_cb),
2960 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2961 topmost function, we have added the new parameter.
2963 Fixes: NB#97458 (Pannable area prevents propagation of button
2966 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2968 * src/hildon-pannable-area.c,
2969 (hildon_pannable_area_initial_effect): Added controls before
2970 launching the timeout and the idle functions.
2971 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2972 of the method, in some situations it can return with TRUE and 0 in
2974 (hildon_pannable_area_button_press_cb): We do not need to set
2975 DELAY for fading out here.
2977 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2979 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2982 post-cleaning if the selection is not NULL.
2984 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2987 all items before restoring the selection.
2989 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-touch-selector.c:
2992 (+hildon_touch_selector_unselect_all):
2993 * src/hildon-touch-selector.h: New API to unselect all items in a
2994 column of the touch selector.
2996 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2998 * src/hildon-pannable-area.c,
2999 (hildon_pannable_area_redraw): Added a call to the refresh
3000 function inside the redraw because apparently in some cases the
3001 change in the adjustment does not imply a size allocate.
3003 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3004 despite the view not being scrollable)
3006 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3009 leak. Check for NULL before attempting to set the window title.
3011 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3014 whether to show or not the 'Done' button each time the dialog is
3015 shown, as it depends on the HildonTouchSelector selection mode.
3017 Fixes: NB#96226 (In multiple selection mode Done button is shown
3018 sometimes in listpicker)
3020 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3023 for the number of columns in the HildonTouchSelector more than once.
3025 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-touch-selector.c: Minor documentation fixes.
3029 * src/hildon-picker-dialog.c (+_dialog_update_title)
3030 (_select_on_selector_changed_cb)
3031 (_update_title_on_selector_changed_cb)
3032 (on_selector_columns_changed): Update dialog title when there's no
3033 'Done' button and also when the number of columns in the selector
3037 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3038 (+_selection_changed, hildon_picker_button_on_dialog_response)
3039 (hildon_picker_button_selector_selection_changed)
3040 (+hildon_picker_button_selector_columns_changed)
3041 (hildon_picker_button_set_selector): Update button value and emit
3042 'value-changed' when the number of columns in the selector
3046 Fixes: NB#96225 (Dialog titles are not shown according to the
3047 values selected in the list picker)
3049 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3052 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3053 New "arrow-width" and "arrow-height" style properties to set the
3054 size of the arrow button.
3055 Set name of arrow button ("hildon-edit-toolbar-arrow").
3057 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3058 graphics from theme)
3060 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-picker-button.c:
3063 (hildon_picker_button_selector_selection_changed): Use
3064 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3065 the dialog is present.
3067 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3068 the selection is accepted in the dialog)
3070 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-color-chooser.h
3073 * src/hildon-color-chooser-dialog.h:
3074 Added G_BEGIN_DECLS and G_END_DECLS
3076 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3078 (_clean_current_selection): plug a leak in the list.
3080 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-picker-dialog.c:
3083 (+free_path_list): Method to free a GList of GtkTreePaths.
3084 (_clean_current_selection), (_save_current_selection),
3085 (_restore_current_selection): Save the current selection in
3086 as a list of lists, to support multiple selection properly.
3088 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3090 patch by Claudio Saavedra (csaavedra@igalia.com)
3092 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3093 Store the press position.
3094 (+hildon_text_view_button_release_event): If the release position is
3095 close enough to the press position, move the cursor here. Otherwise,
3097 (hildon_text_view_class_init): Override GtkTextView press, release, and
3098 motion event handlers, disabling this way text selection through
3099 pointer interaction, and allowing the container widget to handle the
3102 Fixes: NB#95828 (HildonTextView functionality)
3104 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3106 Based on a patch by Iván Gómez (igomez@igalia.com)
3108 * src/hildon-button.[ch]
3109 * src/hildon-calendar.c
3110 * src/hildon-check-button.c
3111 * src/hildon-date-editor.c
3112 * src/hildon-date-selector.c
3113 * src/hildon-picker-button.c
3114 * src/hildon-time-editor.c
3115 * src/hildon-time-selector.c
3116 * src/hildon-touch-selector.[ch]:
3117 Documentation updates
3119 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3121 * src/hildon-pannable-area.c,
3122 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3123 threshold, it was required due to X events handling.
3125 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3127 * src/hildon-pannable-area.c,
3128 (hildon_pannable_area_grab_notify),
3129 (hildon_pannable_area_initial_effect),
3130 (hildon_pannable_area_button_press_cb),
3131 (hildon_pannable_area_button_release_cb),
3132 (hildon_pannable_area_scroll_cb),
3133 (hildon_pannable_area_scroll_to): Review the timeout management of
3134 the scrollbar, the frecuency was incorrectly set.
3136 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-picker-button.c:
3139 (+hildon_picker_button_on_dialog_response),
3140 (hildon_picker_button_clicked): Present the dialog instead of
3141 running it with gtk_dialog_run().
3143 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3146 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3149 (hildon_app_menu_finalize): When a window is hidden it doesn't
3150 emit notify::is-topmost, so make sure than the menu also
3151 disappears in that case.
3152 (parent_window_topmost_notify): Renamed from parent_window_hidden
3154 Fixes: NB#94460 (stackable window's menu is not closed when its
3157 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-touch-selector-entry.c:
3160 (+hildon_touch_selector_entry_set_input_mode),
3161 (+hildon_touch_selector_entry_get_input_mode):
3162 * src/hildon-touch-selector-entry.h: New methods to access the input
3163 mode in the selector's entry.
3165 Fixes: NB#93410 (API required for setting IM mode in
3166 HildonTouchSelectorEntry)
3168 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3170 * configure.ac: post release version bump.
3171 * debian/changelog: version bump
3173 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3178 * configure.ac: Bump version.
3179 * debian/changelog: Updates.
3181 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3183 * src/hildon-touch-selector.c:
3184 (_hildon_touch_selector_has_multiple_selection): No need
3185 to initialize the variables here.
3187 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-note-private.h
3190 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3191 (hildon_note_finalize, hildon_note_rebuild): Close information
3192 notes when they receive a button press.
3194 Fixes: NB#89890 (Information notes does not get disappeared after
3197 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3200 mark from the wizard title, as it's not really necessary. Also,
3201 do not display the page title if not set.
3203 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3206 (parent_window_hidden): Use the window's "is-topmost" property to
3207 detect when to hide the menu.
3209 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3212 (hildon_app_menu_finalize): If the parent window of the menu is
3213 hidden, hide the menu too.
3215 Fixes: NB#94460 (stackable window's menu is not closed when its
3218 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3221 * debian/libhildon1-examples.install
3223 * examples/Makefile.am:
3224 Use dh_install to install all examples.
3225 Use DEB_SRCDIR instead of defining SOURCE_DIR
3227 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3229 * configure.ac: post release version bump.
3230 * debian/changelog: version bump
3232 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3237 * configure.ac: bump version
3238 * debian/changelog: updates
3239 * debian/control: bump gtk+ dependency
3241 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3243 patch by Christian Dywan (christian@imendio.com)
3245 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3246 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3248 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-check-button.c (hildon_check_button_init)
3251 (hildon_check_button_class_init, hildon_check_button_style_set)
3252 (hildon_check_button_apply_style):
3253 New "checkbox-size" style property.
3255 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3256 larger / configurable size)
3258 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3260 * configure.ac: post release version bump.
3261 * debian/changelog: version bump
3263 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3268 * configure.ac: bump version
3269 * debian/changelog: updates
3271 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3273 * doc/hildon-sections.txt
3274 * src/hildon-pannable-area.c
3275 * src/hildon-program.c
3276 * src/hildon-time-editor.c
3277 * src/hildon-touch-selector-entry.c:
3279 More documentation updates.
3281 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3283 * doc/hildon-sections.txt
3284 * src/hildon-caption.c
3285 * src/hildon-code-dialog.c
3286 * src/hildon-color-button.c
3287 * src/hildon-controlbar.c
3288 * src/hildon-date-editor.c
3289 * src/hildon-date-selector.c
3290 * src/hildon-edit-toolbar.c
3291 * src/hildon-find-toolbar.c
3292 * src/hildon-font-selection-dialog.c
3294 * src/hildon-program.c
3295 * src/hildon-range-editor.c
3296 * src/hildon-seekbar.c
3297 * src/hildon-time-editor.c
3298 * src/hildon-time-selector.c
3299 * src/hildon-volumebar-range.c
3300 * src/hildon-volumebar.c
3301 * src/hildon-vvolumebar.c
3302 * src/hildon-weekday-picker.c
3303 * src/hildon-window.c
3304 * src/hildon-wizard-dialog.c:
3306 Lots of documentation fixes.
3308 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3310 Patch contributed by Iván Gómez (igomez@igalia.com)
3312 * src/hildon-check-button.c:
3313 * src/hildon-date-button.c:
3314 * src/hildon-date-selector.c:
3315 * src/hildon-dialog.c:
3316 * src/hildon-edit-toolbar.c:
3317 * src/hildon-entry.c:
3318 * src/hildon-picker-button.c:
3319 * src/hildon-program.c:
3320 * src/hildon-text-view.c:
3321 * src/hildon-time-button.c:
3322 * src/hildon-touch-selector-entry.c:
3323 * src/hildon-window-stack.c:
3325 Add more "since" tags to the new API.
3327 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3329 * doc/hildon-sections.txt: Add below method.
3330 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3331 version for the hildonized scale.
3332 * src/hildon-gtk.h: Add the definition.
3334 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3336 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3338 * doc/hildon-sections.txt: Add missing entries for new methods.
3340 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3342 Added API to pannable are in order to get its adjustments. We
3343 added two properties to manage the values we had in the private
3346 * src/hildon-pannable-area.c:
3347 (hildon_pannable_area_class_init): Added hadjustment and
3348 vadjustment properties in order to expose horizontal and vertical
3350 (hildon_pannable_area_get_property),
3351 (hildon_pannable_area_set_property): Added code to handle the new
3353 (hildon_pannable_area_get_hadjustment),
3354 (hildon_pannable_area_get_vadjustment): API functions to get the
3356 * src/hildon-pannable-area.h:
3357 (hildon_pannable_area_get_hadjustment),
3358 (hildon_pannable_area_get_vadjustment): API functions to get the
3361 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3363 Fixed some leaks, after valgrinding.
3365 * src/hildon-touch-selector.c:
3366 (_default_print_func): Fixed a leak.
3367 (hildon_touch_selector_append_column): Fixed a leak.
3368 * src/hildon-date-button.c:
3369 (hildon_date_button_init): Fixed a leak.
3370 * src/hildon-date-selector.c
3371 (hildon_date_selector_finalize): Fixed a leak.
3373 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3375 Based on a patch by Christian Dywan (christian@imendio.com)
3377 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3379 * src/hildon-gtk.h: Add definition.
3381 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3383 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-picker-button.c: (hildon_picker_button_init),
3386 (hildon_picker_button_new): Set the HildonButton::style property
3387 in the init method, to propagate the value to the derived classes.
3389 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3391 * src/hildon-button.c: (hildon_button_class_init): Do not make
3392 the "style" property a construct property.
3394 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-wizard-dialog.h
3397 * src/hildon-wizard-dialog.c
3398 (hildon_wizard_dialog_set_forward_page_func)
3399 * src/hildon-pannable-area.h
3400 * src/hildon-pannable-area.c
3401 (hildon_pannable_area_set_size_request_policy):
3402 Documentation fixes.
3404 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3406 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3408 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3410 * doc/hildon-sections.txt: Added sections file.
3412 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/*.[ch]: Updates.
3417 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3419 * examples/hildon-progress-indicator-example.c: new file
3420 * examples/Makefile.am: include the new example program
3422 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3426 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3428 * configure.ac: post release version bump
3429 * debian/changelog: version bump
3431 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3436 * configure.ac: bump version
3437 * debian/changelog: updates
3438 * debian/control: bump gtk+ dependency
3440 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-dialog.c: Mark as deprecated.
3443 * src/hildon-dialog.h: Mark as deprecated.
3444 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3445 from HildonDialog and still work, even if
3446 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3447 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3449 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3450 maemo changes) instead)
3452 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3454 * src/hildon-pannable_area.h:
3455 * src/hildon-pannable_area.c:
3456 (hildon_pannable_area_class_init),
3457 (hildon_pannable_area_set_property),
3458 (hildon_pannable_area_get_property),
3459 (hildon_pannable_area_size_request),
3460 (hildon_pannable_area_get_size_request_policy),
3461 (hildon_pannable_area_set_size_request_policy): Added new API
3462 allowing applications to control the request policy. Now they can
3463 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3464 children allocation (HILDON_MOVEMENT_CHILDREN).
3466 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3470 (hildon_gtk_tree_view_set_ui_mode)
3471 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3472 mode of treeviews and iconviews.
3474 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-touch-selector-entry.c:
3477 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3478 of a GtkEntry to get proper theming.
3480 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3481 widget, not GtkEntry)
3483 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3485 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3486 no HildonWizardDialogPageFunc.
3488 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3490 Patch contributed by Iván Gómez (igomez@igalia.com)
3492 * src/hildon-app-menu.c:
3493 * src/hildon-button.c:
3494 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3495 * src/hildon-stackable-window.c:
3496 * src/hildon-time-selector.c:
3497 * src/hildon-touch-selector.c:
3498 * src/hildon-window.c:
3500 Add more "since" tags to the new API in hildon 2.2.
3502 2008-12-05 Tim Janik <timj@imendio.com>
3504 Patch contributed by Christian Dywan (christian@imendio.com)
3506 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3507 HildonSizeType, which are supplied by Gtk+ now.
3509 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3511 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3512 (with maemo changes) instead)
3514 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3516 Patch contributed by Iván Gómez (igomez@igalia.com)
3518 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3521 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3523 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3524 (some_page_func), (main): Update the example to use a
3525 HildonWizardDialogPageFunc function.
3527 * src/hildon-wizard-dialog-private.h: Add private data for
3528 the HildonWizardDialogPageFunc function usage.
3530 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3531 (destroy), (hildon_wizard_dialog_init), (response),
3532 (hildon_wizard_dialog_set_forward_page_func):
3533 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3534 that applications can use to stop a HildonWizardDialog to jump to
3537 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3540 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-program.h
3543 * src/hildon-program-private.h
3544 * src/hildon-program.c (hildon_program_init)
3545 (hildon_program_set_common_app_menu)
3546 (hildon_program_get_common_app_menu):
3547 New API for setting a common HildonAppMenu for all
3548 HildonStackableWindows registered with the HildonProgram.
3550 * src/hildon-stackable-window.c
3551 (hildon_stackable_window_toggle_menu):
3552 Use the common HildonAppMenu if a window doesn't have a specific
3555 * src/hildon-app-menu-private.h
3556 * src/hildon-app-menu.c
3557 (hildon_app_menu_get_parent_window):
3558 Function to obtain the window a HildonAppMenu is attached to.
3559 (hildon_app_menu_set_parent_window):
3560 Hide the menu if the parent window is set to NULL.
3562 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3565 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3566 search widget to popup.
3568 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3570 * configure.ac: post release version bump
3571 * debian/changelog: version bump
3573 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3578 * configure.ac: bump version
3579 * debian/changelog: updates
3581 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3583 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3585 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3586 (hildon_window_stack_window_realized)
3587 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3588 Set the leader GdkWindow when a window is stacked and realized,
3589 unset it when it's unstacked.
3590 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3592 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3594 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-stackable-window.h
3597 * src/hildon-window-stack.h:
3598 Protect definition of HildonWindowStack using the preprocessor.
3600 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3602 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3603 Fix warning if all menu items are hidden.
3605 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3607 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3609 * src/hildon-controlbar.c:
3610 * src/hildon-hvolumebar.c:
3611 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3612 Multiple scale size defines updates.
3614 Fixes: NB#94322 (Scale Updates)
3616 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3618 * examples/hildon-app-menu-example.c (create_menu)
3619 Show items after adding them to the menu, as in the future the
3620 menu will no longer call gtk_widget_show() on the added items.
3622 * src/hildon-app-menu.c:
3623 Update example as explained above.
3625 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-app-menu.c
3628 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3629 Make sure that all menu items have finger height.
3631 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3633 * src/hildon-picker-dialog.c:
3634 (_on_dialog_response), (_save_current_selection),
3635 (_restore_current_selection), (_clean_current_selection),
3636 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3637 Defined new functions in order to save the current internal selector
3638 selection previous open the dialog, in case that the use cancel the
3639 interaction, so the widget restores the previous selection.
3641 Fixes: NB#92032 (In calendar application, date values in 'new event'
3644 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3646 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-button.c: Add a reference to the button examples in
3649 hildon-button-example.c
3651 * examples/hildon-button-example.c: Added examples of the most
3652 common button layouts.
3654 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-app-menu.c (hildon_app_menu_show)
3657 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3659 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3661 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-picker-dialog.c:
3664 (hildon_picker_dialog_init): Initialize the signal id for
3665 HildonTouchSelector::columns-changed.
3666 (+on_selector_columns_changed): Set up the interaction mode everytime a
3667 column is added or removed from the HildonTouchSelector.
3668 (_hildon_picker_dialog_set_selector): Connect to
3669 HildonTouchSelector::columns-changed and keep track of it.
3671 Make sure to update the interaction mode of the dialog everytime a
3672 column is added or removed in the HildonTouchSelector.
3674 Fixes: NB#93228 (Done button is not shown always in listpicker)
3676 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3678 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3679 a new ::columns-changed signal.
3680 (hildon_touch_selector_append_column): Emit ::columns-changed.
3681 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3683 Add a ::columns-changed signal, emitted when the number of columns in a
3684 HildonTouchSelector changes.
3686 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3688 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3689 (_hildon_picker_dialog_set_selector): Factor out the code
3690 to set up the dialog interaction mode.
3692 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3695 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3696 to signal_changed_id.
3698 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3700 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3703 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3705 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3706 Updated the logical ids related to ampm format, as now it is required to
3707 show it correctly localized even on languages with no default
3708 abbreviations for am or pm
3709 (_check_am_pm_format): check correctly the 24h format gconf property
3711 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3713 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-button.c: Documentation updates.
3717 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3720 * src/hildon-caption.c: (hildon_caption_class_init):
3721 * src/hildon-color-button.c: (hildon_color_button_class_init):
3722 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3723 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3724 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3725 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3727 Remove deprecated GTK+ marshalers and replace them with the ones
3728 provided by GLib, for those available, add a marshaler for
3729 BOOLEAN:VOID, which is not available in GLib, and use it.
3731 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3734 the text from the previous column if there is no
3735 HildonTouchSelectorColumn::text-property set.
3737 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-button.h
3740 * src/hildon-button.c (hildon_button_set_property)
3741 (hildon_button_get_property, hildon_button_class_init)
3742 (hildon_button_set_style, hildon_button_get_style):
3743 New "style" property to change the visual appearance of the
3746 * src/hildon-picker-button.c (hildon_picker_button_new):
3747 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3749 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3750 HildonButton look like PickerButton)
3752 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3755 column while building the default string.
3757 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3759 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3760 scroll indicator by default.
3762 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3764 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-main.c: Fix the documentation for hildon_init()
3768 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3770 * doc/hildon-docs.sgml
3774 * src/hildon-window-stack-private.h
3775 * src/hildon-window-stack.h
3776 * src/hildon-window-stack.c:
3777 New HildonWindowStack object, that adds support for multiple
3778 stacks of windows per process.
3780 * src/hildon-stackable-window-private.h
3781 * src/hildon-stackable-window.h
3782 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3783 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3784 (hildon_stackable_window_show, hildon_stackable_window_hide)
3785 (hildon_stackable_window_class_init)
3786 (hildon_stackable_window_init):
3787 Use HildonWindowStack for stack management.
3789 * src/hildon-program.c (hildon_program_pop_window_stack)
3790 (hildon_program_peek_window_stack)
3791 (hildon_program_go_to_root_window):
3792 Add a fallback implementation to the deprecated functions using
3795 * examples/hildon-stackable-window-example.c:
3796 Use the new HildonWindowStack API.
3798 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-stackable-window-private.h
3801 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3802 (hildon_stackable_window_hide, hildon_stackable_window_init):
3803 Remove all window stack management.
3805 * src/hildon-program-private.h
3806 * src/hildon-program.h
3807 * src/hildon-program.c (hildon_program_init)
3808 (hildon_program_pop_window_stack)
3809 (hildon_program_peek_window_stack)
3810 (hildon_program_go_to_root_window):
3811 Remove all window stack management and mark functions as
3814 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-app-menu.c (hildon_app_menu_realize):
3817 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3819 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3821 * configure.ac: post release version bump
3822 * debian/changelog: version bump
3824 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3829 * configure.ac: bump version
3830 * debian/changelog: updates
3832 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3834 Based on initial code by Christian Dywan (christian@imendio.com)
3836 * doc/hildon-docs.sgml: Add section for hildon-main.
3837 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3838 * src/Makefile.am: Add new hildon-main.[ch]
3839 * src/hildon-defines.h: Update the icon sizes.
3840 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3841 new library initialization files and register icon sizes.
3842 * src/hildon-main.h: New declarations.
3843 * src/hildon.h: Include hildon-main.h
3845 Add new initialization functions to the library. These methods
3846 will register the hildon specific icon sizes and can be used in the
3847 future for other hildon specific bits.
3849 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3851 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-window.c: (hildon_window_realize),
3854 (hildon_window_notify), (-hildon_window_update_title): Do not set
3855 the application name in the window title.
3857 Fixes: NB#89754 (Applications shouldn't display their names in the
3860 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-note-private.h:
3863 * src/hildon-note.c: (hildon_note_set_property),
3864 (hildon_note_get_property), (hildon_note_class_init),
3865 (hildon_note_init), (hildon_note_finalize),
3866 (hildon_note_new_confirmation_with_icon_name),
3867 (hildon_note_new_information_with_icon_name):
3869 No need to mark as deprecated the actual code. Revert
3870 to avoid missing symbols in widgets using deprecated API.
3872 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3874 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3876 * src/hildon-volumebar.h
3877 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3878 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3880 * src/hildon-helper.h
3881 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3882 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3884 * examples/Makefile.am:
3885 Deprecate hildon-insensitive-example
3887 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3889 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3891 * examples/hildon-pannable-area-buttons-scroll-example.c:
3892 Make all buttons finger height
3894 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3896 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3898 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3899 update the day model only if it is really required, and to avoid the
3900 full-reconstruction aproach. Now it only add or remove the required days.
3902 The purpose of this is avoid superfluous HildonTouchSelector::changed
3905 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3906 with strange parameters)
3908 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3910 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3912 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3913 the WINDOW_TYPE property.
3915 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3917 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3920 Fix dependency to allow parallel compilation with make -jX
3922 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3925 color frame and some minor tweaks to make it more consistent with
3928 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3929 highlighted but not visible)
3931 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3933 * examples/Makefile.am: Fixed typo in the Makefile.am.
3935 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3937 Reviewed the use of MAEMO_GTK define, now we add the define in the
3938 compilation line, and we also add it to the pc file.
3940 * configure.ac: Added MAEMO_GTK define to the compilation command
3941 and removed it from the config.h.
3943 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3944 do not have to take care about this define if the library was
3948 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3950 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3952 * examples/Makefile.am,
3953 * examples/hildon-pannable-area-buttons-scroll-example.c,
3954 * examples/hildon-pannable-area-gesture-signals-example.c,
3955 * examples/hildon-pannable-area-scroll-jump-example.c,
3956 * examples/hildon-pannable-area-tree-view-example.c:
3957 Renamed the pannable area examples, now they have more meaningful
3960 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3962 * src/hildon-touch-selector.c:
3963 (hildon_touch_selector_set_column_selection_mode): Used of
3964 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3965 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3966 to avoid re-seting the same selection mode.
3968 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3969 breaks HildonPickerDialog)
3971 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3973 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3974 conditional in the Makefile.am
3976 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3979 Remove unused methods.
3981 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-button.c (hildon_button_init):
3984 Make button images center-aligned by default
3986 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3989 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3990 activated, we have to think about how to deal with both defines
3991 MAEMO_GTK and MAEMO_CHANGES.
3993 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3995 * examples/hildon-app-menu-example.c (create_menu): Make all
3996 buttons finger size.
3998 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4000 Fixed the compilation without maemo gtk adding ifdefs with
4001 MAEMO_GTK define to the code, we have to check this version more
4004 * examples/Makefile.am: Added control to avoid some examples that
4005 just make sense with maemo gtk.
4008 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4009 hildon modes with the define.
4011 * examples/hildon-edit-toolbar-example.c,
4012 (create_icon_view): Create the icon view without hildon-gtk
4013 helpers if we are not using maemo gtk.
4015 * src/hildon-touch-selector.c,
4016 (_create_new_column): Create the treeview without hildon-gtk
4017 helpers if we are not using maemo gtk.
4019 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4021 * src/hildon-pnnable-area.c,
4022 (hildon_pannable_area_dispose),
4023 (hildon_pannable_area_button_press_cb),
4024 (hildon_pannable_area_child_mapped),
4025 (hildon_pannable_area_add),
4026 (hildon_pannable_area_remove): Added code to control the position
4027 of the event_window when adding and removing children from the
4028 pannable. We have to raise the event window when the child is
4031 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4032 selection mode using custom widget inside pannable)
4034 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4036 * configure.ac: post release version bump
4037 * debian/changelog: version bump
4039 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4044 * configure.ac: bump version
4045 * debian/changelog: updates
4047 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4049 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4050 search mode, in order to avoid lose the focus on the treeview when
4051 a hw key (like enter) is pressed.
4053 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4054 in HildonDateSelector dialog)
4056 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4058 * debian/rules: Added --enable-maintainer-mode
4059 * Makefile.am: Added ACLOCAL_AMFLAGS
4061 This allows to properly regenerate the Makefiles if you modify the
4062 configure.ac or any Makefile.am.
4064 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4066 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4067 properties, not needed at all.
4069 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4071 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4073 * src/hildon-note.c: (hildon_note_set_property),
4074 (hildon_note_get_property), (hildon_note_class_init),
4075 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4076 (hildon_note_new_confirmation_add_buttons): Remove icons.
4077 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4078 (hildon_note_new_information_with_icon_name): Deprecate.
4079 (hildon_note_new_confirmation): Act directly, without calling
4080 the deprecated constructor.
4081 (hildon_note_new_information): Act directly, without calling
4082 the deprecated constructor.
4083 * src/hildon-note.h: Mark deprecate methods as such.
4084 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4085 not run tests on the deprecated methods if built with deprecation
4088 Fixes: NB#91688 (Never show icons in information notes/confirmation
4091 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4094 (hildon_app_menu_key_press): Remove leftover usage of the
4095 private structure in HildonAppMenu struct.
4096 * src/hildon-app-menu.h: Remove leftover private structure
4097 from the HildonAppMenu struct.
4099 Fixes a crasher when using the HildonAppMenu.
4101 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-picker-dialog.c: Use appropriate logical id
4104 for the default "Done" text.
4106 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: post release version bump
4109 * debian/changelog: version bump
4111 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4113 Modified the way to scroll to the current selection just when the touch
4114 selector is shown on the screen, avoiding a g_idle. Added too a property
4115 to configure this behaviour. See hildon_pannable_area_jump_to_child
4116 documentation for more information.
4118 * src/hildon-touch-selector.c
4119 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4120 Added 'initial-scroll' property
4121 (hildon_touch_selector_set_property): Added
4122 (hildon_touch_selector_map): Removed as not required anymore
4123 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4124 only a concrete column, instead of iterate along all the columns
4126 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4131 * configure.ac: bump version
4132 * debian/changelog: updates
4134 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4137 compilation time warnings.
4139 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4142 the default value for HildonPannableArea::mov-mode to
4143 HILDON_PANNABLE_AREA_MODE_VERT.
4145 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4147 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4149 Reverting following commit:
4151 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-app-menu-private.h
4154 * src/hildon-app-menu.[ch]
4155 * src/hildon-button.[ch]
4156 * src/hildon-check-button.[ch]
4157 * src/hildon-entry.[ch]
4158 * src/hildon-pannable-area.[ch]
4159 * src/hildon-text-view.[ch]:
4160 Added private field to the object's structure.
4162 because it causes an ABI breakage. We will need to introduce these
4163 changes later at some point. See NB#91636 for an extensive
4164 explanation and status.
4166 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4168 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4170 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4171 remove special cases that are no longer necessary.
4173 Fixes: NB#91016 (Change toolbar sizes, simplification)
4175 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4178 is shown in the cancel note.
4180 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4182 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4183 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4184 (hildon_seekbar_init): Remove steppers, remove expose event.
4185 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4187 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4189 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4192 label font to "SmallSystemFont" for vertically arranged buttons.
4194 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4197 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-check-button.c
4200 (hildon_check_button_set_active, hildon_check_button_clicked):
4201 Don't access private parts directly, use getters instead.
4203 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-check-button.c (hildon_check_button_new):
4206 Align the contents of the check button to the left.
4208 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4210 * src/hildon-pannable-area.c,
4211 (hildon_pannable_area_scroll_to),
4212 (hildon_pannable_area_jump_to),
4213 (hildon_pannable_area_scroll_to_child),
4214 (hildon_pannable_area_jump_to_child): Replace the mapped
4215 precondition of these functions with the realized, it is the
4216 correct state of the widget in this case. Changed the
4217 documentation according to this modification.
4219 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4221 Added a new EXTRA_CFLAGS option to add the deprecated define to
4222 the compilation command. This way we can avoid using the define in
4223 the documentation compilation.
4225 * configure.ac: Defined EXTRA_CFLAGS.
4227 * examples/Makefile.am:
4229 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4231 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4233 * src/hildon-picker-dialog.c:
4234 Defined a utility macro with the desired touch selector height
4235 Removed currently unused separator, and title_label variables from
4237 (hildon_picker_dialog_init): Removed code related to the creation
4238 of unused private variables title_label and separator.
4239 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4240 to ensure correct visualization of the touch selector inside the dialog.
4241 * src/hildon-touch-selector.c
4242 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4243 ensure a concrete height of the widget.
4245 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4248 * tests/Makefile.am:
4250 Remove spurious whitespaces.
4252 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4255 compilation warning after the cancel button removal.
4257 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4259 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4261 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4262 Makefile.am, that way we can choose not to compile some examples
4263 and tests of the deprecated widgets.
4265 * examples/Makefile.am: Divided the sources in deprecated and
4268 * src/Makefile.am: Added undef statement of the deprecated
4269 symbol to the enums file generation process.
4271 * src/hildon-color-chooser-dialog.c
4272 * src/hildon-color-chooser-dialog.h
4273 * src/hildon-color-button.c
4274 * src/hildon-color-button.h
4275 * src/hildon-color-chooser.c
4276 * src/hildon-color-chooser.h
4277 * src/hildon-controlbar.c
4278 * src/hildon-controlbar.h
4279 * src/hildon-date-editor.c
4280 * src/hildon-date-editor.h
4281 * src/hildon-hvolumebar.c
4282 * src/hildon-hvolumebar.h
4283 * src/hildon-private.c
4284 * src/hildon-private.h
4285 * src/hildon-range-editor.c
4286 * src/hildon-range-editor.h
4287 * src/hildon-seekbar.c
4288 * src/hildon-seekbar.h
4289 * src/hildon-time-editor.c
4290 * src/hildon-time-editor.h
4291 * src/hildon-time-picker.c
4292 * src/hildon-time-picker.h
4293 * src/hildon-volumebar.c
4294 * src/hildon-volumebar.h
4295 * src/hildon-vvolumebar.c
4296 * src/hildon-vvolumebar.h
4297 * src/hildon-bread-crumb-trail.h
4298 * src/hildon-bread-crumb-trail.c
4299 * src/hildon-calendar-popup.c
4300 * src/hildon-calendar-popup.h
4301 * src/hildon-weekday-picker.c:
4302 * src/hildon-weekday-picker.h:
4303 * src/hildon-bread-crumb-widget.c:
4304 * src/hildon-bread-crumb-widget.h:
4305 * src/hildon-bread-crumb.c:
4306 * src/hildon-bread-crumb.h:
4307 * src/hildon-calendar.c:
4308 * src/hildon-calendar.h:
4309 * src/hildon-caption.c:
4310 * src/hildon-code-dialog.c:
4311 * src/hildon-code-dialog.h:
4312 * src/hildon-font-selection-dialog.c:
4313 * src/hildon-font-selection-dialog.h:
4314 * src/hildon-get-password-dialog.c:
4315 * src/hildon-get-password-dialog.h:
4316 * src/hildon-login-dialog.c:
4317 * src/hildon-login-dialog.h:
4318 * src/hildon-number-editor.c:
4319 * src/hildon-number-editor.h:
4320 * src/hildon-set-password-dialog.c:
4321 * src/hildon-set-password-dialog.h:
4322 * src/hildon-sort-dialog.c:
4323 * src/hildon-sort-dialog.h: This is the list of deprecated
4326 * src/hildon-touch-selector.c:
4327 * src/hildon-window.c: Added undef statement to avoid compilation
4330 * tests/Makefile.am: Divided the sources in deprecated and
4333 * tests/check_test.c,
4334 (configure_tests): Marked the deprecated code that was adding
4335 suites with deprecated tests.
4337 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4339 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4341 * src/hildon-touch-selector.c: (_default_print_func): Do not
4342 duplicate a string returned by gtk_tree_model_get(), it is already
4345 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4348 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4350 * src/hildon-pannable-area.c
4351 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4352 method, it had problems when adding a widget with viewport the
4353 second time. Now checks if it already has a viewport and uses it.
4355 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4358 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4360 * src/hildon-pannable-area.c,
4361 (hildon_pannable_area_scroll_to),
4362 (hildon_pannable_area_jump_to),
4363 (hildon_pannable_area_scroll_to_child),
4364 (hildon_pannable_area_jump_to_child): Added a precondition to the
4365 scroll and jump to functions: the widget must be mapped before we
4366 can safely call these functions. We have also added documentation
4367 to the functions to explain how to use them in this situation.
4370 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4372 Reviewed the threading handling of the pannable widget, we have
4373 used the gdk_threads_add_timeout function instead of the usual
4374 glib handlers. This avoids some problems with the threads.
4376 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4377 (hildon_pannable_area_initial_effect),
4378 (hildon_pannable_area_scroll_indicator_fade),
4379 (hildon_pannable_area_button_press_cb),
4380 (hildon_pannable_area_timeout),
4381 (hildon_pannable_area_motion_notify_cb),
4382 (hildon_pannable_area_button_release_cb),
4383 (hildon_pannable_area_scroll_cb),
4384 (hildon_pannable_area_scroll_to): Removed the
4385 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4386 gdk_threads_add_timeout.
4388 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4390 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4395 * configure.ac: bump version
4396 * debian/changelog: updates
4398 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4400 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4401 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4402 * src/hildon-color-chooser-dialog.c:
4403 (hildon_color_chooser_dialog_init):
4404 * src/hildon-font-selection-dialog.c:
4405 (hildon_font_selection_dialog_init):
4406 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4408 Remove all cancel/close-like dialogs, as these are not going to be
4411 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-note.c: (hildon_note_rebuild),
4414 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4417 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4419 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4422 sure all buttons are shown, even the Cancel/Close-like ones.
4424 Fixes: NB#90861 (Custom Confirmation dialogs should be
4425 protected from cancel button removal)
4427 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4429 * debian/control: Change libhildon1-examples dependency from libhildon1
4431 * debian/libhildon1-examples.install
4433 * Makefile.am: Modified the final install directory for the examples on
4434 package libhildon1-examples
4435 * Makefile.static: Update clean target in order to remove all the binary
4438 Changes suggested by Claudio after review new libhildon1-examples package
4440 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4442 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4443 * src/hildon-touch-selector.c: Ditto.
4445 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4447 * debian/control: Added new package libhildon1-examples, in order to pack
4448 the current hildon examples as documentation
4449 * debian/rules: Not to compress .c files, modify some includes on the
4450 examples (as normally are compiled locally, but when installed it will
4451 require to include the installed libhildon1 library), and rename
4453 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4454 install all the example files on the new example package
4455 * examples/Makefile.static: Added static makefile that can be used to
4456 compile the examples, once installed the new example package
4457 * examples: Most of the examples were modified in order to grant that
4458 all use only '#include "hildon.h"', in order to be easy to prepare
4459 it on the example package
4461 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4464 * debian/libhildon1-dev.install
4465 * debian/libhildon1-doc.install:
4466 Move all gtk-doc files to a separate libhildon1-doc package.
4468 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4470 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4472 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4474 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4476 * debian/rules: Fixed a error in order to avoid unnecessary calls
4477 to autogen.sh on package building
4479 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4481 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4483 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4488 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-picker-button.c
4491 (hildon_picker_button_finalize):
4492 Free priv->done_button_text
4494 * src/hildon-time-button.c
4495 (hildon_time_button_set_time)
4496 * src/hildon-picker-button.c
4497 (hildon_picker_button_clicked)
4498 (hildon_picker_button_selector_selection_changed)
4499 (hildon_picker_button_set_selector)
4500 * src/hildon-date-button.c
4501 (hildon_date_button_set_date):
4502 Free strings returned by hildon_touch_selector_get_current_text()
4504 * src/hildon-button.c (hildon_button_construct_child):
4505 Fix leaks in priv->image and priv->label_box
4507 Fixes: NB#90535 (Memory leak in picker button)
4509 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-button.c: (hildon_button_get_property): Do not access
4512 private elements directly, use getters instead.
4514 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-app-menu-private.h
4517 * src/hildon-app-menu.c
4518 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4519 Store the menu's parent window.
4521 * src/hildon-stackable-window.c
4522 (hildon_stackable_window_toggle_menu)
4523 (hildon_stackable_window_finalize):
4524 Set the menu's parent window when the menu is shown, unset it when
4527 * src/hildon-app-menu.c
4528 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4529 (hildon_app_menu_class_init):
4530 Send unhandled keyboard accelerators to the parent window.
4532 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4534 * src/hildon-stackable-window.c
4535 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4537 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4539 * configure.ac: post release version bump
4541 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4544 * configure.ac: Bump version
4545 * debian/changelog: Updates
4546 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4549 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4551 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4554 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4555 GtkMenu with Hildon style.
4557 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-picker-button.c:
4560 (hildon_picker_button_set_done_button_text): Set the dialog's
4561 done button text here as well.
4563 Fixes: NB#90232 (Picker button does not set the label on done button
4564 for the second time)
4566 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4571 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-app-menu.c (hildon_app_menu_insert)
4574 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4575 the HildonAppMenu to be activatable using keyboard accelerators
4576 when the menu is not being shown.
4578 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4580 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-stackable-window.c
4583 (hildon_stackable_window_show):
4584 Don't hide old windows automatically when new windows are shown:
4585 this is now a task for the window manager.
4586 (hildon_stackable_window_class_init)
4587 (hildon_stackable_window_hide):
4588 Remove windows from the stack everytime they're hidden.
4589 (hildon_stackable_window_realize):
4590 Don't change the _NET_WM_WINDOW_TYPE property. Use
4591 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4592 it as a stackable window.
4594 * src/hildon-program.c
4595 (hildon_program_pop_window_stack):
4596 Just hide the window to remove it from the stack.
4597 (hildon_program_go_to_root_window):
4598 Don't call gtk_widget_show(), this is now a task for the window
4601 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4603 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-button.c
4606 (hildon_button_construct_child):
4607 Don't pack anything in the button until text or image are
4608 set. This allows adding a custom child after creating the button
4609 with hildon_button_new().
4610 (hildon_button_finalize, hildon_button_class_init)
4611 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4612 alignment and the label box even when they're not packed in the
4615 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4617 * src/hildon-touch-selector.h:
4618 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4619 currently the type definition was using GTK_TYPE_VBOX
4620 * src/hildon-touch-selector.c:
4621 Added some implementation notes in order to clarify that any other widget
4622 added without the column related API will not be included on the
4623 selection logic, and how the widget is freed, as some people ask about
4625 (hildon_touch_selector_remove): Reimplemented in order to free properly
4626 the column related data when you remove the private hbox.
4627 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4628 to get a proper HildonTouchSelectorColumn documentation
4630 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4632 * src/hildon-touch-selector-entry.c:
4633 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4634 text in the GtkEntry and there is no item selected. Fixes a
4637 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4639 * src/hildon-app-menu-private.h
4640 * src/hildon-app-menu.[ch]
4641 * src/hildon-button.[ch]
4642 * src/hildon-check-button.[ch]
4643 * src/hildon-entry.[ch]
4644 * src/hildon-pannable-area.[ch]
4645 * src/hildon-text-view.[ch]:
4646 Added private field to the object's structure.
4648 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4650 * configure.ac: post-release version bump
4652 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4656 * configure.ac: pre-release version bump
4658 * debian/changelog: updates.
4660 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4662 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4663 Disconnect the handler for HildonTouchSelector::changed.
4665 (hildon_picker_button_selector_selection_changed): Update the button
4666 value if the selection change was not triggered by the
4669 (hildon_picker_button_set_selector): connect to
4670 HildonTouchSelector::changed.
4672 Fixes: NB#89650 (Picker button is not updated, when selection in
4673 selector has changed)
4675 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4677 * src/hildon-picker-dialog.c
4678 (hildon_picker_dialog_realize): Removed as not required
4679 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4680 * src/hildon-picker-button.c
4681 (_current_selector_empty): New function, checks if the selector is empty
4682 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4683 if the current selector is empty, in order to avoid to show the dialog
4684 close the dialog in this case (and shows a g_warning).
4686 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4688 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4690 * src/hildon-pannable-area.c,
4691 (hildon_pannable_area_scroll): Added clause to stop movement when
4692 the child of pannable is smaller than one page.
4693 (hildon_pannable_area_scroll_to): Added conditions to avoid
4694 starting the scrolling movement if the child is smaller than one
4695 page, the complete child is in the screen, we do not have to move.
4697 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4699 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4701 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4702 this is managed automatically by the widget when the size of the
4705 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4707 * src/hildon-picker-button.c
4708 (hildon_picker_button_set_done_button_text): Make a copy of the
4709 text, and free the previous value.
4711 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-touch-selector-entry.c:
4714 (hildon_touch_selector_entry_print_func): Return the selected row's
4715 text if the entry is empty.
4717 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4720 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4722 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4724 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4727 * src/hildon-check-button.h
4728 * src/hildon-check-button.c
4729 * examples/hildon-check-button-example.c:
4730 HildonCheckButton is now a new widget. 'toggled' signal added.
4732 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4734 * src/hildon-program-private.h
4735 * src/hildon-program.c (hildon_program_init)
4736 (hildon_program_finalize): Removed unused variables group_leader
4737 and name from HildonProgramPrivate.
4739 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4741 * src/hildon-check-button.c (hildon_check_button_set_active)
4742 (hildon_check_button_get_active, hildon_check_button_new): Use
4743 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4745 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4747 * src/hildon-touch-selector.h
4748 (hildon_touch_selector_set_column_attributes): added deprecation
4749 guard HILDON_DISABLE_DEPRECATED
4750 * src/hildon-time-selector.c
4751 (hildon_time_selector_set_time)
4752 (hildon_time_selector_get_time): Fixed a typo on documentation
4753 * src/hildon-touch-selector.c: update HildonTouchSelector and
4754 HildonTouchSelectorColumn documentation
4755 * src/hildon-touch-selector-entry.c: update "text-column" property
4757 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4758 to be added to the general documentation.
4760 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4762 * examples/hildon-pannable-area-example-4.c,
4764 * examples/hildon-pannable-area-example.c,
4765 (main): Modified the code in order to use the container add, with
4766 viewport treeviews could have problems if they are really big.
4768 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4770 * src/hildon-weekday-picker.c,
4771 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4772 the agreement regarding deprecation in the library.
4774 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4776 * examples/hildon-picker-button-multicolumn-example.c:
4777 (main): Use custom "done" button text.
4779 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4780 (hildon_picker_button_set_property),
4781 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4782 (hildon_picker_button_init),
4783 (+hildon_picker_button_get_done_button_text),
4784 (+hildon_picker_button_set_done_button_text): New methods to customize
4785 the "done" button label in the launched HildonPickerDialog. Also,
4788 * src/hildon-picker-button.h: add the public API.
4790 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-date-selector.h:
4793 * src/hildon-picker-dialog.h:
4794 * src/hildon-time-selector.h:
4795 * src/hildon-touch-selector-column.h:
4796 * src/hildon-touch-selector.h:
4798 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4799 declarations. Fixes gtk-doc warnings.
4801 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-picker-dialog.h
4804 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4805 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4807 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4808 long text is set as label for done button)
4810 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4812 * src/hildon-dialog.c (hildon_dialog_add_button):
4813 Set fixed width to all buttons in the HildonDialog.
4815 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4817 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4819 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4820 Set widget name using class name plus "-finger" or "-thumb".
4822 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4824 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4825 'clicked' when the state of the button is manually changed.
4827 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-app-menu.c (hildon_app_menu_realize)
4830 (hildon_app_menu_unrealize, hildon_app_menu_init)
4831 (hildon_app_menu_class_init, item_visibility_changed):
4832 Change the menu layout when the size of the screen changes.
4833 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4834 Show warning only when changing the number of colums using the
4837 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4839 * debian/compat: Set to 5
4840 * debian/control: Update dependencies.
4841 * debian/libhildon1-dbg.install: Remove.
4842 * debian/libhildon1-dev.install: Update according to cdbs paths.
4843 * debian/libhildon1.install: Update according to cdbs paths.
4844 * debian/rules: Switch to cdbs.
4846 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4849 'item' variable renamed to 'filter'
4851 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-app-menu.c (hildon_app_menu_insert)
4854 (hildon_app_menu_add_filter, remove_item_from_list)
4855 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4856 Don't leak hidden items when the menu is destroyed.
4858 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4860 * src/hildon-app-menu.c (hildon_app_menu_insert)
4861 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4862 (hildon_app_menu_set_columns, item_visibility_changed)
4863 (filter_visibility_changed, hildon_app_menu_repack_filters)
4864 (hildon_app_menu_repack_items):
4865 Repack items and filters separately.
4867 Don't repack all items, change only the ones that are needed to
4870 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4872 * src/Makefile.am: added hildon-touch-selector-column.h
4874 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4876 * src/hildon-touch-selector.c: added the property "text-column" to the
4877 class HildonTouchSelectorColumn, and related get/set functions
4878 (_default_printf_func): updated to use "text-column" property
4879 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4880 "text-column" in his documentation, as this is now included on
4881 HildonTouchSelectorColumn. The get/set_property can still be used,
4882 working as a wrapper to the concrete column "text-column" property
4883 (_text_column_modified): callback added in order to handle the signal
4884 "notify::text-column" of the concrete HildonTouchSelectorColumn
4885 (hildon_touch_selector_entry_get_text_column)
4886 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4887 modified in order to use the HildonTouchSelectorColumn "text-column"
4889 * src/hildon-time-selector.c:
4890 * src/hildon-date-selector.c:
4891 * examples/hildon-touch-selector-example.c
4892 * examples/hildon-touch-selector-multi-cells-example.c
4893 * examples/hildon-picker-button-multicolumn-example.c
4894 Set the right value to "text-column" property on the creation of a new
4895 column using hildon_touch_selector_append_column()
4897 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4899 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-app-menu.c
4902 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4903 updating the layout of the menu, don't create all widgets again,
4904 just repack the items in their new places.
4906 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4908 * src/hildon-time-selector.c
4909 (hildon_time_selector_get_time)
4910 (hildon_time_selector_set_time)
4911 Added documentation of these public methods
4913 * src/hildon-date-button.h
4914 * src/hildon-touch-selector-column.h
4915 * src/hildon-time-button.h
4916 * src/hildon-picker-dialog.h
4917 * src/hildon-time-selector.h
4918 * src/hildon-picker-button.h
4919 * src/hildon-touch-selector.h
4920 * src/hildon-time-picker.h
4921 * src/hildon-date-selector.h
4922 * src/hildon-touch-selector-entry.h
4923 Modified in order to use hildon-widgets code style
4925 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4927 Added deprecated support to the compilation process using
4928 HILDON_DISABLE_DEPRECATED
4930 * configure.ac: Added the --disable-deprecated to the configure
4933 * src/hildon-weekday-picker.c:
4934 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4935 to use the deprecated support. We will update the other deprecated
4936 widgets status in a new patch.
4938 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4940 * configure.ac: Fixed typo with fatal warnings support, the
4941 variable name was not correct
4943 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4945 * src/hildon-app-menu.c
4946 * src/hildon-program.c: Update documentation.
4948 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4950 * configure.ac: Post-release version bump.
4952 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4957 * configure.ac: Pre-release version bump.
4958 * debian/changelog: Updates.
4960 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4962 * NEWS: Update news for previous releases.
4964 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4966 * examples/hildon-touch-selector-multi-cells-example.c:
4967 (create_selector): Update the example to use
4968 hildon_touch_selector_append_column() with a NULL renderer and set
4969 the renderers later.
4970 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4971 passed a NULL renderer. This is documented behavior now.
4973 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4974 This must be used if the developer wants full control on the layout of
4975 the renderers to be added to the column.
4977 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4979 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4981 * src/hildon-touch-selector.c: Documentation fixes.
4983 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4985 * src/hildon-wizard-dialog-private.h: Remove image and box.
4986 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4987 (hildon_wizard_dialog_set_property), (response): Completely remove
4988 image/icon support, and the containers required for the layout.
4990 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4992 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4994 * src/hildon-app-menu.c: Updated documentation.
4996 * src/hildon-stackable-window.c
4997 (hildon_stackable_window_set_main_menu): Unref the old menu after
4998 ref'ing the new one.
5000 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5002 * src/hildon-stackable-window.c
5003 (hildon_stackable_window_set_main_menu): Unref the previous menu
5004 instead of destroying it.
5006 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5007 floating reference and set has_user_ref_count to FALSE to make
5008 HildonAppMenu act like a normal ref-counted widget and not a
5011 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5014 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5016 * src/hildon-touch-selector-column.h: new file
5017 * src/hildon-touch-selector.h
5018 * src/hildon-touch-selector.c
5019 Implemented GtkCellLayout interface, in order to allow to configure
5020 the cell layout on each individual selector column
5021 (hildon_touch_selector_set_column_attributes): marked as deprecated
5022 * examples/hildon-touch-selector-multi-cells-example.c
5023 Example of how to use the GtkCellLayout interface on the selector
5025 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5027 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-app-menu.h
5030 * src/hildon-app-menu.c
5031 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5032 (hildon_app_menu_append, hildon_app_menu_prepend):
5033 New methods to prepend, insert and move items in the menu.
5035 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-wizard-dialog.c:
5039 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5041 (create_title): Update logical IDs and related code.
5042 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5044 * src/hildon-wizard-dialog.h: Note that
5045 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5046 point, as it is not used anymore.
5048 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5050 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-note.c:
5053 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5054 shown. Do not display an icon in confirmation notes nor information
5056 (hildon_note_set_button_text): Update logical ID for cancel button.
5058 Fixes: NB#88850 (Update HildonNote button strings + signals)
5060 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5062 * src/hildon-stackable-window.c
5063 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5065 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-app-menu-private.h
5068 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5069 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5070 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5071 temporary property 'columns' to change the number of columns.
5073 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5075 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5077 * examples/hildon-note-example.c: (on_information_clicked),
5078 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5079 debugging information.
5080 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5082 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5083 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5084 in order to close: this will be handled by the WM from now on.
5086 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5088 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-app-menu-private.h
5091 * src/hildon-app-menu.c
5092 (hildon_app_menu_append, hildon_app_menu_add_filter)
5093 (button_visibility_changed, hildon_app_menu_apply_style)
5094 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5095 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5096 layout everytime a button (item or filter) is shown or hidden.
5098 * src/hildon-stackable-window.c
5099 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5102 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5104 * src/hildon-touch-selector.c:
5105 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5106 that the treeview inside the touch selector is in fremantle hildon mode
5107 * examples/hildon-date-button-example.c
5108 * examples/hildon-picker-button-multicolumn-example.c
5109 * examples/hildon-touch-selector-entry-example.c
5110 * examples/hildon-touch-selector-example.c
5111 * examples/hildon-time-button-example.c
5112 * examples/hildon-picker-button-example.c:
5113 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5115 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5117 * examples/hildon-text-view-example.c: (main): Remove the
5118 gtkrc bits, now handled by the theme.
5120 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5125 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5127 * po/Makefile.am: Install properly the mo files.
5128 * po/en_GB.po: Update translation, to ease testing purposes.
5130 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5132 * examples/hildon-picker-button-example.c: (main): Select an item
5133 in the selector before setting it to the button.
5135 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5138 Update button's value if the selector has an item active.
5140 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5141 'value' with the selector)
5143 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5146 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5147 (hildon_picker_button_class_init): Plug the finalize method.
5148 (hildon_picker_button_set_selector): If there's a previously set
5149 selector, unref'it before setting a new one.
5151 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5152 HildonTouchSelector)
5154 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5156 * src/hildon-touch-selector-entry.c:
5157 (hildon_touch_selector_entry_changed): Check if there is no text
5158 selected before setting the entry text.
5161 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5163 * src/hildon-touch-selector.h
5164 * src/hildon-touch-selector.c
5165 (hildon_touch_selector_get_active)
5166 (hildon_touch_selector_set_active): New methods to set/get the
5167 index of the selected item.
5169 * src/hildon-picker-button.h
5170 * src/hildon-picker-button.c
5171 (hildon_picker_button_get_active)
5172 (hildon_picker_button_set_active): New methods to set/get the
5173 index of the selected item.
5175 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5177 * configure.ac: post-release version bump.
5179 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5183 * configure.ac: Pre-release version bump.
5184 * debian/changelog: Updates.
5185 * debian/control: Add myself as maintainer and depend on l10n
5188 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-window.c
5191 (hildon_window_set_main_menu)
5192 * src/hildon-stackable-window.c
5193 (hildon_stackable_window_set_main_menu):
5194 Updated documentation.
5196 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5198 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5199 Don't free selector->priv manually.
5202 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5205 (hildon_gtk_window_set_progress_indicator):
5206 * src/hildon-gtk.h: Added the new API
5207 hildon_gtk_window_set_progress_indicator, it changes the state of
5208 the window progress hint.
5210 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5212 * src/hildon-button.c
5213 * src/hildon-stackable-window.c: Minor documentation updates.
5215 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5217 * src/hildon-stackable-window.c: Updated documentation.
5219 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/hildon-defines.h: Update margins definitions
5222 to the Fremantle sizes.
5225 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5227 * src/hildon-touch-selector.c,
5228 (_hildon_touch_selector_set_model): Cleaning the code after
5229 review, removed g_print and #if 0 from the code.
5231 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5233 * src/hildon-edit-toolbar.c: Update documentation.
5235 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-check-button.h
5238 * src/hildon-check-button.c
5239 (hildon_check_button_set_label, hildon_check_button_get_label)
5240 * examples/hildon-check-button-example.c
5241 (button_clicked_cb):
5242 Removed deprecated methods.
5244 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-text-view.c:
5247 Add sample code to the documentation.
5249 * src/hildon-entry.h
5250 * src/hildon-text-view.h:
5251 Minor cosmetic changes.
5253 * src/hildon-entry.c:
5254 Add sample code to the documentation.
5255 (hildon_entry_init, hildon_entry_refresh_contents):
5256 Don't allow NULL values in the placeholder.
5258 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5260 * doc/hildon-docs.sgml
5262 * examples/Makefile.am
5263 * examples/hildon-text-view-example.c
5265 * src/hildon-text-view.c
5266 * src/hildon-text-view.h
5268 New HildonTextView widget, with example.
5270 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5272 * po/POTFILES.in: Add missing files with translatable strings.
5273 Partially fixes NB#88287.
5275 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5277 * examples/hildon-pannable-area-example-2.c: (main): No need to
5278 set the cellrenderer height inside hildon touch lists, the theme does
5281 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5283 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5284 they are integrated in the theme.
5286 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5288 * examples/hildon-entry-example.c: Update the example adding
5289 widgets to modify the text and the placeholder of the HildonEntry.
5291 * src/hildon-entry.c: Show the placeholder everytime the widget
5292 is empty and loses the focus.
5294 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5296 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5298 * src/hildon-pannable-area.c,
5299 (hildon_pannable_area_size_request): Fixed bug in height
5300 requisition, avoid increasing size and add border twice.
5302 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5304 * configure.ac: postrelease version bump.
5306 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5310 * configure.ac: Prerelease version bump.
5311 * debian/changelog: update.
5312 * debian/rules: make -dbg package contain useful debugging symbols.
5314 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5316 * src/hildon-dialog.h
5317 * src/hildon-dialog.c
5318 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5319 New methods to add buttons with finger size.
5320 (hildon_dialog_new_with_buttons):
5321 Create buttons with finger size.
5323 * examples/hildon-dialog-example.c (main): Use HildonDialog
5324 methods to add buttons.
5326 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5328 * src/hildon-entry.c: Updated HildonButton documentation.
5330 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5333 button value label with (FALSE, FALSE) to prevent NB#88126 from
5336 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5338 * examples/hildon-pannable-area-example.c,
5339 (main): Removed examples panning a vbox inside a pannable
5340 area. Check bug NB#87965
5342 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5344 Patch contributed by Kris Rietveld (kris@imendio.com)
5346 * src/hildon-pannable-area.c,
5347 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5348 get_size and get_position, this saves an X server roundtrip.
5350 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5352 * doc/hildon-docs.sgml
5354 * examples/Makefile.am
5355 * examples/hildon-entry-example.c
5357 * src/hildon-entry.c
5358 * src/hildon-entry.h
5360 New HildonEntry widget, with example.
5362 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-button.c (hildon_button_construct_child): Pack the
5365 image with expand == fill == FALSE. This is a workaround for a bug
5368 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5370 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5371 labels for the text column, to make it more look more dynamic.
5373 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5375 * src/hildon-time-selector.c
5376 Define gettext auxiliar macro N_
5377 (_create_minutes_model)
5378 (_create_hours_model)
5379 (_create_ampm_model): use of strftime in order to fill the model
5380 * src/hildon-date-selector.c
5381 (hildon_date_selector_finalize):
5382 (_locales_init): remove the logic related to get the name of the months
5383 using nl_langinfo, as it is not required anymore
5385 (_create_year_model)
5386 (_create_month_model)
5387 (_update_day_model): use of strftime in order to fill the model properly
5390 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-button.h
5393 * src/hildon-button.c (hildon_button_get_image): New method to
5396 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5398 * src/hildon-touch-selector.c:
5399 (hildon_touch_selector_remove_column): Remove from the correct parent
5400 and also remove the list element and free it.
5403 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5405 * src/hildon-time-selector.c
5406 (_create_hours_model): change the range on 12h ampm format in order to use
5407 a 12-11 range instead of previous 01-12 range
5408 (hildon_time_selector_set_time): change the way to select the current time
5409 on 12h ampm format, due the change on the range
5410 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5413 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5415 * src/hildon-touch-selector.c
5416 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5417 in order to allow use this function on multiple row selection mode if
5418 the column is different that the first one
5421 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5423 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5424 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5426 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5428 * src/hildon-date-selector.h: clean some comments, now on the .c
5429 * src/hildon-date-selector.c
5430 (hildon_date_selector_select_month): first implementation
5431 (hildon_date_selector_select_day): added documentation, reimplemented
5432 using hildon_date_selector_select_current_date to avoid repeat code
5435 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5437 Reviewed interaction logic based on device experiences, refactored
5440 * src/hildon-pannable-area.c,
5441 (hildon_pannable_area_class_init): Updated default vmax speed.
5442 (hildon_pannable_area_calculate_velocity): Added this function, it
5443 avoids duplicate valocity calculation. Adjusted calculation to
5444 avoid problems with zero dist events.
5446 (hildon_pannable_area_motion_notify_cb): Now we use the
5447 calculate_velocity function.
5449 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5451 * src/hildon-date-selector.c
5452 (hildon_date_selector_select_current_date): fix the day range check
5453 as it failed using the last day of the current month
5456 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5458 * src/hildon-touch-selector.c
5459 (hildon_touch_selector_get_num_columns): added a parameter validation
5462 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5464 * examples/Makefile.am
5465 * examples/hildon-edit-toolbar-example.c: Example of the
5466 HildonEditToolbar widget.
5468 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5470 * configure.ac: postrelease version bump.
5472 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5476 * configure.ac: prerelease version bump.
5477 * debian/changelog: update.
5479 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5481 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5482 renderer to display stock icons in the touch list. Also, set the sizes
5483 to the recommended in the style guide.
5485 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5486 * src/hildon-touch-selector.h
5487 (hildon_touch_selector_set_active_iter): renamed, now is
5488 hildon_touch_selector_select_iter
5489 (hildon_touch_selector_get_active_iter): renamed, now is
5490 hildon_touch_selector_get_selected
5491 (hildon_touch_selector_unselect_iter): added
5492 * src/hildon-touch-selector.c
5493 Update after API modification (methods renamed)
5494 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5495 order to avoid problems selecting multiple elements on the column
5496 (hildon_touch_selector_unselect_iter): added the implementation
5497 * src/hildon-time-selector.c
5498 * src/hildon-date-selector.c
5499 * src/hildon-touch-selector-entry.c
5500 Update methods calls after hildon-touch-selector.h API modification (methods
5503 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-stackable-window.c
5506 (hildon_stackable_window_finalize): Call the parent class's finalize.
5508 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5510 * examples/hildon-touch-selector-example.c: (create_selector): Use
5511 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5514 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5516 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5517 set a cell background color, to respect theming.
5519 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5521 * doc/hildon-docs.sgml
5524 * src/hildon-edit-toolbar.c
5525 * src/hildon-edit-toolbar.h
5526 * src/hildon.h: New HildonEditToolbar widget.
5528 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5530 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5533 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5534 * src/hildon-touch-selector.c
5535 (_create_new_column): use g_object_set instead of two g_object_set_property
5537 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5538 * src/hildon-touch-selector.c
5539 (_create_new_column): use of hildon_gtk_tree_view_new to create
5540 the treeview, instead of use directly g_object_new
5541 (_create_new_column): update the property name "vindicator-mode" for the
5542 new one "vscrollbar-policy"
5543 * examples/hildon-date-button-example.c
5544 * examples/hildon-picker-button-multicolumn-example.c
5545 * examples/hildon-touch-selector-entry-example.c
5546 * examples/hildon-touch-selector-example.c
5547 * examples/hildon-time-button-example.c
5548 * examples/hildon-picker-button-example.c
5549 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5550 to all the treeviews inside a pannable area.
5552 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-button.h
5555 * src/hildon-button.c (hildon_button_init)
5556 (hildon_button_set_arrangement, hildon_button_set_alignment)
5557 (hildon_button_set_title_alignment)
5558 (hildon_button_set_value_alignment)
5559 (hildon_button_set_image_alignment)
5560 (hildon_button_construct_child): New methods to set the alignment
5561 of the individual components of the button (title, value,
5562 image). Also, new method to alter the xscale and yscale properties
5563 of the GtkAlignment inside the button, so more complex layouts can
5566 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-button.c (hildon_button_style_set)
5569 (hildon_button_class_init, hildon_button_set_arrangement)
5570 (hildon_button_construct_child): Apply style properties
5571 correctly. Use the 'image-spacing' style property too.
5573 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5576 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5579 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5581 * src/hildon-pannable-area.c,
5582 (hildon_pannable_area_size_request): Fixed problem with
5583 pannable-area size_request.
5585 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5587 Added management for the grab-focus to a child widget, like a
5588 range, we need to fade out the scrollbar when releasing.
5590 * src/hildon-pannable-area.c,
5591 (hildon_pannable_area_init): Connected the grab-focus signal to
5593 (hildon_pannable_area_grab_notify): Added this function in order
5594 to manage the situation when the grab-focus ends. We have to
5595 fade-out the scrollbar.
5597 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-app-menu.c: Minor documentation update.
5601 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5603 * src/hildon-app-menu.c
5604 * examples/hildon-app-menu-example.c (create_menu): Update
5605 examples and documentation to explain how to connect callbacks.
5607 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5609 * examples/hildon-button-example.c
5610 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5611 hildon_stackable_window_new instead of gtk_window_new
5613 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5615 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5616 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5617 (hildon_pannable_area_set_property),
5618 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5619 (hildon_pannable_area_unrealize),
5620 (hildon_pannable_area_size_request),
5621 (hildon_pannable_area_size_allocate),
5622 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5623 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5624 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5625 (hildon_pannable_area_initial_effect),
5626 (hildon_pannable_area_redraw),
5627 (hildon_pannable_area_scroll_indicator_fade),
5628 (hildon_pannable_area_expose_event),
5629 (hildon_pannable_area_get_topmost), (synth_crossing),
5630 (hildon_pannable_area_button_press_cb),
5631 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5632 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5633 (hildon_pannable_area_motion_notify_cb),
5634 (hildon_pannable_area_button_release_cb),
5635 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5636 (hildon_pannable_area_remove),
5637 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5638 chage the code layout to a more GtkWidget like. Review the use of
5641 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5643 * examples/hildon-pannable-area-example-4.c,
5644 (main): Modified the name of the hindicator_mode to
5647 * src/hildon-pannable-area.c,
5648 (hildon_pannable_area_class_init),
5649 (hildon_pannable_area_motion_notify_cb),
5650 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5651 we have reduced the amount of signals and managed reviewed its
5652 rationale. Changed the default decelerate value.
5654 (hildon_pannable_area_add),
5655 (hildon_pannable_area_redraw): Refactored functions.
5657 (hildon_pannable_area_init),
5658 (hildon_pannable_area_get_property),
5659 (hildon_pannable_area_set_property):
5660 (hildon_pannable_draw_vscroll),
5661 (hildon_pannable_draw_hscroll),
5662 (hildon_pannable_area_initial_effect),
5663 (hildon_pannable_area_expose_event),
5664 (hildon_pannable_area_scroll),
5665 (hildon_pannable_area_button_press_cb),
5666 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5667 and vindicator_mode with hscrollbar_policy and
5668 vscrollbar_policy. Replaced hscroll and vscroll with
5669 hscroll_visible and vscroll_visible.
5671 (hildon_pannable_area_refresh): Refactor the function, remove
5672 variables and check the calls to this function, added resize
5673 conditions in case the children change their layout.
5675 (hildon_pannable_area_size_request): Added more detailed
5676 size_request calculation.
5679 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * src/hildon-color-chooser.c
5682 (init_borders): use the correct gtk_border_free instead of g_free, to
5683 avoid a crash when this widget is used (ie: the three color selection
5686 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5688 * src/hildon-check-button.c,
5689 (hildon_check_button_set_active): Fixed problem when setting the
5690 active value, the widget was not redrawn.
5692 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5694 * src/hildon-pannable-area.c,
5695 (hildon_pannable_area_refresh),
5696 (hildon_pannable_area_scroll),
5697 (hildon_pannable_area_motion_notify_cb): Small code style change.
5699 (hildon_pannable_area_class_init): Default initial_hint set to
5700 FALSE, it is not in the specs.
5702 (hildon_pannable_area_initial_effect),
5703 (hildon_pannable_area_expose_event),
5704 (hildon_pannable_area_map),
5705 (hildon_pannable_area_init): Moved the launching point of the
5706 initial effect, it was in map but the sizes where not correct in
5707 that method so we do not know if we have the reproduce it. Now it
5708 is placed in the expose_event method and uses a variable to
5709 reproduce it just once.
5711 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5713 * src/hildon-pannable-area.c,
5714 (hildon_pannable_draw_vscroll),
5715 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5716 position allowed for the scrollbars.
5718 (hildon_pannable_area_size_allocate): Small style change.
5720 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5722 * src/hildon-pannable-area.c,
5723 (hildon_pannable_area_scroll_indicator_fade),
5724 (hildon_pannable_area_button_press_cb),
5725 (hildon_pannable_area_button_release_cb),
5726 (hildon_pannable_area_scroll_cb),
5727 (hildon_pannable_area_expose_event),
5728 (hildon_pannable_area_init): Added the define parameter
5729 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5730 and refactor the fade variable.
5732 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5734 * src/hildon-pannable-area.c,
5735 (hildon_pannable_area_redraw),
5736 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5737 lines, we were reimplemeting the redraw code.
5739 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5741 * src/hildon-pannable-area.c,
5742 (hildon_pannable_area_scroll_cb),
5743 (hildon_pannable_area_realize),
5744 (hildon_pannable_area_class_init): Added scroll_event management
5745 for pannable area, now we can scroll the usual desktop method.
5747 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5748 initialization of the parameters should depend on idle_id.
5750 (hildon_pannable_area_init),
5751 (hildon_pannable_area_map): Small code style modifications
5753 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5755 * src/hildon-pannable-area.c
5756 (hildon_pannable_area_button_press_cb),
5757 (hildon_pannable_area_motion_notify_cb),
5758 (hildon_pannable_area_button_release_cb),
5759 (hildon_pannable_area_size_allocate),
5760 (hildon_pannable_area_scroll_to): Improved the timeouts
5761 management, we avoid creating them each time.
5763 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5765 * src/hildon-pannable-area.c:
5766 (hildon_pannable_area_refresh),
5767 (hildon_pannable_area_motion_notify_cb),
5768 (hildon_pannable_area_class_init):
5769 * src/hildon-pannable-area.h:
5770 * src/hildon-touch-selector.c
5771 (_create_new_column):
5772 * examples/hildon-pannable-area-example-4.c:
5773 (horizontal_movement),
5774 (vertical_movement),
5776 Replaced the names of enums in the HildonPannableArea:
5777 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5778 HILDON_MOVEMENT_MODE_*
5779 - HILDON_PANNABLE_AREA_MOV_* ->
5781 - Removed HildonPannableAreaIndicatorMode, now we
5784 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5786 * examples/hildon-pannable-area-touch-grid-example.c
5787 * examples/hildon-pannable-area-touch-list-example.c: Fix
5788 compilation warnings.
5790 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-gtk.c (hildon_gtk_button_new)
5793 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5794 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5795 images overriding the value of the "gtk-button-images" setting.
5797 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5799 * src/hildon-check-button.c (hildon_check_button_new):
5800 Instead of using a custom container, display the label and the
5801 checkbox using the standard GtkButton API.
5803 * examples/hildon-check-button-example.c (main): Don't use
5804 hildon_check_button_set_label() anymore
5806 * src/hildon-check-button.h
5807 * src/hildon-check-button.c
5808 (hildon_check_button_set_label, hildon_check_button_get_label):
5809 Set as deprecated, now we're using gtk_button_{get,set}_label()
5811 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5813 * src/hildon-pannable-area.c,
5814 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5815 GtkTreeview first line we detected it after the inclusion of the
5816 GtkWindowImpl in gtk+. We now check if the window is visible, not
5817 just if the pointer is over the window.
5818 (hildon_pannable_axis_scroll),
5819 (hildon_pannable_area_expose_event): Small style changes.
5821 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-button.c: Update documentation.
5825 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5827 * examples/hildon-button-example.c: Add a switch to show images in
5830 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5832 * doc/hildon-docs.sgml: Some docs reorganization.
5834 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5836 * examples/hildon-pannable-area-touch-list-example.c
5838 * examples/hildon-pannable-area-touch-grid-example.c
5839 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5840 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5841 Fix memory leak when setting the tree model.
5843 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5847 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5849 * doc/hildon.types: Remove duplicated hildon_window_get_type
5850 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5851 documentation comment.
5853 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5855 * doc/Makefile.am: Complete list of private headers.
5857 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5859 * doc/hildon-docs.sgml
5860 * src/hildon-app-menu.c
5861 * src/hildon-bread-crumb.c
5862 * src/hildon-button.c
5864 * src/hildon-program.c
5865 * src/hildon-stackable-window.c
5866 * src/hildon-window.c: Lots of documentation updates.
5868 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5870 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5872 * configure.ac: Require Gtk+ 2.12.9 at least
5874 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5876 * src/hildon-pannable-area.c
5877 (hildon_pannable_area_scroll_indicator_fade),
5878 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5879 to protect the return of this timeout callbacks, avoiding deadlocks.
5881 2008-08-12 Christian Dywan <christian@imendio.com>
5884 * src/hildon-*.h: Ensure a consistent include order,
5885 include <gtk/gtk.h> instead of particular files and
5886 only include the topmost header in the gtk stack. See NB #39857
5888 2008-08-12 Christian Dywan <christian@imendio.com>
5890 * src/hildon-picker-dialog.c
5891 * src/hildon-touch-selector.c: Fix warnings about unused and
5892 uninitialized variables.
5894 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5896 * examples/Makefile.am
5897 * examples/hildon-check-button-example.c: Example of the hildon
5900 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-window.h
5903 * src/hildon-window.c (hildon_window_class_init)
5904 (hildon_window_unset_program): Don't make
5905 hildon_window_unset_program a virtual function anymore.
5907 * src/hildon-stackable-window.c: Update documentation
5909 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5912 * doc/hildon-docs.sgml
5913 * doc/visual_index.xml
5914 * src/hildon-defines.c
5916 * src/hildon-helper.c
5917 * src/hildon-range-editor.c: Lots of documentation fixes.
5919 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5921 * examples/hildon-picker-button-multicolumn-example.c
5922 (create_touch_selector): Fix compilation warning.
5924 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5926 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5927 (hildon_pannable_area_button_release_cb)
5928 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5930 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5932 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5935 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5937 * src/hildon-bread-crumb-trail.h
5938 * src/hildon-date-editor.c
5939 * src/hildon-date-selector.c
5940 * src/hildon-pannable-area.c
5941 * src/hildon-picker-dialog.c
5942 * src/hildon-time-selector.c
5943 * src/hildon-touch-selector-entry.c
5944 * src/hildon-touch-selector.c
5945 * src/hildon-touch-selector.h: Misc documentation fixes
5947 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5949 * examples/hildon-date-editor-example.c (main): Updated date
5952 * examples/hildon-note-example.c (on_confirmation_clicked):
5953 Updated confirmation note example.
5955 * src/hildon-date-editor.c
5956 * src/hildon-note.c: Updated sample programs in documentation.
5959 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5961 * src/hildon-date-button.h:
5962 * src/hildon-picker-button.h:
5963 * src/hildon-time-button.c:
5964 * src/hildon-time-button.h:
5966 Some declarations changes to allow gtk-doc to document the widgets
5969 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-date-button.c: Document the widget.
5972 * src/hildon-time-button.c: Document the widget.
5974 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5976 * src/hildon-picker-button.c: Document the widget.
5977 * src/hildon-touch-selector-entry.c: Document the widget.
5979 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5981 * doc/hildon-docs.sgml
5984 * src/hildon-check-button.h
5985 * src/hildon-check-button.c: New functions to create the Hildon
5989 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5991 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-button.h
5994 * src/hildon-button.c
5995 (hildon_button_add_title_size_group)
5996 (hildon_button_add_value_size_group)
5997 (hildon_button_add_image_size_group)
5998 (hildon_button_add_size_groups): New functions to set size groups
5999 for the button labels and image.
6000 (hildon_button_new_full): Removed
6002 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6004 * src/hildon-time-selector.c
6005 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6006 in order to avoid a crash if gconf is not available
6008 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6010 * src/hildon-button.c (hildon_button_set_arrangement)
6011 (hildon_button_construct_child): Don't construct the button child
6012 before setting the arrangement.
6014 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-program-private.h
6017 * src/hildon-program.c
6018 * src/hildon-program.h
6019 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6020 (hildon_program_peek_window_stack)
6021 (hildon_program_pop_window_stack)
6022 (hildon_program_go_to_root_window): HildonProgram now has a
6023 separate list for stackable windows. Functions are provided to
6024 manage that list with a stack-like API.
6026 * src/hildon-stackable-window.c: Stackable window management is
6027 now much simpler with the new HildonProgram API. Windows no
6028 longer need to be manually added to the program, they're
6029 automatically pushed to the top of the stack when shown.
6031 * examples/hildon-stackable-window-example.c: Updated example to
6032 reflect the API changes.
6034 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-touch-selector.c: Comment out unimplemented
6037 hildon_touch_selector_insert_column() to avoid a compile warning.
6039 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6041 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6042 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6043 (hildon_touch_selector_set_column_selection_mode),
6044 (_hildon_touch_selector_set_model),
6045 (hildon_touch_selector_set_model):
6047 Complete review of HildonTouchSelector documentation.
6049 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6051 * doc/hildon-docs.sgml
6055 * src/hildon-gtk.c: Convenience functions for standard Gtk
6056 widgets, used to easily perform frequent operations.
6058 * src/hildon-button-helpers.h
6059 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6061 * src/hildon-helper.h
6062 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6063 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6065 * src/hildon-button.h
6066 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6068 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6070 * src/hildon-button.c (hildon_button_init)
6071 (hildon_button_set_arrangement, hildon_button_construct_child):
6072 Pack the image and the labels inside the same GtkAlignment so
6073 gtk_button_set_alignment() can be used
6075 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6077 * src/hildon-button.h
6078 * src/hildon-button.c
6079 (hildon_button_init, hildon_button_set_image)
6080 (hildon_button_set_image_position)
6081 (hildon_button_construct_child): New functions to add an image to
6084 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6086 * src/hildon-date-button.c
6087 * src/hildon-picker-button.c
6088 * src/hildon-time-button.c
6089 * src/hildon-button.c:
6090 (hildon_button_class_init): "size-flags" renamed to "size"
6091 (hildon_button_set_title): Hide the title label if set to NULL.
6093 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6095 HildonButtonFlags split into HildonButtonArrangement (to set the
6096 button layout) and HildonSizeType (which can be used for any
6099 * src/hildon-button.h
6100 * src/hildon-button.c
6101 (hildon_button_class_init)
6102 (hildon_button_set_arrangement)
6103 (hildon_button_set_property): New "size-flags"
6104 property. "arrangement-flags" renamed to "arrangement".
6105 (hildon_button_new, hildon_button_new_with_text)
6106 (hildon_button_new_full): Constructors updated to reflect type changes.
6108 * src/hildon-helper.h
6109 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6110 to set the size of a widget.
6114 * src/hildon-button-helpers.c
6115 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6117 * src/hildon-date-button.c
6118 * src/hildon-date-button.h
6119 * src/hildon-picker-button.c
6120 * src/hildon-picker-button.h
6121 * src/hildon-time-button.c
6122 * src/hildon-time-button.h: Updated widgets to reflect
6123 HildonButton API changes.
6125 * examples/hildon-button-example.c
6126 * examples/hildon-date-button-example.c
6127 * examples/hildon-picker-button-example.c
6128 * examples/hildon-picker-button-multicolumn-example.c
6129 * examples/hildon-time-button-example.c
6130 * examples/hildon-touch-selector-entry-example.c
6131 * examples/hildon-touch-selector-example.c: Updated examples to
6132 reflect HildonButton API changes.
6134 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6136 * doc/hildon-docs.sgml:
6138 * examples/Makefile.am:
6139 * examples/hildon-touch-selector-entry-example.c:
6141 * src/hildon-touch-selector-entry.c:
6142 * src/hildon-touch-selector-entry.h:
6145 Moved HildonTouchSelectorEntry from sandbox. Added its
6146 documentation and examples.
6148 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6150 * src/hildon-touch-selector.h:
6151 * examples/hildon-picker-button-multicolumn-example.c:
6152 (hildon_touch_selector_append_text_column): Add a gboolean
6153 parameter to determine if text must be centered in the column.
6155 * src/hildon-date-selector.c: (hildon_date_selector_init):
6156 * src/hildon-time-selector.c: (hildon_time_selector_init):
6157 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6158 (create_touch_selector): Update widgets and example to reflect
6161 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-touch-selector.c:
6164 (hildon_touch_selector_set_active_iter): Set also the cursor in
6167 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6169 * doc/hildon-docs.sgml
6172 * src/hildon-toggle-button.c
6173 * src/hildon-toggle-button.h
6174 * src/hildon.h: Removed HildonToggleButton widget, a derived
6175 class is not necessary for this.
6177 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6179 * src/hildon-pannable-area.c,
6180 (hildon_pannable_area_realize),
6181 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6184 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6186 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6187 "done" button the default widget for the dialog.
6189 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6191 * src/hildon-touch-selector.c:
6192 (hildon_touch_selector_class_init),
6193 (hildon_touch_selector_get_property),
6194 (_hildon_touch_selector_set_model),
6195 (_hildon_touch_selector_has_multiple_selection),
6196 (hildon_touch_selector_has_multiple_selection):
6197 Add a "has-multiple-selection" property with a virtual
6198 has_multiple_selection() method to allow derived classes to
6199 override the default value for it. See the method and property
6200 documentation for details.
6202 * src/hildon-touch-selector.h: Add the new API.
6204 * src/hildon-picker-dialog.c: (requires_done_button): Call
6205 hildon_touch_selector_has_multiple_selection() instead of
6206 determining the need for a button itself.
6208 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6210 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6211 (_hildon_touch_selector_set_model),
6212 (hildon_touch_selector_set_model): Move working code to
6213 _hildon_touch_selector_set_mode(). Call the class method instead.
6215 * src/hildon-touch-selector.h: Add (*set_model) to
6216 HildonTouchSelectorClass.
6218 Make hildon_touch_selector_set_model() a virtual method, so that
6219 derived classes can extend it and do fancy stuff with the model.
6221 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6223 * configure.ac: Set back the tarname in AC_INIT to hildon.
6225 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6229 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6230 instead of libesd (NB#86876). Volume handling is still an open issue.
6232 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6235 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6238 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6239 derived class to ease placement of an entry widget in
6240 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6241 end, where the selector columns are packed now.
6243 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6245 * src/hildon-picker-button.c: Removed the simple _text() API.
6246 * src/hildon-picker-button.h: Likewise.
6248 * src/hildon-touch-selector.h:
6249 * src/hildon-touch-selector.c:
6250 (hildon_touch_selector_new_text),
6251 (hildon_touch_selector_append_text),
6252 (hildon_touch_selector_prepend_text),
6253 (hildon_touch_selector_insert_text):
6255 Moved the simple _text() API from HildonPickerButton to
6256 HildonTouchPicker, to provide better escalability and not to tie
6257 that API to HildonPickerButton.
6259 * examples/hildon-picker-button-example.c: (main): Example updated.
6261 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-button.c: Updated documentation.
6265 * examples/hildon-button-example.c: Add the posibility to create
6266 the buttons using horizontal layout for title and value.
6268 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6270 * src/hildon-app-menu-private.h
6271 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6272 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6273 GtkSizeGroup for the filters, use the 'homogeneous' property of
6276 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6278 * examples/hildon-button-example.c: Updated example.
6280 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6282 * doc/hildon-docs.sgml:
6285 Update documentation.
6287 * examples/Makefile.am: Update renamed examples.
6289 * examples/hildon-picker-button-multicolumn-example.c:
6290 (create_touch_selector), (main): Update after the rename.
6292 * examples/hildon-touch-picker-example.c: Removed.
6293 * examples/hildon-touch-selector-example.c: (value_changed),
6294 (create_selector), (get_visible_content), (main): Renamed from
6295 hildon-touch-picker-example.c
6297 * src/Makefile.am: Updated renamed files.
6299 * src/hildon-date-button.c: (hildon_date_button_init),
6300 (hildon_date_button_get_date), (hildon_date_button_set_date):
6301 * src/hildon-date-selector.c: (hildon_date_selector_init),
6302 (_custom_print_func), (_update_day_model),
6303 (_manage_selector_change_cb),
6304 (hildon_date_selector_select_current_date),
6305 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6306 * src/hildon-date-selector.h:
6307 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6308 (hildon_picker_button_set_property),
6309 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6310 (hildon_picker_button_init), (hildon_picker_button_new_text),
6311 (hildon_picker_button_append_text),
6312 (hildon_picker_button_prepend_text),
6313 (hildon_picker_button_insert_text),
6314 (hildon_picker_button_set_selector),
6315 (hildon_picker_button_get_selector):
6316 * src/hildon-picker-button.h:
6317 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6318 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6319 (_update_title_on_selector_changed_cb), (requires_done_button),
6320 (_hildon_picker_dialog_set_selector),
6321 (hildon_picker_dialog_set_selector),
6322 (hildon_picker_dialog_get_selector):
6323 * src/hildon-picker-dialog.h:
6324 * src/hildon-time-button.c: (hildon_time_button_init),
6325 (hildon_time_button_get_time), (hildon_time_button_set_time):
6326 * src/hildon-time-selector.c: (hildon_time_selector_init),
6327 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6328 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6329 * src/hildon-time-selector.h:
6332 Massive code updates after the rename.
6334 * src/hildon-touch-picker.c: Removed.
6335 * src/hildon-touch-picker.h: Removed.
6337 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6338 (hildon_touch_selector_init), (hildon_touch_selector_map),
6339 (hildon_touch_selector_remove), (_default_print_func),
6340 (_selection_changed_cb), (_create_new_column),
6341 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6342 (hildon_touch_selector_append_text_column),
6343 (hildon_touch_selector_remove_column),
6344 (hildon_touch_selector_set_column_attributes),
6345 (hildon_touch_selector_insert_column),
6346 (hildon_touch_selector_get_num_columns),
6347 (hildon_touch_selector_get_column_selection_mode),
6348 (hildon_touch_selector_set_column_selection_mode),
6349 (hildon_touch_selector_set_print_func),
6350 (hildon_touch_selector_get_print_func),
6351 (hildon_touch_selector_get_active_iter),
6352 (hildon_touch_selector_set_active_iter),
6353 (hildon_touch_selector_get_selected_rows),
6354 (hildon_touch_selector_get_model),
6355 (hildon_touch_selector_set_model),
6356 (hildon_touch_selector_get_current_text),
6357 (_hildon_touch_selector_center_on_selected_items):
6358 * src/hildon-touch-selector.h: Renamed from
6359 hildon-touch-picker.[ch]
6361 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6362 references, code examples, and related documentation.
6364 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6366 * doc/hildon-docs.sgml
6369 * src/hildon-toggle-button.c
6370 * src/hildon-toggle-button.h
6371 * src/hildon.h: New HildonToggleButton widget.
6373 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-button.c: Add API documentation.
6376 (hildon_button_set_size_groups): Check input parameters
6378 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6380 * src/hildon-pannable-area.c
6381 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6382 effect after reaching the movement thredshold. This way we start
6383 using the distance after passing the thredshold.
6385 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6387 * src/hildon-button.c: (hildon_button_set_property): Use the
6388 appropriate g_value_get_flags() method.
6390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6392 * doc/hildon-docs.sgml:
6395 Add the touch pickers, picker dialogs, and picker button widgets
6396 to the documentation.
6398 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6400 * src/hildon-button.c: (hildon_button_set_property),
6401 (hildon_button_class_init): Make "arrangement-flags" a proper
6402 G_TYPE_FLAGS derived property.
6404 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6406 * examples/Makefile.am: Add below examples.
6407 * examples/hildon-date-button-example.c:
6408 * examples/hildon-picker-button-example.c:
6409 * examples/hildon-picker-button-multicolumn-example.c:
6410 * examples/hildon-time-button-example.c:
6411 * examples/hildon-touch-picker-example.c:
6413 Add examples for the recently added touch pickers,
6414 picker dialogs, and picker button widgets.
6416 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-button.c: Add some API documentation
6420 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6422 * src/hildon-button.h
6423 * src/hildon-button.c
6425 (hildon_button_new_with_text): New constructor to create a button
6426 with no text at all.
6427 (hildon_button_init, hildon_button_set_arrangement)
6428 (hildon_button_set_title, hildon_button_set_value)
6429 (hildon_button_set_text)
6430 (hildon_button_construct_child): Hide the value when it's not used
6431 so the rest of the text is properly aligned.
6432 Allow creating buttons with arbitrary widgets inside (not just
6433 title/value labels).
6435 * examples/hildon-button-example.c (vertical_buttons_window)
6436 (horizontal_buttons_window): Update example to use new API.
6438 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6440 * src/Makefile.am: Added HildonTimeButton.
6441 * src/hildon-time-button.c: Added missing LGPL header.
6442 * src/hildon-time-button.h: Added missing LGPL header.
6443 * src/hildon.h: Add hildon-time-button.h
6445 Copied HildonTimeButton from sandbox to trunk. Future work on this
6446 widget must take place in trunk.
6448 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6450 * src/Makefile.am: Added HildonDateButton.
6451 * src/hildon-date-button.c: Update includes.
6452 * src/hildon.h: Add hildon-date-button.h
6454 Copied HildonDateButton from sandbox to trunk. Future work on this
6455 widget must take place in trunk.
6457 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/Makefile.am: Added HildonPickerButton.
6460 * src/hildon-picker-button.h: Update includes.
6461 * src/hildon.h: Add hildon-picker-button.h
6463 Copied HildonPickerButton from sandbox to trunk. Future work on
6464 this widget must take place in trunk.
6466 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6468 * src/Makefile.am: Added HildonPickerDialog.
6469 * src/hildon-picker-dialog.c: Update includes.
6470 * src/hildon.h: Add hildon-picker-dialog.h
6472 Copied HildonPickerDialog from sandbox to trunk. Future work
6473 on this widget must take place in trunk.
6475 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6477 * src/Makefile.am: Added HildonTimeSelector.
6478 * src/hildon.h: Add hildon-time-selector.h
6480 Copied HildonTimeSelector widget from sandbox to trunk. Future
6481 work on this widget must happen in trunk.
6483 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6485 * src/Makefile.am: Added HildonDateSelector.
6486 * src/hildon.h: Add hildon-date-selector.h
6488 Copied HildonDateSelector widget from sandbox to trunk. Future
6489 work on this widget must happen in trunk.
6491 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6493 * src/Makefile.am: Added HildonTouchPicker.
6494 * src/hildon-touch-picker.c: Update includes.
6495 * src/hildon.h: Add hildon-touch-picker.h
6497 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6498 on this widget must happen in trunk.
6500 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6502 * src/hildon-pannable-area.c:
6503 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6505 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6507 * examples/hildon-app-menu-example.c (main): Let the window
6510 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6512 * src/hildon-pannable-area.c
6513 (hildon_pannable_area_class_init): Set the min value of the
6514 overshoot properties to zero, which points out that not
6515 overshooting allowed.
6517 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6519 Modified the procedure to get the widget at a point inside the
6520 pannable area when using the movement type signals. Now the user
6521 has to call a function to get the child, that way we just
6522 calculate the child in case the user really want to use it and not
6525 * src/hildon-marshalers.list: Modified the marshallers, now we do
6526 not have the widget as a parameter.
6528 * src/hildon-pannable-area.c
6529 (hildon_pannable_area_motion_notify_cb),
6530 (hildon_pannable_area_class_init),
6531 (hildon_pannable_get_child_widget_at): Removed the widget
6532 parameter from the signal callback. We have also refactored the
6533 emission of the signals.
6535 * src/hildon-pannable-area.h: Added a new method to the API to
6536 calculate a widget at a point inside the pannable area,
6537 hildon_pannable_get_child_widget_at.
6539 * examples/hildon-pannable-area-example-4.c
6540 (horizontal_movement): Modified the example to use the new API,
6541 added condition to control which widget is under the event. This
6542 way we can avoid scrolling laterally over other widgets.
6544 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6546 * src/hildon-pannable-area.c
6547 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6548 modes, we stop getting the pointer events due to returning the
6549 callback without properly calling the get pointer again. Fixed
6550 also an error using the hscroll and vscroll.
6552 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6554 * src/hildon-app-menu-private.h
6555 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6556 (hildon_app_menu_button_release, hildon_app_menu_init)
6557 (hildon_app_menu_class_init): Don't hide the menu on button
6558 release if the user didn't press outside first.
6560 * src/hildon-window.h
6561 * src/hildon-window.c (hildon_window_toggle_menu)
6562 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6563 hildon_window_toggle_menu a virtual function for the stackable
6564 window to override it.
6566 * src/hildon-stackable-window.h
6567 * src/hildon-stackable-window-private.h
6568 * src/hildon-stackable-window.c
6569 (hildon_stackable_window_realize)
6570 (hildon_stackable_window_finalize)
6571 (hildon_stackable_window_class_init)
6572 (hildon_stackable_window_init)
6573 (hildon_stackable_window_set_main_menu): New function to set the
6574 app menu of a HildonStackableWindow.
6576 * examples/hildon-app-menu-example.c: Remove the button to show
6577 the app menu, now it'll be shown when clicking on the title bar
6580 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6583 set the widget name if the arrangement flags do not specify
6586 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6588 * src/hildon-button.c: (hildon_button_set_property),
6589 (hildon_button_class_init), (hildon_button_new_full),
6590 (hildon_button_set_arrangement): Added "arrangement-flags"
6593 Make the HildonButtonFlags a construction-only property, to allow
6594 subclasses to set them properly.
6596 2008-07-21 Tim Janik <timj@imendio.com>
6598 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6599 insertion position after backspace, so additional digits are appended,
6602 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6604 * src/hildon-pannable-area.c,
6605 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6606 TODO list, it was complete and removed the g_debug and g_print
6609 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6611 Added the movement modes to the hildon-pannable-area, with this
6612 modes the developers can control in which directions the widget
6613 can scroll. They can also connect to signals in order to do
6614 something when that happens, allowing applications scroll. There
6615 is an example uploaded showing how to use it.
6617 * examples/Makefile.am:
6618 * examples/hildon-pannable-area-example-4.c: Added this example of
6619 an application using the modes.
6621 * src/hildon-marshalers.list: Added a new marshaller for the new
6624 * src/hildon-pannable-area.h: Added new enumerations and flags in
6625 order to control the movement modes and the new signals to warn
6626 about the movements in the area.
6628 * src/hildon-pannable-area.c:
6629 (hildon_pannable_axis_scroll),
6630 (hildon_pannable_area_scroll),
6631 (hildon_pannable_area_motion_notify_cb),
6632 (hildon_pannable_area_get_property),
6633 (hildon_pannable_area_set_property),
6634 (hildon_pannable_area_map),
6635 (hildon_pannable_area_class_init),
6636 (hildon_pannable_area_init),
6637 (hildon_pannable_area_jump_to): Added the modes to control the
6638 movement in the widget. We have added properties to control it,
6639 signals to warn about the movements and refactored some code.
6641 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6643 Changes required in order to allow vfast_factor set to zero to
6646 * src/hildon-pannable-area.c:
6647 (hildon_pannable_area_button_press_cb): Changed the condition, it
6648 is required for not allowing click when vfast_factor is zero.
6649 (hildon_pannable_area_timeout): Initialized velocity variables
6650 when we stop moving, it was less than 1 but not zero and we need
6651 to check zero in some situations.
6652 (hildon_pannable_area_class_init): Changed the default value of
6653 the speed factor, now the button_press is just sent in case the
6654 speed is 2 per cent of the max speed.
6655 (hildon_pannable_area_init): Initialization with 0.
6657 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6659 * src/hildon-pannable-area.c,
6660 (hildon_pannable_area_get_topmost): replaced
6661 gdk_window_get_children with gdk_window_peek_children, this way we
6662 do not have to free the list because it is not a copy.
6664 (hildon_pannable_axis_scroll),
6665 (hildon_pannable_area_scroll),
6666 (hildon_pannable_area_timeout),
6667 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6668 two parameters that were only used inside the
6669 hildon_pannable_area_scroll function.
6671 * examples/hildon-pannable-area-example.c,
6672 (get_sawtooth_label): Fixed small memory leak.
6674 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6676 More checks for the case where the overshoot is bigger than the
6679 * src/hildon-pannable-area.c:
6680 (hildon_pannable_draw_vscroll),
6681 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6682 to draw the slider of the scrollbar under the other scrollbar.
6683 (hildon_pannable_area_expose_event): added new checks to control
6684 the drawing of the overshooting area rectangle, in case it is too
6685 big for the area of the widget.
6686 (hildon_pannable_area_size_allocate): add more checks to avoid
6687 setting a position to the child widget outside the area.
6689 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6691 * src/hildon-pannable-area.c
6692 (hildon_pannable_area_size_allocate): Added conditions to control
6693 when overshooting is bigger than the allocated space for the
6694 children, this avoids negative allocations.
6696 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6698 * doc/hildon-docs.sgml
6700 * examples/Makefile.am
6701 * examples/hildon-button-example.c
6703 * src/hildon-button.c
6704 * src/hildon-button.h
6705 * src/hildon.h: Initial version of the new HildonButton widget,
6708 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6710 * src/hildon-pannable-area.c:
6711 (hildon_pannable_area_button_press_cb),
6712 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6713 (hildon_pannable_area_motion_notify_cb),
6714 (hildon_pannable_area_button_release_cb),
6715 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6716 (hildon_pannable_area_jump_to_child):
6718 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6720 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6722 * examples/Makefile.am
6723 * examples/hildon-pannable-area-touch-grid-example.c
6724 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6725 the Hildon Touch List and Hildon Touch Grid using the
6726 HildonPannableArea widget.
6728 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6730 * src/hildon-pannable-area.c,
6731 (hildon_pannable_area_button_press_cb),
6732 (hildon_pannable_area_refresh),
6733 (hildon_pannable_area_scroll),
6734 (hildon_pannable_area_motion_notify_cb),
6735 (hildon_pannable_area_button_release_cb),
6736 (hildon_pannable_area_expose_event),
6737 (hildon_pannable_area_add),
6738 (hildon_pannable_area_remove),
6739 (hildon_pannable_area_realize),
6740 (hildon_pannable_area_size_allocate),
6741 (hildon_pannable_area_class_init),
6742 (hildon_pannable_area_init),
6743 (hildon_pannable_area_scroll_to_child),
6744 (hildon_pannable_area_jump_to_child): Fixed the problem of
6745 removing the child from the GtkBin, we have rearranged the widget
6746 hierarchy, now there is no GtkAlignment which was not doing
6747 anything interesting but breaking some of the assumptions of
6748 GtkContainer. Now developers if they want to add a GtkAlignment
6749 they could, but it is not inside the area.
6751 We had to review the whole allocation/expose process, now it is
6752 improved and we save at least three signals which would be saving
6753 some time when rendering the widget. The allocation of the
6754 scrollbars is now made in the allocate method as usual.
6756 We have also added some conditions in order to control when there
6757 is no child of the pannable area. Maybe we will need more work
6760 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6762 * src/hildon-pannable-area.c,
6763 (hildon_pannable_area_dispose): Released the fade-out timeout when
6764 disposing the widget.
6766 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6768 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6769 zero, we are going to use that property in order to deactivate the
6771 (hildon_pannable_axis_scroll),
6772 (hildon_pannable_area_size_allocate): Added conditions to control
6773 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6774 call, now it is called in all situations and we can remove calls
6775 in the allocate method.
6776 (hildon_pannable_area_map): Control the situation when
6777 overshoot_max is zero, we do not need the timeout.
6778 (hildon_pannable_area_class_init): Added documentation in order to
6779 point out that setting zero to overshoot_max means deactivate
6782 NOTE: removed trailing whitespaces from my previous comments of
6785 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6787 * src/hildon-pannable-area.c
6788 (hildon_pannable_area_get_property),
6789 (hildon_pannable_area_set_property),
6790 (hildon_pannable_area_map),
6791 (hildon_pannable_area_class_init),
6792 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6793 to cause the widget give a hint about its panning abilities upon
6796 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6798 * src/hildon-pannable-area.c: Several documentation improvements.
6800 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6802 * src/hildon-program.c
6803 * src/hildon-stackable-window.c: Update documentation.
6805 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-stackable-window.c (get_previous_window_if_last):
6808 Renamed get_last_window()
6809 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6810 (hildon_stackable_window_unset_program):
6812 (get_previous_window_if_last):
6813 Detect if the window hasn't been added to a HildonProgram.
6815 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6817 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6819 * src/hildon-pannable-area.c
6820 (hildon_pannable_area_button_press_cb),
6821 (hildon_pannable_axis_scroll),
6822 (hildon_pannable_area_scroll),
6823 (hildon_pannable_area_timeout),
6824 (hildon_pannable_calculate_vel_factor),
6825 (hildon_pannable_area_get_property),
6826 (hildon_pannable_area_set_property),
6827 (hildon_pannable_area_class_init),
6828 (hildon_pannable_area_init),
6829 (hildon_pannable_area_scroll_to),
6830 (hildon_pannable_area_jump_to),
6831 (hildon_pannable_area_scroll_to_child),
6832 (hildon_pannable_area_jump_to_child):
6833 * src/hildon-pannable-area.h: Added the new API functions:
6834 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6835 hildon_pannable_area_scroll_to_child,
6836 hildon_pannable_area_jump_to_child
6839 * examples/Makefile.am
6840 * examples/hildon-pannable-area-example-2.c
6841 * examples/hildon-pannable-area-example-3.c: Added these two new
6842 examples in order to test and show how the new APIs work.
6844 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6846 * examples/hildon-stackable-window-example.c (new_window):
6847 * src/Makefile.am (noinst_HEADERS):
6848 * src/hildon-program.c (hildon_program_go_to_root_window):
6849 * src/hildon-program.h:
6850 * src/hildon-stackable-window-private.h:
6851 * src/hildon-stackable-window.c:
6852 * src/hildon-stackable-window.h:
6853 Create hildon-stackable-window-private.h
6854 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6856 * examples/hildon-app-menu-example.c (create_menu):
6857 * examples/hildon-hvolumebar-insensitive-example.c (main):
6858 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6859 * examples/hildon-toolbar-seekbar-example.c (main):
6860 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6861 * src/hildon-banner.c (hildon_banner_set_property):
6862 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6863 Fix compilation warnings
6865 * src/hildon-window.c:
6868 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-stackable-window.c
6871 (hildon_stackable_window_unset_program):
6872 Calculate correctly whether to show the previous window if the
6873 last one is removed from the stack.
6874 (hildon_stackable_window_go_to_root_window):
6875 Send delete events starting from the topmost window.
6876 Stop if one of the windows is not destroyed.
6878 (hildon_stackable_window_delete_event)
6879 (hildon_stackable_window_class_init):
6880 Ignore the delete event if the window is not the topmost one.
6882 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6884 * src/hildon-pannable-area.c
6885 (hildon_pannable_area_expose_event): Fixed a problem when
6886 selecting the background color of the scrollbars.
6888 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6890 * examples/hildon-stackable-window-example.c
6891 * src/hildon-stackable-window.c
6892 * src/hildon-stackable-window.h
6893 hildon_stackable_window_go_home() renamed to
6894 hildon_stackable_window_go_to_root_window()
6895 Send delete events to windows rather than closing them with
6896 gtk_widget_destroy()
6898 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6900 * src/hildon-pannable-area.c
6901 (hildon_pannable_area_button_release_cb): Fix overshooting in
6904 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6906 * src/hildon-pannable-area.c
6907 (hildon_pannable_area_init): Initially show the scroll indicators.
6908 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6910 Add initial effect showing the widget is pannable.
6912 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6914 * src/hildon-pannable-area.c
6915 (hildon_pannable_area_class_init)
6916 (hildon_pannable_area_set_property)
6917 (hildon_pannable_area_get_property)
6918 (hildon_pannable_area_button_press_cb):
6919 New 'velocity_fast_factor' property to decide which velocity is
6922 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6924 * src/hildon-pannable-area.c
6925 (hildon_pannable_draw_hscroll)
6926 (hildon_pannable_draw_vscroll):
6927 Use float variables to calculate the size of the scrollbars to
6928 avoid error propagation and resizing during scrolling.
6930 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6932 * src/hildon-pannable-area.c
6933 (hildon_pannable_draw_vscroll)
6934 (hildon_pannable_draw_hscroll):
6935 Define a minimum size for the scroll bars
6937 * src/hildon-stackable-window.c
6938 (hildon_stackable_window_go_home): Fix compilation warning
6939 (get_last_window): Minor optimizations
6940 (hildon_stackable_window_class_init): Fix initialization of
6943 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6945 * src/hildon-stackable-window.c: Fixed typos in doc
6947 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6949 * src/hildon-pannable-area.c
6950 (hildon_pannable_area_scroll):
6951 Calculate here whether we need to scroll instead of using the booleans
6952 that tell us whether to /draw/ the scrolling bars.
6954 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6956 * src/hildon-app-menu.h
6958 * src/hildon-app-menu.c
6959 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6960 multiple filter groups related code and API. Now we support only
6962 * examples/hildon-app-menu-example.c:
6964 Update to reflect API changes.
6966 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6968 * src/hildon-stackable-window.c
6969 (hildon_stackable_window_class_init):
6970 Add hildon_stackable_window_realize.
6971 (hildon_stackable_window_realize):
6972 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6973 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6974 to apply theming and behavior specific to HildonStackableWindow
6977 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6979 * src/hildon-note.c (hildon_note_button_release):
6980 Close information notes also when tapping on them
6982 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6984 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6985 ELASTICITY, refactor and review, fix some issues with drawing
6988 * src/hildon-pannable-area.c:
6989 (hildon_pannable_area_button_press_cb): removed the conditions to
6990 avoid clicks when overshooting. It is not required
6992 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6993 define. Refatored and reviewed the code, now we do not need to
6994 manage velocity in motion_notify.
6996 (hildon_pannable_area_motion_notify_cb): We have moved the code
6997 that controls the area_scroll to the axis_scroll function and get
6998 rid of duplicated code.
7000 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7002 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7004 (hildon_pannable_draw_vscroll),
7005 (hildon_pannable_draw_hscroll): Fixed the problems with the
7006 scrollbar drawing, now we do not use two surfaces, it is easier
7007 and saves resources.
7009 (hildon_pannable_area_get_property): Style modification.
7011 (hildon_pannable_area_class_init): Changed some default values.
7013 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7015 * src/hildon-stackable-window.c: Fix some typos in the
7018 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-dialog.c:
7021 Change indentation style
7024 (hildon_note_button_release):
7025 Use root coordinates to check if the release event happened
7028 * src/hildon-app-menu.c
7029 (hildon_app_menu_button_release):
7030 Remove unnecessary check
7032 * examples/hildon-app-menu-example.c
7034 Add cast to fix warning
7036 * src/hildon-app-menu.c
7037 (hildon_app_menu_class_init):
7038 New inner-border style property.
7039 Set all default spacings to 16
7040 (hildon_app_menu_init):
7041 Use vertical-spacing to set the space between filter buttons and
7042 regular menu buttons.
7043 Set the default container border using the inner-border value.
7045 * examples/hildon-app-menu-example.c
7047 Don't set the menu border explicitly, now we have the inner-border
7048 style property for that.
7050 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-app-menu.c (hildon_app_menu_init):
7053 Make the window modal
7055 * src/hildon-note.c (hildon_note_map)
7056 * src/hildon-app-menu.c (hildon_app_menu_map):
7057 Destroy the grab window if we're unable to grab the pointer
7059 * src/hildon-app-menu-private.h
7060 * src/hildon-app-menu.c
7061 (hildon_app_menu_init, hildon_app_menu_finalize)
7062 (hildon_app_menu_map, hildon_app_menu_unmap)
7063 (hildon_app_menu_button_release)
7064 (grab_transfer_window_get):
7065 Bring back the grab window
7066 (hildon_app_menu_realize):
7067 Decorate the window, set WM hint for Matchbox
7069 * src/hildon-note.c (hildon_note_realize):
7070 * src/hildon-banner.c (hildon_banner_realize):
7071 Add WM hints for Matchbox
7073 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-app-menu-private.h
7076 * src/hildon-app-menu.c
7077 (hildon_app_menu_init, hildon_app_menu_finalize)
7078 (hildon_app_menu_map, hildon_app_menu_unmap)
7079 (hildon_app_menu_button_release):
7080 Remove the grab window, it's not needed anymore
7082 * src/hildon-program.c
7083 Fixed typo in documentation
7085 * src/hildon-app-menu.h
7086 * src/hildon-app-menu.c
7087 * examples/hildon-app-menu-example.c
7088 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7090 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7093 Added new transfer_window and close_if_pressed_outside private
7095 (hildon_note_rebuild):
7096 Don't add a cancel button to the information note. It will be
7097 closed when tapping outside
7098 Remove the comment about the OK button in the documentation
7099 (hildon_note_realize):
7100 Set the notification type hint
7101 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7102 Grab/ungrab pointer and keyboard if the note has to be closed when
7104 (hildon_note_button_release):
7105 Close the note when tapping outside (if applicable)
7107 * src/hildon-app-menu.c
7108 Grab/ungrab pointer and keyboard on map/unmap
7109 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7110 Close the menu on button release, not button press
7112 * src/hildon-banner.c
7113 (hildon_banner_set_property)
7114 (hildon_banner_check_position):
7115 Make the banner use the full width of the screen
7116 (hildon_banner_show_information)
7117 (hildon_banner_show_information_with_markup):
7118 Don't display an icon by default
7120 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7122 Added fading scrollbars and adapted all the overshooting code to
7123 horizontal scrolling. We have also fixed bugs with overshooting
7124 and current fading implementation.
7126 * src/hildon-pannable-area.c
7127 (hildon_pannable_area_scroll_indicator_fade): Time out function
7128 used to change the transparency of the scrollbars.
7130 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7131 control and fixed a problem with fading, we now remove the fade
7132 timeout before adding a new one.
7134 (hildon_pannable_axis_scroll):
7135 (hildon_pannable_area_scroll):
7136 (hildon_pannable_area_timeout): Added this functions so we can use
7137 the scroll code both for vertical and horizontal.
7139 (hildon_pannable_area_motion_notify_cb):
7140 (hildon_pannable_area_button_release_cb): Added the horizontal
7141 scrolling control, fixed a problem with the overshooting timeout.
7143 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7144 painting of the scrolls.
7146 (hildon_pannable_draw_vscroll):
7147 (hildon_pannable_draw_hscroll):
7148 (hildon_pannable_area_expose_event):
7149 Draw both scrollbars and rectangles in the overshooting area.
7151 (hildon_pannable_area_get_property):
7152 (hildon_pannable_area_set_property):
7153 Modified the overshoot property to overshoot_max
7155 (hildon_pannable_area_map):
7156 Replaced the comments symbols.
7158 (hildon_pannable_area_size_allocate):
7159 (hildon_pannable_area_class_init):
7160 (hildon_pannable_area_init): Added horizontal scroll, fading
7161 effect properties, fixed a problem when overshooting in the bottom
7164 * examples/hildon-pannable-area-example.c:
7165 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7166 looks better in the example.
7168 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7170 * src/hildon-window.c
7171 * src/hildon-window.h
7172 (hildon_window_class_init)
7173 (hildon_window_unset_program)
7174 (hildon_window_unset_program_real):
7175 Make unset_program a virtual function
7177 * src/hildon-stackable-window.c
7178 * src/hildon-stackable-window.h
7179 Added hildon_stackable_window_go_home()
7181 * examples/Makefile.am
7182 * examples/hildon-stackable-window-example.c
7183 HildonStackableWindow example
7185 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7187 * hildon-pannable-area.c: Added the overshoot property and removed
7188 the OVERSHOOT define. Fixed an indent style error.
7189 (hildon_pannable_area_motion_notify_cb):
7190 (hildon_pannable_area_get_property):
7191 (hildon_pannable_area_set_property): Add overshoot property.
7193 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7196 (hildon_pannable_area_class_init): Installed the new property.
7198 * hildon-pannable-area-example.c: Added a sawtooth function, this
7199 way it is easier to check the movement in the pannable.
7200 (get_sawtooth_label): Added this function.
7201 (main): Now we get the labels from the new get_sawtooth_label
7204 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7206 * src/hildon-app-menu.h
7207 * src/hildon-app-menu.c
7208 Renamed API variables for consistency
7210 (hildon_app_menu_popup): Use also the default window size to
7211 decide where to place the menu
7213 (hildon_app_menu_init, hildon_app_menu_class_init): New
7214 external-border style property
7216 2008-05-26 Michael Natterer <mitch@imendio.com>
7218 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7219 widget_class->tap_and_hold_setup signal slot doesn't exist any
7220 longer, stop overriding it.
7222 (hildon_time_editor_init): g_signal_connect() to the
7223 tap-and-hold-setup signal instead.
7225 (hildon_time_editor_entry_keypress): add cast to fix warning.
7227 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7229 * doc/hildon-docs.sgml
7231 * examples/Makefile.am
7232 * examples/hildon-app-menu-example.c
7234 * src/hildon-app-menu-private.h
7235 * src/hildon-app-menu.c
7236 * src/hildon-app-menu.h
7238 New HildonAppMenu widget
7240 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7242 Rearranged the inheritance of the pannable area, now it inherits
7243 from GtkBin. This will allow us to control the event_window and
7244 the allocation process of the widget, required for some effects.
7246 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7247 GtkBin structures. * src/hildon-pannable-area.c: Added the
7248 event_window variable.
7249 (hildon_pannable_area_button_press_cb):
7250 (hildon_pannable_area_button_release_cb):
7251 (hildon_pannable_area_motion_notify_cb):
7252 Changed the signature of the method, now we override the event
7253 callback instead of connecting to the signal.
7255 (hildon_pannable_area_realize):
7256 (hildon_pannable_area_unrealize):
7257 (hildon_pannable_area_map):
7258 (hildon_pannable_area_unmap):
7259 (hildon_pannable_area_size_allocate):
7260 Added functions to control the widget construction. We add a
7261 INPUT_ONLY window and we put it over the widgets inside the
7262 container, this event_window handles the events.
7264 (hildon_pannable_area_class_init):
7265 Replaced the signal connections with overrides of the event
7268 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7270 Bouncing effect added when touching the borders, you can change
7271 the elasticity of the border changing the ELASTICITY define.
7273 * src/hildon-pannable-area.c: Added ELASTICITY define.
7274 (hildon_pannable_area_timeout): Added inverse velocity when
7275 touching the border of the child widget, that causes a bounce.
7277 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7279 Improved performance, we now do not go to the X server in order to
7280 get the list of window children. Apparently the effect is the
7281 same, we have to be careful and check if this breaks something in
7284 * src/hildon-pannable-area.c:
7285 (get_ordered_children): Removed this function.
7286 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7287 the children windows function with gdk_window_get_children.
7289 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7291 * src/hildon-pannable-area.c:
7292 (hildon_pannable_area_dispose): Fixed a crash when closing the
7293 window and kinetics is activated.
7295 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7297 * src/hildon-pannable-area.h
7298 * src/hildon-pannable-area.c
7299 Changed indentation style to meet the one used in Hildon
7301 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7303 Reviewed the interaction of the AUTO mode, now we use the time
7304 attribute of the events and calculate the velocity in the motion,
7305 doing a gimp like calculation. The velocity is calculated in each
7306 motion event using the last velocity and the current one, the
7307 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7309 * src/hildon-pannable-area.c: Replaced the time based algorithm
7311 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7312 timeout for the AUTO mode when we are still moving the cursor. We
7313 added also the velocity calculation in this function.
7314 (hildon_pannable_area_button_release_cb): launch the timeout in
7315 case we are in AUTO mode. There are still some constants here that
7316 come from the old implementation that should be reviewed and
7319 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7321 * doc/hildon-docs.sgml
7324 * src/hildon-stackable-window.c
7325 * src/hildon-stackable-window.h
7327 New HildonStackableWindow widget
7329 * examples/hildon-dialog-example.c
7330 * examples/hildon-pannable-area-example.c
7333 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7335 * src/hildon-dialog.c
7336 (hildon_dialog_new_with_buttons): New constructor.
7338 * examples/hildon-dialog-example.c
7339 (main): Update the example to use the new
7340 hildon_dialog_new_with_buttons().
7342 * examples/hildon-pannable-area-example.c
7343 (main): Update example.
7345 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7347 * doc/hildon-docs.sgml
7349 Added HildonPannableArea to the documentation.
7351 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7353 * doc/visual_index.xml
7354 Fix reference to HildonLoginDialog in documentation
7356 * doc/hildon-docs.sgml
7358 * examples/Makefile.am
7359 * examples/hildon-dialog-example.c
7361 * src/hildon-dialog.c
7362 * src/hildon-dialog.h
7364 New HildonDialog widget.
7366 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7368 * src/hildon-pannable-area.c
7369 Merge latest changes (r4318, r4342) from libmokoui trunk
7371 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7373 * examples/Makefile.am
7374 * examples/hildon-pannable-area-example.c
7376 * src/hildon-pannable-area.c
7377 * src/hildon-pannable-area.h
7379 New HildonPannableArea widget.
7381 2008-04-15 18:05:19 <timj@imendio.com>
7383 * src/hildon-banner.c: revert the recent change, that introduced
7384 gtk_window_present() calls. this reopens:
7385 Bug 78481 - [freetest] information banners are hidden under browser menu
7386 But resolves another variant of:
7387 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7389 2008-04-15 13:21:13 <timj@imendio.com>
7391 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7392 recreated its layout, spotted by Kris. this fixes all remaining
7393 artefacts and stability issues with the banner code. in particular:
7394 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7396 2008-04-14 16:52:59 <timj@imendio.com>
7398 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7399 operating on unrealized widgets, fixes:
7400 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7402 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7404 2008-04-09 Kristian Rietveld <kris@imendio.com>
7406 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7407 makes banner disappear.
7408 Fixes: NB#79182: info banner flickering with certain message lengts.
7410 * src/hildon-banner.c (hildon_banner_constructor),
7411 (hildon_banner_init), (hildon_banner_set_text),
7412 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7413 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7414 FALSE, reset size requests of label and banner,
7415 (force_to_wrap_truncated): when the text is too wide, always enforce
7416 the maximum possible width instead of recalculating it from the
7417 layout; enforce the maximum banner height of 3 lines,
7418 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7419 nicer wrapping and no truncated chars if space gets tight.
7421 * src/hildon-banner-private.h: add has_been_wrapped and
7422 has_been_truncated fields.
7424 2008-04-07 Sven Herzberg <sven@imendio.com>
7426 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7427 local values in hildon_date_editor_size_allocate
7429 * src/hildon-date-editor.c: moved the real allocation code into the
7432 2008-04-07 Sven Herzberg <sven@imendio.com>
7434 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7435 local values in hildon_date_editor_size_allocate
7437 * src/hildon-date-editor.c: merged the two if() branches together
7439 2008-04-07 Sven Herzberg <sven@imendio.com>
7441 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7442 local values in hildon_date_editor_size_allocate
7444 * src/hildon-date-editor.c: changed the arguments of the if()
7447 2008-04-07 Sven Herzberg <sven@imendio.com>
7449 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7450 local values in hildon_date_editor_size_allocate
7452 * src/hildon-date-editor.c: split the calculation of the allocation
7453 from the real allocation
7455 2008-03-27 Michael Natterer <mitch@imendio.com>
7457 Fixes: NB#81696: The passcode is not overwritten even after
7460 * src/hildon-code-dialog.c
7461 (hildon_code_dialog_button_clicked)
7462 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7463 because that doesn't overwrite selected text. Instead, emit the
7464 "commit" signal on the entry's im_context so the entry's normal
7465 insert logic is triggered. Set the cursor to the end of the entry
7466 after each insert operation so that we *only* insert in the middle
7467 of the text if something was selected.
7469 2008-03-27 Michael Natterer <mitch@imendio.com>
7471 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7472 selector cannot be opened
7474 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7475 when the popup color selector is created. Please connect to this
7476 signal in order to set the dialog's help ID.
7478 2008-03-25 Sven Herzberg <sven@imendio.com>
7480 Fixes: MB#1212: Hide info banners (infoprints) on click
7482 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7483 extracted the close event simulation into an extra function
7484 (hildon_banner_button_press_event): simulate a close event and destroy
7485 the widget if the event wasn't handled
7486 (hildon_banner_class_init): added the button_press_event handler
7487 (hildon_banner_init): added button-press events to the widget
7489 2008-03-25 Sven Herzberg <sven@imendio.com>
7491 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7492 Patch from: Mohammad Anwari <mdamt@maemo.org>
7494 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7495 instead of the right in RTL mode
7496 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7497 breadcrumb button list in RTL mode
7498 * src/hildon-caption.c: mirror the appearance of the caption widget in
7500 * src/hildon-date-editor.c: mirror appearance of the date editor in
7502 * src/hildon-time-editor.c: mirror appearance of the time editor in
7504 * src/hildon-window.c: fix the position of the popup in RTL mode
7506 2008-03-25 Sven Herzberg <sven@imendio.com>
7508 Amendment to the fix of NB#22072. Fix compilation.
7510 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7512 2008-03-19 Sven Herzberg <sven@imendio.com>
7514 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7517 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7518 timeout id properly when the timeout will disappear this leaves no
7519 artifacts around in the destroy(); there will only be the timeout
7520 created by hildon_banner_ensure_timeout() and adding a new timeout
7521 will also work if the timeout gets removed because the timeout_handler
7524 2008-03-19 Michael Natterer <mitch@imendio.com>
7526 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7528 * src/hildon-volumebar.c
7529 * src/hildon-vvolumebar.c
7530 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7531 the widget becomes focussable at all.
7533 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7534 set the focus to wither the mute button or the volumebar.
7536 Remove own "can-focus" property and instead listen to
7537 notify::can-focus in order to update the widget's state.
7539 Implement GtkWidget::focus() and make sure we can also *leave* the
7540 widget, not only enter it, depending on volumebar orientation and
7541 requested focus direction.
7543 Clean up set_mute() to cooperate nicely with all the above.
7545 2008-03-04 Michael Natterer <mitch@imendio.com>
7547 Fixes: NB#78481: information banners are hidden under browser menu
7549 * src/hildon-banner.c: call gtk_window_present() on the banners so
7550 they are risen if they are already visible.
7552 2008-03-03 Sven Herzberg <sven@imendio.com>
7554 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7556 * examples/hildon-window-menu-example.c: (main): extended the window
7557 menu example to serve as a testcase for automatically added
7558 accelerator groups, too
7559 * src/hildon-window.c: (hildon_window_add_accel_group),
7560 (hildon_window_set_menu): added patch by Tommi Komulainen
7562 2008-03-03 Sven Herzberg <sven@imendio.com>
7564 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7566 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7567 knowledge about the border allocators used within GTK+
7569 2008-02-26 Sven Herzberg <sven@imendio.com>
7571 Fixes: MB#2981: Build with asserts broken
7573 * src/hildon-date-editor.c,
7574 * src/hildon-number-editor.c,
7575 * src/hildon-time-editor.c,
7576 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7577 the proper GType instance check
7579 2008-02-25 Sven Herzberg <sven@imendio.com>
7581 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7583 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7584 * examples/hildon-window-menu-example.c: (main): explicitly show
7586 * src/hildon-window.c:
7587 (hildon_window_set_main_menu): moved most of the code from set_menu()
7588 to this place; skipped the call to gtk_widget_show_all(); also didn't
7589 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7590 (hildon_window_set_menu): removed most of the code, just keep the
7591 questionable gtk_widget_show_all()
7592 * src/hildon-window.h: added the new function and deprecate the old
7595 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7601 * debian/changelog: Updating.
7603 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7606 * pkgconfig/Makefile.am:
7607 * pkgconfig/hildon.pc.in:
7610 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7611 use newly created API_MAJOR_VERSION.
7613 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7619 * debian/changelog: Updating.
7621 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7623 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7625 Add outer_border style property, we use it but don't define it (!).
7629 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7631 * examples/hildon-bread-crumb-trail-example.c (main):
7635 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7637 Fix logic for the bread crumb trail node removal.
7641 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * debian/changelog: Updating.
7649 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7651 Patch by Alejandro to get/set passwords dialogs accesibility.
7653 * hildon-1/src/hildon-get-password-dialog.c:
7654 * hildon-1/src/hildon-set-password-dialog.c:
7655 Set atk_set_name to the passwd entries in order to allow
7656 accessibility by name on this entries.
7658 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * debian/control: Updating gtk dep.
7665 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7667 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7668 USE_MAEMO_GTK is enabled.
7670 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7672 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7673 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7675 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7681 * debian/changelog: Updating.
7683 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * examples/Makefile.am:
7686 * examples/hildon-logical-color-example.c:
7687 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7688 applied + adding a test case. Fixes: NB#71660.
7690 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7692 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7693 to be visible, fixes warning on map for windows without toolbars.
7695 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7697 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7698 2.11.0, add a check for that besides the MAEMO_GTK check.
7700 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7706 * debian/changelog: Updating.
7708 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7711 visibility. Fixes: NB#70842 and MB#615.
7713 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7715 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7716 set the separator as no-show-all so it doesn't unintentionally appear when
7717 someone does a show_all.
7719 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7721 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7722 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7723 toplevel item. Fixes: NB#62031
7725 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7727 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7728 fix the name of the function in the docs.
7730 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * debian/changelog: Updating.
7738 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7740 * examples/hildon-banner-long-example.c: Adding a test-case for long
7743 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7745 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * src/hildon-color-chooser-dialog.c:
7748 * src/hildon-color-chooser.c:
7749 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7750 memory leaks in font selector and color selector. Fixes: NB#70499 and
7753 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7755 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7757 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7759 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7760 little bit bigger. Fixes: #NB63694.
7762 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * debian/changelog: Updating.
7770 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7773 * doc/hildon-docs.sgml:
7774 * doc/images/bread-crumb-trail.png:
7775 * doc/images/calendar-popup.png:
7776 * doc/images/caption.png:
7777 * doc/images/code-dialog.png:
7778 * doc/images/color-button.png:
7779 * doc/images/color-chooser-dialog.png:
7780 * doc/images/color-chooser.png:
7781 * doc/images/controlbar.png:
7782 * doc/images/date-editor.png:
7783 * doc/images/font-selection-dialog.png:
7784 * doc/images/get-password-dialog.png:
7785 * doc/images/hvolumebar.png:
7786 * doc/images/login-dialog.png:
7787 * doc/images/note.png:
7788 * doc/images/number-editor.png:
7789 * doc/images/range-editor.png:
7790 * doc/images/seekbar.png:
7791 * doc/images/set-password-dialog.png:
7792 * doc/images/sort-dialog.png:
7793 * doc/images/time-editor.png:
7794 * doc/images/time-picker.png:
7795 * doc/images/vvolumebar.png:
7796 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7797 Adding the bread-crumb-trial and helpers to the documentation.
7799 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7801 * examples/hildon-find-toolbar-example.c:
7802 * src/hildon-find-toolbar.c:
7803 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7804 actually continue firing the other handlers if connected. Adding a new
7806 hildon_find_toolbar_get_last_index that gets the index of the most
7807 recently added (last) item. Fixes: NB#52301.
7809 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7812 behaviour. Fixes: NB#68610.
7814 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7819 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7822 when realizing the banner. Should make the infonbanner effect a bit more
7825 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7827 * src/hildon-volumebar.c:
7828 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7829 hildon_volumebar_set_range_insensitive_message and
7830 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7832 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-window.c: Fixing the border freeing on destroy.
7836 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * src/hildon-code-dialog-private.h:
7839 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7840 kw keyboard support in HildonCodeDialog.
7842 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * debian/changelog: Updating.
7850 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7852 * src/hildon-date-editor.c:
7853 * src/hildon-number-editor.c:
7854 * src/hildon-private.c:
7855 * src/hildon-private.h:
7856 * src/hildon-time-editor.c:
7857 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7858 handling in subclassed composite widgets. Fixes: NB#66628.
7860 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7863 from destroy_ callback as it introduces problems in async dbus signal
7864 handlers. Fixes NB#66673.
7866 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7868 * examples/hildon-hvolumebar-example.c:
7869 * src/hildon-volumebar.c: Improving the focus handling in the
7870 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7871 set_property accessor so that "mute" property can be actually set. I'm
7872 scared that nobody noticed it's totally broken.
7874 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7879 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * src/hildon-calendar.c:
7882 * src/hildon-number-editor.c:
7883 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7884 matches the spec of 6 chars per second. Fixes: NB#60489.
7886 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7889 gtk_style_lookup_color sometime returns FALSE even though color was
7890 found and values were filled properly. Weird. Removing the warning for the
7893 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7895 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7896 expand vertically. Adding some extra space to the find toolbar buttons to
7897 make them thumbable. Fixes NB#66060.
7899 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7901 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7902 popup with "Ok" and "Cancel". Fixes NB#59299.
7904 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * src/hildon-calendar.c: Process all window updates before executing next
7907 timeout. Fixes: NB#54146.
7909 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * debian/changelog: Updating.
7917 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7919 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7920 the client event and ignore it, since we use the delete event to close
7923 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7925 * src/hildon-helper.c: Remove the bogus warning about color not being
7926 found. Fixes NB#58352.
7928 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7930 * examples/Makefile.am:
7931 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7932 HildonSeekbar widget inside a toolbar.
7934 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7936 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7937 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7938 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7939 don't want to be closed by non-temporary windows on map.
7941 Also use G_DEFINE_TYPE instead of manually typed code.
7943 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7950 * debian/rules: Updating.
7952 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * examples/Makefile.am:
7955 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7956 bug NB#61128. Strangely it works.
7958 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7960 * src/hildon-date-editor.c: When the date editor entry has been changed
7961 but the numbers of characters < max, turn off the skip validation flag.
7962 Prevents a situation when we enter first a valid year and later re-write
7963 it with an invalid one. Fixes NB#60154.
7965 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7968 code dialog. Fixes NB#64355.
7970 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7972 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7973 switching the page. Fixes NB#49374.
7975 * examples/Makefile.am:
7976 * examples/hildon-wizard-dialog-example.c: Adding an example for
7977 HildonWizardDialog that shows how to handle manual sensitivity setting on
7980 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7984 * src/hildon-version.h.in:
7985 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7987 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * src/hildon-volumebar.c: Updating the docs.
7991 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * debian/changelog: Updating.
7999 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8001 * src/hildon-find-toolbar.c:
8002 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8003 selected item: hildon_find_toolbar_set_active,
8004 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8005 hildon_find_toolbar_get_active_iter . They correspond to respective
8006 GtkComboBox functions.
8008 * examples/Makefile.am:
8009 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8012 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * examples/Makefile.am:
8015 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8018 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8019 when font size > 32 and we pack a focusable widget inside. Actually using
8020 the default response would work too, but since we don't show default
8021 response state in any way (no theming) it would not be visible to the
8022 user. Fixes NB#63430.
8024 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * src/hildon-date-editor.c: Adding the missing variable setter in the
8027 set_property handler. Fixes NB#54182.
8029 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * src/hildon-window.h: Changing the long key press time from 1500ms to
8032 800ms as requested in NB#63700. I have a bad feeling about this, let's
8033 see... Fixes NB#63700.
8035 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8037 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8038 hildon_time_picker_map, hildon_time_picker_realize,
8039 hildon_time_picker_style_set): Split the contents of map to more
8040 appropriate functions; set window decorations on realize and update
8041 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8043 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8048 * debian/changelog: Updating.
8050 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8052 * src/Makefile.am: fixed installation of the header files
8054 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8060 * debian/changelog: Updating.
8062 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8064 * configure.ac: Removing some remaining of --enable-xan.
8066 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8068 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8069 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8071 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8072 2.10.12-osso6 because the move-focus signal needs to be available in
8075 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8077 * examples/Makefile.am:
8078 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8079 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8080 fine. Prolly NB#61128 is fixed now.
8082 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8084 * src/hildon-volumebar.c:
8085 * src/hildon-volumebar.h: Adding the
8086 hildon_volumebar_set_range_insensitive_message and
8087 hildon_volumebar_set_range_insensitive_messagef functions to set
8088 insensitive message on the slider of the volumebar. Fixes NB#61129.
8090 * examples/Makefile.am:
8091 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8092 test the new insensitive messsage functionality on HildonVolumebar.
8094 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8096 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8099 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8101 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8102 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8103 button on after clearing the trail.
8105 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8107 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8109 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8111 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8112 by splitting the installed headers in generated and non-generated groups. Use
8113 only the non-generated headers to create the hildon-enum-types.h file.
8115 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8117 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-window.c: Hide the window before performing the destroy.
8120 Should make the app closing a little tiny bit more snappy.
8122 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8124 * src/hildon-seekbar.c: add gtkrange.h header
8125 * src/hildon-caption.c: remove unused variable
8127 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8129 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8132 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 * debian/changelog: Updating.
8140 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8142 * src/hildon-window.c (hildon_window_window_state_event,
8143 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8144 escape timeout on focus-out-event rather than notify::is-topmost; the
8145 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8147 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8150 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8152 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8154 * src/hildon-window: actually, you need to use the macro always, there's
8155 no private pointer in the instance structure. We should have cleaned this up
8156 when we had the chance...
8158 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8160 * src/hildon-window.c: do not get the private date from HildonWindow before
8161 it passes the g_return_if_fail check. Once it's passed the test, there's no
8162 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8163 if you are only going to access the data once. Whitespace cleanups.
8165 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8168 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8170 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * debian/changelog: Updating.
8178 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * src/hildon-window.c: When destroying the window, remove (if exists) the
8181 escape timeout handler. Fixes #NB59276.
8183 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * src/hildon-banner.c: When realizing the widget, set the window
8186 transiency. Setting the transiency in the gobject constructor is not
8187 good, as the widget is not realized at that point. Fixes: #NB56624.
8189 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8191 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8192 Add padding for future expansions.
8194 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8196 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8197 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8198 will fake an activation on the previous to the last item of the trail, so
8199 the effect can be overrided by the developer as usual.
8200 Also change the callback for the back button to do the same thing, so its
8201 effect can be overrided too. Fixes: NB#58982
8203 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8206 HildonCaption. Fixes NB#52379.
8208 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8210 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8211 the internal state of the trail after the user has had the chance of executing
8212 his handler for the signal. Specifically, it may happen that the activated button
8213 is removed and the user still lets the default handler run. This would segfault
8216 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8219 scrollbar to the preview dialog. Fixes NB#54147.
8221 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8224 max/min year properties can be altered, so the client can modify it
8225 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8227 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8230 hildonlike by default. Fixing a problem with disappearing arrows when
8231 scrolling through months and years. Fixes NB#54127.
8233 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8235 * examples/hildon-date-editor-example.c: Adding error callback to the date
8238 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * configure.ac: Updating.
8246 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * configure.ac: Adding a special '--enable-xan' configure option that
8249 turns off the -Werror compilation setting. Usefull for development.
8251 * src/hildon-calendar.c:
8252 * src/hildon-number-editor.c:
8253 * src/hildon-time-picker.c: Adding the 5* multiplier to
8256 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8258 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8259 instead of g_object_ref + gtk_object_sink.
8261 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * debian/changelog: Updating.
8269 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8271 * src/hildon-color-chooser-dialog.c:
8272 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8273 straight from Tommi labs.
8275 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * examples/hildon-finger-example.c: Correcting the header file path.
8279 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8280 the changed signal. Fixes a small memory leak.
8282 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * src/hildon-banner.c: Importing several usefull fixes from the
8287 ubuntu-mobile branch.
8289 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * examples/Makefile.am:
8292 * examples/hildon-finger-example.c: Adding a finger-checking code
8295 * src/hildon-font-selection-dialog.c: Do not allocate the color
8296 structure using the g_new. Fixes NB#54061.
8298 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8300 * src/hildon-helper.c: Correcting tabs in file.
8302 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8304 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8305 control the visibility of the children.
8307 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8309 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8315 * debian/changelog: Updating.
8317 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8319 * src/hildon-bread-crumb-trail.c:
8320 (hildon_bread_crumb_trail_size_allocate):
8322 Make the back button always a square.
8324 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8326 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8327 from the .c file as it's a private file.
8329 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8332 uses slightly bigger height.
8334 * src/hildon-font-selection-dialog.c: Adding some checks before
8335 freeing memory in the font selection dialog.
8337 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-font-selection-dialog.c: Adding a small check when
8342 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8343 buttons sensitivity on page switching.
8345 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8347 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8348 internal details of adding a bread crumb to the trail.
8350 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * debian/changelog: Updating.
8358 * src/hildon-bread-crumb-trail.h:
8359 * src/hildon-bread-crumb.h: Changing the API guard to
8360 HILDON_ENABLE_UNSTABLE_API.
8362 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * src/hildon-helper.h: Updating.
8372 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8380 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8384 * src/hildon-helper.h: Small fix to make the package actually compile.
8386 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8388 * src/hildon-bread-crumb-trail.h:
8389 * src/hildon-bread-crumb.h:
8391 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8392 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8394 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8396 * examples/hildon-bread-crumb-trail-example.c:
8398 * src/hildon-bread-crumb-trail.c:
8399 * src/hildon-bread-crumb-trail.h:
8400 * src/hildon-bread-crumb.c:
8401 * src/hildon-bread-crumb.h:
8402 * src/hildon-marshalers.list:
8403 * src/hildon-bread-crumb-widget.c:
8404 * src/hildon-bread-crumb-widget.h:
8406 Slight change in the widget design. The bread crumb trail API is
8407 unchanged, but HildonBreadCrumb is now an interface. A *private*
8408 implementation, hildon-bread-crumb-widget, is provided and used
8409 internally by the trail for the push_text/push_icon functions.
8411 The generic push API is still available, so anyone can implement
8412 and use its own bread crumb widget.
8414 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * debian/rules: Fixing the shlibs.
8418 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * src/hildon-banner.c: Fixing a problem with timed banners having
8421 their parrent destroyed before they are.
8423 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8425 * src/hildon-bread-crumb.c:
8426 * src/hildon-bread-crumb.h:
8428 Make the get_natural_size function a vfunc.
8430 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8432 * src/hildon-bread-crumb.c:
8433 * src/hildon-bread-crumb-trail.c:
8437 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * debian/changelog: Updating for release.
8446 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8448 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8449 don't leak the pango layout.
8451 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8454 * examples/hildon-bread-crumb-trail-example.c:
8458 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * debian/changelog: Removing the bug-fixed entries that were actually
8461 resolved as WONTFIX.
8463 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8466 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8468 * src/hildon-bread-crumb-trail.c:
8469 * src/hildon-bread-crumb-trail.h:
8470 * src/hildon-bread-crumb.c:
8471 * src/hildon-bread-crumb.h:
8475 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8477 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8478 until it's passed the type check.
8480 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8482 * examples/hildon-bread-crumb-trail-example.c
8486 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8488 * examples/Makefile.am
8489 * examples/hildon-bread-crumb-trail-example.c
8491 * src/hildon-bread-crumb-trail.c
8492 * src/hildon-bread-crumb-trail.h
8493 * src/hildon-bread-crumb.c
8494 * src/hildon-bread-crumb.h
8496 New HildonBreadCrumbTrail widget.
8498 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8500 * src/hildon-range-editor.c (hildon_range_editor_init),
8501 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8502 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8503 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8504 hildon_time_editor_class_init, hildon_time_editor_init),
8505 src/hildon-get-password-dialog.c (invalid_input,
8506 hildon_get_password_set_property, hildon_get_password_get_property,
8507 create_contents, hildon_get_password_dialog_set_max_characters),
8508 src/hildon-set-password-dialog.c (create_contents),
8509 src/hildon-date-editor.c (hildon_date_editor_init),
8510 src/hildon-login-dialog.c (hildon_login_dialog_init),
8511 src/hildon-number-editor.c (hildon_number_editor_init),
8512 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8513 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8514 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8515 configure option and adding the respective checks in the code.
8516 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8517 hildon_calendar_drag_data_received): fixed some build warnings.
8519 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8521 * debian/changelog: A 1.0.0 release notes.