1 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-touch-selector.c:
4 (hildon_touch_selector_optimal_size_request): use the current requisition
5 as the base, in order to include any possible extra widget, like the
6 hildon entry on HildonTouchSelectorEntry
8 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
10 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: post release version bump
13 * debian/changelog: post release version bump
15 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
20 * configure.ac: Bump version.
21 * debian/changelog: Updates.
23 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
25 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
27 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
28 to ensure the banner contents are centered, instead of relying on
29 the expand and fill properties in GtkHBox.
30 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
32 Fixes: NB#108265 (Animation banner not properly centered)
34 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
36 * hildon/hildon-pannable-area.c
37 (hildon_pannable_area_initial_effect): Remove the initial_effect
38 management, check initial_hint
39 (hildon_pannable_are_expose_event): Remove the initial_hint management,
40 set initial_effect to FALSE
41 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
42 by launching the fade_timeout if the scrollbars state has changed and are
44 * examples/hildon-pannable-area-initial-hint-example.c
45 Modified to allow to remove rows too. Add and remove rows one by one.
47 2009-05-28 Alberto Garcia <agarcia@igalia.com>
49 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
50 Don't close the menu if there's an animation actor below it.
52 Fixes: NB#117927 (Application menu not usable with animation
55 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
57 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
58 "focus-on-click" from the dialog button, to avoid stealing the
61 Fixes: NB#118903 (Account setup wizard: Text in Search field
62 should be focused when "Region" touch list picker is reopened
65 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
67 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
68 (prepare_action_area): Completely hide the dialog separator.
70 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
72 * hildon/hildon-touch-selector-entry.c
73 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
74 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
75 now that the entry is exposed.
77 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
79 * hildon/hildon-touch-selector-entry.c
80 (hildon_touch_selector_entry_init): Change the entry's size
81 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
83 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
85 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
86 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
87 avoid unnecessary scaling.
89 2009-05-27 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-app-menu.c (hildon_app_menu_map):
92 Create grab transfer window before calling parent's map function.
94 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
95 "crushed" button(s) in the top left corner)
97 2009-05-26 Alberto Garcia <agarcia@igalia.com>
99 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
100 Check if the window is already realized when pushing it.
102 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
104 * configure.ac: post release version bump
105 * debian/changelog: post release version bump
107 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
112 * configure.ac: Bump version.
113 * debian/changelog: Updates.
115 2009-05-25 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-app-menu.c: Doc updates.
119 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
121 * hildon/hildon-banner.c: Remove leftover macro.
123 2009-05-25 Alejandro G. Castro <alex@igalia.com>
125 * hildon/hildon-pannable-area.c,
126 (hildon_pannable_area_scroll_indicator_fade),
127 (hildon_pannable_area_button_release_cb): Reviewed vmin
128 conditions, it could cause problems in the fadeout procedure.
130 2009-05-25 Alejandro G. Castro <alex@igalia.com>
132 * hildon/hildon-pannable-area.c
133 (hildon_pannable_area_button_release_cb): Added a threshold to
134 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
136 2009-05-25 Alejandro G. Castro <alex@igalia.com>
138 * hildon/hildon-pannable-area.c,
139 (hildon_pannable_area_set_property): Added code to sync the gtk
140 dnd threshold with the panning threshold.
142 2009-05-25 Alejandro G. Castro <alex@igalia.com>
144 * hildon/hildon-pannable-area.c,
145 (hildon_pannable_area_class_init): Changed some of the default
146 values, now it should be less responsive and more accurate.
148 2009-05-25 Alejandro G. Castro <alex@igalia.com>
150 * hildon/hildon-pannable-area.c,
151 (hildon_pannable_area_init),
152 (hildon_pannable_area_scroll_indicator_fade),
153 (hildon_pannable_area_button_press_cb),
154 (hildon_pannable_axis_scroll),
155 (hildon_pannable_area_timeout),
156 (hildon_pannable_area_motion_notify_cb),
157 (hildon_pannable_area_button_release_cb): Changed the name of the
158 clicked attribute to button_pressed, it is more clear about its use.
160 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
162 * src/hildon-pannable-area.c
163 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
165 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
166 vertical scrollbar visibility, and use the data on private section instead,
167 remove the initial_hint check
168 (hildon_pannable_area_expose_event): add the initial_hint check here
170 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
172 * src/hildon-pannable-area.c
173 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
174 if the fadeout effect was used
175 (hildon_pannable_area_expose_event): check if it is required to
176 manage the initial effect on the begining of the function. Previously
177 it was made at the end, but this doesn't ensure that the scrollbars
178 will be painted on the first show. Do not set to FALSE initial_effect,
179 to ensure that the initial hint is showed the first time the pannable
181 * examples/Makefile.am
182 * examples/hildon-pannable-area-initial-hint-example.c:
183 New example, to show that the initial-hint is showed when the widget
186 Fixes: NB#116607 (Pannable area should always have scrollbar visible
187 initially if the application can be scrolled)
189 2009-05-25 Alberto Garcia <agarcia@igalia.com>
191 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
192 Resize table before adding new items to make sure that
193 gtk_table_resize() is called just once.
195 2009-05-25 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-app-menu-private.h
198 * hildon/hildon-app-menu.c (item_visibility_changed)
199 (filter_visibility_changed, hildon_app_menu_show_all)
200 (hildon_app_menu_hide_all, hildon_app_menu_init):
201 Rearrange items just once when gtk_widget_show_all()/hide_all()
204 2009-05-25 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-app-menu.c
207 (hildon_app_menu_insert, hildon_app_menu_add_filter):
208 Don't call gtk_widget_show() on added items.
210 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
211 automatically when they're added)
213 2009-05-20 Alberto Garcia <agarcia@igalia.com>
215 * hildon/hildon-banner.c
216 (hildon_banner_realize, +hildon_banner_unrealize)
217 (+screen_size_changed, hildon_banner_class_init):
218 Redisplay the banner if the screen is rotated.
220 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
221 on transition from landscape to portrait)
223 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
225 * hildon/hildon-banner.[ch]:
226 (hildon_banner_show_information_override_dnd): remove icon_name from the
227 method definition as it is ignored.
228 * examples/hildon-banner-dnd-example.c: updated with the change on
231 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
233 * hildon/hildon-banner-private.h: new require_override_dnd and
234 overrides_dnd variables
235 * hildon/hildon-banner.h:
236 (hildon_banner_show_information_override_dnd): new method, that shows
237 the information but sets the override flag, in order to show important
239 * hildon/hildon-banner.c
240 (hildon_banner_show_information_override_dnd): new method
241 (hildon_banner_set_override_flag): new utility function
242 (hildon_banner_real_show_information): new utility function, in order to
243 generalize the current hildon_banner_show_information_override_dnd and
244 hildon_banner_show_information_override_dnd
245 * examples/Makefile.am
246 * examples/hildon-banner-dnd-example.c: New example that show how to
247 use the new hildon_banner_show_information_override_dnd
249 Fixes: NB#114874 (There is no possibility to show hildon banners with
252 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
254 * hildon/hildon-pannable-area.c: Add a comment explaining the math
255 behind hildon_pannable_calculate_vel_factor().
257 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
259 * hildon/hildon-pannable-area.c
260 (hildon_pannable_calculate_vel_factor): Correct the sum of the
261 deceleration factors.
263 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
265 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
266 Reduce the default value for 'scroll_time' to 1 second, since the
267 current initial scrolling takes too much time.
269 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
271 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
272 calculate velocity factor during initialization, since the properties
275 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
277 * hildon/hildon-pannable-area.c
278 (hildon_pannable_area_set_property): Calculate the velocity factor
279 after setting the deceleration property and not after.
281 2009-05-20 Alberto Garcia <agarcia@igalia.com>
283 * hildon/hildon-entry.c
284 (hildon_entry_class_init, +set_property, hildon_entry_new)
285 * hildon/hildon-check-button.c
286 (hildon_check_button_class_init)
287 (+set_property, hildon_check_button_new):
288 Make the theme size a property.
290 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
291 others) do too much in the _new function)
293 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
295 * configure.ac: post release version bump
296 * debian/changelog: post release version bump
298 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: Bump version.
304 * debian/changelog: Updates.
306 2009-05-15 Alberto Garcia <agarcia@igalia.com>
308 * hildon/hildon-gtk.h
309 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
310 New API function to take a screenshot of a window
312 Fixes: NB#106374 (Need API to take a loading screenshot)
314 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
316 * hildon/hildon-time-selector.c
317 (update_format_policy): prevent to use hours and minutes unitialized
319 2009-05-15 Alberto Garcia <agarcia@igalia.com>
321 * hildon/hildon-window.c (hildon_window_size_request):
322 Always request the full size of the screen (minus the title bar if
323 not in fullscreen mode).
325 Fixes: NB#107486 (HildonWindow should size itself properly)
327 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
329 * hildon/hildon-note-private.h: Add idle_handler to the private data.
330 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
331 (on_show_cb), (sound_handling): Disconnect the idle handler for
332 the sound when the note is finalized to avoid possible crashes.
334 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
337 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
339 * src/hildon-animation-actor.c,
340 * src/hildon-remote-texture.c:
341 Added proper object cleanup to remove signal handler and object
342 references as HildonAnimationActor and HildonRemoteTexture
343 objects get destroyed.
345 Fixes: NB#116682 (Destroying parented animation actors when
346 parent in unmapped leads to crash)
348 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
350 Based on a patch by Christian Dywan (christian@imendio.com)
352 * doc/hildon-sections.txt:
353 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
354 * hildon/hildon-helper.h: New file size formatting method.
356 * debian/control: Depend on osso-filemanager l10n package for
357 proper localization strings.
359 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
361 * tests/Makefile.am: Include top_srcdir to make possible to build
362 tests in a different builddir.
363 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
364 on a different builddir.
366 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
368 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
369 (hildon_touch_selector_remove): Disconnect model's signal handler
372 Fixes: NB#116289 (Hildon home crashes while adding task
375 2009-05-11 Alberto Garcia <agarcia@igalia.com>
377 * hildon/hildon-button.c
378 (hildon_button_set_title, hildon_button_set_value):
379 Hide labels containing an empty string.
381 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
383 * configure.ac: post release version bump
384 * debian/changelog: post release version bump
386 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
396 * hildon/hildon-note-private.h: Removed sound_signal_handler
397 * hildon/hildon-note.c
398 (on_show_cb): new callback on note "show" event, this simply adds
399 a idle, with the function sound_handling
400 (sound_handling): removed the sound_signal_handler management
401 (hildon_note_init): connect note "show" event to on_show_cb
402 (hildon_note_realize): remove the connection to "expose-event"
404 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
405 device?' confirmation note)
407 2009-05-08 Alberto Garcia <agarcia@igalia.com>
409 * hildon/hildon-note.c
410 (hildon_note_new_information_with_icon_name)
411 (hildon_note_new_confirmation_with_icon_name):
412 Terminate the list of parameters in g_object_set() calls
414 Fixes: NB#115166 (Formatting memory card is not taking place)
416 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
419 "dialog-information" role for the sound being played.
421 2009-05-06 Alberto Garcia <agarcia@igalia.com>
423 * hildon/hildon-app-menu.c (hildon_app_menu_init):
424 Don't make the menu a modal window, it causes strange interactions
425 with the pointer grab and it's not really needed.
427 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
429 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
431 * hildon/hildon-touch-selector.[ch]
432 (hildon_touch_selector_optimal_size_request): function added to get a
433 optimal size request from the touch selector, when you want a dialog to
434 show as much of the selector
435 * hildon/hildon-picker-dialog.c:
436 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
437 (hildon_app_menu_class_init):
438 New "max-height-landscape" and "max-height-portrait" style properties
439 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
440 (hildon_picker_dialog_get_max_height): returns the maximum height using
441 the style properties defined and checking the current portrait/landscape
443 (_hildon_picker_dialog_set_selector): removed the set_size_request
445 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
447 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-bread-crumb-trail.c:
450 * hildon/hildon-bread-crumb.c:
451 * hildon/hildon-seekbar.c:
452 Add reference to replacements for these deprecated widgets.
454 Fixes: MB#4461 (Documentation: All deprecations should mention
457 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
459 * examples/hildon-remote-texture-example.c
461 Change the include to the hildon-remote-texture in order to compile
462 properly the examples on the installed libhildon1-examples package
464 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
466 * tests/Makefile.am: Add check for HildonPickerButton.
467 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
468 (START_TEST), (create_hildon_picker_button_suite): Add three simple
469 checks for the HildonPickerButton.
470 * tests/check_test.c (configure_tests): Add the test suite.
471 * tests/test_suites.h: likewise.
473 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-touch-selector.c
476 (+on_row_changed): Emit HildonTouchSelector:changed when the
477 contents of a selected row change.
478 (_create_new_column), (_hildon_touch_selector_set_model): connect
479 to GtkTreeModel:row-changed on a newly set model.
481 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
483 2009-05-05 Alberto Garcia <agarcia@igalia.com>
485 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
487 * hildon/hildon-banner.c (hildon_banner_destroy)
488 (hildon_banner_show_progress, hildon_banner_set_fraction):
489 Remove the progress bar from HildonBanner and use a progress
492 Fixes: NB#113761 (Update progress banner to use progress
495 2009-05-04 Alberto Garcia <agarcia@igalia.com>
497 * hildon/hildon-banner.c:
498 Calculate size of the banner label using the actual screen width
499 rather than using a fixed value.
501 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
504 2009-05-04 Alejandro G. Castro <alex@igalia.com>
506 * hildon/hildon-pannable-area.c,
507 (hildon_pannable_area_class_init): Fixed signals documentation
510 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: post release version bump
513 * debian/changelog: post release version bump
515 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
520 * configure.ac: Bump version.
521 * debian/changelog: Updates.
523 2009-05-01 Alberto Garcia <agarcia@igalia.com>
525 * hildon/hildon-edit-toolbar.c
526 (hildon_edit_toolbar_init):
527 Don't let buttons in HildonEditToolbar receive focus.
529 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
530 typing on an HW arrows key)
532 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
534 * doc/Makefile.am: Fix build.
536 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
538 * doc/Makefile.am: Do not redefine content_files.
540 2009-04-30 Alberto Garcia <agarcia@igalia.com>
548 Renamed src/ to hildon/
553 Include <hildon/hildon.h> directly in all examples.
555 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
557 * src/hildon-sort-dialog.c
558 (hildon_sort_dialog_add_sort_key_with_sorting)
562 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
564 * src/Makefile.am: Move generated sources to CLEANFILES, so that
565 make distcheck passes.
567 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
569 * Makefile.am: Enable gtk-doc during distcheck.
571 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
573 * Makefile.am: Do not distribute the debian/ directory.
575 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
577 * doc/Makefile.am: Add the extra SGML files to content_files,
578 so that they are distributed properly.
580 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
582 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
585 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
587 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
588 (hildon_note_new_information_with_icon_name): Set the "icon" property
589 to preserve soundness.
591 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
593 * src/hildon-font-selection-dialog.c
594 (hildon_font_selection_dialog_set_property): Fail when the "family"
595 property is set to NULL.
597 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
602 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
604 * src/hildon-time-selector.h:
605 Added HildonTimeSelectorFormatPolicy
606 * src/hildon-time-selector.c:
607 Added PROP_TIME_FORMAT_POLICY
608 (_check_ampm_format): renamed to check_automatic_ampm_format
609 (update_format_policy), (update_format_dependant_columns): new functions
610 (hildon_time_selector_class_init)
611 (hildon_time_selector_contructor)
612 (hildon_time_selector_init)
613 (hildon_time_selector_get_property)
614 (hildon_time_selector_set_property)
615 (hildon_time_selector_get_time)
616 (hildon_time_selector_set_time)
617 * src/hildon-touch-selector.h: new file
618 * src/hildon-touch-selector.c
619 (hildon_touch_selector_emit_changed)
620 (hildon_touch_selector_block_changed)
621 (hildon_touch_selector_unblock_changed)
622 Added functions to allow to block the emission of the "changed" signal
623 * src/hildon-picker-dialog.c
624 (hildon_picker_dialog_show): call the parent show before the custom code
625 * examples/hildon-time-button-example.c
626 Modified, so now you can configure the time format using the new property
628 Added a new property "time-format-policy" that allow to choose the time
629 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
630 case it uses gconf in order to check if the time selector must use
633 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
636 2009-04-28 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-note.c (hildon_note_init):
639 Label in HildonNote must be left aligned, not centered. This
640 reverts the last commit in HildonNote.
642 Fixes: NB#112933 (text is not left aligned in confirmation dialog
643 is connectivity dialog)
645 2009-04-27 Alberto Garcia <agarcia@igalia.com>
650 * doc/hildon-sections.txt:
651 Added hildon_gtk_window_set_do_not_disturb()
653 2009-04-27 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-note.c (hildon_note_init): Center label.
657 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
660 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
665 * configure.ac: Bump version.
666 * debian/changelog: Updates.
668 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
670 * src/hildon-note-private.h: Add button-width to the private data.
671 * src/hildon-note.c (+resize_button),
672 (+hildon_note_orientation_update): methods to repack widgets on orientation
674 (screen_size_changed): Call above method for confirmation notes.
675 (hildon_note_realize): Always connect to the "screen-size" changed signal.
676 (hildon_note_rebuild): Store the original width request from buttons.
678 Fixes: NB#109635 (Confirmation notes do not support portrait)
680 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
682 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
683 when it is a progress note.
685 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
687 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
688 in the note, since there are no horizontally arranged contents.
690 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
692 * src/hildon-gtk.c (+set_flag): new generic method to
693 set/delay a flag setting in a window.
694 (hildon_gtk_window_set_progress_indicator):
695 (hildon_gtk_window_set_do_not_disturb),
696 (hildon_gtk_window_set_portrait_flags): use set_flag() to
697 avoid code redundance.
699 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
701 Based on a patch by Alberto Garcia (agarcia@igalia.com)
703 * src/hildon-gtk.c (set_clear_window_flag),
704 (do_set_progress_indicator), (do_set_do_not_disturb),
705 (do_set_portrait_flags),
706 (hildon_gtk_window_set_progress_indicator),
707 (hildon_gtk_window_set_do_not_disturb),
708 (hildon_gtk_window_set_portrait_flags):
709 Allow setting dnd-flag, progress indicator, and portrait flags
710 when the window is not realized.
712 2009-04-24 Alejandro G. Castro <alex@igalia.com>
714 * src/hildon-pannable-area.c,
715 * src/hildon-pannable-area.h: Add the hildon deprecated define to
716 the size request policy function and defines.
718 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
720 * doc/hildon-sections.txt: Add the new API.
721 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
722 method to set the portrait flags.
723 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
725 Fixes: NB#112328 (Adding helpers for setting portrait properties)
727 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
730 to allow using this method with other flags.
731 (hildon_gtk_window_set_progress_indicator): Update accordingly.
732 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
734 2009-04-22 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-touch-selector.c
737 (hildon_touch_selector_append_text_column):
738 Make the cell renderer use the smallest width possible.
740 Fixes: NB#108470 (Selected items in multiple selection are either
741 having a tick that is cut or not visible at all.)
743 2009-04-22 Alberto Garcia <agarcia@igalia.com>
745 * src/hildon-touch-selector.c
746 (hildon_touch_selector_append_text_column):
749 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
751 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
752 Use g_strdup_printf() instead of a fixed size buffer.
754 2009-04-21 Alberto Garcia <agarcia@igalia.com>
756 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
757 Close banners when a HildonAppMenu is popped up.
759 Fixes: NB#111027 (Title menu closed immediately if activated when
760 "Invalid e-mail address" banner is shown)
762 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: Bump version.
768 * debian/changelog: Updates.
770 2009-04-20 Alberto Garcia <agarcia@igalia.com>
772 * src/hildon-banner.c (hildon_banner_realize):
773 Mark HildonBanner as supporting portrait mode.
774 Use GDK to set window properties insetad of direct Xlib calls.
776 Fixes: NB#111830 (HildonBanner should be marked as supporting
779 2009-04-20 Alberto Garcia <agarcia@igalia.com>
781 * src/hildon-note.c (hildon_note_rebuild):
782 Hide action area in information notes. Prevents text from being
783 slightly aligned to the left.
785 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
788 2009-04-20 Alberto Garcia <agarcia@igalia.com>
790 Patch by Mox Soini (ext-mox.soini@nokia.com)
792 * src/hildon-banner.c (hildon_banner_create_animation):
793 Use stylus-sized icons in animation banner.
795 Fixes: NB#111206 (stylus sized icon for animation banner)
797 2009-04-20 Alberto Garcia <agarcia@igalia.com>
801 (+hildon_gtk_window_set_do_not_disturb):
802 New API to set the do-not-disturb flag.
804 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
806 2009-04-20 Alberto Garcia <agarcia@igalia.com>
808 * examples/hildon-progress-indicator-example.c: Fix example
810 * src/hildon-gtk.c (set_clear_window_flag)
811 (hildon_gtk_window_set_progress_indicator):
812 Create a generic function for setting flags to a window.
813 Use GDK instead of direct Xlib calls.
815 2009-04-14 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-button.c (hildon_button_set_arrangement):
818 Due to NB#88126, if one of the labels is too long it will be
819 painted outside the button. The 'value' label is more likely to be
820 the longest one, so we change its packing options in order to
821 truncate it if necessary. As a side effect, the 'title' label will
822 no longer be truncated.
824 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
826 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
831 * configure.ac: Bump version.
832 * debian/changelog: Updates.
834 2009-04-13 Alejandro G. Castro <alex@igalia.com>
836 Deprecation of the hildon_pannable_area_set_size_request_policy
837 API, the only policy properly supported in gtk+ nowadays is the
840 * src/hildon-pannable-area.c,
841 (hildon_pannable_area_size_request): Added a workaround for the
842 size_request to avoid the problems of huge pixmaps in case someone
843 is still using the function.
844 * src/hildon-pannable-area.h: Deprecated the enum with the
847 Fixes: NB#110244 (Problems with the
848 hildon_pannable_area_set_size_request_policy API)
850 2009-04-08 Alejandro G. Castro <alex@igalia.com>
852 * src/hildon-pannable-area.c,
853 (hildon_pannable_area_init),
854 (hildon_pannable_area_size_request),
855 (hildon_pannable_area_style_set),
856 (hildon_pannable_draw_vscroll),
857 (hildon_pannable_draw_hscroll),
858 (hildon_pannable_area_check_scrollbars): Replaced area_width with
859 indicator_width to clarify the use of the attribute.
861 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
866 * configure.ac: Bump version.
867 * debian/changelog: Updates.
869 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
871 * src/hildon-picker-dialog.c
872 * src/hildon-touch-selector.c
873 Reverting the change that tried to avoid the hardcoded height on
874 the picker dialog, as causes problems on the hildon-touch-selector
877 Fixes: NB#110029 (selectors not scrolling to selected value)
879 2009-04-07 Alberto Garcia <agarcia@igalia.com>
881 * src/hildon-touch-selector.c: Fix typos
883 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
885 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
886 Use the event coordinates instead of gdk_window_get_pointer(). Also,
887 request more motions after using it.
889 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
891 * src/hildon-calendar.c (hildon_calendar_expose),
892 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
893 Remove unused variables.
895 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
897 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
900 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
902 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
903 Check the return value of gtk_tree_selection_get_selected()
906 2009-04-06 Alberto Garcia <agarcia@igalia.com>
908 * src/hildon-animation-actor.c
909 * src/hildon-button.c
911 * src/hildon-pannable-area.c
912 * src/hildon-picker-button.c
913 * src/hildon-program.c
914 * src/hildon-remote-texture.c
915 * src/hildon-text-view.c
916 * src/hildon-touch-selector.c
917 * src/hildon-window-stack.c
918 * src/hildon-window.c:
919 Add missing 'Since: 2.2' tags.
921 * doc/hildon-sections.txt:
922 Add some missing symbols.
924 * doc/hildon-docs.sgml:
925 New 'Other' section for HildonAnimationActor and
928 2009-04-06 Alberto Garcia <agarcia@igalia.com>
930 Patch by Iván Gómez (igomez@igalia.com)
934 * doc/hildon-docs.sgml
935 * doc/hildon-sections.txt
939 New chapters on using the Hildon library.
940 Updated the general structure of the reference manual.
941 Other minor documentation fixes.
943 * src/hildon-calendar-popup.c
944 * src/hildon-calendar.c
945 * src/hildon-controlbar.c
946 * src/hildon-date-editor.c
947 * src/hildon-dialog.c
948 * src/hildon-hvolumebar.c
949 * src/hildon-number-editor.c
950 * src/hildon-range-editor.c
951 * src/hildon-sort-dialog.c
952 * src/hildon-time-editor.c
953 * src/hildon-time-picker.c
954 * src/hildon-volumebar-range.c
955 * src/hildon-volumebar.c
956 * src/hildon-vvolumebar.c
957 * src/hildon-weekday-picker.c:
958 Add deprecation notes
960 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
961 Document 'horizontal-movement' and 'vertical-movement' signals.
963 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
968 * configure.ac: Bump version.
969 * debian/changelog: Updates.
971 2009-04-06 Alejandro G. Castro <alex@igalia.com>
973 * src/hildon-pannable-area.c,
974 (hildon_pannable_area_class_init): increased the minimum velocity.
975 (hildon_pannable_area_button_release_cb): Updated the
976 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
977 setup. Review the code to control that last event.
979 Fixes: NB#109790 (Releasing finger in pannable area easily causes
982 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
984 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
986 * src/hildon-get-password-dialog.c
987 (hildon_get_password_set_property),
988 (hildon_get_password_get_property), (create_contents):
989 * src/hildon-login-dialog-private.h:
990 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
991 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
992 (hildon_login_dialog_get_password):
993 * src/hildon-set-password-dialog-private.h:
994 * src/hildon-set-password-dialog.c
995 (hildon_set_password_set_property),
996 (hildon_set_password_get_property), (create_contents),
997 (hildon_set_password_response_change),
998 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1000 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1001 instead and look more Fremantle style.
1003 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1005 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1007 * doc/hildon-sections.txt
1008 * src/hildon-window-stack.h
1009 * src/hildon-window-stack.c
1010 (+hildon_window_stack_get_windows):
1011 New API to obtain the list of windows on a stack.
1013 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1015 * src/hildon-app-menu.c (hildon_app_menu_popup)
1016 (hildon_app_menu_class_init, -hildon_app_menu_show):
1017 Remove hildon_app_menu_show() and move all its checks to
1018 hildon_app_menu_popup()
1020 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1022 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1023 (_hildon_picker_dialog_set_selector): removed call to
1024 gtk_widget_set_size_request
1025 * src/hildon-touch-selector.c
1026 (_create_new_column): change the pannable size request policy
1028 Avoid to use a hardcoded height for the hildon picker dialog. In order
1029 to get that, we needed to change the hildon pannable size request
1031 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1033 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1035 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1036 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1039 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1041 * debian/control: Depend on osso-system-lock localization package.
1042 * src/hildon-code-dialog.c: Obtain the secu_application_title
1043 translation from osso-system-lock.
1044 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1045 for translation the atk related strings, that's not necessary.
1046 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1047 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1048 cancel button, it is not required.
1050 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1052 * src/hildon-pannable-area.c,
1053 (hildon_pannable_area_class_init): Modified the default value of
1054 the overshooting max speed, we have reduced it.
1056 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1058 * doc/hildon-sections.txt
1059 * src/hildon-window-private.h
1060 * src/hildon-window.h
1061 * src/hildon-window.c (hildon_window_class_init)
1062 (hildon_window_init, hildon_window_finalize)
1063 (hildon_window_realize, hildon_window_get_property)
1064 (hildon_window_set_property, hildon_window_update_markup)
1065 (hildon_window_get_markup, hildon_window_set_markup):
1066 New "markup" property and hildon_window_{get,set}_markup() methods.
1068 * examples/hildon-stackable-window-example.c (new_window):
1069 Update example to use hildon_window_set_markup()
1071 Fixes: NB#106375 (Need API to retitle a window with a title
1074 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1076 * src/hildon-pannable-area.c,
1077 (hildon_pannable_area_class_init): Changed the default value of
1078 the initial_hint to TRUE.
1079 (hildon_pannable_area_initial_effect): Changed the initial effect,
1080 not the effect is just the fade-out of the scrollbars.
1082 Fixes: NB#107775 (No scrollbars can be seen when several items are
1083 available in a dialog)
1085 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-program.c (hildon_program_update_top_most):
1090 Fixes: NB#109179 (Memory leak in Hildon program)
1092 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1094 * src/hildon-banner.c (-get_current_app_window):
1095 Remove unused function.
1097 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1099 * src/hildon-pannable-area.c: Modified the documentation of the
1100 get adjustments functions to explain the problem of using the
1101 adjustment directly.
1102 (hildon_pannable_area_class_init): Improved the explanation about
1105 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1107 * src/hildon-app-menu-private.h
1108 * src/hildon-app-menu.c
1109 (hildon_app_menu_class_init):
1110 Bring back the 'external-border' style property
1111 (hildon_app_menu_class_init, hildon_app_menu_init)
1112 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1113 Set a fixed width-request for the menu, independent of the number
1116 Fixes: NB#94957 (Smoothly opened application menu)
1118 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1120 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1122 * src/hildon-banner.c
1123 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1125 Make sure that the banner is correctly placed the first time it's
1127 (hildon_banner_check_position, -check_fullscreen_state):
1128 Show the banner in the same place no matter if the window is in
1129 fullscreen mode or not.
1131 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1133 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1135 * src/hildon-touch-selector.c (_default_print_func): reorder
1136 concatenation for clarity.
1138 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1141 for multicolumn selectors.
1143 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1145 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1150 * configure.ac: Bump version.
1151 * debian/changelog: Updates.
1153 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1158 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1160 * configure.ac: removed libcangerra-gtk dependency
1161 * debian/control: removed libcanberra-gtk dependency
1162 * src/Makefile.am: removed libcanberra gtk related flags
1163 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1164 context, and manage a global canberra context instead
1166 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1168 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1170 Patch by Daniel Borgmann (danielb@openismus.com)
1172 * src/hildon-edit-toolbar.c:
1173 Adjust the left padding.
1174 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1175 Paint background of the edit toolbar.
1177 Fixes: NB#107897 (Patch to make editmodetoolbar background
1178 themeable and adjust margin)
1180 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1182 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1184 * src/hildon-program.c (hildon_program_update_top_most):
1185 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1187 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1188 change when the user tasks in/out of an application)
1190 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1192 * configure.ac: added libcangerra-gtk dependency
1193 * debian/control: added libcanberra-gtk dependency
1194 * src/Makefile.am: added libcanberra gtk related flags
1195 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1198 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1200 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-program.c (hildon_program_remove_window)
1203 (hildon_program_add_window): Add checks for the window
1204 parameter. Don't decrease the window counter if the window is not
1207 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1209 * src/hildon-pannable-area.c,
1210 (hildon_pannable_area_realize): Fixed position of the event_window
1211 in the realize method.
1213 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1215 * src/hildon-app-menu-private.h
1216 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1217 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1218 (hildon_app_menu_key_press, hildon_app_menu_init)
1219 (hildon_app_menu_finalize):
1220 Make sure that all idle functions are removed when the widget is
1223 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1225 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1230 * configure.ac: Bump version.
1231 * debian/changelog: Updates.
1233 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1235 * src/hildon-entry.c
1236 (+hildon_entry_show_placeholder),
1237 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1238 that replace hildon_entry_update_contents().
1239 (hildon_entry_set_text),
1240 (hildon_entry_set_placeholder),
1241 (hildon_entry_focus_in_event),
1242 (hildon_entry_focus_out_event): Determine when it is needed
1243 either to show or hide the placeholder and call the above methods.
1245 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1246 when the placeholder text is already set)
1248 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1251 simple GdkPixbufAnim using the new icons for the banner.
1252 (hildon_banner_show_animation): Use the above mentioned method to
1253 create the animation widget.
1255 Fixes: NB#103564 (Make hildon animation banner use individual
1256 image files as the animation)
1258 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1260 * src/hildon-pannable-area.c,
1261 (hildon_pannable_leave_notify_event): Check if the child is NULL
1262 to avoid sending the leave.
1264 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1266 * src/hildon-pannable-area.c,
1267 (hildon_pannable_area_class_init),
1268 (hildon_pannable_leave_notify_event): Added a handler of the
1269 leave-notify-signal to consider when no motion notify before
1272 Fixes: NB#107494 (Items stay selected when clicking and moving
1273 away when inside pannable area)
1275 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1280 * configure.ac: Bump version.
1281 * debian/changelog: Updates.
1283 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1285 Patch by Alberto Garcia (agarcia@igalia.com)
1287 * src/hildon-date-button.c,
1288 (hildon_date_button_class_init),
1289 (hildon_date_button_init): Removed the construct property handling
1290 and created a default selector in the init method.
1291 * src/hildon-picker-button.c,
1292 (hildon_picker_button_class_init): Removed the construct flag of the
1295 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1297 * src/hildon-main.c (hildon_init):
1298 Don't allow hildon_init() to be called more than once.
1300 Fixes: NB#106607 (hildon_init should issue error message upon
1303 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1305 * examples/hildon-pannable-area-touch-list-example.c
1306 * examples/hildon-pannagle-area-touch-grid-example.c
1307 * examples/hildon-edit-toolbar-example.c
1308 * examples/hildon-touch-selector-multi-cells-example.c
1309 Removed the call to gtk_rc_parse_string, as it is not required since
1312 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1314 * src/hildon-pannable-area.c,
1315 (hildon_pannable_area_class_init): Modified the default panning
1316 threshold of the widget to 6px.
1318 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1319 than the threshold value ) within the button is not sending the
1322 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1325 for the treeview in the new column. This way, the touch list will never
1328 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1329 be selected manually for the HW keys to work)
1331 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1334 comparison instead of using strcmp(). Fixes a compiler warning as well.
1336 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1338 * doc/hildon-docs.sgml: Do not set the library version in the
1339 document title, use the releaseinfo tag for that purpose instead.
1341 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1344 Do not jump to the first item if the text in the entry is removed.
1346 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1351 * configure.ac: Bump version.
1352 * debian/changelog: Updates.
1354 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1356 * src/hildon-entry.c (hildon_entry_refresh_contents):
1357 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1358 Use "ReversedSecondaryTextColor" for the placeholder text.
1360 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-text-view.c: Fix compilation warning.
1364 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-button.c (hildon_button_class_init): Don't make
1367 "title" and "value" construction properties, to prevent them from
1368 overwriting labels set from derived classes.
1370 * src/hildon-picker-button.c
1371 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1372 (hildon_picker_button_class_init): Make touch-selector a
1373 construction property.
1375 * src/hildon-date-button.c (hildon_date_button_class_init)
1376 (+hildon_date_button_constructed): Add a default date selector if
1379 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-touch-selector.c: Small documentation fixes.
1383 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1385 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1387 * src/hildon-entry.c (hildon_entry_refresh_contents),
1388 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1389 widget name, set the logical color directly instead and a boolean
1390 showing_placeholder instead.
1391 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1392 use the widget name here either.
1394 Fixes: NB#105678 (HildonTextView should use logical colours
1395 instead of setting widget name)
1397 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1399 Patch by Daniel Elster (danielk@openismus.com)
1401 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1402 Add user_data parameter.
1403 (hildon_touch_selector_set_print_func_full): New function akin
1404 hildon_touch_selector_set_print_func() but with support for user
1405 data and a destroy callback.
1406 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1407 to clean up the print function user data.
1408 (hildon_touch_selector_class_init): Install dispose function.
1409 (HildonTouchSelectorPrivate::print_user_data),
1410 (HildonTouchSelectorPrivate::print_destroy_func): New private
1412 (hildon_touch_selector_init): Initialize new private members.
1413 (hildon_touch_selector_get_current_text): Pass along user data
1414 to the print function.
1415 (_default_print_func): Add dummy user_data to parameter list.
1416 * hildon-date-selector.c (_custom_print_func): ditto,
1417 * hildon-time-selector.c (_custom_print_func): ditto,
1418 * hildon-touch-selector-entry.c
1419 (hildon_touch_selector_entry_print_func): ditto.
1421 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1423 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1425 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1427 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1429 * src/hildon-pannable-area.c,
1430 (hildon_pannable_area_init),
1431 (hildon_pannable_area_button_press_cb),
1432 (hildon_pannable_area_motion_notify_cb): We have added code to
1433 handle the leave and enter events when using the motion events.
1435 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1437 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1439 * src/hildon-date-button.c (hildon_date_button_get_date)
1440 (hildon_date_button_set_date): Make sure that the button has a
1443 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1445 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1447 * src/hildon-pannable-area.c,
1448 (hildon_pannable_area_class_init),
1449 (hildon_pannable_area_calculate_velocity): Modify the use of the
1450 force and adapt the value.
1452 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1455 (hildon_app_menu_class_init): Hide the menu if it receives a
1456 delete-event, but don't destroy it
1458 Fixes: NB#104485 (Not able to address the call when application
1459 menu is opened at background)
1461 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-app-menu.c
1464 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1465 Remove the "external-border" style property, let the menu take its
1466 natural size (or the one set by the window manager)
1467 (hildon_app_menu_repack_items):
1468 Don't reshow the menu, avoid flickers.
1470 Partially fixes NB#94957 (Smoothly opened application menu)
1472 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1477 * configure.ac: Bump version.
1478 * debian/changelog: Updates.
1480 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1482 * src/hildon-pannable-area.c,
1483 (hildon_pannable_area_motion_notify_cb): We control that the
1484 direction error margin is used just in case the movement is
1485 allowed in the other direction.
1487 Fixes: NB#105012 (buttons inside a pannable area not getting
1488 release event when dragging/releasing)
1490 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1492 * src/hildon-pannable-area.c,
1493 (hildon_pannable_area_class_init),
1494 (hildon_pannable_area_get_property),
1495 (hildon_pannable_area_set_property),
1496 (hildon_pannable_area_initial_effect),
1497 (hildon_pannable_axis_scroll),
1498 (hildon_pannable_area_button_release_cb): Reviewed the
1499 overshooting effect, now it has its own max
1500 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1501 speed when bouncing.
1503 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1508 * configure.ac: Bump version.
1509 * debian/changelog: Updates.
1511 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1513 * src/hildon-pannable-area.c,
1514 (hildon_pannable_area_class_init): Changed the max speed, now
1515 users can launch the widget very fast. Reduced the default force,
1516 that way it is easier to control the launch speed.
1518 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1520 * src/hildon-pannable-area.c,
1521 (hildon_pannable_area_button_release_cb): Removed this check
1522 because it causes problems when the device is overloaded.
1524 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1526 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1527 add a current_text field to store the text entered in the
1528 touch selector entry.
1529 (_clean_current_selection): clean up the current text as well.
1530 (_save_current_selection), (_restore_current_selection):
1531 Save/restore the text in the entry if the selector is a
1532 HildonTouchSelectorEntry.
1534 Fixes: NB#102541 (value entered in the touch selector entry is not
1535 shown when opened for second time)
1537 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1539 * doc/hildon-sections.txt:
1540 * src/hildon-touch-selector-entry.c
1541 (+hildon_touch_selector_entry_get_entry):
1542 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1544 Fixes: NB#104815 (I need accessor to the entry inside
1545 HildonTouchSelectorEntry)
1547 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1550 (hildon_app_menu_class_init):
1551 New "filter-vertical-spacing" style property.
1553 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-find-toolbar.c
1556 (hildon_find_toolbar_emit_close)
1557 (hildon_find_toolbar_emit_invalid_input)
1558 (hildon_find_toolbar_entry_activate):
1559 Use g_signal_emit() instead of g_signal_emit_by_name()
1561 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1563 Patch by Mox Soini (ext-mox.soini@nokia.com)
1565 * tests/TEST-CASES.txt
1566 * tests/check-hildon-banner.c
1567 * tests/check-hildon-note.c
1568 * src/hildon-banner.c
1569 * src/hildon-code-dialog.c
1570 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1571 * src/hildon-time-editor.c
1572 * examples/hildon-lookup-example.c (main):
1573 Replace obsolete icon names with new ones.
1575 * src/hildon-find-toolbar-private.h:
1576 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1577 (-hildon_find_toolbar_emit_search):
1578 Remove find button and change icon of close button.
1580 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1582 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-time-button.c (hildon_time_button_new_step):
1585 Use the "touch-selector" property to set the selector directly
1586 when creating the object.
1588 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1590 Added a new example application that allows tuning the pannable
1591 area and replaced defines with properties in order to simplify the
1592 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1593 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1594 PROP_DIRECTION_ERROR_MARGIN.
1596 * examples/hildon-pannable-area-tuning-example.c: New example
1598 * src/hildon-pannable-area.c,
1599 (hildon_pannable_area_class_init),
1600 (hildon_pannable_area_init),
1601 (hildon_pannable_area_get_property),
1602 (hildon_pannable_area_set_property),
1603 (hildon_pannable_area_launch_fade_timeout),
1604 (hildon_pannable_area_adjust_value_changed),
1605 (hildon_pannable_axis_scroll),
1606 (hildon_pannable_area_motion_notify_cb),
1607 (hildon_pannable_area_scroll_cb),
1608 (hildon_pannable_area_button_release_cb): We have converted some
1609 of the defines that control the widget to properties to simplify
1612 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1614 * src/hildon-app-menu.c (hildon_app_menu_map)
1615 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1616 so it's closed if a new window appears.
1618 Fixes: NB#104485 (Not able to address the call when application
1619 menu is opened at background)
1621 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1623 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1624 missing 'break' statement in in 'case' construct to avoid
1627 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-touch-selector-entry.c
1630 (hildon_touch_selector_entry_get_property),
1631 (hildon_touch_selector_entry_set_property): Add missing 'break'
1632 statements in in 'case' constructs to avoid incorrect warnings.
1634 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-time-editor.c
1637 (hildon_time_editor_get_time_separators): Do not crash if
1638 the first label is NULL.
1640 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-date-selector.c (_month_days): Check for month to be
1643 strictly less than 12, since otherwise we may overrun the array.
1645 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-date-button.c (+hildon_date_button_new_full)
1648 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1649 (hildon_date_button_init): Set the date selector using a
1650 construction property, to make it happen after HildonButton's
1651 "value" property is set.
1653 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1654 current date by default)
1656 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1658 * doc/hildon-sections.txt
1659 * src/hildon-program.c
1660 * src/hildon-stackable-window.c
1661 * src/hildon-window.c:
1662 Documentation updates
1664 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1666 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1667 (hildon_window_stack_new, +hildon_window_stack_set_property)
1668 (+hildon_window_stack_get_property)
1669 (hildon_window_stack_class_init)
1670 (+hildon_window_stack_set_window_group)
1671 (+hildon_window_stack_get_window_group):
1672 Make the window group a construction property.
1674 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1676 * doc/hildon-sections.txt
1677 * src/hildon-stackable-window-private.h
1678 * src/hildon-stackable-window.h
1679 * src/hildon-stackable-window.c
1680 (-hildon_stackable_window_set_app_menu)
1681 (-hildon_stackable_window_get_app_menu)
1682 (-hildon_stackable_window_toggle_menu)
1683 (-hildon_stackable_window_finalize)
1684 (hildon_stackable_window_class_init)
1685 (hildon_stackable_window_init)
1686 * src/hildon-window-private.h
1687 * src/hildon-window.h
1688 * src/hildon-window.c (hildon_window_init)
1689 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1690 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1691 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1692 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1693 Moved all HildonAppMenu code to HildonWindow. The menu does not
1694 require a HildonStackableWindow anymore.
1696 * src/hildon-app-menu.c
1697 * src/hildon-program.c
1698 * examples/hildon-app-menu-example.c (main):
1699 Update examples and documentation to reflect HildonAppMenu
1702 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-remote-texture.c
1705 * src/hildon-animation-actor.c:
1706 Don't include unused private headers.
1708 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-program-private.h
1711 * src/hildon-program.c
1712 (hildon_program_set_common_menu)
1713 (hildon_program_get_common_menu)
1714 (hildon_program_set_common_app_menu)
1715 (hildon_program_get_common_app_menu):
1716 Change common menu pointers from GtkWidget* to GtkMenu* and
1717 HildonAppMenu* to avoid unnecessary casts.
1719 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1721 * src/hildon-window.c (hildon_window_set_main_menu):
1722 Removed incorrect 'Since:' tag
1724 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1726 * src/hildon-pannable-area.c,
1727 (hildon_pannable_area_calculate_velocity): We use now the
1728 RATIO_TOLERANCE here to check the distance, fixed typo in the
1730 (hildon_pannable_area_motion_notify_cb): We have to set the type
1731 and time even if we are not sending the motion.
1733 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1735 * doc/hildon-sections.txt
1736 * src/hildon-app-menu.h
1737 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1738 (+hildon_app_menu_get_filters): New methods to get the contents of
1741 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1744 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-app-menu.c (hildon_app_menu_popup):
1749 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1751 * src/hildon-window.h
1752 * src/hildon-window.c (+hildon_window_get_main_menu)
1753 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1754 and deprecated hildon_window_get_menu().
1756 * src/hildon-stackable-window.h
1757 * src/hildon-stackable-window.c
1758 (+hildon_stackable_window_set_app_menu)
1759 (+hildon_stackable_window_get_app_menu)
1760 (hildon_stackable_window_set_main_menu): Created
1761 hildon_stackable_window_{get,set}_app_menu() and deprecated
1762 hildon_stackable_window_set_main_menu().
1764 * doc/hildon-sections.txt
1765 * examples/hildon-app-menu-example.c (main)
1766 * src/hildon-app-menu.c
1767 * src/hildon-program.c:
1768 Updated examples and documentation.
1770 Fixes: NB#103758 (No way to obtain a menu from a
1771 HildonStackableWindow)
1773 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1778 * configure.ac: Bump version.
1779 * debian/changelog: Updates.
1781 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1783 * examples/hildon-remote-texture-example.c: Include
1784 hildon-remote-texture.h explicitely.
1785 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1786 applications not defining _XOPEN_SOURCE which don't require this header.
1788 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1790 * doc/hildon-sections.txt
1791 * src/hildon-app-menu.h
1792 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1793 New function to pop up a HildonAppMenu
1795 * src/hildon-stackable-window.c
1796 (hildon_stackable_window_toggle_menu):
1797 Use hildon_app_menu_popup() to show the menu.
1799 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-app-menu.c (hildon_app_menu_show)
1802 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1803 menu if there's another window between it and its parent window.
1805 Fixes: NB#100468 (Application menu window is launched even when a
1806 new secondary-window/dialog is pending to be shown/realized)
1808 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-window-stack.c (hildon_window_stack_push)
1811 (hildon_window_stack_pop_and_push):
1812 Don't forget to push/pop the first window.
1813 Reverse the window list before calling _push_list()
1815 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1817 * src/hildon-picker-button.h
1818 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1819 Remove "value_changed" slot to avoid ABI breakage
1821 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1823 * src/hildon-pannable-area.c,
1824 (hildon_pannable_area_realize),
1825 (hildon_pannable_area_unrealize),
1826 (hildon_pannable_draw_vscroll),
1827 (hildon_pannable_draw_hscroll): Changed the method to handle the
1828 GC used to draw the transparent scrollbar, this way we avoid
1829 creating the GC all the time when drawing the scrollbars.
1831 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c,
1834 (hildon_pannable_area_init),
1835 (hildon_pannable_area_remove): Removed some unnecessary casts.
1836 (hildon_pannable_area_dispose): Disconnected some signals before
1837 releasing the adjustments.
1839 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1841 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1842 Make sure that all widgets contained in the toolbar are shown.
1844 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1846 * doc/hildon-sections.txt
1847 * src/hildon-picker-button.h
1848 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1849 (_selection_changed, hildon_picker_button_on_dialog_response)
1850 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1851 New hildon_picker_button_value_changed() method.
1854 * src/hildon-picker-button-private.h
1855 * src/hildon-picker-button.c (hildon_picker_button_init)
1856 (+hildon_picker_button_disable_value_changed): Add protected
1857 function for disabling the "value-changed" signal.
1859 * src/hildon-date-button.c (hildon_date_button_set_date):
1860 Don't emit "value-changed" for each one of the three columns.
1862 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1863 before actual change of values)
1865 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1867 * src/hildon-pannable-area.c,
1868 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1869 for the treeview overshooting.
1871 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-banner.c (+hildon_banner_bind_style):
1874 Renamed from hildon_banner_bind_label_style(), now naming the
1875 banner itself as well.
1876 (hildon_banner_show_information),
1877 (hildon_banner_show_information_with_markup),
1878 (hildon_banner_show_animation), (hildon_banner_show_progress):
1879 Name the widgets and labels, based on their type.
1881 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1884 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-note.c (hildon_note_set_property): call
1887 hildon_note_rename() on HildonNote:note-type set.
1888 (hildon_note_rename): Name the note and its label, based on the
1889 HildonNote:note-type property.
1891 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1894 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 (hildon_pannable_area_class_init),
1898 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1899 panning parameters, increased SPS and deceleration factor. Added
1900 also a margin to control fake directions.
1902 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1904 Patch by Sven Herzberg (sven@imendio.com)
1906 * configure.ac: Add missing AM_PROG_CC_C_0
1907 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1909 See NB#101420 (Update unit tests and fix make check)
1911 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1913 This patch was applied before but reverted because it caused
1914 problems, we have changed the main condition and tested the
1915 regressions we detected before and they work ok. We have done a
1916 complete review of the topmost algorithm in order to get a more
1919 * src/hildon-pannable-area.c,
1920 (hildon_pannable_area_get_topmost): Added a new parameter to
1921 filter the the windows that do not include those events.
1922 (hildon_pannable_area_button_press_cb),
1923 (hildon_pannable_area_button_release_cb),
1924 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1925 topmost function, we have added the new parameter.
1927 Fixes: NB#97458 (Pannable area prevents propagation of button
1930 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1932 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1933 if all columns in the selector have an item selected.
1934 (_on_dialog_response): Stop "response" signal emission if there is
1935 any selector column without selected items.
1937 Fixes: NB#101889 (Picker dialog should not close when nothing is
1938 selected in multiple selection list)
1940 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-font-selection-dialog.c
1943 (hildon_font_selection_dialog_class_init),
1944 (hildon_font_selection_dialog_init): Remove the preview
1945 button and dialog, since previewing with default theming is likely
1946 to be overcomplicated. The :preview property has now no effect.
1947 Update documentation blurbs to inform about this.
1949 Fixes: NB#92297 (Preview content is not clearly visible for
1950 default colour text)
1952 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1954 Reviewed the geometry that handles the children size and
1955 scrollbar, now it tries a size and reviews the results depending
1956 on the scrollbars visibility.
1958 * src/hildon-pannable-area.c,
1959 (hildon_pannable_area_realize): Fixed a typo.
1960 (hildon_pannable_area_child_allocate_calculate): Added this
1961 function to calculate the child allocation.
1962 (hildon_pannable_area_size_allocate): Reviewed the allocation
1964 (hildon_pannable_area_check_scrollbars),
1965 (hildon_pannable_area_refresh): Refactored refresh function, this
1966 way we can call the code handling the scrollbars without causing a
1967 size_request, it is interesting in the allocate.
1968 (hildon_pannable_area_init): Replace the callbacks of the
1969 value_changed and changed signals to propertly deal with the
1971 (hildon_pannable_area_grab_notify),
1972 (hildon_pannable_area_initial_effect),
1973 (hildon_pannable_area_launch_fade_timeout),
1974 (hildon_pannable_area_adjust_changed),
1975 (hildon_pannable_area_adjust_value_changed),
1976 (hildon_pannable_area_redraw),
1977 (hildon_pannable_area_button_press_cb),
1978 (hildon_pannable_area_button_release_cb),
1979 (hildon_pannable_area_scroll_cb),
1980 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1981 code and use the new functions adjust_changed and
1982 adjust_value_changed.
1984 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1985 Contact editor dialog)
1987 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1992 * configure.ac: Bump version.
1993 * debian/changelog: Updates.
1995 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1997 * src/hildon-pannable-area.c,
1998 (hildon_pannable_area_get_topmost),
1999 (hildon_pannable_area_button_press_cb),
2000 (hildon_pannable_area_button_release_cb),
2001 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2002 topmost function adding the event mask. We have to try a
2003 differente approach because it is still causing problems (NB#9745,
2006 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2008 * src/hildon-banner.c:
2009 Update the maximum width of timed banners.
2010 (force_to_wrap_truncated): Enforce the maximum text width if the
2013 Fixes: NB#102413 (The text margins (wrapping) in information
2014 banner should be HILDON_MARGIN_TRIPLE)
2016 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2018 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2020 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2021 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2022 bound when calculating the scroll indicator position.
2024 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2025 treat ->lower correctly)
2027 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2030 expose event handling, since it is not necessary to draw the focus
2033 Fixes: NB#102467 (Do not show highlight on the text in
2036 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2039 full height of the toolbar for the button and the label.
2041 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2043 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2044 padding before the label and after the button.
2046 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2050 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2051 Add a GtkVSeparator between the button and the back arrow.
2052 Let the button have automatic size.
2053 Set a name to the widget for theming handling.
2055 Fixes: NB#101793 (Make edit toolbar the same height as window
2056 title bar (use title area theming))
2058 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-helper.c (attach_new_color_element): Fix memory
2063 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2065 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2067 * examples/hildon-button-example.c (common_buttons_window): Don't
2070 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2073 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2075 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-gtk.c: Check that the window is realized.
2079 Fixes: NB#102225 (Crash setting the progress indicator to a non
2082 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2085 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2086 instead of modifying the one in the widget style.
2088 Fixes: NB#101043 (Second row of all the command button are
2089 displayed in transparent mode.)
2091 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2093 * src/hildon-date-button.c
2094 * src/hildon-time-button.c: Add gettext macros
2096 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-date-button.c (hildon_date_button_new):
2099 * src/hildon-time-button.c (hildon_time_button_new_step):
2100 Use new logical strings to set the button default title.
2102 Fixes: NB#99915 (Date and Time options are not localised in Date
2105 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2107 * src/hildon-pannable-area.c
2108 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2109 the PANNING_THRESHOLD.
2111 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_class_init): Increased the maximum speed.
2115 (hildon_pannable_area_get_property),
2116 (hildon_pannable_area_set_property),
2117 (hildon_pannable_area_timeout): Added a new low friction mode, it
2118 allows the user avoid friction when launching the widget fast
2119 enough. It is interesting to traverse long lists.
2121 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2124 (+hildon_stackable_window_delete_event): Ignore delete events if
2125 the window is not the topmost one.
2127 Fixes: NB#101698 (Back button long press and delete-event handling)
2129 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2131 * src/hildon-pannable-area.c,
2132 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2133 gtk-dnd-drag-threshold, it was too big. We have defined our own
2134 dnd define and set a smaller value: PANNIG_THRESHOLD.
2136 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2138 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2139 user-defined icons, use always the default one.
2141 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2143 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2145 This patch was applied before but reverted because it caused
2146 problems, we have changed the main condition and tested the
2147 regressions we detected before and they work ok.
2149 * src/hildon-pannable-area.c,
2150 (hildon_pannable_area_get_topmost): Added a new parameter to
2151 filter the the windows that do not include those events. Added
2152 also a condition when finding the window to filter windows that do
2153 not ask for those events.
2154 (hildon_pannable_area_button_press_cb),
2155 (hildon_pannable_area_button_release_cb),
2156 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2157 topmost function, we have added the new parameter.
2159 Fixes: NB#97458 (Pannable area prevents propagation of button
2162 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2164 * tests/check-hildon-color-button.c (START_TEST): do not leak
2167 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2169 * src/hildon-font-selection-dialog.c
2170 (hildon_font_selection_dialog_get_preview_text): Return NULL
2171 instead of FALSE on the g_return_val_if_fail().
2173 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2176 * src/hildon-date-selector.c
2177 (hildon_date_selector_select_current_date):
2178 Do not compare unsigned integers to be greater than or equal 0,
2179 because it's always TRUE.
2181 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2183 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2184 (hildon_date_selector_constructor): Do not select the current
2185 date until we are handle the "changed" signal, to avoid having bogus
2186 elements in the days model.
2188 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2191 for num_days, since _month_days() can return a negative value.
2193 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-caption.c (hildon_caption_size_allocate):
2196 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2197 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2199 Initialize allocation variables to 0, to avoid eventually using
2200 unitialized variables.
2202 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-bread-crumb-trail.c
2205 (hildon_bread_crumb_trail_size_allocate):
2206 * src/hildon-calendar.c (hildon_calendar_set_background):
2207 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2208 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2209 * src/hildon-seekbar.c (hildon_seekbar_init):
2210 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2211 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2212 * src/hildon-touch-selector-entry.c
2213 (hildon_touch_selector_get_text_from_model):
2214 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2215 * src/hildon-window.c (hildon_window_finalize):
2217 Remove many unused variables.
2219 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-seekbar.c: (hildon_seekbar_init),
2222 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2224 Remove unnecessary g_assert() calls.
2226 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2228 * src/hildon-caption.c: (hildon_caption_expose),
2229 (hildon_caption_set_property), (hildon_caption_init),
2230 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2231 (hildon_caption_size_request), (hildon_caption_size_allocate),
2232 (hildon_caption_forall), (hildon_caption_set_separator),
2233 (hildon_caption_activate), (hildon_caption_set_child_expand),
2234 (hildon_caption_set_label_text),
2235 (hildon_caption_get_label_alignment):
2237 Remove unnecessary g_assert() calls.
2239 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-banner.c
2242 (hildon_banner_map, hildon_banner_init): Make banner temporary
2243 before mapping it to avoid closing other temporary windows, but
2244 make it non-temporary afterwards to avoid being closed by other
2245 non-temporary windows.
2246 (-hildon_banner_client_event, hildon_banner_init):
2247 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2249 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2252 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2257 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2259 * src/hildon-remote-texture.c
2260 * src/hildon-remote-texture.h
2261 * src/hildon-remote-texture-private.h
2262 * examples/hildon-remote-texture-example.c:
2263 Updates/fixes to remote-texture and its example.
2265 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2267 Patch by Mox Soini (ext-mox.soini@nokia.com)
2269 * src/hildon-code-dialog.c: Update logical id.
2270 * src/hildon-set-password-dialog.c: Update logical id.
2272 Fixes: NB#100646 (Logical strings is shown for ok in set
2273 password,Password needed dialogs)
2275 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2278 * src/hildon-remote-texture.c
2279 * src/hildon-remote-texture.h
2280 * src/hildon-remote-texture-private.h
2282 Added remote texture widget (for Clutter shared memory textures)
2284 * examples/hildon-remote-texture-example.c
2285 * examples/Makefile.am
2286 Added example file for remote texture usage
2288 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2290 * configure.ac: post release version bump.
2291 * debian/changelog: version bump.
2293 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2298 * configure.ac: Bump version.
2299 * debian/changelog: Updates.
2301 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-date-selector.c (hildon_date_selector_init)
2304 (hildon_date_selector_constructor): Don't connect to the "changed"
2305 signal until the selector is completely constructed.
2307 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-touch-selector.c: (_create_new_column),
2310 (hildon_touch_selector_append_column),
2311 (hildon_touch_selector_set_column_selection_mode),
2312 (hildon_touch_selector_set_active),
2313 (hildon_touch_selector_select_iter):
2314 Emit the HildonTouchSelector::changed signal every time selection
2315 is changed in any of the methods above. This behavior was already
2316 documented but not fully functional.
2318 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2319 selection is programmatically changed)
2321 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2323 * doc/hildon-sections.txt: Remove obsolete icon
2324 sizes from here as well.
2326 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2328 * examples/hildon-stackable-window-example.c (add_window): Remove
2331 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-app-menu.c
2334 (hildon_app_menu_show): Check whether the parent window of a menu
2335 is topmost before popping it up.
2337 Fixes: NB#100468 (Application menu window is launched even when a
2338 new secondary-window/dialog is pending to be shown/realized.)
2340 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2342 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2345 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2347 Patch by Mox Soini (ext-mox.soini@nokia.com)
2349 * src/hildon-banner.c: (hildon_banner_show_animation):
2350 use stylus size instead of obsolete note size.
2351 * src/hildon-defines.h: Update icon sizes.
2353 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-touch-selector-entry.c:
2356 (hildon_touch_selector_entry_init): Disable unsupported
2358 (hildon_touch_selector_entry_get_text_column): Emit a warning
2359 if an unsupported input modes is used and explicitile state
2360 these modes in the documentation.
2362 Fixes: NB#99802 (Hildon touch selector entry not working properly
2363 for some of the input modes)
2365 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2367 * src/hildon-pannable-area.c,
2368 (hildon_pannable_area_init): Added the changed signal handlers of
2371 Fixes: NB#100320 (HildonPannableArea does not listen to
2372 GtkAdjustment "change" signals)
2374 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2376 * doc/hildon-sections.txt
2377 * src/hildon-window-private.h
2378 * src/hildon-window.h
2379 * src/hildon-window.c (hildon_window_init)
2380 (hildon_window_realize, hildon_window_unrealize)
2381 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2382 (hildon_window_size_request, hildon_window_size_allocate)
2383 (hildon_window_forall, hildon_window_show_all)
2384 (hildon_window_destroy, +paint_edit_toolbar)
2385 (+hildon_window_set_edit_toolbar):
2386 New hildon_window_set_edit_toolbar() method, to add a
2387 HildonEditToolbar to a window without having to pack it manually.
2389 Reorganize hildon_window_size_allocate()
2391 * src/hildon-edit-toolbar.c: Update documentation.
2393 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2394 example to use the new API.
2396 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2398 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2401 Remove from stack before calling parent's hide.
2403 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2406 window is removed from the middle of the stack, update the
2407 transiency of the previous one.
2409 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2412 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2415 block/unblock the signal handler if it's not actually being used.
2416 Fixes some critical warnings.
2418 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2420 Based on a patch by Iván Gómez (igomez@igalia.com)
2422 * src/hildon-banner.c
2426 * src/hildon-pannable-area.c
2427 * src/hildon-picker-dialog.c
2428 * src/hildon-wizard-dialog.h
2429 * src/hildon-wizard-dialog.c: Documentation updates.
2431 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2432 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2434 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2436 * configure.ac: post release version bump.
2437 * debian/changelog: version bump.
2439 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2444 * configure.ac: Bump version.
2445 * debian/changelog: Updates.
2447 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2450 a stock icon nor change the relief of the back arrow.
2452 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2453 graphics from theme)
2455 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-button.c (hildon_button_set_alignment): Use
2458 priv->alignment if the button has no child yet.
2460 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2462 * src/hildon-button.c: (hildon_button_init): Set the
2463 button style during initialization to give it the proper
2466 Fixes: NB#99713 (HildonButton value label color is wrong)
2468 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-touch-selector.c: Document
2471 hildon_touch_selector_center_on_selected()
2473 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2476 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2477 all menu items, but not the menu itself.
2478 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2479 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2480 items after adding them to the menu so keyboard accelerators work.
2481 (hildon_app_menu_show): Don't show the menu if it contains items
2482 but none of them are visible.
2484 * examples/hildon-app-menu-example.c (create_menu): Use
2485 gtk_widget_show_all() to show all menu items.
2487 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-picker-dialog.c:
2490 (-_update_title_on_selector_changed_cb),
2491 (-_dialog_update_title): Removed.
2492 (_select_on_selector_changed_cb), (_on_dialog_response),
2493 (on_selector_columns_changed): Do not update the dialog title.
2494 (setup_interaction_mode): Do not connect to
2495 HildonTouchSelector::changed signal if there's a "done" button, as
2496 the dialog title doesn't need to be updated.
2498 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2501 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2503 Patch by Kristian Rietveld (kris@imendio.com)
2505 * src/hildon-touch-selector.c: (_create_new_column): Use new
2506 GtkTreeView::hildon-row-tapped signal to react to user interactions
2507 instead of ::changed.
2509 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2510 with some dynamic tree model)
2512 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2515 (+screen_size_changed, +label_size_request)
2516 (hildon_note_class_init): Make the Hildon information note have a
2517 minimum height, and make its text hvae a maximum width.
2519 Fixes: NB#98614 (Hildon information note (background) should have
2520 minimum height and maximum text width)
2522 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-banner.h
2525 * src/hildon-banner.c (hildon_banner_show_information)
2526 (hildon_banner_show_informationf)
2527 (hildon_banner_show_information_with_markup): Update documentation
2528 to reflect that the icon_name parameter is not used anymore.
2529 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2530 Remove all code from these functions and mark them as deprecated.
2531 (hildon_banner_show_progress): Mark as deprecated.
2533 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2535 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2537 * src/hildon-pannable-area.c,
2538 (hildon_pannable_area_class_init),
2539 (tranparency_color),
2540 (hildon_pannable_draw_vscroll),
2541 (hildon_pannable_draw_hscroll),
2542 (hildon_pannable_area_expose_event): Added a new way to render the
2543 scrollbars of the pannable area avoiding using cairo at all. This
2544 way we improve the performance of the pannable area rendering. The
2545 cairo rendering procedure is still in the code, we can control
2546 which one to use changing the value of the define
2547 USE_CAIRO_SCROLLBARS.
2549 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2551 * configure.ac: post release version bump.
2552 * debian/changelog: version bump.
2554 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2559 * configure.ac: Bump version.
2560 * debian/changelog: Updates.
2562 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2565 banners instead of destroying them when they receive a button
2568 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2570 Reverted commit 34028, it was causing regressions, probably the
2571 topmost condition is not correct, we have to check it in more
2572 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2573 propagation of button press events)
2575 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2578 that the selection is not empty before attempting to retrieve the
2579 current ampm selection.
2581 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-picker-button.c:
2584 (hildon_picker_button_on_dialog_response): Directly update the
2585 button contents when required instead of calling _selection_changed.
2587 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-program.c (hildon_program_update_top_most): Update
2590 'is-topmost' property also when wm_hints is not set.
2592 Fixes: NB#98383 (is-topmost signal is not emitted when task
2593 switcher is clicked.)
2595 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2597 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2601 * src/hildon-animation-actor.c,
2602 * src/hildon-animation-actor.h: Added the animation actor class,
2603 this widget represents an animation actor for WM-assisted
2604 animation effects in the Hildon framework.
2606 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2608 * src/hildon-window-stack-private.h
2609 * src/hildon-window-stack.c
2610 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2611 Avoid calling gtk_widget_show() again indirectly from
2612 hildon_stackable_window_show()
2614 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2616 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2619 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2622 (hildon_time_selector_init): Move the construction of the hours and
2623 ampm columns to the constructor to preserve the order the columns
2626 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-picker-dialog.c:
2629 (hildon_picker_dialog_class_init): Connect a realize method.
2630 (+hildon_picker_dialog_realize): Setup the interaction mode here
2632 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2633 yet, do it during the realize instead.
2634 (_on_dialog_response):
2635 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2636 if the widget is not realized, to avoid the dialog response before it
2639 Avoid premature responses in the HildonPickerDialog that can cause it
2640 to be hidden before it's even shown.
2642 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2644 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2645 (on_selector_columns_changed), (requires_done_button),
2646 (+prepare_action_area), (setup_interaction_mode),
2647 (_hildon_picker_dialog_set_selector):
2649 Split the interaction mode setup into preparation of the
2650 action area (prepare_action_area()) and the connection of
2651 the signals in setup_interaction_mode() and update the code to
2654 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2656 * src/hildon-pannable-area.c,
2657 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2658 per second to 15, we will check if this is ok regarding
2661 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2663 * src/hildon-pannable-area.c,
2664 (hildon_pannable_axis_scroll): Avoid resize if we already have
2665 reached overshoot_max.
2667 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2669 * src/hildon-pannable-area.c,
2670 (hildon_pannable_area_init),
2671 (hildon_pannable_area_realize),
2672 (hildon_pannable_area_size_allocate),
2673 (hildon_pannable_area_map),
2674 (hildon_pannable_area_unmap),
2675 (hildon_pannable_draw_vscroll),
2676 (hildon_pannable_draw_hscroll),
2677 (hildon_pannable_area_expose_event),
2678 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2679 pannable are to avoid the expose events go to the window and
2680 redraw the window. We save this way that part of the stack and the
2681 paint_boxes. We had to change the positions of the elements when
2684 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2687 * src/hildon-color-chooser-dialog.c:
2688 (hildon_color_chooser_dialog_init):
2689 * src/hildon-font-selection-dialog.c:
2690 (hildon_font_selection_dialog_init),
2691 (hildon_font_selection_dialog_show_preview):
2692 * src/hildon-get-password-dialog.c:
2693 * src/hildon-login-dialog.c:
2694 * src/hildon-set-password-dialog.c:
2695 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2696 * src/hildon-time-picker.c: (hildon_time_picker_init):
2698 Remove obsolete logical string IDs and update to the appropriate ones.
2700 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2702 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2705 that happens if the window hasn't been realized yet.
2707 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2708 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2710 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2713 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2716 Fixes: NB#98537 (Device hangs in account settings dialog)
2718 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2720 * configure.ac: post release version bump.
2721 * debian/changelog: version bump
2723 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2728 * configure.ac: Bump version.
2729 * debian/changelog: Updates.
2731 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2733 Added a new function to the HildonTimeButton widget that allows to
2734 change the step of the minutes in the selector associated with the
2735 button: hildon_time_button_new_step
2737 * src/hildon-time-button.c,
2738 (hildon_time_button_init),
2739 (hildon_time_button_new),
2740 (hildon_time_button_new_step):
2741 * src/hildon-time-button.h: Added the new function and refactored
2743 * examples/hildon-time-button-example.c,
2744 (main): We have replaced the function without parameters with the
2745 function with the steps set to 5
2747 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2749 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2751 * src/hildon-time-selector.c,
2752 (hildon_time_selector_class_init),
2753 (hildon_time_selector_constructor),
2754 (hildon_time_selector_get_property),
2755 (hildon_time_selector_set_property),
2756 (_create_minutes_model),
2757 (hildon_time_selector_new_step),
2758 (hildon_time_selector_set_time),
2759 * src/hildon-time-selector.h: Added a new property to the
2760 HildonTimeSelector (minutes-step), we use that property to control
2761 the steps between the minutes in the list of the selector. We have
2762 added a new function to the API to create a widget changing the
2763 step: hildon_time_selector_new_step.
2765 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2767 * src/hildon-time-selector.c,
2768 (hildon_time_selector_class_init),
2769 (hildon_time_selector_constructor),
2770 (hildon_time_selector_init): Overrided the construct function when
2771 creating the time selector object. We have moved the minutes model
2772 handling code from the init to the new construction function:
2773 hildon_time_selector_constructor.
2775 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2777 * examples/hildon-date-button-example.c: (main): Use the new
2778 hildon_date_button_new_with_year_range() method in the example.
2779 * src/hildon-date-button.c:
2780 (+hildon_date_button_new_with_year_range): New public method
2781 to conveniently create a HildonDateButton with a custom year range
2782 in its HildonDateSelector.
2783 * src/hildon-date-button.h: Add the new public method definition.
2785 Fixes: NB#97908 (Not possible to change the year range in
2786 HildonDateSelector/HildonDateButton)
2788 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-date-selector.c:
2791 (+hildon_date_selector_set_property),
2792 (+hildon_date_selector_get_property),
2793 (hildon_date_selector_class_init): Install new properties "min-year"
2794 and "max-year" to define boundaries for the year column.
2795 (_create_year_model): Use the boundary properties to populate the model.
2796 (+hildon_date_selector_new_with_year_range): New public method to
2797 create a HildonDateSelector with a user defined year range.
2798 (hildon_date_selector_select_current_date): Use the new boundaries to
2799 calculate the iterator of current year.
2800 * src/hildon-date-selector.h: Add the new public method definition.
2802 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2805 Install a constructor method.
2806 (+hildon_date_selector_construct_ui): construct the widget.
2807 (+hildon_date_selector_constructor): new constructor.
2808 (+hildon_date_selector_init): move out widget construction code to
2809 the new constructor.
2811 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2814 that there's actually a month or year selected before obtaining them.
2815 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2816 of the HildonTouchSelector::changed signal, as it was emitted on every
2817 single item selection.
2819 Fix some warnings and possible crashers due to the selection restoring.
2821 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2824 the signal handlers only after creating the dialog instead of on every
2827 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-button.c (hildon_button_init)
2830 * src/hildon-check-button.c (hildon_check_button_init)
2831 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2832 focus when clicked by default.
2834 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2836 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2839 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2841 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2842 Alejandro G. Castro (alex@igalia.com)
2844 * src/hildon-picker-dialog.c:
2845 (hildon_picker_dialog_class_init): install new "center-on-show"
2847 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2848 (hildon_picker_dialog_set_property): add setter code for the new
2850 (hildon_picker_dialog_get_property): add getter code for the new
2852 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2853 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2856 Fixes: NB#92849 (Selected item is not always visible when
2857 HildonTouchSelector is shown)
2859 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2861 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2862 Alejandro G. Castro (alex@igalia.com)
2864 * src/hildon-touch-selector.c:
2865 (_create_new_column): Do not connect to the "realize" signal of the
2867 (hildon_touch_selector_append_column): center on the selected items
2868 when a new column is appended.
2869 (hildon_touch_selector_select_iter): Factor out the code to select a
2870 column to hildon_touch_selector_scroll_to().
2871 (+search_nearest_element): Method to retrieve the nearest selected
2872 element to the visible area of the pannable area in a column.
2873 (+on_realize_cb): scroll to the initially selected item.
2874 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2875 the pannable area is realized, otherwise delay this until it is.
2876 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2877 selected items of a given column.
2878 (+hildon_touch_selector_center_on_selected): Public method to center
2879 all columns on the nearest selected item.
2880 * src/hildon-touch-selector.h: Add definition for
2881 hildon_touch_selector_center_on_selected().
2883 Implement public API to ensure visibility of all selected items in
2884 a HildonTouchSelector.
2886 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2888 Fixed a problem in the fading when calling the scroll_to API, and
2889 improve scrollbar fading handling.
2891 * src/hildon-pannable-area.c,
2892 (hildon_pannable_area_grab_notify): avoid the timeout when the
2894 (hildon_pannable_area_button_press_cb),
2895 (hildon_pannable_area_motion_notify_cb): Code style changes.
2896 (hildon_pannable_area_button_release_cb): Review the conditions
2897 when releasing the mouse button to avoid unrequired fading
2899 (hildon_pannable_area_scroll_to): Do not calculate and set the
2900 velocity if the scroll is not required.
2902 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2905 Don't check whether the new selector is NULL: it cannot be.
2906 Hold a reference to the selector while doing the replacement.
2908 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2911 unnecessary size_request in a removed widget.
2913 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2916 an unnecessary reference tracking that was leaking.
2918 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2920 Added delayed motion notify event handling, this way we can
2921 discard redrawing if more than 25 events arrive per second.
2923 * src/hildon-pannable-area.c,
2924 (hildon_pannable_area_init): Initialized the new private atributes
2925 controlling this timeout
2926 (hildon_pannable_area_dispose): Remove the timeout that controls
2927 the motion notify events.
2928 (hildon_pannable_area_scroll): Added a condition to control the
2929 use of the acceleration.
2930 (hildon_pannable_area_motion_event_scroll_timeout),
2931 (hildon_pannable_area_motion_event_scroll): Added this two
2932 functions, they handle the motion notify events inside the
2934 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2935 to the scroll method with the new function.
2936 (hildon_pannable_area_button_release_cb): We have to remove the
2937 timeout handler and move to the last position if the last motion
2938 events were not handled.
2940 Fixes: NB#97028 (Pannable area updates on every motion event)
2942 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c,
2945 (hildon_pannable_area_get_topmost): Added a new parameter to
2946 filter the the windows that do not include those events. Added
2947 also a condition when finding the window to filter windows that do
2948 not ask for those events.
2949 (hildon_pannable_area_button_press_cb),
2950 (hildon_pannable_area_button_release_cb),
2951 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2952 topmost function, we have added the new parameter.
2954 Fixes: NB#97458 (Pannable area prevents propagation of button
2957 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2959 * src/hildon-pannable-area.c,
2960 (hildon_pannable_area_initial_effect): Added controls before
2961 launching the timeout and the idle functions.
2962 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2963 of the method, in some situations it can return with TRUE and 0 in
2965 (hildon_pannable_area_button_press_cb): We do not need to set
2966 DELAY for fading out here.
2968 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2970 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2973 post-cleaning if the selection is not NULL.
2975 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2977 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2978 all items before restoring the selection.
2980 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2982 * src/hildon-touch-selector.c:
2983 (+hildon_touch_selector_unselect_all):
2984 * src/hildon-touch-selector.h: New API to unselect all items in a
2985 column of the touch selector.
2987 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2989 * src/hildon-pannable-area.c,
2990 (hildon_pannable_area_redraw): Added a call to the refresh
2991 function inside the redraw because apparently in some cases the
2992 change in the adjustment does not imply a size allocate.
2994 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2995 despite the view not being scrollable)
2997 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3000 leak. Check for NULL before attempting to set the window title.
3002 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3005 whether to show or not the 'Done' button each time the dialog is
3006 shown, as it depends on the HildonTouchSelector selection mode.
3008 Fixes: NB#96226 (In multiple selection mode Done button is shown
3009 sometimes in listpicker)
3011 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3014 for the number of columns in the HildonTouchSelector more than once.
3016 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-touch-selector.c: Minor documentation fixes.
3020 * src/hildon-picker-dialog.c (+_dialog_update_title)
3021 (_select_on_selector_changed_cb)
3022 (_update_title_on_selector_changed_cb)
3023 (on_selector_columns_changed): Update dialog title when there's no
3024 'Done' button and also when the number of columns in the selector
3028 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3029 (+_selection_changed, hildon_picker_button_on_dialog_response)
3030 (hildon_picker_button_selector_selection_changed)
3031 (+hildon_picker_button_selector_columns_changed)
3032 (hildon_picker_button_set_selector): Update button value and emit
3033 'value-changed' when the number of columns in the selector
3037 Fixes: NB#96225 (Dialog titles are not shown according to the
3038 values selected in the list picker)
3040 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3042 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3043 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3044 New "arrow-width" and "arrow-height" style properties to set the
3045 size of the arrow button.
3046 Set name of arrow button ("hildon-edit-toolbar-arrow").
3048 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3049 graphics from theme)
3051 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-picker-button.c:
3054 (hildon_picker_button_selector_selection_changed): Use
3055 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3056 the dialog is present.
3058 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3059 the selection is accepted in the dialog)
3061 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-color-chooser.h
3064 * src/hildon-color-chooser-dialog.h:
3065 Added G_BEGIN_DECLS and G_END_DECLS
3067 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3069 (_clean_current_selection): plug a leak in the list.
3071 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-picker-dialog.c:
3074 (+free_path_list): Method to free a GList of GtkTreePaths.
3075 (_clean_current_selection), (_save_current_selection),
3076 (_restore_current_selection): Save the current selection in
3077 as a list of lists, to support multiple selection properly.
3079 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3081 patch by Claudio Saavedra (csaavedra@igalia.com)
3083 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3084 Store the press position.
3085 (+hildon_text_view_button_release_event): If the release position is
3086 close enough to the press position, move the cursor here. Otherwise,
3088 (hildon_text_view_class_init): Override GtkTextView press, release, and
3089 motion event handlers, disabling this way text selection through
3090 pointer interaction, and allowing the container widget to handle the
3093 Fixes: NB#95828 (HildonTextView functionality)
3095 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3097 Based on a patch by Iván Gómez (igomez@igalia.com)
3099 * src/hildon-button.[ch]
3100 * src/hildon-calendar.c
3101 * src/hildon-check-button.c
3102 * src/hildon-date-editor.c
3103 * src/hildon-date-selector.c
3104 * src/hildon-picker-button.c
3105 * src/hildon-time-editor.c
3106 * src/hildon-time-selector.c
3107 * src/hildon-touch-selector.[ch]:
3108 Documentation updates
3110 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3112 * src/hildon-pannable-area.c,
3113 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3114 threshold, it was required due to X events handling.
3116 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3118 * src/hildon-pannable-area.c,
3119 (hildon_pannable_area_grab_notify),
3120 (hildon_pannable_area_initial_effect),
3121 (hildon_pannable_area_button_press_cb),
3122 (hildon_pannable_area_button_release_cb),
3123 (hildon_pannable_area_scroll_cb),
3124 (hildon_pannable_area_scroll_to): Review the timeout management of
3125 the scrollbar, the frecuency was incorrectly set.
3127 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-picker-button.c:
3130 (+hildon_picker_button_on_dialog_response),
3131 (hildon_picker_button_clicked): Present the dialog instead of
3132 running it with gtk_dialog_run().
3134 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3137 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3139 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3140 (hildon_app_menu_finalize): When a window is hidden it doesn't
3141 emit notify::is-topmost, so make sure than the menu also
3142 disappears in that case.
3143 (parent_window_topmost_notify): Renamed from parent_window_hidden
3145 Fixes: NB#94460 (stackable window's menu is not closed when its
3148 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-touch-selector-entry.c:
3151 (+hildon_touch_selector_entry_set_input_mode),
3152 (+hildon_touch_selector_entry_get_input_mode):
3153 * src/hildon-touch-selector-entry.h: New methods to access the input
3154 mode in the selector's entry.
3156 Fixes: NB#93410 (API required for setting IM mode in
3157 HildonTouchSelectorEntry)
3159 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3161 * configure.ac: post release version bump.
3162 * debian/changelog: version bump
3164 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: Bump version.
3170 * debian/changelog: Updates.
3172 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-touch-selector.c:
3175 (_hildon_touch_selector_has_multiple_selection): No need
3176 to initialize the variables here.
3178 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-note-private.h
3181 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3182 (hildon_note_finalize, hildon_note_rebuild): Close information
3183 notes when they receive a button press.
3185 Fixes: NB#89890 (Information notes does not get disappeared after
3188 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3191 mark from the wizard title, as it's not really necessary. Also,
3192 do not display the page title if not set.
3194 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3197 (parent_window_hidden): Use the window's "is-topmost" property to
3198 detect when to hide the menu.
3200 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3203 (hildon_app_menu_finalize): If the parent window of the menu is
3204 hidden, hide the menu too.
3206 Fixes: NB#94460 (stackable window's menu is not closed when its
3209 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3212 * debian/libhildon1-examples.install
3214 * examples/Makefile.am:
3215 Use dh_install to install all examples.
3216 Use DEB_SRCDIR instead of defining SOURCE_DIR
3218 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3220 * configure.ac: post release version bump.
3221 * debian/changelog: version bump
3223 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3228 * configure.ac: bump version
3229 * debian/changelog: updates
3230 * debian/control: bump gtk+ dependency
3232 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3234 patch by Christian Dywan (christian@imendio.com)
3236 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3237 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3239 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-check-button.c (hildon_check_button_init)
3242 (hildon_check_button_class_init, hildon_check_button_style_set)
3243 (hildon_check_button_apply_style):
3244 New "checkbox-size" style property.
3246 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3247 larger / configurable size)
3249 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3251 * configure.ac: post release version bump.
3252 * debian/changelog: version bump
3254 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3259 * configure.ac: bump version
3260 * debian/changelog: updates
3262 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3264 * doc/hildon-sections.txt
3265 * src/hildon-pannable-area.c
3266 * src/hildon-program.c
3267 * src/hildon-time-editor.c
3268 * src/hildon-touch-selector-entry.c:
3270 More documentation updates.
3272 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3274 * doc/hildon-sections.txt
3275 * src/hildon-caption.c
3276 * src/hildon-code-dialog.c
3277 * src/hildon-color-button.c
3278 * src/hildon-controlbar.c
3279 * src/hildon-date-editor.c
3280 * src/hildon-date-selector.c
3281 * src/hildon-edit-toolbar.c
3282 * src/hildon-find-toolbar.c
3283 * src/hildon-font-selection-dialog.c
3285 * src/hildon-program.c
3286 * src/hildon-range-editor.c
3287 * src/hildon-seekbar.c
3288 * src/hildon-time-editor.c
3289 * src/hildon-time-selector.c
3290 * src/hildon-volumebar-range.c
3291 * src/hildon-volumebar.c
3292 * src/hildon-vvolumebar.c
3293 * src/hildon-weekday-picker.c
3294 * src/hildon-window.c
3295 * src/hildon-wizard-dialog.c:
3297 Lots of documentation fixes.
3299 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3301 Patch contributed by Iván Gómez (igomez@igalia.com)
3303 * src/hildon-check-button.c:
3304 * src/hildon-date-button.c:
3305 * src/hildon-date-selector.c:
3306 * src/hildon-dialog.c:
3307 * src/hildon-edit-toolbar.c:
3308 * src/hildon-entry.c:
3309 * src/hildon-picker-button.c:
3310 * src/hildon-program.c:
3311 * src/hildon-text-view.c:
3312 * src/hildon-time-button.c:
3313 * src/hildon-touch-selector-entry.c:
3314 * src/hildon-window-stack.c:
3316 Add more "since" tags to the new API.
3318 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3320 * doc/hildon-sections.txt: Add below method.
3321 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3322 version for the hildonized scale.
3323 * src/hildon-gtk.h: Add the definition.
3325 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3327 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3329 * doc/hildon-sections.txt: Add missing entries for new methods.
3331 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3333 Added API to pannable are in order to get its adjustments. We
3334 added two properties to manage the values we had in the private
3337 * src/hildon-pannable-area.c:
3338 (hildon_pannable_area_class_init): Added hadjustment and
3339 vadjustment properties in order to expose horizontal and vertical
3341 (hildon_pannable_area_get_property),
3342 (hildon_pannable_area_set_property): Added code to handle the new
3344 (hildon_pannable_area_get_hadjustment),
3345 (hildon_pannable_area_get_vadjustment): API functions to get the
3347 * src/hildon-pannable-area.h:
3348 (hildon_pannable_area_get_hadjustment),
3349 (hildon_pannable_area_get_vadjustment): API functions to get the
3352 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3354 Fixed some leaks, after valgrinding.
3356 * src/hildon-touch-selector.c:
3357 (_default_print_func): Fixed a leak.
3358 (hildon_touch_selector_append_column): Fixed a leak.
3359 * src/hildon-date-button.c:
3360 (hildon_date_button_init): Fixed a leak.
3361 * src/hildon-date-selector.c
3362 (hildon_date_selector_finalize): Fixed a leak.
3364 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3366 Based on a patch by Christian Dywan (christian@imendio.com)
3368 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3370 * src/hildon-gtk.h: Add definition.
3372 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3374 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3376 * src/hildon-picker-button.c: (hildon_picker_button_init),
3377 (hildon_picker_button_new): Set the HildonButton::style property
3378 in the init method, to propagate the value to the derived classes.
3380 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3382 * src/hildon-button.c: (hildon_button_class_init): Do not make
3383 the "style" property a construct property.
3385 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-wizard-dialog.h
3388 * src/hildon-wizard-dialog.c
3389 (hildon_wizard_dialog_set_forward_page_func)
3390 * src/hildon-pannable-area.h
3391 * src/hildon-pannable-area.c
3392 (hildon_pannable_area_set_size_request_policy):
3393 Documentation fixes.
3395 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3397 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3399 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3401 * doc/hildon-sections.txt: Added sections file.
3403 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/*.[ch]: Updates.
3408 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3410 * examples/hildon-progress-indicator-example.c: new file
3411 * examples/Makefile.am: include the new example program
3413 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3417 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3419 * configure.ac: post release version bump
3420 * debian/changelog: version bump
3422 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: bump version
3428 * debian/changelog: updates
3429 * debian/control: bump gtk+ dependency
3431 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-dialog.c: Mark as deprecated.
3434 * src/hildon-dialog.h: Mark as deprecated.
3435 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3436 from HildonDialog and still work, even if
3437 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3438 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3440 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3441 maemo changes) instead)
3443 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3445 * src/hildon-pannable_area.h:
3446 * src/hildon-pannable_area.c:
3447 (hildon_pannable_area_class_init),
3448 (hildon_pannable_area_set_property),
3449 (hildon_pannable_area_get_property),
3450 (hildon_pannable_area_size_request),
3451 (hildon_pannable_area_get_size_request_policy),
3452 (hildon_pannable_area_set_size_request_policy): Added new API
3453 allowing applications to control the request policy. Now they can
3454 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3455 children allocation (HILDON_MOVEMENT_CHILDREN).
3457 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3461 (hildon_gtk_tree_view_set_ui_mode)
3462 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3463 mode of treeviews and iconviews.
3465 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3467 * src/hildon-touch-selector-entry.c:
3468 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3469 of a GtkEntry to get proper theming.
3471 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3472 widget, not GtkEntry)
3474 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3477 no HildonWizardDialogPageFunc.
3479 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3481 Patch contributed by Iván Gómez (igomez@igalia.com)
3483 * src/hildon-app-menu.c:
3484 * src/hildon-button.c:
3485 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3486 * src/hildon-stackable-window.c:
3487 * src/hildon-time-selector.c:
3488 * src/hildon-touch-selector.c:
3489 * src/hildon-window.c:
3491 Add more "since" tags to the new API in hildon 2.2.
3493 2008-12-05 Tim Janik <timj@imendio.com>
3495 Patch contributed by Christian Dywan (christian@imendio.com)
3497 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3498 HildonSizeType, which are supplied by Gtk+ now.
3500 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3502 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3503 (with maemo changes) instead)
3505 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3507 Patch contributed by Iván Gómez (igomez@igalia.com)
3509 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3512 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3514 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3515 (some_page_func), (main): Update the example to use a
3516 HildonWizardDialogPageFunc function.
3518 * src/hildon-wizard-dialog-private.h: Add private data for
3519 the HildonWizardDialogPageFunc function usage.
3521 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3522 (destroy), (hildon_wizard_dialog_init), (response),
3523 (hildon_wizard_dialog_set_forward_page_func):
3524 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3525 that applications can use to stop a HildonWizardDialog to jump to
3528 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3531 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-program.h
3534 * src/hildon-program-private.h
3535 * src/hildon-program.c (hildon_program_init)
3536 (hildon_program_set_common_app_menu)
3537 (hildon_program_get_common_app_menu):
3538 New API for setting a common HildonAppMenu for all
3539 HildonStackableWindows registered with the HildonProgram.
3541 * src/hildon-stackable-window.c
3542 (hildon_stackable_window_toggle_menu):
3543 Use the common HildonAppMenu if a window doesn't have a specific
3546 * src/hildon-app-menu-private.h
3547 * src/hildon-app-menu.c
3548 (hildon_app_menu_get_parent_window):
3549 Function to obtain the window a HildonAppMenu is attached to.
3550 (hildon_app_menu_set_parent_window):
3551 Hide the menu if the parent window is set to NULL.
3553 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3556 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3557 search widget to popup.
3559 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3561 * configure.ac: post release version bump
3562 * debian/changelog: version bump
3564 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3569 * configure.ac: bump version
3570 * debian/changelog: updates
3572 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3574 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3576 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3577 (hildon_window_stack_window_realized)
3578 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3579 Set the leader GdkWindow when a window is stacked and realized,
3580 unset it when it's unstacked.
3581 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3583 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3585 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-stackable-window.h
3588 * src/hildon-window-stack.h:
3589 Protect definition of HildonWindowStack using the preprocessor.
3591 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3593 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3594 Fix warning if all menu items are hidden.
3596 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3598 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3600 * src/hildon-controlbar.c:
3601 * src/hildon-hvolumebar.c:
3602 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3603 Multiple scale size defines updates.
3605 Fixes: NB#94322 (Scale Updates)
3607 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3609 * examples/hildon-app-menu-example.c (create_menu)
3610 Show items after adding them to the menu, as in the future the
3611 menu will no longer call gtk_widget_show() on the added items.
3613 * src/hildon-app-menu.c:
3614 Update example as explained above.
3616 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-app-menu.c
3619 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3620 Make sure that all menu items have finger height.
3622 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3624 * src/hildon-picker-dialog.c:
3625 (_on_dialog_response), (_save_current_selection),
3626 (_restore_current_selection), (_clean_current_selection),
3627 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3628 Defined new functions in order to save the current internal selector
3629 selection previous open the dialog, in case that the use cancel the
3630 interaction, so the widget restores the previous selection.
3632 Fixes: NB#92032 (In calendar application, date values in 'new event'
3635 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3637 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-button.c: Add a reference to the button examples in
3640 hildon-button-example.c
3642 * examples/hildon-button-example.c: Added examples of the most
3643 common button layouts.
3645 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-app-menu.c (hildon_app_menu_show)
3648 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3650 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3652 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3654 * src/hildon-picker-dialog.c:
3655 (hildon_picker_dialog_init): Initialize the signal id for
3656 HildonTouchSelector::columns-changed.
3657 (+on_selector_columns_changed): Set up the interaction mode everytime a
3658 column is added or removed from the HildonTouchSelector.
3659 (_hildon_picker_dialog_set_selector): Connect to
3660 HildonTouchSelector::columns-changed and keep track of it.
3662 Make sure to update the interaction mode of the dialog everytime a
3663 column is added or removed in the HildonTouchSelector.
3665 Fixes: NB#93228 (Done button is not shown always in listpicker)
3667 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3670 a new ::columns-changed signal.
3671 (hildon_touch_selector_append_column): Emit ::columns-changed.
3672 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3674 Add a ::columns-changed signal, emitted when the number of columns in a
3675 HildonTouchSelector changes.
3677 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3680 (_hildon_picker_dialog_set_selector): Factor out the code
3681 to set up the dialog interaction mode.
3683 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3686 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3687 to signal_changed_id.
3689 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3694 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3696 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3697 Updated the logical ids related to ampm format, as now it is required to
3698 show it correctly localized even on languages with no default
3699 abbreviations for am or pm
3700 (_check_am_pm_format): check correctly the 24h format gconf property
3702 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3704 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-button.c: Documentation updates.
3708 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3711 * src/hildon-caption.c: (hildon_caption_class_init):
3712 * src/hildon-color-button.c: (hildon_color_button_class_init):
3713 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3714 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3715 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3716 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3718 Remove deprecated GTK+ marshalers and replace them with the ones
3719 provided by GLib, for those available, add a marshaler for
3720 BOOLEAN:VOID, which is not available in GLib, and use it.
3722 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3724 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3725 the text from the previous column if there is no
3726 HildonTouchSelectorColumn::text-property set.
3728 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3730 * src/hildon-button.h
3731 * src/hildon-button.c (hildon_button_set_property)
3732 (hildon_button_get_property, hildon_button_class_init)
3733 (hildon_button_set_style, hildon_button_get_style):
3734 New "style" property to change the visual appearance of the
3737 * src/hildon-picker-button.c (hildon_picker_button_new):
3738 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3740 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3741 HildonButton look like PickerButton)
3743 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3746 column while building the default string.
3748 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3750 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3751 scroll indicator by default.
3753 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3755 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-main.c: Fix the documentation for hildon_init()
3759 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3761 * doc/hildon-docs.sgml
3765 * src/hildon-window-stack-private.h
3766 * src/hildon-window-stack.h
3767 * src/hildon-window-stack.c:
3768 New HildonWindowStack object, that adds support for multiple
3769 stacks of windows per process.
3771 * src/hildon-stackable-window-private.h
3772 * src/hildon-stackable-window.h
3773 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3774 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3775 (hildon_stackable_window_show, hildon_stackable_window_hide)
3776 (hildon_stackable_window_class_init)
3777 (hildon_stackable_window_init):
3778 Use HildonWindowStack for stack management.
3780 * src/hildon-program.c (hildon_program_pop_window_stack)
3781 (hildon_program_peek_window_stack)
3782 (hildon_program_go_to_root_window):
3783 Add a fallback implementation to the deprecated functions using
3786 * examples/hildon-stackable-window-example.c:
3787 Use the new HildonWindowStack API.
3789 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-stackable-window-private.h
3792 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3793 (hildon_stackable_window_hide, hildon_stackable_window_init):
3794 Remove all window stack management.
3796 * src/hildon-program-private.h
3797 * src/hildon-program.h
3798 * src/hildon-program.c (hildon_program_init)
3799 (hildon_program_pop_window_stack)
3800 (hildon_program_peek_window_stack)
3801 (hildon_program_go_to_root_window):
3802 Remove all window stack management and mark functions as
3805 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3807 * src/hildon-app-menu.c (hildon_app_menu_realize):
3808 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3810 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3812 * configure.ac: post release version bump
3813 * debian/changelog: version bump
3815 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3820 * configure.ac: bump version
3821 * debian/changelog: updates
3823 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3825 Based on initial code by Christian Dywan (christian@imendio.com)
3827 * doc/hildon-docs.sgml: Add section for hildon-main.
3828 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3829 * src/Makefile.am: Add new hildon-main.[ch]
3830 * src/hildon-defines.h: Update the icon sizes.
3831 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3832 new library initialization files and register icon sizes.
3833 * src/hildon-main.h: New declarations.
3834 * src/hildon.h: Include hildon-main.h
3836 Add new initialization functions to the library. These methods
3837 will register the hildon specific icon sizes and can be used in the
3838 future for other hildon specific bits.
3840 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3842 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-window.c: (hildon_window_realize),
3845 (hildon_window_notify), (-hildon_window_update_title): Do not set
3846 the application name in the window title.
3848 Fixes: NB#89754 (Applications shouldn't display their names in the
3851 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-note-private.h:
3854 * src/hildon-note.c: (hildon_note_set_property),
3855 (hildon_note_get_property), (hildon_note_class_init),
3856 (hildon_note_init), (hildon_note_finalize),
3857 (hildon_note_new_confirmation_with_icon_name),
3858 (hildon_note_new_information_with_icon_name):
3860 No need to mark as deprecated the actual code. Revert
3861 to avoid missing symbols in widgets using deprecated API.
3863 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3865 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3867 * src/hildon-volumebar.h
3868 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3869 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3871 * src/hildon-helper.h
3872 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3873 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3875 * examples/Makefile.am:
3876 Deprecate hildon-insensitive-example
3878 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3880 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3882 * examples/hildon-pannable-area-buttons-scroll-example.c:
3883 Make all buttons finger height
3885 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3887 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3889 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3890 update the day model only if it is really required, and to avoid the
3891 full-reconstruction aproach. Now it only add or remove the required days.
3893 The purpose of this is avoid superfluous HildonTouchSelector::changed
3896 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3897 with strange parameters)
3899 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3901 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3903 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3904 the WINDOW_TYPE property.
3906 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3908 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3911 Fix dependency to allow parallel compilation with make -jX
3913 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3916 color frame and some minor tweaks to make it more consistent with
3919 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3920 highlighted but not visible)
3922 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3924 * examples/Makefile.am: Fixed typo in the Makefile.am.
3926 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3928 Reviewed the use of MAEMO_GTK define, now we add the define in the
3929 compilation line, and we also add it to the pc file.
3931 * configure.ac: Added MAEMO_GTK define to the compilation command
3932 and removed it from the config.h.
3934 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3935 do not have to take care about this define if the library was
3939 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3941 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3943 * examples/Makefile.am,
3944 * examples/hildon-pannable-area-buttons-scroll-example.c,
3945 * examples/hildon-pannable-area-gesture-signals-example.c,
3946 * examples/hildon-pannable-area-scroll-jump-example.c,
3947 * examples/hildon-pannable-area-tree-view-example.c:
3948 Renamed the pannable area examples, now they have more meaningful
3951 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3953 * src/hildon-touch-selector.c:
3954 (hildon_touch_selector_set_column_selection_mode): Used of
3955 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3956 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3957 to avoid re-seting the same selection mode.
3959 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3960 breaks HildonPickerDialog)
3962 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3964 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3965 conditional in the Makefile.am
3967 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3969 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3970 Remove unused methods.
3972 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3974 * src/hildon-button.c (hildon_button_init):
3975 Make button images center-aligned by default
3977 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3980 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3981 activated, we have to think about how to deal with both defines
3982 MAEMO_GTK and MAEMO_CHANGES.
3984 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3986 * examples/hildon-app-menu-example.c (create_menu): Make all
3987 buttons finger size.
3989 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3991 Fixed the compilation without maemo gtk adding ifdefs with
3992 MAEMO_GTK define to the code, we have to check this version more
3995 * examples/Makefile.am: Added control to avoid some examples that
3996 just make sense with maemo gtk.
3999 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4000 hildon modes with the define.
4002 * examples/hildon-edit-toolbar-example.c,
4003 (create_icon_view): Create the icon view without hildon-gtk
4004 helpers if we are not using maemo gtk.
4006 * src/hildon-touch-selector.c,
4007 (_create_new_column): Create the treeview without hildon-gtk
4008 helpers if we are not using maemo gtk.
4010 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4012 * src/hildon-pnnable-area.c,
4013 (hildon_pannable_area_dispose),
4014 (hildon_pannable_area_button_press_cb),
4015 (hildon_pannable_area_child_mapped),
4016 (hildon_pannable_area_add),
4017 (hildon_pannable_area_remove): Added code to control the position
4018 of the event_window when adding and removing children from the
4019 pannable. We have to raise the event window when the child is
4022 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4023 selection mode using custom widget inside pannable)
4025 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: post release version bump
4028 * debian/changelog: version bump
4030 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4035 * configure.ac: bump version
4036 * debian/changelog: updates
4038 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4040 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4041 search mode, in order to avoid lose the focus on the treeview when
4042 a hw key (like enter) is pressed.
4044 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4045 in HildonDateSelector dialog)
4047 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4049 * debian/rules: Added --enable-maintainer-mode
4050 * Makefile.am: Added ACLOCAL_AMFLAGS
4052 This allows to properly regenerate the Makefiles if you modify the
4053 configure.ac or any Makefile.am.
4055 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4057 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4058 properties, not needed at all.
4060 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4064 * src/hildon-note.c: (hildon_note_set_property),
4065 (hildon_note_get_property), (hildon_note_class_init),
4066 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4067 (hildon_note_new_confirmation_add_buttons): Remove icons.
4068 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4069 (hildon_note_new_information_with_icon_name): Deprecate.
4070 (hildon_note_new_confirmation): Act directly, without calling
4071 the deprecated constructor.
4072 (hildon_note_new_information): Act directly, without calling
4073 the deprecated constructor.
4074 * src/hildon-note.h: Mark deprecate methods as such.
4075 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4076 not run tests on the deprecated methods if built with deprecation
4079 Fixes: NB#91688 (Never show icons in information notes/confirmation
4082 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4085 (hildon_app_menu_key_press): Remove leftover usage of the
4086 private structure in HildonAppMenu struct.
4087 * src/hildon-app-menu.h: Remove leftover private structure
4088 from the HildonAppMenu struct.
4090 Fixes a crasher when using the HildonAppMenu.
4092 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-picker-dialog.c: Use appropriate logical id
4095 for the default "Done" text.
4097 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4099 * configure.ac: post release version bump
4100 * debian/changelog: version bump
4102 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4104 Modified the way to scroll to the current selection just when the touch
4105 selector is shown on the screen, avoiding a g_idle. Added too a property
4106 to configure this behaviour. See hildon_pannable_area_jump_to_child
4107 documentation for more information.
4109 * src/hildon-touch-selector.c
4110 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4111 Added 'initial-scroll' property
4112 (hildon_touch_selector_set_property): Added
4113 (hildon_touch_selector_map): Removed as not required anymore
4114 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4115 only a concrete column, instead of iterate along all the columns
4117 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4122 * configure.ac: bump version
4123 * debian/changelog: updates
4125 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4127 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4128 compilation time warnings.
4130 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4133 the default value for HildonPannableArea::mov-mode to
4134 HILDON_PANNABLE_AREA_MODE_VERT.
4136 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4138 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4140 Reverting following commit:
4142 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4144 * src/hildon-app-menu-private.h
4145 * src/hildon-app-menu.[ch]
4146 * src/hildon-button.[ch]
4147 * src/hildon-check-button.[ch]
4148 * src/hildon-entry.[ch]
4149 * src/hildon-pannable-area.[ch]
4150 * src/hildon-text-view.[ch]:
4151 Added private field to the object's structure.
4153 because it causes an ABI breakage. We will need to introduce these
4154 changes later at some point. See NB#91636 for an extensive
4155 explanation and status.
4157 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4159 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4161 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4162 remove special cases that are no longer necessary.
4164 Fixes: NB#91016 (Change toolbar sizes, simplification)
4166 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4169 is shown in the cancel note.
4171 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4174 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4175 (hildon_seekbar_init): Remove steppers, remove expose event.
4176 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4178 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4180 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4182 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4183 label font to "SmallSystemFont" for vertically arranged buttons.
4185 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4188 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-check-button.c
4191 (hildon_check_button_set_active, hildon_check_button_clicked):
4192 Don't access private parts directly, use getters instead.
4194 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4196 * src/hildon-check-button.c (hildon_check_button_new):
4197 Align the contents of the check button to the left.
4199 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4201 * src/hildon-pannable-area.c,
4202 (hildon_pannable_area_scroll_to),
4203 (hildon_pannable_area_jump_to),
4204 (hildon_pannable_area_scroll_to_child),
4205 (hildon_pannable_area_jump_to_child): Replace the mapped
4206 precondition of these functions with the realized, it is the
4207 correct state of the widget in this case. Changed the
4208 documentation according to this modification.
4210 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4212 Added a new EXTRA_CFLAGS option to add the deprecated define to
4213 the compilation command. This way we can avoid using the define in
4214 the documentation compilation.
4216 * configure.ac: Defined EXTRA_CFLAGS.
4218 * examples/Makefile.am:
4220 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4222 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4224 * src/hildon-picker-dialog.c:
4225 Defined a utility macro with the desired touch selector height
4226 Removed currently unused separator, and title_label variables from
4228 (hildon_picker_dialog_init): Removed code related to the creation
4229 of unused private variables title_label and separator.
4230 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4231 to ensure correct visualization of the touch selector inside the dialog.
4232 * src/hildon-touch-selector.c
4233 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4234 ensure a concrete height of the widget.
4236 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4239 * tests/Makefile.am:
4241 Remove spurious whitespaces.
4243 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4246 compilation warning after the cancel button removal.
4248 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4250 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4252 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4253 Makefile.am, that way we can choose not to compile some examples
4254 and tests of the deprecated widgets.
4256 * examples/Makefile.am: Divided the sources in deprecated and
4259 * src/Makefile.am: Added undef statement of the deprecated
4260 symbol to the enums file generation process.
4262 * src/hildon-color-chooser-dialog.c
4263 * src/hildon-color-chooser-dialog.h
4264 * src/hildon-color-button.c
4265 * src/hildon-color-button.h
4266 * src/hildon-color-chooser.c
4267 * src/hildon-color-chooser.h
4268 * src/hildon-controlbar.c
4269 * src/hildon-controlbar.h
4270 * src/hildon-date-editor.c
4271 * src/hildon-date-editor.h
4272 * src/hildon-hvolumebar.c
4273 * src/hildon-hvolumebar.h
4274 * src/hildon-private.c
4275 * src/hildon-private.h
4276 * src/hildon-range-editor.c
4277 * src/hildon-range-editor.h
4278 * src/hildon-seekbar.c
4279 * src/hildon-seekbar.h
4280 * src/hildon-time-editor.c
4281 * src/hildon-time-editor.h
4282 * src/hildon-time-picker.c
4283 * src/hildon-time-picker.h
4284 * src/hildon-volumebar.c
4285 * src/hildon-volumebar.h
4286 * src/hildon-vvolumebar.c
4287 * src/hildon-vvolumebar.h
4288 * src/hildon-bread-crumb-trail.h
4289 * src/hildon-bread-crumb-trail.c
4290 * src/hildon-calendar-popup.c
4291 * src/hildon-calendar-popup.h
4292 * src/hildon-weekday-picker.c:
4293 * src/hildon-weekday-picker.h:
4294 * src/hildon-bread-crumb-widget.c:
4295 * src/hildon-bread-crumb-widget.h:
4296 * src/hildon-bread-crumb.c:
4297 * src/hildon-bread-crumb.h:
4298 * src/hildon-calendar.c:
4299 * src/hildon-calendar.h:
4300 * src/hildon-caption.c:
4301 * src/hildon-code-dialog.c:
4302 * src/hildon-code-dialog.h:
4303 * src/hildon-font-selection-dialog.c:
4304 * src/hildon-font-selection-dialog.h:
4305 * src/hildon-get-password-dialog.c:
4306 * src/hildon-get-password-dialog.h:
4307 * src/hildon-login-dialog.c:
4308 * src/hildon-login-dialog.h:
4309 * src/hildon-number-editor.c:
4310 * src/hildon-number-editor.h:
4311 * src/hildon-set-password-dialog.c:
4312 * src/hildon-set-password-dialog.h:
4313 * src/hildon-sort-dialog.c:
4314 * src/hildon-sort-dialog.h: This is the list of deprecated
4317 * src/hildon-touch-selector.c:
4318 * src/hildon-window.c: Added undef statement to avoid compilation
4321 * tests/Makefile.am: Divided the sources in deprecated and
4324 * tests/check_test.c,
4325 (configure_tests): Marked the deprecated code that was adding
4326 suites with deprecated tests.
4328 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4330 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-touch-selector.c: (_default_print_func): Do not
4333 duplicate a string returned by gtk_tree_model_get(), it is already
4336 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4339 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4341 * src/hildon-pannable-area.c
4342 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4343 method, it had problems when adding a widget with viewport the
4344 second time. Now checks if it already has a viewport and uses it.
4346 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4349 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4351 * src/hildon-pannable-area.c,
4352 (hildon_pannable_area_scroll_to),
4353 (hildon_pannable_area_jump_to),
4354 (hildon_pannable_area_scroll_to_child),
4355 (hildon_pannable_area_jump_to_child): Added a precondition to the
4356 scroll and jump to functions: the widget must be mapped before we
4357 can safely call these functions. We have also added documentation
4358 to the functions to explain how to use them in this situation.
4361 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4363 Reviewed the threading handling of the pannable widget, we have
4364 used the gdk_threads_add_timeout function instead of the usual
4365 glib handlers. This avoids some problems with the threads.
4367 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4368 (hildon_pannable_area_initial_effect),
4369 (hildon_pannable_area_scroll_indicator_fade),
4370 (hildon_pannable_area_button_press_cb),
4371 (hildon_pannable_area_timeout),
4372 (hildon_pannable_area_motion_notify_cb),
4373 (hildon_pannable_area_button_release_cb),
4374 (hildon_pannable_area_scroll_cb),
4375 (hildon_pannable_area_scroll_to): Removed the
4376 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4377 gdk_threads_add_timeout.
4379 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4381 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4386 * configure.ac: bump version
4387 * debian/changelog: updates
4389 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4391 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4392 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4393 * src/hildon-color-chooser-dialog.c:
4394 (hildon_color_chooser_dialog_init):
4395 * src/hildon-font-selection-dialog.c:
4396 (hildon_font_selection_dialog_init):
4397 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4399 Remove all cancel/close-like dialogs, as these are not going to be
4402 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-note.c: (hildon_note_rebuild),
4405 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4408 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4410 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4412 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4413 sure all buttons are shown, even the Cancel/Close-like ones.
4415 Fixes: NB#90861 (Custom Confirmation dialogs should be
4416 protected from cancel button removal)
4418 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4420 * debian/control: Change libhildon1-examples dependency from libhildon1
4422 * debian/libhildon1-examples.install
4424 * Makefile.am: Modified the final install directory for the examples on
4425 package libhildon1-examples
4426 * Makefile.static: Update clean target in order to remove all the binary
4429 Changes suggested by Claudio after review new libhildon1-examples package
4431 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4434 * src/hildon-touch-selector.c: Ditto.
4436 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4438 * debian/control: Added new package libhildon1-examples, in order to pack
4439 the current hildon examples as documentation
4440 * debian/rules: Not to compress .c files, modify some includes on the
4441 examples (as normally are compiled locally, but when installed it will
4442 require to include the installed libhildon1 library), and rename
4444 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4445 install all the example files on the new example package
4446 * examples/Makefile.static: Added static makefile that can be used to
4447 compile the examples, once installed the new example package
4448 * examples: Most of the examples were modified in order to grant that
4449 all use only '#include "hildon.h"', in order to be easy to prepare
4450 it on the example package
4452 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4455 * debian/libhildon1-dev.install
4456 * debian/libhildon1-doc.install:
4457 Move all gtk-doc files to a separate libhildon1-doc package.
4459 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4461 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4465 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4467 * debian/rules: Fixed a error in order to avoid unnecessary calls
4468 to autogen.sh on package building
4470 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4472 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4474 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4476 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4479 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-picker-button.c
4482 (hildon_picker_button_finalize):
4483 Free priv->done_button_text
4485 * src/hildon-time-button.c
4486 (hildon_time_button_set_time)
4487 * src/hildon-picker-button.c
4488 (hildon_picker_button_clicked)
4489 (hildon_picker_button_selector_selection_changed)
4490 (hildon_picker_button_set_selector)
4491 * src/hildon-date-button.c
4492 (hildon_date_button_set_date):
4493 Free strings returned by hildon_touch_selector_get_current_text()
4495 * src/hildon-button.c (hildon_button_construct_child):
4496 Fix leaks in priv->image and priv->label_box
4498 Fixes: NB#90535 (Memory leak in picker button)
4500 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4502 * src/hildon-button.c: (hildon_button_get_property): Do not access
4503 private elements directly, use getters instead.
4505 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4507 * src/hildon-app-menu-private.h
4508 * src/hildon-app-menu.c
4509 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4510 Store the menu's parent window.
4512 * src/hildon-stackable-window.c
4513 (hildon_stackable_window_toggle_menu)
4514 (hildon_stackable_window_finalize):
4515 Set the menu's parent window when the menu is shown, unset it when
4518 * src/hildon-app-menu.c
4519 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4520 (hildon_app_menu_class_init):
4521 Send unhandled keyboard accelerators to the parent window.
4523 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4525 * src/hildon-stackable-window.c
4526 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4528 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4530 * configure.ac: post release version bump
4532 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4535 * configure.ac: Bump version
4536 * debian/changelog: Updates
4537 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4540 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4542 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4545 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4546 GtkMenu with Hildon style.
4548 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4550 * src/hildon-picker-button.c:
4551 (hildon_picker_button_set_done_button_text): Set the dialog's
4552 done button text here as well.
4554 Fixes: NB#90232 (Picker button does not set the label on done button
4555 for the second time)
4557 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4562 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-app-menu.c (hildon_app_menu_insert)
4565 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4566 the HildonAppMenu to be activatable using keyboard accelerators
4567 when the menu is not being shown.
4569 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4571 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-stackable-window.c
4574 (hildon_stackable_window_show):
4575 Don't hide old windows automatically when new windows are shown:
4576 this is now a task for the window manager.
4577 (hildon_stackable_window_class_init)
4578 (hildon_stackable_window_hide):
4579 Remove windows from the stack everytime they're hidden.
4580 (hildon_stackable_window_realize):
4581 Don't change the _NET_WM_WINDOW_TYPE property. Use
4582 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4583 it as a stackable window.
4585 * src/hildon-program.c
4586 (hildon_program_pop_window_stack):
4587 Just hide the window to remove it from the stack.
4588 (hildon_program_go_to_root_window):
4589 Don't call gtk_widget_show(), this is now a task for the window
4592 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4594 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4596 * src/hildon-button.c
4597 (hildon_button_construct_child):
4598 Don't pack anything in the button until text or image are
4599 set. This allows adding a custom child after creating the button
4600 with hildon_button_new().
4601 (hildon_button_finalize, hildon_button_class_init)
4602 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4603 alignment and the label box even when they're not packed in the
4606 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4608 * src/hildon-touch-selector.h:
4609 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4610 currently the type definition was using GTK_TYPE_VBOX
4611 * src/hildon-touch-selector.c:
4612 Added some implementation notes in order to clarify that any other widget
4613 added without the column related API will not be included on the
4614 selection logic, and how the widget is freed, as some people ask about
4616 (hildon_touch_selector_remove): Reimplemented in order to free properly
4617 the column related data when you remove the private hbox.
4618 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4619 to get a proper HildonTouchSelectorColumn documentation
4621 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-touch-selector-entry.c:
4624 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4625 text in the GtkEntry and there is no item selected. Fixes a
4628 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4630 * src/hildon-app-menu-private.h
4631 * src/hildon-app-menu.[ch]
4632 * src/hildon-button.[ch]
4633 * src/hildon-check-button.[ch]
4634 * src/hildon-entry.[ch]
4635 * src/hildon-pannable-area.[ch]
4636 * src/hildon-text-view.[ch]:
4637 Added private field to the object's structure.
4639 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4641 * configure.ac: post-release version bump
4643 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4647 * configure.ac: pre-release version bump
4649 * debian/changelog: updates.
4651 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4654 Disconnect the handler for HildonTouchSelector::changed.
4656 (hildon_picker_button_selector_selection_changed): Update the button
4657 value if the selection change was not triggered by the
4660 (hildon_picker_button_set_selector): connect to
4661 HildonTouchSelector::changed.
4663 Fixes: NB#89650 (Picker button is not updated, when selection in
4664 selector has changed)
4666 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4668 * src/hildon-picker-dialog.c
4669 (hildon_picker_dialog_realize): Removed as not required
4670 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4671 * src/hildon-picker-button.c
4672 (_current_selector_empty): New function, checks if the selector is empty
4673 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4674 if the current selector is empty, in order to avoid to show the dialog
4675 close the dialog in this case (and shows a g_warning).
4677 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4679 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4681 * src/hildon-pannable-area.c,
4682 (hildon_pannable_area_scroll): Added clause to stop movement when
4683 the child of pannable is smaller than one page.
4684 (hildon_pannable_area_scroll_to): Added conditions to avoid
4685 starting the scrolling movement if the child is smaller than one
4686 page, the complete child is in the screen, we do not have to move.
4688 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4690 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4693 this is managed automatically by the widget when the size of the
4696 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-picker-button.c
4699 (hildon_picker_button_set_done_button_text): Make a copy of the
4700 text, and free the previous value.
4702 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector-entry.c:
4705 (hildon_touch_selector_entry_print_func): Return the selected row's
4706 text if the entry is empty.
4708 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4711 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4715 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-check-button.h
4719 * src/hildon-check-button.c
4720 * examples/hildon-check-button-example.c:
4721 HildonCheckButton is now a new widget. 'toggled' signal added.
4723 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4725 * src/hildon-program-private.h
4726 * src/hildon-program.c (hildon_program_init)
4727 (hildon_program_finalize): Removed unused variables group_leader
4728 and name from HildonProgramPrivate.
4730 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4732 * src/hildon-check-button.c (hildon_check_button_set_active)
4733 (hildon_check_button_get_active, hildon_check_button_new): Use
4734 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4736 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4738 * src/hildon-touch-selector.h
4739 (hildon_touch_selector_set_column_attributes): added deprecation
4740 guard HILDON_DISABLE_DEPRECATED
4741 * src/hildon-time-selector.c
4742 (hildon_time_selector_set_time)
4743 (hildon_time_selector_get_time): Fixed a typo on documentation
4744 * src/hildon-touch-selector.c: update HildonTouchSelector and
4745 HildonTouchSelectorColumn documentation
4746 * src/hildon-touch-selector-entry.c: update "text-column" property
4748 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4749 to be added to the general documentation.
4751 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4753 * examples/hildon-pannable-area-example-4.c,
4755 * examples/hildon-pannable-area-example.c,
4756 (main): Modified the code in order to use the container add, with
4757 viewport treeviews could have problems if they are really big.
4759 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4761 * src/hildon-weekday-picker.c,
4762 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4763 the agreement regarding deprecation in the library.
4765 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4767 * examples/hildon-picker-button-multicolumn-example.c:
4768 (main): Use custom "done" button text.
4770 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4771 (hildon_picker_button_set_property),
4772 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4773 (hildon_picker_button_init),
4774 (+hildon_picker_button_get_done_button_text),
4775 (+hildon_picker_button_set_done_button_text): New methods to customize
4776 the "done" button label in the launched HildonPickerDialog. Also,
4779 * src/hildon-picker-button.h: add the public API.
4781 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4783 * src/hildon-date-selector.h:
4784 * src/hildon-picker-dialog.h:
4785 * src/hildon-time-selector.h:
4786 * src/hildon-touch-selector-column.h:
4787 * src/hildon-touch-selector.h:
4789 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4790 declarations. Fixes gtk-doc warnings.
4792 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4794 * src/hildon-picker-dialog.h
4795 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4796 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4798 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4799 long text is set as label for done button)
4801 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-dialog.c (hildon_dialog_add_button):
4804 Set fixed width to all buttons in the HildonDialog.
4806 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4808 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4810 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4811 Set widget name using class name plus "-finger" or "-thumb".
4813 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4815 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4816 'clicked' when the state of the button is manually changed.
4818 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-app-menu.c (hildon_app_menu_realize)
4821 (hildon_app_menu_unrealize, hildon_app_menu_init)
4822 (hildon_app_menu_class_init, item_visibility_changed):
4823 Change the menu layout when the size of the screen changes.
4824 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4825 Show warning only when changing the number of colums using the
4828 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4830 * debian/compat: Set to 5
4831 * debian/control: Update dependencies.
4832 * debian/libhildon1-dbg.install: Remove.
4833 * debian/libhildon1-dev.install: Update according to cdbs paths.
4834 * debian/libhildon1.install: Update according to cdbs paths.
4835 * debian/rules: Switch to cdbs.
4837 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4839 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4840 'item' variable renamed to 'filter'
4842 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-app-menu.c (hildon_app_menu_insert)
4845 (hildon_app_menu_add_filter, remove_item_from_list)
4846 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4847 Don't leak hidden items when the menu is destroyed.
4849 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-app-menu.c (hildon_app_menu_insert)
4852 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4853 (hildon_app_menu_set_columns, item_visibility_changed)
4854 (filter_visibility_changed, hildon_app_menu_repack_filters)
4855 (hildon_app_menu_repack_items):
4856 Repack items and filters separately.
4858 Don't repack all items, change only the ones that are needed to
4861 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4863 * src/Makefile.am: added hildon-touch-selector-column.h
4865 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * src/hildon-touch-selector.c: added the property "text-column" to the
4868 class HildonTouchSelectorColumn, and related get/set functions
4869 (_default_printf_func): updated to use "text-column" property
4870 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4871 "text-column" in his documentation, as this is now included on
4872 HildonTouchSelectorColumn. The get/set_property can still be used,
4873 working as a wrapper to the concrete column "text-column" property
4874 (_text_column_modified): callback added in order to handle the signal
4875 "notify::text-column" of the concrete HildonTouchSelectorColumn
4876 (hildon_touch_selector_entry_get_text_column)
4877 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4878 modified in order to use the HildonTouchSelectorColumn "text-column"
4880 * src/hildon-time-selector.c:
4881 * src/hildon-date-selector.c:
4882 * examples/hildon-touch-selector-example.c
4883 * examples/hildon-touch-selector-multi-cells-example.c
4884 * examples/hildon-picker-button-multicolumn-example.c
4885 Set the right value to "text-column" property on the creation of a new
4886 column using hildon_touch_selector_append_column()
4888 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4890 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-app-menu.c
4893 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4894 updating the layout of the menu, don't create all widgets again,
4895 just repack the items in their new places.
4897 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4899 * src/hildon-time-selector.c
4900 (hildon_time_selector_get_time)
4901 (hildon_time_selector_set_time)
4902 Added documentation of these public methods
4904 * src/hildon-date-button.h
4905 * src/hildon-touch-selector-column.h
4906 * src/hildon-time-button.h
4907 * src/hildon-picker-dialog.h
4908 * src/hildon-time-selector.h
4909 * src/hildon-picker-button.h
4910 * src/hildon-touch-selector.h
4911 * src/hildon-time-picker.h
4912 * src/hildon-date-selector.h
4913 * src/hildon-touch-selector-entry.h
4914 Modified in order to use hildon-widgets code style
4916 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4918 Added deprecated support to the compilation process using
4919 HILDON_DISABLE_DEPRECATED
4921 * configure.ac: Added the --disable-deprecated to the configure
4924 * src/hildon-weekday-picker.c:
4925 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4926 to use the deprecated support. We will update the other deprecated
4927 widgets status in a new patch.
4929 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4931 * configure.ac: Fixed typo with fatal warnings support, the
4932 variable name was not correct
4934 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-app-menu.c
4937 * src/hildon-program.c: Update documentation.
4939 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4941 * configure.ac: Post-release version bump.
4943 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4948 * configure.ac: Pre-release version bump.
4949 * debian/changelog: Updates.
4951 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4953 * NEWS: Update news for previous releases.
4955 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4957 * examples/hildon-touch-selector-multi-cells-example.c:
4958 (create_selector): Update the example to use
4959 hildon_touch_selector_append_column() with a NULL renderer and set
4960 the renderers later.
4961 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4962 passed a NULL renderer. This is documented behavior now.
4964 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4965 This must be used if the developer wants full control on the layout of
4966 the renderers to be added to the column.
4968 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4970 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4972 * src/hildon-touch-selector.c: Documentation fixes.
4974 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4976 * src/hildon-wizard-dialog-private.h: Remove image and box.
4977 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4978 (hildon_wizard_dialog_set_property), (response): Completely remove
4979 image/icon support, and the containers required for the layout.
4981 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4983 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-app-menu.c: Updated documentation.
4987 * src/hildon-stackable-window.c
4988 (hildon_stackable_window_set_main_menu): Unref the old menu after
4989 ref'ing the new one.
4991 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-stackable-window.c
4994 (hildon_stackable_window_set_main_menu): Unref the previous menu
4995 instead of destroying it.
4997 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4998 floating reference and set has_user_ref_count to FALSE to make
4999 HildonAppMenu act like a normal ref-counted widget and not a
5002 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5005 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5007 * src/hildon-touch-selector-column.h: new file
5008 * src/hildon-touch-selector.h
5009 * src/hildon-touch-selector.c
5010 Implemented GtkCellLayout interface, in order to allow to configure
5011 the cell layout on each individual selector column
5012 (hildon_touch_selector_set_column_attributes): marked as deprecated
5013 * examples/hildon-touch-selector-multi-cells-example.c
5014 Example of how to use the GtkCellLayout interface on the selector
5016 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5018 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-app-menu.h
5021 * src/hildon-app-menu.c
5022 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5023 (hildon_app_menu_append, hildon_app_menu_prepend):
5024 New methods to prepend, insert and move items in the menu.
5026 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-wizard-dialog.c:
5030 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5032 (create_title): Update logical IDs and related code.
5033 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5035 * src/hildon-wizard-dialog.h: Note that
5036 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5037 point, as it is not used anymore.
5039 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5041 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5043 * src/hildon-note.c:
5044 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5045 shown. Do not display an icon in confirmation notes nor information
5047 (hildon_note_set_button_text): Update logical ID for cancel button.
5049 Fixes: NB#88850 (Update HildonNote button strings + signals)
5051 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5053 * src/hildon-stackable-window.c
5054 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5056 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-app-menu-private.h
5059 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5060 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5061 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5062 temporary property 'columns' to change the number of columns.
5064 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5066 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5068 * examples/hildon-note-example.c: (on_information_clicked),
5069 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5070 debugging information.
5071 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5073 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5074 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5075 in order to close: this will be handled by the WM from now on.
5077 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5079 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-app-menu-private.h
5082 * src/hildon-app-menu.c
5083 (hildon_app_menu_append, hildon_app_menu_add_filter)
5084 (button_visibility_changed, hildon_app_menu_apply_style)
5085 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5086 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5087 layout everytime a button (item or filter) is shown or hidden.
5089 * src/hildon-stackable-window.c
5090 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5093 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5095 * src/hildon-touch-selector.c:
5096 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5097 that the treeview inside the touch selector is in fremantle hildon mode
5098 * examples/hildon-date-button-example.c
5099 * examples/hildon-picker-button-multicolumn-example.c
5100 * examples/hildon-touch-selector-entry-example.c
5101 * examples/hildon-touch-selector-example.c
5102 * examples/hildon-time-button-example.c
5103 * examples/hildon-picker-button-example.c:
5104 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5106 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5108 * examples/hildon-text-view-example.c: (main): Remove the
5109 gtkrc bits, now handled by the theme.
5111 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5113 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5116 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5118 * po/Makefile.am: Install properly the mo files.
5119 * po/en_GB.po: Update translation, to ease testing purposes.
5121 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5123 * examples/hildon-picker-button-example.c: (main): Select an item
5124 in the selector before setting it to the button.
5126 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5129 Update button's value if the selector has an item active.
5131 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5132 'value' with the selector)
5134 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5136 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5137 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5138 (hildon_picker_button_class_init): Plug the finalize method.
5139 (hildon_picker_button_set_selector): If there's a previously set
5140 selector, unref'it before setting a new one.
5142 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5143 HildonTouchSelector)
5145 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5147 * src/hildon-touch-selector-entry.c:
5148 (hildon_touch_selector_entry_changed): Check if there is no text
5149 selected before setting the entry text.
5152 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-touch-selector.h
5155 * src/hildon-touch-selector.c
5156 (hildon_touch_selector_get_active)
5157 (hildon_touch_selector_set_active): New methods to set/get the
5158 index of the selected item.
5160 * src/hildon-picker-button.h
5161 * src/hildon-picker-button.c
5162 (hildon_picker_button_get_active)
5163 (hildon_picker_button_set_active): New methods to set/get the
5164 index of the selected item.
5166 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5168 * configure.ac: post-release version bump.
5170 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5174 * configure.ac: Pre-release version bump.
5175 * debian/changelog: Updates.
5176 * debian/control: Add myself as maintainer and depend on l10n
5179 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-window.c
5182 (hildon_window_set_main_menu)
5183 * src/hildon-stackable-window.c
5184 (hildon_stackable_window_set_main_menu):
5185 Updated documentation.
5187 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5190 Don't free selector->priv manually.
5193 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5196 (hildon_gtk_window_set_progress_indicator):
5197 * src/hildon-gtk.h: Added the new API
5198 hildon_gtk_window_set_progress_indicator, it changes the state of
5199 the window progress hint.
5201 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5203 * src/hildon-button.c
5204 * src/hildon-stackable-window.c: Minor documentation updates.
5206 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5208 * src/hildon-stackable-window.c: Updated documentation.
5210 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5212 * src/hildon-defines.h: Update margins definitions
5213 to the Fremantle sizes.
5216 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5218 * src/hildon-touch-selector.c,
5219 (_hildon_touch_selector_set_model): Cleaning the code after
5220 review, removed g_print and #if 0 from the code.
5222 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5224 * src/hildon-edit-toolbar.c: Update documentation.
5226 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-check-button.h
5229 * src/hildon-check-button.c
5230 (hildon_check_button_set_label, hildon_check_button_get_label)
5231 * examples/hildon-check-button-example.c
5232 (button_clicked_cb):
5233 Removed deprecated methods.
5235 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-text-view.c:
5238 Add sample code to the documentation.
5240 * src/hildon-entry.h
5241 * src/hildon-text-view.h:
5242 Minor cosmetic changes.
5244 * src/hildon-entry.c:
5245 Add sample code to the documentation.
5246 (hildon_entry_init, hildon_entry_refresh_contents):
5247 Don't allow NULL values in the placeholder.
5249 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5251 * doc/hildon-docs.sgml
5253 * examples/Makefile.am
5254 * examples/hildon-text-view-example.c
5256 * src/hildon-text-view.c
5257 * src/hildon-text-view.h
5259 New HildonTextView widget, with example.
5261 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5263 * po/POTFILES.in: Add missing files with translatable strings.
5264 Partially fixes NB#88287.
5266 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5268 * examples/hildon-pannable-area-example-2.c: (main): No need to
5269 set the cellrenderer height inside hildon touch lists, the theme does
5272 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5274 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5275 they are integrated in the theme.
5277 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5279 * examples/hildon-entry-example.c: Update the example adding
5280 widgets to modify the text and the placeholder of the HildonEntry.
5282 * src/hildon-entry.c: Show the placeholder everytime the widget
5283 is empty and loses the focus.
5285 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5287 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5289 * src/hildon-pannable-area.c,
5290 (hildon_pannable_area_size_request): Fixed bug in height
5291 requisition, avoid increasing size and add border twice.
5293 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5295 * configure.ac: postrelease version bump.
5297 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5301 * configure.ac: Prerelease version bump.
5302 * debian/changelog: update.
5303 * debian/rules: make -dbg package contain useful debugging symbols.
5305 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5307 * src/hildon-dialog.h
5308 * src/hildon-dialog.c
5309 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5310 New methods to add buttons with finger size.
5311 (hildon_dialog_new_with_buttons):
5312 Create buttons with finger size.
5314 * examples/hildon-dialog-example.c (main): Use HildonDialog
5315 methods to add buttons.
5317 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-entry.c: Updated HildonButton documentation.
5321 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5324 button value label with (FALSE, FALSE) to prevent NB#88126 from
5327 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5329 * examples/hildon-pannable-area-example.c,
5330 (main): Removed examples panning a vbox inside a pannable
5331 area. Check bug NB#87965
5333 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5335 Patch contributed by Kris Rietveld (kris@imendio.com)
5337 * src/hildon-pannable-area.c,
5338 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5339 get_size and get_position, this saves an X server roundtrip.
5341 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5343 * doc/hildon-docs.sgml
5345 * examples/Makefile.am
5346 * examples/hildon-entry-example.c
5348 * src/hildon-entry.c
5349 * src/hildon-entry.h
5351 New HildonEntry widget, with example.
5353 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-button.c (hildon_button_construct_child): Pack the
5356 image with expand == fill == FALSE. This is a workaround for a bug
5359 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5361 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5362 labels for the text column, to make it more look more dynamic.
5364 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5366 * src/hildon-time-selector.c
5367 Define gettext auxiliar macro N_
5368 (_create_minutes_model)
5369 (_create_hours_model)
5370 (_create_ampm_model): use of strftime in order to fill the model
5371 * src/hildon-date-selector.c
5372 (hildon_date_selector_finalize):
5373 (_locales_init): remove the logic related to get the name of the months
5374 using nl_langinfo, as it is not required anymore
5376 (_create_year_model)
5377 (_create_month_model)
5378 (_update_day_model): use of strftime in order to fill the model properly
5381 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5383 * src/hildon-button.h
5384 * src/hildon-button.c (hildon_button_get_image): New method to
5387 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-touch-selector.c:
5390 (hildon_touch_selector_remove_column): Remove from the correct parent
5391 and also remove the list element and free it.
5394 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5396 * src/hildon-time-selector.c
5397 (_create_hours_model): change the range on 12h ampm format in order to use
5398 a 12-11 range instead of previous 01-12 range
5399 (hildon_time_selector_set_time): change the way to select the current time
5400 on 12h ampm format, due the change on the range
5401 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5404 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5406 * src/hildon-touch-selector.c
5407 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5408 in order to allow use this function on multiple row selection mode if
5409 the column is different that the first one
5412 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5414 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5415 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5417 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5419 * src/hildon-date-selector.h: clean some comments, now on the .c
5420 * src/hildon-date-selector.c
5421 (hildon_date_selector_select_month): first implementation
5422 (hildon_date_selector_select_day): added documentation, reimplemented
5423 using hildon_date_selector_select_current_date to avoid repeat code
5426 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5428 Reviewed interaction logic based on device experiences, refactored
5431 * src/hildon-pannable-area.c,
5432 (hildon_pannable_area_class_init): Updated default vmax speed.
5433 (hildon_pannable_area_calculate_velocity): Added this function, it
5434 avoids duplicate valocity calculation. Adjusted calculation to
5435 avoid problems with zero dist events.
5437 (hildon_pannable_area_motion_notify_cb): Now we use the
5438 calculate_velocity function.
5440 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5442 * src/hildon-date-selector.c
5443 (hildon_date_selector_select_current_date): fix the day range check
5444 as it failed using the last day of the current month
5447 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5449 * src/hildon-touch-selector.c
5450 (hildon_touch_selector_get_num_columns): added a parameter validation
5453 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5455 * examples/Makefile.am
5456 * examples/hildon-edit-toolbar-example.c: Example of the
5457 HildonEditToolbar widget.
5459 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5461 * configure.ac: postrelease version bump.
5463 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5467 * configure.ac: prerelease version bump.
5468 * debian/changelog: update.
5470 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5472 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5473 renderer to display stock icons in the touch list. Also, set the sizes
5474 to the recommended in the style guide.
5476 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5477 * src/hildon-touch-selector.h
5478 (hildon_touch_selector_set_active_iter): renamed, now is
5479 hildon_touch_selector_select_iter
5480 (hildon_touch_selector_get_active_iter): renamed, now is
5481 hildon_touch_selector_get_selected
5482 (hildon_touch_selector_unselect_iter): added
5483 * src/hildon-touch-selector.c
5484 Update after API modification (methods renamed)
5485 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5486 order to avoid problems selecting multiple elements on the column
5487 (hildon_touch_selector_unselect_iter): added the implementation
5488 * src/hildon-time-selector.c
5489 * src/hildon-date-selector.c
5490 * src/hildon-touch-selector-entry.c
5491 Update methods calls after hildon-touch-selector.h API modification (methods
5494 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5496 * src/hildon-stackable-window.c
5497 (hildon_stackable_window_finalize): Call the parent class's finalize.
5499 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5501 * examples/hildon-touch-selector-example.c: (create_selector): Use
5502 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5505 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5507 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5508 set a cell background color, to respect theming.
5510 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5512 * doc/hildon-docs.sgml
5515 * src/hildon-edit-toolbar.c
5516 * src/hildon-edit-toolbar.h
5517 * src/hildon.h: New HildonEditToolbar widget.
5519 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5521 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5524 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5525 * src/hildon-touch-selector.c
5526 (_create_new_column): use g_object_set instead of two g_object_set_property
5528 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5529 * src/hildon-touch-selector.c
5530 (_create_new_column): use of hildon_gtk_tree_view_new to create
5531 the treeview, instead of use directly g_object_new
5532 (_create_new_column): update the property name "vindicator-mode" for the
5533 new one "vscrollbar-policy"
5534 * examples/hildon-date-button-example.c
5535 * examples/hildon-picker-button-multicolumn-example.c
5536 * examples/hildon-touch-selector-entry-example.c
5537 * examples/hildon-touch-selector-example.c
5538 * examples/hildon-time-button-example.c
5539 * examples/hildon-picker-button-example.c
5540 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5541 to all the treeviews inside a pannable area.
5543 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-button.h
5546 * src/hildon-button.c (hildon_button_init)
5547 (hildon_button_set_arrangement, hildon_button_set_alignment)
5548 (hildon_button_set_title_alignment)
5549 (hildon_button_set_value_alignment)
5550 (hildon_button_set_image_alignment)
5551 (hildon_button_construct_child): New methods to set the alignment
5552 of the individual components of the button (title, value,
5553 image). Also, new method to alter the xscale and yscale properties
5554 of the GtkAlignment inside the button, so more complex layouts can
5557 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-button.c (hildon_button_style_set)
5560 (hildon_button_class_init, hildon_button_set_arrangement)
5561 (hildon_button_construct_child): Apply style properties
5562 correctly. Use the 'image-spacing' style property too.
5564 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5566 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5567 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5570 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5572 * src/hildon-pannable-area.c,
5573 (hildon_pannable_area_size_request): Fixed problem with
5574 pannable-area size_request.
5576 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5578 Added management for the grab-focus to a child widget, like a
5579 range, we need to fade out the scrollbar when releasing.
5581 * src/hildon-pannable-area.c,
5582 (hildon_pannable_area_init): Connected the grab-focus signal to
5584 (hildon_pannable_area_grab_notify): Added this function in order
5585 to manage the situation when the grab-focus ends. We have to
5586 fade-out the scrollbar.
5588 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5590 * src/hildon-app-menu.c: Minor documentation update.
5592 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-app-menu.c
5595 * examples/hildon-app-menu-example.c (create_menu): Update
5596 examples and documentation to explain how to connect callbacks.
5598 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5600 * examples/hildon-button-example.c
5601 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5602 hildon_stackable_window_new instead of gtk_window_new
5604 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5606 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5607 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5608 (hildon_pannable_area_set_property),
5609 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5610 (hildon_pannable_area_unrealize),
5611 (hildon_pannable_area_size_request),
5612 (hildon_pannable_area_size_allocate),
5613 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5614 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5615 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5616 (hildon_pannable_area_initial_effect),
5617 (hildon_pannable_area_redraw),
5618 (hildon_pannable_area_scroll_indicator_fade),
5619 (hildon_pannable_area_expose_event),
5620 (hildon_pannable_area_get_topmost), (synth_crossing),
5621 (hildon_pannable_area_button_press_cb),
5622 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5623 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5624 (hildon_pannable_area_motion_notify_cb),
5625 (hildon_pannable_area_button_release_cb),
5626 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5627 (hildon_pannable_area_remove),
5628 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5629 chage the code layout to a more GtkWidget like. Review the use of
5632 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5634 * examples/hildon-pannable-area-example-4.c,
5635 (main): Modified the name of the hindicator_mode to
5638 * src/hildon-pannable-area.c,
5639 (hildon_pannable_area_class_init),
5640 (hildon_pannable_area_motion_notify_cb),
5641 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5642 we have reduced the amount of signals and managed reviewed its
5643 rationale. Changed the default decelerate value.
5645 (hildon_pannable_area_add),
5646 (hildon_pannable_area_redraw): Refactored functions.
5648 (hildon_pannable_area_init),
5649 (hildon_pannable_area_get_property),
5650 (hildon_pannable_area_set_property):
5651 (hildon_pannable_draw_vscroll),
5652 (hildon_pannable_draw_hscroll),
5653 (hildon_pannable_area_initial_effect),
5654 (hildon_pannable_area_expose_event),
5655 (hildon_pannable_area_scroll),
5656 (hildon_pannable_area_button_press_cb),
5657 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5658 and vindicator_mode with hscrollbar_policy and
5659 vscrollbar_policy. Replaced hscroll and vscroll with
5660 hscroll_visible and vscroll_visible.
5662 (hildon_pannable_area_refresh): Refactor the function, remove
5663 variables and check the calls to this function, added resize
5664 conditions in case the children change their layout.
5666 (hildon_pannable_area_size_request): Added more detailed
5667 size_request calculation.
5670 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5672 * src/hildon-color-chooser.c
5673 (init_borders): use the correct gtk_border_free instead of g_free, to
5674 avoid a crash when this widget is used (ie: the three color selection
5677 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5679 * src/hildon-check-button.c,
5680 (hildon_check_button_set_active): Fixed problem when setting the
5681 active value, the widget was not redrawn.
5683 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5685 * src/hildon-pannable-area.c,
5686 (hildon_pannable_area_refresh),
5687 (hildon_pannable_area_scroll),
5688 (hildon_pannable_area_motion_notify_cb): Small code style change.
5690 (hildon_pannable_area_class_init): Default initial_hint set to
5691 FALSE, it is not in the specs.
5693 (hildon_pannable_area_initial_effect),
5694 (hildon_pannable_area_expose_event),
5695 (hildon_pannable_area_map),
5696 (hildon_pannable_area_init): Moved the launching point of the
5697 initial effect, it was in map but the sizes where not correct in
5698 that method so we do not know if we have the reproduce it. Now it
5699 is placed in the expose_event method and uses a variable to
5700 reproduce it just once.
5702 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5704 * src/hildon-pannable-area.c,
5705 (hildon_pannable_draw_vscroll),
5706 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5707 position allowed for the scrollbars.
5709 (hildon_pannable_area_size_allocate): Small style change.
5711 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5713 * src/hildon-pannable-area.c,
5714 (hildon_pannable_area_scroll_indicator_fade),
5715 (hildon_pannable_area_button_press_cb),
5716 (hildon_pannable_area_button_release_cb),
5717 (hildon_pannable_area_scroll_cb),
5718 (hildon_pannable_area_expose_event),
5719 (hildon_pannable_area_init): Added the define parameter
5720 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5721 and refactor the fade variable.
5723 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5725 * src/hildon-pannable-area.c,
5726 (hildon_pannable_area_redraw),
5727 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5728 lines, we were reimplemeting the redraw code.
5730 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5732 * src/hildon-pannable-area.c,
5733 (hildon_pannable_area_scroll_cb),
5734 (hildon_pannable_area_realize),
5735 (hildon_pannable_area_class_init): Added scroll_event management
5736 for pannable area, now we can scroll the usual desktop method.
5738 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5739 initialization of the parameters should depend on idle_id.
5741 (hildon_pannable_area_init),
5742 (hildon_pannable_area_map): Small code style modifications
5744 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5746 * src/hildon-pannable-area.c
5747 (hildon_pannable_area_button_press_cb),
5748 (hildon_pannable_area_motion_notify_cb),
5749 (hildon_pannable_area_button_release_cb),
5750 (hildon_pannable_area_size_allocate),
5751 (hildon_pannable_area_scroll_to): Improved the timeouts
5752 management, we avoid creating them each time.
5754 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5756 * src/hildon-pannable-area.c:
5757 (hildon_pannable_area_refresh),
5758 (hildon_pannable_area_motion_notify_cb),
5759 (hildon_pannable_area_class_init):
5760 * src/hildon-pannable-area.h:
5761 * src/hildon-touch-selector.c
5762 (_create_new_column):
5763 * examples/hildon-pannable-area-example-4.c:
5764 (horizontal_movement),
5765 (vertical_movement),
5767 Replaced the names of enums in the HildonPannableArea:
5768 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5769 HILDON_MOVEMENT_MODE_*
5770 - HILDON_PANNABLE_AREA_MOV_* ->
5772 - Removed HildonPannableAreaIndicatorMode, now we
5775 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5777 * examples/hildon-pannable-area-touch-grid-example.c
5778 * examples/hildon-pannable-area-touch-list-example.c: Fix
5779 compilation warnings.
5781 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-gtk.c (hildon_gtk_button_new)
5784 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5785 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5786 images overriding the value of the "gtk-button-images" setting.
5788 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5790 * src/hildon-check-button.c (hildon_check_button_new):
5791 Instead of using a custom container, display the label and the
5792 checkbox using the standard GtkButton API.
5794 * examples/hildon-check-button-example.c (main): Don't use
5795 hildon_check_button_set_label() anymore
5797 * src/hildon-check-button.h
5798 * src/hildon-check-button.c
5799 (hildon_check_button_set_label, hildon_check_button_get_label):
5800 Set as deprecated, now we're using gtk_button_{get,set}_label()
5802 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5804 * src/hildon-pannable-area.c,
5805 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5806 GtkTreeview first line we detected it after the inclusion of the
5807 GtkWindowImpl in gtk+. We now check if the window is visible, not
5808 just if the pointer is over the window.
5809 (hildon_pannable_axis_scroll),
5810 (hildon_pannable_area_expose_event): Small style changes.
5812 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5814 * src/hildon-button.c: Update documentation.
5816 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5818 * examples/hildon-button-example.c: Add a switch to show images in
5821 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5823 * doc/hildon-docs.sgml: Some docs reorganization.
5825 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5827 * examples/hildon-pannable-area-touch-list-example.c
5829 * examples/hildon-pannable-area-touch-grid-example.c
5830 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5831 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5832 Fix memory leak when setting the tree model.
5834 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5838 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5840 * doc/hildon.types: Remove duplicated hildon_window_get_type
5841 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5842 documentation comment.
5844 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5846 * doc/Makefile.am: Complete list of private headers.
5848 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5850 * doc/hildon-docs.sgml
5851 * src/hildon-app-menu.c
5852 * src/hildon-bread-crumb.c
5853 * src/hildon-button.c
5855 * src/hildon-program.c
5856 * src/hildon-stackable-window.c
5857 * src/hildon-window.c: Lots of documentation updates.
5859 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5861 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5863 * configure.ac: Require Gtk+ 2.12.9 at least
5865 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5867 * src/hildon-pannable-area.c
5868 (hildon_pannable_area_scroll_indicator_fade),
5869 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5870 to protect the return of this timeout callbacks, avoiding deadlocks.
5872 2008-08-12 Christian Dywan <christian@imendio.com>
5875 * src/hildon-*.h: Ensure a consistent include order,
5876 include <gtk/gtk.h> instead of particular files and
5877 only include the topmost header in the gtk stack. See NB #39857
5879 2008-08-12 Christian Dywan <christian@imendio.com>
5881 * src/hildon-picker-dialog.c
5882 * src/hildon-touch-selector.c: Fix warnings about unused and
5883 uninitialized variables.
5885 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5887 * examples/Makefile.am
5888 * examples/hildon-check-button-example.c: Example of the hildon
5891 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5893 * src/hildon-window.h
5894 * src/hildon-window.c (hildon_window_class_init)
5895 (hildon_window_unset_program): Don't make
5896 hildon_window_unset_program a virtual function anymore.
5898 * src/hildon-stackable-window.c: Update documentation
5900 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5903 * doc/hildon-docs.sgml
5904 * doc/visual_index.xml
5905 * src/hildon-defines.c
5907 * src/hildon-helper.c
5908 * src/hildon-range-editor.c: Lots of documentation fixes.
5910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5912 * examples/hildon-picker-button-multicolumn-example.c
5913 (create_touch_selector): Fix compilation warning.
5915 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5917 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5918 (hildon_pannable_area_button_release_cb)
5919 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5921 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5926 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-bread-crumb-trail.h
5929 * src/hildon-date-editor.c
5930 * src/hildon-date-selector.c
5931 * src/hildon-pannable-area.c
5932 * src/hildon-picker-dialog.c
5933 * src/hildon-time-selector.c
5934 * src/hildon-touch-selector-entry.c
5935 * src/hildon-touch-selector.c
5936 * src/hildon-touch-selector.h: Misc documentation fixes
5938 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5940 * examples/hildon-date-editor-example.c (main): Updated date
5943 * examples/hildon-note-example.c (on_confirmation_clicked):
5944 Updated confirmation note example.
5946 * src/hildon-date-editor.c
5947 * src/hildon-note.c: Updated sample programs in documentation.
5950 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5952 * src/hildon-date-button.h:
5953 * src/hildon-picker-button.h:
5954 * src/hildon-time-button.c:
5955 * src/hildon-time-button.h:
5957 Some declarations changes to allow gtk-doc to document the widgets
5960 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5962 * src/hildon-date-button.c: Document the widget.
5963 * src/hildon-time-button.c: Document the widget.
5965 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5967 * src/hildon-picker-button.c: Document the widget.
5968 * src/hildon-touch-selector-entry.c: Document the widget.
5970 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5972 * doc/hildon-docs.sgml
5975 * src/hildon-check-button.h
5976 * src/hildon-check-button.c: New functions to create the Hildon
5980 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5982 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5984 * src/hildon-button.h
5985 * src/hildon-button.c
5986 (hildon_button_add_title_size_group)
5987 (hildon_button_add_value_size_group)
5988 (hildon_button_add_image_size_group)
5989 (hildon_button_add_size_groups): New functions to set size groups
5990 for the button labels and image.
5991 (hildon_button_new_full): Removed
5993 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5995 * src/hildon-time-selector.c
5996 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5997 in order to avoid a crash if gconf is not available
5999 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6001 * src/hildon-button.c (hildon_button_set_arrangement)
6002 (hildon_button_construct_child): Don't construct the button child
6003 before setting the arrangement.
6005 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-program-private.h
6008 * src/hildon-program.c
6009 * src/hildon-program.h
6010 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6011 (hildon_program_peek_window_stack)
6012 (hildon_program_pop_window_stack)
6013 (hildon_program_go_to_root_window): HildonProgram now has a
6014 separate list for stackable windows. Functions are provided to
6015 manage that list with a stack-like API.
6017 * src/hildon-stackable-window.c: Stackable window management is
6018 now much simpler with the new HildonProgram API. Windows no
6019 longer need to be manually added to the program, they're
6020 automatically pushed to the top of the stack when shown.
6022 * examples/hildon-stackable-window-example.c: Updated example to
6023 reflect the API changes.
6025 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6027 * src/hildon-touch-selector.c: Comment out unimplemented
6028 hildon_touch_selector_insert_column() to avoid a compile warning.
6030 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6032 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6033 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6034 (hildon_touch_selector_set_column_selection_mode),
6035 (_hildon_touch_selector_set_model),
6036 (hildon_touch_selector_set_model):
6038 Complete review of HildonTouchSelector documentation.
6040 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6042 * doc/hildon-docs.sgml
6046 * src/hildon-gtk.c: Convenience functions for standard Gtk
6047 widgets, used to easily perform frequent operations.
6049 * src/hildon-button-helpers.h
6050 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6052 * src/hildon-helper.h
6053 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6054 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6056 * src/hildon-button.h
6057 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6059 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-button.c (hildon_button_init)
6062 (hildon_button_set_arrangement, hildon_button_construct_child):
6063 Pack the image and the labels inside the same GtkAlignment so
6064 gtk_button_set_alignment() can be used
6066 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-button.h
6069 * src/hildon-button.c
6070 (hildon_button_init, hildon_button_set_image)
6071 (hildon_button_set_image_position)
6072 (hildon_button_construct_child): New functions to add an image to
6075 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6077 * src/hildon-date-button.c
6078 * src/hildon-picker-button.c
6079 * src/hildon-time-button.c
6080 * src/hildon-button.c:
6081 (hildon_button_class_init): "size-flags" renamed to "size"
6082 (hildon_button_set_title): Hide the title label if set to NULL.
6084 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6086 HildonButtonFlags split into HildonButtonArrangement (to set the
6087 button layout) and HildonSizeType (which can be used for any
6090 * src/hildon-button.h
6091 * src/hildon-button.c
6092 (hildon_button_class_init)
6093 (hildon_button_set_arrangement)
6094 (hildon_button_set_property): New "size-flags"
6095 property. "arrangement-flags" renamed to "arrangement".
6096 (hildon_button_new, hildon_button_new_with_text)
6097 (hildon_button_new_full): Constructors updated to reflect type changes.
6099 * src/hildon-helper.h
6100 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6101 to set the size of a widget.
6105 * src/hildon-button-helpers.c
6106 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6108 * src/hildon-date-button.c
6109 * src/hildon-date-button.h
6110 * src/hildon-picker-button.c
6111 * src/hildon-picker-button.h
6112 * src/hildon-time-button.c
6113 * src/hildon-time-button.h: Updated widgets to reflect
6114 HildonButton API changes.
6116 * examples/hildon-button-example.c
6117 * examples/hildon-date-button-example.c
6118 * examples/hildon-picker-button-example.c
6119 * examples/hildon-picker-button-multicolumn-example.c
6120 * examples/hildon-time-button-example.c
6121 * examples/hildon-touch-selector-entry-example.c
6122 * examples/hildon-touch-selector-example.c: Updated examples to
6123 reflect HildonButton API changes.
6125 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6127 * doc/hildon-docs.sgml:
6129 * examples/Makefile.am:
6130 * examples/hildon-touch-selector-entry-example.c:
6132 * src/hildon-touch-selector-entry.c:
6133 * src/hildon-touch-selector-entry.h:
6136 Moved HildonTouchSelectorEntry from sandbox. Added its
6137 documentation and examples.
6139 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6141 * src/hildon-touch-selector.h:
6142 * examples/hildon-picker-button-multicolumn-example.c:
6143 (hildon_touch_selector_append_text_column): Add a gboolean
6144 parameter to determine if text must be centered in the column.
6146 * src/hildon-date-selector.c: (hildon_date_selector_init):
6147 * src/hildon-time-selector.c: (hildon_time_selector_init):
6148 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6149 (create_touch_selector): Update widgets and example to reflect
6152 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/hildon-touch-selector.c:
6155 (hildon_touch_selector_set_active_iter): Set also the cursor in
6158 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6160 * doc/hildon-docs.sgml
6163 * src/hildon-toggle-button.c
6164 * src/hildon-toggle-button.h
6165 * src/hildon.h: Removed HildonToggleButton widget, a derived
6166 class is not necessary for this.
6168 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6170 * src/hildon-pannable-area.c,
6171 (hildon_pannable_area_realize),
6172 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6175 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6177 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6178 "done" button the default widget for the dialog.
6180 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-touch-selector.c:
6183 (hildon_touch_selector_class_init),
6184 (hildon_touch_selector_get_property),
6185 (_hildon_touch_selector_set_model),
6186 (_hildon_touch_selector_has_multiple_selection),
6187 (hildon_touch_selector_has_multiple_selection):
6188 Add a "has-multiple-selection" property with a virtual
6189 has_multiple_selection() method to allow derived classes to
6190 override the default value for it. See the method and property
6191 documentation for details.
6193 * src/hildon-touch-selector.h: Add the new API.
6195 * src/hildon-picker-dialog.c: (requires_done_button): Call
6196 hildon_touch_selector_has_multiple_selection() instead of
6197 determining the need for a button itself.
6199 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6201 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6202 (_hildon_touch_selector_set_model),
6203 (hildon_touch_selector_set_model): Move working code to
6204 _hildon_touch_selector_set_mode(). Call the class method instead.
6206 * src/hildon-touch-selector.h: Add (*set_model) to
6207 HildonTouchSelectorClass.
6209 Make hildon_touch_selector_set_model() a virtual method, so that
6210 derived classes can extend it and do fancy stuff with the model.
6212 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6214 * configure.ac: Set back the tarname in AC_INIT to hildon.
6216 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6220 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6221 instead of libesd (NB#86876). Volume handling is still an open issue.
6223 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6226 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6229 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6230 derived class to ease placement of an entry widget in
6231 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6232 end, where the selector columns are packed now.
6234 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6236 * src/hildon-picker-button.c: Removed the simple _text() API.
6237 * src/hildon-picker-button.h: Likewise.
6239 * src/hildon-touch-selector.h:
6240 * src/hildon-touch-selector.c:
6241 (hildon_touch_selector_new_text),
6242 (hildon_touch_selector_append_text),
6243 (hildon_touch_selector_prepend_text),
6244 (hildon_touch_selector_insert_text):
6246 Moved the simple _text() API from HildonPickerButton to
6247 HildonTouchPicker, to provide better escalability and not to tie
6248 that API to HildonPickerButton.
6250 * examples/hildon-picker-button-example.c: (main): Example updated.
6252 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-button.c: Updated documentation.
6256 * examples/hildon-button-example.c: Add the posibility to create
6257 the buttons using horizontal layout for title and value.
6259 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6261 * src/hildon-app-menu-private.h
6262 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6263 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6264 GtkSizeGroup for the filters, use the 'homogeneous' property of
6267 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6269 * examples/hildon-button-example.c: Updated example.
6271 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6273 * doc/hildon-docs.sgml:
6276 Update documentation.
6278 * examples/Makefile.am: Update renamed examples.
6280 * examples/hildon-picker-button-multicolumn-example.c:
6281 (create_touch_selector), (main): Update after the rename.
6283 * examples/hildon-touch-picker-example.c: Removed.
6284 * examples/hildon-touch-selector-example.c: (value_changed),
6285 (create_selector), (get_visible_content), (main): Renamed from
6286 hildon-touch-picker-example.c
6288 * src/Makefile.am: Updated renamed files.
6290 * src/hildon-date-button.c: (hildon_date_button_init),
6291 (hildon_date_button_get_date), (hildon_date_button_set_date):
6292 * src/hildon-date-selector.c: (hildon_date_selector_init),
6293 (_custom_print_func), (_update_day_model),
6294 (_manage_selector_change_cb),
6295 (hildon_date_selector_select_current_date),
6296 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6297 * src/hildon-date-selector.h:
6298 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6299 (hildon_picker_button_set_property),
6300 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6301 (hildon_picker_button_init), (hildon_picker_button_new_text),
6302 (hildon_picker_button_append_text),
6303 (hildon_picker_button_prepend_text),
6304 (hildon_picker_button_insert_text),
6305 (hildon_picker_button_set_selector),
6306 (hildon_picker_button_get_selector):
6307 * src/hildon-picker-button.h:
6308 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6309 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6310 (_update_title_on_selector_changed_cb), (requires_done_button),
6311 (_hildon_picker_dialog_set_selector),
6312 (hildon_picker_dialog_set_selector),
6313 (hildon_picker_dialog_get_selector):
6314 * src/hildon-picker-dialog.h:
6315 * src/hildon-time-button.c: (hildon_time_button_init),
6316 (hildon_time_button_get_time), (hildon_time_button_set_time):
6317 * src/hildon-time-selector.c: (hildon_time_selector_init),
6318 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6319 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6320 * src/hildon-time-selector.h:
6323 Massive code updates after the rename.
6325 * src/hildon-touch-picker.c: Removed.
6326 * src/hildon-touch-picker.h: Removed.
6328 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6329 (hildon_touch_selector_init), (hildon_touch_selector_map),
6330 (hildon_touch_selector_remove), (_default_print_func),
6331 (_selection_changed_cb), (_create_new_column),
6332 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6333 (hildon_touch_selector_append_text_column),
6334 (hildon_touch_selector_remove_column),
6335 (hildon_touch_selector_set_column_attributes),
6336 (hildon_touch_selector_insert_column),
6337 (hildon_touch_selector_get_num_columns),
6338 (hildon_touch_selector_get_column_selection_mode),
6339 (hildon_touch_selector_set_column_selection_mode),
6340 (hildon_touch_selector_set_print_func),
6341 (hildon_touch_selector_get_print_func),
6342 (hildon_touch_selector_get_active_iter),
6343 (hildon_touch_selector_set_active_iter),
6344 (hildon_touch_selector_get_selected_rows),
6345 (hildon_touch_selector_get_model),
6346 (hildon_touch_selector_set_model),
6347 (hildon_touch_selector_get_current_text),
6348 (_hildon_touch_selector_center_on_selected_items):
6349 * src/hildon-touch-selector.h: Renamed from
6350 hildon-touch-picker.[ch]
6352 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6353 references, code examples, and related documentation.
6355 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6357 * doc/hildon-docs.sgml
6360 * src/hildon-toggle-button.c
6361 * src/hildon-toggle-button.h
6362 * src/hildon.h: New HildonToggleButton widget.
6364 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-button.c: Add API documentation.
6367 (hildon_button_set_size_groups): Check input parameters
6369 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6371 * src/hildon-pannable-area.c
6372 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6373 effect after reaching the movement thredshold. This way we start
6374 using the distance after passing the thredshold.
6376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6378 * src/hildon-button.c: (hildon_button_set_property): Use the
6379 appropriate g_value_get_flags() method.
6381 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6383 * doc/hildon-docs.sgml:
6386 Add the touch pickers, picker dialogs, and picker button widgets
6387 to the documentation.
6389 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6391 * src/hildon-button.c: (hildon_button_set_property),
6392 (hildon_button_class_init): Make "arrangement-flags" a proper
6393 G_TYPE_FLAGS derived property.
6395 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6397 * examples/Makefile.am: Add below examples.
6398 * examples/hildon-date-button-example.c:
6399 * examples/hildon-picker-button-example.c:
6400 * examples/hildon-picker-button-multicolumn-example.c:
6401 * examples/hildon-time-button-example.c:
6402 * examples/hildon-touch-picker-example.c:
6404 Add examples for the recently added touch pickers,
6405 picker dialogs, and picker button widgets.
6407 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-button.c: Add some API documentation
6411 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-button.h
6414 * src/hildon-button.c
6416 (hildon_button_new_with_text): New constructor to create a button
6417 with no text at all.
6418 (hildon_button_init, hildon_button_set_arrangement)
6419 (hildon_button_set_title, hildon_button_set_value)
6420 (hildon_button_set_text)
6421 (hildon_button_construct_child): Hide the value when it's not used
6422 so the rest of the text is properly aligned.
6423 Allow creating buttons with arbitrary widgets inside (not just
6424 title/value labels).
6426 * examples/hildon-button-example.c (vertical_buttons_window)
6427 (horizontal_buttons_window): Update example to use new API.
6429 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6431 * src/Makefile.am: Added HildonTimeButton.
6432 * src/hildon-time-button.c: Added missing LGPL header.
6433 * src/hildon-time-button.h: Added missing LGPL header.
6434 * src/hildon.h: Add hildon-time-button.h
6436 Copied HildonTimeButton from sandbox to trunk. Future work on this
6437 widget must take place in trunk.
6439 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/Makefile.am: Added HildonDateButton.
6442 * src/hildon-date-button.c: Update includes.
6443 * src/hildon.h: Add hildon-date-button.h
6445 Copied HildonDateButton 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 HildonPickerButton.
6451 * src/hildon-picker-button.h: Update includes.
6452 * src/hildon.h: Add hildon-picker-button.h
6454 Copied HildonPickerButton from sandbox to trunk. Future work on
6455 this widget must take place in trunk.
6457 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/Makefile.am: Added HildonPickerDialog.
6460 * src/hildon-picker-dialog.c: Update includes.
6461 * src/hildon.h: Add hildon-picker-dialog.h
6463 Copied HildonPickerDialog from sandbox to trunk. Future work
6464 on this widget must take place in trunk.
6466 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6468 * src/Makefile.am: Added HildonTimeSelector.
6469 * src/hildon.h: Add hildon-time-selector.h
6471 Copied HildonTimeSelector widget from sandbox to trunk. Future
6472 work on this widget must happen in trunk.
6474 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6476 * src/Makefile.am: Added HildonDateSelector.
6477 * src/hildon.h: Add hildon-date-selector.h
6479 Copied HildonDateSelector widget from sandbox to trunk. Future
6480 work on this widget must happen in trunk.
6482 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/Makefile.am: Added HildonTouchPicker.
6485 * src/hildon-touch-picker.c: Update includes.
6486 * src/hildon.h: Add hildon-touch-picker.h
6488 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6489 on this widget must happen in trunk.
6491 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6493 * src/hildon-pannable-area.c:
6494 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6496 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6498 * examples/hildon-app-menu-example.c (main): Let the window
6501 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6503 * src/hildon-pannable-area.c
6504 (hildon_pannable_area_class_init): Set the min value of the
6505 overshoot properties to zero, which points out that not
6506 overshooting allowed.
6508 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6510 Modified the procedure to get the widget at a point inside the
6511 pannable area when using the movement type signals. Now the user
6512 has to call a function to get the child, that way we just
6513 calculate the child in case the user really want to use it and not
6516 * src/hildon-marshalers.list: Modified the marshallers, now we do
6517 not have the widget as a parameter.
6519 * src/hildon-pannable-area.c
6520 (hildon_pannable_area_motion_notify_cb),
6521 (hildon_pannable_area_class_init),
6522 (hildon_pannable_get_child_widget_at): Removed the widget
6523 parameter from the signal callback. We have also refactored the
6524 emission of the signals.
6526 * src/hildon-pannable-area.h: Added a new method to the API to
6527 calculate a widget at a point inside the pannable area,
6528 hildon_pannable_get_child_widget_at.
6530 * examples/hildon-pannable-area-example-4.c
6531 (horizontal_movement): Modified the example to use the new API,
6532 added condition to control which widget is under the event. This
6533 way we can avoid scrolling laterally over other widgets.
6535 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6537 * src/hildon-pannable-area.c
6538 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6539 modes, we stop getting the pointer events due to returning the
6540 callback without properly calling the get pointer again. Fixed
6541 also an error using the hscroll and vscroll.
6543 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6545 * src/hildon-app-menu-private.h
6546 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6547 (hildon_app_menu_button_release, hildon_app_menu_init)
6548 (hildon_app_menu_class_init): Don't hide the menu on button
6549 release if the user didn't press outside first.
6551 * src/hildon-window.h
6552 * src/hildon-window.c (hildon_window_toggle_menu)
6553 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6554 hildon_window_toggle_menu a virtual function for the stackable
6555 window to override it.
6557 * src/hildon-stackable-window.h
6558 * src/hildon-stackable-window-private.h
6559 * src/hildon-stackable-window.c
6560 (hildon_stackable_window_realize)
6561 (hildon_stackable_window_finalize)
6562 (hildon_stackable_window_class_init)
6563 (hildon_stackable_window_init)
6564 (hildon_stackable_window_set_main_menu): New function to set the
6565 app menu of a HildonStackableWindow.
6567 * examples/hildon-app-menu-example.c: Remove the button to show
6568 the app menu, now it'll be shown when clicking on the title bar
6571 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6573 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6574 set the widget name if the arrangement flags do not specify
6577 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-button.c: (hildon_button_set_property),
6580 (hildon_button_class_init), (hildon_button_new_full),
6581 (hildon_button_set_arrangement): Added "arrangement-flags"
6584 Make the HildonButtonFlags a construction-only property, to allow
6585 subclasses to set them properly.
6587 2008-07-21 Tim Janik <timj@imendio.com>
6589 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6590 insertion position after backspace, so additional digits are appended,
6593 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6595 * src/hildon-pannable-area.c,
6596 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6597 TODO list, it was complete and removed the g_debug and g_print
6600 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6602 Added the movement modes to the hildon-pannable-area, with this
6603 modes the developers can control in which directions the widget
6604 can scroll. They can also connect to signals in order to do
6605 something when that happens, allowing applications scroll. There
6606 is an example uploaded showing how to use it.
6608 * examples/Makefile.am:
6609 * examples/hildon-pannable-area-example-4.c: Added this example of
6610 an application using the modes.
6612 * src/hildon-marshalers.list: Added a new marshaller for the new
6615 * src/hildon-pannable-area.h: Added new enumerations and flags in
6616 order to control the movement modes and the new signals to warn
6617 about the movements in the area.
6619 * src/hildon-pannable-area.c:
6620 (hildon_pannable_axis_scroll),
6621 (hildon_pannable_area_scroll),
6622 (hildon_pannable_area_motion_notify_cb),
6623 (hildon_pannable_area_get_property),
6624 (hildon_pannable_area_set_property),
6625 (hildon_pannable_area_map),
6626 (hildon_pannable_area_class_init),
6627 (hildon_pannable_area_init),
6628 (hildon_pannable_area_jump_to): Added the modes to control the
6629 movement in the widget. We have added properties to control it,
6630 signals to warn about the movements and refactored some code.
6632 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6634 Changes required in order to allow vfast_factor set to zero to
6637 * src/hildon-pannable-area.c:
6638 (hildon_pannable_area_button_press_cb): Changed the condition, it
6639 is required for not allowing click when vfast_factor is zero.
6640 (hildon_pannable_area_timeout): Initialized velocity variables
6641 when we stop moving, it was less than 1 but not zero and we need
6642 to check zero in some situations.
6643 (hildon_pannable_area_class_init): Changed the default value of
6644 the speed factor, now the button_press is just sent in case the
6645 speed is 2 per cent of the max speed.
6646 (hildon_pannable_area_init): Initialization with 0.
6648 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6650 * src/hildon-pannable-area.c,
6651 (hildon_pannable_area_get_topmost): replaced
6652 gdk_window_get_children with gdk_window_peek_children, this way we
6653 do not have to free the list because it is not a copy.
6655 (hildon_pannable_axis_scroll),
6656 (hildon_pannable_area_scroll),
6657 (hildon_pannable_area_timeout),
6658 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6659 two parameters that were only used inside the
6660 hildon_pannable_area_scroll function.
6662 * examples/hildon-pannable-area-example.c,
6663 (get_sawtooth_label): Fixed small memory leak.
6665 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6667 More checks for the case where the overshoot is bigger than the
6670 * src/hildon-pannable-area.c:
6671 (hildon_pannable_draw_vscroll),
6672 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6673 to draw the slider of the scrollbar under the other scrollbar.
6674 (hildon_pannable_area_expose_event): added new checks to control
6675 the drawing of the overshooting area rectangle, in case it is too
6676 big for the area of the widget.
6677 (hildon_pannable_area_size_allocate): add more checks to avoid
6678 setting a position to the child widget outside the area.
6680 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6682 * src/hildon-pannable-area.c
6683 (hildon_pannable_area_size_allocate): Added conditions to control
6684 when overshooting is bigger than the allocated space for the
6685 children, this avoids negative allocations.
6687 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6689 * doc/hildon-docs.sgml
6691 * examples/Makefile.am
6692 * examples/hildon-button-example.c
6694 * src/hildon-button.c
6695 * src/hildon-button.h
6696 * src/hildon.h: Initial version of the new HildonButton widget,
6699 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6701 * src/hildon-pannable-area.c:
6702 (hildon_pannable_area_button_press_cb),
6703 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6704 (hildon_pannable_area_motion_notify_cb),
6705 (hildon_pannable_area_button_release_cb),
6706 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6707 (hildon_pannable_area_jump_to_child):
6709 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6711 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6713 * examples/Makefile.am
6714 * examples/hildon-pannable-area-touch-grid-example.c
6715 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6716 the Hildon Touch List and Hildon Touch Grid using the
6717 HildonPannableArea widget.
6719 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6721 * src/hildon-pannable-area.c,
6722 (hildon_pannable_area_button_press_cb),
6723 (hildon_pannable_area_refresh),
6724 (hildon_pannable_area_scroll),
6725 (hildon_pannable_area_motion_notify_cb),
6726 (hildon_pannable_area_button_release_cb),
6727 (hildon_pannable_area_expose_event),
6728 (hildon_pannable_area_add),
6729 (hildon_pannable_area_remove),
6730 (hildon_pannable_area_realize),
6731 (hildon_pannable_area_size_allocate),
6732 (hildon_pannable_area_class_init),
6733 (hildon_pannable_area_init),
6734 (hildon_pannable_area_scroll_to_child),
6735 (hildon_pannable_area_jump_to_child): Fixed the problem of
6736 removing the child from the GtkBin, we have rearranged the widget
6737 hierarchy, now there is no GtkAlignment which was not doing
6738 anything interesting but breaking some of the assumptions of
6739 GtkContainer. Now developers if they want to add a GtkAlignment
6740 they could, but it is not inside the area.
6742 We had to review the whole allocation/expose process, now it is
6743 improved and we save at least three signals which would be saving
6744 some time when rendering the widget. The allocation of the
6745 scrollbars is now made in the allocate method as usual.
6747 We have also added some conditions in order to control when there
6748 is no child of the pannable area. Maybe we will need more work
6751 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6753 * src/hildon-pannable-area.c,
6754 (hildon_pannable_area_dispose): Released the fade-out timeout when
6755 disposing the widget.
6757 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6759 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6760 zero, we are going to use that property in order to deactivate the
6762 (hildon_pannable_axis_scroll),
6763 (hildon_pannable_area_size_allocate): Added conditions to control
6764 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6765 call, now it is called in all situations and we can remove calls
6766 in the allocate method.
6767 (hildon_pannable_area_map): Control the situation when
6768 overshoot_max is zero, we do not need the timeout.
6769 (hildon_pannable_area_class_init): Added documentation in order to
6770 point out that setting zero to overshoot_max means deactivate
6773 NOTE: removed trailing whitespaces from my previous comments of
6776 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6778 * src/hildon-pannable-area.c
6779 (hildon_pannable_area_get_property),
6780 (hildon_pannable_area_set_property),
6781 (hildon_pannable_area_map),
6782 (hildon_pannable_area_class_init),
6783 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6784 to cause the widget give a hint about its panning abilities upon
6787 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6789 * src/hildon-pannable-area.c: Several documentation improvements.
6791 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6793 * src/hildon-program.c
6794 * src/hildon-stackable-window.c: Update documentation.
6796 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-stackable-window.c (get_previous_window_if_last):
6799 Renamed get_last_window()
6800 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6801 (hildon_stackable_window_unset_program):
6803 (get_previous_window_if_last):
6804 Detect if the window hasn't been added to a HildonProgram.
6806 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6808 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6810 * src/hildon-pannable-area.c
6811 (hildon_pannable_area_button_press_cb),
6812 (hildon_pannable_axis_scroll),
6813 (hildon_pannable_area_scroll),
6814 (hildon_pannable_area_timeout),
6815 (hildon_pannable_calculate_vel_factor),
6816 (hildon_pannable_area_get_property),
6817 (hildon_pannable_area_set_property),
6818 (hildon_pannable_area_class_init),
6819 (hildon_pannable_area_init),
6820 (hildon_pannable_area_scroll_to),
6821 (hildon_pannable_area_jump_to),
6822 (hildon_pannable_area_scroll_to_child),
6823 (hildon_pannable_area_jump_to_child):
6824 * src/hildon-pannable-area.h: Added the new API functions:
6825 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6826 hildon_pannable_area_scroll_to_child,
6827 hildon_pannable_area_jump_to_child
6830 * examples/Makefile.am
6831 * examples/hildon-pannable-area-example-2.c
6832 * examples/hildon-pannable-area-example-3.c: Added these two new
6833 examples in order to test and show how the new APIs work.
6835 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6837 * examples/hildon-stackable-window-example.c (new_window):
6838 * src/Makefile.am (noinst_HEADERS):
6839 * src/hildon-program.c (hildon_program_go_to_root_window):
6840 * src/hildon-program.h:
6841 * src/hildon-stackable-window-private.h:
6842 * src/hildon-stackable-window.c:
6843 * src/hildon-stackable-window.h:
6844 Create hildon-stackable-window-private.h
6845 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6847 * examples/hildon-app-menu-example.c (create_menu):
6848 * examples/hildon-hvolumebar-insensitive-example.c (main):
6849 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6850 * examples/hildon-toolbar-seekbar-example.c (main):
6851 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6852 * src/hildon-banner.c (hildon_banner_set_property):
6853 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6854 Fix compilation warnings
6856 * src/hildon-window.c:
6859 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6861 * src/hildon-stackable-window.c
6862 (hildon_stackable_window_unset_program):
6863 Calculate correctly whether to show the previous window if the
6864 last one is removed from the stack.
6865 (hildon_stackable_window_go_to_root_window):
6866 Send delete events starting from the topmost window.
6867 Stop if one of the windows is not destroyed.
6869 (hildon_stackable_window_delete_event)
6870 (hildon_stackable_window_class_init):
6871 Ignore the delete event if the window is not the topmost one.
6873 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6875 * src/hildon-pannable-area.c
6876 (hildon_pannable_area_expose_event): Fixed a problem when
6877 selecting the background color of the scrollbars.
6879 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6881 * examples/hildon-stackable-window-example.c
6882 * src/hildon-stackable-window.c
6883 * src/hildon-stackable-window.h
6884 hildon_stackable_window_go_home() renamed to
6885 hildon_stackable_window_go_to_root_window()
6886 Send delete events to windows rather than closing them with
6887 gtk_widget_destroy()
6889 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6891 * src/hildon-pannable-area.c
6892 (hildon_pannable_area_button_release_cb): Fix overshooting in
6895 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6897 * src/hildon-pannable-area.c
6898 (hildon_pannable_area_init): Initially show the scroll indicators.
6899 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6901 Add initial effect showing the widget is pannable.
6903 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-pannable-area.c
6906 (hildon_pannable_area_class_init)
6907 (hildon_pannable_area_set_property)
6908 (hildon_pannable_area_get_property)
6909 (hildon_pannable_area_button_press_cb):
6910 New 'velocity_fast_factor' property to decide which velocity is
6913 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6915 * src/hildon-pannable-area.c
6916 (hildon_pannable_draw_hscroll)
6917 (hildon_pannable_draw_vscroll):
6918 Use float variables to calculate the size of the scrollbars to
6919 avoid error propagation and resizing during scrolling.
6921 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6923 * src/hildon-pannable-area.c
6924 (hildon_pannable_draw_vscroll)
6925 (hildon_pannable_draw_hscroll):
6926 Define a minimum size for the scroll bars
6928 * src/hildon-stackable-window.c
6929 (hildon_stackable_window_go_home): Fix compilation warning
6930 (get_last_window): Minor optimizations
6931 (hildon_stackable_window_class_init): Fix initialization of
6934 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6936 * src/hildon-stackable-window.c: Fixed typos in doc
6938 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6940 * src/hildon-pannable-area.c
6941 (hildon_pannable_area_scroll):
6942 Calculate here whether we need to scroll instead of using the booleans
6943 that tell us whether to /draw/ the scrolling bars.
6945 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6947 * src/hildon-app-menu.h
6949 * src/hildon-app-menu.c
6950 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6951 multiple filter groups related code and API. Now we support only
6953 * examples/hildon-app-menu-example.c:
6955 Update to reflect API changes.
6957 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6959 * src/hildon-stackable-window.c
6960 (hildon_stackable_window_class_init):
6961 Add hildon_stackable_window_realize.
6962 (hildon_stackable_window_realize):
6963 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6964 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6965 to apply theming and behavior specific to HildonStackableWindow
6968 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6970 * src/hildon-note.c (hildon_note_button_release):
6971 Close information notes also when tapping on them
6973 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6975 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6976 ELASTICITY, refactor and review, fix some issues with drawing
6979 * src/hildon-pannable-area.c:
6980 (hildon_pannable_area_button_press_cb): removed the conditions to
6981 avoid clicks when overshooting. It is not required
6983 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6984 define. Refatored and reviewed the code, now we do not need to
6985 manage velocity in motion_notify.
6987 (hildon_pannable_area_motion_notify_cb): We have moved the code
6988 that controls the area_scroll to the axis_scroll function and get
6989 rid of duplicated code.
6991 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6993 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6995 (hildon_pannable_draw_vscroll),
6996 (hildon_pannable_draw_hscroll): Fixed the problems with the
6997 scrollbar drawing, now we do not use two surfaces, it is easier
6998 and saves resources.
7000 (hildon_pannable_area_get_property): Style modification.
7002 (hildon_pannable_area_class_init): Changed some default values.
7004 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7006 * src/hildon-stackable-window.c: Fix some typos in the
7009 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7011 * src/hildon-dialog.c:
7012 Change indentation style
7015 (hildon_note_button_release):
7016 Use root coordinates to check if the release event happened
7019 * src/hildon-app-menu.c
7020 (hildon_app_menu_button_release):
7021 Remove unnecessary check
7023 * examples/hildon-app-menu-example.c
7025 Add cast to fix warning
7027 * src/hildon-app-menu.c
7028 (hildon_app_menu_class_init):
7029 New inner-border style property.
7030 Set all default spacings to 16
7031 (hildon_app_menu_init):
7032 Use vertical-spacing to set the space between filter buttons and
7033 regular menu buttons.
7034 Set the default container border using the inner-border value.
7036 * examples/hildon-app-menu-example.c
7038 Don't set the menu border explicitly, now we have the inner-border
7039 style property for that.
7041 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7043 * src/hildon-app-menu.c (hildon_app_menu_init):
7044 Make the window modal
7046 * src/hildon-note.c (hildon_note_map)
7047 * src/hildon-app-menu.c (hildon_app_menu_map):
7048 Destroy the grab window if we're unable to grab the pointer
7050 * src/hildon-app-menu-private.h
7051 * src/hildon-app-menu.c
7052 (hildon_app_menu_init, hildon_app_menu_finalize)
7053 (hildon_app_menu_map, hildon_app_menu_unmap)
7054 (hildon_app_menu_button_release)
7055 (grab_transfer_window_get):
7056 Bring back the grab window
7057 (hildon_app_menu_realize):
7058 Decorate the window, set WM hint for Matchbox
7060 * src/hildon-note.c (hildon_note_realize):
7061 * src/hildon-banner.c (hildon_banner_realize):
7062 Add WM hints for Matchbox
7064 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-app-menu-private.h
7067 * src/hildon-app-menu.c
7068 (hildon_app_menu_init, hildon_app_menu_finalize)
7069 (hildon_app_menu_map, hildon_app_menu_unmap)
7070 (hildon_app_menu_button_release):
7071 Remove the grab window, it's not needed anymore
7073 * src/hildon-program.c
7074 Fixed typo in documentation
7076 * src/hildon-app-menu.h
7077 * src/hildon-app-menu.c
7078 * examples/hildon-app-menu-example.c
7079 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7081 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7084 Added new transfer_window and close_if_pressed_outside private
7086 (hildon_note_rebuild):
7087 Don't add a cancel button to the information note. It will be
7088 closed when tapping outside
7089 Remove the comment about the OK button in the documentation
7090 (hildon_note_realize):
7091 Set the notification type hint
7092 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7093 Grab/ungrab pointer and keyboard if the note has to be closed when
7095 (hildon_note_button_release):
7096 Close the note when tapping outside (if applicable)
7098 * src/hildon-app-menu.c
7099 Grab/ungrab pointer and keyboard on map/unmap
7100 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7101 Close the menu on button release, not button press
7103 * src/hildon-banner.c
7104 (hildon_banner_set_property)
7105 (hildon_banner_check_position):
7106 Make the banner use the full width of the screen
7107 (hildon_banner_show_information)
7108 (hildon_banner_show_information_with_markup):
7109 Don't display an icon by default
7111 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7113 Added fading scrollbars and adapted all the overshooting code to
7114 horizontal scrolling. We have also fixed bugs with overshooting
7115 and current fading implementation.
7117 * src/hildon-pannable-area.c
7118 (hildon_pannable_area_scroll_indicator_fade): Time out function
7119 used to change the transparency of the scrollbars.
7121 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7122 control and fixed a problem with fading, we now remove the fade
7123 timeout before adding a new one.
7125 (hildon_pannable_axis_scroll):
7126 (hildon_pannable_area_scroll):
7127 (hildon_pannable_area_timeout): Added this functions so we can use
7128 the scroll code both for vertical and horizontal.
7130 (hildon_pannable_area_motion_notify_cb):
7131 (hildon_pannable_area_button_release_cb): Added the horizontal
7132 scrolling control, fixed a problem with the overshooting timeout.
7134 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7135 painting of the scrolls.
7137 (hildon_pannable_draw_vscroll):
7138 (hildon_pannable_draw_hscroll):
7139 (hildon_pannable_area_expose_event):
7140 Draw both scrollbars and rectangles in the overshooting area.
7142 (hildon_pannable_area_get_property):
7143 (hildon_pannable_area_set_property):
7144 Modified the overshoot property to overshoot_max
7146 (hildon_pannable_area_map):
7147 Replaced the comments symbols.
7149 (hildon_pannable_area_size_allocate):
7150 (hildon_pannable_area_class_init):
7151 (hildon_pannable_area_init): Added horizontal scroll, fading
7152 effect properties, fixed a problem when overshooting in the bottom
7155 * examples/hildon-pannable-area-example.c:
7156 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7157 looks better in the example.
7159 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7161 * src/hildon-window.c
7162 * src/hildon-window.h
7163 (hildon_window_class_init)
7164 (hildon_window_unset_program)
7165 (hildon_window_unset_program_real):
7166 Make unset_program a virtual function
7168 * src/hildon-stackable-window.c
7169 * src/hildon-stackable-window.h
7170 Added hildon_stackable_window_go_home()
7172 * examples/Makefile.am
7173 * examples/hildon-stackable-window-example.c
7174 HildonStackableWindow example
7176 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7178 * hildon-pannable-area.c: Added the overshoot property and removed
7179 the OVERSHOOT define. Fixed an indent style error.
7180 (hildon_pannable_area_motion_notify_cb):
7181 (hildon_pannable_area_get_property):
7182 (hildon_pannable_area_set_property): Add overshoot property.
7184 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7187 (hildon_pannable_area_class_init): Installed the new property.
7189 * hildon-pannable-area-example.c: Added a sawtooth function, this
7190 way it is easier to check the movement in the pannable.
7191 (get_sawtooth_label): Added this function.
7192 (main): Now we get the labels from the new get_sawtooth_label
7195 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7197 * src/hildon-app-menu.h
7198 * src/hildon-app-menu.c
7199 Renamed API variables for consistency
7201 (hildon_app_menu_popup): Use also the default window size to
7202 decide where to place the menu
7204 (hildon_app_menu_init, hildon_app_menu_class_init): New
7205 external-border style property
7207 2008-05-26 Michael Natterer <mitch@imendio.com>
7209 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7210 widget_class->tap_and_hold_setup signal slot doesn't exist any
7211 longer, stop overriding it.
7213 (hildon_time_editor_init): g_signal_connect() to the
7214 tap-and-hold-setup signal instead.
7216 (hildon_time_editor_entry_keypress): add cast to fix warning.
7218 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7220 * doc/hildon-docs.sgml
7222 * examples/Makefile.am
7223 * examples/hildon-app-menu-example.c
7225 * src/hildon-app-menu-private.h
7226 * src/hildon-app-menu.c
7227 * src/hildon-app-menu.h
7229 New HildonAppMenu widget
7231 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7233 Rearranged the inheritance of the pannable area, now it inherits
7234 from GtkBin. This will allow us to control the event_window and
7235 the allocation process of the widget, required for some effects.
7237 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7238 GtkBin structures. * src/hildon-pannable-area.c: Added the
7239 event_window variable.
7240 (hildon_pannable_area_button_press_cb):
7241 (hildon_pannable_area_button_release_cb):
7242 (hildon_pannable_area_motion_notify_cb):
7243 Changed the signature of the method, now we override the event
7244 callback instead of connecting to the signal.
7246 (hildon_pannable_area_realize):
7247 (hildon_pannable_area_unrealize):
7248 (hildon_pannable_area_map):
7249 (hildon_pannable_area_unmap):
7250 (hildon_pannable_area_size_allocate):
7251 Added functions to control the widget construction. We add a
7252 INPUT_ONLY window and we put it over the widgets inside the
7253 container, this event_window handles the events.
7255 (hildon_pannable_area_class_init):
7256 Replaced the signal connections with overrides of the event
7259 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7261 Bouncing effect added when touching the borders, you can change
7262 the elasticity of the border changing the ELASTICITY define.
7264 * src/hildon-pannable-area.c: Added ELASTICITY define.
7265 (hildon_pannable_area_timeout): Added inverse velocity when
7266 touching the border of the child widget, that causes a bounce.
7268 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7270 Improved performance, we now do not go to the X server in order to
7271 get the list of window children. Apparently the effect is the
7272 same, we have to be careful and check if this breaks something in
7275 * src/hildon-pannable-area.c:
7276 (get_ordered_children): Removed this function.
7277 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7278 the children windows function with gdk_window_get_children.
7280 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7282 * src/hildon-pannable-area.c:
7283 (hildon_pannable_area_dispose): Fixed a crash when closing the
7284 window and kinetics is activated.
7286 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7288 * src/hildon-pannable-area.h
7289 * src/hildon-pannable-area.c
7290 Changed indentation style to meet the one used in Hildon
7292 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7294 Reviewed the interaction of the AUTO mode, now we use the time
7295 attribute of the events and calculate the velocity in the motion,
7296 doing a gimp like calculation. The velocity is calculated in each
7297 motion event using the last velocity and the current one, the
7298 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7300 * src/hildon-pannable-area.c: Replaced the time based algorithm
7302 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7303 timeout for the AUTO mode when we are still moving the cursor. We
7304 added also the velocity calculation in this function.
7305 (hildon_pannable_area_button_release_cb): launch the timeout in
7306 case we are in AUTO mode. There are still some constants here that
7307 come from the old implementation that should be reviewed and
7310 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7312 * doc/hildon-docs.sgml
7315 * src/hildon-stackable-window.c
7316 * src/hildon-stackable-window.h
7318 New HildonStackableWindow widget
7320 * examples/hildon-dialog-example.c
7321 * examples/hildon-pannable-area-example.c
7324 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7326 * src/hildon-dialog.c
7327 (hildon_dialog_new_with_buttons): New constructor.
7329 * examples/hildon-dialog-example.c
7330 (main): Update the example to use the new
7331 hildon_dialog_new_with_buttons().
7333 * examples/hildon-pannable-area-example.c
7334 (main): Update example.
7336 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7338 * doc/hildon-docs.sgml
7340 Added HildonPannableArea to the documentation.
7342 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7344 * doc/visual_index.xml
7345 Fix reference to HildonLoginDialog in documentation
7347 * doc/hildon-docs.sgml
7349 * examples/Makefile.am
7350 * examples/hildon-dialog-example.c
7352 * src/hildon-dialog.c
7353 * src/hildon-dialog.h
7355 New HildonDialog widget.
7357 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7359 * src/hildon-pannable-area.c
7360 Merge latest changes (r4318, r4342) from libmokoui trunk
7362 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7364 * examples/Makefile.am
7365 * examples/hildon-pannable-area-example.c
7367 * src/hildon-pannable-area.c
7368 * src/hildon-pannable-area.h
7370 New HildonPannableArea widget.
7372 2008-04-15 18:05:19 <timj@imendio.com>
7374 * src/hildon-banner.c: revert the recent change, that introduced
7375 gtk_window_present() calls. this reopens:
7376 Bug 78481 - [freetest] information banners are hidden under browser menu
7377 But resolves another variant of:
7378 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7380 2008-04-15 13:21:13 <timj@imendio.com>
7382 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7383 recreated its layout, spotted by Kris. this fixes all remaining
7384 artefacts and stability issues with the banner code. in particular:
7385 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7387 2008-04-14 16:52:59 <timj@imendio.com>
7389 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7390 operating on unrealized widgets, fixes:
7391 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7393 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7395 2008-04-09 Kristian Rietveld <kris@imendio.com>
7397 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7398 makes banner disappear.
7399 Fixes: NB#79182: info banner flickering with certain message lengts.
7401 * src/hildon-banner.c (hildon_banner_constructor),
7402 (hildon_banner_init), (hildon_banner_set_text),
7403 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7404 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7405 FALSE, reset size requests of label and banner,
7406 (force_to_wrap_truncated): when the text is too wide, always enforce
7407 the maximum possible width instead of recalculating it from the
7408 layout; enforce the maximum banner height of 3 lines,
7409 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7410 nicer wrapping and no truncated chars if space gets tight.
7412 * src/hildon-banner-private.h: add has_been_wrapped and
7413 has_been_truncated fields.
7415 2008-04-07 Sven Herzberg <sven@imendio.com>
7417 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7418 local values in hildon_date_editor_size_allocate
7420 * src/hildon-date-editor.c: moved the real allocation code into the
7423 2008-04-07 Sven Herzberg <sven@imendio.com>
7425 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7426 local values in hildon_date_editor_size_allocate
7428 * src/hildon-date-editor.c: merged the two if() branches together
7430 2008-04-07 Sven Herzberg <sven@imendio.com>
7432 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7433 local values in hildon_date_editor_size_allocate
7435 * src/hildon-date-editor.c: changed the arguments of the if()
7438 2008-04-07 Sven Herzberg <sven@imendio.com>
7440 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7441 local values in hildon_date_editor_size_allocate
7443 * src/hildon-date-editor.c: split the calculation of the allocation
7444 from the real allocation
7446 2008-03-27 Michael Natterer <mitch@imendio.com>
7448 Fixes: NB#81696: The passcode is not overwritten even after
7451 * src/hildon-code-dialog.c
7452 (hildon_code_dialog_button_clicked)
7453 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7454 because that doesn't overwrite selected text. Instead, emit the
7455 "commit" signal on the entry's im_context so the entry's normal
7456 insert logic is triggered. Set the cursor to the end of the entry
7457 after each insert operation so that we *only* insert in the middle
7458 of the text if something was selected.
7460 2008-03-27 Michael Natterer <mitch@imendio.com>
7462 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7463 selector cannot be opened
7465 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7466 when the popup color selector is created. Please connect to this
7467 signal in order to set the dialog's help ID.
7469 2008-03-25 Sven Herzberg <sven@imendio.com>
7471 Fixes: MB#1212: Hide info banners (infoprints) on click
7473 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7474 extracted the close event simulation into an extra function
7475 (hildon_banner_button_press_event): simulate a close event and destroy
7476 the widget if the event wasn't handled
7477 (hildon_banner_class_init): added the button_press_event handler
7478 (hildon_banner_init): added button-press events to the widget
7480 2008-03-25 Sven Herzberg <sven@imendio.com>
7482 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7483 Patch from: Mohammad Anwari <mdamt@maemo.org>
7485 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7486 instead of the right in RTL mode
7487 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7488 breadcrumb button list in RTL mode
7489 * src/hildon-caption.c: mirror the appearance of the caption widget in
7491 * src/hildon-date-editor.c: mirror appearance of the date editor in
7493 * src/hildon-time-editor.c: mirror appearance of the time editor in
7495 * src/hildon-window.c: fix the position of the popup in RTL mode
7497 2008-03-25 Sven Herzberg <sven@imendio.com>
7499 Amendment to the fix of NB#22072. Fix compilation.
7501 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7503 2008-03-19 Sven Herzberg <sven@imendio.com>
7505 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7508 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7509 timeout id properly when the timeout will disappear this leaves no
7510 artifacts around in the destroy(); there will only be the timeout
7511 created by hildon_banner_ensure_timeout() and adding a new timeout
7512 will also work if the timeout gets removed because the timeout_handler
7515 2008-03-19 Michael Natterer <mitch@imendio.com>
7517 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7519 * src/hildon-volumebar.c
7520 * src/hildon-vvolumebar.c
7521 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7522 the widget becomes focussable at all.
7524 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7525 set the focus to wither the mute button or the volumebar.
7527 Remove own "can-focus" property and instead listen to
7528 notify::can-focus in order to update the widget's state.
7530 Implement GtkWidget::focus() and make sure we can also *leave* the
7531 widget, not only enter it, depending on volumebar orientation and
7532 requested focus direction.
7534 Clean up set_mute() to cooperate nicely with all the above.
7536 2008-03-04 Michael Natterer <mitch@imendio.com>
7538 Fixes: NB#78481: information banners are hidden under browser menu
7540 * src/hildon-banner.c: call gtk_window_present() on the banners so
7541 they are risen if they are already visible.
7543 2008-03-03 Sven Herzberg <sven@imendio.com>
7545 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7547 * examples/hildon-window-menu-example.c: (main): extended the window
7548 menu example to serve as a testcase for automatically added
7549 accelerator groups, too
7550 * src/hildon-window.c: (hildon_window_add_accel_group),
7551 (hildon_window_set_menu): added patch by Tommi Komulainen
7553 2008-03-03 Sven Herzberg <sven@imendio.com>
7555 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7557 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7558 knowledge about the border allocators used within GTK+
7560 2008-02-26 Sven Herzberg <sven@imendio.com>
7562 Fixes: MB#2981: Build with asserts broken
7564 * src/hildon-date-editor.c,
7565 * src/hildon-number-editor.c,
7566 * src/hildon-time-editor.c,
7567 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7568 the proper GType instance check
7570 2008-02-25 Sven Herzberg <sven@imendio.com>
7572 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7574 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7575 * examples/hildon-window-menu-example.c: (main): explicitly show
7577 * src/hildon-window.c:
7578 (hildon_window_set_main_menu): moved most of the code from set_menu()
7579 to this place; skipped the call to gtk_widget_show_all(); also didn't
7580 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7581 (hildon_window_set_menu): removed most of the code, just keep the
7582 questionable gtk_widget_show_all()
7583 * src/hildon-window.h: added the new function and deprecate the old
7586 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7592 * debian/changelog: Updating.
7594 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7597 * pkgconfig/Makefile.am:
7598 * pkgconfig/hildon.pc.in:
7601 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7602 use newly created API_MAJOR_VERSION.
7604 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7610 * debian/changelog: Updating.
7612 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7614 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7616 Add outer_border style property, we use it but don't define it (!).
7620 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7622 * examples/hildon-bread-crumb-trail-example.c (main):
7626 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7628 Fix logic for the bread crumb trail node removal.
7632 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7638 * debian/changelog: Updating.
7640 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 Patch by Alejandro to get/set passwords dialogs accesibility.
7644 * hildon-1/src/hildon-get-password-dialog.c:
7645 * hildon-1/src/hildon-set-password-dialog.c:
7646 Set atk_set_name to the passwd entries in order to allow
7647 accessibility by name on this entries.
7649 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7654 * debian/control: Updating gtk dep.
7656 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7658 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7659 USE_MAEMO_GTK is enabled.
7661 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7663 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7664 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7666 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7672 * debian/changelog: Updating.
7674 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7676 * examples/Makefile.am:
7677 * examples/hildon-logical-color-example.c:
7678 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7679 applied + adding a test case. Fixes: NB#71660.
7681 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7683 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7684 to be visible, fixes warning on map for windows without toolbars.
7686 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7688 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7689 2.11.0, add a check for that besides the MAEMO_GTK check.
7691 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7697 * debian/changelog: Updating.
7699 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7702 visibility. Fixes: NB#70842 and MB#615.
7704 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7706 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7707 set the separator as no-show-all so it doesn't unintentionally appear when
7708 someone does a show_all.
7710 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7712 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7713 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7714 toplevel item. Fixes: NB#62031
7716 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7718 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7719 fix the name of the function in the docs.
7721 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * debian/changelog: Updating.
7729 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7731 * examples/hildon-banner-long-example.c: Adding a test-case for long
7734 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7736 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * src/hildon-color-chooser-dialog.c:
7739 * src/hildon-color-chooser.c:
7740 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7741 memory leaks in font selector and color selector. Fixes: NB#70499 and
7744 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7746 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7748 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7751 little bit bigger. Fixes: #NB63694.
7753 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7759 * debian/changelog: Updating.
7761 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * doc/hildon-docs.sgml:
7765 * doc/images/bread-crumb-trail.png:
7766 * doc/images/calendar-popup.png:
7767 * doc/images/caption.png:
7768 * doc/images/code-dialog.png:
7769 * doc/images/color-button.png:
7770 * doc/images/color-chooser-dialog.png:
7771 * doc/images/color-chooser.png:
7772 * doc/images/controlbar.png:
7773 * doc/images/date-editor.png:
7774 * doc/images/font-selection-dialog.png:
7775 * doc/images/get-password-dialog.png:
7776 * doc/images/hvolumebar.png:
7777 * doc/images/login-dialog.png:
7778 * doc/images/note.png:
7779 * doc/images/number-editor.png:
7780 * doc/images/range-editor.png:
7781 * doc/images/seekbar.png:
7782 * doc/images/set-password-dialog.png:
7783 * doc/images/sort-dialog.png:
7784 * doc/images/time-editor.png:
7785 * doc/images/time-picker.png:
7786 * doc/images/vvolumebar.png:
7787 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7788 Adding the bread-crumb-trial and helpers to the documentation.
7790 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * examples/hildon-find-toolbar-example.c:
7793 * src/hildon-find-toolbar.c:
7794 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7795 actually continue firing the other handlers if connected. Adding a new
7797 hildon_find_toolbar_get_last_index that gets the index of the most
7798 recently added (last) item. Fixes: NB#52301.
7800 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7802 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7803 behaviour. Fixes: NB#68610.
7805 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7807 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7810 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7813 when realizing the banner. Should make the infonbanner effect a bit more
7816 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * src/hildon-volumebar.c:
7819 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7820 hildon_volumebar_set_range_insensitive_message and
7821 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7823 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7825 * src/hildon-window.c: Fixing the border freeing on destroy.
7827 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-code-dialog-private.h:
7830 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7831 kw keyboard support in HildonCodeDialog.
7833 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * debian/changelog: Updating.
7841 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7843 * src/hildon-date-editor.c:
7844 * src/hildon-number-editor.c:
7845 * src/hildon-private.c:
7846 * src/hildon-private.h:
7847 * src/hildon-time-editor.c:
7848 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7849 handling in subclassed composite widgets. Fixes: NB#66628.
7851 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7854 from destroy_ callback as it introduces problems in async dbus signal
7855 handlers. Fixes NB#66673.
7857 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * examples/hildon-hvolumebar-example.c:
7860 * src/hildon-volumebar.c: Improving the focus handling in the
7861 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7862 set_property accessor so that "mute" property can be actually set. I'm
7863 scared that nobody noticed it's totally broken.
7865 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7870 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * src/hildon-calendar.c:
7873 * src/hildon-number-editor.c:
7874 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7875 matches the spec of 6 chars per second. Fixes: NB#60489.
7877 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7879 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7880 gtk_style_lookup_color sometime returns FALSE even though color was
7881 found and values were filled properly. Weird. Removing the warning for the
7884 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7886 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7887 expand vertically. Adding some extra space to the find toolbar buttons to
7888 make them thumbable. Fixes NB#66060.
7890 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7893 popup with "Ok" and "Cancel". Fixes NB#59299.
7895 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * src/hildon-calendar.c: Process all window updates before executing next
7898 timeout. Fixes: NB#54146.
7900 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * debian/changelog: Updating.
7908 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7910 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7911 the client event and ignore it, since we use the delete event to close
7914 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-helper.c: Remove the bogus warning about color not being
7917 found. Fixes NB#58352.
7919 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * examples/Makefile.am:
7922 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7923 HildonSeekbar widget inside a toolbar.
7925 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7927 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7928 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7929 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7930 don't want to be closed by non-temporary windows on map.
7932 Also use G_DEFINE_TYPE instead of manually typed code.
7934 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * debian/rules: Updating.
7943 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * examples/Makefile.am:
7946 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7947 bug NB#61128. Strangely it works.
7949 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * src/hildon-date-editor.c: When the date editor entry has been changed
7952 but the numbers of characters < max, turn off the skip validation flag.
7953 Prevents a situation when we enter first a valid year and later re-write
7954 it with an invalid one. Fixes NB#60154.
7956 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7958 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7959 code dialog. Fixes NB#64355.
7961 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7964 switching the page. Fixes NB#49374.
7966 * examples/Makefile.am:
7967 * examples/hildon-wizard-dialog-example.c: Adding an example for
7968 HildonWizardDialog that shows how to handle manual sensitivity setting on
7971 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7975 * src/hildon-version.h.in:
7976 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7978 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7980 * src/hildon-volumebar.c: Updating the docs.
7982 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Updating.
7990 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * src/hildon-find-toolbar.c:
7993 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7994 selected item: hildon_find_toolbar_set_active,
7995 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7996 hildon_find_toolbar_get_active_iter . They correspond to respective
7997 GtkComboBox functions.
7999 * examples/Makefile.am:
8000 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8003 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8005 * examples/Makefile.am:
8006 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8009 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8010 when font size > 32 and we pack a focusable widget inside. Actually using
8011 the default response would work too, but since we don't show default
8012 response state in any way (no theming) it would not be visible to the
8013 user. Fixes NB#63430.
8015 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * src/hildon-date-editor.c: Adding the missing variable setter in the
8018 set_property handler. Fixes NB#54182.
8020 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * src/hildon-window.h: Changing the long key press time from 1500ms to
8023 800ms as requested in NB#63700. I have a bad feeling about this, let's
8024 see... Fixes NB#63700.
8026 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8028 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8029 hildon_time_picker_map, hildon_time_picker_realize,
8030 hildon_time_picker_style_set): Split the contents of map to more
8031 appropriate functions; set window decorations on realize and update
8032 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8034 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8039 * debian/changelog: Updating.
8041 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8043 * src/Makefile.am: fixed installation of the header files
8045 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8051 * debian/changelog: Updating.
8053 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * configure.ac: Removing some remaining of --enable-xan.
8057 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8059 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8060 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8062 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8063 2.10.12-osso6 because the move-focus signal needs to be available in
8066 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * examples/Makefile.am:
8069 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8070 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8071 fine. Prolly NB#61128 is fixed now.
8073 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8075 * src/hildon-volumebar.c:
8076 * src/hildon-volumebar.h: Adding the
8077 hildon_volumebar_set_range_insensitive_message and
8078 hildon_volumebar_set_range_insensitive_messagef functions to set
8079 insensitive message on the slider of the volumebar. Fixes NB#61129.
8081 * examples/Makefile.am:
8082 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8083 test the new insensitive messsage functionality on HildonVolumebar.
8085 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8087 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8090 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8092 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8093 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8094 button on after clearing the trail.
8096 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8100 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8102 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8103 by splitting the installed headers in generated and non-generated groups. Use
8104 only the non-generated headers to create the hildon-enum-types.h file.
8106 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8108 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * src/hildon-window.c: Hide the window before performing the destroy.
8111 Should make the app closing a little tiny bit more snappy.
8113 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8115 * src/hildon-seekbar.c: add gtkrange.h header
8116 * src/hildon-caption.c: remove unused variable
8118 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8120 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8123 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8129 * debian/changelog: Updating.
8131 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8133 * src/hildon-window.c (hildon_window_window_state_event,
8134 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8135 escape timeout on focus-out-event rather than notify::is-topmost; the
8136 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8138 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8141 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8143 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8145 * src/hildon-window: actually, you need to use the macro always, there's
8146 no private pointer in the instance structure. We should have cleaned this up
8147 when we had the chance...
8149 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8151 * src/hildon-window.c: do not get the private date from HildonWindow before
8152 it passes the g_return_if_fail check. Once it's passed the test, there's no
8153 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8154 if you are only going to access the data once. Whitespace cleanups.
8156 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8158 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8159 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8161 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * debian/changelog: Updating.
8169 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-window.c: When destroying the window, remove (if exists) the
8172 escape timeout handler. Fixes #NB59276.
8174 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * src/hildon-banner.c: When realizing the widget, set the window
8177 transiency. Setting the transiency in the gobject constructor is not
8178 good, as the widget is not realized at that point. Fixes: #NB56624.
8180 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8182 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8183 Add padding for future expansions.
8185 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8187 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8188 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8189 will fake an activation on the previous to the last item of the trail, so
8190 the effect can be overrided by the developer as usual.
8191 Also change the callback for the back button to do the same thing, so its
8192 effect can be overrided too. Fixes: NB#58982
8194 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8196 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8197 HildonCaption. Fixes NB#52379.
8199 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8201 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8202 the internal state of the trail after the user has had the chance of executing
8203 his handler for the signal. Specifically, it may happen that the activated button
8204 is removed and the user still lets the default handler run. This would segfault
8207 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8209 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8210 scrollbar to the preview dialog. Fixes NB#54147.
8212 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8215 max/min year properties can be altered, so the client can modify it
8216 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8218 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8221 hildonlike by default. Fixing a problem with disappearing arrows when
8222 scrolling through months and years. Fixes NB#54127.
8224 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * examples/hildon-date-editor-example.c: Adding error callback to the date
8229 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8235 * configure.ac: Updating.
8237 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8239 * configure.ac: Adding a special '--enable-xan' configure option that
8240 turns off the -Werror compilation setting. Usefull for development.
8242 * src/hildon-calendar.c:
8243 * src/hildon-number-editor.c:
8244 * src/hildon-time-picker.c: Adding the 5* multiplier to
8247 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8249 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8250 instead of g_object_ref + gtk_object_sink.
8252 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * debian/changelog: Updating.
8260 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-color-chooser-dialog.c:
8263 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8264 straight from Tommi labs.
8266 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * examples/hildon-finger-example.c: Correcting the header file path.
8270 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8271 the changed signal. Fixes a small memory leak.
8273 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-banner.c: Importing several usefull fixes from the
8278 ubuntu-mobile branch.
8280 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * examples/Makefile.am:
8283 * examples/hildon-finger-example.c: Adding a finger-checking code
8286 * src/hildon-font-selection-dialog.c: Do not allocate the color
8287 structure using the g_new. Fixes NB#54061.
8289 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * src/hildon-helper.c: Correcting tabs in file.
8293 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8295 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8296 control the visibility of the children.
8298 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8300 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * debian/changelog: Updating.
8308 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8310 * src/hildon-bread-crumb-trail.c:
8311 (hildon_bread_crumb_trail_size_allocate):
8313 Make the back button always a square.
8315 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8317 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8318 from the .c file as it's a private file.
8320 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8323 uses slightly bigger height.
8325 * src/hildon-font-selection-dialog.c: Adding some checks before
8326 freeing memory in the font selection dialog.
8328 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8330 * src/hildon-font-selection-dialog.c: Adding a small check when
8333 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8334 buttons sensitivity on page switching.
8336 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8338 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8339 internal details of adding a bread crumb to the trail.
8341 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * debian/changelog: Updating.
8349 * src/hildon-bread-crumb-trail.h:
8350 * src/hildon-bread-crumb.h: Changing the API guard to
8351 HILDON_ENABLE_UNSTABLE_API.
8353 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-helper.h: Updating.
8363 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * src/hildon-helper.h: Small fix to make the package actually compile.
8377 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8379 * src/hildon-bread-crumb-trail.h:
8380 * src/hildon-bread-crumb.h:
8382 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8383 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8385 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8387 * examples/hildon-bread-crumb-trail-example.c:
8389 * src/hildon-bread-crumb-trail.c:
8390 * src/hildon-bread-crumb-trail.h:
8391 * src/hildon-bread-crumb.c:
8392 * src/hildon-bread-crumb.h:
8393 * src/hildon-marshalers.list:
8394 * src/hildon-bread-crumb-widget.c:
8395 * src/hildon-bread-crumb-widget.h:
8397 Slight change in the widget design. The bread crumb trail API is
8398 unchanged, but HildonBreadCrumb is now an interface. A *private*
8399 implementation, hildon-bread-crumb-widget, is provided and used
8400 internally by the trail for the push_text/push_icon functions.
8402 The generic push API is still available, so anyone can implement
8403 and use its own bread crumb widget.
8405 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8407 * debian/rules: Fixing the shlibs.
8409 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-banner.c: Fixing a problem with timed banners having
8412 their parrent destroyed before they are.
8414 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8416 * src/hildon-bread-crumb.c:
8417 * src/hildon-bread-crumb.h:
8419 Make the get_natural_size function a vfunc.
8421 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8423 * src/hildon-bread-crumb.c:
8424 * src/hildon-bread-crumb-trail.c:
8428 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * debian/changelog: Updating for release.
8437 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8439 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8440 don't leak the pango layout.
8442 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8445 * examples/hildon-bread-crumb-trail-example.c:
8449 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8451 * debian/changelog: Removing the bug-fixed entries that were actually
8452 resolved as WONTFIX.
8454 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8457 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8459 * src/hildon-bread-crumb-trail.c:
8460 * src/hildon-bread-crumb-trail.h:
8461 * src/hildon-bread-crumb.c:
8462 * src/hildon-bread-crumb.h:
8466 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8468 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8469 until it's passed the type check.
8471 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8473 * examples/hildon-bread-crumb-trail-example.c
8477 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8479 * examples/Makefile.am
8480 * examples/hildon-bread-crumb-trail-example.c
8482 * src/hildon-bread-crumb-trail.c
8483 * src/hildon-bread-crumb-trail.h
8484 * src/hildon-bread-crumb.c
8485 * src/hildon-bread-crumb.h
8487 New HildonBreadCrumbTrail widget.
8489 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8491 * src/hildon-range-editor.c (hildon_range_editor_init),
8492 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8493 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8494 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8495 hildon_time_editor_class_init, hildon_time_editor_init),
8496 src/hildon-get-password-dialog.c (invalid_input,
8497 hildon_get_password_set_property, hildon_get_password_get_property,
8498 create_contents, hildon_get_password_dialog_set_max_characters),
8499 src/hildon-set-password-dialog.c (create_contents),
8500 src/hildon-date-editor.c (hildon_date_editor_init),
8501 src/hildon-login-dialog.c (hildon_login_dialog_init),
8502 src/hildon-number-editor.c (hildon_number_editor_init),
8503 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8504 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8505 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8506 configure option and adding the respective checks in the code.
8507 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8508 hildon_calendar_drag_data_received): fixed some build warnings.
8510 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8512 * debian/changelog: A 1.0.0 release notes.