1 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-date-selector.c:
4 (hildon_date_selector_construct_ui):
5 * hildon/hildon-time-selector.c:
6 (hildon_time_selector_constructor):
7 * hildon/hildon-touch-selector-entry.c:
8 (hildon_touch_selector_entry_set_text_column),
9 (hildon_touch_selector_entry_get_text_column):
10 * hildon/hildon-touch-selector.c: (_default_print_func),
11 (hildon_touch_selector_new_text): Use
12 hildon_touch_selector_set/get_text_column() instead of
13 setting/getting the "text-column" property.
15 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
17 * doc/hildon-sections.txt: Add the new public methods below.
19 * examples/hildon-picker-button-multicolumn-example.c:
20 (create_touch_selector):
21 * examples/hildon-touch-selector-example.c: (create_selector):
22 * examples/hildon-touch-selector-multi-cells-example.c:
24 Use hildon_touch_selector_column_set_text_column()
26 * hildon/hildon-touch-selector-column.h:
27 * hildon/hildon-touch-selector.c:
28 (hildon_touch_selector_column_set_text_column),
29 (hildon_touch_selector_column_get_text_column):
30 Make hildon_touch_selector_column_set/get_column() public, use
31 them in the inline example, document them, and reference to them
34 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
36 * hildon/hildon-time-selector.c: Fix the docs for
37 hildon_time_selector_new_step().
39 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
41 * hildon/hildon-touch-selector.c: Improve the documentation for
42 hildon_touch_selector_append_column().
44 Fixes MB#4641 (Documentation:
45 hildon_touch_selector_append_column() ref-counting)
47 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
49 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
50 Comment out test 5, since the hildon_controlbar_set_range() range
51 check is broken and fixing it would have side effects. Also,
52 this finally fixes make distcheck.
54 Fixes: NB#101420 (Update unit tests and fix make distcheck)
56 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
58 * tests/TEST-CASES.txt: Remove other bogus test.
59 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
60 Remove bogus test that was setting/retrieving a valid value.
62 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
64 * tests/TEST-CASES.txt: Remove bogus tests.
65 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
66 Remove three bogus tests that were actually setting valid colors.
68 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
70 * configure.ac: post release version bump
71 * debian/changelog: post release version bump
73 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
78 * configure.ac: Bump version.
79 * debian/changelog: Updates.
81 2009-06-08 Christian Dywan <christian@lanedo.com>
85 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
86 Correct errors in hildon_format_file-size_for_display and use
87 translations from the hildon-fm package instead of osso-filemanager.
89 2009-06-08 Alejandro G. Castro <alex@igalia.com>
91 * hildon/hildon-pannable-area.c,
92 (hildon_pannable_area_init): Initialized new values to handle the
94 (hildon_pannable_area_adjust_value_changed): Check if the values
95 changed before even call the redraw function.
96 (hildon_pannable_area_size_allocate),
97 (hildon_pannable_axis_scroll),
98 (hildon_pannable_area_scroll),
99 (hildon_pannable_area_jump_to): Improved the diagonal movement
102 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
105 2009-06-08 Alberto Garcia <agarcia@igalia.com>
107 * examples/hildon-banner-example.c:
108 Several style updates
109 (on_animation_clicked, on_animation_idle)
110 (on_progress_clicked, on_progress_idle):
111 Add additional reference for the cases when the parent window is
114 2009-06-08 Alberto Garcia <agarcia@igalia.com>
116 * doc/hildon-sections.txt
117 * hildon/hildon-pannable-area.c
118 * hildon/hildon-banner.h
119 * hildon/hildon-banner.c: Documentation updates.
121 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
124 2009-06-05 Alejandro G. Castro <alex@igalia.com>
126 * hildon/hildon-calendar-popup.h:
127 * hildon/hildon-caption.h:
128 * hildon/hildon-code-dialog.h:
129 * hildon/hildon-controlbar.h:
130 * hildon/hildon-date-editor.h:
131 * hildon/hildon-dialog.h:
132 * hildon/hildon-get-password-dialog.h:
133 * hildon/hildon-hvolumebar.h:
134 * hildon/hildon-login-dialog.h:
135 * hildon/hildon-note.h:
136 * hildon/hildon-number-editor.h:
137 * hildon/hildon-range-editor.h:
138 * hildon/hildon-seekbar.h:
139 * hildon/hildon-set-password-dialog.h:
140 * hildon/hildon-sort-dialog.h:
141 * hildon/hildon-time-editor.h:
142 * hildon/hildon-time-picker.h:
143 * hildon/hildon-volumebar-range.h:
144 * hildon/hildon-volumebar.h:
145 * hildon/hildon-vvolumebar.h:
146 * hildon/hildon-weekday-picker.h:
147 * hildon/hildon-window.h:
148 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
149 macros with the current replacements
151 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
153 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
155 * hildon/hildon-color-button.c (hildon_color_button_init): Use
156 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
157 itself, to make it fit better with Fremantle style.
159 Fixes: NB#109878 (height and width of focus on color icon is not
160 consistent with other item in the application tool bar)
162 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
164 * hildon/hildon-touch-selector.c:
165 (hildon_touch_selector_optimal_size_request): use the current requisition
166 as the base, in order to include any possible extra widget, like the
167 hildon entry on HildonTouchSelectorEntry
169 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
171 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
173 * configure.ac: post release version bump
174 * debian/changelog: post release version bump
176 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
181 * configure.ac: Bump version.
182 * debian/changelog: Updates.
184 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
186 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
188 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
189 to ensure the banner contents are centered, instead of relying on
190 the expand and fill properties in GtkHBox.
191 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
193 Fixes: NB#108265 (Animation banner not properly centered)
195 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
197 * hildon/hildon-pannable-area.c
198 (hildon_pannable_area_initial_effect): Remove the initial_effect
199 management, check initial_hint
200 (hildon_pannable_are_expose_event): Remove the initial_hint management,
201 set initial_effect to FALSE
202 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
203 by launching the fade_timeout if the scrollbars state has changed and are
205 * examples/hildon-pannable-area-initial-hint-example.c
206 Modified to allow to remove rows too. Add and remove rows one by one.
208 2009-05-28 Alberto Garcia <agarcia@igalia.com>
210 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
211 Don't close the menu if there's an animation actor below it.
213 Fixes: NB#117927 (Application menu not usable with animation
216 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
218 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
219 "focus-on-click" from the dialog button, to avoid stealing the
220 focus from the entry.
222 Fixes: NB#118903 (Account setup wizard: Text in Search field
223 should be focused when "Region" touch list picker is reopened
226 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
228 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
229 (prepare_action_area): Completely hide the dialog separator.
231 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
233 * hildon/hildon-touch-selector-entry.c
234 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
235 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
236 now that the entry is exposed.
238 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
240 * hildon/hildon-touch-selector-entry.c
241 (hildon_touch_selector_entry_init): Change the entry's size
242 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
244 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
246 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
247 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
248 avoid unnecessary scaling.
250 2009-05-27 Alberto Garcia <agarcia@igalia.com>
252 * hildon/hildon-app-menu.c (hildon_app_menu_map):
253 Create grab transfer window before calling parent's map function.
255 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
256 "crushed" button(s) in the top left corner)
258 2009-05-26 Alberto Garcia <agarcia@igalia.com>
260 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
261 Check if the window is already realized when pushing it.
263 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
265 * configure.ac: post release version bump
266 * debian/changelog: post release version bump
268 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
273 * configure.ac: Bump version.
274 * debian/changelog: Updates.
276 2009-05-25 Alberto Garcia <agarcia@igalia.com>
278 * hildon/hildon-app-menu.c: Doc updates.
280 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
282 * hildon/hildon-banner.c: Remove leftover macro.
284 2009-05-25 Alejandro G. Castro <alex@igalia.com>
286 * hildon/hildon-pannable-area.c,
287 (hildon_pannable_area_scroll_indicator_fade),
288 (hildon_pannable_area_button_release_cb): Reviewed vmin
289 conditions, it could cause problems in the fadeout procedure.
291 2009-05-25 Alejandro G. Castro <alex@igalia.com>
293 * hildon/hildon-pannable-area.c
294 (hildon_pannable_area_button_release_cb): Added a threshold to
295 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
297 2009-05-25 Alejandro G. Castro <alex@igalia.com>
299 * hildon/hildon-pannable-area.c,
300 (hildon_pannable_area_set_property): Added code to sync the gtk
301 dnd threshold with the panning threshold.
303 2009-05-25 Alejandro G. Castro <alex@igalia.com>
305 * hildon/hildon-pannable-area.c,
306 (hildon_pannable_area_class_init): Changed some of the default
307 values, now it should be less responsive and more accurate.
309 2009-05-25 Alejandro G. Castro <alex@igalia.com>
311 * hildon/hildon-pannable-area.c,
312 (hildon_pannable_area_init),
313 (hildon_pannable_area_scroll_indicator_fade),
314 (hildon_pannable_area_button_press_cb),
315 (hildon_pannable_axis_scroll),
316 (hildon_pannable_area_timeout),
317 (hildon_pannable_area_motion_notify_cb),
318 (hildon_pannable_area_button_release_cb): Changed the name of the
319 clicked attribute to button_pressed, it is more clear about its use.
321 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
323 * src/hildon-pannable-area.c
324 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
326 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
327 vertical scrollbar visibility, and use the data on private section instead,
328 remove the initial_hint check
329 (hildon_pannable_area_expose_event): add the initial_hint check here
331 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
333 * src/hildon-pannable-area.c
334 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
335 if the fadeout effect was used
336 (hildon_pannable_area_expose_event): check if it is required to
337 manage the initial effect on the begining of the function. Previously
338 it was made at the end, but this doesn't ensure that the scrollbars
339 will be painted on the first show. Do not set to FALSE initial_effect,
340 to ensure that the initial hint is showed the first time the pannable
342 * examples/Makefile.am
343 * examples/hildon-pannable-area-initial-hint-example.c:
344 New example, to show that the initial-hint is showed when the widget
347 Fixes: NB#116607 (Pannable area should always have scrollbar visible
348 initially if the application can be scrolled)
350 2009-05-25 Alberto Garcia <agarcia@igalia.com>
352 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
353 Resize table before adding new items to make sure that
354 gtk_table_resize() is called just once.
356 2009-05-25 Alberto Garcia <agarcia@igalia.com>
358 * hildon/hildon-app-menu-private.h
359 * hildon/hildon-app-menu.c (item_visibility_changed)
360 (filter_visibility_changed, hildon_app_menu_show_all)
361 (hildon_app_menu_hide_all, hildon_app_menu_init):
362 Rearrange items just once when gtk_widget_show_all()/hide_all()
365 2009-05-25 Alberto Garcia <agarcia@igalia.com>
367 * hildon/hildon-app-menu.c
368 (hildon_app_menu_insert, hildon_app_menu_add_filter):
369 Don't call gtk_widget_show() on added items.
371 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
372 automatically when they're added)
374 2009-05-20 Alberto Garcia <agarcia@igalia.com>
376 * hildon/hildon-banner.c
377 (hildon_banner_realize, +hildon_banner_unrealize)
378 (+screen_size_changed, hildon_banner_class_init):
379 Redisplay the banner if the screen is rotated.
381 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
382 on transition from landscape to portrait)
384 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
386 * hildon/hildon-banner.[ch]:
387 (hildon_banner_show_information_override_dnd): remove icon_name from the
388 method definition as it is ignored.
389 * examples/hildon-banner-dnd-example.c: updated with the change on
392 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
394 * hildon/hildon-banner-private.h: new require_override_dnd and
395 overrides_dnd variables
396 * hildon/hildon-banner.h:
397 (hildon_banner_show_information_override_dnd): new method, that shows
398 the information but sets the override flag, in order to show important
400 * hildon/hildon-banner.c
401 (hildon_banner_show_information_override_dnd): new method
402 (hildon_banner_set_override_flag): new utility function
403 (hildon_banner_real_show_information): new utility function, in order to
404 generalize the current hildon_banner_show_information_override_dnd and
405 hildon_banner_show_information_override_dnd
406 * examples/Makefile.am
407 * examples/hildon-banner-dnd-example.c: New example that show how to
408 use the new hildon_banner_show_information_override_dnd
410 Fixes: NB#114874 (There is no possibility to show hildon banners with
413 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
415 * hildon/hildon-pannable-area.c: Add a comment explaining the math
416 behind hildon_pannable_calculate_vel_factor().
418 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
420 * hildon/hildon-pannable-area.c
421 (hildon_pannable_calculate_vel_factor): Correct the sum of the
422 deceleration factors.
424 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
426 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
427 Reduce the default value for 'scroll_time' to 1 second, since the
428 current initial scrolling takes too much time.
430 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
432 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
433 calculate velocity factor during initialization, since the properties
436 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
438 * hildon/hildon-pannable-area.c
439 (hildon_pannable_area_set_property): Calculate the velocity factor
440 after setting the deceleration property and not after.
442 2009-05-20 Alberto Garcia <agarcia@igalia.com>
444 * hildon/hildon-entry.c
445 (hildon_entry_class_init, +set_property, hildon_entry_new)
446 * hildon/hildon-check-button.c
447 (hildon_check_button_class_init)
448 (+set_property, hildon_check_button_new):
449 Make the theme size a property.
451 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
452 others) do too much in the _new function)
454 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
456 * configure.ac: post release version bump
457 * debian/changelog: post release version bump
459 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
464 * configure.ac: Bump version.
465 * debian/changelog: Updates.
467 2009-05-15 Alberto Garcia <agarcia@igalia.com>
469 * hildon/hildon-gtk.h
470 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
471 New API function to take a screenshot of a window
473 Fixes: NB#106374 (Need API to take a loading screenshot)
475 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
477 * hildon/hildon-time-selector.c
478 (update_format_policy): prevent to use hours and minutes unitialized
480 2009-05-15 Alberto Garcia <agarcia@igalia.com>
482 * hildon/hildon-window.c (hildon_window_size_request):
483 Always request the full size of the screen (minus the title bar if
484 not in fullscreen mode).
486 Fixes: NB#107486 (HildonWindow should size itself properly)
488 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
490 * hildon/hildon-note-private.h: Add idle_handler to the private data.
491 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
492 (on_show_cb), (sound_handling): Disconnect the idle handler for
493 the sound when the note is finalized to avoid possible crashes.
495 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
498 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
500 * src/hildon-animation-actor.c,
501 * src/hildon-remote-texture.c:
502 Added proper object cleanup to remove signal handler and object
503 references as HildonAnimationActor and HildonRemoteTexture
504 objects get destroyed.
506 Fixes: NB#116682 (Destroying parented animation actors when
507 parent in unmapped leads to crash)
509 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
511 Based on a patch by Christian Dywan (christian@imendio.com)
513 * doc/hildon-sections.txt:
514 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
515 * hildon/hildon-helper.h: New file size formatting method.
517 * debian/control: Depend on osso-filemanager l10n package for
518 proper localization strings.
520 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
522 * tests/Makefile.am: Include top_srcdir to make possible to build
523 tests in a different builddir.
524 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
525 on a different builddir.
527 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
529 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
530 (hildon_touch_selector_remove): Disconnect model's signal handler
533 Fixes: NB#116289 (Hildon home crashes while adding task
536 2009-05-11 Alberto Garcia <agarcia@igalia.com>
538 * hildon/hildon-button.c
539 (hildon_button_set_title, hildon_button_set_value):
540 Hide labels containing an empty string.
542 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
544 * configure.ac: post release version bump
545 * debian/changelog: post release version bump
547 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
552 * configure.ac: Bump version.
553 * debian/changelog: Updates.
555 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
557 * hildon/hildon-note-private.h: Removed sound_signal_handler
558 * hildon/hildon-note.c
559 (on_show_cb): new callback on note "show" event, this simply adds
560 a idle, with the function sound_handling
561 (sound_handling): removed the sound_signal_handler management
562 (hildon_note_init): connect note "show" event to on_show_cb
563 (hildon_note_realize): remove the connection to "expose-event"
565 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
566 device?' confirmation note)
568 2009-05-08 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-note.c
571 (hildon_note_new_information_with_icon_name)
572 (hildon_note_new_confirmation_with_icon_name):
573 Terminate the list of parameters in g_object_set() calls
575 Fixes: NB#115166 (Formatting memory card is not taking place)
577 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
579 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
580 "dialog-information" role for the sound being played.
582 2009-05-06 Alberto Garcia <agarcia@igalia.com>
584 * hildon/hildon-app-menu.c (hildon_app_menu_init):
585 Don't make the menu a modal window, it causes strange interactions
586 with the pointer grab and it's not really needed.
588 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
590 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
592 * hildon/hildon-touch-selector.[ch]
593 (hildon_touch_selector_optimal_size_request): function added to get a
594 optimal size request from the touch selector, when you want a dialog to
595 show as much of the selector
596 * hildon/hildon-picker-dialog.c:
597 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
598 (hildon_app_menu_class_init):
599 New "max-height-landscape" and "max-height-portrait" style properties
600 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
601 (hildon_picker_dialog_get_max_height): returns the maximum height using
602 the style properties defined and checking the current portrait/landscape
604 (_hildon_picker_dialog_set_selector): removed the set_size_request
606 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
608 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
610 * hildon/hildon-bread-crumb-trail.c:
611 * hildon/hildon-bread-crumb.c:
612 * hildon/hildon-seekbar.c:
613 Add reference to replacements for these deprecated widgets.
615 Fixes: MB#4461 (Documentation: All deprecations should mention
618 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
620 * examples/hildon-remote-texture-example.c
622 Change the include to the hildon-remote-texture in order to compile
623 properly the examples on the installed libhildon1-examples package
625 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
627 * tests/Makefile.am: Add check for HildonPickerButton.
628 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
629 (START_TEST), (create_hildon_picker_button_suite): Add three simple
630 checks for the HildonPickerButton.
631 * tests/check_test.c (configure_tests): Add the test suite.
632 * tests/test_suites.h: likewise.
634 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
636 * hildon/hildon-touch-selector.c
637 (+on_row_changed): Emit HildonTouchSelector:changed when the
638 contents of a selected row change.
639 (_create_new_column), (_hildon_touch_selector_set_model): connect
640 to GtkTreeModel:row-changed on a newly set model.
642 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
644 2009-05-05 Alberto Garcia <agarcia@igalia.com>
646 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
648 * hildon/hildon-banner.c (hildon_banner_destroy)
649 (hildon_banner_show_progress, hildon_banner_set_fraction):
650 Remove the progress bar from HildonBanner and use a progress
653 Fixes: NB#113761 (Update progress banner to use progress
656 2009-05-04 Alberto Garcia <agarcia@igalia.com>
658 * hildon/hildon-banner.c:
659 Calculate size of the banner label using the actual screen width
660 rather than using a fixed value.
662 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
665 2009-05-04 Alejandro G. Castro <alex@igalia.com>
667 * hildon/hildon-pannable-area.c,
668 (hildon_pannable_area_class_init): Fixed signals documentation
671 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
673 * configure.ac: post release version bump
674 * debian/changelog: post release version bump
676 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
681 * configure.ac: Bump version.
682 * debian/changelog: Updates.
684 2009-05-01 Alberto Garcia <agarcia@igalia.com>
686 * hildon/hildon-edit-toolbar.c
687 (hildon_edit_toolbar_init):
688 Don't let buttons in HildonEditToolbar receive focus.
690 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
691 typing on an HW arrows key)
693 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
695 * doc/Makefile.am: Fix build.
697 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
699 * doc/Makefile.am: Do not redefine content_files.
701 2009-04-30 Alberto Garcia <agarcia@igalia.com>
709 Renamed src/ to hildon/
714 Include <hildon/hildon.h> directly in all examples.
716 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
718 * src/hildon-sort-dialog.c
719 (hildon_sort_dialog_add_sort_key_with_sorting)
723 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
725 * src/Makefile.am: Move generated sources to CLEANFILES, so that
726 make distcheck passes.
728 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
730 * Makefile.am: Enable gtk-doc during distcheck.
732 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
734 * Makefile.am: Do not distribute the debian/ directory.
736 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
738 * doc/Makefile.am: Add the extra SGML files to content_files,
739 so that they are distributed properly.
741 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
743 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
746 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
749 (hildon_note_new_information_with_icon_name): Set the "icon" property
750 to preserve soundness.
752 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
754 * src/hildon-font-selection-dialog.c
755 (hildon_font_selection_dialog_set_property): Fail when the "family"
756 property is set to NULL.
758 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
763 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
765 * src/hildon-time-selector.h:
766 Added HildonTimeSelectorFormatPolicy
767 * src/hildon-time-selector.c:
768 Added PROP_TIME_FORMAT_POLICY
769 (_check_ampm_format): renamed to check_automatic_ampm_format
770 (update_format_policy), (update_format_dependant_columns): new functions
771 (hildon_time_selector_class_init)
772 (hildon_time_selector_contructor)
773 (hildon_time_selector_init)
774 (hildon_time_selector_get_property)
775 (hildon_time_selector_set_property)
776 (hildon_time_selector_get_time)
777 (hildon_time_selector_set_time)
778 * src/hildon-touch-selector.h: new file
779 * src/hildon-touch-selector.c
780 (hildon_touch_selector_emit_changed)
781 (hildon_touch_selector_block_changed)
782 (hildon_touch_selector_unblock_changed)
783 Added functions to allow to block the emission of the "changed" signal
784 * src/hildon-picker-dialog.c
785 (hildon_picker_dialog_show): call the parent show before the custom code
786 * examples/hildon-time-button-example.c
787 Modified, so now you can configure the time format using the new property
789 Added a new property "time-format-policy" that allow to choose the time
790 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
791 case it uses gconf in order to check if the time selector must use
794 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
797 2009-04-28 Alberto Garcia <agarcia@igalia.com>
799 * src/hildon-note.c (hildon_note_init):
800 Label in HildonNote must be left aligned, not centered. This
801 reverts the last commit in HildonNote.
803 Fixes: NB#112933 (text is not left aligned in confirmation dialog
804 is connectivity dialog)
806 2009-04-27 Alberto Garcia <agarcia@igalia.com>
811 * doc/hildon-sections.txt:
812 Added hildon_gtk_window_set_do_not_disturb()
814 2009-04-27 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-note.c (hildon_note_init): Center label.
818 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
821 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
826 * configure.ac: Bump version.
827 * debian/changelog: Updates.
829 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
831 * src/hildon-note-private.h: Add button-width to the private data.
832 * src/hildon-note.c (+resize_button),
833 (+hildon_note_orientation_update): methods to repack widgets on orientation
835 (screen_size_changed): Call above method for confirmation notes.
836 (hildon_note_realize): Always connect to the "screen-size" changed signal.
837 (hildon_note_rebuild): Store the original width request from buttons.
839 Fixes: NB#109635 (Confirmation notes do not support portrait)
841 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
844 when it is a progress note.
846 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
849 in the note, since there are no horizontally arranged contents.
851 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
853 * src/hildon-gtk.c (+set_flag): new generic method to
854 set/delay a flag setting in a window.
855 (hildon_gtk_window_set_progress_indicator):
856 (hildon_gtk_window_set_do_not_disturb),
857 (hildon_gtk_window_set_portrait_flags): use set_flag() to
858 avoid code redundance.
860 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
862 Based on a patch by Alberto Garcia (agarcia@igalia.com)
864 * src/hildon-gtk.c (set_clear_window_flag),
865 (do_set_progress_indicator), (do_set_do_not_disturb),
866 (do_set_portrait_flags),
867 (hildon_gtk_window_set_progress_indicator),
868 (hildon_gtk_window_set_do_not_disturb),
869 (hildon_gtk_window_set_portrait_flags):
870 Allow setting dnd-flag, progress indicator, and portrait flags
871 when the window is not realized.
873 2009-04-24 Alejandro G. Castro <alex@igalia.com>
875 * src/hildon-pannable-area.c,
876 * src/hildon-pannable-area.h: Add the hildon deprecated define to
877 the size request policy function and defines.
879 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
881 * doc/hildon-sections.txt: Add the new API.
882 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
883 method to set the portrait flags.
884 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
886 Fixes: NB#112328 (Adding helpers for setting portrait properties)
888 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
890 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
891 to allow using this method with other flags.
892 (hildon_gtk_window_set_progress_indicator): Update accordingly.
893 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
895 2009-04-22 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-touch-selector.c
898 (hildon_touch_selector_append_text_column):
899 Make the cell renderer use the smallest width possible.
901 Fixes: NB#108470 (Selected items in multiple selection are either
902 having a tick that is cut or not visible at all.)
904 2009-04-22 Alberto Garcia <agarcia@igalia.com>
906 * src/hildon-touch-selector.c
907 (hildon_touch_selector_append_text_column):
910 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
913 Use g_strdup_printf() instead of a fixed size buffer.
915 2009-04-21 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
918 Close banners when a HildonAppMenu is popped up.
920 Fixes: NB#111027 (Title menu closed immediately if activated when
921 "Invalid e-mail address" banner is shown)
923 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: Bump version.
929 * debian/changelog: Updates.
931 2009-04-20 Alberto Garcia <agarcia@igalia.com>
933 * src/hildon-banner.c (hildon_banner_realize):
934 Mark HildonBanner as supporting portrait mode.
935 Use GDK to set window properties insetad of direct Xlib calls.
937 Fixes: NB#111830 (HildonBanner should be marked as supporting
940 2009-04-20 Alberto Garcia <agarcia@igalia.com>
942 * src/hildon-note.c (hildon_note_rebuild):
943 Hide action area in information notes. Prevents text from being
944 slightly aligned to the left.
946 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
949 2009-04-20 Alberto Garcia <agarcia@igalia.com>
951 Patch by Mox Soini (ext-mox.soini@nokia.com)
953 * src/hildon-banner.c (hildon_banner_create_animation):
954 Use stylus-sized icons in animation banner.
956 Fixes: NB#111206 (stylus sized icon for animation banner)
958 2009-04-20 Alberto Garcia <agarcia@igalia.com>
962 (+hildon_gtk_window_set_do_not_disturb):
963 New API to set the do-not-disturb flag.
965 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
967 2009-04-20 Alberto Garcia <agarcia@igalia.com>
969 * examples/hildon-progress-indicator-example.c: Fix example
971 * src/hildon-gtk.c (set_clear_window_flag)
972 (hildon_gtk_window_set_progress_indicator):
973 Create a generic function for setting flags to a window.
974 Use GDK instead of direct Xlib calls.
976 2009-04-14 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-button.c (hildon_button_set_arrangement):
979 Due to NB#88126, if one of the labels is too long it will be
980 painted outside the button. The 'value' label is more likely to be
981 the longest one, so we change its packing options in order to
982 truncate it if necessary. As a side effect, the 'title' label will
983 no longer be truncated.
985 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
987 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
992 * configure.ac: Bump version.
993 * debian/changelog: Updates.
995 2009-04-13 Alejandro G. Castro <alex@igalia.com>
997 Deprecation of the hildon_pannable_area_set_size_request_policy
998 API, the only policy properly supported in gtk+ nowadays is the
1001 * src/hildon-pannable-area.c,
1002 (hildon_pannable_area_size_request): Added a workaround for the
1003 size_request to avoid the problems of huge pixmaps in case someone
1004 is still using the function.
1005 * src/hildon-pannable-area.h: Deprecated the enum with the
1008 Fixes: NB#110244 (Problems with the
1009 hildon_pannable_area_set_size_request_policy API)
1011 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1013 * src/hildon-pannable-area.c,
1014 (hildon_pannable_area_init),
1015 (hildon_pannable_area_size_request),
1016 (hildon_pannable_area_style_set),
1017 (hildon_pannable_draw_vscroll),
1018 (hildon_pannable_draw_hscroll),
1019 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1020 indicator_width to clarify the use of the attribute.
1022 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1027 * configure.ac: Bump version.
1028 * debian/changelog: Updates.
1030 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1032 * src/hildon-picker-dialog.c
1033 * src/hildon-touch-selector.c
1034 Reverting the change that tried to avoid the hardcoded height on
1035 the picker dialog, as causes problems on the hildon-touch-selector
1038 Fixes: NB#110029 (selectors not scrolling to selected value)
1040 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-touch-selector.c: Fix typos
1044 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1047 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1048 request more motions after using it.
1050 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-calendar.c (hildon_calendar_expose),
1053 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1054 Remove unused variables.
1056 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1058 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1059 variable assignment.
1061 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1064 Check the return value of gtk_tree_selection_get_selected()
1067 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-animation-actor.c
1070 * src/hildon-button.c
1072 * src/hildon-pannable-area.c
1073 * src/hildon-picker-button.c
1074 * src/hildon-program.c
1075 * src/hildon-remote-texture.c
1076 * src/hildon-text-view.c
1077 * src/hildon-touch-selector.c
1078 * src/hildon-window-stack.c
1079 * src/hildon-window.c:
1080 Add missing 'Since: 2.2' tags.
1082 * doc/hildon-sections.txt:
1083 Add some missing symbols.
1085 * doc/hildon-docs.sgml:
1086 New 'Other' section for HildonAnimationActor and
1089 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1091 Patch by Iván Gómez (igomez@igalia.com)
1094 * doc/compiling.sgml
1095 * doc/hildon-docs.sgml
1096 * doc/hildon-sections.txt
1097 * doc/migration.sgml
1098 * doc/resources.sgml
1100 New chapters on using the Hildon library.
1101 Updated the general structure of the reference manual.
1102 Other minor documentation fixes.
1104 * src/hildon-calendar-popup.c
1105 * src/hildon-calendar.c
1106 * src/hildon-controlbar.c
1107 * src/hildon-date-editor.c
1108 * src/hildon-dialog.c
1109 * src/hildon-hvolumebar.c
1110 * src/hildon-number-editor.c
1111 * src/hildon-range-editor.c
1112 * src/hildon-sort-dialog.c
1113 * src/hildon-time-editor.c
1114 * src/hildon-time-picker.c
1115 * src/hildon-volumebar-range.c
1116 * src/hildon-volumebar.c
1117 * src/hildon-vvolumebar.c
1118 * src/hildon-weekday-picker.c:
1119 Add deprecation notes
1121 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1122 Document 'horizontal-movement' and 'vertical-movement' signals.
1124 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1129 * configure.ac: Bump version.
1130 * debian/changelog: Updates.
1132 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1134 * src/hildon-pannable-area.c,
1135 (hildon_pannable_area_class_init): increased the minimum velocity.
1136 (hildon_pannable_area_button_release_cb): Updated the
1137 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1138 setup. Review the code to control that last event.
1140 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1143 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1145 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1147 * src/hildon-get-password-dialog.c
1148 (hildon_get_password_set_property),
1149 (hildon_get_password_get_property), (create_contents):
1150 * src/hildon-login-dialog-private.h:
1151 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1152 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1153 (hildon_login_dialog_get_password):
1154 * src/hildon-set-password-dialog-private.h:
1155 * src/hildon-set-password-dialog.c
1156 (hildon_set_password_set_property),
1157 (hildon_set_password_get_property), (create_contents),
1158 (hildon_set_password_response_change),
1159 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1161 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1162 instead and look more Fremantle style.
1164 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1166 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1168 * doc/hildon-sections.txt
1169 * src/hildon-window-stack.h
1170 * src/hildon-window-stack.c
1171 (+hildon_window_stack_get_windows):
1172 New API to obtain the list of windows on a stack.
1174 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-app-menu.c (hildon_app_menu_popup)
1177 (hildon_app_menu_class_init, -hildon_app_menu_show):
1178 Remove hildon_app_menu_show() and move all its checks to
1179 hildon_app_menu_popup()
1181 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1183 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1184 (_hildon_picker_dialog_set_selector): removed call to
1185 gtk_widget_set_size_request
1186 * src/hildon-touch-selector.c
1187 (_create_new_column): change the pannable size request policy
1189 Avoid to use a hardcoded height for the hildon picker dialog. In order
1190 to get that, we needed to change the hildon pannable size request
1192 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1194 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1197 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1200 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1202 * debian/control: Depend on osso-system-lock localization package.
1203 * src/hildon-code-dialog.c: Obtain the secu_application_title
1204 translation from osso-system-lock.
1205 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1206 for translation the atk related strings, that's not necessary.
1207 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1208 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1209 cancel button, it is not required.
1211 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1213 * src/hildon-pannable-area.c,
1214 (hildon_pannable_area_class_init): Modified the default value of
1215 the overshooting max speed, we have reduced it.
1217 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1219 * doc/hildon-sections.txt
1220 * src/hildon-window-private.h
1221 * src/hildon-window.h
1222 * src/hildon-window.c (hildon_window_class_init)
1223 (hildon_window_init, hildon_window_finalize)
1224 (hildon_window_realize, hildon_window_get_property)
1225 (hildon_window_set_property, hildon_window_update_markup)
1226 (hildon_window_get_markup, hildon_window_set_markup):
1227 New "markup" property and hildon_window_{get,set}_markup() methods.
1229 * examples/hildon-stackable-window-example.c (new_window):
1230 Update example to use hildon_window_set_markup()
1232 Fixes: NB#106375 (Need API to retitle a window with a title
1235 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1237 * src/hildon-pannable-area.c,
1238 (hildon_pannable_area_class_init): Changed the default value of
1239 the initial_hint to TRUE.
1240 (hildon_pannable_area_initial_effect): Changed the initial effect,
1241 not the effect is just the fade-out of the scrollbars.
1243 Fixes: NB#107775 (No scrollbars can be seen when several items are
1244 available in a dialog)
1246 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-program.c (hildon_program_update_top_most):
1251 Fixes: NB#109179 (Memory leak in Hildon program)
1253 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-banner.c (-get_current_app_window):
1256 Remove unused function.
1258 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1260 * src/hildon-pannable-area.c: Modified the documentation of the
1261 get adjustments functions to explain the problem of using the
1262 adjustment directly.
1263 (hildon_pannable_area_class_init): Improved the explanation about
1266 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-app-menu-private.h
1269 * src/hildon-app-menu.c
1270 (hildon_app_menu_class_init):
1271 Bring back the 'external-border' style property
1272 (hildon_app_menu_class_init, hildon_app_menu_init)
1273 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1274 Set a fixed width-request for the menu, independent of the number
1277 Fixes: NB#94957 (Smoothly opened application menu)
1279 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1281 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1283 * src/hildon-banner.c
1284 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1286 Make sure that the banner is correctly placed the first time it's
1288 (hildon_banner_check_position, -check_fullscreen_state):
1289 Show the banner in the same place no matter if the window is in
1290 fullscreen mode or not.
1292 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1294 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-touch-selector.c (_default_print_func): reorder
1297 concatenation for clarity.
1299 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1302 for multicolumn selectors.
1304 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1306 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1311 * configure.ac: Bump version.
1312 * debian/changelog: Updates.
1314 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1319 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1321 * configure.ac: removed libcangerra-gtk dependency
1322 * debian/control: removed libcanberra-gtk dependency
1323 * src/Makefile.am: removed libcanberra gtk related flags
1324 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1325 context, and manage a global canberra context instead
1327 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1329 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1331 Patch by Daniel Borgmann (danielb@openismus.com)
1333 * src/hildon-edit-toolbar.c:
1334 Adjust the left padding.
1335 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1336 Paint background of the edit toolbar.
1338 Fixes: NB#107897 (Patch to make editmodetoolbar background
1339 themeable and adjust margin)
1341 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1343 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1345 * src/hildon-program.c (hildon_program_update_top_most):
1346 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1348 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1349 change when the user tasks in/out of an application)
1351 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1353 * configure.ac: added libcangerra-gtk dependency
1354 * debian/control: added libcanberra-gtk dependency
1355 * src/Makefile.am: added libcanberra gtk related flags
1356 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1359 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1361 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-program.c (hildon_program_remove_window)
1364 (hildon_program_add_window): Add checks for the window
1365 parameter. Don't decrease the window counter if the window is not
1368 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1370 * src/hildon-pannable-area.c,
1371 (hildon_pannable_area_realize): Fixed position of the event_window
1372 in the realize method.
1374 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1376 * src/hildon-app-menu-private.h
1377 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1378 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1379 (hildon_app_menu_key_press, hildon_app_menu_init)
1380 (hildon_app_menu_finalize):
1381 Make sure that all idle functions are removed when the widget is
1384 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1386 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1391 * configure.ac: Bump version.
1392 * debian/changelog: Updates.
1394 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1396 * src/hildon-entry.c
1397 (+hildon_entry_show_placeholder),
1398 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1399 that replace hildon_entry_update_contents().
1400 (hildon_entry_set_text),
1401 (hildon_entry_set_placeholder),
1402 (hildon_entry_focus_in_event),
1403 (hildon_entry_focus_out_event): Determine when it is needed
1404 either to show or hide the placeholder and call the above methods.
1406 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1407 when the placeholder text is already set)
1409 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1412 simple GdkPixbufAnim using the new icons for the banner.
1413 (hildon_banner_show_animation): Use the above mentioned method to
1414 create the animation widget.
1416 Fixes: NB#103564 (Make hildon animation banner use individual
1417 image files as the animation)
1419 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1421 * src/hildon-pannable-area.c,
1422 (hildon_pannable_leave_notify_event): Check if the child is NULL
1423 to avoid sending the leave.
1425 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1427 * src/hildon-pannable-area.c,
1428 (hildon_pannable_area_class_init),
1429 (hildon_pannable_leave_notify_event): Added a handler of the
1430 leave-notify-signal to consider when no motion notify before
1433 Fixes: NB#107494 (Items stay selected when clicking and moving
1434 away when inside pannable area)
1436 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1441 * configure.ac: Bump version.
1442 * debian/changelog: Updates.
1444 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1446 Patch by Alberto Garcia (agarcia@igalia.com)
1448 * src/hildon-date-button.c,
1449 (hildon_date_button_class_init),
1450 (hildon_date_button_init): Removed the construct property handling
1451 and created a default selector in the init method.
1452 * src/hildon-picker-button.c,
1453 (hildon_picker_button_class_init): Removed the construct flag of the
1456 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1458 * src/hildon-main.c (hildon_init):
1459 Don't allow hildon_init() to be called more than once.
1461 Fixes: NB#106607 (hildon_init should issue error message upon
1464 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1466 * examples/hildon-pannable-area-touch-list-example.c
1467 * examples/hildon-pannagle-area-touch-grid-example.c
1468 * examples/hildon-edit-toolbar-example.c
1469 * examples/hildon-touch-selector-multi-cells-example.c
1470 Removed the call to gtk_rc_parse_string, as it is not required since
1473 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1475 * src/hildon-pannable-area.c,
1476 (hildon_pannable_area_class_init): Modified the default panning
1477 threshold of the widget to 6px.
1479 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1480 than the threshold value ) within the button is not sending the
1483 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1486 for the treeview in the new column. This way, the touch list will never
1489 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1490 be selected manually for the HW keys to work)
1492 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1494 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1495 comparison instead of using strcmp(). Fixes a compiler warning as well.
1497 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1499 * doc/hildon-docs.sgml: Do not set the library version in the
1500 document title, use the releaseinfo tag for that purpose instead.
1502 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1505 Do not jump to the first item if the text in the entry is removed.
1507 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1512 * configure.ac: Bump version.
1513 * debian/changelog: Updates.
1515 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-entry.c (hildon_entry_refresh_contents):
1518 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1519 Use "ReversedSecondaryTextColor" for the placeholder text.
1521 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-text-view.c: Fix compilation warning.
1525 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-button.c (hildon_button_class_init): Don't make
1528 "title" and "value" construction properties, to prevent them from
1529 overwriting labels set from derived classes.
1531 * src/hildon-picker-button.c
1532 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1533 (hildon_picker_button_class_init): Make touch-selector a
1534 construction property.
1536 * src/hildon-date-button.c (hildon_date_button_class_init)
1537 (+hildon_date_button_constructed): Add a default date selector if
1540 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1542 * src/hildon-touch-selector.c: Small documentation fixes.
1544 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1546 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1548 * src/hildon-entry.c (hildon_entry_refresh_contents),
1549 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1550 widget name, set the logical color directly instead and a boolean
1551 showing_placeholder instead.
1552 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1553 use the widget name here either.
1555 Fixes: NB#105678 (HildonTextView should use logical colours
1556 instead of setting widget name)
1558 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1560 Patch by Daniel Elster (danielk@openismus.com)
1562 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1563 Add user_data parameter.
1564 (hildon_touch_selector_set_print_func_full): New function akin
1565 hildon_touch_selector_set_print_func() but with support for user
1566 data and a destroy callback.
1567 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1568 to clean up the print function user data.
1569 (hildon_touch_selector_class_init): Install dispose function.
1570 (HildonTouchSelectorPrivate::print_user_data),
1571 (HildonTouchSelectorPrivate::print_destroy_func): New private
1573 (hildon_touch_selector_init): Initialize new private members.
1574 (hildon_touch_selector_get_current_text): Pass along user data
1575 to the print function.
1576 (_default_print_func): Add dummy user_data to parameter list.
1577 * hildon-date-selector.c (_custom_print_func): ditto,
1578 * hildon-time-selector.c (_custom_print_func): ditto,
1579 * hildon-touch-selector-entry.c
1580 (hildon_touch_selector_entry_print_func): ditto.
1582 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1584 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1586 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1588 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_init),
1592 (hildon_pannable_area_button_press_cb),
1593 (hildon_pannable_area_motion_notify_cb): We have added code to
1594 handle the leave and enter events when using the motion events.
1596 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1598 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-date-button.c (hildon_date_button_get_date)
1601 (hildon_date_button_set_date): Make sure that the button has a
1604 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1606 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1608 * src/hildon-pannable-area.c,
1609 (hildon_pannable_area_class_init),
1610 (hildon_pannable_area_calculate_velocity): Modify the use of the
1611 force and adapt the value.
1613 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1616 (hildon_app_menu_class_init): Hide the menu if it receives a
1617 delete-event, but don't destroy it
1619 Fixes: NB#104485 (Not able to address the call when application
1620 menu is opened at background)
1622 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1624 * src/hildon-app-menu.c
1625 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1626 Remove the "external-border" style property, let the menu take its
1627 natural size (or the one set by the window manager)
1628 (hildon_app_menu_repack_items):
1629 Don't reshow the menu, avoid flickers.
1631 Partially fixes NB#94957 (Smoothly opened application menu)
1633 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1638 * configure.ac: Bump version.
1639 * debian/changelog: Updates.
1641 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1643 * src/hildon-pannable-area.c,
1644 (hildon_pannable_area_motion_notify_cb): We control that the
1645 direction error margin is used just in case the movement is
1646 allowed in the other direction.
1648 Fixes: NB#105012 (buttons inside a pannable area not getting
1649 release event when dragging/releasing)
1651 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1653 * src/hildon-pannable-area.c,
1654 (hildon_pannable_area_class_init),
1655 (hildon_pannable_area_get_property),
1656 (hildon_pannable_area_set_property),
1657 (hildon_pannable_area_initial_effect),
1658 (hildon_pannable_axis_scroll),
1659 (hildon_pannable_area_button_release_cb): Reviewed the
1660 overshooting effect, now it has its own max
1661 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1662 speed when bouncing.
1664 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1669 * configure.ac: Bump version.
1670 * debian/changelog: Updates.
1672 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1674 * src/hildon-pannable-area.c,
1675 (hildon_pannable_area_class_init): Changed the max speed, now
1676 users can launch the widget very fast. Reduced the default force,
1677 that way it is easier to control the launch speed.
1679 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1681 * src/hildon-pannable-area.c,
1682 (hildon_pannable_area_button_release_cb): Removed this check
1683 because it causes problems when the device is overloaded.
1685 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1687 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1688 add a current_text field to store the text entered in the
1689 touch selector entry.
1690 (_clean_current_selection): clean up the current text as well.
1691 (_save_current_selection), (_restore_current_selection):
1692 Save/restore the text in the entry if the selector is a
1693 HildonTouchSelectorEntry.
1695 Fixes: NB#102541 (value entered in the touch selector entry is not
1696 shown when opened for second time)
1698 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1700 * doc/hildon-sections.txt:
1701 * src/hildon-touch-selector-entry.c
1702 (+hildon_touch_selector_entry_get_entry):
1703 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1705 Fixes: NB#104815 (I need accessor to the entry inside
1706 HildonTouchSelectorEntry)
1708 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1711 (hildon_app_menu_class_init):
1712 New "filter-vertical-spacing" style property.
1714 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-find-toolbar.c
1717 (hildon_find_toolbar_emit_close)
1718 (hildon_find_toolbar_emit_invalid_input)
1719 (hildon_find_toolbar_entry_activate):
1720 Use g_signal_emit() instead of g_signal_emit_by_name()
1722 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1724 Patch by Mox Soini (ext-mox.soini@nokia.com)
1726 * tests/TEST-CASES.txt
1727 * tests/check-hildon-banner.c
1728 * tests/check-hildon-note.c
1729 * src/hildon-banner.c
1730 * src/hildon-code-dialog.c
1731 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1732 * src/hildon-time-editor.c
1733 * examples/hildon-lookup-example.c (main):
1734 Replace obsolete icon names with new ones.
1736 * src/hildon-find-toolbar-private.h:
1737 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1738 (-hildon_find_toolbar_emit_search):
1739 Remove find button and change icon of close button.
1741 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1743 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-time-button.c (hildon_time_button_new_step):
1746 Use the "touch-selector" property to set the selector directly
1747 when creating the object.
1749 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1751 Added a new example application that allows tuning the pannable
1752 area and replaced defines with properties in order to simplify the
1753 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1754 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1755 PROP_DIRECTION_ERROR_MARGIN.
1757 * examples/hildon-pannable-area-tuning-example.c: New example
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_class_init),
1761 (hildon_pannable_area_init),
1762 (hildon_pannable_area_get_property),
1763 (hildon_pannable_area_set_property),
1764 (hildon_pannable_area_launch_fade_timeout),
1765 (hildon_pannable_area_adjust_value_changed),
1766 (hildon_pannable_axis_scroll),
1767 (hildon_pannable_area_motion_notify_cb),
1768 (hildon_pannable_area_scroll_cb),
1769 (hildon_pannable_area_button_release_cb): We have converted some
1770 of the defines that control the widget to properties to simplify
1773 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1775 * src/hildon-app-menu.c (hildon_app_menu_map)
1776 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1777 so it's closed if a new window appears.
1779 Fixes: NB#104485 (Not able to address the call when application
1780 menu is opened at background)
1782 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1785 missing 'break' statement in in 'case' construct to avoid
1788 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-touch-selector-entry.c
1791 (hildon_touch_selector_entry_get_property),
1792 (hildon_touch_selector_entry_set_property): Add missing 'break'
1793 statements in in 'case' constructs to avoid incorrect warnings.
1795 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-time-editor.c
1798 (hildon_time_editor_get_time_separators): Do not crash if
1799 the first label is NULL.
1801 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-date-selector.c (_month_days): Check for month to be
1804 strictly less than 12, since otherwise we may overrun the array.
1806 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-date-button.c (+hildon_date_button_new_full)
1809 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1810 (hildon_date_button_init): Set the date selector using a
1811 construction property, to make it happen after HildonButton's
1812 "value" property is set.
1814 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1815 current date by default)
1817 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1819 * doc/hildon-sections.txt
1820 * src/hildon-program.c
1821 * src/hildon-stackable-window.c
1822 * src/hildon-window.c:
1823 Documentation updates
1825 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1828 (hildon_window_stack_new, +hildon_window_stack_set_property)
1829 (+hildon_window_stack_get_property)
1830 (hildon_window_stack_class_init)
1831 (+hildon_window_stack_set_window_group)
1832 (+hildon_window_stack_get_window_group):
1833 Make the window group a construction property.
1835 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1837 * doc/hildon-sections.txt
1838 * src/hildon-stackable-window-private.h
1839 * src/hildon-stackable-window.h
1840 * src/hildon-stackable-window.c
1841 (-hildon_stackable_window_set_app_menu)
1842 (-hildon_stackable_window_get_app_menu)
1843 (-hildon_stackable_window_toggle_menu)
1844 (-hildon_stackable_window_finalize)
1845 (hildon_stackable_window_class_init)
1846 (hildon_stackable_window_init)
1847 * src/hildon-window-private.h
1848 * src/hildon-window.h
1849 * src/hildon-window.c (hildon_window_init)
1850 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1851 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1852 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1853 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1854 Moved all HildonAppMenu code to HildonWindow. The menu does not
1855 require a HildonStackableWindow anymore.
1857 * src/hildon-app-menu.c
1858 * src/hildon-program.c
1859 * examples/hildon-app-menu-example.c (main):
1860 Update examples and documentation to reflect HildonAppMenu
1863 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-remote-texture.c
1866 * src/hildon-animation-actor.c:
1867 Don't include unused private headers.
1869 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1871 * src/hildon-program-private.h
1872 * src/hildon-program.c
1873 (hildon_program_set_common_menu)
1874 (hildon_program_get_common_menu)
1875 (hildon_program_set_common_app_menu)
1876 (hildon_program_get_common_app_menu):
1877 Change common menu pointers from GtkWidget* to GtkMenu* and
1878 HildonAppMenu* to avoid unnecessary casts.
1880 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1882 * src/hildon-window.c (hildon_window_set_main_menu):
1883 Removed incorrect 'Since:' tag
1885 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1887 * src/hildon-pannable-area.c,
1888 (hildon_pannable_area_calculate_velocity): We use now the
1889 RATIO_TOLERANCE here to check the distance, fixed typo in the
1891 (hildon_pannable_area_motion_notify_cb): We have to set the type
1892 and time even if we are not sending the motion.
1894 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1896 * doc/hildon-sections.txt
1897 * src/hildon-app-menu.h
1898 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1899 (+hildon_app_menu_get_filters): New methods to get the contents of
1902 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1905 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-app-menu.c (hildon_app_menu_popup):
1910 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1912 * src/hildon-window.h
1913 * src/hildon-window.c (+hildon_window_get_main_menu)
1914 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1915 and deprecated hildon_window_get_menu().
1917 * src/hildon-stackable-window.h
1918 * src/hildon-stackable-window.c
1919 (+hildon_stackable_window_set_app_menu)
1920 (+hildon_stackable_window_get_app_menu)
1921 (hildon_stackable_window_set_main_menu): Created
1922 hildon_stackable_window_{get,set}_app_menu() and deprecated
1923 hildon_stackable_window_set_main_menu().
1925 * doc/hildon-sections.txt
1926 * examples/hildon-app-menu-example.c (main)
1927 * src/hildon-app-menu.c
1928 * src/hildon-program.c:
1929 Updated examples and documentation.
1931 Fixes: NB#103758 (No way to obtain a menu from a
1932 HildonStackableWindow)
1934 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1939 * configure.ac: Bump version.
1940 * debian/changelog: Updates.
1942 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1944 * examples/hildon-remote-texture-example.c: Include
1945 hildon-remote-texture.h explicitely.
1946 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1947 applications not defining _XOPEN_SOURCE which don't require this header.
1949 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1951 * doc/hildon-sections.txt
1952 * src/hildon-app-menu.h
1953 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1954 New function to pop up a HildonAppMenu
1956 * src/hildon-stackable-window.c
1957 (hildon_stackable_window_toggle_menu):
1958 Use hildon_app_menu_popup() to show the menu.
1960 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-app-menu.c (hildon_app_menu_show)
1963 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1964 menu if there's another window between it and its parent window.
1966 Fixes: NB#100468 (Application menu window is launched even when a
1967 new secondary-window/dialog is pending to be shown/realized)
1969 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-window-stack.c (hildon_window_stack_push)
1972 (hildon_window_stack_pop_and_push):
1973 Don't forget to push/pop the first window.
1974 Reverse the window list before calling _push_list()
1976 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-picker-button.h
1979 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1980 Remove "value_changed" slot to avoid ABI breakage
1982 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1984 * src/hildon-pannable-area.c,
1985 (hildon_pannable_area_realize),
1986 (hildon_pannable_area_unrealize),
1987 (hildon_pannable_draw_vscroll),
1988 (hildon_pannable_draw_hscroll): Changed the method to handle the
1989 GC used to draw the transparent scrollbar, this way we avoid
1990 creating the GC all the time when drawing the scrollbars.
1992 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1994 * src/hildon-pannable-area.c,
1995 (hildon_pannable_area_init),
1996 (hildon_pannable_area_remove): Removed some unnecessary casts.
1997 (hildon_pannable_area_dispose): Disconnected some signals before
1998 releasing the adjustments.
2000 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2003 Make sure that all widgets contained in the toolbar are shown.
2005 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2007 * doc/hildon-sections.txt
2008 * src/hildon-picker-button.h
2009 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2010 (_selection_changed, hildon_picker_button_on_dialog_response)
2011 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2012 New hildon_picker_button_value_changed() method.
2015 * src/hildon-picker-button-private.h
2016 * src/hildon-picker-button.c (hildon_picker_button_init)
2017 (+hildon_picker_button_disable_value_changed): Add protected
2018 function for disabling the "value-changed" signal.
2020 * src/hildon-date-button.c (hildon_date_button_set_date):
2021 Don't emit "value-changed" for each one of the three columns.
2023 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2024 before actual change of values)
2026 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2028 * src/hildon-pannable-area.c,
2029 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2030 for the treeview overshooting.
2032 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-banner.c (+hildon_banner_bind_style):
2035 Renamed from hildon_banner_bind_label_style(), now naming the
2036 banner itself as well.
2037 (hildon_banner_show_information),
2038 (hildon_banner_show_information_with_markup),
2039 (hildon_banner_show_animation), (hildon_banner_show_progress):
2040 Name the widgets and labels, based on their type.
2042 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2045 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-note.c (hildon_note_set_property): call
2048 hildon_note_rename() on HildonNote:note-type set.
2049 (hildon_note_rename): Name the note and its label, based on the
2050 HildonNote:note-type property.
2052 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2055 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2057 * src/hildon-pannable-area.c,
2058 (hildon_pannable_area_class_init),
2059 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2060 panning parameters, increased SPS and deceleration factor. Added
2061 also a margin to control fake directions.
2063 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2065 Patch by Sven Herzberg (sven@imendio.com)
2067 * configure.ac: Add missing AM_PROG_CC_C_0
2068 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2070 See NB#101420 (Update unit tests and fix make check)
2072 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2074 This patch was applied before but reverted because it caused
2075 problems, we have changed the main condition and tested the
2076 regressions we detected before and they work ok. We have done a
2077 complete review of the topmost algorithm in order to get a more
2080 * src/hildon-pannable-area.c,
2081 (hildon_pannable_area_get_topmost): Added a new parameter to
2082 filter the the windows that do not include those events.
2083 (hildon_pannable_area_button_press_cb),
2084 (hildon_pannable_area_button_release_cb),
2085 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2086 topmost function, we have added the new parameter.
2088 Fixes: NB#97458 (Pannable area prevents propagation of button
2091 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2094 if all columns in the selector have an item selected.
2095 (_on_dialog_response): Stop "response" signal emission if there is
2096 any selector column without selected items.
2098 Fixes: NB#101889 (Picker dialog should not close when nothing is
2099 selected in multiple selection list)
2101 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-font-selection-dialog.c
2104 (hildon_font_selection_dialog_class_init),
2105 (hildon_font_selection_dialog_init): Remove the preview
2106 button and dialog, since previewing with default theming is likely
2107 to be overcomplicated. The :preview property has now no effect.
2108 Update documentation blurbs to inform about this.
2110 Fixes: NB#92297 (Preview content is not clearly visible for
2111 default colour text)
2113 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2115 Reviewed the geometry that handles the children size and
2116 scrollbar, now it tries a size and reviews the results depending
2117 on the scrollbars visibility.
2119 * src/hildon-pannable-area.c,
2120 (hildon_pannable_area_realize): Fixed a typo.
2121 (hildon_pannable_area_child_allocate_calculate): Added this
2122 function to calculate the child allocation.
2123 (hildon_pannable_area_size_allocate): Reviewed the allocation
2125 (hildon_pannable_area_check_scrollbars),
2126 (hildon_pannable_area_refresh): Refactored refresh function, this
2127 way we can call the code handling the scrollbars without causing a
2128 size_request, it is interesting in the allocate.
2129 (hildon_pannable_area_init): Replace the callbacks of the
2130 value_changed and changed signals to propertly deal with the
2132 (hildon_pannable_area_grab_notify),
2133 (hildon_pannable_area_initial_effect),
2134 (hildon_pannable_area_launch_fade_timeout),
2135 (hildon_pannable_area_adjust_changed),
2136 (hildon_pannable_area_adjust_value_changed),
2137 (hildon_pannable_area_redraw),
2138 (hildon_pannable_area_button_press_cb),
2139 (hildon_pannable_area_button_release_cb),
2140 (hildon_pannable_area_scroll_cb),
2141 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2142 code and use the new functions adjust_changed and
2143 adjust_value_changed.
2145 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2146 Contact editor dialog)
2148 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2153 * configure.ac: Bump version.
2154 * debian/changelog: Updates.
2156 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2158 * src/hildon-pannable-area.c,
2159 (hildon_pannable_area_get_topmost),
2160 (hildon_pannable_area_button_press_cb),
2161 (hildon_pannable_area_button_release_cb),
2162 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2163 topmost function adding the event mask. We have to try a
2164 differente approach because it is still causing problems (NB#9745,
2167 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-banner.c:
2170 Update the maximum width of timed banners.
2171 (force_to_wrap_truncated): Enforce the maximum text width if the
2174 Fixes: NB#102413 (The text margins (wrapping) in information
2175 banner should be HILDON_MARGIN_TRIPLE)
2177 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2179 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2181 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2182 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2183 bound when calculating the scroll indicator position.
2185 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2186 treat ->lower correctly)
2188 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2191 expose event handling, since it is not necessary to draw the focus
2194 Fixes: NB#102467 (Do not show highlight on the text in
2197 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2199 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2200 full height of the toolbar for the button and the label.
2202 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2205 padding before the label and after the button.
2207 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2211 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2212 Add a GtkVSeparator between the button and the back arrow.
2213 Let the button have automatic size.
2214 Set a name to the widget for theming handling.
2216 Fixes: NB#101793 (Make edit toolbar the same height as window
2217 title bar (use title area theming))
2219 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-helper.c (attach_new_color_element): Fix memory
2224 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2226 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2228 * examples/hildon-button-example.c (common_buttons_window): Don't
2231 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2234 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2236 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2238 * src/hildon-gtk.c: Check that the window is realized.
2240 Fixes: NB#102225 (Crash setting the progress indicator to a non
2243 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2246 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2247 instead of modifying the one in the widget style.
2249 Fixes: NB#101043 (Second row of all the command button are
2250 displayed in transparent mode.)
2252 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-date-button.c
2255 * src/hildon-time-button.c: Add gettext macros
2257 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-date-button.c (hildon_date_button_new):
2260 * src/hildon-time-button.c (hildon_time_button_new_step):
2261 Use new logical strings to set the button default title.
2263 Fixes: NB#99915 (Date and Time options are not localised in Date
2266 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2268 * src/hildon-pannable-area.c
2269 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2270 the PANNING_THRESHOLD.
2272 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2274 * src/hildon-pannable-area.c,
2275 (hildon_pannable_area_class_init): Increased the maximum speed.
2276 (hildon_pannable_area_get_property),
2277 (hildon_pannable_area_set_property),
2278 (hildon_pannable_area_timeout): Added a new low friction mode, it
2279 allows the user avoid friction when launching the widget fast
2280 enough. It is interesting to traverse long lists.
2282 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2285 (+hildon_stackable_window_delete_event): Ignore delete events if
2286 the window is not the topmost one.
2288 Fixes: NB#101698 (Back button long press and delete-event handling)
2290 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2292 * src/hildon-pannable-area.c,
2293 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2294 gtk-dnd-drag-threshold, it was too big. We have defined our own
2295 dnd define and set a smaller value: PANNIG_THRESHOLD.
2297 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2300 user-defined icons, use always the default one.
2302 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2304 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2306 This patch was applied before but reverted because it caused
2307 problems, we have changed the main condition and tested the
2308 regressions we detected before and they work ok.
2310 * src/hildon-pannable-area.c,
2311 (hildon_pannable_area_get_topmost): Added a new parameter to
2312 filter the the windows that do not include those events. Added
2313 also a condition when finding the window to filter windows that do
2314 not ask for those events.
2315 (hildon_pannable_area_button_press_cb),
2316 (hildon_pannable_area_button_release_cb),
2317 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2318 topmost function, we have added the new parameter.
2320 Fixes: NB#97458 (Pannable area prevents propagation of button
2323 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2325 * tests/check-hildon-color-button.c (START_TEST): do not leak
2328 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-font-selection-dialog.c
2331 (hildon_font_selection_dialog_get_preview_text): Return NULL
2332 instead of FALSE on the g_return_val_if_fail().
2334 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2337 * src/hildon-date-selector.c
2338 (hildon_date_selector_select_current_date):
2339 Do not compare unsigned integers to be greater than or equal 0,
2340 because it's always TRUE.
2342 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2345 (hildon_date_selector_constructor): Do not select the current
2346 date until we are handle the "changed" signal, to avoid having bogus
2347 elements in the days model.
2349 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2352 for num_days, since _month_days() can return a negative value.
2354 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-caption.c (hildon_caption_size_allocate):
2357 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2358 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2360 Initialize allocation variables to 0, to avoid eventually using
2361 unitialized variables.
2363 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-bread-crumb-trail.c
2366 (hildon_bread_crumb_trail_size_allocate):
2367 * src/hildon-calendar.c (hildon_calendar_set_background):
2368 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2369 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2370 * src/hildon-seekbar.c (hildon_seekbar_init):
2371 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2372 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2373 * src/hildon-touch-selector-entry.c
2374 (hildon_touch_selector_get_text_from_model):
2375 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2376 * src/hildon-window.c (hildon_window_finalize):
2378 Remove many unused variables.
2380 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-seekbar.c: (hildon_seekbar_init),
2383 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2385 Remove unnecessary g_assert() calls.
2387 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-caption.c: (hildon_caption_expose),
2390 (hildon_caption_set_property), (hildon_caption_init),
2391 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2392 (hildon_caption_size_request), (hildon_caption_size_allocate),
2393 (hildon_caption_forall), (hildon_caption_set_separator),
2394 (hildon_caption_activate), (hildon_caption_set_child_expand),
2395 (hildon_caption_set_label_text),
2396 (hildon_caption_get_label_alignment):
2398 Remove unnecessary g_assert() calls.
2400 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-banner.c
2403 (hildon_banner_map, hildon_banner_init): Make banner temporary
2404 before mapping it to avoid closing other temporary windows, but
2405 make it non-temporary afterwards to avoid being closed by other
2406 non-temporary windows.
2407 (-hildon_banner_client_event, hildon_banner_init):
2408 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2410 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2413 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2415 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2418 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2420 * src/hildon-remote-texture.c
2421 * src/hildon-remote-texture.h
2422 * src/hildon-remote-texture-private.h
2423 * examples/hildon-remote-texture-example.c:
2424 Updates/fixes to remote-texture and its example.
2426 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2428 Patch by Mox Soini (ext-mox.soini@nokia.com)
2430 * src/hildon-code-dialog.c: Update logical id.
2431 * src/hildon-set-password-dialog.c: Update logical id.
2433 Fixes: NB#100646 (Logical strings is shown for ok in set
2434 password,Password needed dialogs)
2436 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2439 * src/hildon-remote-texture.c
2440 * src/hildon-remote-texture.h
2441 * src/hildon-remote-texture-private.h
2443 Added remote texture widget (for Clutter shared memory textures)
2445 * examples/hildon-remote-texture-example.c
2446 * examples/Makefile.am
2447 Added example file for remote texture usage
2449 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2451 * configure.ac: post release version bump.
2452 * debian/changelog: version bump.
2454 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2459 * configure.ac: Bump version.
2460 * debian/changelog: Updates.
2462 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-date-selector.c (hildon_date_selector_init)
2465 (hildon_date_selector_constructor): Don't connect to the "changed"
2466 signal until the selector is completely constructed.
2468 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-touch-selector.c: (_create_new_column),
2471 (hildon_touch_selector_append_column),
2472 (hildon_touch_selector_set_column_selection_mode),
2473 (hildon_touch_selector_set_active),
2474 (hildon_touch_selector_select_iter):
2475 Emit the HildonTouchSelector::changed signal every time selection
2476 is changed in any of the methods above. This behavior was already
2477 documented but not fully functional.
2479 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2480 selection is programmatically changed)
2482 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2484 * doc/hildon-sections.txt: Remove obsolete icon
2485 sizes from here as well.
2487 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2489 * examples/hildon-stackable-window-example.c (add_window): Remove
2492 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-app-menu.c
2495 (hildon_app_menu_show): Check whether the parent window of a menu
2496 is topmost before popping it up.
2498 Fixes: NB#100468 (Application menu window is launched even when a
2499 new secondary-window/dialog is pending to be shown/realized.)
2501 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2503 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2506 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2508 Patch by Mox Soini (ext-mox.soini@nokia.com)
2510 * src/hildon-banner.c: (hildon_banner_show_animation):
2511 use stylus size instead of obsolete note size.
2512 * src/hildon-defines.h: Update icon sizes.
2514 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-touch-selector-entry.c:
2517 (hildon_touch_selector_entry_init): Disable unsupported
2519 (hildon_touch_selector_entry_get_text_column): Emit a warning
2520 if an unsupported input modes is used and explicitile state
2521 these modes in the documentation.
2523 Fixes: NB#99802 (Hildon touch selector entry not working properly
2524 for some of the input modes)
2526 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2528 * src/hildon-pannable-area.c,
2529 (hildon_pannable_area_init): Added the changed signal handlers of
2532 Fixes: NB#100320 (HildonPannableArea does not listen to
2533 GtkAdjustment "change" signals)
2535 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2537 * doc/hildon-sections.txt
2538 * src/hildon-window-private.h
2539 * src/hildon-window.h
2540 * src/hildon-window.c (hildon_window_init)
2541 (hildon_window_realize, hildon_window_unrealize)
2542 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2543 (hildon_window_size_request, hildon_window_size_allocate)
2544 (hildon_window_forall, hildon_window_show_all)
2545 (hildon_window_destroy, +paint_edit_toolbar)
2546 (+hildon_window_set_edit_toolbar):
2547 New hildon_window_set_edit_toolbar() method, to add a
2548 HildonEditToolbar to a window without having to pack it manually.
2550 Reorganize hildon_window_size_allocate()
2552 * src/hildon-edit-toolbar.c: Update documentation.
2554 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2555 example to use the new API.
2557 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2559 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2562 Remove from stack before calling parent's hide.
2564 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2567 window is removed from the middle of the stack, update the
2568 transiency of the previous one.
2570 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2573 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2576 block/unblock the signal handler if it's not actually being used.
2577 Fixes some critical warnings.
2579 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2581 Based on a patch by Iván Gómez (igomez@igalia.com)
2583 * src/hildon-banner.c
2587 * src/hildon-pannable-area.c
2588 * src/hildon-picker-dialog.c
2589 * src/hildon-wizard-dialog.h
2590 * src/hildon-wizard-dialog.c: Documentation updates.
2592 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2593 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2595 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2597 * configure.ac: post release version bump.
2598 * debian/changelog: version bump.
2600 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2605 * configure.ac: Bump version.
2606 * debian/changelog: Updates.
2608 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2611 a stock icon nor change the relief of the back arrow.
2613 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2614 graphics from theme)
2616 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-button.c (hildon_button_set_alignment): Use
2619 priv->alignment if the button has no child yet.
2621 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-button.c: (hildon_button_init): Set the
2624 button style during initialization to give it the proper
2627 Fixes: NB#99713 (HildonButton value label color is wrong)
2629 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-touch-selector.c: Document
2632 hildon_touch_selector_center_on_selected()
2634 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2637 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2638 all menu items, but not the menu itself.
2639 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2640 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2641 items after adding them to the menu so keyboard accelerators work.
2642 (hildon_app_menu_show): Don't show the menu if it contains items
2643 but none of them are visible.
2645 * examples/hildon-app-menu-example.c (create_menu): Use
2646 gtk_widget_show_all() to show all menu items.
2648 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-picker-dialog.c:
2651 (-_update_title_on_selector_changed_cb),
2652 (-_dialog_update_title): Removed.
2653 (_select_on_selector_changed_cb), (_on_dialog_response),
2654 (on_selector_columns_changed): Do not update the dialog title.
2655 (setup_interaction_mode): Do not connect to
2656 HildonTouchSelector::changed signal if there's a "done" button, as
2657 the dialog title doesn't need to be updated.
2659 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2662 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2664 Patch by Kristian Rietveld (kris@imendio.com)
2666 * src/hildon-touch-selector.c: (_create_new_column): Use new
2667 GtkTreeView::hildon-row-tapped signal to react to user interactions
2668 instead of ::changed.
2670 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2671 with some dynamic tree model)
2673 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2675 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2676 (+screen_size_changed, +label_size_request)
2677 (hildon_note_class_init): Make the Hildon information note have a
2678 minimum height, and make its text hvae a maximum width.
2680 Fixes: NB#98614 (Hildon information note (background) should have
2681 minimum height and maximum text width)
2683 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2685 * src/hildon-banner.h
2686 * src/hildon-banner.c (hildon_banner_show_information)
2687 (hildon_banner_show_informationf)
2688 (hildon_banner_show_information_with_markup): Update documentation
2689 to reflect that the icon_name parameter is not used anymore.
2690 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2691 Remove all code from these functions and mark them as deprecated.
2692 (hildon_banner_show_progress): Mark as deprecated.
2694 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2696 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2698 * src/hildon-pannable-area.c,
2699 (hildon_pannable_area_class_init),
2700 (tranparency_color),
2701 (hildon_pannable_draw_vscroll),
2702 (hildon_pannable_draw_hscroll),
2703 (hildon_pannable_area_expose_event): Added a new way to render the
2704 scrollbars of the pannable area avoiding using cairo at all. This
2705 way we improve the performance of the pannable area rendering. The
2706 cairo rendering procedure is still in the code, we can control
2707 which one to use changing the value of the define
2708 USE_CAIRO_SCROLLBARS.
2710 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2712 * configure.ac: post release version bump.
2713 * debian/changelog: version bump.
2715 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2720 * configure.ac: Bump version.
2721 * debian/changelog: Updates.
2723 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2726 banners instead of destroying them when they receive a button
2729 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2731 Reverted commit 34028, it was causing regressions, probably the
2732 topmost condition is not correct, we have to check it in more
2733 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2734 propagation of button press events)
2736 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2739 that the selection is not empty before attempting to retrieve the
2740 current ampm selection.
2742 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-picker-button.c:
2745 (hildon_picker_button_on_dialog_response): Directly update the
2746 button contents when required instead of calling _selection_changed.
2748 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-program.c (hildon_program_update_top_most): Update
2751 'is-topmost' property also when wm_hints is not set.
2753 Fixes: NB#98383 (is-topmost signal is not emitted when task
2754 switcher is clicked.)
2756 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2758 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2762 * src/hildon-animation-actor.c,
2763 * src/hildon-animation-actor.h: Added the animation actor class,
2764 this widget represents an animation actor for WM-assisted
2765 animation effects in the Hildon framework.
2767 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-window-stack-private.h
2770 * src/hildon-window-stack.c
2771 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2772 Avoid calling gtk_widget_show() again indirectly from
2773 hildon_stackable_window_show()
2775 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2780 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2782 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2783 (hildon_time_selector_init): Move the construction of the hours and
2784 ampm columns to the constructor to preserve the order the columns
2787 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-picker-dialog.c:
2790 (hildon_picker_dialog_class_init): Connect a realize method.
2791 (+hildon_picker_dialog_realize): Setup the interaction mode here
2793 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2794 yet, do it during the realize instead.
2795 (_on_dialog_response):
2796 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2797 if the widget is not realized, to avoid the dialog response before it
2800 Avoid premature responses in the HildonPickerDialog that can cause it
2801 to be hidden before it's even shown.
2803 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2806 (on_selector_columns_changed), (requires_done_button),
2807 (+prepare_action_area), (setup_interaction_mode),
2808 (_hildon_picker_dialog_set_selector):
2810 Split the interaction mode setup into preparation of the
2811 action area (prepare_action_area()) and the connection of
2812 the signals in setup_interaction_mode() and update the code to
2815 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2817 * src/hildon-pannable-area.c,
2818 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2819 per second to 15, we will check if this is ok regarding
2822 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-pannable-area.c,
2825 (hildon_pannable_axis_scroll): Avoid resize if we already have
2826 reached overshoot_max.
2828 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c,
2831 (hildon_pannable_area_init),
2832 (hildon_pannable_area_realize),
2833 (hildon_pannable_area_size_allocate),
2834 (hildon_pannable_area_map),
2835 (hildon_pannable_area_unmap),
2836 (hildon_pannable_draw_vscroll),
2837 (hildon_pannable_draw_hscroll),
2838 (hildon_pannable_area_expose_event),
2839 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2840 pannable are to avoid the expose events go to the window and
2841 redraw the window. We save this way that part of the stack and the
2842 paint_boxes. We had to change the positions of the elements when
2845 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2848 * src/hildon-color-chooser-dialog.c:
2849 (hildon_color_chooser_dialog_init):
2850 * src/hildon-font-selection-dialog.c:
2851 (hildon_font_selection_dialog_init),
2852 (hildon_font_selection_dialog_show_preview):
2853 * src/hildon-get-password-dialog.c:
2854 * src/hildon-login-dialog.c:
2855 * src/hildon-set-password-dialog.c:
2856 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2857 * src/hildon-time-picker.c: (hildon_time_picker_init):
2859 Remove obsolete logical string IDs and update to the appropriate ones.
2861 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2863 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2866 that happens if the window hasn't been realized yet.
2868 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2869 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2871 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2874 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2877 Fixes: NB#98537 (Device hangs in account settings dialog)
2879 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2881 * configure.ac: post release version bump.
2882 * debian/changelog: version bump
2884 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2889 * configure.ac: Bump version.
2890 * debian/changelog: Updates.
2892 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2894 Added a new function to the HildonTimeButton widget that allows to
2895 change the step of the minutes in the selector associated with the
2896 button: hildon_time_button_new_step
2898 * src/hildon-time-button.c,
2899 (hildon_time_button_init),
2900 (hildon_time_button_new),
2901 (hildon_time_button_new_step):
2902 * src/hildon-time-button.h: Added the new function and refactored
2904 * examples/hildon-time-button-example.c,
2905 (main): We have replaced the function without parameters with the
2906 function with the steps set to 5
2908 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2910 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2912 * src/hildon-time-selector.c,
2913 (hildon_time_selector_class_init),
2914 (hildon_time_selector_constructor),
2915 (hildon_time_selector_get_property),
2916 (hildon_time_selector_set_property),
2917 (_create_minutes_model),
2918 (hildon_time_selector_new_step),
2919 (hildon_time_selector_set_time),
2920 * src/hildon-time-selector.h: Added a new property to the
2921 HildonTimeSelector (minutes-step), we use that property to control
2922 the steps between the minutes in the list of the selector. We have
2923 added a new function to the API to create a widget changing the
2924 step: hildon_time_selector_new_step.
2926 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2928 * src/hildon-time-selector.c,
2929 (hildon_time_selector_class_init),
2930 (hildon_time_selector_constructor),
2931 (hildon_time_selector_init): Overrided the construct function when
2932 creating the time selector object. We have moved the minutes model
2933 handling code from the init to the new construction function:
2934 hildon_time_selector_constructor.
2936 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2938 * examples/hildon-date-button-example.c: (main): Use the new
2939 hildon_date_button_new_with_year_range() method in the example.
2940 * src/hildon-date-button.c:
2941 (+hildon_date_button_new_with_year_range): New public method
2942 to conveniently create a HildonDateButton with a custom year range
2943 in its HildonDateSelector.
2944 * src/hildon-date-button.h: Add the new public method definition.
2946 Fixes: NB#97908 (Not possible to change the year range in
2947 HildonDateSelector/HildonDateButton)
2949 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-date-selector.c:
2952 (+hildon_date_selector_set_property),
2953 (+hildon_date_selector_get_property),
2954 (hildon_date_selector_class_init): Install new properties "min-year"
2955 and "max-year" to define boundaries for the year column.
2956 (_create_year_model): Use the boundary properties to populate the model.
2957 (+hildon_date_selector_new_with_year_range): New public method to
2958 create a HildonDateSelector with a user defined year range.
2959 (hildon_date_selector_select_current_date): Use the new boundaries to
2960 calculate the iterator of current year.
2961 * src/hildon-date-selector.h: Add the new public method definition.
2963 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2966 Install a constructor method.
2967 (+hildon_date_selector_construct_ui): construct the widget.
2968 (+hildon_date_selector_constructor): new constructor.
2969 (+hildon_date_selector_init): move out widget construction code to
2970 the new constructor.
2972 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2975 that there's actually a month or year selected before obtaining them.
2976 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2977 of the HildonTouchSelector::changed signal, as it was emitted on every
2978 single item selection.
2980 Fix some warnings and possible crashers due to the selection restoring.
2982 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2984 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2985 the signal handlers only after creating the dialog instead of on every
2988 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-button.c (hildon_button_init)
2991 * src/hildon-check-button.c (hildon_check_button_init)
2992 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2993 focus when clicked by default.
2995 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3000 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3002 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3003 Alejandro G. Castro (alex@igalia.com)
3005 * src/hildon-picker-dialog.c:
3006 (hildon_picker_dialog_class_init): install new "center-on-show"
3008 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3009 (hildon_picker_dialog_set_property): add setter code for the new
3011 (hildon_picker_dialog_get_property): add getter code for the new
3013 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3014 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3017 Fixes: NB#92849 (Selected item is not always visible when
3018 HildonTouchSelector is shown)
3020 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3022 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3023 Alejandro G. Castro (alex@igalia.com)
3025 * src/hildon-touch-selector.c:
3026 (_create_new_column): Do not connect to the "realize" signal of the
3028 (hildon_touch_selector_append_column): center on the selected items
3029 when a new column is appended.
3030 (hildon_touch_selector_select_iter): Factor out the code to select a
3031 column to hildon_touch_selector_scroll_to().
3032 (+search_nearest_element): Method to retrieve the nearest selected
3033 element to the visible area of the pannable area in a column.
3034 (+on_realize_cb): scroll to the initially selected item.
3035 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3036 the pannable area is realized, otherwise delay this until it is.
3037 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3038 selected items of a given column.
3039 (+hildon_touch_selector_center_on_selected): Public method to center
3040 all columns on the nearest selected item.
3041 * src/hildon-touch-selector.h: Add definition for
3042 hildon_touch_selector_center_on_selected().
3044 Implement public API to ensure visibility of all selected items in
3045 a HildonTouchSelector.
3047 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3049 Fixed a problem in the fading when calling the scroll_to API, and
3050 improve scrollbar fading handling.
3052 * src/hildon-pannable-area.c,
3053 (hildon_pannable_area_grab_notify): avoid the timeout when the
3055 (hildon_pannable_area_button_press_cb),
3056 (hildon_pannable_area_motion_notify_cb): Code style changes.
3057 (hildon_pannable_area_button_release_cb): Review the conditions
3058 when releasing the mouse button to avoid unrequired fading
3060 (hildon_pannable_area_scroll_to): Do not calculate and set the
3061 velocity if the scroll is not required.
3063 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3066 Don't check whether the new selector is NULL: it cannot be.
3067 Hold a reference to the selector while doing the replacement.
3069 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3071 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3072 unnecessary size_request in a removed widget.
3074 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3076 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3077 an unnecessary reference tracking that was leaking.
3079 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3081 Added delayed motion notify event handling, this way we can
3082 discard redrawing if more than 25 events arrive per second.
3084 * src/hildon-pannable-area.c,
3085 (hildon_pannable_area_init): Initialized the new private atributes
3086 controlling this timeout
3087 (hildon_pannable_area_dispose): Remove the timeout that controls
3088 the motion notify events.
3089 (hildon_pannable_area_scroll): Added a condition to control the
3090 use of the acceleration.
3091 (hildon_pannable_area_motion_event_scroll_timeout),
3092 (hildon_pannable_area_motion_event_scroll): Added this two
3093 functions, they handle the motion notify events inside the
3095 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3096 to the scroll method with the new function.
3097 (hildon_pannable_area_button_release_cb): We have to remove the
3098 timeout handler and move to the last position if the last motion
3099 events were not handled.
3101 Fixes: NB#97028 (Pannable area updates on every motion event)
3103 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3105 * src/hildon-pannable-area.c,
3106 (hildon_pannable_area_get_topmost): Added a new parameter to
3107 filter the the windows that do not include those events. Added
3108 also a condition when finding the window to filter windows that do
3109 not ask for those events.
3110 (hildon_pannable_area_button_press_cb),
3111 (hildon_pannable_area_button_release_cb),
3112 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3113 topmost function, we have added the new parameter.
3115 Fixes: NB#97458 (Pannable area prevents propagation of button
3118 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3120 * src/hildon-pannable-area.c,
3121 (hildon_pannable_area_initial_effect): Added controls before
3122 launching the timeout and the idle functions.
3123 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3124 of the method, in some situations it can return with TRUE and 0 in
3126 (hildon_pannable_area_button_press_cb): We do not need to set
3127 DELAY for fading out here.
3129 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3131 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3134 post-cleaning if the selection is not NULL.
3136 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3139 all items before restoring the selection.
3141 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3143 * src/hildon-touch-selector.c:
3144 (+hildon_touch_selector_unselect_all):
3145 * src/hildon-touch-selector.h: New API to unselect all items in a
3146 column of the touch selector.
3148 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3150 * src/hildon-pannable-area.c,
3151 (hildon_pannable_area_redraw): Added a call to the refresh
3152 function inside the redraw because apparently in some cases the
3153 change in the adjustment does not imply a size allocate.
3155 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3156 despite the view not being scrollable)
3158 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3161 leak. Check for NULL before attempting to set the window title.
3163 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3166 whether to show or not the 'Done' button each time the dialog is
3167 shown, as it depends on the HildonTouchSelector selection mode.
3169 Fixes: NB#96226 (In multiple selection mode Done button is shown
3170 sometimes in listpicker)
3172 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3175 for the number of columns in the HildonTouchSelector more than once.
3177 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3179 * src/hildon-touch-selector.c: Minor documentation fixes.
3181 * src/hildon-picker-dialog.c (+_dialog_update_title)
3182 (_select_on_selector_changed_cb)
3183 (_update_title_on_selector_changed_cb)
3184 (on_selector_columns_changed): Update dialog title when there's no
3185 'Done' button and also when the number of columns in the selector
3189 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3190 (+_selection_changed, hildon_picker_button_on_dialog_response)
3191 (hildon_picker_button_selector_selection_changed)
3192 (+hildon_picker_button_selector_columns_changed)
3193 (hildon_picker_button_set_selector): Update button value and emit
3194 'value-changed' when the number of columns in the selector
3198 Fixes: NB#96225 (Dialog titles are not shown according to the
3199 values selected in the list picker)
3201 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3204 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3205 New "arrow-width" and "arrow-height" style properties to set the
3206 size of the arrow button.
3207 Set name of arrow button ("hildon-edit-toolbar-arrow").
3209 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3210 graphics from theme)
3212 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3214 * src/hildon-picker-button.c:
3215 (hildon_picker_button_selector_selection_changed): Use
3216 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3217 the dialog is present.
3219 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3220 the selection is accepted in the dialog)
3222 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-color-chooser.h
3225 * src/hildon-color-chooser-dialog.h:
3226 Added G_BEGIN_DECLS and G_END_DECLS
3228 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3230 (_clean_current_selection): plug a leak in the list.
3232 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-picker-dialog.c:
3235 (+free_path_list): Method to free a GList of GtkTreePaths.
3236 (_clean_current_selection), (_save_current_selection),
3237 (_restore_current_selection): Save the current selection in
3238 as a list of lists, to support multiple selection properly.
3240 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3242 patch by Claudio Saavedra (csaavedra@igalia.com)
3244 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3245 Store the press position.
3246 (+hildon_text_view_button_release_event): If the release position is
3247 close enough to the press position, move the cursor here. Otherwise,
3249 (hildon_text_view_class_init): Override GtkTextView press, release, and
3250 motion event handlers, disabling this way text selection through
3251 pointer interaction, and allowing the container widget to handle the
3254 Fixes: NB#95828 (HildonTextView functionality)
3256 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3258 Based on a patch by Iván Gómez (igomez@igalia.com)
3260 * src/hildon-button.[ch]
3261 * src/hildon-calendar.c
3262 * src/hildon-check-button.c
3263 * src/hildon-date-editor.c
3264 * src/hildon-date-selector.c
3265 * src/hildon-picker-button.c
3266 * src/hildon-time-editor.c
3267 * src/hildon-time-selector.c
3268 * src/hildon-touch-selector.[ch]:
3269 Documentation updates
3271 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3273 * src/hildon-pannable-area.c,
3274 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3275 threshold, it was required due to X events handling.
3277 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_area_grab_notify),
3281 (hildon_pannable_area_initial_effect),
3282 (hildon_pannable_area_button_press_cb),
3283 (hildon_pannable_area_button_release_cb),
3284 (hildon_pannable_area_scroll_cb),
3285 (hildon_pannable_area_scroll_to): Review the timeout management of
3286 the scrollbar, the frecuency was incorrectly set.
3288 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-picker-button.c:
3291 (+hildon_picker_button_on_dialog_response),
3292 (hildon_picker_button_clicked): Present the dialog instead of
3293 running it with gtk_dialog_run().
3295 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3298 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3301 (hildon_app_menu_finalize): When a window is hidden it doesn't
3302 emit notify::is-topmost, so make sure than the menu also
3303 disappears in that case.
3304 (parent_window_topmost_notify): Renamed from parent_window_hidden
3306 Fixes: NB#94460 (stackable window's menu is not closed when its
3309 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-touch-selector-entry.c:
3312 (+hildon_touch_selector_entry_set_input_mode),
3313 (+hildon_touch_selector_entry_get_input_mode):
3314 * src/hildon-touch-selector-entry.h: New methods to access the input
3315 mode in the selector's entry.
3317 Fixes: NB#93410 (API required for setting IM mode in
3318 HildonTouchSelectorEntry)
3320 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3322 * configure.ac: post release version bump.
3323 * debian/changelog: version bump
3325 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3330 * configure.ac: Bump version.
3331 * debian/changelog: Updates.
3333 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-touch-selector.c:
3336 (_hildon_touch_selector_has_multiple_selection): No need
3337 to initialize the variables here.
3339 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-note-private.h
3342 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3343 (hildon_note_finalize, hildon_note_rebuild): Close information
3344 notes when they receive a button press.
3346 Fixes: NB#89890 (Information notes does not get disappeared after
3349 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3352 mark from the wizard title, as it's not really necessary. Also,
3353 do not display the page title if not set.
3355 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3357 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3358 (parent_window_hidden): Use the window's "is-topmost" property to
3359 detect when to hide the menu.
3361 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3364 (hildon_app_menu_finalize): If the parent window of the menu is
3365 hidden, hide the menu too.
3367 Fixes: NB#94460 (stackable window's menu is not closed when its
3370 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3373 * debian/libhildon1-examples.install
3375 * examples/Makefile.am:
3376 Use dh_install to install all examples.
3377 Use DEB_SRCDIR instead of defining SOURCE_DIR
3379 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3381 * configure.ac: post release version bump.
3382 * debian/changelog: version bump
3384 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3389 * configure.ac: bump version
3390 * debian/changelog: updates
3391 * debian/control: bump gtk+ dependency
3393 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3395 patch by Christian Dywan (christian@imendio.com)
3397 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3398 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3400 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3402 * src/hildon-check-button.c (hildon_check_button_init)
3403 (hildon_check_button_class_init, hildon_check_button_style_set)
3404 (hildon_check_button_apply_style):
3405 New "checkbox-size" style property.
3407 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3408 larger / configurable size)
3410 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3412 * configure.ac: post release version bump.
3413 * debian/changelog: version bump
3415 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3420 * configure.ac: bump version
3421 * debian/changelog: updates
3423 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3425 * doc/hildon-sections.txt
3426 * src/hildon-pannable-area.c
3427 * src/hildon-program.c
3428 * src/hildon-time-editor.c
3429 * src/hildon-touch-selector-entry.c:
3431 More documentation updates.
3433 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3435 * doc/hildon-sections.txt
3436 * src/hildon-caption.c
3437 * src/hildon-code-dialog.c
3438 * src/hildon-color-button.c
3439 * src/hildon-controlbar.c
3440 * src/hildon-date-editor.c
3441 * src/hildon-date-selector.c
3442 * src/hildon-edit-toolbar.c
3443 * src/hildon-find-toolbar.c
3444 * src/hildon-font-selection-dialog.c
3446 * src/hildon-program.c
3447 * src/hildon-range-editor.c
3448 * src/hildon-seekbar.c
3449 * src/hildon-time-editor.c
3450 * src/hildon-time-selector.c
3451 * src/hildon-volumebar-range.c
3452 * src/hildon-volumebar.c
3453 * src/hildon-vvolumebar.c
3454 * src/hildon-weekday-picker.c
3455 * src/hildon-window.c
3456 * src/hildon-wizard-dialog.c:
3458 Lots of documentation fixes.
3460 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3462 Patch contributed by Iván Gómez (igomez@igalia.com)
3464 * src/hildon-check-button.c:
3465 * src/hildon-date-button.c:
3466 * src/hildon-date-selector.c:
3467 * src/hildon-dialog.c:
3468 * src/hildon-edit-toolbar.c:
3469 * src/hildon-entry.c:
3470 * src/hildon-picker-button.c:
3471 * src/hildon-program.c:
3472 * src/hildon-text-view.c:
3473 * src/hildon-time-button.c:
3474 * src/hildon-touch-selector-entry.c:
3475 * src/hildon-window-stack.c:
3477 Add more "since" tags to the new API.
3479 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3481 * doc/hildon-sections.txt: Add below method.
3482 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3483 version for the hildonized scale.
3484 * src/hildon-gtk.h: Add the definition.
3486 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3488 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3490 * doc/hildon-sections.txt: Add missing entries for new methods.
3492 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3494 Added API to pannable are in order to get its adjustments. We
3495 added two properties to manage the values we had in the private
3498 * src/hildon-pannable-area.c:
3499 (hildon_pannable_area_class_init): Added hadjustment and
3500 vadjustment properties in order to expose horizontal and vertical
3502 (hildon_pannable_area_get_property),
3503 (hildon_pannable_area_set_property): Added code to handle the new
3505 (hildon_pannable_area_get_hadjustment),
3506 (hildon_pannable_area_get_vadjustment): API functions to get the
3508 * src/hildon-pannable-area.h:
3509 (hildon_pannable_area_get_hadjustment),
3510 (hildon_pannable_area_get_vadjustment): API functions to get the
3513 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3515 Fixed some leaks, after valgrinding.
3517 * src/hildon-touch-selector.c:
3518 (_default_print_func): Fixed a leak.
3519 (hildon_touch_selector_append_column): Fixed a leak.
3520 * src/hildon-date-button.c:
3521 (hildon_date_button_init): Fixed a leak.
3522 * src/hildon-date-selector.c
3523 (hildon_date_selector_finalize): Fixed a leak.
3525 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3527 Based on a patch by Christian Dywan (christian@imendio.com)
3529 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3531 * src/hildon-gtk.h: Add definition.
3533 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3535 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-picker-button.c: (hildon_picker_button_init),
3538 (hildon_picker_button_new): Set the HildonButton::style property
3539 in the init method, to propagate the value to the derived classes.
3541 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-button.c: (hildon_button_class_init): Do not make
3544 the "style" property a construct property.
3546 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-wizard-dialog.h
3549 * src/hildon-wizard-dialog.c
3550 (hildon_wizard_dialog_set_forward_page_func)
3551 * src/hildon-pannable-area.h
3552 * src/hildon-pannable-area.c
3553 (hildon_pannable_area_set_size_request_policy):
3554 Documentation fixes.
3556 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3558 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3560 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3562 * doc/hildon-sections.txt: Added sections file.
3564 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3567 * src/*.[ch]: Updates.
3569 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3571 * examples/hildon-progress-indicator-example.c: new file
3572 * examples/Makefile.am: include the new example program
3574 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3578 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3580 * configure.ac: post release version bump
3581 * debian/changelog: version bump
3583 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: bump version
3589 * debian/changelog: updates
3590 * debian/control: bump gtk+ dependency
3592 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-dialog.c: Mark as deprecated.
3595 * src/hildon-dialog.h: Mark as deprecated.
3596 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3597 from HildonDialog and still work, even if
3598 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3599 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3601 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3602 maemo changes) instead)
3604 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3606 * src/hildon-pannable_area.h:
3607 * src/hildon-pannable_area.c:
3608 (hildon_pannable_area_class_init),
3609 (hildon_pannable_area_set_property),
3610 (hildon_pannable_area_get_property),
3611 (hildon_pannable_area_size_request),
3612 (hildon_pannable_area_get_size_request_policy),
3613 (hildon_pannable_area_set_size_request_policy): Added new API
3614 allowing applications to control the request policy. Now they can
3615 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3616 children allocation (HILDON_MOVEMENT_CHILDREN).
3618 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3622 (hildon_gtk_tree_view_set_ui_mode)
3623 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3624 mode of treeviews and iconviews.
3626 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-touch-selector-entry.c:
3629 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3630 of a GtkEntry to get proper theming.
3632 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3633 widget, not GtkEntry)
3635 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3638 no HildonWizardDialogPageFunc.
3640 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3642 Patch contributed by Iván Gómez (igomez@igalia.com)
3644 * src/hildon-app-menu.c:
3645 * src/hildon-button.c:
3646 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3647 * src/hildon-stackable-window.c:
3648 * src/hildon-time-selector.c:
3649 * src/hildon-touch-selector.c:
3650 * src/hildon-window.c:
3652 Add more "since" tags to the new API in hildon 2.2.
3654 2008-12-05 Tim Janik <timj@imendio.com>
3656 Patch contributed by Christian Dywan (christian@imendio.com)
3658 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3659 HildonSizeType, which are supplied by Gtk+ now.
3661 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3663 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3664 (with maemo changes) instead)
3666 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3668 Patch contributed by Iván Gómez (igomez@igalia.com)
3670 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3673 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3675 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3676 (some_page_func), (main): Update the example to use a
3677 HildonWizardDialogPageFunc function.
3679 * src/hildon-wizard-dialog-private.h: Add private data for
3680 the HildonWizardDialogPageFunc function usage.
3682 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3683 (destroy), (hildon_wizard_dialog_init), (response),
3684 (hildon_wizard_dialog_set_forward_page_func):
3685 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3686 that applications can use to stop a HildonWizardDialog to jump to
3689 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3692 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3694 * src/hildon-program.h
3695 * src/hildon-program-private.h
3696 * src/hildon-program.c (hildon_program_init)
3697 (hildon_program_set_common_app_menu)
3698 (hildon_program_get_common_app_menu):
3699 New API for setting a common HildonAppMenu for all
3700 HildonStackableWindows registered with the HildonProgram.
3702 * src/hildon-stackable-window.c
3703 (hildon_stackable_window_toggle_menu):
3704 Use the common HildonAppMenu if a window doesn't have a specific
3707 * src/hildon-app-menu-private.h
3708 * src/hildon-app-menu.c
3709 (hildon_app_menu_get_parent_window):
3710 Function to obtain the window a HildonAppMenu is attached to.
3711 (hildon_app_menu_set_parent_window):
3712 Hide the menu if the parent window is set to NULL.
3714 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3716 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3717 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3718 search widget to popup.
3720 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3722 * configure.ac: post release version bump
3723 * debian/changelog: version bump
3725 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3730 * configure.ac: bump version
3731 * debian/changelog: updates
3733 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3735 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3737 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3738 (hildon_window_stack_window_realized)
3739 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3740 Set the leader GdkWindow when a window is stacked and realized,
3741 unset it when it's unstacked.
3742 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3744 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3746 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-stackable-window.h
3749 * src/hildon-window-stack.h:
3750 Protect definition of HildonWindowStack using the preprocessor.
3752 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3754 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3755 Fix warning if all menu items are hidden.
3757 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3759 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3761 * src/hildon-controlbar.c:
3762 * src/hildon-hvolumebar.c:
3763 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3764 Multiple scale size defines updates.
3766 Fixes: NB#94322 (Scale Updates)
3768 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3770 * examples/hildon-app-menu-example.c (create_menu)
3771 Show items after adding them to the menu, as in the future the
3772 menu will no longer call gtk_widget_show() on the added items.
3774 * src/hildon-app-menu.c:
3775 Update example as explained above.
3777 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-app-menu.c
3780 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3781 Make sure that all menu items have finger height.
3783 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3785 * src/hildon-picker-dialog.c:
3786 (_on_dialog_response), (_save_current_selection),
3787 (_restore_current_selection), (_clean_current_selection),
3788 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3789 Defined new functions in order to save the current internal selector
3790 selection previous open the dialog, in case that the use cancel the
3791 interaction, so the widget restores the previous selection.
3793 Fixes: NB#92032 (In calendar application, date values in 'new event'
3796 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3798 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-button.c: Add a reference to the button examples in
3801 hildon-button-example.c
3803 * examples/hildon-button-example.c: Added examples of the most
3804 common button layouts.
3806 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-app-menu.c (hildon_app_menu_show)
3809 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3811 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3813 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3815 * src/hildon-picker-dialog.c:
3816 (hildon_picker_dialog_init): Initialize the signal id for
3817 HildonTouchSelector::columns-changed.
3818 (+on_selector_columns_changed): Set up the interaction mode everytime a
3819 column is added or removed from the HildonTouchSelector.
3820 (_hildon_picker_dialog_set_selector): Connect to
3821 HildonTouchSelector::columns-changed and keep track of it.
3823 Make sure to update the interaction mode of the dialog everytime a
3824 column is added or removed in the HildonTouchSelector.
3826 Fixes: NB#93228 (Done button is not shown always in listpicker)
3828 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3831 a new ::columns-changed signal.
3832 (hildon_touch_selector_append_column): Emit ::columns-changed.
3833 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3835 Add a ::columns-changed signal, emitted when the number of columns in a
3836 HildonTouchSelector changes.
3838 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3841 (_hildon_picker_dialog_set_selector): Factor out the code
3842 to set up the dialog interaction mode.
3844 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3847 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3848 to signal_changed_id.
3850 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3855 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3857 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3858 Updated the logical ids related to ampm format, as now it is required to
3859 show it correctly localized even on languages with no default
3860 abbreviations for am or pm
3861 (_check_am_pm_format): check correctly the 24h format gconf property
3863 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3865 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3867 * src/hildon-button.c: Documentation updates.
3869 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3872 * src/hildon-caption.c: (hildon_caption_class_init):
3873 * src/hildon-color-button.c: (hildon_color_button_class_init):
3874 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3875 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3876 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3877 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3879 Remove deprecated GTK+ marshalers and replace them with the ones
3880 provided by GLib, for those available, add a marshaler for
3881 BOOLEAN:VOID, which is not available in GLib, and use it.
3883 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3885 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3886 the text from the previous column if there is no
3887 HildonTouchSelectorColumn::text-property set.
3889 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-button.h
3892 * src/hildon-button.c (hildon_button_set_property)
3893 (hildon_button_get_property, hildon_button_class_init)
3894 (hildon_button_set_style, hildon_button_get_style):
3895 New "style" property to change the visual appearance of the
3898 * src/hildon-picker-button.c (hildon_picker_button_new):
3899 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3901 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3902 HildonButton look like PickerButton)
3904 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3907 column while building the default string.
3909 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3912 scroll indicator by default.
3914 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3916 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3918 * src/hildon-main.c: Fix the documentation for hildon_init()
3920 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3922 * doc/hildon-docs.sgml
3926 * src/hildon-window-stack-private.h
3927 * src/hildon-window-stack.h
3928 * src/hildon-window-stack.c:
3929 New HildonWindowStack object, that adds support for multiple
3930 stacks of windows per process.
3932 * src/hildon-stackable-window-private.h
3933 * src/hildon-stackable-window.h
3934 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3935 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3936 (hildon_stackable_window_show, hildon_stackable_window_hide)
3937 (hildon_stackable_window_class_init)
3938 (hildon_stackable_window_init):
3939 Use HildonWindowStack for stack management.
3941 * src/hildon-program.c (hildon_program_pop_window_stack)
3942 (hildon_program_peek_window_stack)
3943 (hildon_program_go_to_root_window):
3944 Add a fallback implementation to the deprecated functions using
3947 * examples/hildon-stackable-window-example.c:
3948 Use the new HildonWindowStack API.
3950 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-stackable-window-private.h
3953 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3954 (hildon_stackable_window_hide, hildon_stackable_window_init):
3955 Remove all window stack management.
3957 * src/hildon-program-private.h
3958 * src/hildon-program.h
3959 * src/hildon-program.c (hildon_program_init)
3960 (hildon_program_pop_window_stack)
3961 (hildon_program_peek_window_stack)
3962 (hildon_program_go_to_root_window):
3963 Remove all window stack management and mark functions as
3966 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-app-menu.c (hildon_app_menu_realize):
3969 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3971 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3973 * configure.ac: post release version bump
3974 * debian/changelog: version bump
3976 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: bump version
3982 * debian/changelog: updates
3984 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3986 Based on initial code by Christian Dywan (christian@imendio.com)
3988 * doc/hildon-docs.sgml: Add section for hildon-main.
3989 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3990 * src/Makefile.am: Add new hildon-main.[ch]
3991 * src/hildon-defines.h: Update the icon sizes.
3992 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3993 new library initialization files and register icon sizes.
3994 * src/hildon-main.h: New declarations.
3995 * src/hildon.h: Include hildon-main.h
3997 Add new initialization functions to the library. These methods
3998 will register the hildon specific icon sizes and can be used in the
3999 future for other hildon specific bits.
4001 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4003 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-window.c: (hildon_window_realize),
4006 (hildon_window_notify), (-hildon_window_update_title): Do not set
4007 the application name in the window title.
4009 Fixes: NB#89754 (Applications shouldn't display their names in the
4012 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-note-private.h:
4015 * src/hildon-note.c: (hildon_note_set_property),
4016 (hildon_note_get_property), (hildon_note_class_init),
4017 (hildon_note_init), (hildon_note_finalize),
4018 (hildon_note_new_confirmation_with_icon_name),
4019 (hildon_note_new_information_with_icon_name):
4021 No need to mark as deprecated the actual code. Revert
4022 to avoid missing symbols in widgets using deprecated API.
4024 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4026 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4028 * src/hildon-volumebar.h
4029 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4030 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4032 * src/hildon-helper.h
4033 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4034 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4036 * examples/Makefile.am:
4037 Deprecate hildon-insensitive-example
4039 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4041 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4043 * examples/hildon-pannable-area-buttons-scroll-example.c:
4044 Make all buttons finger height
4046 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4048 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4050 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4051 update the day model only if it is really required, and to avoid the
4052 full-reconstruction aproach. Now it only add or remove the required days.
4054 The purpose of this is avoid superfluous HildonTouchSelector::changed
4057 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4058 with strange parameters)
4060 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4062 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4064 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4065 the WINDOW_TYPE property.
4067 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4069 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4072 Fix dependency to allow parallel compilation with make -jX
4074 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4077 color frame and some minor tweaks to make it more consistent with
4080 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4081 highlighted but not visible)
4083 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4085 * examples/Makefile.am: Fixed typo in the Makefile.am.
4087 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4089 Reviewed the use of MAEMO_GTK define, now we add the define in the
4090 compilation line, and we also add it to the pc file.
4092 * configure.ac: Added MAEMO_GTK define to the compilation command
4093 and removed it from the config.h.
4095 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4096 do not have to take care about this define if the library was
4100 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4102 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4104 * examples/Makefile.am,
4105 * examples/hildon-pannable-area-buttons-scroll-example.c,
4106 * examples/hildon-pannable-area-gesture-signals-example.c,
4107 * examples/hildon-pannable-area-scroll-jump-example.c,
4108 * examples/hildon-pannable-area-tree-view-example.c:
4109 Renamed the pannable area examples, now they have more meaningful
4112 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4114 * src/hildon-touch-selector.c:
4115 (hildon_touch_selector_set_column_selection_mode): Used of
4116 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4117 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4118 to avoid re-seting the same selection mode.
4120 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4121 breaks HildonPickerDialog)
4123 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4125 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4126 conditional in the Makefile.am
4128 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4131 Remove unused methods.
4133 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-button.c (hildon_button_init):
4136 Make button images center-aligned by default
4138 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4141 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4142 activated, we have to think about how to deal with both defines
4143 MAEMO_GTK and MAEMO_CHANGES.
4145 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4147 * examples/hildon-app-menu-example.c (create_menu): Make all
4148 buttons finger size.
4150 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4152 Fixed the compilation without maemo gtk adding ifdefs with
4153 MAEMO_GTK define to the code, we have to check this version more
4156 * examples/Makefile.am: Added control to avoid some examples that
4157 just make sense with maemo gtk.
4160 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4161 hildon modes with the define.
4163 * examples/hildon-edit-toolbar-example.c,
4164 (create_icon_view): Create the icon view without hildon-gtk
4165 helpers if we are not using maemo gtk.
4167 * src/hildon-touch-selector.c,
4168 (_create_new_column): Create the treeview without hildon-gtk
4169 helpers if we are not using maemo gtk.
4171 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4173 * src/hildon-pnnable-area.c,
4174 (hildon_pannable_area_dispose),
4175 (hildon_pannable_area_button_press_cb),
4176 (hildon_pannable_area_child_mapped),
4177 (hildon_pannable_area_add),
4178 (hildon_pannable_area_remove): Added code to control the position
4179 of the event_window when adding and removing children from the
4180 pannable. We have to raise the event window when the child is
4183 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4184 selection mode using custom widget inside pannable)
4186 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4188 * configure.ac: post release version bump
4189 * debian/changelog: version bump
4191 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4196 * configure.ac: bump version
4197 * debian/changelog: updates
4199 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4201 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4202 search mode, in order to avoid lose the focus on the treeview when
4203 a hw key (like enter) is pressed.
4205 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4206 in HildonDateSelector dialog)
4208 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4210 * debian/rules: Added --enable-maintainer-mode
4211 * Makefile.am: Added ACLOCAL_AMFLAGS
4213 This allows to properly regenerate the Makefiles if you modify the
4214 configure.ac or any Makefile.am.
4216 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4218 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4219 properties, not needed at all.
4221 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4225 * src/hildon-note.c: (hildon_note_set_property),
4226 (hildon_note_get_property), (hildon_note_class_init),
4227 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4228 (hildon_note_new_confirmation_add_buttons): Remove icons.
4229 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4230 (hildon_note_new_information_with_icon_name): Deprecate.
4231 (hildon_note_new_confirmation): Act directly, without calling
4232 the deprecated constructor.
4233 (hildon_note_new_information): Act directly, without calling
4234 the deprecated constructor.
4235 * src/hildon-note.h: Mark deprecate methods as such.
4236 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4237 not run tests on the deprecated methods if built with deprecation
4240 Fixes: NB#91688 (Never show icons in information notes/confirmation
4243 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4246 (hildon_app_menu_key_press): Remove leftover usage of the
4247 private structure in HildonAppMenu struct.
4248 * src/hildon-app-menu.h: Remove leftover private structure
4249 from the HildonAppMenu struct.
4251 Fixes a crasher when using the HildonAppMenu.
4253 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-picker-dialog.c: Use appropriate logical id
4256 for the default "Done" text.
4258 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4260 * configure.ac: post release version bump
4261 * debian/changelog: version bump
4263 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4265 Modified the way to scroll to the current selection just when the touch
4266 selector is shown on the screen, avoiding a g_idle. Added too a property
4267 to configure this behaviour. See hildon_pannable_area_jump_to_child
4268 documentation for more information.
4270 * src/hildon-touch-selector.c
4271 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4272 Added 'initial-scroll' property
4273 (hildon_touch_selector_set_property): Added
4274 (hildon_touch_selector_map): Removed as not required anymore
4275 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4276 only a concrete column, instead of iterate along all the columns
4278 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4283 * configure.ac: bump version
4284 * debian/changelog: updates
4286 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4288 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4289 compilation time warnings.
4291 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4294 the default value for HildonPannableArea::mov-mode to
4295 HILDON_PANNABLE_AREA_MODE_VERT.
4297 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4299 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4301 Reverting following commit:
4303 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-app-menu-private.h
4306 * src/hildon-app-menu.[ch]
4307 * src/hildon-button.[ch]
4308 * src/hildon-check-button.[ch]
4309 * src/hildon-entry.[ch]
4310 * src/hildon-pannable-area.[ch]
4311 * src/hildon-text-view.[ch]:
4312 Added private field to the object's structure.
4314 because it causes an ABI breakage. We will need to introduce these
4315 changes later at some point. See NB#91636 for an extensive
4316 explanation and status.
4318 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4320 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4322 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4323 remove special cases that are no longer necessary.
4325 Fixes: NB#91016 (Change toolbar sizes, simplification)
4327 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4329 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4330 is shown in the cancel note.
4332 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4335 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4336 (hildon_seekbar_init): Remove steppers, remove expose event.
4337 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4339 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4341 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4344 label font to "SmallSystemFont" for vertically arranged buttons.
4346 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4349 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4351 * src/hildon-check-button.c
4352 (hildon_check_button_set_active, hildon_check_button_clicked):
4353 Don't access private parts directly, use getters instead.
4355 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-check-button.c (hildon_check_button_new):
4358 Align the contents of the check button to the left.
4360 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4362 * src/hildon-pannable-area.c,
4363 (hildon_pannable_area_scroll_to),
4364 (hildon_pannable_area_jump_to),
4365 (hildon_pannable_area_scroll_to_child),
4366 (hildon_pannable_area_jump_to_child): Replace the mapped
4367 precondition of these functions with the realized, it is the
4368 correct state of the widget in this case. Changed the
4369 documentation according to this modification.
4371 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4373 Added a new EXTRA_CFLAGS option to add the deprecated define to
4374 the compilation command. This way we can avoid using the define in
4375 the documentation compilation.
4377 * configure.ac: Defined EXTRA_CFLAGS.
4379 * examples/Makefile.am:
4381 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4383 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4385 * src/hildon-picker-dialog.c:
4386 Defined a utility macro with the desired touch selector height
4387 Removed currently unused separator, and title_label variables from
4389 (hildon_picker_dialog_init): Removed code related to the creation
4390 of unused private variables title_label and separator.
4391 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4392 to ensure correct visualization of the touch selector inside the dialog.
4393 * src/hildon-touch-selector.c
4394 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4395 ensure a concrete height of the widget.
4397 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4400 * tests/Makefile.am:
4402 Remove spurious whitespaces.
4404 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4407 compilation warning after the cancel button removal.
4409 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4411 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4413 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4414 Makefile.am, that way we can choose not to compile some examples
4415 and tests of the deprecated widgets.
4417 * examples/Makefile.am: Divided the sources in deprecated and
4420 * src/Makefile.am: Added undef statement of the deprecated
4421 symbol to the enums file generation process.
4423 * src/hildon-color-chooser-dialog.c
4424 * src/hildon-color-chooser-dialog.h
4425 * src/hildon-color-button.c
4426 * src/hildon-color-button.h
4427 * src/hildon-color-chooser.c
4428 * src/hildon-color-chooser.h
4429 * src/hildon-controlbar.c
4430 * src/hildon-controlbar.h
4431 * src/hildon-date-editor.c
4432 * src/hildon-date-editor.h
4433 * src/hildon-hvolumebar.c
4434 * src/hildon-hvolumebar.h
4435 * src/hildon-private.c
4436 * src/hildon-private.h
4437 * src/hildon-range-editor.c
4438 * src/hildon-range-editor.h
4439 * src/hildon-seekbar.c
4440 * src/hildon-seekbar.h
4441 * src/hildon-time-editor.c
4442 * src/hildon-time-editor.h
4443 * src/hildon-time-picker.c
4444 * src/hildon-time-picker.h
4445 * src/hildon-volumebar.c
4446 * src/hildon-volumebar.h
4447 * src/hildon-vvolumebar.c
4448 * src/hildon-vvolumebar.h
4449 * src/hildon-bread-crumb-trail.h
4450 * src/hildon-bread-crumb-trail.c
4451 * src/hildon-calendar-popup.c
4452 * src/hildon-calendar-popup.h
4453 * src/hildon-weekday-picker.c:
4454 * src/hildon-weekday-picker.h:
4455 * src/hildon-bread-crumb-widget.c:
4456 * src/hildon-bread-crumb-widget.h:
4457 * src/hildon-bread-crumb.c:
4458 * src/hildon-bread-crumb.h:
4459 * src/hildon-calendar.c:
4460 * src/hildon-calendar.h:
4461 * src/hildon-caption.c:
4462 * src/hildon-code-dialog.c:
4463 * src/hildon-code-dialog.h:
4464 * src/hildon-font-selection-dialog.c:
4465 * src/hildon-font-selection-dialog.h:
4466 * src/hildon-get-password-dialog.c:
4467 * src/hildon-get-password-dialog.h:
4468 * src/hildon-login-dialog.c:
4469 * src/hildon-login-dialog.h:
4470 * src/hildon-number-editor.c:
4471 * src/hildon-number-editor.h:
4472 * src/hildon-set-password-dialog.c:
4473 * src/hildon-set-password-dialog.h:
4474 * src/hildon-sort-dialog.c:
4475 * src/hildon-sort-dialog.h: This is the list of deprecated
4478 * src/hildon-touch-selector.c:
4479 * src/hildon-window.c: Added undef statement to avoid compilation
4482 * tests/Makefile.am: Divided the sources in deprecated and
4485 * tests/check_test.c,
4486 (configure_tests): Marked the deprecated code that was adding
4487 suites with deprecated tests.
4489 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4491 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4493 * src/hildon-touch-selector.c: (_default_print_func): Do not
4494 duplicate a string returned by gtk_tree_model_get(), it is already
4497 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4500 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4502 * src/hildon-pannable-area.c
4503 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4504 method, it had problems when adding a widget with viewport the
4505 second time. Now checks if it already has a viewport and uses it.
4507 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4510 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4512 * src/hildon-pannable-area.c,
4513 (hildon_pannable_area_scroll_to),
4514 (hildon_pannable_area_jump_to),
4515 (hildon_pannable_area_scroll_to_child),
4516 (hildon_pannable_area_jump_to_child): Added a precondition to the
4517 scroll and jump to functions: the widget must be mapped before we
4518 can safely call these functions. We have also added documentation
4519 to the functions to explain how to use them in this situation.
4522 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4524 Reviewed the threading handling of the pannable widget, we have
4525 used the gdk_threads_add_timeout function instead of the usual
4526 glib handlers. This avoids some problems with the threads.
4528 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4529 (hildon_pannable_area_initial_effect),
4530 (hildon_pannable_area_scroll_indicator_fade),
4531 (hildon_pannable_area_button_press_cb),
4532 (hildon_pannable_area_timeout),
4533 (hildon_pannable_area_motion_notify_cb),
4534 (hildon_pannable_area_button_release_cb),
4535 (hildon_pannable_area_scroll_cb),
4536 (hildon_pannable_area_scroll_to): Removed the
4537 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4538 gdk_threads_add_timeout.
4540 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4542 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4547 * configure.ac: bump version
4548 * debian/changelog: updates
4550 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4552 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4553 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4554 * src/hildon-color-chooser-dialog.c:
4555 (hildon_color_chooser_dialog_init):
4556 * src/hildon-font-selection-dialog.c:
4557 (hildon_font_selection_dialog_init):
4558 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4560 Remove all cancel/close-like dialogs, as these are not going to be
4563 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4565 * src/hildon-note.c: (hildon_note_rebuild),
4566 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4569 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4571 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4573 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4574 sure all buttons are shown, even the Cancel/Close-like ones.
4576 Fixes: NB#90861 (Custom Confirmation dialogs should be
4577 protected from cancel button removal)
4579 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * debian/control: Change libhildon1-examples dependency from libhildon1
4583 * debian/libhildon1-examples.install
4585 * Makefile.am: Modified the final install directory for the examples on
4586 package libhildon1-examples
4587 * Makefile.static: Update clean target in order to remove all the binary
4590 Changes suggested by Claudio after review new libhildon1-examples package
4592 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4594 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4595 * src/hildon-touch-selector.c: Ditto.
4597 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4599 * debian/control: Added new package libhildon1-examples, in order to pack
4600 the current hildon examples as documentation
4601 * debian/rules: Not to compress .c files, modify some includes on the
4602 examples (as normally are compiled locally, but when installed it will
4603 require to include the installed libhildon1 library), and rename
4605 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4606 install all the example files on the new example package
4607 * examples/Makefile.static: Added static makefile that can be used to
4608 compile the examples, once installed the new example package
4609 * examples: Most of the examples were modified in order to grant that
4610 all use only '#include "hildon.h"', in order to be easy to prepare
4611 it on the example package
4613 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4616 * debian/libhildon1-dev.install
4617 * debian/libhildon1-doc.install:
4618 Move all gtk-doc files to a separate libhildon1-doc package.
4620 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4622 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4624 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4626 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4628 * debian/rules: Fixed a error in order to avoid unnecessary calls
4629 to autogen.sh on package building
4631 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4633 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4635 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4637 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4640 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4642 * src/hildon-picker-button.c
4643 (hildon_picker_button_finalize):
4644 Free priv->done_button_text
4646 * src/hildon-time-button.c
4647 (hildon_time_button_set_time)
4648 * src/hildon-picker-button.c
4649 (hildon_picker_button_clicked)
4650 (hildon_picker_button_selector_selection_changed)
4651 (hildon_picker_button_set_selector)
4652 * src/hildon-date-button.c
4653 (hildon_date_button_set_date):
4654 Free strings returned by hildon_touch_selector_get_current_text()
4656 * src/hildon-button.c (hildon_button_construct_child):
4657 Fix leaks in priv->image and priv->label_box
4659 Fixes: NB#90535 (Memory leak in picker button)
4661 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-button.c: (hildon_button_get_property): Do not access
4664 private elements directly, use getters instead.
4666 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-app-menu-private.h
4669 * src/hildon-app-menu.c
4670 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4671 Store the menu's parent window.
4673 * src/hildon-stackable-window.c
4674 (hildon_stackable_window_toggle_menu)
4675 (hildon_stackable_window_finalize):
4676 Set the menu's parent window when the menu is shown, unset it when
4679 * src/hildon-app-menu.c
4680 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4681 (hildon_app_menu_class_init):
4682 Send unhandled keyboard accelerators to the parent window.
4684 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-stackable-window.c
4687 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4689 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4691 * configure.ac: post release version bump
4693 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4696 * configure.ac: Bump version
4697 * debian/changelog: Updates
4698 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4701 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4703 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4706 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4707 GtkMenu with Hildon style.
4709 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4711 * src/hildon-picker-button.c:
4712 (hildon_picker_button_set_done_button_text): Set the dialog's
4713 done button text here as well.
4715 Fixes: NB#90232 (Picker button does not set the label on done button
4716 for the second time)
4718 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4723 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4725 * src/hildon-app-menu.c (hildon_app_menu_insert)
4726 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4727 the HildonAppMenu to be activatable using keyboard accelerators
4728 when the menu is not being shown.
4730 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4732 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4734 * src/hildon-stackable-window.c
4735 (hildon_stackable_window_show):
4736 Don't hide old windows automatically when new windows are shown:
4737 this is now a task for the window manager.
4738 (hildon_stackable_window_class_init)
4739 (hildon_stackable_window_hide):
4740 Remove windows from the stack everytime they're hidden.
4741 (hildon_stackable_window_realize):
4742 Don't change the _NET_WM_WINDOW_TYPE property. Use
4743 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4744 it as a stackable window.
4746 * src/hildon-program.c
4747 (hildon_program_pop_window_stack):
4748 Just hide the window to remove it from the stack.
4749 (hildon_program_go_to_root_window):
4750 Don't call gtk_widget_show(), this is now a task for the window
4753 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4755 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4757 * src/hildon-button.c
4758 (hildon_button_construct_child):
4759 Don't pack anything in the button until text or image are
4760 set. This allows adding a custom child after creating the button
4761 with hildon_button_new().
4762 (hildon_button_finalize, hildon_button_class_init)
4763 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4764 alignment and the label box even when they're not packed in the
4767 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4769 * src/hildon-touch-selector.h:
4770 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4771 currently the type definition was using GTK_TYPE_VBOX
4772 * src/hildon-touch-selector.c:
4773 Added some implementation notes in order to clarify that any other widget
4774 added without the column related API will not be included on the
4775 selection logic, and how the widget is freed, as some people ask about
4777 (hildon_touch_selector_remove): Reimplemented in order to free properly
4778 the column related data when you remove the private hbox.
4779 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4780 to get a proper HildonTouchSelectorColumn documentation
4782 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-touch-selector-entry.c:
4785 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4786 text in the GtkEntry and there is no item selected. Fixes a
4789 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-app-menu-private.h
4792 * src/hildon-app-menu.[ch]
4793 * src/hildon-button.[ch]
4794 * src/hildon-check-button.[ch]
4795 * src/hildon-entry.[ch]
4796 * src/hildon-pannable-area.[ch]
4797 * src/hildon-text-view.[ch]:
4798 Added private field to the object's structure.
4800 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4802 * configure.ac: post-release version bump
4804 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4808 * configure.ac: pre-release version bump
4810 * debian/changelog: updates.
4812 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4815 Disconnect the handler for HildonTouchSelector::changed.
4817 (hildon_picker_button_selector_selection_changed): Update the button
4818 value if the selection change was not triggered by the
4821 (hildon_picker_button_set_selector): connect to
4822 HildonTouchSelector::changed.
4824 Fixes: NB#89650 (Picker button is not updated, when selection in
4825 selector has changed)
4827 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4829 * src/hildon-picker-dialog.c
4830 (hildon_picker_dialog_realize): Removed as not required
4831 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4832 * src/hildon-picker-button.c
4833 (_current_selector_empty): New function, checks if the selector is empty
4834 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4835 if the current selector is empty, in order to avoid to show the dialog
4836 close the dialog in this case (and shows a g_warning).
4838 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4840 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4842 * src/hildon-pannable-area.c,
4843 (hildon_pannable_area_scroll): Added clause to stop movement when
4844 the child of pannable is smaller than one page.
4845 (hildon_pannable_area_scroll_to): Added conditions to avoid
4846 starting the scrolling movement if the child is smaller than one
4847 page, the complete child is in the screen, we do not have to move.
4849 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4851 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4854 this is managed automatically by the widget when the size of the
4857 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-picker-button.c
4860 (hildon_picker_button_set_done_button_text): Make a copy of the
4861 text, and free the previous value.
4863 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4865 * src/hildon-touch-selector-entry.c:
4866 (hildon_touch_selector_entry_print_func): Return the selected row's
4867 text if the entry is empty.
4869 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4872 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4874 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4876 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-check-button.h
4880 * src/hildon-check-button.c
4881 * examples/hildon-check-button-example.c:
4882 HildonCheckButton is now a new widget. 'toggled' signal added.
4884 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-program-private.h
4887 * src/hildon-program.c (hildon_program_init)
4888 (hildon_program_finalize): Removed unused variables group_leader
4889 and name from HildonProgramPrivate.
4891 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-check-button.c (hildon_check_button_set_active)
4894 (hildon_check_button_get_active, hildon_check_button_new): Use
4895 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4897 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4899 * src/hildon-touch-selector.h
4900 (hildon_touch_selector_set_column_attributes): added deprecation
4901 guard HILDON_DISABLE_DEPRECATED
4902 * src/hildon-time-selector.c
4903 (hildon_time_selector_set_time)
4904 (hildon_time_selector_get_time): Fixed a typo on documentation
4905 * src/hildon-touch-selector.c: update HildonTouchSelector and
4906 HildonTouchSelectorColumn documentation
4907 * src/hildon-touch-selector-entry.c: update "text-column" property
4909 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4910 to be added to the general documentation.
4912 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4914 * examples/hildon-pannable-area-example-4.c,
4916 * examples/hildon-pannable-area-example.c,
4917 (main): Modified the code in order to use the container add, with
4918 viewport treeviews could have problems if they are really big.
4920 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4922 * src/hildon-weekday-picker.c,
4923 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4924 the agreement regarding deprecation in the library.
4926 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4928 * examples/hildon-picker-button-multicolumn-example.c:
4929 (main): Use custom "done" button text.
4931 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4932 (hildon_picker_button_set_property),
4933 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4934 (hildon_picker_button_init),
4935 (+hildon_picker_button_get_done_button_text),
4936 (+hildon_picker_button_set_done_button_text): New methods to customize
4937 the "done" button label in the launched HildonPickerDialog. Also,
4940 * src/hildon-picker-button.h: add the public API.
4942 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-date-selector.h:
4945 * src/hildon-picker-dialog.h:
4946 * src/hildon-time-selector.h:
4947 * src/hildon-touch-selector-column.h:
4948 * src/hildon-touch-selector.h:
4950 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4951 declarations. Fixes gtk-doc warnings.
4953 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-picker-dialog.h
4956 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4957 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4959 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4960 long text is set as label for done button)
4962 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4964 * src/hildon-dialog.c (hildon_dialog_add_button):
4965 Set fixed width to all buttons in the HildonDialog.
4967 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4969 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4971 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4972 Set widget name using class name plus "-finger" or "-thumb".
4974 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4977 'clicked' when the state of the button is manually changed.
4979 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-app-menu.c (hildon_app_menu_realize)
4982 (hildon_app_menu_unrealize, hildon_app_menu_init)
4983 (hildon_app_menu_class_init, item_visibility_changed):
4984 Change the menu layout when the size of the screen changes.
4985 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4986 Show warning only when changing the number of colums using the
4989 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4991 * debian/compat: Set to 5
4992 * debian/control: Update dependencies.
4993 * debian/libhildon1-dbg.install: Remove.
4994 * debian/libhildon1-dev.install: Update according to cdbs paths.
4995 * debian/libhildon1.install: Update according to cdbs paths.
4996 * debian/rules: Switch to cdbs.
4998 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5000 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5001 'item' variable renamed to 'filter'
5003 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-app-menu.c (hildon_app_menu_insert)
5006 (hildon_app_menu_add_filter, remove_item_from_list)
5007 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5008 Don't leak hidden items when the menu is destroyed.
5010 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-app-menu.c (hildon_app_menu_insert)
5013 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5014 (hildon_app_menu_set_columns, item_visibility_changed)
5015 (filter_visibility_changed, hildon_app_menu_repack_filters)
5016 (hildon_app_menu_repack_items):
5017 Repack items and filters separately.
5019 Don't repack all items, change only the ones that are needed to
5022 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5024 * src/Makefile.am: added hildon-touch-selector-column.h
5026 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5028 * src/hildon-touch-selector.c: added the property "text-column" to the
5029 class HildonTouchSelectorColumn, and related get/set functions
5030 (_default_printf_func): updated to use "text-column" property
5031 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5032 "text-column" in his documentation, as this is now included on
5033 HildonTouchSelectorColumn. The get/set_property can still be used,
5034 working as a wrapper to the concrete column "text-column" property
5035 (_text_column_modified): callback added in order to handle the signal
5036 "notify::text-column" of the concrete HildonTouchSelectorColumn
5037 (hildon_touch_selector_entry_get_text_column)
5038 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5039 modified in order to use the HildonTouchSelectorColumn "text-column"
5041 * src/hildon-time-selector.c:
5042 * src/hildon-date-selector.c:
5043 * examples/hildon-touch-selector-example.c
5044 * examples/hildon-touch-selector-multi-cells-example.c
5045 * examples/hildon-picker-button-multicolumn-example.c
5046 Set the right value to "text-column" property on the creation of a new
5047 column using hildon_touch_selector_append_column()
5049 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5051 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5053 * src/hildon-app-menu.c
5054 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5055 updating the layout of the menu, don't create all widgets again,
5056 just repack the items in their new places.
5058 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5060 * src/hildon-time-selector.c
5061 (hildon_time_selector_get_time)
5062 (hildon_time_selector_set_time)
5063 Added documentation of these public methods
5065 * src/hildon-date-button.h
5066 * src/hildon-touch-selector-column.h
5067 * src/hildon-time-button.h
5068 * src/hildon-picker-dialog.h
5069 * src/hildon-time-selector.h
5070 * src/hildon-picker-button.h
5071 * src/hildon-touch-selector.h
5072 * src/hildon-time-picker.h
5073 * src/hildon-date-selector.h
5074 * src/hildon-touch-selector-entry.h
5075 Modified in order to use hildon-widgets code style
5077 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5079 Added deprecated support to the compilation process using
5080 HILDON_DISABLE_DEPRECATED
5082 * configure.ac: Added the --disable-deprecated to the configure
5085 * src/hildon-weekday-picker.c:
5086 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5087 to use the deprecated support. We will update the other deprecated
5088 widgets status in a new patch.
5090 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5092 * configure.ac: Fixed typo with fatal warnings support, the
5093 variable name was not correct
5095 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-app-menu.c
5098 * src/hildon-program.c: Update documentation.
5100 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5102 * configure.ac: Post-release version bump.
5104 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5109 * configure.ac: Pre-release version bump.
5110 * debian/changelog: Updates.
5112 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5114 * NEWS: Update news for previous releases.
5116 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5118 * examples/hildon-touch-selector-multi-cells-example.c:
5119 (create_selector): Update the example to use
5120 hildon_touch_selector_append_column() with a NULL renderer and set
5121 the renderers later.
5122 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5123 passed a NULL renderer. This is documented behavior now.
5125 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5126 This must be used if the developer wants full control on the layout of
5127 the renderers to be added to the column.
5129 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5131 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5133 * src/hildon-touch-selector.c: Documentation fixes.
5135 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-wizard-dialog-private.h: Remove image and box.
5138 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5139 (hildon_wizard_dialog_set_property), (response): Completely remove
5140 image/icon support, and the containers required for the layout.
5142 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5144 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5146 * src/hildon-app-menu.c: Updated documentation.
5148 * src/hildon-stackable-window.c
5149 (hildon_stackable_window_set_main_menu): Unref the old menu after
5150 ref'ing the new one.
5152 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-stackable-window.c
5155 (hildon_stackable_window_set_main_menu): Unref the previous menu
5156 instead of destroying it.
5158 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5159 floating reference and set has_user_ref_count to FALSE to make
5160 HildonAppMenu act like a normal ref-counted widget and not a
5163 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5166 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5168 * src/hildon-touch-selector-column.h: new file
5169 * src/hildon-touch-selector.h
5170 * src/hildon-touch-selector.c
5171 Implemented GtkCellLayout interface, in order to allow to configure
5172 the cell layout on each individual selector column
5173 (hildon_touch_selector_set_column_attributes): marked as deprecated
5174 * examples/hildon-touch-selector-multi-cells-example.c
5175 Example of how to use the GtkCellLayout interface on the selector
5177 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5179 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu.h
5182 * src/hildon-app-menu.c
5183 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5184 (hildon_app_menu_append, hildon_app_menu_prepend):
5185 New methods to prepend, insert and move items in the menu.
5187 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5189 * src/hildon-wizard-dialog.c:
5191 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5193 (create_title): Update logical IDs and related code.
5194 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5196 * src/hildon-wizard-dialog.h: Note that
5197 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5198 point, as it is not used anymore.
5200 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5202 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-note.c:
5205 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5206 shown. Do not display an icon in confirmation notes nor information
5208 (hildon_note_set_button_text): Update logical ID for cancel button.
5210 Fixes: NB#88850 (Update HildonNote button strings + signals)
5212 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-stackable-window.c
5215 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5217 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-app-menu-private.h
5220 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5221 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5222 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5223 temporary property 'columns' to change the number of columns.
5225 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5227 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5229 * examples/hildon-note-example.c: (on_information_clicked),
5230 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5231 debugging information.
5232 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5234 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5235 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5236 in order to close: this will be handled by the WM from now on.
5238 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5240 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-app-menu-private.h
5243 * src/hildon-app-menu.c
5244 (hildon_app_menu_append, hildon_app_menu_add_filter)
5245 (button_visibility_changed, hildon_app_menu_apply_style)
5246 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5247 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5248 layout everytime a button (item or filter) is shown or hidden.
5250 * src/hildon-stackable-window.c
5251 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5254 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5256 * src/hildon-touch-selector.c:
5257 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5258 that the treeview inside the touch selector is in fremantle hildon mode
5259 * examples/hildon-date-button-example.c
5260 * examples/hildon-picker-button-multicolumn-example.c
5261 * examples/hildon-touch-selector-entry-example.c
5262 * examples/hildon-touch-selector-example.c
5263 * examples/hildon-time-button-example.c
5264 * examples/hildon-picker-button-example.c:
5265 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5267 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5269 * examples/hildon-text-view-example.c: (main): Remove the
5270 gtkrc bits, now handled by the theme.
5272 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5277 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5279 * po/Makefile.am: Install properly the mo files.
5280 * po/en_GB.po: Update translation, to ease testing purposes.
5282 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5284 * examples/hildon-picker-button-example.c: (main): Select an item
5285 in the selector before setting it to the button.
5287 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5290 Update button's value if the selector has an item active.
5292 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5293 'value' with the selector)
5295 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5297 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5298 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5299 (hildon_picker_button_class_init): Plug the finalize method.
5300 (hildon_picker_button_set_selector): If there's a previously set
5301 selector, unref'it before setting a new one.
5303 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5304 HildonTouchSelector)
5306 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5308 * src/hildon-touch-selector-entry.c:
5309 (hildon_touch_selector_entry_changed): Check if there is no text
5310 selected before setting the entry text.
5313 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5315 * src/hildon-touch-selector.h
5316 * src/hildon-touch-selector.c
5317 (hildon_touch_selector_get_active)
5318 (hildon_touch_selector_set_active): New methods to set/get the
5319 index of the selected item.
5321 * src/hildon-picker-button.h
5322 * src/hildon-picker-button.c
5323 (hildon_picker_button_get_active)
5324 (hildon_picker_button_set_active): New methods to set/get the
5325 index of the selected item.
5327 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5329 * configure.ac: post-release version bump.
5331 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5335 * configure.ac: Pre-release version bump.
5336 * debian/changelog: Updates.
5337 * debian/control: Add myself as maintainer and depend on l10n
5340 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5342 * src/hildon-window.c
5343 (hildon_window_set_main_menu)
5344 * src/hildon-stackable-window.c
5345 (hildon_stackable_window_set_main_menu):
5346 Updated documentation.
5348 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5350 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5351 Don't free selector->priv manually.
5354 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5357 (hildon_gtk_window_set_progress_indicator):
5358 * src/hildon-gtk.h: Added the new API
5359 hildon_gtk_window_set_progress_indicator, it changes the state of
5360 the window progress hint.
5362 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-button.c
5365 * src/hildon-stackable-window.c: Minor documentation updates.
5367 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5369 * src/hildon-stackable-window.c: Updated documentation.
5371 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5373 * src/hildon-defines.h: Update margins definitions
5374 to the Fremantle sizes.
5377 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5379 * src/hildon-touch-selector.c,
5380 (_hildon_touch_selector_set_model): Cleaning the code after
5381 review, removed g_print and #if 0 from the code.
5383 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5385 * src/hildon-edit-toolbar.c: Update documentation.
5387 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5389 * src/hildon-check-button.h
5390 * src/hildon-check-button.c
5391 (hildon_check_button_set_label, hildon_check_button_get_label)
5392 * examples/hildon-check-button-example.c
5393 (button_clicked_cb):
5394 Removed deprecated methods.
5396 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-text-view.c:
5399 Add sample code to the documentation.
5401 * src/hildon-entry.h
5402 * src/hildon-text-view.h:
5403 Minor cosmetic changes.
5405 * src/hildon-entry.c:
5406 Add sample code to the documentation.
5407 (hildon_entry_init, hildon_entry_refresh_contents):
5408 Don't allow NULL values in the placeholder.
5410 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5412 * doc/hildon-docs.sgml
5414 * examples/Makefile.am
5415 * examples/hildon-text-view-example.c
5417 * src/hildon-text-view.c
5418 * src/hildon-text-view.h
5420 New HildonTextView widget, with example.
5422 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5424 * po/POTFILES.in: Add missing files with translatable strings.
5425 Partially fixes NB#88287.
5427 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5429 * examples/hildon-pannable-area-example-2.c: (main): No need to
5430 set the cellrenderer height inside hildon touch lists, the theme does
5433 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5435 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5436 they are integrated in the theme.
5438 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5440 * examples/hildon-entry-example.c: Update the example adding
5441 widgets to modify the text and the placeholder of the HildonEntry.
5443 * src/hildon-entry.c: Show the placeholder everytime the widget
5444 is empty and loses the focus.
5446 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5448 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5450 * src/hildon-pannable-area.c,
5451 (hildon_pannable_area_size_request): Fixed bug in height
5452 requisition, avoid increasing size and add border twice.
5454 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5456 * configure.ac: postrelease version bump.
5458 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5462 * configure.ac: Prerelease version bump.
5463 * debian/changelog: update.
5464 * debian/rules: make -dbg package contain useful debugging symbols.
5466 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-dialog.h
5469 * src/hildon-dialog.c
5470 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5471 New methods to add buttons with finger size.
5472 (hildon_dialog_new_with_buttons):
5473 Create buttons with finger size.
5475 * examples/hildon-dialog-example.c (main): Use HildonDialog
5476 methods to add buttons.
5478 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5480 * src/hildon-entry.c: Updated HildonButton documentation.
5482 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5485 button value label with (FALSE, FALSE) to prevent NB#88126 from
5488 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5490 * examples/hildon-pannable-area-example.c,
5491 (main): Removed examples panning a vbox inside a pannable
5492 area. Check bug NB#87965
5494 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5496 Patch contributed by Kris Rietveld (kris@imendio.com)
5498 * src/hildon-pannable-area.c,
5499 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5500 get_size and get_position, this saves an X server roundtrip.
5502 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5504 * doc/hildon-docs.sgml
5506 * examples/Makefile.am
5507 * examples/hildon-entry-example.c
5509 * src/hildon-entry.c
5510 * src/hildon-entry.h
5512 New HildonEntry widget, with example.
5514 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-button.c (hildon_button_construct_child): Pack the
5517 image with expand == fill == FALSE. This is a workaround for a bug
5520 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5522 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5523 labels for the text column, to make it more look more dynamic.
5525 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5527 * src/hildon-time-selector.c
5528 Define gettext auxiliar macro N_
5529 (_create_minutes_model)
5530 (_create_hours_model)
5531 (_create_ampm_model): use of strftime in order to fill the model
5532 * src/hildon-date-selector.c
5533 (hildon_date_selector_finalize):
5534 (_locales_init): remove the logic related to get the name of the months
5535 using nl_langinfo, as it is not required anymore
5537 (_create_year_model)
5538 (_create_month_model)
5539 (_update_day_model): use of strftime in order to fill the model properly
5542 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-button.h
5545 * src/hildon-button.c (hildon_button_get_image): New method to
5548 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5550 * src/hildon-touch-selector.c:
5551 (hildon_touch_selector_remove_column): Remove from the correct parent
5552 and also remove the list element and free it.
5555 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5557 * src/hildon-time-selector.c
5558 (_create_hours_model): change the range on 12h ampm format in order to use
5559 a 12-11 range instead of previous 01-12 range
5560 (hildon_time_selector_set_time): change the way to select the current time
5561 on 12h ampm format, due the change on the range
5562 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5565 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5567 * src/hildon-touch-selector.c
5568 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5569 in order to allow use this function on multiple row selection mode if
5570 the column is different that the first one
5573 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5575 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5576 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5578 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * src/hildon-date-selector.h: clean some comments, now on the .c
5581 * src/hildon-date-selector.c
5582 (hildon_date_selector_select_month): first implementation
5583 (hildon_date_selector_select_day): added documentation, reimplemented
5584 using hildon_date_selector_select_current_date to avoid repeat code
5587 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5589 Reviewed interaction logic based on device experiences, refactored
5592 * src/hildon-pannable-area.c,
5593 (hildon_pannable_area_class_init): Updated default vmax speed.
5594 (hildon_pannable_area_calculate_velocity): Added this function, it
5595 avoids duplicate valocity calculation. Adjusted calculation to
5596 avoid problems with zero dist events.
5598 (hildon_pannable_area_motion_notify_cb): Now we use the
5599 calculate_velocity function.
5601 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5603 * src/hildon-date-selector.c
5604 (hildon_date_selector_select_current_date): fix the day range check
5605 as it failed using the last day of the current month
5608 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5610 * src/hildon-touch-selector.c
5611 (hildon_touch_selector_get_num_columns): added a parameter validation
5614 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5616 * examples/Makefile.am
5617 * examples/hildon-edit-toolbar-example.c: Example of the
5618 HildonEditToolbar widget.
5620 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5622 * configure.ac: postrelease version bump.
5624 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5628 * configure.ac: prerelease version bump.
5629 * debian/changelog: update.
5631 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5633 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5634 renderer to display stock icons in the touch list. Also, set the sizes
5635 to the recommended in the style guide.
5637 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5638 * src/hildon-touch-selector.h
5639 (hildon_touch_selector_set_active_iter): renamed, now is
5640 hildon_touch_selector_select_iter
5641 (hildon_touch_selector_get_active_iter): renamed, now is
5642 hildon_touch_selector_get_selected
5643 (hildon_touch_selector_unselect_iter): added
5644 * src/hildon-touch-selector.c
5645 Update after API modification (methods renamed)
5646 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5647 order to avoid problems selecting multiple elements on the column
5648 (hildon_touch_selector_unselect_iter): added the implementation
5649 * src/hildon-time-selector.c
5650 * src/hildon-date-selector.c
5651 * src/hildon-touch-selector-entry.c
5652 Update methods calls after hildon-touch-selector.h API modification (methods
5655 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-stackable-window.c
5658 (hildon_stackable_window_finalize): Call the parent class's finalize.
5660 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5662 * examples/hildon-touch-selector-example.c: (create_selector): Use
5663 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5666 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5668 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5669 set a cell background color, to respect theming.
5671 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5673 * doc/hildon-docs.sgml
5676 * src/hildon-edit-toolbar.c
5677 * src/hildon-edit-toolbar.h
5678 * src/hildon.h: New HildonEditToolbar widget.
5680 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5682 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5685 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5686 * src/hildon-touch-selector.c
5687 (_create_new_column): use g_object_set instead of two g_object_set_property
5689 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5690 * src/hildon-touch-selector.c
5691 (_create_new_column): use of hildon_gtk_tree_view_new to create
5692 the treeview, instead of use directly g_object_new
5693 (_create_new_column): update the property name "vindicator-mode" for the
5694 new one "vscrollbar-policy"
5695 * examples/hildon-date-button-example.c
5696 * examples/hildon-picker-button-multicolumn-example.c
5697 * examples/hildon-touch-selector-entry-example.c
5698 * examples/hildon-touch-selector-example.c
5699 * examples/hildon-time-button-example.c
5700 * examples/hildon-picker-button-example.c
5701 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5702 to all the treeviews inside a pannable area.
5704 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-button.h
5707 * src/hildon-button.c (hildon_button_init)
5708 (hildon_button_set_arrangement, hildon_button_set_alignment)
5709 (hildon_button_set_title_alignment)
5710 (hildon_button_set_value_alignment)
5711 (hildon_button_set_image_alignment)
5712 (hildon_button_construct_child): New methods to set the alignment
5713 of the individual components of the button (title, value,
5714 image). Also, new method to alter the xscale and yscale properties
5715 of the GtkAlignment inside the button, so more complex layouts can
5718 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5720 * src/hildon-button.c (hildon_button_style_set)
5721 (hildon_button_class_init, hildon_button_set_arrangement)
5722 (hildon_button_construct_child): Apply style properties
5723 correctly. Use the 'image-spacing' style property too.
5725 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5728 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5731 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5733 * src/hildon-pannable-area.c,
5734 (hildon_pannable_area_size_request): Fixed problem with
5735 pannable-area size_request.
5737 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5739 Added management for the grab-focus to a child widget, like a
5740 range, we need to fade out the scrollbar when releasing.
5742 * src/hildon-pannable-area.c,
5743 (hildon_pannable_area_init): Connected the grab-focus signal to
5745 (hildon_pannable_area_grab_notify): Added this function in order
5746 to manage the situation when the grab-focus ends. We have to
5747 fade-out the scrollbar.
5749 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu.c: Minor documentation update.
5753 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-app-menu.c
5756 * examples/hildon-app-menu-example.c (create_menu): Update
5757 examples and documentation to explain how to connect callbacks.
5759 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5761 * examples/hildon-button-example.c
5762 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5763 hildon_stackable_window_new instead of gtk_window_new
5765 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5767 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5768 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5769 (hildon_pannable_area_set_property),
5770 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5771 (hildon_pannable_area_unrealize),
5772 (hildon_pannable_area_size_request),
5773 (hildon_pannable_area_size_allocate),
5774 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5775 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5776 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5777 (hildon_pannable_area_initial_effect),
5778 (hildon_pannable_area_redraw),
5779 (hildon_pannable_area_scroll_indicator_fade),
5780 (hildon_pannable_area_expose_event),
5781 (hildon_pannable_area_get_topmost), (synth_crossing),
5782 (hildon_pannable_area_button_press_cb),
5783 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5784 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5785 (hildon_pannable_area_motion_notify_cb),
5786 (hildon_pannable_area_button_release_cb),
5787 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5788 (hildon_pannable_area_remove),
5789 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5790 chage the code layout to a more GtkWidget like. Review the use of
5793 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5795 * examples/hildon-pannable-area-example-4.c,
5796 (main): Modified the name of the hindicator_mode to
5799 * src/hildon-pannable-area.c,
5800 (hildon_pannable_area_class_init),
5801 (hildon_pannable_area_motion_notify_cb),
5802 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5803 we have reduced the amount of signals and managed reviewed its
5804 rationale. Changed the default decelerate value.
5806 (hildon_pannable_area_add),
5807 (hildon_pannable_area_redraw): Refactored functions.
5809 (hildon_pannable_area_init),
5810 (hildon_pannable_area_get_property),
5811 (hildon_pannable_area_set_property):
5812 (hildon_pannable_draw_vscroll),
5813 (hildon_pannable_draw_hscroll),
5814 (hildon_pannable_area_initial_effect),
5815 (hildon_pannable_area_expose_event),
5816 (hildon_pannable_area_scroll),
5817 (hildon_pannable_area_button_press_cb),
5818 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5819 and vindicator_mode with hscrollbar_policy and
5820 vscrollbar_policy. Replaced hscroll and vscroll with
5821 hscroll_visible and vscroll_visible.
5823 (hildon_pannable_area_refresh): Refactor the function, remove
5824 variables and check the calls to this function, added resize
5825 conditions in case the children change their layout.
5827 (hildon_pannable_area_size_request): Added more detailed
5828 size_request calculation.
5831 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5833 * src/hildon-color-chooser.c
5834 (init_borders): use the correct gtk_border_free instead of g_free, to
5835 avoid a crash when this widget is used (ie: the three color selection
5838 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5840 * src/hildon-check-button.c,
5841 (hildon_check_button_set_active): Fixed problem when setting the
5842 active value, the widget was not redrawn.
5844 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5846 * src/hildon-pannable-area.c,
5847 (hildon_pannable_area_refresh),
5848 (hildon_pannable_area_scroll),
5849 (hildon_pannable_area_motion_notify_cb): Small code style change.
5851 (hildon_pannable_area_class_init): Default initial_hint set to
5852 FALSE, it is not in the specs.
5854 (hildon_pannable_area_initial_effect),
5855 (hildon_pannable_area_expose_event),
5856 (hildon_pannable_area_map),
5857 (hildon_pannable_area_init): Moved the launching point of the
5858 initial effect, it was in map but the sizes where not correct in
5859 that method so we do not know if we have the reproduce it. Now it
5860 is placed in the expose_event method and uses a variable to
5861 reproduce it just once.
5863 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5865 * src/hildon-pannable-area.c,
5866 (hildon_pannable_draw_vscroll),
5867 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5868 position allowed for the scrollbars.
5870 (hildon_pannable_area_size_allocate): Small style change.
5872 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5874 * src/hildon-pannable-area.c,
5875 (hildon_pannable_area_scroll_indicator_fade),
5876 (hildon_pannable_area_button_press_cb),
5877 (hildon_pannable_area_button_release_cb),
5878 (hildon_pannable_area_scroll_cb),
5879 (hildon_pannable_area_expose_event),
5880 (hildon_pannable_area_init): Added the define parameter
5881 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5882 and refactor the fade variable.
5884 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5886 * src/hildon-pannable-area.c,
5887 (hildon_pannable_area_redraw),
5888 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5889 lines, we were reimplemeting the redraw code.
5891 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5893 * src/hildon-pannable-area.c,
5894 (hildon_pannable_area_scroll_cb),
5895 (hildon_pannable_area_realize),
5896 (hildon_pannable_area_class_init): Added scroll_event management
5897 for pannable area, now we can scroll the usual desktop method.
5899 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5900 initialization of the parameters should depend on idle_id.
5902 (hildon_pannable_area_init),
5903 (hildon_pannable_area_map): Small code style modifications
5905 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5907 * src/hildon-pannable-area.c
5908 (hildon_pannable_area_button_press_cb),
5909 (hildon_pannable_area_motion_notify_cb),
5910 (hildon_pannable_area_button_release_cb),
5911 (hildon_pannable_area_size_allocate),
5912 (hildon_pannable_area_scroll_to): Improved the timeouts
5913 management, we avoid creating them each time.
5915 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5917 * src/hildon-pannable-area.c:
5918 (hildon_pannable_area_refresh),
5919 (hildon_pannable_area_motion_notify_cb),
5920 (hildon_pannable_area_class_init):
5921 * src/hildon-pannable-area.h:
5922 * src/hildon-touch-selector.c
5923 (_create_new_column):
5924 * examples/hildon-pannable-area-example-4.c:
5925 (horizontal_movement),
5926 (vertical_movement),
5928 Replaced the names of enums in the HildonPannableArea:
5929 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5930 HILDON_MOVEMENT_MODE_*
5931 - HILDON_PANNABLE_AREA_MOV_* ->
5933 - Removed HildonPannableAreaIndicatorMode, now we
5936 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5938 * examples/hildon-pannable-area-touch-grid-example.c
5939 * examples/hildon-pannable-area-touch-list-example.c: Fix
5940 compilation warnings.
5942 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5944 * src/hildon-gtk.c (hildon_gtk_button_new)
5945 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5946 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5947 images overriding the value of the "gtk-button-images" setting.
5949 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5951 * src/hildon-check-button.c (hildon_check_button_new):
5952 Instead of using a custom container, display the label and the
5953 checkbox using the standard GtkButton API.
5955 * examples/hildon-check-button-example.c (main): Don't use
5956 hildon_check_button_set_label() anymore
5958 * src/hildon-check-button.h
5959 * src/hildon-check-button.c
5960 (hildon_check_button_set_label, hildon_check_button_get_label):
5961 Set as deprecated, now we're using gtk_button_{get,set}_label()
5963 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5965 * src/hildon-pannable-area.c,
5966 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5967 GtkTreeview first line we detected it after the inclusion of the
5968 GtkWindowImpl in gtk+. We now check if the window is visible, not
5969 just if the pointer is over the window.
5970 (hildon_pannable_axis_scroll),
5971 (hildon_pannable_area_expose_event): Small style changes.
5973 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5975 * src/hildon-button.c: Update documentation.
5977 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5979 * examples/hildon-button-example.c: Add a switch to show images in
5982 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5984 * doc/hildon-docs.sgml: Some docs reorganization.
5986 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5988 * examples/hildon-pannable-area-touch-list-example.c
5990 * examples/hildon-pannable-area-touch-grid-example.c
5991 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5992 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5993 Fix memory leak when setting the tree model.
5995 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5999 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6001 * doc/hildon.types: Remove duplicated hildon_window_get_type
6002 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6003 documentation comment.
6005 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6007 * doc/Makefile.am: Complete list of private headers.
6009 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6011 * doc/hildon-docs.sgml
6012 * src/hildon-app-menu.c
6013 * src/hildon-bread-crumb.c
6014 * src/hildon-button.c
6016 * src/hildon-program.c
6017 * src/hildon-stackable-window.c
6018 * src/hildon-window.c: Lots of documentation updates.
6020 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6022 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6024 * configure.ac: Require Gtk+ 2.12.9 at least
6026 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6028 * src/hildon-pannable-area.c
6029 (hildon_pannable_area_scroll_indicator_fade),
6030 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6031 to protect the return of this timeout callbacks, avoiding deadlocks.
6033 2008-08-12 Christian Dywan <christian@imendio.com>
6036 * src/hildon-*.h: Ensure a consistent include order,
6037 include <gtk/gtk.h> instead of particular files and
6038 only include the topmost header in the gtk stack. See NB #39857
6040 2008-08-12 Christian Dywan <christian@imendio.com>
6042 * src/hildon-picker-dialog.c
6043 * src/hildon-touch-selector.c: Fix warnings about unused and
6044 uninitialized variables.
6046 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6048 * examples/Makefile.am
6049 * examples/hildon-check-button-example.c: Example of the hildon
6052 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-window.h
6055 * src/hildon-window.c (hildon_window_class_init)
6056 (hildon_window_unset_program): Don't make
6057 hildon_window_unset_program a virtual function anymore.
6059 * src/hildon-stackable-window.c: Update documentation
6061 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6064 * doc/hildon-docs.sgml
6065 * doc/visual_index.xml
6066 * src/hildon-defines.c
6068 * src/hildon-helper.c
6069 * src/hildon-range-editor.c: Lots of documentation fixes.
6071 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6073 * examples/hildon-picker-button-multicolumn-example.c
6074 (create_touch_selector): Fix compilation warning.
6076 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6079 (hildon_pannable_area_button_release_cb)
6080 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6082 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6084 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6087 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6089 * src/hildon-bread-crumb-trail.h
6090 * src/hildon-date-editor.c
6091 * src/hildon-date-selector.c
6092 * src/hildon-pannable-area.c
6093 * src/hildon-picker-dialog.c
6094 * src/hildon-time-selector.c
6095 * src/hildon-touch-selector-entry.c
6096 * src/hildon-touch-selector.c
6097 * src/hildon-touch-selector.h: Misc documentation fixes
6099 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6101 * examples/hildon-date-editor-example.c (main): Updated date
6104 * examples/hildon-note-example.c (on_confirmation_clicked):
6105 Updated confirmation note example.
6107 * src/hildon-date-editor.c
6108 * src/hildon-note.c: Updated sample programs in documentation.
6111 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6113 * src/hildon-date-button.h:
6114 * src/hildon-picker-button.h:
6115 * src/hildon-time-button.c:
6116 * src/hildon-time-button.h:
6118 Some declarations changes to allow gtk-doc to document the widgets
6121 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/hildon-date-button.c: Document the widget.
6124 * src/hildon-time-button.c: Document the widget.
6126 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-picker-button.c: Document the widget.
6129 * src/hildon-touch-selector-entry.c: Document the widget.
6131 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6133 * doc/hildon-docs.sgml
6136 * src/hildon-check-button.h
6137 * src/hildon-check-button.c: New functions to create the Hildon
6141 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6143 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-button.h
6146 * src/hildon-button.c
6147 (hildon_button_add_title_size_group)
6148 (hildon_button_add_value_size_group)
6149 (hildon_button_add_image_size_group)
6150 (hildon_button_add_size_groups): New functions to set size groups
6151 for the button labels and image.
6152 (hildon_button_new_full): Removed
6154 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6156 * src/hildon-time-selector.c
6157 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6158 in order to avoid a crash if gconf is not available
6160 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6162 * src/hildon-button.c (hildon_button_set_arrangement)
6163 (hildon_button_construct_child): Don't construct the button child
6164 before setting the arrangement.
6166 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-program-private.h
6169 * src/hildon-program.c
6170 * src/hildon-program.h
6171 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6172 (hildon_program_peek_window_stack)
6173 (hildon_program_pop_window_stack)
6174 (hildon_program_go_to_root_window): HildonProgram now has a
6175 separate list for stackable windows. Functions are provided to
6176 manage that list with a stack-like API.
6178 * src/hildon-stackable-window.c: Stackable window management is
6179 now much simpler with the new HildonProgram API. Windows no
6180 longer need to be manually added to the program, they're
6181 automatically pushed to the top of the stack when shown.
6183 * examples/hildon-stackable-window-example.c: Updated example to
6184 reflect the API changes.
6186 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-touch-selector.c: Comment out unimplemented
6189 hildon_touch_selector_insert_column() to avoid a compile warning.
6191 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6193 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6194 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6195 (hildon_touch_selector_set_column_selection_mode),
6196 (_hildon_touch_selector_set_model),
6197 (hildon_touch_selector_set_model):
6199 Complete review of HildonTouchSelector documentation.
6201 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6203 * doc/hildon-docs.sgml
6207 * src/hildon-gtk.c: Convenience functions for standard Gtk
6208 widgets, used to easily perform frequent operations.
6210 * src/hildon-button-helpers.h
6211 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6213 * src/hildon-helper.h
6214 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6215 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6217 * src/hildon-button.h
6218 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6220 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-button.c (hildon_button_init)
6223 (hildon_button_set_arrangement, hildon_button_construct_child):
6224 Pack the image and the labels inside the same GtkAlignment so
6225 gtk_button_set_alignment() can be used
6227 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6229 * src/hildon-button.h
6230 * src/hildon-button.c
6231 (hildon_button_init, hildon_button_set_image)
6232 (hildon_button_set_image_position)
6233 (hildon_button_construct_child): New functions to add an image to
6236 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-date-button.c
6239 * src/hildon-picker-button.c
6240 * src/hildon-time-button.c
6241 * src/hildon-button.c:
6242 (hildon_button_class_init): "size-flags" renamed to "size"
6243 (hildon_button_set_title): Hide the title label if set to NULL.
6245 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6247 HildonButtonFlags split into HildonButtonArrangement (to set the
6248 button layout) and HildonSizeType (which can be used for any
6251 * src/hildon-button.h
6252 * src/hildon-button.c
6253 (hildon_button_class_init)
6254 (hildon_button_set_arrangement)
6255 (hildon_button_set_property): New "size-flags"
6256 property. "arrangement-flags" renamed to "arrangement".
6257 (hildon_button_new, hildon_button_new_with_text)
6258 (hildon_button_new_full): Constructors updated to reflect type changes.
6260 * src/hildon-helper.h
6261 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6262 to set the size of a widget.
6266 * src/hildon-button-helpers.c
6267 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6269 * src/hildon-date-button.c
6270 * src/hildon-date-button.h
6271 * src/hildon-picker-button.c
6272 * src/hildon-picker-button.h
6273 * src/hildon-time-button.c
6274 * src/hildon-time-button.h: Updated widgets to reflect
6275 HildonButton API changes.
6277 * examples/hildon-button-example.c
6278 * examples/hildon-date-button-example.c
6279 * examples/hildon-picker-button-example.c
6280 * examples/hildon-picker-button-multicolumn-example.c
6281 * examples/hildon-time-button-example.c
6282 * examples/hildon-touch-selector-entry-example.c
6283 * examples/hildon-touch-selector-example.c: Updated examples to
6284 reflect HildonButton API changes.
6286 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6288 * doc/hildon-docs.sgml:
6290 * examples/Makefile.am:
6291 * examples/hildon-touch-selector-entry-example.c:
6293 * src/hildon-touch-selector-entry.c:
6294 * src/hildon-touch-selector-entry.h:
6297 Moved HildonTouchSelectorEntry from sandbox. Added its
6298 documentation and examples.
6300 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6302 * src/hildon-touch-selector.h:
6303 * examples/hildon-picker-button-multicolumn-example.c:
6304 (hildon_touch_selector_append_text_column): Add a gboolean
6305 parameter to determine if text must be centered in the column.
6307 * src/hildon-date-selector.c: (hildon_date_selector_init):
6308 * src/hildon-time-selector.c: (hildon_time_selector_init):
6309 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6310 (create_touch_selector): Update widgets and example to reflect
6313 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6315 * src/hildon-touch-selector.c:
6316 (hildon_touch_selector_set_active_iter): Set also the cursor in
6319 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6321 * doc/hildon-docs.sgml
6324 * src/hildon-toggle-button.c
6325 * src/hildon-toggle-button.h
6326 * src/hildon.h: Removed HildonToggleButton widget, a derived
6327 class is not necessary for this.
6329 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6331 * src/hildon-pannable-area.c,
6332 (hildon_pannable_area_realize),
6333 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6336 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6338 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6339 "done" button the default widget for the dialog.
6341 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-touch-selector.c:
6344 (hildon_touch_selector_class_init),
6345 (hildon_touch_selector_get_property),
6346 (_hildon_touch_selector_set_model),
6347 (_hildon_touch_selector_has_multiple_selection),
6348 (hildon_touch_selector_has_multiple_selection):
6349 Add a "has-multiple-selection" property with a virtual
6350 has_multiple_selection() method to allow derived classes to
6351 override the default value for it. See the method and property
6352 documentation for details.
6354 * src/hildon-touch-selector.h: Add the new API.
6356 * src/hildon-picker-dialog.c: (requires_done_button): Call
6357 hildon_touch_selector_has_multiple_selection() instead of
6358 determining the need for a button itself.
6360 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6363 (_hildon_touch_selector_set_model),
6364 (hildon_touch_selector_set_model): Move working code to
6365 _hildon_touch_selector_set_mode(). Call the class method instead.
6367 * src/hildon-touch-selector.h: Add (*set_model) to
6368 HildonTouchSelectorClass.
6370 Make hildon_touch_selector_set_model() a virtual method, so that
6371 derived classes can extend it and do fancy stuff with the model.
6373 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6375 * configure.ac: Set back the tarname in AC_INIT to hildon.
6377 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6381 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6382 instead of libesd (NB#86876). Volume handling is still an open issue.
6384 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6387 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6389 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6390 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6391 derived class to ease placement of an entry widget in
6392 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6393 end, where the selector columns are packed now.
6395 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6397 * src/hildon-picker-button.c: Removed the simple _text() API.
6398 * src/hildon-picker-button.h: Likewise.
6400 * src/hildon-touch-selector.h:
6401 * src/hildon-touch-selector.c:
6402 (hildon_touch_selector_new_text),
6403 (hildon_touch_selector_append_text),
6404 (hildon_touch_selector_prepend_text),
6405 (hildon_touch_selector_insert_text):
6407 Moved the simple _text() API from HildonPickerButton to
6408 HildonTouchPicker, to provide better escalability and not to tie
6409 that API to HildonPickerButton.
6411 * examples/hildon-picker-button-example.c: (main): Example updated.
6413 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6415 * src/hildon-button.c: Updated documentation.
6417 * examples/hildon-button-example.c: Add the posibility to create
6418 the buttons using horizontal layout for title and value.
6420 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6422 * src/hildon-app-menu-private.h
6423 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6424 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6425 GtkSizeGroup for the filters, use the 'homogeneous' property of
6428 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6430 * examples/hildon-button-example.c: Updated example.
6432 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6434 * doc/hildon-docs.sgml:
6437 Update documentation.
6439 * examples/Makefile.am: Update renamed examples.
6441 * examples/hildon-picker-button-multicolumn-example.c:
6442 (create_touch_selector), (main): Update after the rename.
6444 * examples/hildon-touch-picker-example.c: Removed.
6445 * examples/hildon-touch-selector-example.c: (value_changed),
6446 (create_selector), (get_visible_content), (main): Renamed from
6447 hildon-touch-picker-example.c
6449 * src/Makefile.am: Updated renamed files.
6451 * src/hildon-date-button.c: (hildon_date_button_init),
6452 (hildon_date_button_get_date), (hildon_date_button_set_date):
6453 * src/hildon-date-selector.c: (hildon_date_selector_init),
6454 (_custom_print_func), (_update_day_model),
6455 (_manage_selector_change_cb),
6456 (hildon_date_selector_select_current_date),
6457 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6458 * src/hildon-date-selector.h:
6459 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6460 (hildon_picker_button_set_property),
6461 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6462 (hildon_picker_button_init), (hildon_picker_button_new_text),
6463 (hildon_picker_button_append_text),
6464 (hildon_picker_button_prepend_text),
6465 (hildon_picker_button_insert_text),
6466 (hildon_picker_button_set_selector),
6467 (hildon_picker_button_get_selector):
6468 * src/hildon-picker-button.h:
6469 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6470 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6471 (_update_title_on_selector_changed_cb), (requires_done_button),
6472 (_hildon_picker_dialog_set_selector),
6473 (hildon_picker_dialog_set_selector),
6474 (hildon_picker_dialog_get_selector):
6475 * src/hildon-picker-dialog.h:
6476 * src/hildon-time-button.c: (hildon_time_button_init),
6477 (hildon_time_button_get_time), (hildon_time_button_set_time):
6478 * src/hildon-time-selector.c: (hildon_time_selector_init),
6479 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6480 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6481 * src/hildon-time-selector.h:
6484 Massive code updates after the rename.
6486 * src/hildon-touch-picker.c: Removed.
6487 * src/hildon-touch-picker.h: Removed.
6489 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6490 (hildon_touch_selector_init), (hildon_touch_selector_map),
6491 (hildon_touch_selector_remove), (_default_print_func),
6492 (_selection_changed_cb), (_create_new_column),
6493 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6494 (hildon_touch_selector_append_text_column),
6495 (hildon_touch_selector_remove_column),
6496 (hildon_touch_selector_set_column_attributes),
6497 (hildon_touch_selector_insert_column),
6498 (hildon_touch_selector_get_num_columns),
6499 (hildon_touch_selector_get_column_selection_mode),
6500 (hildon_touch_selector_set_column_selection_mode),
6501 (hildon_touch_selector_set_print_func),
6502 (hildon_touch_selector_get_print_func),
6503 (hildon_touch_selector_get_active_iter),
6504 (hildon_touch_selector_set_active_iter),
6505 (hildon_touch_selector_get_selected_rows),
6506 (hildon_touch_selector_get_model),
6507 (hildon_touch_selector_set_model),
6508 (hildon_touch_selector_get_current_text),
6509 (_hildon_touch_selector_center_on_selected_items):
6510 * src/hildon-touch-selector.h: Renamed from
6511 hildon-touch-picker.[ch]
6513 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6514 references, code examples, and related documentation.
6516 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6518 * doc/hildon-docs.sgml
6521 * src/hildon-toggle-button.c
6522 * src/hildon-toggle-button.h
6523 * src/hildon.h: New HildonToggleButton widget.
6525 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-button.c: Add API documentation.
6528 (hildon_button_set_size_groups): Check input parameters
6530 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6532 * src/hildon-pannable-area.c
6533 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6534 effect after reaching the movement thredshold. This way we start
6535 using the distance after passing the thredshold.
6537 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6539 * src/hildon-button.c: (hildon_button_set_property): Use the
6540 appropriate g_value_get_flags() method.
6542 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6544 * doc/hildon-docs.sgml:
6547 Add the touch pickers, picker dialogs, and picker button widgets
6548 to the documentation.
6550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6552 * src/hildon-button.c: (hildon_button_set_property),
6553 (hildon_button_class_init): Make "arrangement-flags" a proper
6554 G_TYPE_FLAGS derived property.
6556 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6558 * examples/Makefile.am: Add below examples.
6559 * examples/hildon-date-button-example.c:
6560 * examples/hildon-picker-button-example.c:
6561 * examples/hildon-picker-button-multicolumn-example.c:
6562 * examples/hildon-time-button-example.c:
6563 * examples/hildon-touch-picker-example.c:
6565 Add examples for the recently added touch pickers,
6566 picker dialogs, and picker button widgets.
6568 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6570 * src/hildon-button.c: Add some API documentation
6572 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6574 * src/hildon-button.h
6575 * src/hildon-button.c
6577 (hildon_button_new_with_text): New constructor to create a button
6578 with no text at all.
6579 (hildon_button_init, hildon_button_set_arrangement)
6580 (hildon_button_set_title, hildon_button_set_value)
6581 (hildon_button_set_text)
6582 (hildon_button_construct_child): Hide the value when it's not used
6583 so the rest of the text is properly aligned.
6584 Allow creating buttons with arbitrary widgets inside (not just
6585 title/value labels).
6587 * examples/hildon-button-example.c (vertical_buttons_window)
6588 (horizontal_buttons_window): Update example to use new API.
6590 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6592 * src/Makefile.am: Added HildonTimeButton.
6593 * src/hildon-time-button.c: Added missing LGPL header.
6594 * src/hildon-time-button.h: Added missing LGPL header.
6595 * src/hildon.h: Add hildon-time-button.h
6597 Copied HildonTimeButton from sandbox to trunk. Future work on this
6598 widget must take place in trunk.
6600 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6602 * src/Makefile.am: Added HildonDateButton.
6603 * src/hildon-date-button.c: Update includes.
6604 * src/hildon.h: Add hildon-date-button.h
6606 Copied HildonDateButton from sandbox to trunk. Future work on this
6607 widget must take place in trunk.
6609 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6611 * src/Makefile.am: Added HildonPickerButton.
6612 * src/hildon-picker-button.h: Update includes.
6613 * src/hildon.h: Add hildon-picker-button.h
6615 Copied HildonPickerButton from sandbox to trunk. Future work on
6616 this widget must take place in trunk.
6618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6620 * src/Makefile.am: Added HildonPickerDialog.
6621 * src/hildon-picker-dialog.c: Update includes.
6622 * src/hildon.h: Add hildon-picker-dialog.h
6624 Copied HildonPickerDialog from sandbox to trunk. Future work
6625 on this widget must take place in trunk.
6627 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6629 * src/Makefile.am: Added HildonTimeSelector.
6630 * src/hildon.h: Add hildon-time-selector.h
6632 Copied HildonTimeSelector widget from sandbox to trunk. Future
6633 work on this widget must happen in trunk.
6635 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6637 * src/Makefile.am: Added HildonDateSelector.
6638 * src/hildon.h: Add hildon-date-selector.h
6640 Copied HildonDateSelector widget from sandbox to trunk. Future
6641 work on this widget must happen in trunk.
6643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6645 * src/Makefile.am: Added HildonTouchPicker.
6646 * src/hildon-touch-picker.c: Update includes.
6647 * src/hildon.h: Add hildon-touch-picker.h
6649 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6650 on this widget must happen in trunk.
6652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6654 * src/hildon-pannable-area.c:
6655 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6657 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6659 * examples/hildon-app-menu-example.c (main): Let the window
6662 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6664 * src/hildon-pannable-area.c
6665 (hildon_pannable_area_class_init): Set the min value of the
6666 overshoot properties to zero, which points out that not
6667 overshooting allowed.
6669 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6671 Modified the procedure to get the widget at a point inside the
6672 pannable area when using the movement type signals. Now the user
6673 has to call a function to get the child, that way we just
6674 calculate the child in case the user really want to use it and not
6677 * src/hildon-marshalers.list: Modified the marshallers, now we do
6678 not have the widget as a parameter.
6680 * src/hildon-pannable-area.c
6681 (hildon_pannable_area_motion_notify_cb),
6682 (hildon_pannable_area_class_init),
6683 (hildon_pannable_get_child_widget_at): Removed the widget
6684 parameter from the signal callback. We have also refactored the
6685 emission of the signals.
6687 * src/hildon-pannable-area.h: Added a new method to the API to
6688 calculate a widget at a point inside the pannable area,
6689 hildon_pannable_get_child_widget_at.
6691 * examples/hildon-pannable-area-example-4.c
6692 (horizontal_movement): Modified the example to use the new API,
6693 added condition to control which widget is under the event. This
6694 way we can avoid scrolling laterally over other widgets.
6696 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6698 * src/hildon-pannable-area.c
6699 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6700 modes, we stop getting the pointer events due to returning the
6701 callback without properly calling the get pointer again. Fixed
6702 also an error using the hscroll and vscroll.
6704 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-app-menu-private.h
6707 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6708 (hildon_app_menu_button_release, hildon_app_menu_init)
6709 (hildon_app_menu_class_init): Don't hide the menu on button
6710 release if the user didn't press outside first.
6712 * src/hildon-window.h
6713 * src/hildon-window.c (hildon_window_toggle_menu)
6714 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6715 hildon_window_toggle_menu a virtual function for the stackable
6716 window to override it.
6718 * src/hildon-stackable-window.h
6719 * src/hildon-stackable-window-private.h
6720 * src/hildon-stackable-window.c
6721 (hildon_stackable_window_realize)
6722 (hildon_stackable_window_finalize)
6723 (hildon_stackable_window_class_init)
6724 (hildon_stackable_window_init)
6725 (hildon_stackable_window_set_main_menu): New function to set the
6726 app menu of a HildonStackableWindow.
6728 * examples/hildon-app-menu-example.c: Remove the button to show
6729 the app menu, now it'll be shown when clicking on the title bar
6732 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6734 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6735 set the widget name if the arrangement flags do not specify
6738 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6740 * src/hildon-button.c: (hildon_button_set_property),
6741 (hildon_button_class_init), (hildon_button_new_full),
6742 (hildon_button_set_arrangement): Added "arrangement-flags"
6745 Make the HildonButtonFlags a construction-only property, to allow
6746 subclasses to set them properly.
6748 2008-07-21 Tim Janik <timj@imendio.com>
6750 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6751 insertion position after backspace, so additional digits are appended,
6754 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6756 * src/hildon-pannable-area.c,
6757 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6758 TODO list, it was complete and removed the g_debug and g_print
6761 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6763 Added the movement modes to the hildon-pannable-area, with this
6764 modes the developers can control in which directions the widget
6765 can scroll. They can also connect to signals in order to do
6766 something when that happens, allowing applications scroll. There
6767 is an example uploaded showing how to use it.
6769 * examples/Makefile.am:
6770 * examples/hildon-pannable-area-example-4.c: Added this example of
6771 an application using the modes.
6773 * src/hildon-marshalers.list: Added a new marshaller for the new
6776 * src/hildon-pannable-area.h: Added new enumerations and flags in
6777 order to control the movement modes and the new signals to warn
6778 about the movements in the area.
6780 * src/hildon-pannable-area.c:
6781 (hildon_pannable_axis_scroll),
6782 (hildon_pannable_area_scroll),
6783 (hildon_pannable_area_motion_notify_cb),
6784 (hildon_pannable_area_get_property),
6785 (hildon_pannable_area_set_property),
6786 (hildon_pannable_area_map),
6787 (hildon_pannable_area_class_init),
6788 (hildon_pannable_area_init),
6789 (hildon_pannable_area_jump_to): Added the modes to control the
6790 movement in the widget. We have added properties to control it,
6791 signals to warn about the movements and refactored some code.
6793 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6795 Changes required in order to allow vfast_factor set to zero to
6798 * src/hildon-pannable-area.c:
6799 (hildon_pannable_area_button_press_cb): Changed the condition, it
6800 is required for not allowing click when vfast_factor is zero.
6801 (hildon_pannable_area_timeout): Initialized velocity variables
6802 when we stop moving, it was less than 1 but not zero and we need
6803 to check zero in some situations.
6804 (hildon_pannable_area_class_init): Changed the default value of
6805 the speed factor, now the button_press is just sent in case the
6806 speed is 2 per cent of the max speed.
6807 (hildon_pannable_area_init): Initialization with 0.
6809 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6811 * src/hildon-pannable-area.c,
6812 (hildon_pannable_area_get_topmost): replaced
6813 gdk_window_get_children with gdk_window_peek_children, this way we
6814 do not have to free the list because it is not a copy.
6816 (hildon_pannable_axis_scroll),
6817 (hildon_pannable_area_scroll),
6818 (hildon_pannable_area_timeout),
6819 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6820 two parameters that were only used inside the
6821 hildon_pannable_area_scroll function.
6823 * examples/hildon-pannable-area-example.c,
6824 (get_sawtooth_label): Fixed small memory leak.
6826 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6828 More checks for the case where the overshoot is bigger than the
6831 * src/hildon-pannable-area.c:
6832 (hildon_pannable_draw_vscroll),
6833 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6834 to draw the slider of the scrollbar under the other scrollbar.
6835 (hildon_pannable_area_expose_event): added new checks to control
6836 the drawing of the overshooting area rectangle, in case it is too
6837 big for the area of the widget.
6838 (hildon_pannable_area_size_allocate): add more checks to avoid
6839 setting a position to the child widget outside the area.
6841 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6843 * src/hildon-pannable-area.c
6844 (hildon_pannable_area_size_allocate): Added conditions to control
6845 when overshooting is bigger than the allocated space for the
6846 children, this avoids negative allocations.
6848 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6850 * doc/hildon-docs.sgml
6852 * examples/Makefile.am
6853 * examples/hildon-button-example.c
6855 * src/hildon-button.c
6856 * src/hildon-button.h
6857 * src/hildon.h: Initial version of the new HildonButton widget,
6860 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6862 * src/hildon-pannable-area.c:
6863 (hildon_pannable_area_button_press_cb),
6864 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6865 (hildon_pannable_area_motion_notify_cb),
6866 (hildon_pannable_area_button_release_cb),
6867 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6868 (hildon_pannable_area_jump_to_child):
6870 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6872 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6874 * examples/Makefile.am
6875 * examples/hildon-pannable-area-touch-grid-example.c
6876 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6877 the Hildon Touch List and Hildon Touch Grid using the
6878 HildonPannableArea widget.
6880 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6882 * src/hildon-pannable-area.c,
6883 (hildon_pannable_area_button_press_cb),
6884 (hildon_pannable_area_refresh),
6885 (hildon_pannable_area_scroll),
6886 (hildon_pannable_area_motion_notify_cb),
6887 (hildon_pannable_area_button_release_cb),
6888 (hildon_pannable_area_expose_event),
6889 (hildon_pannable_area_add),
6890 (hildon_pannable_area_remove),
6891 (hildon_pannable_area_realize),
6892 (hildon_pannable_area_size_allocate),
6893 (hildon_pannable_area_class_init),
6894 (hildon_pannable_area_init),
6895 (hildon_pannable_area_scroll_to_child),
6896 (hildon_pannable_area_jump_to_child): Fixed the problem of
6897 removing the child from the GtkBin, we have rearranged the widget
6898 hierarchy, now there is no GtkAlignment which was not doing
6899 anything interesting but breaking some of the assumptions of
6900 GtkContainer. Now developers if they want to add a GtkAlignment
6901 they could, but it is not inside the area.
6903 We had to review the whole allocation/expose process, now it is
6904 improved and we save at least three signals which would be saving
6905 some time when rendering the widget. The allocation of the
6906 scrollbars is now made in the allocate method as usual.
6908 We have also added some conditions in order to control when there
6909 is no child of the pannable area. Maybe we will need more work
6912 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6914 * src/hildon-pannable-area.c,
6915 (hildon_pannable_area_dispose): Released the fade-out timeout when
6916 disposing the widget.
6918 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6920 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6921 zero, we are going to use that property in order to deactivate the
6923 (hildon_pannable_axis_scroll),
6924 (hildon_pannable_area_size_allocate): Added conditions to control
6925 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6926 call, now it is called in all situations and we can remove calls
6927 in the allocate method.
6928 (hildon_pannable_area_map): Control the situation when
6929 overshoot_max is zero, we do not need the timeout.
6930 (hildon_pannable_area_class_init): Added documentation in order to
6931 point out that setting zero to overshoot_max means deactivate
6934 NOTE: removed trailing whitespaces from my previous comments of
6937 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6939 * src/hildon-pannable-area.c
6940 (hildon_pannable_area_get_property),
6941 (hildon_pannable_area_set_property),
6942 (hildon_pannable_area_map),
6943 (hildon_pannable_area_class_init),
6944 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6945 to cause the widget give a hint about its panning abilities upon
6948 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6950 * src/hildon-pannable-area.c: Several documentation improvements.
6952 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6954 * src/hildon-program.c
6955 * src/hildon-stackable-window.c: Update documentation.
6957 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6959 * src/hildon-stackable-window.c (get_previous_window_if_last):
6960 Renamed get_last_window()
6961 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6962 (hildon_stackable_window_unset_program):
6964 (get_previous_window_if_last):
6965 Detect if the window hasn't been added to a HildonProgram.
6967 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6969 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6971 * src/hildon-pannable-area.c
6972 (hildon_pannable_area_button_press_cb),
6973 (hildon_pannable_axis_scroll),
6974 (hildon_pannable_area_scroll),
6975 (hildon_pannable_area_timeout),
6976 (hildon_pannable_calculate_vel_factor),
6977 (hildon_pannable_area_get_property),
6978 (hildon_pannable_area_set_property),
6979 (hildon_pannable_area_class_init),
6980 (hildon_pannable_area_init),
6981 (hildon_pannable_area_scroll_to),
6982 (hildon_pannable_area_jump_to),
6983 (hildon_pannable_area_scroll_to_child),
6984 (hildon_pannable_area_jump_to_child):
6985 * src/hildon-pannable-area.h: Added the new API functions:
6986 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6987 hildon_pannable_area_scroll_to_child,
6988 hildon_pannable_area_jump_to_child
6991 * examples/Makefile.am
6992 * examples/hildon-pannable-area-example-2.c
6993 * examples/hildon-pannable-area-example-3.c: Added these two new
6994 examples in order to test and show how the new APIs work.
6996 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6998 * examples/hildon-stackable-window-example.c (new_window):
6999 * src/Makefile.am (noinst_HEADERS):
7000 * src/hildon-program.c (hildon_program_go_to_root_window):
7001 * src/hildon-program.h:
7002 * src/hildon-stackable-window-private.h:
7003 * src/hildon-stackable-window.c:
7004 * src/hildon-stackable-window.h:
7005 Create hildon-stackable-window-private.h
7006 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7008 * examples/hildon-app-menu-example.c (create_menu):
7009 * examples/hildon-hvolumebar-insensitive-example.c (main):
7010 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7011 * examples/hildon-toolbar-seekbar-example.c (main):
7012 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7013 * src/hildon-banner.c (hildon_banner_set_property):
7014 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7015 Fix compilation warnings
7017 * src/hildon-window.c:
7020 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7022 * src/hildon-stackable-window.c
7023 (hildon_stackable_window_unset_program):
7024 Calculate correctly whether to show the previous window if the
7025 last one is removed from the stack.
7026 (hildon_stackable_window_go_to_root_window):
7027 Send delete events starting from the topmost window.
7028 Stop if one of the windows is not destroyed.
7030 (hildon_stackable_window_delete_event)
7031 (hildon_stackable_window_class_init):
7032 Ignore the delete event if the window is not the topmost one.
7034 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7036 * src/hildon-pannable-area.c
7037 (hildon_pannable_area_expose_event): Fixed a problem when
7038 selecting the background color of the scrollbars.
7040 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7042 * examples/hildon-stackable-window-example.c
7043 * src/hildon-stackable-window.c
7044 * src/hildon-stackable-window.h
7045 hildon_stackable_window_go_home() renamed to
7046 hildon_stackable_window_go_to_root_window()
7047 Send delete events to windows rather than closing them with
7048 gtk_widget_destroy()
7050 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-pannable-area.c
7053 (hildon_pannable_area_button_release_cb): Fix overshooting in
7056 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7058 * src/hildon-pannable-area.c
7059 (hildon_pannable_area_init): Initially show the scroll indicators.
7060 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7062 Add initial effect showing the widget is pannable.
7064 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-pannable-area.c
7067 (hildon_pannable_area_class_init)
7068 (hildon_pannable_area_set_property)
7069 (hildon_pannable_area_get_property)
7070 (hildon_pannable_area_button_press_cb):
7071 New 'velocity_fast_factor' property to decide which velocity is
7074 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7076 * src/hildon-pannable-area.c
7077 (hildon_pannable_draw_hscroll)
7078 (hildon_pannable_draw_vscroll):
7079 Use float variables to calculate the size of the scrollbars to
7080 avoid error propagation and resizing during scrolling.
7082 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7084 * src/hildon-pannable-area.c
7085 (hildon_pannable_draw_vscroll)
7086 (hildon_pannable_draw_hscroll):
7087 Define a minimum size for the scroll bars
7089 * src/hildon-stackable-window.c
7090 (hildon_stackable_window_go_home): Fix compilation warning
7091 (get_last_window): Minor optimizations
7092 (hildon_stackable_window_class_init): Fix initialization of
7095 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7097 * src/hildon-stackable-window.c: Fixed typos in doc
7099 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7101 * src/hildon-pannable-area.c
7102 (hildon_pannable_area_scroll):
7103 Calculate here whether we need to scroll instead of using the booleans
7104 that tell us whether to /draw/ the scrolling bars.
7106 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7108 * src/hildon-app-menu.h
7110 * src/hildon-app-menu.c
7111 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7112 multiple filter groups related code and API. Now we support only
7114 * examples/hildon-app-menu-example.c:
7116 Update to reflect API changes.
7118 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7120 * src/hildon-stackable-window.c
7121 (hildon_stackable_window_class_init):
7122 Add hildon_stackable_window_realize.
7123 (hildon_stackable_window_realize):
7124 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7125 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7126 to apply theming and behavior specific to HildonStackableWindow
7129 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7131 * src/hildon-note.c (hildon_note_button_release):
7132 Close information notes also when tapping on them
7134 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7136 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7137 ELASTICITY, refactor and review, fix some issues with drawing
7140 * src/hildon-pannable-area.c:
7141 (hildon_pannable_area_button_press_cb): removed the conditions to
7142 avoid clicks when overshooting. It is not required
7144 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7145 define. Refatored and reviewed the code, now we do not need to
7146 manage velocity in motion_notify.
7148 (hildon_pannable_area_motion_notify_cb): We have moved the code
7149 that controls the area_scroll to the axis_scroll function and get
7150 rid of duplicated code.
7152 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7154 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7156 (hildon_pannable_draw_vscroll),
7157 (hildon_pannable_draw_hscroll): Fixed the problems with the
7158 scrollbar drawing, now we do not use two surfaces, it is easier
7159 and saves resources.
7161 (hildon_pannable_area_get_property): Style modification.
7163 (hildon_pannable_area_class_init): Changed some default values.
7165 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7167 * src/hildon-stackable-window.c: Fix some typos in the
7170 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7172 * src/hildon-dialog.c:
7173 Change indentation style
7176 (hildon_note_button_release):
7177 Use root coordinates to check if the release event happened
7180 * src/hildon-app-menu.c
7181 (hildon_app_menu_button_release):
7182 Remove unnecessary check
7184 * examples/hildon-app-menu-example.c
7186 Add cast to fix warning
7188 * src/hildon-app-menu.c
7189 (hildon_app_menu_class_init):
7190 New inner-border style property.
7191 Set all default spacings to 16
7192 (hildon_app_menu_init):
7193 Use vertical-spacing to set the space between filter buttons and
7194 regular menu buttons.
7195 Set the default container border using the inner-border value.
7197 * examples/hildon-app-menu-example.c
7199 Don't set the menu border explicitly, now we have the inner-border
7200 style property for that.
7202 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-app-menu.c (hildon_app_menu_init):
7205 Make the window modal
7207 * src/hildon-note.c (hildon_note_map)
7208 * src/hildon-app-menu.c (hildon_app_menu_map):
7209 Destroy the grab window if we're unable to grab the pointer
7211 * src/hildon-app-menu-private.h
7212 * src/hildon-app-menu.c
7213 (hildon_app_menu_init, hildon_app_menu_finalize)
7214 (hildon_app_menu_map, hildon_app_menu_unmap)
7215 (hildon_app_menu_button_release)
7216 (grab_transfer_window_get):
7217 Bring back the grab window
7218 (hildon_app_menu_realize):
7219 Decorate the window, set WM hint for Matchbox
7221 * src/hildon-note.c (hildon_note_realize):
7222 * src/hildon-banner.c (hildon_banner_realize):
7223 Add WM hints for Matchbox
7225 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7227 * src/hildon-app-menu-private.h
7228 * src/hildon-app-menu.c
7229 (hildon_app_menu_init, hildon_app_menu_finalize)
7230 (hildon_app_menu_map, hildon_app_menu_unmap)
7231 (hildon_app_menu_button_release):
7232 Remove the grab window, it's not needed anymore
7234 * src/hildon-program.c
7235 Fixed typo in documentation
7237 * src/hildon-app-menu.h
7238 * src/hildon-app-menu.c
7239 * examples/hildon-app-menu-example.c
7240 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7242 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7245 Added new transfer_window and close_if_pressed_outside private
7247 (hildon_note_rebuild):
7248 Don't add a cancel button to the information note. It will be
7249 closed when tapping outside
7250 Remove the comment about the OK button in the documentation
7251 (hildon_note_realize):
7252 Set the notification type hint
7253 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7254 Grab/ungrab pointer and keyboard if the note has to be closed when
7256 (hildon_note_button_release):
7257 Close the note when tapping outside (if applicable)
7259 * src/hildon-app-menu.c
7260 Grab/ungrab pointer and keyboard on map/unmap
7261 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7262 Close the menu on button release, not button press
7264 * src/hildon-banner.c
7265 (hildon_banner_set_property)
7266 (hildon_banner_check_position):
7267 Make the banner use the full width of the screen
7268 (hildon_banner_show_information)
7269 (hildon_banner_show_information_with_markup):
7270 Don't display an icon by default
7272 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7274 Added fading scrollbars and adapted all the overshooting code to
7275 horizontal scrolling. We have also fixed bugs with overshooting
7276 and current fading implementation.
7278 * src/hildon-pannable-area.c
7279 (hildon_pannable_area_scroll_indicator_fade): Time out function
7280 used to change the transparency of the scrollbars.
7282 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7283 control and fixed a problem with fading, we now remove the fade
7284 timeout before adding a new one.
7286 (hildon_pannable_axis_scroll):
7287 (hildon_pannable_area_scroll):
7288 (hildon_pannable_area_timeout): Added this functions so we can use
7289 the scroll code both for vertical and horizontal.
7291 (hildon_pannable_area_motion_notify_cb):
7292 (hildon_pannable_area_button_release_cb): Added the horizontal
7293 scrolling control, fixed a problem with the overshooting timeout.
7295 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7296 painting of the scrolls.
7298 (hildon_pannable_draw_vscroll):
7299 (hildon_pannable_draw_hscroll):
7300 (hildon_pannable_area_expose_event):
7301 Draw both scrollbars and rectangles in the overshooting area.
7303 (hildon_pannable_area_get_property):
7304 (hildon_pannable_area_set_property):
7305 Modified the overshoot property to overshoot_max
7307 (hildon_pannable_area_map):
7308 Replaced the comments symbols.
7310 (hildon_pannable_area_size_allocate):
7311 (hildon_pannable_area_class_init):
7312 (hildon_pannable_area_init): Added horizontal scroll, fading
7313 effect properties, fixed a problem when overshooting in the bottom
7316 * examples/hildon-pannable-area-example.c:
7317 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7318 looks better in the example.
7320 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7322 * src/hildon-window.c
7323 * src/hildon-window.h
7324 (hildon_window_class_init)
7325 (hildon_window_unset_program)
7326 (hildon_window_unset_program_real):
7327 Make unset_program a virtual function
7329 * src/hildon-stackable-window.c
7330 * src/hildon-stackable-window.h
7331 Added hildon_stackable_window_go_home()
7333 * examples/Makefile.am
7334 * examples/hildon-stackable-window-example.c
7335 HildonStackableWindow example
7337 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7339 * hildon-pannable-area.c: Added the overshoot property and removed
7340 the OVERSHOOT define. Fixed an indent style error.
7341 (hildon_pannable_area_motion_notify_cb):
7342 (hildon_pannable_area_get_property):
7343 (hildon_pannable_area_set_property): Add overshoot property.
7345 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7348 (hildon_pannable_area_class_init): Installed the new property.
7350 * hildon-pannable-area-example.c: Added a sawtooth function, this
7351 way it is easier to check the movement in the pannable.
7352 (get_sawtooth_label): Added this function.
7353 (main): Now we get the labels from the new get_sawtooth_label
7356 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7358 * src/hildon-app-menu.h
7359 * src/hildon-app-menu.c
7360 Renamed API variables for consistency
7362 (hildon_app_menu_popup): Use also the default window size to
7363 decide where to place the menu
7365 (hildon_app_menu_init, hildon_app_menu_class_init): New
7366 external-border style property
7368 2008-05-26 Michael Natterer <mitch@imendio.com>
7370 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7371 widget_class->tap_and_hold_setup signal slot doesn't exist any
7372 longer, stop overriding it.
7374 (hildon_time_editor_init): g_signal_connect() to the
7375 tap-and-hold-setup signal instead.
7377 (hildon_time_editor_entry_keypress): add cast to fix warning.
7379 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7381 * doc/hildon-docs.sgml
7383 * examples/Makefile.am
7384 * examples/hildon-app-menu-example.c
7386 * src/hildon-app-menu-private.h
7387 * src/hildon-app-menu.c
7388 * src/hildon-app-menu.h
7390 New HildonAppMenu widget
7392 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7394 Rearranged the inheritance of the pannable area, now it inherits
7395 from GtkBin. This will allow us to control the event_window and
7396 the allocation process of the widget, required for some effects.
7398 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7399 GtkBin structures. * src/hildon-pannable-area.c: Added the
7400 event_window variable.
7401 (hildon_pannable_area_button_press_cb):
7402 (hildon_pannable_area_button_release_cb):
7403 (hildon_pannable_area_motion_notify_cb):
7404 Changed the signature of the method, now we override the event
7405 callback instead of connecting to the signal.
7407 (hildon_pannable_area_realize):
7408 (hildon_pannable_area_unrealize):
7409 (hildon_pannable_area_map):
7410 (hildon_pannable_area_unmap):
7411 (hildon_pannable_area_size_allocate):
7412 Added functions to control the widget construction. We add a
7413 INPUT_ONLY window and we put it over the widgets inside the
7414 container, this event_window handles the events.
7416 (hildon_pannable_area_class_init):
7417 Replaced the signal connections with overrides of the event
7420 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7422 Bouncing effect added when touching the borders, you can change
7423 the elasticity of the border changing the ELASTICITY define.
7425 * src/hildon-pannable-area.c: Added ELASTICITY define.
7426 (hildon_pannable_area_timeout): Added inverse velocity when
7427 touching the border of the child widget, that causes a bounce.
7429 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7431 Improved performance, we now do not go to the X server in order to
7432 get the list of window children. Apparently the effect is the
7433 same, we have to be careful and check if this breaks something in
7436 * src/hildon-pannable-area.c:
7437 (get_ordered_children): Removed this function.
7438 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7439 the children windows function with gdk_window_get_children.
7441 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7443 * src/hildon-pannable-area.c:
7444 (hildon_pannable_area_dispose): Fixed a crash when closing the
7445 window and kinetics is activated.
7447 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7449 * src/hildon-pannable-area.h
7450 * src/hildon-pannable-area.c
7451 Changed indentation style to meet the one used in Hildon
7453 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7455 Reviewed the interaction of the AUTO mode, now we use the time
7456 attribute of the events and calculate the velocity in the motion,
7457 doing a gimp like calculation. The velocity is calculated in each
7458 motion event using the last velocity and the current one, the
7459 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7461 * src/hildon-pannable-area.c: Replaced the time based algorithm
7463 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7464 timeout for the AUTO mode when we are still moving the cursor. We
7465 added also the velocity calculation in this function.
7466 (hildon_pannable_area_button_release_cb): launch the timeout in
7467 case we are in AUTO mode. There are still some constants here that
7468 come from the old implementation that should be reviewed and
7471 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7473 * doc/hildon-docs.sgml
7476 * src/hildon-stackable-window.c
7477 * src/hildon-stackable-window.h
7479 New HildonStackableWindow widget
7481 * examples/hildon-dialog-example.c
7482 * examples/hildon-pannable-area-example.c
7485 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7487 * src/hildon-dialog.c
7488 (hildon_dialog_new_with_buttons): New constructor.
7490 * examples/hildon-dialog-example.c
7491 (main): Update the example to use the new
7492 hildon_dialog_new_with_buttons().
7494 * examples/hildon-pannable-area-example.c
7495 (main): Update example.
7497 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7499 * doc/hildon-docs.sgml
7501 Added HildonPannableArea to the documentation.
7503 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7505 * doc/visual_index.xml
7506 Fix reference to HildonLoginDialog in documentation
7508 * doc/hildon-docs.sgml
7510 * examples/Makefile.am
7511 * examples/hildon-dialog-example.c
7513 * src/hildon-dialog.c
7514 * src/hildon-dialog.h
7516 New HildonDialog widget.
7518 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7520 * src/hildon-pannable-area.c
7521 Merge latest changes (r4318, r4342) from libmokoui trunk
7523 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7525 * examples/Makefile.am
7526 * examples/hildon-pannable-area-example.c
7528 * src/hildon-pannable-area.c
7529 * src/hildon-pannable-area.h
7531 New HildonPannableArea widget.
7533 2008-04-15 18:05:19 <timj@imendio.com>
7535 * src/hildon-banner.c: revert the recent change, that introduced
7536 gtk_window_present() calls. this reopens:
7537 Bug 78481 - [freetest] information banners are hidden under browser menu
7538 But resolves another variant of:
7539 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7541 2008-04-15 13:21:13 <timj@imendio.com>
7543 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7544 recreated its layout, spotted by Kris. this fixes all remaining
7545 artefacts and stability issues with the banner code. in particular:
7546 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7548 2008-04-14 16:52:59 <timj@imendio.com>
7550 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7551 operating on unrealized widgets, fixes:
7552 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7554 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7556 2008-04-09 Kristian Rietveld <kris@imendio.com>
7558 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7559 makes banner disappear.
7560 Fixes: NB#79182: info banner flickering with certain message lengts.
7562 * src/hildon-banner.c (hildon_banner_constructor),
7563 (hildon_banner_init), (hildon_banner_set_text),
7564 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7565 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7566 FALSE, reset size requests of label and banner,
7567 (force_to_wrap_truncated): when the text is too wide, always enforce
7568 the maximum possible width instead of recalculating it from the
7569 layout; enforce the maximum banner height of 3 lines,
7570 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7571 nicer wrapping and no truncated chars if space gets tight.
7573 * src/hildon-banner-private.h: add has_been_wrapped and
7574 has_been_truncated fields.
7576 2008-04-07 Sven Herzberg <sven@imendio.com>
7578 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7579 local values in hildon_date_editor_size_allocate
7581 * src/hildon-date-editor.c: moved the real allocation code into the
7584 2008-04-07 Sven Herzberg <sven@imendio.com>
7586 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7587 local values in hildon_date_editor_size_allocate
7589 * src/hildon-date-editor.c: merged the two if() branches together
7591 2008-04-07 Sven Herzberg <sven@imendio.com>
7593 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7594 local values in hildon_date_editor_size_allocate
7596 * src/hildon-date-editor.c: changed the arguments of the if()
7599 2008-04-07 Sven Herzberg <sven@imendio.com>
7601 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7602 local values in hildon_date_editor_size_allocate
7604 * src/hildon-date-editor.c: split the calculation of the allocation
7605 from the real allocation
7607 2008-03-27 Michael Natterer <mitch@imendio.com>
7609 Fixes: NB#81696: The passcode is not overwritten even after
7612 * src/hildon-code-dialog.c
7613 (hildon_code_dialog_button_clicked)
7614 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7615 because that doesn't overwrite selected text. Instead, emit the
7616 "commit" signal on the entry's im_context so the entry's normal
7617 insert logic is triggered. Set the cursor to the end of the entry
7618 after each insert operation so that we *only* insert in the middle
7619 of the text if something was selected.
7621 2008-03-27 Michael Natterer <mitch@imendio.com>
7623 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7624 selector cannot be opened
7626 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7627 when the popup color selector is created. Please connect to this
7628 signal in order to set the dialog's help ID.
7630 2008-03-25 Sven Herzberg <sven@imendio.com>
7632 Fixes: MB#1212: Hide info banners (infoprints) on click
7634 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7635 extracted the close event simulation into an extra function
7636 (hildon_banner_button_press_event): simulate a close event and destroy
7637 the widget if the event wasn't handled
7638 (hildon_banner_class_init): added the button_press_event handler
7639 (hildon_banner_init): added button-press events to the widget
7641 2008-03-25 Sven Herzberg <sven@imendio.com>
7643 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7644 Patch from: Mohammad Anwari <mdamt@maemo.org>
7646 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7647 instead of the right in RTL mode
7648 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7649 breadcrumb button list in RTL mode
7650 * src/hildon-caption.c: mirror the appearance of the caption widget in
7652 * src/hildon-date-editor.c: mirror appearance of the date editor in
7654 * src/hildon-time-editor.c: mirror appearance of the time editor in
7656 * src/hildon-window.c: fix the position of the popup in RTL mode
7658 2008-03-25 Sven Herzberg <sven@imendio.com>
7660 Amendment to the fix of NB#22072. Fix compilation.
7662 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7664 2008-03-19 Sven Herzberg <sven@imendio.com>
7666 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7669 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7670 timeout id properly when the timeout will disappear this leaves no
7671 artifacts around in the destroy(); there will only be the timeout
7672 created by hildon_banner_ensure_timeout() and adding a new timeout
7673 will also work if the timeout gets removed because the timeout_handler
7676 2008-03-19 Michael Natterer <mitch@imendio.com>
7678 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7680 * src/hildon-volumebar.c
7681 * src/hildon-vvolumebar.c
7682 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7683 the widget becomes focussable at all.
7685 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7686 set the focus to wither the mute button or the volumebar.
7688 Remove own "can-focus" property and instead listen to
7689 notify::can-focus in order to update the widget's state.
7691 Implement GtkWidget::focus() and make sure we can also *leave* the
7692 widget, not only enter it, depending on volumebar orientation and
7693 requested focus direction.
7695 Clean up set_mute() to cooperate nicely with all the above.
7697 2008-03-04 Michael Natterer <mitch@imendio.com>
7699 Fixes: NB#78481: information banners are hidden under browser menu
7701 * src/hildon-banner.c: call gtk_window_present() on the banners so
7702 they are risen if they are already visible.
7704 2008-03-03 Sven Herzberg <sven@imendio.com>
7706 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7708 * examples/hildon-window-menu-example.c: (main): extended the window
7709 menu example to serve as a testcase for automatically added
7710 accelerator groups, too
7711 * src/hildon-window.c: (hildon_window_add_accel_group),
7712 (hildon_window_set_menu): added patch by Tommi Komulainen
7714 2008-03-03 Sven Herzberg <sven@imendio.com>
7716 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7718 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7719 knowledge about the border allocators used within GTK+
7721 2008-02-26 Sven Herzberg <sven@imendio.com>
7723 Fixes: MB#2981: Build with asserts broken
7725 * src/hildon-date-editor.c,
7726 * src/hildon-number-editor.c,
7727 * src/hildon-time-editor.c,
7728 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7729 the proper GType instance check
7731 2008-02-25 Sven Herzberg <sven@imendio.com>
7733 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7735 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7736 * examples/hildon-window-menu-example.c: (main): explicitly show
7738 * src/hildon-window.c:
7739 (hildon_window_set_main_menu): moved most of the code from set_menu()
7740 to this place; skipped the call to gtk_widget_show_all(); also didn't
7741 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7742 (hildon_window_set_menu): removed most of the code, just keep the
7743 questionable gtk_widget_show_all()
7744 * src/hildon-window.h: added the new function and deprecate the old
7747 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7753 * debian/changelog: Updating.
7755 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7758 * pkgconfig/Makefile.am:
7759 * pkgconfig/hildon.pc.in:
7762 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7763 use newly created API_MAJOR_VERSION.
7765 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7771 * debian/changelog: Updating.
7773 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7775 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7777 Add outer_border style property, we use it but don't define it (!).
7781 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7783 * examples/hildon-bread-crumb-trail-example.c (main):
7787 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7789 Fix logic for the bread crumb trail node removal.
7793 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * debian/changelog: Updating.
7801 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7803 Patch by Alejandro to get/set passwords dialogs accesibility.
7805 * hildon-1/src/hildon-get-password-dialog.c:
7806 * hildon-1/src/hildon-set-password-dialog.c:
7807 Set atk_set_name to the passwd entries in order to allow
7808 accessibility by name on this entries.
7810 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * debian/control: Updating gtk dep.
7817 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7819 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7820 USE_MAEMO_GTK is enabled.
7822 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7824 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7825 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7827 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * debian/changelog: Updating.
7835 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7837 * examples/Makefile.am:
7838 * examples/hildon-logical-color-example.c:
7839 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7840 applied + adding a test case. Fixes: NB#71660.
7842 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7844 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7845 to be visible, fixes warning on map for windows without toolbars.
7847 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7849 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7850 2.11.0, add a check for that besides the MAEMO_GTK check.
7852 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * debian/changelog: Updating.
7860 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7863 visibility. Fixes: NB#70842 and MB#615.
7865 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7867 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7868 set the separator as no-show-all so it doesn't unintentionally appear when
7869 someone does a show_all.
7871 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7873 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7874 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7875 toplevel item. Fixes: NB#62031
7877 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7879 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7880 fix the name of the function in the docs.
7882 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * debian/changelog: Updating.
7890 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * examples/hildon-banner-long-example.c: Adding a test-case for long
7895 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7897 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * src/hildon-color-chooser-dialog.c:
7900 * src/hildon-color-chooser.c:
7901 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7902 memory leaks in font selector and color selector. Fixes: NB#70499 and
7905 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7907 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7909 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7912 little bit bigger. Fixes: #NB63694.
7914 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7920 * debian/changelog: Updating.
7922 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7925 * doc/hildon-docs.sgml:
7926 * doc/images/bread-crumb-trail.png:
7927 * doc/images/calendar-popup.png:
7928 * doc/images/caption.png:
7929 * doc/images/code-dialog.png:
7930 * doc/images/color-button.png:
7931 * doc/images/color-chooser-dialog.png:
7932 * doc/images/color-chooser.png:
7933 * doc/images/controlbar.png:
7934 * doc/images/date-editor.png:
7935 * doc/images/font-selection-dialog.png:
7936 * doc/images/get-password-dialog.png:
7937 * doc/images/hvolumebar.png:
7938 * doc/images/login-dialog.png:
7939 * doc/images/note.png:
7940 * doc/images/number-editor.png:
7941 * doc/images/range-editor.png:
7942 * doc/images/seekbar.png:
7943 * doc/images/set-password-dialog.png:
7944 * doc/images/sort-dialog.png:
7945 * doc/images/time-editor.png:
7946 * doc/images/time-picker.png:
7947 * doc/images/vvolumebar.png:
7948 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7949 Adding the bread-crumb-trial and helpers to the documentation.
7951 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * examples/hildon-find-toolbar-example.c:
7954 * src/hildon-find-toolbar.c:
7955 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7956 actually continue firing the other handlers if connected. Adding a new
7958 hildon_find_toolbar_get_last_index that gets the index of the most
7959 recently added (last) item. Fixes: NB#52301.
7961 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7964 behaviour. Fixes: NB#68610.
7966 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7968 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7971 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7974 when realizing the banner. Should make the infonbanner effect a bit more
7977 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * src/hildon-volumebar.c:
7980 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7981 hildon_volumebar_set_range_insensitive_message and
7982 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7984 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * src/hildon-window.c: Fixing the border freeing on destroy.
7988 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-code-dialog-private.h:
7991 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7992 kw keyboard support in HildonCodeDialog.
7994 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * debian/changelog: Updating.
8002 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * src/hildon-date-editor.c:
8005 * src/hildon-number-editor.c:
8006 * src/hildon-private.c:
8007 * src/hildon-private.h:
8008 * src/hildon-time-editor.c:
8009 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8010 handling in subclassed composite widgets. Fixes: NB#66628.
8012 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8015 from destroy_ callback as it introduces problems in async dbus signal
8016 handlers. Fixes NB#66673.
8018 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * examples/hildon-hvolumebar-example.c:
8021 * src/hildon-volumebar.c: Improving the focus handling in the
8022 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8023 set_property accessor so that "mute" property can be actually set. I'm
8024 scared that nobody noticed it's totally broken.
8026 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8031 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8033 * src/hildon-calendar.c:
8034 * src/hildon-number-editor.c:
8035 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8036 matches the spec of 6 chars per second. Fixes: NB#60489.
8038 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8040 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8041 gtk_style_lookup_color sometime returns FALSE even though color was
8042 found and values were filled properly. Weird. Removing the warning for the
8045 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8048 expand vertically. Adding some extra space to the find toolbar buttons to
8049 make them thumbable. Fixes NB#66060.
8051 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8054 popup with "Ok" and "Cancel". Fixes NB#59299.
8056 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * src/hildon-calendar.c: Process all window updates before executing next
8059 timeout. Fixes: NB#54146.
8061 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * debian/changelog: Updating.
8069 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8071 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8072 the client event and ignore it, since we use the delete event to close
8075 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8077 * src/hildon-helper.c: Remove the bogus warning about color not being
8078 found. Fixes NB#58352.
8080 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8082 * examples/Makefile.am:
8083 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8084 HildonSeekbar widget inside a toolbar.
8086 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8088 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8089 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8090 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8091 don't want to be closed by non-temporary windows on map.
8093 Also use G_DEFINE_TYPE instead of manually typed code.
8095 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8102 * debian/rules: Updating.
8104 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8106 * examples/Makefile.am:
8107 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8108 bug NB#61128. Strangely it works.
8110 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * src/hildon-date-editor.c: When the date editor entry has been changed
8113 but the numbers of characters < max, turn off the skip validation flag.
8114 Prevents a situation when we enter first a valid year and later re-write
8115 it with an invalid one. Fixes NB#60154.
8117 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8120 code dialog. Fixes NB#64355.
8122 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8124 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8125 switching the page. Fixes NB#49374.
8127 * examples/Makefile.am:
8128 * examples/hildon-wizard-dialog-example.c: Adding an example for
8129 HildonWizardDialog that shows how to handle manual sensitivity setting on
8132 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * src/hildon-version.h.in:
8137 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8139 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 * src/hildon-volumebar.c: Updating the docs.
8143 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 * debian/changelog: Updating.
8151 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-find-toolbar.c:
8154 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8155 selected item: hildon_find_toolbar_set_active,
8156 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8157 hildon_find_toolbar_get_active_iter . They correspond to respective
8158 GtkComboBox functions.
8160 * examples/Makefile.am:
8161 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8164 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8166 * examples/Makefile.am:
8167 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8170 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8171 when font size > 32 and we pack a focusable widget inside. Actually using
8172 the default response would work too, but since we don't show default
8173 response state in any way (no theming) it would not be visible to the
8174 user. Fixes NB#63430.
8176 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * src/hildon-date-editor.c: Adding the missing variable setter in the
8179 set_property handler. Fixes NB#54182.
8181 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-window.h: Changing the long key press time from 1500ms to
8184 800ms as requested in NB#63700. I have a bad feeling about this, let's
8185 see... Fixes NB#63700.
8187 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8189 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8190 hildon_time_picker_map, hildon_time_picker_realize,
8191 hildon_time_picker_style_set): Split the contents of map to more
8192 appropriate functions; set window decorations on realize and update
8193 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8195 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8200 * debian/changelog: Updating.
8202 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8204 * src/Makefile.am: fixed installation of the header files
8206 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * debian/changelog: Updating.
8214 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * configure.ac: Removing some remaining of --enable-xan.
8218 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8220 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8221 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8223 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8224 2.10.12-osso6 because the move-focus signal needs to be available in
8227 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * examples/Makefile.am:
8230 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8231 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8232 fine. Prolly NB#61128 is fixed now.
8234 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8236 * src/hildon-volumebar.c:
8237 * src/hildon-volumebar.h: Adding the
8238 hildon_volumebar_set_range_insensitive_message and
8239 hildon_volumebar_set_range_insensitive_messagef functions to set
8240 insensitive message on the slider of the volumebar. Fixes NB#61129.
8242 * examples/Makefile.am:
8243 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8244 test the new insensitive messsage functionality on HildonVolumebar.
8246 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8248 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8251 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8253 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8254 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8255 button on after clearing the trail.
8257 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8259 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8261 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8263 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8264 by splitting the installed headers in generated and non-generated groups. Use
8265 only the non-generated headers to create the hildon-enum-types.h file.
8267 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8269 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8271 * src/hildon-window.c: Hide the window before performing the destroy.
8272 Should make the app closing a little tiny bit more snappy.
8274 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8276 * src/hildon-seekbar.c: add gtkrange.h header
8277 * src/hildon-caption.c: remove unused variable
8279 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8281 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8284 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 * debian/changelog: Updating.
8292 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8294 * src/hildon-window.c (hildon_window_window_state_event,
8295 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8296 escape timeout on focus-out-event rather than notify::is-topmost; the
8297 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8299 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8301 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8302 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8304 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8306 * src/hildon-window: actually, you need to use the macro always, there's
8307 no private pointer in the instance structure. We should have cleaned this up
8308 when we had the chance...
8310 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8312 * src/hildon-window.c: do not get the private date from HildonWindow before
8313 it passes the g_return_if_fail check. Once it's passed the test, there's no
8314 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8315 if you are only going to access the data once. Whitespace cleanups.
8317 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8319 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8320 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8322 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8328 * debian/changelog: Updating.
8330 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8332 * src/hildon-window.c: When destroying the window, remove (if exists) the
8333 escape timeout handler. Fixes #NB59276.
8335 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8337 * src/hildon-banner.c: When realizing the widget, set the window
8338 transiency. Setting the transiency in the gobject constructor is not
8339 good, as the widget is not realized at that point. Fixes: #NB56624.
8341 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8343 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8344 Add padding for future expansions.
8346 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8348 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8349 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8350 will fake an activation on the previous to the last item of the trail, so
8351 the effect can be overrided by the developer as usual.
8352 Also change the callback for the back button to do the same thing, so its
8353 effect can be overrided too. Fixes: NB#58982
8355 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8358 HildonCaption. Fixes NB#52379.
8360 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8362 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8363 the internal state of the trail after the user has had the chance of executing
8364 his handler for the signal. Specifically, it may happen that the activated button
8365 is removed and the user still lets the default handler run. This would segfault
8368 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8371 scrollbar to the preview dialog. Fixes NB#54147.
8373 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8376 max/min year properties can be altered, so the client can modify it
8377 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8379 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8382 hildonlike by default. Fixing a problem with disappearing arrows when
8383 scrolling through months and years. Fixes NB#54127.
8385 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * examples/hildon-date-editor-example.c: Adding error callback to the date
8390 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * configure.ac: Updating.
8398 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8400 * configure.ac: Adding a special '--enable-xan' configure option that
8401 turns off the -Werror compilation setting. Usefull for development.
8403 * src/hildon-calendar.c:
8404 * src/hildon-number-editor.c:
8405 * src/hildon-time-picker.c: Adding the 5* multiplier to
8408 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8410 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8411 instead of g_object_ref + gtk_object_sink.
8413 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 * debian/changelog: Updating.
8421 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8423 * src/hildon-color-chooser-dialog.c:
8424 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8425 straight from Tommi labs.
8427 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * examples/hildon-finger-example.c: Correcting the header file path.
8431 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8432 the changed signal. Fixes a small memory leak.
8434 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-banner.c: Importing several usefull fixes from the
8439 ubuntu-mobile branch.
8441 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * examples/Makefile.am:
8444 * examples/hildon-finger-example.c: Adding a finger-checking code
8447 * src/hildon-font-selection-dialog.c: Do not allocate the color
8448 structure using the g_new. Fixes NB#54061.
8450 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * src/hildon-helper.c: Correcting tabs in file.
8454 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8456 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8457 control the visibility of the children.
8459 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8461 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * debian/changelog: Updating.
8469 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8471 * src/hildon-bread-crumb-trail.c:
8472 (hildon_bread_crumb_trail_size_allocate):
8474 Make the back button always a square.
8476 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8479 from the .c file as it's a private file.
8481 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8484 uses slightly bigger height.
8486 * src/hildon-font-selection-dialog.c: Adding some checks before
8487 freeing memory in the font selection dialog.
8489 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-font-selection-dialog.c: Adding a small check when
8494 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8495 buttons sensitivity on page switching.
8497 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8499 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8500 internal details of adding a bread crumb to the trail.
8502 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * debian/changelog: Updating.
8510 * src/hildon-bread-crumb-trail.h:
8511 * src/hildon-bread-crumb.h: Changing the API guard to
8512 HILDON_ENABLE_UNSTABLE_API.
8514 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-helper.h: Updating.
8524 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * src/hildon-helper.h: Small fix to make the package actually compile.
8538 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8540 * src/hildon-bread-crumb-trail.h:
8541 * src/hildon-bread-crumb.h:
8543 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8544 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8546 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8548 * examples/hildon-bread-crumb-trail-example.c:
8550 * src/hildon-bread-crumb-trail.c:
8551 * src/hildon-bread-crumb-trail.h:
8552 * src/hildon-bread-crumb.c:
8553 * src/hildon-bread-crumb.h:
8554 * src/hildon-marshalers.list:
8555 * src/hildon-bread-crumb-widget.c:
8556 * src/hildon-bread-crumb-widget.h:
8558 Slight change in the widget design. The bread crumb trail API is
8559 unchanged, but HildonBreadCrumb is now an interface. A *private*
8560 implementation, hildon-bread-crumb-widget, is provided and used
8561 internally by the trail for the push_text/push_icon functions.
8563 The generic push API is still available, so anyone can implement
8564 and use its own bread crumb widget.
8566 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * debian/rules: Fixing the shlibs.
8570 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * src/hildon-banner.c: Fixing a problem with timed banners having
8573 their parrent destroyed before they are.
8575 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8577 * src/hildon-bread-crumb.c:
8578 * src/hildon-bread-crumb.h:
8580 Make the get_natural_size function a vfunc.
8582 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8584 * src/hildon-bread-crumb.c:
8585 * src/hildon-bread-crumb-trail.c:
8589 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * debian/changelog: Updating for release.
8598 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8600 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8601 don't leak the pango layout.
8603 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8606 * examples/hildon-bread-crumb-trail-example.c:
8610 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * debian/changelog: Removing the bug-fixed entries that were actually
8613 resolved as WONTFIX.
8615 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8618 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8620 * src/hildon-bread-crumb-trail.c:
8621 * src/hildon-bread-crumb-trail.h:
8622 * src/hildon-bread-crumb.c:
8623 * src/hildon-bread-crumb.h:
8627 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8629 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8630 until it's passed the type check.
8632 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8634 * examples/hildon-bread-crumb-trail-example.c
8638 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8640 * examples/Makefile.am
8641 * examples/hildon-bread-crumb-trail-example.c
8643 * src/hildon-bread-crumb-trail.c
8644 * src/hildon-bread-crumb-trail.h
8645 * src/hildon-bread-crumb.c
8646 * src/hildon-bread-crumb.h
8648 New HildonBreadCrumbTrail widget.
8650 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8652 * src/hildon-range-editor.c (hildon_range_editor_init),
8653 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8654 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8655 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8656 hildon_time_editor_class_init, hildon_time_editor_init),
8657 src/hildon-get-password-dialog.c (invalid_input,
8658 hildon_get_password_set_property, hildon_get_password_get_property,
8659 create_contents, hildon_get_password_dialog_set_max_characters),
8660 src/hildon-set-password-dialog.c (create_contents),
8661 src/hildon-date-editor.c (hildon_date_editor_init),
8662 src/hildon-login-dialog.c (hildon_login_dialog_init),
8663 src/hildon-number-editor.c (hildon_number_editor_init),
8664 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8665 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8666 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8667 configure option and adding the respective checks in the code.
8668 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8669 hildon_calendar_drag_data_received): fixed some build warnings.
8671 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * debian/changelog: A 1.0.0 release notes.