1 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
3 * doc/hildon-sections.txt: Add the new public methods below.
5 * examples/hildon-picker-button-multicolumn-example.c:
6 (create_touch_selector):
7 * examples/hildon-touch-selector-example.c: (create_selector):
8 * examples/hildon-touch-selector-multi-cells-example.c:
10 Use hildon_touch_selector_column_set_text_column()
12 * hildon/hildon-touch-selector-column.h:
13 * hildon/hildon-touch-selector.c:
14 (hildon_touch_selector_column_set_text_column),
15 (hildon_touch_selector_column_get_text_column):
16 Make hildon_touch_selector_column_set/get_column() public, use
17 them in the inline example, document them, and reference to them
20 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
22 * hildon/hildon-time-selector.c: Fix the docs for
23 hildon_time_selector_new_step().
25 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
27 * hildon/hildon-touch-selector.c: Improve the documentation for
28 hildon_touch_selector_append_column().
30 Fixes MB#4641 (Documentation:
31 hildon_touch_selector_append_column() ref-counting)
33 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
35 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
36 Comment out test 5, since the hildon_controlbar_set_range() range
37 check is broken and fixing it would have side effects. Also,
38 this finally fixes make distcheck.
40 Fixes: NB#101420 (Update unit tests and fix make distcheck)
42 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
44 * tests/TEST-CASES.txt: Remove other bogus test.
45 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
46 Remove bogus test that was setting/retrieving a valid value.
48 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
50 * tests/TEST-CASES.txt: Remove bogus tests.
51 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
52 Remove three bogus tests that were actually setting valid colors.
54 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
56 * configure.ac: post release version bump
57 * debian/changelog: post release version bump
59 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
64 * configure.ac: Bump version.
65 * debian/changelog: Updates.
67 2009-06-08 Christian Dywan <christian@lanedo.com>
71 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
72 Correct errors in hildon_format_file-size_for_display and use
73 translations from the hildon-fm package instead of osso-filemanager.
75 2009-06-08 Alejandro G. Castro <alex@igalia.com>
77 * hildon/hildon-pannable-area.c,
78 (hildon_pannable_area_init): Initialized new values to handle the
80 (hildon_pannable_area_adjust_value_changed): Check if the values
81 changed before even call the redraw function.
82 (hildon_pannable_area_size_allocate),
83 (hildon_pannable_axis_scroll),
84 (hildon_pannable_area_scroll),
85 (hildon_pannable_area_jump_to): Improved the diagonal movement
88 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
91 2009-06-08 Alberto Garcia <agarcia@igalia.com>
93 * examples/hildon-banner-example.c:
95 (on_animation_clicked, on_animation_idle)
96 (on_progress_clicked, on_progress_idle):
97 Add additional reference for the cases when the parent window is
100 2009-06-08 Alberto Garcia <agarcia@igalia.com>
102 * doc/hildon-sections.txt
103 * hildon/hildon-pannable-area.c
104 * hildon/hildon-banner.h
105 * hildon/hildon-banner.c: Documentation updates.
107 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
110 2009-06-05 Alejandro G. Castro <alex@igalia.com>
112 * hildon/hildon-calendar-popup.h:
113 * hildon/hildon-caption.h:
114 * hildon/hildon-code-dialog.h:
115 * hildon/hildon-controlbar.h:
116 * hildon/hildon-date-editor.h:
117 * hildon/hildon-dialog.h:
118 * hildon/hildon-get-password-dialog.h:
119 * hildon/hildon-hvolumebar.h:
120 * hildon/hildon-login-dialog.h:
121 * hildon/hildon-note.h:
122 * hildon/hildon-number-editor.h:
123 * hildon/hildon-range-editor.h:
124 * hildon/hildon-seekbar.h:
125 * hildon/hildon-set-password-dialog.h:
126 * hildon/hildon-sort-dialog.h:
127 * hildon/hildon-time-editor.h:
128 * hildon/hildon-time-picker.h:
129 * hildon/hildon-volumebar-range.h:
130 * hildon/hildon-volumebar.h:
131 * hildon/hildon-vvolumebar.h:
132 * hildon/hildon-weekday-picker.h:
133 * hildon/hildon-window.h:
134 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
135 macros with the current replacements
137 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
139 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
141 * hildon/hildon-color-button.c (hildon_color_button_init): Use
142 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
143 itself, to make it fit better with Fremantle style.
145 Fixes: NB#109878 (height and width of focus on color icon is not
146 consistent with other item in the application tool bar)
148 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
150 * hildon/hildon-touch-selector.c:
151 (hildon_touch_selector_optimal_size_request): use the current requisition
152 as the base, in order to include any possible extra widget, like the
153 hildon entry on HildonTouchSelectorEntry
155 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
157 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
159 * configure.ac: post release version bump
160 * debian/changelog: post release version bump
162 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
167 * configure.ac: Bump version.
168 * debian/changelog: Updates.
170 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
172 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
174 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
175 to ensure the banner contents are centered, instead of relying on
176 the expand and fill properties in GtkHBox.
177 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
179 Fixes: NB#108265 (Animation banner not properly centered)
181 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
183 * hildon/hildon-pannable-area.c
184 (hildon_pannable_area_initial_effect): Remove the initial_effect
185 management, check initial_hint
186 (hildon_pannable_are_expose_event): Remove the initial_hint management,
187 set initial_effect to FALSE
188 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
189 by launching the fade_timeout if the scrollbars state has changed and are
191 * examples/hildon-pannable-area-initial-hint-example.c
192 Modified to allow to remove rows too. Add and remove rows one by one.
194 2009-05-28 Alberto Garcia <agarcia@igalia.com>
196 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
197 Don't close the menu if there's an animation actor below it.
199 Fixes: NB#117927 (Application menu not usable with animation
202 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
204 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
205 "focus-on-click" from the dialog button, to avoid stealing the
206 focus from the entry.
208 Fixes: NB#118903 (Account setup wizard: Text in Search field
209 should be focused when "Region" touch list picker is reopened
212 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
214 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
215 (prepare_action_area): Completely hide the dialog separator.
217 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
219 * hildon/hildon-touch-selector-entry.c
220 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
221 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
222 now that the entry is exposed.
224 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
226 * hildon/hildon-touch-selector-entry.c
227 (hildon_touch_selector_entry_init): Change the entry's size
228 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
230 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
232 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
233 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
234 avoid unnecessary scaling.
236 2009-05-27 Alberto Garcia <agarcia@igalia.com>
238 * hildon/hildon-app-menu.c (hildon_app_menu_map):
239 Create grab transfer window before calling parent's map function.
241 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
242 "crushed" button(s) in the top left corner)
244 2009-05-26 Alberto Garcia <agarcia@igalia.com>
246 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
247 Check if the window is already realized when pushing it.
249 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
251 * configure.ac: post release version bump
252 * debian/changelog: post release version bump
254 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
259 * configure.ac: Bump version.
260 * debian/changelog: Updates.
262 2009-05-25 Alberto Garcia <agarcia@igalia.com>
264 * hildon/hildon-app-menu.c: Doc updates.
266 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
268 * hildon/hildon-banner.c: Remove leftover macro.
270 2009-05-25 Alejandro G. Castro <alex@igalia.com>
272 * hildon/hildon-pannable-area.c,
273 (hildon_pannable_area_scroll_indicator_fade),
274 (hildon_pannable_area_button_release_cb): Reviewed vmin
275 conditions, it could cause problems in the fadeout procedure.
277 2009-05-25 Alejandro G. Castro <alex@igalia.com>
279 * hildon/hildon-pannable-area.c
280 (hildon_pannable_area_button_release_cb): Added a threshold to
281 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
283 2009-05-25 Alejandro G. Castro <alex@igalia.com>
285 * hildon/hildon-pannable-area.c,
286 (hildon_pannable_area_set_property): Added code to sync the gtk
287 dnd threshold with the panning threshold.
289 2009-05-25 Alejandro G. Castro <alex@igalia.com>
291 * hildon/hildon-pannable-area.c,
292 (hildon_pannable_area_class_init): Changed some of the default
293 values, now it should be less responsive and more accurate.
295 2009-05-25 Alejandro G. Castro <alex@igalia.com>
297 * hildon/hildon-pannable-area.c,
298 (hildon_pannable_area_init),
299 (hildon_pannable_area_scroll_indicator_fade),
300 (hildon_pannable_area_button_press_cb),
301 (hildon_pannable_axis_scroll),
302 (hildon_pannable_area_timeout),
303 (hildon_pannable_area_motion_notify_cb),
304 (hildon_pannable_area_button_release_cb): Changed the name of the
305 clicked attribute to button_pressed, it is more clear about its use.
307 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
309 * src/hildon-pannable-area.c
310 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
312 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
313 vertical scrollbar visibility, and use the data on private section instead,
314 remove the initial_hint check
315 (hildon_pannable_area_expose_event): add the initial_hint check here
317 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
319 * src/hildon-pannable-area.c
320 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
321 if the fadeout effect was used
322 (hildon_pannable_area_expose_event): check if it is required to
323 manage the initial effect on the begining of the function. Previously
324 it was made at the end, but this doesn't ensure that the scrollbars
325 will be painted on the first show. Do not set to FALSE initial_effect,
326 to ensure that the initial hint is showed the first time the pannable
328 * examples/Makefile.am
329 * examples/hildon-pannable-area-initial-hint-example.c:
330 New example, to show that the initial-hint is showed when the widget
333 Fixes: NB#116607 (Pannable area should always have scrollbar visible
334 initially if the application can be scrolled)
336 2009-05-25 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
339 Resize table before adding new items to make sure that
340 gtk_table_resize() is called just once.
342 2009-05-25 Alberto Garcia <agarcia@igalia.com>
344 * hildon/hildon-app-menu-private.h
345 * hildon/hildon-app-menu.c (item_visibility_changed)
346 (filter_visibility_changed, hildon_app_menu_show_all)
347 (hildon_app_menu_hide_all, hildon_app_menu_init):
348 Rearrange items just once when gtk_widget_show_all()/hide_all()
351 2009-05-25 Alberto Garcia <agarcia@igalia.com>
353 * hildon/hildon-app-menu.c
354 (hildon_app_menu_insert, hildon_app_menu_add_filter):
355 Don't call gtk_widget_show() on added items.
357 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
358 automatically when they're added)
360 2009-05-20 Alberto Garcia <agarcia@igalia.com>
362 * hildon/hildon-banner.c
363 (hildon_banner_realize, +hildon_banner_unrealize)
364 (+screen_size_changed, hildon_banner_class_init):
365 Redisplay the banner if the screen is rotated.
367 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
368 on transition from landscape to portrait)
370 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
372 * hildon/hildon-banner.[ch]:
373 (hildon_banner_show_information_override_dnd): remove icon_name from the
374 method definition as it is ignored.
375 * examples/hildon-banner-dnd-example.c: updated with the change on
378 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
380 * hildon/hildon-banner-private.h: new require_override_dnd and
381 overrides_dnd variables
382 * hildon/hildon-banner.h:
383 (hildon_banner_show_information_override_dnd): new method, that shows
384 the information but sets the override flag, in order to show important
386 * hildon/hildon-banner.c
387 (hildon_banner_show_information_override_dnd): new method
388 (hildon_banner_set_override_flag): new utility function
389 (hildon_banner_real_show_information): new utility function, in order to
390 generalize the current hildon_banner_show_information_override_dnd and
391 hildon_banner_show_information_override_dnd
392 * examples/Makefile.am
393 * examples/hildon-banner-dnd-example.c: New example that show how to
394 use the new hildon_banner_show_information_override_dnd
396 Fixes: NB#114874 (There is no possibility to show hildon banners with
399 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
401 * hildon/hildon-pannable-area.c: Add a comment explaining the math
402 behind hildon_pannable_calculate_vel_factor().
404 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
406 * hildon/hildon-pannable-area.c
407 (hildon_pannable_calculate_vel_factor): Correct the sum of the
408 deceleration factors.
410 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
412 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
413 Reduce the default value for 'scroll_time' to 1 second, since the
414 current initial scrolling takes too much time.
416 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
419 calculate velocity factor during initialization, since the properties
422 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
424 * hildon/hildon-pannable-area.c
425 (hildon_pannable_area_set_property): Calculate the velocity factor
426 after setting the deceleration property and not after.
428 2009-05-20 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-entry.c
431 (hildon_entry_class_init, +set_property, hildon_entry_new)
432 * hildon/hildon-check-button.c
433 (hildon_check_button_class_init)
434 (+set_property, hildon_check_button_new):
435 Make the theme size a property.
437 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
438 others) do too much in the _new function)
440 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
442 * configure.ac: post release version bump
443 * debian/changelog: post release version bump
445 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
450 * configure.ac: Bump version.
451 * debian/changelog: Updates.
453 2009-05-15 Alberto Garcia <agarcia@igalia.com>
455 * hildon/hildon-gtk.h
456 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
457 New API function to take a screenshot of a window
459 Fixes: NB#106374 (Need API to take a loading screenshot)
461 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
463 * hildon/hildon-time-selector.c
464 (update_format_policy): prevent to use hours and minutes unitialized
466 2009-05-15 Alberto Garcia <agarcia@igalia.com>
468 * hildon/hildon-window.c (hildon_window_size_request):
469 Always request the full size of the screen (minus the title bar if
470 not in fullscreen mode).
472 Fixes: NB#107486 (HildonWindow should size itself properly)
474 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
476 * hildon/hildon-note-private.h: Add idle_handler to the private data.
477 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
478 (on_show_cb), (sound_handling): Disconnect the idle handler for
479 the sound when the note is finalized to avoid possible crashes.
481 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
484 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
486 * src/hildon-animation-actor.c,
487 * src/hildon-remote-texture.c:
488 Added proper object cleanup to remove signal handler and object
489 references as HildonAnimationActor and HildonRemoteTexture
490 objects get destroyed.
492 Fixes: NB#116682 (Destroying parented animation actors when
493 parent in unmapped leads to crash)
495 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
497 Based on a patch by Christian Dywan (christian@imendio.com)
499 * doc/hildon-sections.txt:
500 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
501 * hildon/hildon-helper.h: New file size formatting method.
503 * debian/control: Depend on osso-filemanager l10n package for
504 proper localization strings.
506 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
508 * tests/Makefile.am: Include top_srcdir to make possible to build
509 tests in a different builddir.
510 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
511 on a different builddir.
513 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
515 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
516 (hildon_touch_selector_remove): Disconnect model's signal handler
519 Fixes: NB#116289 (Hildon home crashes while adding task
522 2009-05-11 Alberto Garcia <agarcia@igalia.com>
524 * hildon/hildon-button.c
525 (hildon_button_set_title, hildon_button_set_value):
526 Hide labels containing an empty string.
528 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
530 * configure.ac: post release version bump
531 * debian/changelog: post release version bump
533 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: Bump version.
539 * debian/changelog: Updates.
541 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
543 * hildon/hildon-note-private.h: Removed sound_signal_handler
544 * hildon/hildon-note.c
545 (on_show_cb): new callback on note "show" event, this simply adds
546 a idle, with the function sound_handling
547 (sound_handling): removed the sound_signal_handler management
548 (hildon_note_init): connect note "show" event to on_show_cb
549 (hildon_note_realize): remove the connection to "expose-event"
551 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
552 device?' confirmation note)
554 2009-05-08 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-note.c
557 (hildon_note_new_information_with_icon_name)
558 (hildon_note_new_confirmation_with_icon_name):
559 Terminate the list of parameters in g_object_set() calls
561 Fixes: NB#115166 (Formatting memory card is not taking place)
563 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
565 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
566 "dialog-information" role for the sound being played.
568 2009-05-06 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-app-menu.c (hildon_app_menu_init):
571 Don't make the menu a modal window, it causes strange interactions
572 with the pointer grab and it's not really needed.
574 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
576 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
578 * hildon/hildon-touch-selector.[ch]
579 (hildon_touch_selector_optimal_size_request): function added to get a
580 optimal size request from the touch selector, when you want a dialog to
581 show as much of the selector
582 * hildon/hildon-picker-dialog.c:
583 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
584 (hildon_app_menu_class_init):
585 New "max-height-landscape" and "max-height-portrait" style properties
586 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
587 (hildon_picker_dialog_get_max_height): returns the maximum height using
588 the style properties defined and checking the current portrait/landscape
590 (_hildon_picker_dialog_set_selector): removed the set_size_request
592 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
594 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
596 * hildon/hildon-bread-crumb-trail.c:
597 * hildon/hildon-bread-crumb.c:
598 * hildon/hildon-seekbar.c:
599 Add reference to replacements for these deprecated widgets.
601 Fixes: MB#4461 (Documentation: All deprecations should mention
604 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
606 * examples/hildon-remote-texture-example.c
608 Change the include to the hildon-remote-texture in order to compile
609 properly the examples on the installed libhildon1-examples package
611 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
613 * tests/Makefile.am: Add check for HildonPickerButton.
614 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
615 (START_TEST), (create_hildon_picker_button_suite): Add three simple
616 checks for the HildonPickerButton.
617 * tests/check_test.c (configure_tests): Add the test suite.
618 * tests/test_suites.h: likewise.
620 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
622 * hildon/hildon-touch-selector.c
623 (+on_row_changed): Emit HildonTouchSelector:changed when the
624 contents of a selected row change.
625 (_create_new_column), (_hildon_touch_selector_set_model): connect
626 to GtkTreeModel:row-changed on a newly set model.
628 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
630 2009-05-05 Alberto Garcia <agarcia@igalia.com>
632 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
634 * hildon/hildon-banner.c (hildon_banner_destroy)
635 (hildon_banner_show_progress, hildon_banner_set_fraction):
636 Remove the progress bar from HildonBanner and use a progress
639 Fixes: NB#113761 (Update progress banner to use progress
642 2009-05-04 Alberto Garcia <agarcia@igalia.com>
644 * hildon/hildon-banner.c:
645 Calculate size of the banner label using the actual screen width
646 rather than using a fixed value.
648 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
651 2009-05-04 Alejandro G. Castro <alex@igalia.com>
653 * hildon/hildon-pannable-area.c,
654 (hildon_pannable_area_class_init): Fixed signals documentation
657 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: post release version bump
660 * debian/changelog: post release version bump
662 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
667 * configure.ac: Bump version.
668 * debian/changelog: Updates.
670 2009-05-01 Alberto Garcia <agarcia@igalia.com>
672 * hildon/hildon-edit-toolbar.c
673 (hildon_edit_toolbar_init):
674 Don't let buttons in HildonEditToolbar receive focus.
676 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
677 typing on an HW arrows key)
679 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
681 * doc/Makefile.am: Fix build.
683 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
685 * doc/Makefile.am: Do not redefine content_files.
687 2009-04-30 Alberto Garcia <agarcia@igalia.com>
695 Renamed src/ to hildon/
700 Include <hildon/hildon.h> directly in all examples.
702 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
704 * src/hildon-sort-dialog.c
705 (hildon_sort_dialog_add_sort_key_with_sorting)
709 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
711 * src/Makefile.am: Move generated sources to CLEANFILES, so that
712 make distcheck passes.
714 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
716 * Makefile.am: Enable gtk-doc during distcheck.
718 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
720 * Makefile.am: Do not distribute the debian/ directory.
722 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
724 * doc/Makefile.am: Add the extra SGML files to content_files,
725 so that they are distributed properly.
727 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
729 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
732 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
735 (hildon_note_new_information_with_icon_name): Set the "icon" property
736 to preserve soundness.
738 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-font-selection-dialog.c
741 (hildon_font_selection_dialog_set_property): Fail when the "family"
742 property is set to NULL.
744 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
746 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
749 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
751 * src/hildon-time-selector.h:
752 Added HildonTimeSelectorFormatPolicy
753 * src/hildon-time-selector.c:
754 Added PROP_TIME_FORMAT_POLICY
755 (_check_ampm_format): renamed to check_automatic_ampm_format
756 (update_format_policy), (update_format_dependant_columns): new functions
757 (hildon_time_selector_class_init)
758 (hildon_time_selector_contructor)
759 (hildon_time_selector_init)
760 (hildon_time_selector_get_property)
761 (hildon_time_selector_set_property)
762 (hildon_time_selector_get_time)
763 (hildon_time_selector_set_time)
764 * src/hildon-touch-selector.h: new file
765 * src/hildon-touch-selector.c
766 (hildon_touch_selector_emit_changed)
767 (hildon_touch_selector_block_changed)
768 (hildon_touch_selector_unblock_changed)
769 Added functions to allow to block the emission of the "changed" signal
770 * src/hildon-picker-dialog.c
771 (hildon_picker_dialog_show): call the parent show before the custom code
772 * examples/hildon-time-button-example.c
773 Modified, so now you can configure the time format using the new property
775 Added a new property "time-format-policy" that allow to choose the time
776 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
777 case it uses gconf in order to check if the time selector must use
780 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
783 2009-04-28 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-note.c (hildon_note_init):
786 Label in HildonNote must be left aligned, not centered. This
787 reverts the last commit in HildonNote.
789 Fixes: NB#112933 (text is not left aligned in confirmation dialog
790 is connectivity dialog)
792 2009-04-27 Alberto Garcia <agarcia@igalia.com>
797 * doc/hildon-sections.txt:
798 Added hildon_gtk_window_set_do_not_disturb()
800 2009-04-27 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-note.c (hildon_note_init): Center label.
804 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
807 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
812 * configure.ac: Bump version.
813 * debian/changelog: Updates.
815 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
817 * src/hildon-note-private.h: Add button-width to the private data.
818 * src/hildon-note.c (+resize_button),
819 (+hildon_note_orientation_update): methods to repack widgets on orientation
821 (screen_size_changed): Call above method for confirmation notes.
822 (hildon_note_realize): Always connect to the "screen-size" changed signal.
823 (hildon_note_rebuild): Store the original width request from buttons.
825 Fixes: NB#109635 (Confirmation notes do not support portrait)
827 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
829 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
830 when it is a progress note.
832 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
835 in the note, since there are no horizontally arranged contents.
837 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-gtk.c (+set_flag): new generic method to
840 set/delay a flag setting in a window.
841 (hildon_gtk_window_set_progress_indicator):
842 (hildon_gtk_window_set_do_not_disturb),
843 (hildon_gtk_window_set_portrait_flags): use set_flag() to
844 avoid code redundance.
846 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
848 Based on a patch by Alberto Garcia (agarcia@igalia.com)
850 * src/hildon-gtk.c (set_clear_window_flag),
851 (do_set_progress_indicator), (do_set_do_not_disturb),
852 (do_set_portrait_flags),
853 (hildon_gtk_window_set_progress_indicator),
854 (hildon_gtk_window_set_do_not_disturb),
855 (hildon_gtk_window_set_portrait_flags):
856 Allow setting dnd-flag, progress indicator, and portrait flags
857 when the window is not realized.
859 2009-04-24 Alejandro G. Castro <alex@igalia.com>
861 * src/hildon-pannable-area.c,
862 * src/hildon-pannable-area.h: Add the hildon deprecated define to
863 the size request policy function and defines.
865 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
867 * doc/hildon-sections.txt: Add the new API.
868 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
869 method to set the portrait flags.
870 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
872 Fixes: NB#112328 (Adding helpers for setting portrait properties)
874 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
877 to allow using this method with other flags.
878 (hildon_gtk_window_set_progress_indicator): Update accordingly.
879 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
881 2009-04-22 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-touch-selector.c
884 (hildon_touch_selector_append_text_column):
885 Make the cell renderer use the smallest width possible.
887 Fixes: NB#108470 (Selected items in multiple selection are either
888 having a tick that is cut or not visible at all.)
890 2009-04-22 Alberto Garcia <agarcia@igalia.com>
892 * src/hildon-touch-selector.c
893 (hildon_touch_selector_append_text_column):
896 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
898 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
899 Use g_strdup_printf() instead of a fixed size buffer.
901 2009-04-21 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
904 Close banners when a HildonAppMenu is popped up.
906 Fixes: NB#111027 (Title menu closed immediately if activated when
907 "Invalid e-mail address" banner is shown)
909 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: Bump version.
915 * debian/changelog: Updates.
917 2009-04-20 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-banner.c (hildon_banner_realize):
920 Mark HildonBanner as supporting portrait mode.
921 Use GDK to set window properties insetad of direct Xlib calls.
923 Fixes: NB#111830 (HildonBanner should be marked as supporting
926 2009-04-20 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-note.c (hildon_note_rebuild):
929 Hide action area in information notes. Prevents text from being
930 slightly aligned to the left.
932 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
935 2009-04-20 Alberto Garcia <agarcia@igalia.com>
937 Patch by Mox Soini (ext-mox.soini@nokia.com)
939 * src/hildon-banner.c (hildon_banner_create_animation):
940 Use stylus-sized icons in animation banner.
942 Fixes: NB#111206 (stylus sized icon for animation banner)
944 2009-04-20 Alberto Garcia <agarcia@igalia.com>
948 (+hildon_gtk_window_set_do_not_disturb):
949 New API to set the do-not-disturb flag.
951 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
953 2009-04-20 Alberto Garcia <agarcia@igalia.com>
955 * examples/hildon-progress-indicator-example.c: Fix example
957 * src/hildon-gtk.c (set_clear_window_flag)
958 (hildon_gtk_window_set_progress_indicator):
959 Create a generic function for setting flags to a window.
960 Use GDK instead of direct Xlib calls.
962 2009-04-14 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-button.c (hildon_button_set_arrangement):
965 Due to NB#88126, if one of the labels is too long it will be
966 painted outside the button. The 'value' label is more likely to be
967 the longest one, so we change its packing options in order to
968 truncate it if necessary. As a side effect, the 'title' label will
969 no longer be truncated.
971 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
973 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
978 * configure.ac: Bump version.
979 * debian/changelog: Updates.
981 2009-04-13 Alejandro G. Castro <alex@igalia.com>
983 Deprecation of the hildon_pannable_area_set_size_request_policy
984 API, the only policy properly supported in gtk+ nowadays is the
987 * src/hildon-pannable-area.c,
988 (hildon_pannable_area_size_request): Added a workaround for the
989 size_request to avoid the problems of huge pixmaps in case someone
990 is still using the function.
991 * src/hildon-pannable-area.h: Deprecated the enum with the
994 Fixes: NB#110244 (Problems with the
995 hildon_pannable_area_set_size_request_policy API)
997 2009-04-08 Alejandro G. Castro <alex@igalia.com>
999 * src/hildon-pannable-area.c,
1000 (hildon_pannable_area_init),
1001 (hildon_pannable_area_size_request),
1002 (hildon_pannable_area_style_set),
1003 (hildon_pannable_draw_vscroll),
1004 (hildon_pannable_draw_hscroll),
1005 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1006 indicator_width to clarify the use of the attribute.
1008 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1013 * configure.ac: Bump version.
1014 * debian/changelog: Updates.
1016 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1018 * src/hildon-picker-dialog.c
1019 * src/hildon-touch-selector.c
1020 Reverting the change that tried to avoid the hardcoded height on
1021 the picker dialog, as causes problems on the hildon-touch-selector
1024 Fixes: NB#110029 (selectors not scrolling to selected value)
1026 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1028 * src/hildon-touch-selector.c: Fix typos
1030 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1033 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1034 request more motions after using it.
1036 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-calendar.c (hildon_calendar_expose),
1039 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1040 Remove unused variables.
1042 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1044 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1045 variable assignment.
1047 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1049 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1050 Check the return value of gtk_tree_selection_get_selected()
1053 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1055 * src/hildon-animation-actor.c
1056 * src/hildon-button.c
1058 * src/hildon-pannable-area.c
1059 * src/hildon-picker-button.c
1060 * src/hildon-program.c
1061 * src/hildon-remote-texture.c
1062 * src/hildon-text-view.c
1063 * src/hildon-touch-selector.c
1064 * src/hildon-window-stack.c
1065 * src/hildon-window.c:
1066 Add missing 'Since: 2.2' tags.
1068 * doc/hildon-sections.txt:
1069 Add some missing symbols.
1071 * doc/hildon-docs.sgml:
1072 New 'Other' section for HildonAnimationActor and
1075 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1077 Patch by Iván Gómez (igomez@igalia.com)
1080 * doc/compiling.sgml
1081 * doc/hildon-docs.sgml
1082 * doc/hildon-sections.txt
1083 * doc/migration.sgml
1084 * doc/resources.sgml
1086 New chapters on using the Hildon library.
1087 Updated the general structure of the reference manual.
1088 Other minor documentation fixes.
1090 * src/hildon-calendar-popup.c
1091 * src/hildon-calendar.c
1092 * src/hildon-controlbar.c
1093 * src/hildon-date-editor.c
1094 * src/hildon-dialog.c
1095 * src/hildon-hvolumebar.c
1096 * src/hildon-number-editor.c
1097 * src/hildon-range-editor.c
1098 * src/hildon-sort-dialog.c
1099 * src/hildon-time-editor.c
1100 * src/hildon-time-picker.c
1101 * src/hildon-volumebar-range.c
1102 * src/hildon-volumebar.c
1103 * src/hildon-vvolumebar.c
1104 * src/hildon-weekday-picker.c:
1105 Add deprecation notes
1107 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1108 Document 'horizontal-movement' and 'vertical-movement' signals.
1110 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: Bump version.
1116 * debian/changelog: Updates.
1118 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1120 * src/hildon-pannable-area.c,
1121 (hildon_pannable_area_class_init): increased the minimum velocity.
1122 (hildon_pannable_area_button_release_cb): Updated the
1123 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1124 setup. Review the code to control that last event.
1126 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1129 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1131 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1133 * src/hildon-get-password-dialog.c
1134 (hildon_get_password_set_property),
1135 (hildon_get_password_get_property), (create_contents):
1136 * src/hildon-login-dialog-private.h:
1137 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1138 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1139 (hildon_login_dialog_get_password):
1140 * src/hildon-set-password-dialog-private.h:
1141 * src/hildon-set-password-dialog.c
1142 (hildon_set_password_set_property),
1143 (hildon_set_password_get_property), (create_contents),
1144 (hildon_set_password_response_change),
1145 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1147 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1148 instead and look more Fremantle style.
1150 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1152 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1154 * doc/hildon-sections.txt
1155 * src/hildon-window-stack.h
1156 * src/hildon-window-stack.c
1157 (+hildon_window_stack_get_windows):
1158 New API to obtain the list of windows on a stack.
1160 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1162 * src/hildon-app-menu.c (hildon_app_menu_popup)
1163 (hildon_app_menu_class_init, -hildon_app_menu_show):
1164 Remove hildon_app_menu_show() and move all its checks to
1165 hildon_app_menu_popup()
1167 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1169 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1170 (_hildon_picker_dialog_set_selector): removed call to
1171 gtk_widget_set_size_request
1172 * src/hildon-touch-selector.c
1173 (_create_new_column): change the pannable size request policy
1175 Avoid to use a hardcoded height for the hildon picker dialog. In order
1176 to get that, we needed to change the hildon pannable size request
1178 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1180 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1182 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1183 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1186 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1188 * debian/control: Depend on osso-system-lock localization package.
1189 * src/hildon-code-dialog.c: Obtain the secu_application_title
1190 translation from osso-system-lock.
1191 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1192 for translation the atk related strings, that's not necessary.
1193 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1194 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1195 cancel button, it is not required.
1197 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1199 * src/hildon-pannable-area.c,
1200 (hildon_pannable_area_class_init): Modified the default value of
1201 the overshooting max speed, we have reduced it.
1203 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1205 * doc/hildon-sections.txt
1206 * src/hildon-window-private.h
1207 * src/hildon-window.h
1208 * src/hildon-window.c (hildon_window_class_init)
1209 (hildon_window_init, hildon_window_finalize)
1210 (hildon_window_realize, hildon_window_get_property)
1211 (hildon_window_set_property, hildon_window_update_markup)
1212 (hildon_window_get_markup, hildon_window_set_markup):
1213 New "markup" property and hildon_window_{get,set}_markup() methods.
1215 * examples/hildon-stackable-window-example.c (new_window):
1216 Update example to use hildon_window_set_markup()
1218 Fixes: NB#106375 (Need API to retitle a window with a title
1221 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1223 * src/hildon-pannable-area.c,
1224 (hildon_pannable_area_class_init): Changed the default value of
1225 the initial_hint to TRUE.
1226 (hildon_pannable_area_initial_effect): Changed the initial effect,
1227 not the effect is just the fade-out of the scrollbars.
1229 Fixes: NB#107775 (No scrollbars can be seen when several items are
1230 available in a dialog)
1232 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1234 * src/hildon-program.c (hildon_program_update_top_most):
1237 Fixes: NB#109179 (Memory leak in Hildon program)
1239 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-banner.c (-get_current_app_window):
1242 Remove unused function.
1244 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c: Modified the documentation of the
1247 get adjustments functions to explain the problem of using the
1248 adjustment directly.
1249 (hildon_pannable_area_class_init): Improved the explanation about
1252 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-app-menu-private.h
1255 * src/hildon-app-menu.c
1256 (hildon_app_menu_class_init):
1257 Bring back the 'external-border' style property
1258 (hildon_app_menu_class_init, hildon_app_menu_init)
1259 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1260 Set a fixed width-request for the menu, independent of the number
1263 Fixes: NB#94957 (Smoothly opened application menu)
1265 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1269 * src/hildon-banner.c
1270 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1272 Make sure that the banner is correctly placed the first time it's
1274 (hildon_banner_check_position, -check_fullscreen_state):
1275 Show the banner in the same place no matter if the window is in
1276 fullscreen mode or not.
1278 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1280 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1282 * src/hildon-touch-selector.c (_default_print_func): reorder
1283 concatenation for clarity.
1285 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1288 for multicolumn selectors.
1290 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1292 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: Bump version.
1298 * debian/changelog: Updates.
1300 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1302 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1305 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1307 * configure.ac: removed libcangerra-gtk dependency
1308 * debian/control: removed libcanberra-gtk dependency
1309 * src/Makefile.am: removed libcanberra gtk related flags
1310 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1311 context, and manage a global canberra context instead
1313 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1315 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1317 Patch by Daniel Borgmann (danielb@openismus.com)
1319 * src/hildon-edit-toolbar.c:
1320 Adjust the left padding.
1321 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1322 Paint background of the edit toolbar.
1324 Fixes: NB#107897 (Patch to make editmodetoolbar background
1325 themeable and adjust margin)
1327 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1329 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1331 * src/hildon-program.c (hildon_program_update_top_most):
1332 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1334 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1335 change when the user tasks in/out of an application)
1337 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1339 * configure.ac: added libcangerra-gtk dependency
1340 * debian/control: added libcanberra-gtk dependency
1341 * src/Makefile.am: added libcanberra gtk related flags
1342 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1345 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1347 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-program.c (hildon_program_remove_window)
1350 (hildon_program_add_window): Add checks for the window
1351 parameter. Don't decrease the window counter if the window is not
1354 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1356 * src/hildon-pannable-area.c,
1357 (hildon_pannable_area_realize): Fixed position of the event_window
1358 in the realize method.
1360 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-app-menu-private.h
1363 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1364 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1365 (hildon_app_menu_key_press, hildon_app_menu_init)
1366 (hildon_app_menu_finalize):
1367 Make sure that all idle functions are removed when the widget is
1370 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1372 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1377 * configure.ac: Bump version.
1378 * debian/changelog: Updates.
1380 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/hildon-entry.c
1383 (+hildon_entry_show_placeholder),
1384 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1385 that replace hildon_entry_update_contents().
1386 (hildon_entry_set_text),
1387 (hildon_entry_set_placeholder),
1388 (hildon_entry_focus_in_event),
1389 (hildon_entry_focus_out_event): Determine when it is needed
1390 either to show or hide the placeholder and call the above methods.
1392 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1393 when the placeholder text is already set)
1395 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1398 simple GdkPixbufAnim using the new icons for the banner.
1399 (hildon_banner_show_animation): Use the above mentioned method to
1400 create the animation widget.
1402 Fixes: NB#103564 (Make hildon animation banner use individual
1403 image files as the animation)
1405 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1407 * src/hildon-pannable-area.c,
1408 (hildon_pannable_leave_notify_event): Check if the child is NULL
1409 to avoid sending the leave.
1411 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1413 * src/hildon-pannable-area.c,
1414 (hildon_pannable_area_class_init),
1415 (hildon_pannable_leave_notify_event): Added a handler of the
1416 leave-notify-signal to consider when no motion notify before
1419 Fixes: NB#107494 (Items stay selected when clicking and moving
1420 away when inside pannable area)
1422 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1427 * configure.ac: Bump version.
1428 * debian/changelog: Updates.
1430 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1432 Patch by Alberto Garcia (agarcia@igalia.com)
1434 * src/hildon-date-button.c,
1435 (hildon_date_button_class_init),
1436 (hildon_date_button_init): Removed the construct property handling
1437 and created a default selector in the init method.
1438 * src/hildon-picker-button.c,
1439 (hildon_picker_button_class_init): Removed the construct flag of the
1442 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1444 * src/hildon-main.c (hildon_init):
1445 Don't allow hildon_init() to be called more than once.
1447 Fixes: NB#106607 (hildon_init should issue error message upon
1450 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1452 * examples/hildon-pannable-area-touch-list-example.c
1453 * examples/hildon-pannagle-area-touch-grid-example.c
1454 * examples/hildon-edit-toolbar-example.c
1455 * examples/hildon-touch-selector-multi-cells-example.c
1456 Removed the call to gtk_rc_parse_string, as it is not required since
1459 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1461 * src/hildon-pannable-area.c,
1462 (hildon_pannable_area_class_init): Modified the default panning
1463 threshold of the widget to 6px.
1465 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1466 than the threshold value ) within the button is not sending the
1469 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1472 for the treeview in the new column. This way, the touch list will never
1475 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1476 be selected manually for the HW keys to work)
1478 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1481 comparison instead of using strcmp(). Fixes a compiler warning as well.
1483 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1485 * doc/hildon-docs.sgml: Do not set the library version in the
1486 document title, use the releaseinfo tag for that purpose instead.
1488 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1491 Do not jump to the first item if the text in the entry is removed.
1493 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1498 * configure.ac: Bump version.
1499 * debian/changelog: Updates.
1501 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1503 * src/hildon-entry.c (hildon_entry_refresh_contents):
1504 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1505 Use "ReversedSecondaryTextColor" for the placeholder text.
1507 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-text-view.c: Fix compilation warning.
1511 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-button.c (hildon_button_class_init): Don't make
1514 "title" and "value" construction properties, to prevent them from
1515 overwriting labels set from derived classes.
1517 * src/hildon-picker-button.c
1518 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1519 (hildon_picker_button_class_init): Make touch-selector a
1520 construction property.
1522 * src/hildon-date-button.c (hildon_date_button_class_init)
1523 (+hildon_date_button_constructed): Add a default date selector if
1526 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1528 * src/hildon-touch-selector.c: Small documentation fixes.
1530 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1532 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1534 * src/hildon-entry.c (hildon_entry_refresh_contents),
1535 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1536 widget name, set the logical color directly instead and a boolean
1537 showing_placeholder instead.
1538 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1539 use the widget name here either.
1541 Fixes: NB#105678 (HildonTextView should use logical colours
1542 instead of setting widget name)
1544 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1546 Patch by Daniel Elster (danielk@openismus.com)
1548 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1549 Add user_data parameter.
1550 (hildon_touch_selector_set_print_func_full): New function akin
1551 hildon_touch_selector_set_print_func() but with support for user
1552 data and a destroy callback.
1553 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1554 to clean up the print function user data.
1555 (hildon_touch_selector_class_init): Install dispose function.
1556 (HildonTouchSelectorPrivate::print_user_data),
1557 (HildonTouchSelectorPrivate::print_destroy_func): New private
1559 (hildon_touch_selector_init): Initialize new private members.
1560 (hildon_touch_selector_get_current_text): Pass along user data
1561 to the print function.
1562 (_default_print_func): Add dummy user_data to parameter list.
1563 * hildon-date-selector.c (_custom_print_func): ditto,
1564 * hildon-time-selector.c (_custom_print_func): ditto,
1565 * hildon-touch-selector-entry.c
1566 (hildon_touch_selector_entry_print_func): ditto.
1568 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1570 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1572 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1574 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1576 * src/hildon-pannable-area.c,
1577 (hildon_pannable_area_init),
1578 (hildon_pannable_area_button_press_cb),
1579 (hildon_pannable_area_motion_notify_cb): We have added code to
1580 handle the leave and enter events when using the motion events.
1582 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1584 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-date-button.c (hildon_date_button_get_date)
1587 (hildon_date_button_set_date): Make sure that the button has a
1590 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1592 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1594 * src/hildon-pannable-area.c,
1595 (hildon_pannable_area_class_init),
1596 (hildon_pannable_area_calculate_velocity): Modify the use of the
1597 force and adapt the value.
1599 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1602 (hildon_app_menu_class_init): Hide the menu if it receives a
1603 delete-event, but don't destroy it
1605 Fixes: NB#104485 (Not able to address the call when application
1606 menu is opened at background)
1608 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-app-menu.c
1611 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1612 Remove the "external-border" style property, let the menu take its
1613 natural size (or the one set by the window manager)
1614 (hildon_app_menu_repack_items):
1615 Don't reshow the menu, avoid flickers.
1617 Partially fixes NB#94957 (Smoothly opened application menu)
1619 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1624 * configure.ac: Bump version.
1625 * debian/changelog: Updates.
1627 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1629 * src/hildon-pannable-area.c,
1630 (hildon_pannable_area_motion_notify_cb): We control that the
1631 direction error margin is used just in case the movement is
1632 allowed in the other direction.
1634 Fixes: NB#105012 (buttons inside a pannable area not getting
1635 release event when dragging/releasing)
1637 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_class_init),
1641 (hildon_pannable_area_get_property),
1642 (hildon_pannable_area_set_property),
1643 (hildon_pannable_area_initial_effect),
1644 (hildon_pannable_axis_scroll),
1645 (hildon_pannable_area_button_release_cb): Reviewed the
1646 overshooting effect, now it has its own max
1647 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1648 speed when bouncing.
1650 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1655 * configure.ac: Bump version.
1656 * debian/changelog: Updates.
1658 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1660 * src/hildon-pannable-area.c,
1661 (hildon_pannable_area_class_init): Changed the max speed, now
1662 users can launch the widget very fast. Reduced the default force,
1663 that way it is easier to control the launch speed.
1665 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_button_release_cb): Removed this check
1669 because it causes problems when the device is overloaded.
1671 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1673 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1674 add a current_text field to store the text entered in the
1675 touch selector entry.
1676 (_clean_current_selection): clean up the current text as well.
1677 (_save_current_selection), (_restore_current_selection):
1678 Save/restore the text in the entry if the selector is a
1679 HildonTouchSelectorEntry.
1681 Fixes: NB#102541 (value entered in the touch selector entry is not
1682 shown when opened for second time)
1684 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1686 * doc/hildon-sections.txt:
1687 * src/hildon-touch-selector-entry.c
1688 (+hildon_touch_selector_entry_get_entry):
1689 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1691 Fixes: NB#104815 (I need accessor to the entry inside
1692 HildonTouchSelectorEntry)
1694 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1697 (hildon_app_menu_class_init):
1698 New "filter-vertical-spacing" style property.
1700 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-find-toolbar.c
1703 (hildon_find_toolbar_emit_close)
1704 (hildon_find_toolbar_emit_invalid_input)
1705 (hildon_find_toolbar_entry_activate):
1706 Use g_signal_emit() instead of g_signal_emit_by_name()
1708 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1710 Patch by Mox Soini (ext-mox.soini@nokia.com)
1712 * tests/TEST-CASES.txt
1713 * tests/check-hildon-banner.c
1714 * tests/check-hildon-note.c
1715 * src/hildon-banner.c
1716 * src/hildon-code-dialog.c
1717 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1718 * src/hildon-time-editor.c
1719 * examples/hildon-lookup-example.c (main):
1720 Replace obsolete icon names with new ones.
1722 * src/hildon-find-toolbar-private.h:
1723 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1724 (-hildon_find_toolbar_emit_search):
1725 Remove find button and change icon of close button.
1727 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1729 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1731 * src/hildon-time-button.c (hildon_time_button_new_step):
1732 Use the "touch-selector" property to set the selector directly
1733 when creating the object.
1735 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1737 Added a new example application that allows tuning the pannable
1738 area and replaced defines with properties in order to simplify the
1739 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1740 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1741 PROP_DIRECTION_ERROR_MARGIN.
1743 * examples/hildon-pannable-area-tuning-example.c: New example
1745 * src/hildon-pannable-area.c,
1746 (hildon_pannable_area_class_init),
1747 (hildon_pannable_area_init),
1748 (hildon_pannable_area_get_property),
1749 (hildon_pannable_area_set_property),
1750 (hildon_pannable_area_launch_fade_timeout),
1751 (hildon_pannable_area_adjust_value_changed),
1752 (hildon_pannable_axis_scroll),
1753 (hildon_pannable_area_motion_notify_cb),
1754 (hildon_pannable_area_scroll_cb),
1755 (hildon_pannable_area_button_release_cb): We have converted some
1756 of the defines that control the widget to properties to simplify
1759 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-app-menu.c (hildon_app_menu_map)
1762 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1763 so it's closed if a new window appears.
1765 Fixes: NB#104485 (Not able to address the call when application
1766 menu is opened at background)
1768 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1771 missing 'break' statement in in 'case' construct to avoid
1774 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-touch-selector-entry.c
1777 (hildon_touch_selector_entry_get_property),
1778 (hildon_touch_selector_entry_set_property): Add missing 'break'
1779 statements in in 'case' constructs to avoid incorrect warnings.
1781 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-time-editor.c
1784 (hildon_time_editor_get_time_separators): Do not crash if
1785 the first label is NULL.
1787 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-date-selector.c (_month_days): Check for month to be
1790 strictly less than 12, since otherwise we may overrun the array.
1792 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-date-button.c (+hildon_date_button_new_full)
1795 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1796 (hildon_date_button_init): Set the date selector using a
1797 construction property, to make it happen after HildonButton's
1798 "value" property is set.
1800 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1801 current date by default)
1803 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1805 * doc/hildon-sections.txt
1806 * src/hildon-program.c
1807 * src/hildon-stackable-window.c
1808 * src/hildon-window.c:
1809 Documentation updates
1811 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1814 (hildon_window_stack_new, +hildon_window_stack_set_property)
1815 (+hildon_window_stack_get_property)
1816 (hildon_window_stack_class_init)
1817 (+hildon_window_stack_set_window_group)
1818 (+hildon_window_stack_get_window_group):
1819 Make the window group a construction property.
1821 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1823 * doc/hildon-sections.txt
1824 * src/hildon-stackable-window-private.h
1825 * src/hildon-stackable-window.h
1826 * src/hildon-stackable-window.c
1827 (-hildon_stackable_window_set_app_menu)
1828 (-hildon_stackable_window_get_app_menu)
1829 (-hildon_stackable_window_toggle_menu)
1830 (-hildon_stackable_window_finalize)
1831 (hildon_stackable_window_class_init)
1832 (hildon_stackable_window_init)
1833 * src/hildon-window-private.h
1834 * src/hildon-window.h
1835 * src/hildon-window.c (hildon_window_init)
1836 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1837 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1838 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1839 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1840 Moved all HildonAppMenu code to HildonWindow. The menu does not
1841 require a HildonStackableWindow anymore.
1843 * src/hildon-app-menu.c
1844 * src/hildon-program.c
1845 * examples/hildon-app-menu-example.c (main):
1846 Update examples and documentation to reflect HildonAppMenu
1849 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1851 * src/hildon-remote-texture.c
1852 * src/hildon-animation-actor.c:
1853 Don't include unused private headers.
1855 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-program-private.h
1858 * src/hildon-program.c
1859 (hildon_program_set_common_menu)
1860 (hildon_program_get_common_menu)
1861 (hildon_program_set_common_app_menu)
1862 (hildon_program_get_common_app_menu):
1863 Change common menu pointers from GtkWidget* to GtkMenu* and
1864 HildonAppMenu* to avoid unnecessary casts.
1866 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1868 * src/hildon-window.c (hildon_window_set_main_menu):
1869 Removed incorrect 'Since:' tag
1871 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1873 * src/hildon-pannable-area.c,
1874 (hildon_pannable_area_calculate_velocity): We use now the
1875 RATIO_TOLERANCE here to check the distance, fixed typo in the
1877 (hildon_pannable_area_motion_notify_cb): We have to set the type
1878 and time even if we are not sending the motion.
1880 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1882 * doc/hildon-sections.txt
1883 * src/hildon-app-menu.h
1884 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1885 (+hildon_app_menu_get_filters): New methods to get the contents of
1888 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1891 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1893 * src/hildon-app-menu.c (hildon_app_menu_popup):
1896 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-window.h
1899 * src/hildon-window.c (+hildon_window_get_main_menu)
1900 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1901 and deprecated hildon_window_get_menu().
1903 * src/hildon-stackable-window.h
1904 * src/hildon-stackable-window.c
1905 (+hildon_stackable_window_set_app_menu)
1906 (+hildon_stackable_window_get_app_menu)
1907 (hildon_stackable_window_set_main_menu): Created
1908 hildon_stackable_window_{get,set}_app_menu() and deprecated
1909 hildon_stackable_window_set_main_menu().
1911 * doc/hildon-sections.txt
1912 * examples/hildon-app-menu-example.c (main)
1913 * src/hildon-app-menu.c
1914 * src/hildon-program.c:
1915 Updated examples and documentation.
1917 Fixes: NB#103758 (No way to obtain a menu from a
1918 HildonStackableWindow)
1920 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1925 * configure.ac: Bump version.
1926 * debian/changelog: Updates.
1928 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1930 * examples/hildon-remote-texture-example.c: Include
1931 hildon-remote-texture.h explicitely.
1932 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1933 applications not defining _XOPEN_SOURCE which don't require this header.
1935 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1937 * doc/hildon-sections.txt
1938 * src/hildon-app-menu.h
1939 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1940 New function to pop up a HildonAppMenu
1942 * src/hildon-stackable-window.c
1943 (hildon_stackable_window_toggle_menu):
1944 Use hildon_app_menu_popup() to show the menu.
1946 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-app-menu.c (hildon_app_menu_show)
1949 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1950 menu if there's another window between it and its parent window.
1952 Fixes: NB#100468 (Application menu window is launched even when a
1953 new secondary-window/dialog is pending to be shown/realized)
1955 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1957 * src/hildon-window-stack.c (hildon_window_stack_push)
1958 (hildon_window_stack_pop_and_push):
1959 Don't forget to push/pop the first window.
1960 Reverse the window list before calling _push_list()
1962 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-picker-button.h
1965 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1966 Remove "value_changed" slot to avoid ABI breakage
1968 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1970 * src/hildon-pannable-area.c,
1971 (hildon_pannable_area_realize),
1972 (hildon_pannable_area_unrealize),
1973 (hildon_pannable_draw_vscroll),
1974 (hildon_pannable_draw_hscroll): Changed the method to handle the
1975 GC used to draw the transparent scrollbar, this way we avoid
1976 creating the GC all the time when drawing the scrollbars.
1978 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1980 * src/hildon-pannable-area.c,
1981 (hildon_pannable_area_init),
1982 (hildon_pannable_area_remove): Removed some unnecessary casts.
1983 (hildon_pannable_area_dispose): Disconnected some signals before
1984 releasing the adjustments.
1986 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1988 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1989 Make sure that all widgets contained in the toolbar are shown.
1991 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1993 * doc/hildon-sections.txt
1994 * src/hildon-picker-button.h
1995 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1996 (_selection_changed, hildon_picker_button_on_dialog_response)
1997 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1998 New hildon_picker_button_value_changed() method.
2001 * src/hildon-picker-button-private.h
2002 * src/hildon-picker-button.c (hildon_picker_button_init)
2003 (+hildon_picker_button_disable_value_changed): Add protected
2004 function for disabling the "value-changed" signal.
2006 * src/hildon-date-button.c (hildon_date_button_set_date):
2007 Don't emit "value-changed" for each one of the three columns.
2009 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2010 before actual change of values)
2012 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2014 * src/hildon-pannable-area.c,
2015 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2016 for the treeview overshooting.
2018 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-banner.c (+hildon_banner_bind_style):
2021 Renamed from hildon_banner_bind_label_style(), now naming the
2022 banner itself as well.
2023 (hildon_banner_show_information),
2024 (hildon_banner_show_information_with_markup),
2025 (hildon_banner_show_animation), (hildon_banner_show_progress):
2026 Name the widgets and labels, based on their type.
2028 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2031 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-note.c (hildon_note_set_property): call
2034 hildon_note_rename() on HildonNote:note-type set.
2035 (hildon_note_rename): Name the note and its label, based on the
2036 HildonNote:note-type property.
2038 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2041 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2043 * src/hildon-pannable-area.c,
2044 (hildon_pannable_area_class_init),
2045 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2046 panning parameters, increased SPS and deceleration factor. Added
2047 also a margin to control fake directions.
2049 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2051 Patch by Sven Herzberg (sven@imendio.com)
2053 * configure.ac: Add missing AM_PROG_CC_C_0
2054 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2056 See NB#101420 (Update unit tests and fix make check)
2058 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2060 This patch was applied before but reverted because it caused
2061 problems, we have changed the main condition and tested the
2062 regressions we detected before and they work ok. We have done a
2063 complete review of the topmost algorithm in order to get a more
2066 * src/hildon-pannable-area.c,
2067 (hildon_pannable_area_get_topmost): Added a new parameter to
2068 filter the the windows that do not include those events.
2069 (hildon_pannable_area_button_press_cb),
2070 (hildon_pannable_area_button_release_cb),
2071 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2072 topmost function, we have added the new parameter.
2074 Fixes: NB#97458 (Pannable area prevents propagation of button
2077 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2080 if all columns in the selector have an item selected.
2081 (_on_dialog_response): Stop "response" signal emission if there is
2082 any selector column without selected items.
2084 Fixes: NB#101889 (Picker dialog should not close when nothing is
2085 selected in multiple selection list)
2087 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-font-selection-dialog.c
2090 (hildon_font_selection_dialog_class_init),
2091 (hildon_font_selection_dialog_init): Remove the preview
2092 button and dialog, since previewing with default theming is likely
2093 to be overcomplicated. The :preview property has now no effect.
2094 Update documentation blurbs to inform about this.
2096 Fixes: NB#92297 (Preview content is not clearly visible for
2097 default colour text)
2099 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2101 Reviewed the geometry that handles the children size and
2102 scrollbar, now it tries a size and reviews the results depending
2103 on the scrollbars visibility.
2105 * src/hildon-pannable-area.c,
2106 (hildon_pannable_area_realize): Fixed a typo.
2107 (hildon_pannable_area_child_allocate_calculate): Added this
2108 function to calculate the child allocation.
2109 (hildon_pannable_area_size_allocate): Reviewed the allocation
2111 (hildon_pannable_area_check_scrollbars),
2112 (hildon_pannable_area_refresh): Refactored refresh function, this
2113 way we can call the code handling the scrollbars without causing a
2114 size_request, it is interesting in the allocate.
2115 (hildon_pannable_area_init): Replace the callbacks of the
2116 value_changed and changed signals to propertly deal with the
2118 (hildon_pannable_area_grab_notify),
2119 (hildon_pannable_area_initial_effect),
2120 (hildon_pannable_area_launch_fade_timeout),
2121 (hildon_pannable_area_adjust_changed),
2122 (hildon_pannable_area_adjust_value_changed),
2123 (hildon_pannable_area_redraw),
2124 (hildon_pannable_area_button_press_cb),
2125 (hildon_pannable_area_button_release_cb),
2126 (hildon_pannable_area_scroll_cb),
2127 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2128 code and use the new functions adjust_changed and
2129 adjust_value_changed.
2131 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2132 Contact editor dialog)
2134 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2139 * configure.ac: Bump version.
2140 * debian/changelog: Updates.
2142 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2144 * src/hildon-pannable-area.c,
2145 (hildon_pannable_area_get_topmost),
2146 (hildon_pannable_area_button_press_cb),
2147 (hildon_pannable_area_button_release_cb),
2148 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2149 topmost function adding the event mask. We have to try a
2150 differente approach because it is still causing problems (NB#9745,
2153 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-banner.c:
2156 Update the maximum width of timed banners.
2157 (force_to_wrap_truncated): Enforce the maximum text width if the
2160 Fixes: NB#102413 (The text margins (wrapping) in information
2161 banner should be HILDON_MARGIN_TRIPLE)
2163 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2165 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2167 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2168 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2169 bound when calculating the scroll indicator position.
2171 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2172 treat ->lower correctly)
2174 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2176 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2177 expose event handling, since it is not necessary to draw the focus
2180 Fixes: NB#102467 (Do not show highlight on the text in
2183 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2185 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2186 full height of the toolbar for the button and the label.
2188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2190 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2191 padding before the label and after the button.
2193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2197 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2198 Add a GtkVSeparator between the button and the back arrow.
2199 Let the button have automatic size.
2200 Set a name to the widget for theming handling.
2202 Fixes: NB#101793 (Make edit toolbar the same height as window
2203 title bar (use title area theming))
2205 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-helper.c (attach_new_color_element): Fix memory
2210 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2212 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2214 * examples/hildon-button-example.c (common_buttons_window): Don't
2217 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2220 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2222 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-gtk.c: Check that the window is realized.
2226 Fixes: NB#102225 (Crash setting the progress indicator to a non
2229 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2232 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2233 instead of modifying the one in the widget style.
2235 Fixes: NB#101043 (Second row of all the command button are
2236 displayed in transparent mode.)
2238 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-date-button.c
2241 * src/hildon-time-button.c: Add gettext macros
2243 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-date-button.c (hildon_date_button_new):
2246 * src/hildon-time-button.c (hildon_time_button_new_step):
2247 Use new logical strings to set the button default title.
2249 Fixes: NB#99915 (Date and Time options are not localised in Date
2252 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2254 * src/hildon-pannable-area.c
2255 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2256 the PANNING_THRESHOLD.
2258 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2260 * src/hildon-pannable-area.c,
2261 (hildon_pannable_area_class_init): Increased the maximum speed.
2262 (hildon_pannable_area_get_property),
2263 (hildon_pannable_area_set_property),
2264 (hildon_pannable_area_timeout): Added a new low friction mode, it
2265 allows the user avoid friction when launching the widget fast
2266 enough. It is interesting to traverse long lists.
2268 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2271 (+hildon_stackable_window_delete_event): Ignore delete events if
2272 the window is not the topmost one.
2274 Fixes: NB#101698 (Back button long press and delete-event handling)
2276 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2278 * src/hildon-pannable-area.c,
2279 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2280 gtk-dnd-drag-threshold, it was too big. We have defined our own
2281 dnd define and set a smaller value: PANNIG_THRESHOLD.
2283 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2286 user-defined icons, use always the default one.
2288 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2290 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2292 This patch was applied before but reverted because it caused
2293 problems, we have changed the main condition and tested the
2294 regressions we detected before and they work ok.
2296 * src/hildon-pannable-area.c,
2297 (hildon_pannable_area_get_topmost): Added a new parameter to
2298 filter the the windows that do not include those events. Added
2299 also a condition when finding the window to filter windows that do
2300 not ask for those events.
2301 (hildon_pannable_area_button_press_cb),
2302 (hildon_pannable_area_button_release_cb),
2303 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2304 topmost function, we have added the new parameter.
2306 Fixes: NB#97458 (Pannable area prevents propagation of button
2309 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2311 * tests/check-hildon-color-button.c (START_TEST): do not leak
2314 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-font-selection-dialog.c
2317 (hildon_font_selection_dialog_get_preview_text): Return NULL
2318 instead of FALSE on the g_return_val_if_fail().
2320 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2323 * src/hildon-date-selector.c
2324 (hildon_date_selector_select_current_date):
2325 Do not compare unsigned integers to be greater than or equal 0,
2326 because it's always TRUE.
2328 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2331 (hildon_date_selector_constructor): Do not select the current
2332 date until we are handle the "changed" signal, to avoid having bogus
2333 elements in the days model.
2335 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2337 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2338 for num_days, since _month_days() can return a negative value.
2340 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-caption.c (hildon_caption_size_allocate):
2343 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2344 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2346 Initialize allocation variables to 0, to avoid eventually using
2347 unitialized variables.
2349 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-bread-crumb-trail.c
2352 (hildon_bread_crumb_trail_size_allocate):
2353 * src/hildon-calendar.c (hildon_calendar_set_background):
2354 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2355 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2356 * src/hildon-seekbar.c (hildon_seekbar_init):
2357 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2358 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2359 * src/hildon-touch-selector-entry.c
2360 (hildon_touch_selector_get_text_from_model):
2361 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2362 * src/hildon-window.c (hildon_window_finalize):
2364 Remove many unused variables.
2366 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-seekbar.c: (hildon_seekbar_init),
2369 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2371 Remove unnecessary g_assert() calls.
2373 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-caption.c: (hildon_caption_expose),
2376 (hildon_caption_set_property), (hildon_caption_init),
2377 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2378 (hildon_caption_size_request), (hildon_caption_size_allocate),
2379 (hildon_caption_forall), (hildon_caption_set_separator),
2380 (hildon_caption_activate), (hildon_caption_set_child_expand),
2381 (hildon_caption_set_label_text),
2382 (hildon_caption_get_label_alignment):
2384 Remove unnecessary g_assert() calls.
2386 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-banner.c
2389 (hildon_banner_map, hildon_banner_init): Make banner temporary
2390 before mapping it to avoid closing other temporary windows, but
2391 make it non-temporary afterwards to avoid being closed by other
2392 non-temporary windows.
2393 (-hildon_banner_client_event, hildon_banner_init):
2394 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2396 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2399 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2404 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2406 * src/hildon-remote-texture.c
2407 * src/hildon-remote-texture.h
2408 * src/hildon-remote-texture-private.h
2409 * examples/hildon-remote-texture-example.c:
2410 Updates/fixes to remote-texture and its example.
2412 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2414 Patch by Mox Soini (ext-mox.soini@nokia.com)
2416 * src/hildon-code-dialog.c: Update logical id.
2417 * src/hildon-set-password-dialog.c: Update logical id.
2419 Fixes: NB#100646 (Logical strings is shown for ok in set
2420 password,Password needed dialogs)
2422 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2425 * src/hildon-remote-texture.c
2426 * src/hildon-remote-texture.h
2427 * src/hildon-remote-texture-private.h
2429 Added remote texture widget (for Clutter shared memory textures)
2431 * examples/hildon-remote-texture-example.c
2432 * examples/Makefile.am
2433 Added example file for remote texture usage
2435 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2437 * configure.ac: post release version bump.
2438 * debian/changelog: version bump.
2440 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2445 * configure.ac: Bump version.
2446 * debian/changelog: Updates.
2448 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-date-selector.c (hildon_date_selector_init)
2451 (hildon_date_selector_constructor): Don't connect to the "changed"
2452 signal until the selector is completely constructed.
2454 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector.c: (_create_new_column),
2457 (hildon_touch_selector_append_column),
2458 (hildon_touch_selector_set_column_selection_mode),
2459 (hildon_touch_selector_set_active),
2460 (hildon_touch_selector_select_iter):
2461 Emit the HildonTouchSelector::changed signal every time selection
2462 is changed in any of the methods above. This behavior was already
2463 documented but not fully functional.
2465 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2466 selection is programmatically changed)
2468 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2470 * doc/hildon-sections.txt: Remove obsolete icon
2471 sizes from here as well.
2473 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2475 * examples/hildon-stackable-window-example.c (add_window): Remove
2478 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-app-menu.c
2481 (hildon_app_menu_show): Check whether the parent window of a menu
2482 is topmost before popping it up.
2484 Fixes: NB#100468 (Application menu window is launched even when a
2485 new secondary-window/dialog is pending to be shown/realized.)
2487 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2489 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2492 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2494 Patch by Mox Soini (ext-mox.soini@nokia.com)
2496 * src/hildon-banner.c: (hildon_banner_show_animation):
2497 use stylus size instead of obsolete note size.
2498 * src/hildon-defines.h: Update icon sizes.
2500 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-touch-selector-entry.c:
2503 (hildon_touch_selector_entry_init): Disable unsupported
2505 (hildon_touch_selector_entry_get_text_column): Emit a warning
2506 if an unsupported input modes is used and explicitile state
2507 these modes in the documentation.
2509 Fixes: NB#99802 (Hildon touch selector entry not working properly
2510 for some of the input modes)
2512 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2514 * src/hildon-pannable-area.c,
2515 (hildon_pannable_area_init): Added the changed signal handlers of
2518 Fixes: NB#100320 (HildonPannableArea does not listen to
2519 GtkAdjustment "change" signals)
2521 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2523 * doc/hildon-sections.txt
2524 * src/hildon-window-private.h
2525 * src/hildon-window.h
2526 * src/hildon-window.c (hildon_window_init)
2527 (hildon_window_realize, hildon_window_unrealize)
2528 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2529 (hildon_window_size_request, hildon_window_size_allocate)
2530 (hildon_window_forall, hildon_window_show_all)
2531 (hildon_window_destroy, +paint_edit_toolbar)
2532 (+hildon_window_set_edit_toolbar):
2533 New hildon_window_set_edit_toolbar() method, to add a
2534 HildonEditToolbar to a window without having to pack it manually.
2536 Reorganize hildon_window_size_allocate()
2538 * src/hildon-edit-toolbar.c: Update documentation.
2540 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2541 example to use the new API.
2543 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2545 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2548 Remove from stack before calling parent's hide.
2550 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2553 window is removed from the middle of the stack, update the
2554 transiency of the previous one.
2556 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2559 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2562 block/unblock the signal handler if it's not actually being used.
2563 Fixes some critical warnings.
2565 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2567 Based on a patch by Iván Gómez (igomez@igalia.com)
2569 * src/hildon-banner.c
2573 * src/hildon-pannable-area.c
2574 * src/hildon-picker-dialog.c
2575 * src/hildon-wizard-dialog.h
2576 * src/hildon-wizard-dialog.c: Documentation updates.
2578 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2579 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2581 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2583 * configure.ac: post release version bump.
2584 * debian/changelog: version bump.
2586 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2591 * configure.ac: Bump version.
2592 * debian/changelog: Updates.
2594 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2597 a stock icon nor change the relief of the back arrow.
2599 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2600 graphics from theme)
2602 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-button.c (hildon_button_set_alignment): Use
2605 priv->alignment if the button has no child yet.
2607 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-button.c: (hildon_button_init): Set the
2610 button style during initialization to give it the proper
2613 Fixes: NB#99713 (HildonButton value label color is wrong)
2615 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2617 * src/hildon-touch-selector.c: Document
2618 hildon_touch_selector_center_on_selected()
2620 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2623 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2624 all menu items, but not the menu itself.
2625 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2626 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2627 items after adding them to the menu so keyboard accelerators work.
2628 (hildon_app_menu_show): Don't show the menu if it contains items
2629 but none of them are visible.
2631 * examples/hildon-app-menu-example.c (create_menu): Use
2632 gtk_widget_show_all() to show all menu items.
2634 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-picker-dialog.c:
2637 (-_update_title_on_selector_changed_cb),
2638 (-_dialog_update_title): Removed.
2639 (_select_on_selector_changed_cb), (_on_dialog_response),
2640 (on_selector_columns_changed): Do not update the dialog title.
2641 (setup_interaction_mode): Do not connect to
2642 HildonTouchSelector::changed signal if there's a "done" button, as
2643 the dialog title doesn't need to be updated.
2645 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2648 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2650 Patch by Kristian Rietveld (kris@imendio.com)
2652 * src/hildon-touch-selector.c: (_create_new_column): Use new
2653 GtkTreeView::hildon-row-tapped signal to react to user interactions
2654 instead of ::changed.
2656 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2657 with some dynamic tree model)
2659 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2662 (+screen_size_changed, +label_size_request)
2663 (hildon_note_class_init): Make the Hildon information note have a
2664 minimum height, and make its text hvae a maximum width.
2666 Fixes: NB#98614 (Hildon information note (background) should have
2667 minimum height and maximum text width)
2669 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-banner.h
2672 * src/hildon-banner.c (hildon_banner_show_information)
2673 (hildon_banner_show_informationf)
2674 (hildon_banner_show_information_with_markup): Update documentation
2675 to reflect that the icon_name parameter is not used anymore.
2676 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2677 Remove all code from these functions and mark them as deprecated.
2678 (hildon_banner_show_progress): Mark as deprecated.
2680 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2682 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable-area.c,
2685 (hildon_pannable_area_class_init),
2686 (tranparency_color),
2687 (hildon_pannable_draw_vscroll),
2688 (hildon_pannable_draw_hscroll),
2689 (hildon_pannable_area_expose_event): Added a new way to render the
2690 scrollbars of the pannable area avoiding using cairo at all. This
2691 way we improve the performance of the pannable area rendering. The
2692 cairo rendering procedure is still in the code, we can control
2693 which one to use changing the value of the define
2694 USE_CAIRO_SCROLLBARS.
2696 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2698 * configure.ac: post release version bump.
2699 * debian/changelog: version bump.
2701 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2706 * configure.ac: Bump version.
2707 * debian/changelog: Updates.
2709 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2712 banners instead of destroying them when they receive a button
2715 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2717 Reverted commit 34028, it was causing regressions, probably the
2718 topmost condition is not correct, we have to check it in more
2719 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2720 propagation of button press events)
2722 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2725 that the selection is not empty before attempting to retrieve the
2726 current ampm selection.
2728 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-picker-button.c:
2731 (hildon_picker_button_on_dialog_response): Directly update the
2732 button contents when required instead of calling _selection_changed.
2734 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-program.c (hildon_program_update_top_most): Update
2737 'is-topmost' property also when wm_hints is not set.
2739 Fixes: NB#98383 (is-topmost signal is not emitted when task
2740 switcher is clicked.)
2742 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2744 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2748 * src/hildon-animation-actor.c,
2749 * src/hildon-animation-actor.h: Added the animation actor class,
2750 this widget represents an animation actor for WM-assisted
2751 animation effects in the Hildon framework.
2753 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-window-stack-private.h
2756 * src/hildon-window-stack.c
2757 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2758 Avoid calling gtk_widget_show() again indirectly from
2759 hildon_stackable_window_show()
2761 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2766 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2769 (hildon_time_selector_init): Move the construction of the hours and
2770 ampm columns to the constructor to preserve the order the columns
2773 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-picker-dialog.c:
2776 (hildon_picker_dialog_class_init): Connect a realize method.
2777 (+hildon_picker_dialog_realize): Setup the interaction mode here
2779 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2780 yet, do it during the realize instead.
2781 (_on_dialog_response):
2782 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2783 if the widget is not realized, to avoid the dialog response before it
2786 Avoid premature responses in the HildonPickerDialog that can cause it
2787 to be hidden before it's even shown.
2789 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2792 (on_selector_columns_changed), (requires_done_button),
2793 (+prepare_action_area), (setup_interaction_mode),
2794 (_hildon_picker_dialog_set_selector):
2796 Split the interaction mode setup into preparation of the
2797 action area (prepare_action_area()) and the connection of
2798 the signals in setup_interaction_mode() and update the code to
2801 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2805 per second to 15, we will check if this is ok regarding
2808 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_axis_scroll): Avoid resize if we already have
2812 reached overshoot_max.
2814 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2816 * src/hildon-pannable-area.c,
2817 (hildon_pannable_area_init),
2818 (hildon_pannable_area_realize),
2819 (hildon_pannable_area_size_allocate),
2820 (hildon_pannable_area_map),
2821 (hildon_pannable_area_unmap),
2822 (hildon_pannable_draw_vscroll),
2823 (hildon_pannable_draw_hscroll),
2824 (hildon_pannable_area_expose_event),
2825 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2826 pannable are to avoid the expose events go to the window and
2827 redraw the window. We save this way that part of the stack and the
2828 paint_boxes. We had to change the positions of the elements when
2831 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2834 * src/hildon-color-chooser-dialog.c:
2835 (hildon_color_chooser_dialog_init):
2836 * src/hildon-font-selection-dialog.c:
2837 (hildon_font_selection_dialog_init),
2838 (hildon_font_selection_dialog_show_preview):
2839 * src/hildon-get-password-dialog.c:
2840 * src/hildon-login-dialog.c:
2841 * src/hildon-set-password-dialog.c:
2842 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2843 * src/hildon-time-picker.c: (hildon_time_picker_init):
2845 Remove obsolete logical string IDs and update to the appropriate ones.
2847 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2849 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2852 that happens if the window hasn't been realized yet.
2854 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2855 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2857 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2860 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2863 Fixes: NB#98537 (Device hangs in account settings dialog)
2865 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2867 * configure.ac: post release version bump.
2868 * debian/changelog: version bump
2870 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: Bump version.
2876 * debian/changelog: Updates.
2878 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2880 Added a new function to the HildonTimeButton widget that allows to
2881 change the step of the minutes in the selector associated with the
2882 button: hildon_time_button_new_step
2884 * src/hildon-time-button.c,
2885 (hildon_time_button_init),
2886 (hildon_time_button_new),
2887 (hildon_time_button_new_step):
2888 * src/hildon-time-button.h: Added the new function and refactored
2890 * examples/hildon-time-button-example.c,
2891 (main): We have replaced the function without parameters with the
2892 function with the steps set to 5
2894 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2896 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2898 * src/hildon-time-selector.c,
2899 (hildon_time_selector_class_init),
2900 (hildon_time_selector_constructor),
2901 (hildon_time_selector_get_property),
2902 (hildon_time_selector_set_property),
2903 (_create_minutes_model),
2904 (hildon_time_selector_new_step),
2905 (hildon_time_selector_set_time),
2906 * src/hildon-time-selector.h: Added a new property to the
2907 HildonTimeSelector (minutes-step), we use that property to control
2908 the steps between the minutes in the list of the selector. We have
2909 added a new function to the API to create a widget changing the
2910 step: hildon_time_selector_new_step.
2912 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2914 * src/hildon-time-selector.c,
2915 (hildon_time_selector_class_init),
2916 (hildon_time_selector_constructor),
2917 (hildon_time_selector_init): Overrided the construct function when
2918 creating the time selector object. We have moved the minutes model
2919 handling code from the init to the new construction function:
2920 hildon_time_selector_constructor.
2922 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2924 * examples/hildon-date-button-example.c: (main): Use the new
2925 hildon_date_button_new_with_year_range() method in the example.
2926 * src/hildon-date-button.c:
2927 (+hildon_date_button_new_with_year_range): New public method
2928 to conveniently create a HildonDateButton with a custom year range
2929 in its HildonDateSelector.
2930 * src/hildon-date-button.h: Add the new public method definition.
2932 Fixes: NB#97908 (Not possible to change the year range in
2933 HildonDateSelector/HildonDateButton)
2935 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-date-selector.c:
2938 (+hildon_date_selector_set_property),
2939 (+hildon_date_selector_get_property),
2940 (hildon_date_selector_class_init): Install new properties "min-year"
2941 and "max-year" to define boundaries for the year column.
2942 (_create_year_model): Use the boundary properties to populate the model.
2943 (+hildon_date_selector_new_with_year_range): New public method to
2944 create a HildonDateSelector with a user defined year range.
2945 (hildon_date_selector_select_current_date): Use the new boundaries to
2946 calculate the iterator of current year.
2947 * src/hildon-date-selector.h: Add the new public method definition.
2949 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2952 Install a constructor method.
2953 (+hildon_date_selector_construct_ui): construct the widget.
2954 (+hildon_date_selector_constructor): new constructor.
2955 (+hildon_date_selector_init): move out widget construction code to
2956 the new constructor.
2958 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2961 that there's actually a month or year selected before obtaining them.
2962 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2963 of the HildonTouchSelector::changed signal, as it was emitted on every
2964 single item selection.
2966 Fix some warnings and possible crashers due to the selection restoring.
2968 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2971 the signal handlers only after creating the dialog instead of on every
2974 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2976 * src/hildon-button.c (hildon_button_init)
2977 * src/hildon-check-button.c (hildon_check_button_init)
2978 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2979 focus when clicked by default.
2981 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2986 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2988 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2989 Alejandro G. Castro (alex@igalia.com)
2991 * src/hildon-picker-dialog.c:
2992 (hildon_picker_dialog_class_init): install new "center-on-show"
2994 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2995 (hildon_picker_dialog_set_property): add setter code for the new
2997 (hildon_picker_dialog_get_property): add getter code for the new
2999 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3000 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3003 Fixes: NB#92849 (Selected item is not always visible when
3004 HildonTouchSelector is shown)
3006 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3008 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3009 Alejandro G. Castro (alex@igalia.com)
3011 * src/hildon-touch-selector.c:
3012 (_create_new_column): Do not connect to the "realize" signal of the
3014 (hildon_touch_selector_append_column): center on the selected items
3015 when a new column is appended.
3016 (hildon_touch_selector_select_iter): Factor out the code to select a
3017 column to hildon_touch_selector_scroll_to().
3018 (+search_nearest_element): Method to retrieve the nearest selected
3019 element to the visible area of the pannable area in a column.
3020 (+on_realize_cb): scroll to the initially selected item.
3021 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3022 the pannable area is realized, otherwise delay this until it is.
3023 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3024 selected items of a given column.
3025 (+hildon_touch_selector_center_on_selected): Public method to center
3026 all columns on the nearest selected item.
3027 * src/hildon-touch-selector.h: Add definition for
3028 hildon_touch_selector_center_on_selected().
3030 Implement public API to ensure visibility of all selected items in
3031 a HildonTouchSelector.
3033 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3035 Fixed a problem in the fading when calling the scroll_to API, and
3036 improve scrollbar fading handling.
3038 * src/hildon-pannable-area.c,
3039 (hildon_pannable_area_grab_notify): avoid the timeout when the
3041 (hildon_pannable_area_button_press_cb),
3042 (hildon_pannable_area_motion_notify_cb): Code style changes.
3043 (hildon_pannable_area_button_release_cb): Review the conditions
3044 when releasing the mouse button to avoid unrequired fading
3046 (hildon_pannable_area_scroll_to): Do not calculate and set the
3047 velocity if the scroll is not required.
3049 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3052 Don't check whether the new selector is NULL: it cannot be.
3053 Hold a reference to the selector while doing the replacement.
3055 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3057 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3058 unnecessary size_request in a removed widget.
3060 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3063 an unnecessary reference tracking that was leaking.
3065 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3067 Added delayed motion notify event handling, this way we can
3068 discard redrawing if more than 25 events arrive per second.
3070 * src/hildon-pannable-area.c,
3071 (hildon_pannable_area_init): Initialized the new private atributes
3072 controlling this timeout
3073 (hildon_pannable_area_dispose): Remove the timeout that controls
3074 the motion notify events.
3075 (hildon_pannable_area_scroll): Added a condition to control the
3076 use of the acceleration.
3077 (hildon_pannable_area_motion_event_scroll_timeout),
3078 (hildon_pannable_area_motion_event_scroll): Added this two
3079 functions, they handle the motion notify events inside the
3081 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3082 to the scroll method with the new function.
3083 (hildon_pannable_area_button_release_cb): We have to remove the
3084 timeout handler and move to the last position if the last motion
3085 events were not handled.
3087 Fixes: NB#97028 (Pannable area updates on every motion event)
3089 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3091 * src/hildon-pannable-area.c,
3092 (hildon_pannable_area_get_topmost): Added a new parameter to
3093 filter the the windows that do not include those events. Added
3094 also a condition when finding the window to filter windows that do
3095 not ask for those events.
3096 (hildon_pannable_area_button_press_cb),
3097 (hildon_pannable_area_button_release_cb),
3098 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3099 topmost function, we have added the new parameter.
3101 Fixes: NB#97458 (Pannable area prevents propagation of button
3104 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_initial_effect): Added controls before
3108 launching the timeout and the idle functions.
3109 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3110 of the method, in some situations it can return with TRUE and 0 in
3112 (hildon_pannable_area_button_press_cb): We do not need to set
3113 DELAY for fading out here.
3115 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3117 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3119 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3120 post-cleaning if the selection is not NULL.
3122 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3125 all items before restoring the selection.
3127 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-touch-selector.c:
3130 (+hildon_touch_selector_unselect_all):
3131 * src/hildon-touch-selector.h: New API to unselect all items in a
3132 column of the touch selector.
3134 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3136 * src/hildon-pannable-area.c,
3137 (hildon_pannable_area_redraw): Added a call to the refresh
3138 function inside the redraw because apparently in some cases the
3139 change in the adjustment does not imply a size allocate.
3141 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3142 despite the view not being scrollable)
3144 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3146 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3147 leak. Check for NULL before attempting to set the window title.
3149 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3152 whether to show or not the 'Done' button each time the dialog is
3153 shown, as it depends on the HildonTouchSelector selection mode.
3155 Fixes: NB#96226 (In multiple selection mode Done button is shown
3156 sometimes in listpicker)
3158 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3161 for the number of columns in the HildonTouchSelector more than once.
3163 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-touch-selector.c: Minor documentation fixes.
3167 * src/hildon-picker-dialog.c (+_dialog_update_title)
3168 (_select_on_selector_changed_cb)
3169 (_update_title_on_selector_changed_cb)
3170 (on_selector_columns_changed): Update dialog title when there's no
3171 'Done' button and also when the number of columns in the selector
3175 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3176 (+_selection_changed, hildon_picker_button_on_dialog_response)
3177 (hildon_picker_button_selector_selection_changed)
3178 (+hildon_picker_button_selector_columns_changed)
3179 (hildon_picker_button_set_selector): Update button value and emit
3180 'value-changed' when the number of columns in the selector
3184 Fixes: NB#96225 (Dialog titles are not shown according to the
3185 values selected in the list picker)
3187 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3190 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3191 New "arrow-width" and "arrow-height" style properties to set the
3192 size of the arrow button.
3193 Set name of arrow button ("hildon-edit-toolbar-arrow").
3195 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3196 graphics from theme)
3198 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-picker-button.c:
3201 (hildon_picker_button_selector_selection_changed): Use
3202 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3203 the dialog is present.
3205 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3206 the selection is accepted in the dialog)
3208 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3210 * src/hildon-color-chooser.h
3211 * src/hildon-color-chooser-dialog.h:
3212 Added G_BEGIN_DECLS and G_END_DECLS
3214 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3216 (_clean_current_selection): plug a leak in the list.
3218 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-picker-dialog.c:
3221 (+free_path_list): Method to free a GList of GtkTreePaths.
3222 (_clean_current_selection), (_save_current_selection),
3223 (_restore_current_selection): Save the current selection in
3224 as a list of lists, to support multiple selection properly.
3226 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3228 patch by Claudio Saavedra (csaavedra@igalia.com)
3230 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3231 Store the press position.
3232 (+hildon_text_view_button_release_event): If the release position is
3233 close enough to the press position, move the cursor here. Otherwise,
3235 (hildon_text_view_class_init): Override GtkTextView press, release, and
3236 motion event handlers, disabling this way text selection through
3237 pointer interaction, and allowing the container widget to handle the
3240 Fixes: NB#95828 (HildonTextView functionality)
3242 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3244 Based on a patch by Iván Gómez (igomez@igalia.com)
3246 * src/hildon-button.[ch]
3247 * src/hildon-calendar.c
3248 * src/hildon-check-button.c
3249 * src/hildon-date-editor.c
3250 * src/hildon-date-selector.c
3251 * src/hildon-picker-button.c
3252 * src/hildon-time-editor.c
3253 * src/hildon-time-selector.c
3254 * src/hildon-touch-selector.[ch]:
3255 Documentation updates
3257 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3259 * src/hildon-pannable-area.c,
3260 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3261 threshold, it was required due to X events handling.
3263 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3265 * src/hildon-pannable-area.c,
3266 (hildon_pannable_area_grab_notify),
3267 (hildon_pannable_area_initial_effect),
3268 (hildon_pannable_area_button_press_cb),
3269 (hildon_pannable_area_button_release_cb),
3270 (hildon_pannable_area_scroll_cb),
3271 (hildon_pannable_area_scroll_to): Review the timeout management of
3272 the scrollbar, the frecuency was incorrectly set.
3274 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-picker-button.c:
3277 (+hildon_picker_button_on_dialog_response),
3278 (hildon_picker_button_clicked): Present the dialog instead of
3279 running it with gtk_dialog_run().
3281 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3284 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3287 (hildon_app_menu_finalize): When a window is hidden it doesn't
3288 emit notify::is-topmost, so make sure than the menu also
3289 disappears in that case.
3290 (parent_window_topmost_notify): Renamed from parent_window_hidden
3292 Fixes: NB#94460 (stackable window's menu is not closed when its
3295 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-touch-selector-entry.c:
3298 (+hildon_touch_selector_entry_set_input_mode),
3299 (+hildon_touch_selector_entry_get_input_mode):
3300 * src/hildon-touch-selector-entry.h: New methods to access the input
3301 mode in the selector's entry.
3303 Fixes: NB#93410 (API required for setting IM mode in
3304 HildonTouchSelectorEntry)
3306 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3308 * configure.ac: post release version bump.
3309 * debian/changelog: version bump
3311 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3316 * configure.ac: Bump version.
3317 * debian/changelog: Updates.
3319 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-touch-selector.c:
3322 (_hildon_touch_selector_has_multiple_selection): No need
3323 to initialize the variables here.
3325 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3327 * src/hildon-note-private.h
3328 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3329 (hildon_note_finalize, hildon_note_rebuild): Close information
3330 notes when they receive a button press.
3332 Fixes: NB#89890 (Information notes does not get disappeared after
3335 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3338 mark from the wizard title, as it's not really necessary. Also,
3339 do not display the page title if not set.
3341 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3343 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3344 (parent_window_hidden): Use the window's "is-topmost" property to
3345 detect when to hide the menu.
3347 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3349 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3350 (hildon_app_menu_finalize): If the parent window of the menu is
3351 hidden, hide the menu too.
3353 Fixes: NB#94460 (stackable window's menu is not closed when its
3356 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3359 * debian/libhildon1-examples.install
3361 * examples/Makefile.am:
3362 Use dh_install to install all examples.
3363 Use DEB_SRCDIR instead of defining SOURCE_DIR
3365 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3367 * configure.ac: post release version bump.
3368 * debian/changelog: version bump
3370 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3375 * configure.ac: bump version
3376 * debian/changelog: updates
3377 * debian/control: bump gtk+ dependency
3379 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3381 patch by Christian Dywan (christian@imendio.com)
3383 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3384 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3386 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-check-button.c (hildon_check_button_init)
3389 (hildon_check_button_class_init, hildon_check_button_style_set)
3390 (hildon_check_button_apply_style):
3391 New "checkbox-size" style property.
3393 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3394 larger / configurable size)
3396 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3398 * configure.ac: post release version bump.
3399 * debian/changelog: version bump
3401 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3406 * configure.ac: bump version
3407 * debian/changelog: updates
3409 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3411 * doc/hildon-sections.txt
3412 * src/hildon-pannable-area.c
3413 * src/hildon-program.c
3414 * src/hildon-time-editor.c
3415 * src/hildon-touch-selector-entry.c:
3417 More documentation updates.
3419 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3421 * doc/hildon-sections.txt
3422 * src/hildon-caption.c
3423 * src/hildon-code-dialog.c
3424 * src/hildon-color-button.c
3425 * src/hildon-controlbar.c
3426 * src/hildon-date-editor.c
3427 * src/hildon-date-selector.c
3428 * src/hildon-edit-toolbar.c
3429 * src/hildon-find-toolbar.c
3430 * src/hildon-font-selection-dialog.c
3432 * src/hildon-program.c
3433 * src/hildon-range-editor.c
3434 * src/hildon-seekbar.c
3435 * src/hildon-time-editor.c
3436 * src/hildon-time-selector.c
3437 * src/hildon-volumebar-range.c
3438 * src/hildon-volumebar.c
3439 * src/hildon-vvolumebar.c
3440 * src/hildon-weekday-picker.c
3441 * src/hildon-window.c
3442 * src/hildon-wizard-dialog.c:
3444 Lots of documentation fixes.
3446 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3448 Patch contributed by Iván Gómez (igomez@igalia.com)
3450 * src/hildon-check-button.c:
3451 * src/hildon-date-button.c:
3452 * src/hildon-date-selector.c:
3453 * src/hildon-dialog.c:
3454 * src/hildon-edit-toolbar.c:
3455 * src/hildon-entry.c:
3456 * src/hildon-picker-button.c:
3457 * src/hildon-program.c:
3458 * src/hildon-text-view.c:
3459 * src/hildon-time-button.c:
3460 * src/hildon-touch-selector-entry.c:
3461 * src/hildon-window-stack.c:
3463 Add more "since" tags to the new API.
3465 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3467 * doc/hildon-sections.txt: Add below method.
3468 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3469 version for the hildonized scale.
3470 * src/hildon-gtk.h: Add the definition.
3472 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3474 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3476 * doc/hildon-sections.txt: Add missing entries for new methods.
3478 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3480 Added API to pannable are in order to get its adjustments. We
3481 added two properties to manage the values we had in the private
3484 * src/hildon-pannable-area.c:
3485 (hildon_pannable_area_class_init): Added hadjustment and
3486 vadjustment properties in order to expose horizontal and vertical
3488 (hildon_pannable_area_get_property),
3489 (hildon_pannable_area_set_property): Added code to handle the new
3491 (hildon_pannable_area_get_hadjustment),
3492 (hildon_pannable_area_get_vadjustment): API functions to get the
3494 * src/hildon-pannable-area.h:
3495 (hildon_pannable_area_get_hadjustment),
3496 (hildon_pannable_area_get_vadjustment): API functions to get the
3499 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3501 Fixed some leaks, after valgrinding.
3503 * src/hildon-touch-selector.c:
3504 (_default_print_func): Fixed a leak.
3505 (hildon_touch_selector_append_column): Fixed a leak.
3506 * src/hildon-date-button.c:
3507 (hildon_date_button_init): Fixed a leak.
3508 * src/hildon-date-selector.c
3509 (hildon_date_selector_finalize): Fixed a leak.
3511 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3513 Based on a patch by Christian Dywan (christian@imendio.com)
3515 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3517 * src/hildon-gtk.h: Add definition.
3519 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3521 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-picker-button.c: (hildon_picker_button_init),
3524 (hildon_picker_button_new): Set the HildonButton::style property
3525 in the init method, to propagate the value to the derived classes.
3527 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-button.c: (hildon_button_class_init): Do not make
3530 the "style" property a construct property.
3532 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-wizard-dialog.h
3535 * src/hildon-wizard-dialog.c
3536 (hildon_wizard_dialog_set_forward_page_func)
3537 * src/hildon-pannable-area.h
3538 * src/hildon-pannable-area.c
3539 (hildon_pannable_area_set_size_request_policy):
3540 Documentation fixes.
3542 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3544 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3546 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3548 * doc/hildon-sections.txt: Added sections file.
3550 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/*.[ch]: Updates.
3555 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3557 * examples/hildon-progress-indicator-example.c: new file
3558 * examples/Makefile.am: include the new example program
3560 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3562 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3564 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3566 * configure.ac: post release version bump
3567 * debian/changelog: version bump
3569 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3574 * configure.ac: bump version
3575 * debian/changelog: updates
3576 * debian/control: bump gtk+ dependency
3578 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3580 * src/hildon-dialog.c: Mark as deprecated.
3581 * src/hildon-dialog.h: Mark as deprecated.
3582 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3583 from HildonDialog and still work, even if
3584 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3585 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3587 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3588 maemo changes) instead)
3590 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3592 * src/hildon-pannable_area.h:
3593 * src/hildon-pannable_area.c:
3594 (hildon_pannable_area_class_init),
3595 (hildon_pannable_area_set_property),
3596 (hildon_pannable_area_get_property),
3597 (hildon_pannable_area_size_request),
3598 (hildon_pannable_area_get_size_request_policy),
3599 (hildon_pannable_area_set_size_request_policy): Added new API
3600 allowing applications to control the request policy. Now they can
3601 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3602 children allocation (HILDON_MOVEMENT_CHILDREN).
3604 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3608 (hildon_gtk_tree_view_set_ui_mode)
3609 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3610 mode of treeviews and iconviews.
3612 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-touch-selector-entry.c:
3615 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3616 of a GtkEntry to get proper theming.
3618 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3619 widget, not GtkEntry)
3621 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3624 no HildonWizardDialogPageFunc.
3626 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3628 Patch contributed by Iván Gómez (igomez@igalia.com)
3630 * src/hildon-app-menu.c:
3631 * src/hildon-button.c:
3632 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3633 * src/hildon-stackable-window.c:
3634 * src/hildon-time-selector.c:
3635 * src/hildon-touch-selector.c:
3636 * src/hildon-window.c:
3638 Add more "since" tags to the new API in hildon 2.2.
3640 2008-12-05 Tim Janik <timj@imendio.com>
3642 Patch contributed by Christian Dywan (christian@imendio.com)
3644 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3645 HildonSizeType, which are supplied by Gtk+ now.
3647 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3649 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3650 (with maemo changes) instead)
3652 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3654 Patch contributed by Iván Gómez (igomez@igalia.com)
3656 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3659 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3661 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3662 (some_page_func), (main): Update the example to use a
3663 HildonWizardDialogPageFunc function.
3665 * src/hildon-wizard-dialog-private.h: Add private data for
3666 the HildonWizardDialogPageFunc function usage.
3668 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3669 (destroy), (hildon_wizard_dialog_init), (response),
3670 (hildon_wizard_dialog_set_forward_page_func):
3671 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3672 that applications can use to stop a HildonWizardDialog to jump to
3675 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3678 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-program.h
3681 * src/hildon-program-private.h
3682 * src/hildon-program.c (hildon_program_init)
3683 (hildon_program_set_common_app_menu)
3684 (hildon_program_get_common_app_menu):
3685 New API for setting a common HildonAppMenu for all
3686 HildonStackableWindows registered with the HildonProgram.
3688 * src/hildon-stackable-window.c
3689 (hildon_stackable_window_toggle_menu):
3690 Use the common HildonAppMenu if a window doesn't have a specific
3693 * src/hildon-app-menu-private.h
3694 * src/hildon-app-menu.c
3695 (hildon_app_menu_get_parent_window):
3696 Function to obtain the window a HildonAppMenu is attached to.
3697 (hildon_app_menu_set_parent_window):
3698 Hide the menu if the parent window is set to NULL.
3700 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3703 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3704 search widget to popup.
3706 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3708 * configure.ac: post release version bump
3709 * debian/changelog: version bump
3711 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3716 * configure.ac: bump version
3717 * debian/changelog: updates
3719 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3721 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3723 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3724 (hildon_window_stack_window_realized)
3725 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3726 Set the leader GdkWindow when a window is stacked and realized,
3727 unset it when it's unstacked.
3728 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3730 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3732 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-stackable-window.h
3735 * src/hildon-window-stack.h:
3736 Protect definition of HildonWindowStack using the preprocessor.
3738 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3740 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3741 Fix warning if all menu items are hidden.
3743 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3745 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3747 * src/hildon-controlbar.c:
3748 * src/hildon-hvolumebar.c:
3749 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3750 Multiple scale size defines updates.
3752 Fixes: NB#94322 (Scale Updates)
3754 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3756 * examples/hildon-app-menu-example.c (create_menu)
3757 Show items after adding them to the menu, as in the future the
3758 menu will no longer call gtk_widget_show() on the added items.
3760 * src/hildon-app-menu.c:
3761 Update example as explained above.
3763 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-app-menu.c
3766 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3767 Make sure that all menu items have finger height.
3769 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3771 * src/hildon-picker-dialog.c:
3772 (_on_dialog_response), (_save_current_selection),
3773 (_restore_current_selection), (_clean_current_selection),
3774 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3775 Defined new functions in order to save the current internal selector
3776 selection previous open the dialog, in case that the use cancel the
3777 interaction, so the widget restores the previous selection.
3779 Fixes: NB#92032 (In calendar application, date values in 'new event'
3782 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3784 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-button.c: Add a reference to the button examples in
3787 hildon-button-example.c
3789 * examples/hildon-button-example.c: Added examples of the most
3790 common button layouts.
3792 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-app-menu.c (hildon_app_menu_show)
3795 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3797 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3799 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3801 * src/hildon-picker-dialog.c:
3802 (hildon_picker_dialog_init): Initialize the signal id for
3803 HildonTouchSelector::columns-changed.
3804 (+on_selector_columns_changed): Set up the interaction mode everytime a
3805 column is added or removed from the HildonTouchSelector.
3806 (_hildon_picker_dialog_set_selector): Connect to
3807 HildonTouchSelector::columns-changed and keep track of it.
3809 Make sure to update the interaction mode of the dialog everytime a
3810 column is added or removed in the HildonTouchSelector.
3812 Fixes: NB#93228 (Done button is not shown always in listpicker)
3814 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3817 a new ::columns-changed signal.
3818 (hildon_touch_selector_append_column): Emit ::columns-changed.
3819 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3821 Add a ::columns-changed signal, emitted when the number of columns in a
3822 HildonTouchSelector changes.
3824 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3827 (_hildon_picker_dialog_set_selector): Factor out the code
3828 to set up the dialog interaction mode.
3830 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3833 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3834 to signal_changed_id.
3836 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3841 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3843 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3844 Updated the logical ids related to ampm format, as now it is required to
3845 show it correctly localized even on languages with no default
3846 abbreviations for am or pm
3847 (_check_am_pm_format): check correctly the 24h format gconf property
3849 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3851 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3853 * src/hildon-button.c: Documentation updates.
3855 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3858 * src/hildon-caption.c: (hildon_caption_class_init):
3859 * src/hildon-color-button.c: (hildon_color_button_class_init):
3860 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3861 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3862 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3863 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3865 Remove deprecated GTK+ marshalers and replace them with the ones
3866 provided by GLib, for those available, add a marshaler for
3867 BOOLEAN:VOID, which is not available in GLib, and use it.
3869 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3872 the text from the previous column if there is no
3873 HildonTouchSelectorColumn::text-property set.
3875 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3877 * src/hildon-button.h
3878 * src/hildon-button.c (hildon_button_set_property)
3879 (hildon_button_get_property, hildon_button_class_init)
3880 (hildon_button_set_style, hildon_button_get_style):
3881 New "style" property to change the visual appearance of the
3884 * src/hildon-picker-button.c (hildon_picker_button_new):
3885 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3887 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3888 HildonButton look like PickerButton)
3890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3893 column while building the default string.
3895 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3897 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3898 scroll indicator by default.
3900 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3902 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3904 * src/hildon-main.c: Fix the documentation for hildon_init()
3906 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3908 * doc/hildon-docs.sgml
3912 * src/hildon-window-stack-private.h
3913 * src/hildon-window-stack.h
3914 * src/hildon-window-stack.c:
3915 New HildonWindowStack object, that adds support for multiple
3916 stacks of windows per process.
3918 * src/hildon-stackable-window-private.h
3919 * src/hildon-stackable-window.h
3920 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3921 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3922 (hildon_stackable_window_show, hildon_stackable_window_hide)
3923 (hildon_stackable_window_class_init)
3924 (hildon_stackable_window_init):
3925 Use HildonWindowStack for stack management.
3927 * src/hildon-program.c (hildon_program_pop_window_stack)
3928 (hildon_program_peek_window_stack)
3929 (hildon_program_go_to_root_window):
3930 Add a fallback implementation to the deprecated functions using
3933 * examples/hildon-stackable-window-example.c:
3934 Use the new HildonWindowStack API.
3936 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-stackable-window-private.h
3939 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3940 (hildon_stackable_window_hide, hildon_stackable_window_init):
3941 Remove all window stack management.
3943 * src/hildon-program-private.h
3944 * src/hildon-program.h
3945 * src/hildon-program.c (hildon_program_init)
3946 (hildon_program_pop_window_stack)
3947 (hildon_program_peek_window_stack)
3948 (hildon_program_go_to_root_window):
3949 Remove all window stack management and mark functions as
3952 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-app-menu.c (hildon_app_menu_realize):
3955 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3957 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3959 * configure.ac: post release version bump
3960 * debian/changelog: version bump
3962 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3967 * configure.ac: bump version
3968 * debian/changelog: updates
3970 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3972 Based on initial code by Christian Dywan (christian@imendio.com)
3974 * doc/hildon-docs.sgml: Add section for hildon-main.
3975 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3976 * src/Makefile.am: Add new hildon-main.[ch]
3977 * src/hildon-defines.h: Update the icon sizes.
3978 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3979 new library initialization files and register icon sizes.
3980 * src/hildon-main.h: New declarations.
3981 * src/hildon.h: Include hildon-main.h
3983 Add new initialization functions to the library. These methods
3984 will register the hildon specific icon sizes and can be used in the
3985 future for other hildon specific bits.
3987 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3989 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-window.c: (hildon_window_realize),
3992 (hildon_window_notify), (-hildon_window_update_title): Do not set
3993 the application name in the window title.
3995 Fixes: NB#89754 (Applications shouldn't display their names in the
3998 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-note-private.h:
4001 * src/hildon-note.c: (hildon_note_set_property),
4002 (hildon_note_get_property), (hildon_note_class_init),
4003 (hildon_note_init), (hildon_note_finalize),
4004 (hildon_note_new_confirmation_with_icon_name),
4005 (hildon_note_new_information_with_icon_name):
4007 No need to mark as deprecated the actual code. Revert
4008 to avoid missing symbols in widgets using deprecated API.
4010 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4012 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4014 * src/hildon-volumebar.h
4015 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4016 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4018 * src/hildon-helper.h
4019 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4020 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4022 * examples/Makefile.am:
4023 Deprecate hildon-insensitive-example
4025 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4027 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4029 * examples/hildon-pannable-area-buttons-scroll-example.c:
4030 Make all buttons finger height
4032 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4034 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4036 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4037 update the day model only if it is really required, and to avoid the
4038 full-reconstruction aproach. Now it only add or remove the required days.
4040 The purpose of this is avoid superfluous HildonTouchSelector::changed
4043 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4044 with strange parameters)
4046 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4048 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4050 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4051 the WINDOW_TYPE property.
4053 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4055 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4058 Fix dependency to allow parallel compilation with make -jX
4060 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4063 color frame and some minor tweaks to make it more consistent with
4066 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4067 highlighted but not visible)
4069 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4071 * examples/Makefile.am: Fixed typo in the Makefile.am.
4073 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4075 Reviewed the use of MAEMO_GTK define, now we add the define in the
4076 compilation line, and we also add it to the pc file.
4078 * configure.ac: Added MAEMO_GTK define to the compilation command
4079 and removed it from the config.h.
4081 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4082 do not have to take care about this define if the library was
4086 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4088 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4090 * examples/Makefile.am,
4091 * examples/hildon-pannable-area-buttons-scroll-example.c,
4092 * examples/hildon-pannable-area-gesture-signals-example.c,
4093 * examples/hildon-pannable-area-scroll-jump-example.c,
4094 * examples/hildon-pannable-area-tree-view-example.c:
4095 Renamed the pannable area examples, now they have more meaningful
4098 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4100 * src/hildon-touch-selector.c:
4101 (hildon_touch_selector_set_column_selection_mode): Used of
4102 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4103 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4104 to avoid re-seting the same selection mode.
4106 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4107 breaks HildonPickerDialog)
4109 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4111 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4112 conditional in the Makefile.am
4114 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4117 Remove unused methods.
4119 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-button.c (hildon_button_init):
4122 Make button images center-aligned by default
4124 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4127 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4128 activated, we have to think about how to deal with both defines
4129 MAEMO_GTK and MAEMO_CHANGES.
4131 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4133 * examples/hildon-app-menu-example.c (create_menu): Make all
4134 buttons finger size.
4136 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4138 Fixed the compilation without maemo gtk adding ifdefs with
4139 MAEMO_GTK define to the code, we have to check this version more
4142 * examples/Makefile.am: Added control to avoid some examples that
4143 just make sense with maemo gtk.
4146 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4147 hildon modes with the define.
4149 * examples/hildon-edit-toolbar-example.c,
4150 (create_icon_view): Create the icon view without hildon-gtk
4151 helpers if we are not using maemo gtk.
4153 * src/hildon-touch-selector.c,
4154 (_create_new_column): Create the treeview without hildon-gtk
4155 helpers if we are not using maemo gtk.
4157 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4159 * src/hildon-pnnable-area.c,
4160 (hildon_pannable_area_dispose),
4161 (hildon_pannable_area_button_press_cb),
4162 (hildon_pannable_area_child_mapped),
4163 (hildon_pannable_area_add),
4164 (hildon_pannable_area_remove): Added code to control the position
4165 of the event_window when adding and removing children from the
4166 pannable. We have to raise the event window when the child is
4169 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4170 selection mode using custom widget inside pannable)
4172 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4174 * configure.ac: post release version bump
4175 * debian/changelog: version bump
4177 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4182 * configure.ac: bump version
4183 * debian/changelog: updates
4185 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4187 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4188 search mode, in order to avoid lose the focus on the treeview when
4189 a hw key (like enter) is pressed.
4191 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4192 in HildonDateSelector dialog)
4194 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4196 * debian/rules: Added --enable-maintainer-mode
4197 * Makefile.am: Added ACLOCAL_AMFLAGS
4199 This allows to properly regenerate the Makefiles if you modify the
4200 configure.ac or any Makefile.am.
4202 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4204 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4205 properties, not needed at all.
4207 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4211 * src/hildon-note.c: (hildon_note_set_property),
4212 (hildon_note_get_property), (hildon_note_class_init),
4213 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4214 (hildon_note_new_confirmation_add_buttons): Remove icons.
4215 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4216 (hildon_note_new_information_with_icon_name): Deprecate.
4217 (hildon_note_new_confirmation): Act directly, without calling
4218 the deprecated constructor.
4219 (hildon_note_new_information): Act directly, without calling
4220 the deprecated constructor.
4221 * src/hildon-note.h: Mark deprecate methods as such.
4222 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4223 not run tests on the deprecated methods if built with deprecation
4226 Fixes: NB#91688 (Never show icons in information notes/confirmation
4229 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4232 (hildon_app_menu_key_press): Remove leftover usage of the
4233 private structure in HildonAppMenu struct.
4234 * src/hildon-app-menu.h: Remove leftover private structure
4235 from the HildonAppMenu struct.
4237 Fixes a crasher when using the HildonAppMenu.
4239 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-picker-dialog.c: Use appropriate logical id
4242 for the default "Done" text.
4244 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4246 * configure.ac: post release version bump
4247 * debian/changelog: version bump
4249 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4251 Modified the way to scroll to the current selection just when the touch
4252 selector is shown on the screen, avoiding a g_idle. Added too a property
4253 to configure this behaviour. See hildon_pannable_area_jump_to_child
4254 documentation for more information.
4256 * src/hildon-touch-selector.c
4257 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4258 Added 'initial-scroll' property
4259 (hildon_touch_selector_set_property): Added
4260 (hildon_touch_selector_map): Removed as not required anymore
4261 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4262 only a concrete column, instead of iterate along all the columns
4264 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4269 * configure.ac: bump version
4270 * debian/changelog: updates
4272 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4275 compilation time warnings.
4277 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4280 the default value for HildonPannableArea::mov-mode to
4281 HILDON_PANNABLE_AREA_MODE_VERT.
4283 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4285 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4287 Reverting following commit:
4289 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-app-menu-private.h
4292 * src/hildon-app-menu.[ch]
4293 * src/hildon-button.[ch]
4294 * src/hildon-check-button.[ch]
4295 * src/hildon-entry.[ch]
4296 * src/hildon-pannable-area.[ch]
4297 * src/hildon-text-view.[ch]:
4298 Added private field to the object's structure.
4300 because it causes an ABI breakage. We will need to introduce these
4301 changes later at some point. See NB#91636 for an extensive
4302 explanation and status.
4304 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4306 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4308 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4309 remove special cases that are no longer necessary.
4311 Fixes: NB#91016 (Change toolbar sizes, simplification)
4313 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4315 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4316 is shown in the cancel note.
4318 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4321 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4322 (hildon_seekbar_init): Remove steppers, remove expose event.
4323 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4325 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4327 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4329 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4330 label font to "SmallSystemFont" for vertically arranged buttons.
4332 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4335 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4337 * src/hildon-check-button.c
4338 (hildon_check_button_set_active, hildon_check_button_clicked):
4339 Don't access private parts directly, use getters instead.
4341 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-check-button.c (hildon_check_button_new):
4344 Align the contents of the check button to the left.
4346 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4348 * src/hildon-pannable-area.c,
4349 (hildon_pannable_area_scroll_to),
4350 (hildon_pannable_area_jump_to),
4351 (hildon_pannable_area_scroll_to_child),
4352 (hildon_pannable_area_jump_to_child): Replace the mapped
4353 precondition of these functions with the realized, it is the
4354 correct state of the widget in this case. Changed the
4355 documentation according to this modification.
4357 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4359 Added a new EXTRA_CFLAGS option to add the deprecated define to
4360 the compilation command. This way we can avoid using the define in
4361 the documentation compilation.
4363 * configure.ac: Defined EXTRA_CFLAGS.
4365 * examples/Makefile.am:
4367 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4369 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4371 * src/hildon-picker-dialog.c:
4372 Defined a utility macro with the desired touch selector height
4373 Removed currently unused separator, and title_label variables from
4375 (hildon_picker_dialog_init): Removed code related to the creation
4376 of unused private variables title_label and separator.
4377 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4378 to ensure correct visualization of the touch selector inside the dialog.
4379 * src/hildon-touch-selector.c
4380 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4381 ensure a concrete height of the widget.
4383 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4386 * tests/Makefile.am:
4388 Remove spurious whitespaces.
4390 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4393 compilation warning after the cancel button removal.
4395 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4397 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4399 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4400 Makefile.am, that way we can choose not to compile some examples
4401 and tests of the deprecated widgets.
4403 * examples/Makefile.am: Divided the sources in deprecated and
4406 * src/Makefile.am: Added undef statement of the deprecated
4407 symbol to the enums file generation process.
4409 * src/hildon-color-chooser-dialog.c
4410 * src/hildon-color-chooser-dialog.h
4411 * src/hildon-color-button.c
4412 * src/hildon-color-button.h
4413 * src/hildon-color-chooser.c
4414 * src/hildon-color-chooser.h
4415 * src/hildon-controlbar.c
4416 * src/hildon-controlbar.h
4417 * src/hildon-date-editor.c
4418 * src/hildon-date-editor.h
4419 * src/hildon-hvolumebar.c
4420 * src/hildon-hvolumebar.h
4421 * src/hildon-private.c
4422 * src/hildon-private.h
4423 * src/hildon-range-editor.c
4424 * src/hildon-range-editor.h
4425 * src/hildon-seekbar.c
4426 * src/hildon-seekbar.h
4427 * src/hildon-time-editor.c
4428 * src/hildon-time-editor.h
4429 * src/hildon-time-picker.c
4430 * src/hildon-time-picker.h
4431 * src/hildon-volumebar.c
4432 * src/hildon-volumebar.h
4433 * src/hildon-vvolumebar.c
4434 * src/hildon-vvolumebar.h
4435 * src/hildon-bread-crumb-trail.h
4436 * src/hildon-bread-crumb-trail.c
4437 * src/hildon-calendar-popup.c
4438 * src/hildon-calendar-popup.h
4439 * src/hildon-weekday-picker.c:
4440 * src/hildon-weekday-picker.h:
4441 * src/hildon-bread-crumb-widget.c:
4442 * src/hildon-bread-crumb-widget.h:
4443 * src/hildon-bread-crumb.c:
4444 * src/hildon-bread-crumb.h:
4445 * src/hildon-calendar.c:
4446 * src/hildon-calendar.h:
4447 * src/hildon-caption.c:
4448 * src/hildon-code-dialog.c:
4449 * src/hildon-code-dialog.h:
4450 * src/hildon-font-selection-dialog.c:
4451 * src/hildon-font-selection-dialog.h:
4452 * src/hildon-get-password-dialog.c:
4453 * src/hildon-get-password-dialog.h:
4454 * src/hildon-login-dialog.c:
4455 * src/hildon-login-dialog.h:
4456 * src/hildon-number-editor.c:
4457 * src/hildon-number-editor.h:
4458 * src/hildon-set-password-dialog.c:
4459 * src/hildon-set-password-dialog.h:
4460 * src/hildon-sort-dialog.c:
4461 * src/hildon-sort-dialog.h: This is the list of deprecated
4464 * src/hildon-touch-selector.c:
4465 * src/hildon-window.c: Added undef statement to avoid compilation
4468 * tests/Makefile.am: Divided the sources in deprecated and
4471 * tests/check_test.c,
4472 (configure_tests): Marked the deprecated code that was adding
4473 suites with deprecated tests.
4475 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4477 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4479 * src/hildon-touch-selector.c: (_default_print_func): Do not
4480 duplicate a string returned by gtk_tree_model_get(), it is already
4483 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4486 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4488 * src/hildon-pannable-area.c
4489 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4490 method, it had problems when adding a widget with viewport the
4491 second time. Now checks if it already has a viewport and uses it.
4493 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4496 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4498 * src/hildon-pannable-area.c,
4499 (hildon_pannable_area_scroll_to),
4500 (hildon_pannable_area_jump_to),
4501 (hildon_pannable_area_scroll_to_child),
4502 (hildon_pannable_area_jump_to_child): Added a precondition to the
4503 scroll and jump to functions: the widget must be mapped before we
4504 can safely call these functions. We have also added documentation
4505 to the functions to explain how to use them in this situation.
4508 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4510 Reviewed the threading handling of the pannable widget, we have
4511 used the gdk_threads_add_timeout function instead of the usual
4512 glib handlers. This avoids some problems with the threads.
4514 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4515 (hildon_pannable_area_initial_effect),
4516 (hildon_pannable_area_scroll_indicator_fade),
4517 (hildon_pannable_area_button_press_cb),
4518 (hildon_pannable_area_timeout),
4519 (hildon_pannable_area_motion_notify_cb),
4520 (hildon_pannable_area_button_release_cb),
4521 (hildon_pannable_area_scroll_cb),
4522 (hildon_pannable_area_scroll_to): Removed the
4523 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4524 gdk_threads_add_timeout.
4526 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4528 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4533 * configure.ac: bump version
4534 * debian/changelog: updates
4536 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4539 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4540 * src/hildon-color-chooser-dialog.c:
4541 (hildon_color_chooser_dialog_init):
4542 * src/hildon-font-selection-dialog.c:
4543 (hildon_font_selection_dialog_init):
4544 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4546 Remove all cancel/close-like dialogs, as these are not going to be
4549 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-note.c: (hildon_note_rebuild),
4552 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4555 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4557 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4560 sure all buttons are shown, even the Cancel/Close-like ones.
4562 Fixes: NB#90861 (Custom Confirmation dialogs should be
4563 protected from cancel button removal)
4565 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4567 * debian/control: Change libhildon1-examples dependency from libhildon1
4569 * debian/libhildon1-examples.install
4571 * Makefile.am: Modified the final install directory for the examples on
4572 package libhildon1-examples
4573 * Makefile.static: Update clean target in order to remove all the binary
4576 Changes suggested by Claudio after review new libhildon1-examples package
4578 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4581 * src/hildon-touch-selector.c: Ditto.
4583 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4585 * debian/control: Added new package libhildon1-examples, in order to pack
4586 the current hildon examples as documentation
4587 * debian/rules: Not to compress .c files, modify some includes on the
4588 examples (as normally are compiled locally, but when installed it will
4589 require to include the installed libhildon1 library), and rename
4591 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4592 install all the example files on the new example package
4593 * examples/Makefile.static: Added static makefile that can be used to
4594 compile the examples, once installed the new example package
4595 * examples: Most of the examples were modified in order to grant that
4596 all use only '#include "hildon.h"', in order to be easy to prepare
4597 it on the example package
4599 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4602 * debian/libhildon1-dev.install
4603 * debian/libhildon1-doc.install:
4604 Move all gtk-doc files to a separate libhildon1-doc package.
4606 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4608 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4610 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4612 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4614 * debian/rules: Fixed a error in order to avoid unnecessary calls
4615 to autogen.sh on package building
4617 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4619 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4621 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4626 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-picker-button.c
4629 (hildon_picker_button_finalize):
4630 Free priv->done_button_text
4632 * src/hildon-time-button.c
4633 (hildon_time_button_set_time)
4634 * src/hildon-picker-button.c
4635 (hildon_picker_button_clicked)
4636 (hildon_picker_button_selector_selection_changed)
4637 (hildon_picker_button_set_selector)
4638 * src/hildon-date-button.c
4639 (hildon_date_button_set_date):
4640 Free strings returned by hildon_touch_selector_get_current_text()
4642 * src/hildon-button.c (hildon_button_construct_child):
4643 Fix leaks in priv->image and priv->label_box
4645 Fixes: NB#90535 (Memory leak in picker button)
4647 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-button.c: (hildon_button_get_property): Do not access
4650 private elements directly, use getters instead.
4652 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-app-menu-private.h
4655 * src/hildon-app-menu.c
4656 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4657 Store the menu's parent window.
4659 * src/hildon-stackable-window.c
4660 (hildon_stackable_window_toggle_menu)
4661 (hildon_stackable_window_finalize):
4662 Set the menu's parent window when the menu is shown, unset it when
4665 * src/hildon-app-menu.c
4666 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4667 (hildon_app_menu_class_init):
4668 Send unhandled keyboard accelerators to the parent window.
4670 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4672 * src/hildon-stackable-window.c
4673 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4675 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4677 * configure.ac: post release version bump
4679 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4682 * configure.ac: Bump version
4683 * debian/changelog: Updates
4684 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4687 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4689 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4692 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4693 GtkMenu with Hildon style.
4695 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/hildon-picker-button.c:
4698 (hildon_picker_button_set_done_button_text): Set the dialog's
4699 done button text here as well.
4701 Fixes: NB#90232 (Picker button does not set the label on done button
4702 for the second time)
4704 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4709 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-app-menu.c (hildon_app_menu_insert)
4712 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4713 the HildonAppMenu to be activatable using keyboard accelerators
4714 when the menu is not being shown.
4716 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4718 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4720 * src/hildon-stackable-window.c
4721 (hildon_stackable_window_show):
4722 Don't hide old windows automatically when new windows are shown:
4723 this is now a task for the window manager.
4724 (hildon_stackable_window_class_init)
4725 (hildon_stackable_window_hide):
4726 Remove windows from the stack everytime they're hidden.
4727 (hildon_stackable_window_realize):
4728 Don't change the _NET_WM_WINDOW_TYPE property. Use
4729 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4730 it as a stackable window.
4732 * src/hildon-program.c
4733 (hildon_program_pop_window_stack):
4734 Just hide the window to remove it from the stack.
4735 (hildon_program_go_to_root_window):
4736 Don't call gtk_widget_show(), this is now a task for the window
4739 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4741 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4743 * src/hildon-button.c
4744 (hildon_button_construct_child):
4745 Don't pack anything in the button until text or image are
4746 set. This allows adding a custom child after creating the button
4747 with hildon_button_new().
4748 (hildon_button_finalize, hildon_button_class_init)
4749 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4750 alignment and the label box even when they're not packed in the
4753 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4755 * src/hildon-touch-selector.h:
4756 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4757 currently the type definition was using GTK_TYPE_VBOX
4758 * src/hildon-touch-selector.c:
4759 Added some implementation notes in order to clarify that any other widget
4760 added without the column related API will not be included on the
4761 selection logic, and how the widget is freed, as some people ask about
4763 (hildon_touch_selector_remove): Reimplemented in order to free properly
4764 the column related data when you remove the private hbox.
4765 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4766 to get a proper HildonTouchSelectorColumn documentation
4768 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4770 * src/hildon-touch-selector-entry.c:
4771 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4772 text in the GtkEntry and there is no item selected. Fixes a
4775 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-app-menu-private.h
4778 * src/hildon-app-menu.[ch]
4779 * src/hildon-button.[ch]
4780 * src/hildon-check-button.[ch]
4781 * src/hildon-entry.[ch]
4782 * src/hildon-pannable-area.[ch]
4783 * src/hildon-text-view.[ch]:
4784 Added private field to the object's structure.
4786 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4788 * configure.ac: post-release version bump
4790 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: pre-release version bump
4796 * debian/changelog: updates.
4798 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4801 Disconnect the handler for HildonTouchSelector::changed.
4803 (hildon_picker_button_selector_selection_changed): Update the button
4804 value if the selection change was not triggered by the
4807 (hildon_picker_button_set_selector): connect to
4808 HildonTouchSelector::changed.
4810 Fixes: NB#89650 (Picker button is not updated, when selection in
4811 selector has changed)
4813 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4815 * src/hildon-picker-dialog.c
4816 (hildon_picker_dialog_realize): Removed as not required
4817 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4818 * src/hildon-picker-button.c
4819 (_current_selector_empty): New function, checks if the selector is empty
4820 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4821 if the current selector is empty, in order to avoid to show the dialog
4822 close the dialog in this case (and shows a g_warning).
4824 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4826 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4828 * src/hildon-pannable-area.c,
4829 (hildon_pannable_area_scroll): Added clause to stop movement when
4830 the child of pannable is smaller than one page.
4831 (hildon_pannable_area_scroll_to): Added conditions to avoid
4832 starting the scrolling movement if the child is smaller than one
4833 page, the complete child is in the screen, we do not have to move.
4835 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4837 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4839 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4840 this is managed automatically by the widget when the size of the
4843 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-picker-button.c
4846 (hildon_picker_button_set_done_button_text): Make a copy of the
4847 text, and free the previous value.
4849 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4851 * src/hildon-touch-selector-entry.c:
4852 (hildon_touch_selector_entry_print_func): Return the selected row's
4853 text if the entry is empty.
4855 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4858 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4862 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4865 * src/hildon-check-button.h
4866 * src/hildon-check-button.c
4867 * examples/hildon-check-button-example.c:
4868 HildonCheckButton is now a new widget. 'toggled' signal added.
4870 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-program-private.h
4873 * src/hildon-program.c (hildon_program_init)
4874 (hildon_program_finalize): Removed unused variables group_leader
4875 and name from HildonProgramPrivate.
4877 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-check-button.c (hildon_check_button_set_active)
4880 (hildon_check_button_get_active, hildon_check_button_new): Use
4881 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4883 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4885 * src/hildon-touch-selector.h
4886 (hildon_touch_selector_set_column_attributes): added deprecation
4887 guard HILDON_DISABLE_DEPRECATED
4888 * src/hildon-time-selector.c
4889 (hildon_time_selector_set_time)
4890 (hildon_time_selector_get_time): Fixed a typo on documentation
4891 * src/hildon-touch-selector.c: update HildonTouchSelector and
4892 HildonTouchSelectorColumn documentation
4893 * src/hildon-touch-selector-entry.c: update "text-column" property
4895 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4896 to be added to the general documentation.
4898 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4900 * examples/hildon-pannable-area-example-4.c,
4902 * examples/hildon-pannable-area-example.c,
4903 (main): Modified the code in order to use the container add, with
4904 viewport treeviews could have problems if they are really big.
4906 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4908 * src/hildon-weekday-picker.c,
4909 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4910 the agreement regarding deprecation in the library.
4912 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4914 * examples/hildon-picker-button-multicolumn-example.c:
4915 (main): Use custom "done" button text.
4917 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4918 (hildon_picker_button_set_property),
4919 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4920 (hildon_picker_button_init),
4921 (+hildon_picker_button_get_done_button_text),
4922 (+hildon_picker_button_set_done_button_text): New methods to customize
4923 the "done" button label in the launched HildonPickerDialog. Also,
4926 * src/hildon-picker-button.h: add the public API.
4928 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4930 * src/hildon-date-selector.h:
4931 * src/hildon-picker-dialog.h:
4932 * src/hildon-time-selector.h:
4933 * src/hildon-touch-selector-column.h:
4934 * src/hildon-touch-selector.h:
4936 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4937 declarations. Fixes gtk-doc warnings.
4939 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4941 * src/hildon-picker-dialog.h
4942 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4943 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4945 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4946 long text is set as label for done button)
4948 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4950 * src/hildon-dialog.c (hildon_dialog_add_button):
4951 Set fixed width to all buttons in the HildonDialog.
4953 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4955 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4957 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4958 Set widget name using class name plus "-finger" or "-thumb".
4960 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4963 'clicked' when the state of the button is manually changed.
4965 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu.c (hildon_app_menu_realize)
4968 (hildon_app_menu_unrealize, hildon_app_menu_init)
4969 (hildon_app_menu_class_init, item_visibility_changed):
4970 Change the menu layout when the size of the screen changes.
4971 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4972 Show warning only when changing the number of colums using the
4975 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4977 * debian/compat: Set to 5
4978 * debian/control: Update dependencies.
4979 * debian/libhildon1-dbg.install: Remove.
4980 * debian/libhildon1-dev.install: Update according to cdbs paths.
4981 * debian/libhildon1.install: Update according to cdbs paths.
4982 * debian/rules: Switch to cdbs.
4984 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4986 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4987 'item' variable renamed to 'filter'
4989 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-app-menu.c (hildon_app_menu_insert)
4992 (hildon_app_menu_add_filter, remove_item_from_list)
4993 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4994 Don't leak hidden items when the menu is destroyed.
4996 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-app-menu.c (hildon_app_menu_insert)
4999 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5000 (hildon_app_menu_set_columns, item_visibility_changed)
5001 (filter_visibility_changed, hildon_app_menu_repack_filters)
5002 (hildon_app_menu_repack_items):
5003 Repack items and filters separately.
5005 Don't repack all items, change only the ones that are needed to
5008 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5010 * src/Makefile.am: added hildon-touch-selector-column.h
5012 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-touch-selector.c: added the property "text-column" to the
5015 class HildonTouchSelectorColumn, and related get/set functions
5016 (_default_printf_func): updated to use "text-column" property
5017 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5018 "text-column" in his documentation, as this is now included on
5019 HildonTouchSelectorColumn. The get/set_property can still be used,
5020 working as a wrapper to the concrete column "text-column" property
5021 (_text_column_modified): callback added in order to handle the signal
5022 "notify::text-column" of the concrete HildonTouchSelectorColumn
5023 (hildon_touch_selector_entry_get_text_column)
5024 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5025 modified in order to use the HildonTouchSelectorColumn "text-column"
5027 * src/hildon-time-selector.c:
5028 * src/hildon-date-selector.c:
5029 * examples/hildon-touch-selector-example.c
5030 * examples/hildon-touch-selector-multi-cells-example.c
5031 * examples/hildon-picker-button-multicolumn-example.c
5032 Set the right value to "text-column" property on the creation of a new
5033 column using hildon_touch_selector_append_column()
5035 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5037 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-app-menu.c
5040 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5041 updating the layout of the menu, don't create all widgets again,
5042 just repack the items in their new places.
5044 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5046 * src/hildon-time-selector.c
5047 (hildon_time_selector_get_time)
5048 (hildon_time_selector_set_time)
5049 Added documentation of these public methods
5051 * src/hildon-date-button.h
5052 * src/hildon-touch-selector-column.h
5053 * src/hildon-time-button.h
5054 * src/hildon-picker-dialog.h
5055 * src/hildon-time-selector.h
5056 * src/hildon-picker-button.h
5057 * src/hildon-touch-selector.h
5058 * src/hildon-time-picker.h
5059 * src/hildon-date-selector.h
5060 * src/hildon-touch-selector-entry.h
5061 Modified in order to use hildon-widgets code style
5063 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5065 Added deprecated support to the compilation process using
5066 HILDON_DISABLE_DEPRECATED
5068 * configure.ac: Added the --disable-deprecated to the configure
5071 * src/hildon-weekday-picker.c:
5072 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5073 to use the deprecated support. We will update the other deprecated
5074 widgets status in a new patch.
5076 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5078 * configure.ac: Fixed typo with fatal warnings support, the
5079 variable name was not correct
5081 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-app-menu.c
5084 * src/hildon-program.c: Update documentation.
5086 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5088 * configure.ac: Post-release version bump.
5090 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5095 * configure.ac: Pre-release version bump.
5096 * debian/changelog: Updates.
5098 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5100 * NEWS: Update news for previous releases.
5102 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5104 * examples/hildon-touch-selector-multi-cells-example.c:
5105 (create_selector): Update the example to use
5106 hildon_touch_selector_append_column() with a NULL renderer and set
5107 the renderers later.
5108 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5109 passed a NULL renderer. This is documented behavior now.
5111 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5112 This must be used if the developer wants full control on the layout of
5113 the renderers to be added to the column.
5115 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5117 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-touch-selector.c: Documentation fixes.
5121 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/hildon-wizard-dialog-private.h: Remove image and box.
5124 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5125 (hildon_wizard_dialog_set_property), (response): Completely remove
5126 image/icon support, and the containers required for the layout.
5128 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5130 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5132 * src/hildon-app-menu.c: Updated documentation.
5134 * src/hildon-stackable-window.c
5135 (hildon_stackable_window_set_main_menu): Unref the old menu after
5136 ref'ing the new one.
5138 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-stackable-window.c
5141 (hildon_stackable_window_set_main_menu): Unref the previous menu
5142 instead of destroying it.
5144 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5145 floating reference and set has_user_ref_count to FALSE to make
5146 HildonAppMenu act like a normal ref-counted widget and not a
5149 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5152 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5154 * src/hildon-touch-selector-column.h: new file
5155 * src/hildon-touch-selector.h
5156 * src/hildon-touch-selector.c
5157 Implemented GtkCellLayout interface, in order to allow to configure
5158 the cell layout on each individual selector column
5159 (hildon_touch_selector_set_column_attributes): marked as deprecated
5160 * examples/hildon-touch-selector-multi-cells-example.c
5161 Example of how to use the GtkCellLayout interface on the selector
5163 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5165 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-app-menu.h
5168 * src/hildon-app-menu.c
5169 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5170 (hildon_app_menu_append, hildon_app_menu_prepend):
5171 New methods to prepend, insert and move items in the menu.
5173 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-wizard-dialog.c:
5177 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5179 (create_title): Update logical IDs and related code.
5180 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5182 * src/hildon-wizard-dialog.h: Note that
5183 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5184 point, as it is not used anymore.
5186 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5188 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5190 * src/hildon-note.c:
5191 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5192 shown. Do not display an icon in confirmation notes nor information
5194 (hildon_note_set_button_text): Update logical ID for cancel button.
5196 Fixes: NB#88850 (Update HildonNote button strings + signals)
5198 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-stackable-window.c
5201 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5203 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5205 * src/hildon-app-menu-private.h
5206 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5207 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5208 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5209 temporary property 'columns' to change the number of columns.
5211 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5213 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5215 * examples/hildon-note-example.c: (on_information_clicked),
5216 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5217 debugging information.
5218 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5220 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5221 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5222 in order to close: this will be handled by the WM from now on.
5224 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5226 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-app-menu-private.h
5229 * src/hildon-app-menu.c
5230 (hildon_app_menu_append, hildon_app_menu_add_filter)
5231 (button_visibility_changed, hildon_app_menu_apply_style)
5232 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5233 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5234 layout everytime a button (item or filter) is shown or hidden.
5236 * src/hildon-stackable-window.c
5237 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5240 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5242 * src/hildon-touch-selector.c:
5243 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5244 that the treeview inside the touch selector is in fremantle hildon mode
5245 * examples/hildon-date-button-example.c
5246 * examples/hildon-picker-button-multicolumn-example.c
5247 * examples/hildon-touch-selector-entry-example.c
5248 * examples/hildon-touch-selector-example.c
5249 * examples/hildon-time-button-example.c
5250 * examples/hildon-picker-button-example.c:
5251 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5253 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5255 * examples/hildon-text-view-example.c: (main): Remove the
5256 gtkrc bits, now handled by the theme.
5258 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5263 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5265 * po/Makefile.am: Install properly the mo files.
5266 * po/en_GB.po: Update translation, to ease testing purposes.
5268 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5270 * examples/hildon-picker-button-example.c: (main): Select an item
5271 in the selector before setting it to the button.
5273 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5275 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5276 Update button's value if the selector has an item active.
5278 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5279 'value' with the selector)
5281 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5283 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5284 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5285 (hildon_picker_button_class_init): Plug the finalize method.
5286 (hildon_picker_button_set_selector): If there's a previously set
5287 selector, unref'it before setting a new one.
5289 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5290 HildonTouchSelector)
5292 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5294 * src/hildon-touch-selector-entry.c:
5295 (hildon_touch_selector_entry_changed): Check if there is no text
5296 selected before setting the entry text.
5299 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-touch-selector.h
5302 * src/hildon-touch-selector.c
5303 (hildon_touch_selector_get_active)
5304 (hildon_touch_selector_set_active): New methods to set/get the
5305 index of the selected item.
5307 * src/hildon-picker-button.h
5308 * src/hildon-picker-button.c
5309 (hildon_picker_button_get_active)
5310 (hildon_picker_button_set_active): New methods to set/get the
5311 index of the selected item.
5313 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5315 * configure.ac: post-release version bump.
5317 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5321 * configure.ac: Pre-release version bump.
5322 * debian/changelog: Updates.
5323 * debian/control: Add myself as maintainer and depend on l10n
5326 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5328 * src/hildon-window.c
5329 (hildon_window_set_main_menu)
5330 * src/hildon-stackable-window.c
5331 (hildon_stackable_window_set_main_menu):
5332 Updated documentation.
5334 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5336 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5337 Don't free selector->priv manually.
5340 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5343 (hildon_gtk_window_set_progress_indicator):
5344 * src/hildon-gtk.h: Added the new API
5345 hildon_gtk_window_set_progress_indicator, it changes the state of
5346 the window progress hint.
5348 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5350 * src/hildon-button.c
5351 * src/hildon-stackable-window.c: Minor documentation updates.
5353 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-stackable-window.c: Updated documentation.
5357 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5359 * src/hildon-defines.h: Update margins definitions
5360 to the Fremantle sizes.
5363 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5365 * src/hildon-touch-selector.c,
5366 (_hildon_touch_selector_set_model): Cleaning the code after
5367 review, removed g_print and #if 0 from the code.
5369 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-edit-toolbar.c: Update documentation.
5373 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5375 * src/hildon-check-button.h
5376 * src/hildon-check-button.c
5377 (hildon_check_button_set_label, hildon_check_button_get_label)
5378 * examples/hildon-check-button-example.c
5379 (button_clicked_cb):
5380 Removed deprecated methods.
5382 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-text-view.c:
5385 Add sample code to the documentation.
5387 * src/hildon-entry.h
5388 * src/hildon-text-view.h:
5389 Minor cosmetic changes.
5391 * src/hildon-entry.c:
5392 Add sample code to the documentation.
5393 (hildon_entry_init, hildon_entry_refresh_contents):
5394 Don't allow NULL values in the placeholder.
5396 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5398 * doc/hildon-docs.sgml
5400 * examples/Makefile.am
5401 * examples/hildon-text-view-example.c
5403 * src/hildon-text-view.c
5404 * src/hildon-text-view.h
5406 New HildonTextView widget, with example.
5408 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5410 * po/POTFILES.in: Add missing files with translatable strings.
5411 Partially fixes NB#88287.
5413 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5415 * examples/hildon-pannable-area-example-2.c: (main): No need to
5416 set the cellrenderer height inside hildon touch lists, the theme does
5419 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5421 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5422 they are integrated in the theme.
5424 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5426 * examples/hildon-entry-example.c: Update the example adding
5427 widgets to modify the text and the placeholder of the HildonEntry.
5429 * src/hildon-entry.c: Show the placeholder everytime the widget
5430 is empty and loses the focus.
5432 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5434 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5436 * src/hildon-pannable-area.c,
5437 (hildon_pannable_area_size_request): Fixed bug in height
5438 requisition, avoid increasing size and add border twice.
5440 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5442 * configure.ac: postrelease version bump.
5444 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5448 * configure.ac: Prerelease version bump.
5449 * debian/changelog: update.
5450 * debian/rules: make -dbg package contain useful debugging symbols.
5452 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-dialog.h
5455 * src/hildon-dialog.c
5456 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5457 New methods to add buttons with finger size.
5458 (hildon_dialog_new_with_buttons):
5459 Create buttons with finger size.
5461 * examples/hildon-dialog-example.c (main): Use HildonDialog
5462 methods to add buttons.
5464 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-entry.c: Updated HildonButton documentation.
5468 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5470 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5471 button value label with (FALSE, FALSE) to prevent NB#88126 from
5474 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5476 * examples/hildon-pannable-area-example.c,
5477 (main): Removed examples panning a vbox inside a pannable
5478 area. Check bug NB#87965
5480 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5482 Patch contributed by Kris Rietveld (kris@imendio.com)
5484 * src/hildon-pannable-area.c,
5485 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5486 get_size and get_position, this saves an X server roundtrip.
5488 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5490 * doc/hildon-docs.sgml
5492 * examples/Makefile.am
5493 * examples/hildon-entry-example.c
5495 * src/hildon-entry.c
5496 * src/hildon-entry.h
5498 New HildonEntry widget, with example.
5500 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5502 * src/hildon-button.c (hildon_button_construct_child): Pack the
5503 image with expand == fill == FALSE. This is a workaround for a bug
5506 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5508 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5509 labels for the text column, to make it more look more dynamic.
5511 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5513 * src/hildon-time-selector.c
5514 Define gettext auxiliar macro N_
5515 (_create_minutes_model)
5516 (_create_hours_model)
5517 (_create_ampm_model): use of strftime in order to fill the model
5518 * src/hildon-date-selector.c
5519 (hildon_date_selector_finalize):
5520 (_locales_init): remove the logic related to get the name of the months
5521 using nl_langinfo, as it is not required anymore
5523 (_create_year_model)
5524 (_create_month_model)
5525 (_update_day_model): use of strftime in order to fill the model properly
5528 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-button.h
5531 * src/hildon-button.c (hildon_button_get_image): New method to
5534 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5536 * src/hildon-touch-selector.c:
5537 (hildon_touch_selector_remove_column): Remove from the correct parent
5538 and also remove the list element and free it.
5541 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5543 * src/hildon-time-selector.c
5544 (_create_hours_model): change the range on 12h ampm format in order to use
5545 a 12-11 range instead of previous 01-12 range
5546 (hildon_time_selector_set_time): change the way to select the current time
5547 on 12h ampm format, due the change on the range
5548 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5551 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5553 * src/hildon-touch-selector.c
5554 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5555 in order to allow use this function on multiple row selection mode if
5556 the column is different that the first one
5559 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5561 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5562 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5564 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5566 * src/hildon-date-selector.h: clean some comments, now on the .c
5567 * src/hildon-date-selector.c
5568 (hildon_date_selector_select_month): first implementation
5569 (hildon_date_selector_select_day): added documentation, reimplemented
5570 using hildon_date_selector_select_current_date to avoid repeat code
5573 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5575 Reviewed interaction logic based on device experiences, refactored
5578 * src/hildon-pannable-area.c,
5579 (hildon_pannable_area_class_init): Updated default vmax speed.
5580 (hildon_pannable_area_calculate_velocity): Added this function, it
5581 avoids duplicate valocity calculation. Adjusted calculation to
5582 avoid problems with zero dist events.
5584 (hildon_pannable_area_motion_notify_cb): Now we use the
5585 calculate_velocity function.
5587 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5589 * src/hildon-date-selector.c
5590 (hildon_date_selector_select_current_date): fix the day range check
5591 as it failed using the last day of the current month
5594 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5596 * src/hildon-touch-selector.c
5597 (hildon_touch_selector_get_num_columns): added a parameter validation
5600 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5602 * examples/Makefile.am
5603 * examples/hildon-edit-toolbar-example.c: Example of the
5604 HildonEditToolbar widget.
5606 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5608 * configure.ac: postrelease version bump.
5610 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5614 * configure.ac: prerelease version bump.
5615 * debian/changelog: update.
5617 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5619 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5620 renderer to display stock icons in the touch list. Also, set the sizes
5621 to the recommended in the style guide.
5623 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5624 * src/hildon-touch-selector.h
5625 (hildon_touch_selector_set_active_iter): renamed, now is
5626 hildon_touch_selector_select_iter
5627 (hildon_touch_selector_get_active_iter): renamed, now is
5628 hildon_touch_selector_get_selected
5629 (hildon_touch_selector_unselect_iter): added
5630 * src/hildon-touch-selector.c
5631 Update after API modification (methods renamed)
5632 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5633 order to avoid problems selecting multiple elements on the column
5634 (hildon_touch_selector_unselect_iter): added the implementation
5635 * src/hildon-time-selector.c
5636 * src/hildon-date-selector.c
5637 * src/hildon-touch-selector-entry.c
5638 Update methods calls after hildon-touch-selector.h API modification (methods
5641 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-stackable-window.c
5644 (hildon_stackable_window_finalize): Call the parent class's finalize.
5646 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5648 * examples/hildon-touch-selector-example.c: (create_selector): Use
5649 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5652 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5654 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5655 set a cell background color, to respect theming.
5657 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5659 * doc/hildon-docs.sgml
5662 * src/hildon-edit-toolbar.c
5663 * src/hildon-edit-toolbar.h
5664 * src/hildon.h: New HildonEditToolbar widget.
5666 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5668 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5671 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5672 * src/hildon-touch-selector.c
5673 (_create_new_column): use g_object_set instead of two g_object_set_property
5675 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5676 * src/hildon-touch-selector.c
5677 (_create_new_column): use of hildon_gtk_tree_view_new to create
5678 the treeview, instead of use directly g_object_new
5679 (_create_new_column): update the property name "vindicator-mode" for the
5680 new one "vscrollbar-policy"
5681 * examples/hildon-date-button-example.c
5682 * examples/hildon-picker-button-multicolumn-example.c
5683 * examples/hildon-touch-selector-entry-example.c
5684 * examples/hildon-touch-selector-example.c
5685 * examples/hildon-time-button-example.c
5686 * examples/hildon-picker-button-example.c
5687 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5688 to all the treeviews inside a pannable area.
5690 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-button.h
5693 * src/hildon-button.c (hildon_button_init)
5694 (hildon_button_set_arrangement, hildon_button_set_alignment)
5695 (hildon_button_set_title_alignment)
5696 (hildon_button_set_value_alignment)
5697 (hildon_button_set_image_alignment)
5698 (hildon_button_construct_child): New methods to set the alignment
5699 of the individual components of the button (title, value,
5700 image). Also, new method to alter the xscale and yscale properties
5701 of the GtkAlignment inside the button, so more complex layouts can
5704 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-button.c (hildon_button_style_set)
5707 (hildon_button_class_init, hildon_button_set_arrangement)
5708 (hildon_button_construct_child): Apply style properties
5709 correctly. Use the 'image-spacing' style property too.
5711 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5713 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5714 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5717 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5719 * src/hildon-pannable-area.c,
5720 (hildon_pannable_area_size_request): Fixed problem with
5721 pannable-area size_request.
5723 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5725 Added management for the grab-focus to a child widget, like a
5726 range, we need to fade out the scrollbar when releasing.
5728 * src/hildon-pannable-area.c,
5729 (hildon_pannable_area_init): Connected the grab-focus signal to
5731 (hildon_pannable_area_grab_notify): Added this function in order
5732 to manage the situation when the grab-focus ends. We have to
5733 fade-out the scrollbar.
5735 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-app-menu.c: Minor documentation update.
5739 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-app-menu.c
5742 * examples/hildon-app-menu-example.c (create_menu): Update
5743 examples and documentation to explain how to connect callbacks.
5745 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5747 * examples/hildon-button-example.c
5748 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5749 hildon_stackable_window_new instead of gtk_window_new
5751 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5753 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5754 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5755 (hildon_pannable_area_set_property),
5756 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5757 (hildon_pannable_area_unrealize),
5758 (hildon_pannable_area_size_request),
5759 (hildon_pannable_area_size_allocate),
5760 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5761 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5762 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5763 (hildon_pannable_area_initial_effect),
5764 (hildon_pannable_area_redraw),
5765 (hildon_pannable_area_scroll_indicator_fade),
5766 (hildon_pannable_area_expose_event),
5767 (hildon_pannable_area_get_topmost), (synth_crossing),
5768 (hildon_pannable_area_button_press_cb),
5769 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5770 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5771 (hildon_pannable_area_motion_notify_cb),
5772 (hildon_pannable_area_button_release_cb),
5773 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5774 (hildon_pannable_area_remove),
5775 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5776 chage the code layout to a more GtkWidget like. Review the use of
5779 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5781 * examples/hildon-pannable-area-example-4.c,
5782 (main): Modified the name of the hindicator_mode to
5785 * src/hildon-pannable-area.c,
5786 (hildon_pannable_area_class_init),
5787 (hildon_pannable_area_motion_notify_cb),
5788 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5789 we have reduced the amount of signals and managed reviewed its
5790 rationale. Changed the default decelerate value.
5792 (hildon_pannable_area_add),
5793 (hildon_pannable_area_redraw): Refactored functions.
5795 (hildon_pannable_area_init),
5796 (hildon_pannable_area_get_property),
5797 (hildon_pannable_area_set_property):
5798 (hildon_pannable_draw_vscroll),
5799 (hildon_pannable_draw_hscroll),
5800 (hildon_pannable_area_initial_effect),
5801 (hildon_pannable_area_expose_event),
5802 (hildon_pannable_area_scroll),
5803 (hildon_pannable_area_button_press_cb),
5804 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5805 and vindicator_mode with hscrollbar_policy and
5806 vscrollbar_policy. Replaced hscroll and vscroll with
5807 hscroll_visible and vscroll_visible.
5809 (hildon_pannable_area_refresh): Refactor the function, remove
5810 variables and check the calls to this function, added resize
5811 conditions in case the children change their layout.
5813 (hildon_pannable_area_size_request): Added more detailed
5814 size_request calculation.
5817 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5819 * src/hildon-color-chooser.c
5820 (init_borders): use the correct gtk_border_free instead of g_free, to
5821 avoid a crash when this widget is used (ie: the three color selection
5824 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5826 * src/hildon-check-button.c,
5827 (hildon_check_button_set_active): Fixed problem when setting the
5828 active value, the widget was not redrawn.
5830 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5832 * src/hildon-pannable-area.c,
5833 (hildon_pannable_area_refresh),
5834 (hildon_pannable_area_scroll),
5835 (hildon_pannable_area_motion_notify_cb): Small code style change.
5837 (hildon_pannable_area_class_init): Default initial_hint set to
5838 FALSE, it is not in the specs.
5840 (hildon_pannable_area_initial_effect),
5841 (hildon_pannable_area_expose_event),
5842 (hildon_pannable_area_map),
5843 (hildon_pannable_area_init): Moved the launching point of the
5844 initial effect, it was in map but the sizes where not correct in
5845 that method so we do not know if we have the reproduce it. Now it
5846 is placed in the expose_event method and uses a variable to
5847 reproduce it just once.
5849 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5851 * src/hildon-pannable-area.c,
5852 (hildon_pannable_draw_vscroll),
5853 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5854 position allowed for the scrollbars.
5856 (hildon_pannable_area_size_allocate): Small style change.
5858 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5860 * src/hildon-pannable-area.c,
5861 (hildon_pannable_area_scroll_indicator_fade),
5862 (hildon_pannable_area_button_press_cb),
5863 (hildon_pannable_area_button_release_cb),
5864 (hildon_pannable_area_scroll_cb),
5865 (hildon_pannable_area_expose_event),
5866 (hildon_pannable_area_init): Added the define parameter
5867 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5868 and refactor the fade variable.
5870 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5872 * src/hildon-pannable-area.c,
5873 (hildon_pannable_area_redraw),
5874 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5875 lines, we were reimplemeting the redraw code.
5877 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5879 * src/hildon-pannable-area.c,
5880 (hildon_pannable_area_scroll_cb),
5881 (hildon_pannable_area_realize),
5882 (hildon_pannable_area_class_init): Added scroll_event management
5883 for pannable area, now we can scroll the usual desktop method.
5885 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5886 initialization of the parameters should depend on idle_id.
5888 (hildon_pannable_area_init),
5889 (hildon_pannable_area_map): Small code style modifications
5891 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5893 * src/hildon-pannable-area.c
5894 (hildon_pannable_area_button_press_cb),
5895 (hildon_pannable_area_motion_notify_cb),
5896 (hildon_pannable_area_button_release_cb),
5897 (hildon_pannable_area_size_allocate),
5898 (hildon_pannable_area_scroll_to): Improved the timeouts
5899 management, we avoid creating them each time.
5901 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5903 * src/hildon-pannable-area.c:
5904 (hildon_pannable_area_refresh),
5905 (hildon_pannable_area_motion_notify_cb),
5906 (hildon_pannable_area_class_init):
5907 * src/hildon-pannable-area.h:
5908 * src/hildon-touch-selector.c
5909 (_create_new_column):
5910 * examples/hildon-pannable-area-example-4.c:
5911 (horizontal_movement),
5912 (vertical_movement),
5914 Replaced the names of enums in the HildonPannableArea:
5915 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5916 HILDON_MOVEMENT_MODE_*
5917 - HILDON_PANNABLE_AREA_MOV_* ->
5919 - Removed HildonPannableAreaIndicatorMode, now we
5922 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5924 * examples/hildon-pannable-area-touch-grid-example.c
5925 * examples/hildon-pannable-area-touch-list-example.c: Fix
5926 compilation warnings.
5928 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-gtk.c (hildon_gtk_button_new)
5931 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5932 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5933 images overriding the value of the "gtk-button-images" setting.
5935 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5937 * src/hildon-check-button.c (hildon_check_button_new):
5938 Instead of using a custom container, display the label and the
5939 checkbox using the standard GtkButton API.
5941 * examples/hildon-check-button-example.c (main): Don't use
5942 hildon_check_button_set_label() anymore
5944 * src/hildon-check-button.h
5945 * src/hildon-check-button.c
5946 (hildon_check_button_set_label, hildon_check_button_get_label):
5947 Set as deprecated, now we're using gtk_button_{get,set}_label()
5949 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5951 * src/hildon-pannable-area.c,
5952 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5953 GtkTreeview first line we detected it after the inclusion of the
5954 GtkWindowImpl in gtk+. We now check if the window is visible, not
5955 just if the pointer is over the window.
5956 (hildon_pannable_axis_scroll),
5957 (hildon_pannable_area_expose_event): Small style changes.
5959 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5961 * src/hildon-button.c: Update documentation.
5963 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5965 * examples/hildon-button-example.c: Add a switch to show images in
5968 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5970 * doc/hildon-docs.sgml: Some docs reorganization.
5972 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5974 * examples/hildon-pannable-area-touch-list-example.c
5976 * examples/hildon-pannable-area-touch-grid-example.c
5977 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5978 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5979 Fix memory leak when setting the tree model.
5981 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5985 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5987 * doc/hildon.types: Remove duplicated hildon_window_get_type
5988 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5989 documentation comment.
5991 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5993 * doc/Makefile.am: Complete list of private headers.
5995 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5997 * doc/hildon-docs.sgml
5998 * src/hildon-app-menu.c
5999 * src/hildon-bread-crumb.c
6000 * src/hildon-button.c
6002 * src/hildon-program.c
6003 * src/hildon-stackable-window.c
6004 * src/hildon-window.c: Lots of documentation updates.
6006 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6008 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6010 * configure.ac: Require Gtk+ 2.12.9 at least
6012 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6014 * src/hildon-pannable-area.c
6015 (hildon_pannable_area_scroll_indicator_fade),
6016 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6017 to protect the return of this timeout callbacks, avoiding deadlocks.
6019 2008-08-12 Christian Dywan <christian@imendio.com>
6022 * src/hildon-*.h: Ensure a consistent include order,
6023 include <gtk/gtk.h> instead of particular files and
6024 only include the topmost header in the gtk stack. See NB #39857
6026 2008-08-12 Christian Dywan <christian@imendio.com>
6028 * src/hildon-picker-dialog.c
6029 * src/hildon-touch-selector.c: Fix warnings about unused and
6030 uninitialized variables.
6032 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6034 * examples/Makefile.am
6035 * examples/hildon-check-button-example.c: Example of the hildon
6038 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-window.h
6041 * src/hildon-window.c (hildon_window_class_init)
6042 (hildon_window_unset_program): Don't make
6043 hildon_window_unset_program a virtual function anymore.
6045 * src/hildon-stackable-window.c: Update documentation
6047 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6050 * doc/hildon-docs.sgml
6051 * doc/visual_index.xml
6052 * src/hildon-defines.c
6054 * src/hildon-helper.c
6055 * src/hildon-range-editor.c: Lots of documentation fixes.
6057 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6059 * examples/hildon-picker-button-multicolumn-example.c
6060 (create_touch_selector): Fix compilation warning.
6062 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6065 (hildon_pannable_area_button_release_cb)
6066 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6068 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6070 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6073 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-bread-crumb-trail.h
6076 * src/hildon-date-editor.c
6077 * src/hildon-date-selector.c
6078 * src/hildon-pannable-area.c
6079 * src/hildon-picker-dialog.c
6080 * src/hildon-time-selector.c
6081 * src/hildon-touch-selector-entry.c
6082 * src/hildon-touch-selector.c
6083 * src/hildon-touch-selector.h: Misc documentation fixes
6085 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6087 * examples/hildon-date-editor-example.c (main): Updated date
6090 * examples/hildon-note-example.c (on_confirmation_clicked):
6091 Updated confirmation note example.
6093 * src/hildon-date-editor.c
6094 * src/hildon-note.c: Updated sample programs in documentation.
6097 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6099 * src/hildon-date-button.h:
6100 * src/hildon-picker-button.h:
6101 * src/hildon-time-button.c:
6102 * src/hildon-time-button.h:
6104 Some declarations changes to allow gtk-doc to document the widgets
6107 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6109 * src/hildon-date-button.c: Document the widget.
6110 * src/hildon-time-button.c: Document the widget.
6112 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-picker-button.c: Document the widget.
6115 * src/hildon-touch-selector-entry.c: Document the widget.
6117 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6119 * doc/hildon-docs.sgml
6122 * src/hildon-check-button.h
6123 * src/hildon-check-button.c: New functions to create the Hildon
6127 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6129 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6131 * src/hildon-button.h
6132 * src/hildon-button.c
6133 (hildon_button_add_title_size_group)
6134 (hildon_button_add_value_size_group)
6135 (hildon_button_add_image_size_group)
6136 (hildon_button_add_size_groups): New functions to set size groups
6137 for the button labels and image.
6138 (hildon_button_new_full): Removed
6140 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6142 * src/hildon-time-selector.c
6143 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6144 in order to avoid a crash if gconf is not available
6146 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6148 * src/hildon-button.c (hildon_button_set_arrangement)
6149 (hildon_button_construct_child): Don't construct the button child
6150 before setting the arrangement.
6152 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-program-private.h
6155 * src/hildon-program.c
6156 * src/hildon-program.h
6157 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6158 (hildon_program_peek_window_stack)
6159 (hildon_program_pop_window_stack)
6160 (hildon_program_go_to_root_window): HildonProgram now has a
6161 separate list for stackable windows. Functions are provided to
6162 manage that list with a stack-like API.
6164 * src/hildon-stackable-window.c: Stackable window management is
6165 now much simpler with the new HildonProgram API. Windows no
6166 longer need to be manually added to the program, they're
6167 automatically pushed to the top of the stack when shown.
6169 * examples/hildon-stackable-window-example.c: Updated example to
6170 reflect the API changes.
6172 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6174 * src/hildon-touch-selector.c: Comment out unimplemented
6175 hildon_touch_selector_insert_column() to avoid a compile warning.
6177 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6180 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6181 (hildon_touch_selector_set_column_selection_mode),
6182 (_hildon_touch_selector_set_model),
6183 (hildon_touch_selector_set_model):
6185 Complete review of HildonTouchSelector documentation.
6187 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6189 * doc/hildon-docs.sgml
6193 * src/hildon-gtk.c: Convenience functions for standard Gtk
6194 widgets, used to easily perform frequent operations.
6196 * src/hildon-button-helpers.h
6197 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6199 * src/hildon-helper.h
6200 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6201 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6203 * src/hildon-button.h
6204 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6206 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-button.c (hildon_button_init)
6209 (hildon_button_set_arrangement, hildon_button_construct_child):
6210 Pack the image and the labels inside the same GtkAlignment so
6211 gtk_button_set_alignment() can be used
6213 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6215 * src/hildon-button.h
6216 * src/hildon-button.c
6217 (hildon_button_init, hildon_button_set_image)
6218 (hildon_button_set_image_position)
6219 (hildon_button_construct_child): New functions to add an image to
6222 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-date-button.c
6225 * src/hildon-picker-button.c
6226 * src/hildon-time-button.c
6227 * src/hildon-button.c:
6228 (hildon_button_class_init): "size-flags" renamed to "size"
6229 (hildon_button_set_title): Hide the title label if set to NULL.
6231 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6233 HildonButtonFlags split into HildonButtonArrangement (to set the
6234 button layout) and HildonSizeType (which can be used for any
6237 * src/hildon-button.h
6238 * src/hildon-button.c
6239 (hildon_button_class_init)
6240 (hildon_button_set_arrangement)
6241 (hildon_button_set_property): New "size-flags"
6242 property. "arrangement-flags" renamed to "arrangement".
6243 (hildon_button_new, hildon_button_new_with_text)
6244 (hildon_button_new_full): Constructors updated to reflect type changes.
6246 * src/hildon-helper.h
6247 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6248 to set the size of a widget.
6252 * src/hildon-button-helpers.c
6253 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6255 * src/hildon-date-button.c
6256 * src/hildon-date-button.h
6257 * src/hildon-picker-button.c
6258 * src/hildon-picker-button.h
6259 * src/hildon-time-button.c
6260 * src/hildon-time-button.h: Updated widgets to reflect
6261 HildonButton API changes.
6263 * examples/hildon-button-example.c
6264 * examples/hildon-date-button-example.c
6265 * examples/hildon-picker-button-example.c
6266 * examples/hildon-picker-button-multicolumn-example.c
6267 * examples/hildon-time-button-example.c
6268 * examples/hildon-touch-selector-entry-example.c
6269 * examples/hildon-touch-selector-example.c: Updated examples to
6270 reflect HildonButton API changes.
6272 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6274 * doc/hildon-docs.sgml:
6276 * examples/Makefile.am:
6277 * examples/hildon-touch-selector-entry-example.c:
6279 * src/hildon-touch-selector-entry.c:
6280 * src/hildon-touch-selector-entry.h:
6283 Moved HildonTouchSelectorEntry from sandbox. Added its
6284 documentation and examples.
6286 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/hildon-touch-selector.h:
6289 * examples/hildon-picker-button-multicolumn-example.c:
6290 (hildon_touch_selector_append_text_column): Add a gboolean
6291 parameter to determine if text must be centered in the column.
6293 * src/hildon-date-selector.c: (hildon_date_selector_init):
6294 * src/hildon-time-selector.c: (hildon_time_selector_init):
6295 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6296 (create_touch_selector): Update widgets and example to reflect
6299 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-touch-selector.c:
6302 (hildon_touch_selector_set_active_iter): Set also the cursor in
6305 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6307 * doc/hildon-docs.sgml
6310 * src/hildon-toggle-button.c
6311 * src/hildon-toggle-button.h
6312 * src/hildon.h: Removed HildonToggleButton widget, a derived
6313 class is not necessary for this.
6315 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6317 * src/hildon-pannable-area.c,
6318 (hildon_pannable_area_realize),
6319 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6322 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6324 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6325 "done" button the default widget for the dialog.
6327 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6329 * src/hildon-touch-selector.c:
6330 (hildon_touch_selector_class_init),
6331 (hildon_touch_selector_get_property),
6332 (_hildon_touch_selector_set_model),
6333 (_hildon_touch_selector_has_multiple_selection),
6334 (hildon_touch_selector_has_multiple_selection):
6335 Add a "has-multiple-selection" property with a virtual
6336 has_multiple_selection() method to allow derived classes to
6337 override the default value for it. See the method and property
6338 documentation for details.
6340 * src/hildon-touch-selector.h: Add the new API.
6342 * src/hildon-picker-dialog.c: (requires_done_button): Call
6343 hildon_touch_selector_has_multiple_selection() instead of
6344 determining the need for a button itself.
6346 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6348 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6349 (_hildon_touch_selector_set_model),
6350 (hildon_touch_selector_set_model): Move working code to
6351 _hildon_touch_selector_set_mode(). Call the class method instead.
6353 * src/hildon-touch-selector.h: Add (*set_model) to
6354 HildonTouchSelectorClass.
6356 Make hildon_touch_selector_set_model() a virtual method, so that
6357 derived classes can extend it and do fancy stuff with the model.
6359 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6361 * configure.ac: Set back the tarname in AC_INIT to hildon.
6363 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6367 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6368 instead of libesd (NB#86876). Volume handling is still an open issue.
6370 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6373 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6375 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6376 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6377 derived class to ease placement of an entry widget in
6378 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6379 end, where the selector columns are packed now.
6381 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6383 * src/hildon-picker-button.c: Removed the simple _text() API.
6384 * src/hildon-picker-button.h: Likewise.
6386 * src/hildon-touch-selector.h:
6387 * src/hildon-touch-selector.c:
6388 (hildon_touch_selector_new_text),
6389 (hildon_touch_selector_append_text),
6390 (hildon_touch_selector_prepend_text),
6391 (hildon_touch_selector_insert_text):
6393 Moved the simple _text() API from HildonPickerButton to
6394 HildonTouchPicker, to provide better escalability and not to tie
6395 that API to HildonPickerButton.
6397 * examples/hildon-picker-button-example.c: (main): Example updated.
6399 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6401 * src/hildon-button.c: Updated documentation.
6403 * examples/hildon-button-example.c: Add the posibility to create
6404 the buttons using horizontal layout for title and value.
6406 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6408 * src/hildon-app-menu-private.h
6409 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6410 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6411 GtkSizeGroup for the filters, use the 'homogeneous' property of
6414 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6416 * examples/hildon-button-example.c: Updated example.
6418 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6420 * doc/hildon-docs.sgml:
6423 Update documentation.
6425 * examples/Makefile.am: Update renamed examples.
6427 * examples/hildon-picker-button-multicolumn-example.c:
6428 (create_touch_selector), (main): Update after the rename.
6430 * examples/hildon-touch-picker-example.c: Removed.
6431 * examples/hildon-touch-selector-example.c: (value_changed),
6432 (create_selector), (get_visible_content), (main): Renamed from
6433 hildon-touch-picker-example.c
6435 * src/Makefile.am: Updated renamed files.
6437 * src/hildon-date-button.c: (hildon_date_button_init),
6438 (hildon_date_button_get_date), (hildon_date_button_set_date):
6439 * src/hildon-date-selector.c: (hildon_date_selector_init),
6440 (_custom_print_func), (_update_day_model),
6441 (_manage_selector_change_cb),
6442 (hildon_date_selector_select_current_date),
6443 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6444 * src/hildon-date-selector.h:
6445 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6446 (hildon_picker_button_set_property),
6447 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6448 (hildon_picker_button_init), (hildon_picker_button_new_text),
6449 (hildon_picker_button_append_text),
6450 (hildon_picker_button_prepend_text),
6451 (hildon_picker_button_insert_text),
6452 (hildon_picker_button_set_selector),
6453 (hildon_picker_button_get_selector):
6454 * src/hildon-picker-button.h:
6455 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6456 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6457 (_update_title_on_selector_changed_cb), (requires_done_button),
6458 (_hildon_picker_dialog_set_selector),
6459 (hildon_picker_dialog_set_selector),
6460 (hildon_picker_dialog_get_selector):
6461 * src/hildon-picker-dialog.h:
6462 * src/hildon-time-button.c: (hildon_time_button_init),
6463 (hildon_time_button_get_time), (hildon_time_button_set_time):
6464 * src/hildon-time-selector.c: (hildon_time_selector_init),
6465 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6466 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6467 * src/hildon-time-selector.h:
6470 Massive code updates after the rename.
6472 * src/hildon-touch-picker.c: Removed.
6473 * src/hildon-touch-picker.h: Removed.
6475 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6476 (hildon_touch_selector_init), (hildon_touch_selector_map),
6477 (hildon_touch_selector_remove), (_default_print_func),
6478 (_selection_changed_cb), (_create_new_column),
6479 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6480 (hildon_touch_selector_append_text_column),
6481 (hildon_touch_selector_remove_column),
6482 (hildon_touch_selector_set_column_attributes),
6483 (hildon_touch_selector_insert_column),
6484 (hildon_touch_selector_get_num_columns),
6485 (hildon_touch_selector_get_column_selection_mode),
6486 (hildon_touch_selector_set_column_selection_mode),
6487 (hildon_touch_selector_set_print_func),
6488 (hildon_touch_selector_get_print_func),
6489 (hildon_touch_selector_get_active_iter),
6490 (hildon_touch_selector_set_active_iter),
6491 (hildon_touch_selector_get_selected_rows),
6492 (hildon_touch_selector_get_model),
6493 (hildon_touch_selector_set_model),
6494 (hildon_touch_selector_get_current_text),
6495 (_hildon_touch_selector_center_on_selected_items):
6496 * src/hildon-touch-selector.h: Renamed from
6497 hildon-touch-picker.[ch]
6499 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6500 references, code examples, and related documentation.
6502 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6504 * doc/hildon-docs.sgml
6507 * src/hildon-toggle-button.c
6508 * src/hildon-toggle-button.h
6509 * src/hildon.h: New HildonToggleButton widget.
6511 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-button.c: Add API documentation.
6514 (hildon_button_set_size_groups): Check input parameters
6516 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6518 * src/hildon-pannable-area.c
6519 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6520 effect after reaching the movement thredshold. This way we start
6521 using the distance after passing the thredshold.
6523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-button.c: (hildon_button_set_property): Use the
6526 appropriate g_value_get_flags() method.
6528 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6530 * doc/hildon-docs.sgml:
6533 Add the touch pickers, picker dialogs, and picker button widgets
6534 to the documentation.
6536 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6538 * src/hildon-button.c: (hildon_button_set_property),
6539 (hildon_button_class_init): Make "arrangement-flags" a proper
6540 G_TYPE_FLAGS derived property.
6542 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6544 * examples/Makefile.am: Add below examples.
6545 * examples/hildon-date-button-example.c:
6546 * examples/hildon-picker-button-example.c:
6547 * examples/hildon-picker-button-multicolumn-example.c:
6548 * examples/hildon-time-button-example.c:
6549 * examples/hildon-touch-picker-example.c:
6551 Add examples for the recently added touch pickers,
6552 picker dialogs, and picker button widgets.
6554 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-button.c: Add some API documentation
6558 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6560 * src/hildon-button.h
6561 * src/hildon-button.c
6563 (hildon_button_new_with_text): New constructor to create a button
6564 with no text at all.
6565 (hildon_button_init, hildon_button_set_arrangement)
6566 (hildon_button_set_title, hildon_button_set_value)
6567 (hildon_button_set_text)
6568 (hildon_button_construct_child): Hide the value when it's not used
6569 so the rest of the text is properly aligned.
6570 Allow creating buttons with arbitrary widgets inside (not just
6571 title/value labels).
6573 * examples/hildon-button-example.c (vertical_buttons_window)
6574 (horizontal_buttons_window): Update example to use new API.
6576 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6578 * src/Makefile.am: Added HildonTimeButton.
6579 * src/hildon-time-button.c: Added missing LGPL header.
6580 * src/hildon-time-button.h: Added missing LGPL header.
6581 * src/hildon.h: Add hildon-time-button.h
6583 Copied HildonTimeButton from sandbox to trunk. Future work on this
6584 widget must take place in trunk.
6586 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6588 * src/Makefile.am: Added HildonDateButton.
6589 * src/hildon-date-button.c: Update includes.
6590 * src/hildon.h: Add hildon-date-button.h
6592 Copied HildonDateButton from sandbox to trunk. Future work on this
6593 widget must take place in trunk.
6595 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6597 * src/Makefile.am: Added HildonPickerButton.
6598 * src/hildon-picker-button.h: Update includes.
6599 * src/hildon.h: Add hildon-picker-button.h
6601 Copied HildonPickerButton from sandbox to trunk. Future work on
6602 this widget must take place in trunk.
6604 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6606 * src/Makefile.am: Added HildonPickerDialog.
6607 * src/hildon-picker-dialog.c: Update includes.
6608 * src/hildon.h: Add hildon-picker-dialog.h
6610 Copied HildonPickerDialog from sandbox to trunk. Future work
6611 on this widget must take place in trunk.
6613 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6615 * src/Makefile.am: Added HildonTimeSelector.
6616 * src/hildon.h: Add hildon-time-selector.h
6618 Copied HildonTimeSelector widget from sandbox to trunk. Future
6619 work on this widget must happen in trunk.
6621 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6623 * src/Makefile.am: Added HildonDateSelector.
6624 * src/hildon.h: Add hildon-date-selector.h
6626 Copied HildonDateSelector widget from sandbox to trunk. Future
6627 work on this widget must happen in trunk.
6629 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/Makefile.am: Added HildonTouchPicker.
6632 * src/hildon-touch-picker.c: Update includes.
6633 * src/hildon.h: Add hildon-touch-picker.h
6635 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6636 on this widget must happen in trunk.
6638 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6640 * src/hildon-pannable-area.c:
6641 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6643 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6645 * examples/hildon-app-menu-example.c (main): Let the window
6648 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6650 * src/hildon-pannable-area.c
6651 (hildon_pannable_area_class_init): Set the min value of the
6652 overshoot properties to zero, which points out that not
6653 overshooting allowed.
6655 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6657 Modified the procedure to get the widget at a point inside the
6658 pannable area when using the movement type signals. Now the user
6659 has to call a function to get the child, that way we just
6660 calculate the child in case the user really want to use it and not
6663 * src/hildon-marshalers.list: Modified the marshallers, now we do
6664 not have the widget as a parameter.
6666 * src/hildon-pannable-area.c
6667 (hildon_pannable_area_motion_notify_cb),
6668 (hildon_pannable_area_class_init),
6669 (hildon_pannable_get_child_widget_at): Removed the widget
6670 parameter from the signal callback. We have also refactored the
6671 emission of the signals.
6673 * src/hildon-pannable-area.h: Added a new method to the API to
6674 calculate a widget at a point inside the pannable area,
6675 hildon_pannable_get_child_widget_at.
6677 * examples/hildon-pannable-area-example-4.c
6678 (horizontal_movement): Modified the example to use the new API,
6679 added condition to control which widget is under the event. This
6680 way we can avoid scrolling laterally over other widgets.
6682 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6684 * src/hildon-pannable-area.c
6685 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6686 modes, we stop getting the pointer events due to returning the
6687 callback without properly calling the get pointer again. Fixed
6688 also an error using the hscroll and vscroll.
6690 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6692 * src/hildon-app-menu-private.h
6693 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6694 (hildon_app_menu_button_release, hildon_app_menu_init)
6695 (hildon_app_menu_class_init): Don't hide the menu on button
6696 release if the user didn't press outside first.
6698 * src/hildon-window.h
6699 * src/hildon-window.c (hildon_window_toggle_menu)
6700 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6701 hildon_window_toggle_menu a virtual function for the stackable
6702 window to override it.
6704 * src/hildon-stackable-window.h
6705 * src/hildon-stackable-window-private.h
6706 * src/hildon-stackable-window.c
6707 (hildon_stackable_window_realize)
6708 (hildon_stackable_window_finalize)
6709 (hildon_stackable_window_class_init)
6710 (hildon_stackable_window_init)
6711 (hildon_stackable_window_set_main_menu): New function to set the
6712 app menu of a HildonStackableWindow.
6714 * examples/hildon-app-menu-example.c: Remove the button to show
6715 the app menu, now it'll be shown when clicking on the title bar
6718 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6720 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6721 set the widget name if the arrangement flags do not specify
6724 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6726 * src/hildon-button.c: (hildon_button_set_property),
6727 (hildon_button_class_init), (hildon_button_new_full),
6728 (hildon_button_set_arrangement): Added "arrangement-flags"
6731 Make the HildonButtonFlags a construction-only property, to allow
6732 subclasses to set them properly.
6734 2008-07-21 Tim Janik <timj@imendio.com>
6736 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6737 insertion position after backspace, so additional digits are appended,
6740 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6742 * src/hildon-pannable-area.c,
6743 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6744 TODO list, it was complete and removed the g_debug and g_print
6747 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6749 Added the movement modes to the hildon-pannable-area, with this
6750 modes the developers can control in which directions the widget
6751 can scroll. They can also connect to signals in order to do
6752 something when that happens, allowing applications scroll. There
6753 is an example uploaded showing how to use it.
6755 * examples/Makefile.am:
6756 * examples/hildon-pannable-area-example-4.c: Added this example of
6757 an application using the modes.
6759 * src/hildon-marshalers.list: Added a new marshaller for the new
6762 * src/hildon-pannable-area.h: Added new enumerations and flags in
6763 order to control the movement modes and the new signals to warn
6764 about the movements in the area.
6766 * src/hildon-pannable-area.c:
6767 (hildon_pannable_axis_scroll),
6768 (hildon_pannable_area_scroll),
6769 (hildon_pannable_area_motion_notify_cb),
6770 (hildon_pannable_area_get_property),
6771 (hildon_pannable_area_set_property),
6772 (hildon_pannable_area_map),
6773 (hildon_pannable_area_class_init),
6774 (hildon_pannable_area_init),
6775 (hildon_pannable_area_jump_to): Added the modes to control the
6776 movement in the widget. We have added properties to control it,
6777 signals to warn about the movements and refactored some code.
6779 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6781 Changes required in order to allow vfast_factor set to zero to
6784 * src/hildon-pannable-area.c:
6785 (hildon_pannable_area_button_press_cb): Changed the condition, it
6786 is required for not allowing click when vfast_factor is zero.
6787 (hildon_pannable_area_timeout): Initialized velocity variables
6788 when we stop moving, it was less than 1 but not zero and we need
6789 to check zero in some situations.
6790 (hildon_pannable_area_class_init): Changed the default value of
6791 the speed factor, now the button_press is just sent in case the
6792 speed is 2 per cent of the max speed.
6793 (hildon_pannable_area_init): Initialization with 0.
6795 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6797 * src/hildon-pannable-area.c,
6798 (hildon_pannable_area_get_topmost): replaced
6799 gdk_window_get_children with gdk_window_peek_children, this way we
6800 do not have to free the list because it is not a copy.
6802 (hildon_pannable_axis_scroll),
6803 (hildon_pannable_area_scroll),
6804 (hildon_pannable_area_timeout),
6805 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6806 two parameters that were only used inside the
6807 hildon_pannable_area_scroll function.
6809 * examples/hildon-pannable-area-example.c,
6810 (get_sawtooth_label): Fixed small memory leak.
6812 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6814 More checks for the case where the overshoot is bigger than the
6817 * src/hildon-pannable-area.c:
6818 (hildon_pannable_draw_vscroll),
6819 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6820 to draw the slider of the scrollbar under the other scrollbar.
6821 (hildon_pannable_area_expose_event): added new checks to control
6822 the drawing of the overshooting area rectangle, in case it is too
6823 big for the area of the widget.
6824 (hildon_pannable_area_size_allocate): add more checks to avoid
6825 setting a position to the child widget outside the area.
6827 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6829 * src/hildon-pannable-area.c
6830 (hildon_pannable_area_size_allocate): Added conditions to control
6831 when overshooting is bigger than the allocated space for the
6832 children, this avoids negative allocations.
6834 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6836 * doc/hildon-docs.sgml
6838 * examples/Makefile.am
6839 * examples/hildon-button-example.c
6841 * src/hildon-button.c
6842 * src/hildon-button.h
6843 * src/hildon.h: Initial version of the new HildonButton widget,
6846 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6848 * src/hildon-pannable-area.c:
6849 (hildon_pannable_area_button_press_cb),
6850 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6851 (hildon_pannable_area_motion_notify_cb),
6852 (hildon_pannable_area_button_release_cb),
6853 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6854 (hildon_pannable_area_jump_to_child):
6856 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6858 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6860 * examples/Makefile.am
6861 * examples/hildon-pannable-area-touch-grid-example.c
6862 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6863 the Hildon Touch List and Hildon Touch Grid using the
6864 HildonPannableArea widget.
6866 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6868 * src/hildon-pannable-area.c,
6869 (hildon_pannable_area_button_press_cb),
6870 (hildon_pannable_area_refresh),
6871 (hildon_pannable_area_scroll),
6872 (hildon_pannable_area_motion_notify_cb),
6873 (hildon_pannable_area_button_release_cb),
6874 (hildon_pannable_area_expose_event),
6875 (hildon_pannable_area_add),
6876 (hildon_pannable_area_remove),
6877 (hildon_pannable_area_realize),
6878 (hildon_pannable_area_size_allocate),
6879 (hildon_pannable_area_class_init),
6880 (hildon_pannable_area_init),
6881 (hildon_pannable_area_scroll_to_child),
6882 (hildon_pannable_area_jump_to_child): Fixed the problem of
6883 removing the child from the GtkBin, we have rearranged the widget
6884 hierarchy, now there is no GtkAlignment which was not doing
6885 anything interesting but breaking some of the assumptions of
6886 GtkContainer. Now developers if they want to add a GtkAlignment
6887 they could, but it is not inside the area.
6889 We had to review the whole allocation/expose process, now it is
6890 improved and we save at least three signals which would be saving
6891 some time when rendering the widget. The allocation of the
6892 scrollbars is now made in the allocate method as usual.
6894 We have also added some conditions in order to control when there
6895 is no child of the pannable area. Maybe we will need more work
6898 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6900 * src/hildon-pannable-area.c,
6901 (hildon_pannable_area_dispose): Released the fade-out timeout when
6902 disposing the widget.
6904 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6906 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6907 zero, we are going to use that property in order to deactivate the
6909 (hildon_pannable_axis_scroll),
6910 (hildon_pannable_area_size_allocate): Added conditions to control
6911 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6912 call, now it is called in all situations and we can remove calls
6913 in the allocate method.
6914 (hildon_pannable_area_map): Control the situation when
6915 overshoot_max is zero, we do not need the timeout.
6916 (hildon_pannable_area_class_init): Added documentation in order to
6917 point out that setting zero to overshoot_max means deactivate
6920 NOTE: removed trailing whitespaces from my previous comments of
6923 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6925 * src/hildon-pannable-area.c
6926 (hildon_pannable_area_get_property),
6927 (hildon_pannable_area_set_property),
6928 (hildon_pannable_area_map),
6929 (hildon_pannable_area_class_init),
6930 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6931 to cause the widget give a hint about its panning abilities upon
6934 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/hildon-pannable-area.c: Several documentation improvements.
6938 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6940 * src/hildon-program.c
6941 * src/hildon-stackable-window.c: Update documentation.
6943 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6945 * src/hildon-stackable-window.c (get_previous_window_if_last):
6946 Renamed get_last_window()
6947 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6948 (hildon_stackable_window_unset_program):
6950 (get_previous_window_if_last):
6951 Detect if the window hasn't been added to a HildonProgram.
6953 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6955 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6957 * src/hildon-pannable-area.c
6958 (hildon_pannable_area_button_press_cb),
6959 (hildon_pannable_axis_scroll),
6960 (hildon_pannable_area_scroll),
6961 (hildon_pannable_area_timeout),
6962 (hildon_pannable_calculate_vel_factor),
6963 (hildon_pannable_area_get_property),
6964 (hildon_pannable_area_set_property),
6965 (hildon_pannable_area_class_init),
6966 (hildon_pannable_area_init),
6967 (hildon_pannable_area_scroll_to),
6968 (hildon_pannable_area_jump_to),
6969 (hildon_pannable_area_scroll_to_child),
6970 (hildon_pannable_area_jump_to_child):
6971 * src/hildon-pannable-area.h: Added the new API functions:
6972 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6973 hildon_pannable_area_scroll_to_child,
6974 hildon_pannable_area_jump_to_child
6977 * examples/Makefile.am
6978 * examples/hildon-pannable-area-example-2.c
6979 * examples/hildon-pannable-area-example-3.c: Added these two new
6980 examples in order to test and show how the new APIs work.
6982 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6984 * examples/hildon-stackable-window-example.c (new_window):
6985 * src/Makefile.am (noinst_HEADERS):
6986 * src/hildon-program.c (hildon_program_go_to_root_window):
6987 * src/hildon-program.h:
6988 * src/hildon-stackable-window-private.h:
6989 * src/hildon-stackable-window.c:
6990 * src/hildon-stackable-window.h:
6991 Create hildon-stackable-window-private.h
6992 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6994 * examples/hildon-app-menu-example.c (create_menu):
6995 * examples/hildon-hvolumebar-insensitive-example.c (main):
6996 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6997 * examples/hildon-toolbar-seekbar-example.c (main):
6998 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6999 * src/hildon-banner.c (hildon_banner_set_property):
7000 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7001 Fix compilation warnings
7003 * src/hildon-window.c:
7006 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7008 * src/hildon-stackable-window.c
7009 (hildon_stackable_window_unset_program):
7010 Calculate correctly whether to show the previous window if the
7011 last one is removed from the stack.
7012 (hildon_stackable_window_go_to_root_window):
7013 Send delete events starting from the topmost window.
7014 Stop if one of the windows is not destroyed.
7016 (hildon_stackable_window_delete_event)
7017 (hildon_stackable_window_class_init):
7018 Ignore the delete event if the window is not the topmost one.
7020 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7022 * src/hildon-pannable-area.c
7023 (hildon_pannable_area_expose_event): Fixed a problem when
7024 selecting the background color of the scrollbars.
7026 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7028 * examples/hildon-stackable-window-example.c
7029 * src/hildon-stackable-window.c
7030 * src/hildon-stackable-window.h
7031 hildon_stackable_window_go_home() renamed to
7032 hildon_stackable_window_go_to_root_window()
7033 Send delete events to windows rather than closing them with
7034 gtk_widget_destroy()
7036 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7038 * src/hildon-pannable-area.c
7039 (hildon_pannable_area_button_release_cb): Fix overshooting in
7042 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7044 * src/hildon-pannable-area.c
7045 (hildon_pannable_area_init): Initially show the scroll indicators.
7046 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7048 Add initial effect showing the widget is pannable.
7050 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-pannable-area.c
7053 (hildon_pannable_area_class_init)
7054 (hildon_pannable_area_set_property)
7055 (hildon_pannable_area_get_property)
7056 (hildon_pannable_area_button_press_cb):
7057 New 'velocity_fast_factor' property to decide which velocity is
7060 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7062 * src/hildon-pannable-area.c
7063 (hildon_pannable_draw_hscroll)
7064 (hildon_pannable_draw_vscroll):
7065 Use float variables to calculate the size of the scrollbars to
7066 avoid error propagation and resizing during scrolling.
7068 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7070 * src/hildon-pannable-area.c
7071 (hildon_pannable_draw_vscroll)
7072 (hildon_pannable_draw_hscroll):
7073 Define a minimum size for the scroll bars
7075 * src/hildon-stackable-window.c
7076 (hildon_stackable_window_go_home): Fix compilation warning
7077 (get_last_window): Minor optimizations
7078 (hildon_stackable_window_class_init): Fix initialization of
7081 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7083 * src/hildon-stackable-window.c: Fixed typos in doc
7085 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-pannable-area.c
7088 (hildon_pannable_area_scroll):
7089 Calculate here whether we need to scroll instead of using the booleans
7090 that tell us whether to /draw/ the scrolling bars.
7092 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7094 * src/hildon-app-menu.h
7096 * src/hildon-app-menu.c
7097 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7098 multiple filter groups related code and API. Now we support only
7100 * examples/hildon-app-menu-example.c:
7102 Update to reflect API changes.
7104 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7106 * src/hildon-stackable-window.c
7107 (hildon_stackable_window_class_init):
7108 Add hildon_stackable_window_realize.
7109 (hildon_stackable_window_realize):
7110 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7111 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7112 to apply theming and behavior specific to HildonStackableWindow
7115 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7117 * src/hildon-note.c (hildon_note_button_release):
7118 Close information notes also when tapping on them
7120 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7122 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7123 ELASTICITY, refactor and review, fix some issues with drawing
7126 * src/hildon-pannable-area.c:
7127 (hildon_pannable_area_button_press_cb): removed the conditions to
7128 avoid clicks when overshooting. It is not required
7130 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7131 define. Refatored and reviewed the code, now we do not need to
7132 manage velocity in motion_notify.
7134 (hildon_pannable_area_motion_notify_cb): We have moved the code
7135 that controls the area_scroll to the axis_scroll function and get
7136 rid of duplicated code.
7138 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7140 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7142 (hildon_pannable_draw_vscroll),
7143 (hildon_pannable_draw_hscroll): Fixed the problems with the
7144 scrollbar drawing, now we do not use two surfaces, it is easier
7145 and saves resources.
7147 (hildon_pannable_area_get_property): Style modification.
7149 (hildon_pannable_area_class_init): Changed some default values.
7151 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7153 * src/hildon-stackable-window.c: Fix some typos in the
7156 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7158 * src/hildon-dialog.c:
7159 Change indentation style
7162 (hildon_note_button_release):
7163 Use root coordinates to check if the release event happened
7166 * src/hildon-app-menu.c
7167 (hildon_app_menu_button_release):
7168 Remove unnecessary check
7170 * examples/hildon-app-menu-example.c
7172 Add cast to fix warning
7174 * src/hildon-app-menu.c
7175 (hildon_app_menu_class_init):
7176 New inner-border style property.
7177 Set all default spacings to 16
7178 (hildon_app_menu_init):
7179 Use vertical-spacing to set the space between filter buttons and
7180 regular menu buttons.
7181 Set the default container border using the inner-border value.
7183 * examples/hildon-app-menu-example.c
7185 Don't set the menu border explicitly, now we have the inner-border
7186 style property for that.
7188 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7190 * src/hildon-app-menu.c (hildon_app_menu_init):
7191 Make the window modal
7193 * src/hildon-note.c (hildon_note_map)
7194 * src/hildon-app-menu.c (hildon_app_menu_map):
7195 Destroy the grab window if we're unable to grab the pointer
7197 * src/hildon-app-menu-private.h
7198 * src/hildon-app-menu.c
7199 (hildon_app_menu_init, hildon_app_menu_finalize)
7200 (hildon_app_menu_map, hildon_app_menu_unmap)
7201 (hildon_app_menu_button_release)
7202 (grab_transfer_window_get):
7203 Bring back the grab window
7204 (hildon_app_menu_realize):
7205 Decorate the window, set WM hint for Matchbox
7207 * src/hildon-note.c (hildon_note_realize):
7208 * src/hildon-banner.c (hildon_banner_realize):
7209 Add WM hints for Matchbox
7211 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7213 * src/hildon-app-menu-private.h
7214 * src/hildon-app-menu.c
7215 (hildon_app_menu_init, hildon_app_menu_finalize)
7216 (hildon_app_menu_map, hildon_app_menu_unmap)
7217 (hildon_app_menu_button_release):
7218 Remove the grab window, it's not needed anymore
7220 * src/hildon-program.c
7221 Fixed typo in documentation
7223 * src/hildon-app-menu.h
7224 * src/hildon-app-menu.c
7225 * examples/hildon-app-menu-example.c
7226 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7228 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7231 Added new transfer_window and close_if_pressed_outside private
7233 (hildon_note_rebuild):
7234 Don't add a cancel button to the information note. It will be
7235 closed when tapping outside
7236 Remove the comment about the OK button in the documentation
7237 (hildon_note_realize):
7238 Set the notification type hint
7239 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7240 Grab/ungrab pointer and keyboard if the note has to be closed when
7242 (hildon_note_button_release):
7243 Close the note when tapping outside (if applicable)
7245 * src/hildon-app-menu.c
7246 Grab/ungrab pointer and keyboard on map/unmap
7247 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7248 Close the menu on button release, not button press
7250 * src/hildon-banner.c
7251 (hildon_banner_set_property)
7252 (hildon_banner_check_position):
7253 Make the banner use the full width of the screen
7254 (hildon_banner_show_information)
7255 (hildon_banner_show_information_with_markup):
7256 Don't display an icon by default
7258 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7260 Added fading scrollbars and adapted all the overshooting code to
7261 horizontal scrolling. We have also fixed bugs with overshooting
7262 and current fading implementation.
7264 * src/hildon-pannable-area.c
7265 (hildon_pannable_area_scroll_indicator_fade): Time out function
7266 used to change the transparency of the scrollbars.
7268 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7269 control and fixed a problem with fading, we now remove the fade
7270 timeout before adding a new one.
7272 (hildon_pannable_axis_scroll):
7273 (hildon_pannable_area_scroll):
7274 (hildon_pannable_area_timeout): Added this functions so we can use
7275 the scroll code both for vertical and horizontal.
7277 (hildon_pannable_area_motion_notify_cb):
7278 (hildon_pannable_area_button_release_cb): Added the horizontal
7279 scrolling control, fixed a problem with the overshooting timeout.
7281 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7282 painting of the scrolls.
7284 (hildon_pannable_draw_vscroll):
7285 (hildon_pannable_draw_hscroll):
7286 (hildon_pannable_area_expose_event):
7287 Draw both scrollbars and rectangles in the overshooting area.
7289 (hildon_pannable_area_get_property):
7290 (hildon_pannable_area_set_property):
7291 Modified the overshoot property to overshoot_max
7293 (hildon_pannable_area_map):
7294 Replaced the comments symbols.
7296 (hildon_pannable_area_size_allocate):
7297 (hildon_pannable_area_class_init):
7298 (hildon_pannable_area_init): Added horizontal scroll, fading
7299 effect properties, fixed a problem when overshooting in the bottom
7302 * examples/hildon-pannable-area-example.c:
7303 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7304 looks better in the example.
7306 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7308 * src/hildon-window.c
7309 * src/hildon-window.h
7310 (hildon_window_class_init)
7311 (hildon_window_unset_program)
7312 (hildon_window_unset_program_real):
7313 Make unset_program a virtual function
7315 * src/hildon-stackable-window.c
7316 * src/hildon-stackable-window.h
7317 Added hildon_stackable_window_go_home()
7319 * examples/Makefile.am
7320 * examples/hildon-stackable-window-example.c
7321 HildonStackableWindow example
7323 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7325 * hildon-pannable-area.c: Added the overshoot property and removed
7326 the OVERSHOOT define. Fixed an indent style error.
7327 (hildon_pannable_area_motion_notify_cb):
7328 (hildon_pannable_area_get_property):
7329 (hildon_pannable_area_set_property): Add overshoot property.
7331 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7334 (hildon_pannable_area_class_init): Installed the new property.
7336 * hildon-pannable-area-example.c: Added a sawtooth function, this
7337 way it is easier to check the movement in the pannable.
7338 (get_sawtooth_label): Added this function.
7339 (main): Now we get the labels from the new get_sawtooth_label
7342 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7344 * src/hildon-app-menu.h
7345 * src/hildon-app-menu.c
7346 Renamed API variables for consistency
7348 (hildon_app_menu_popup): Use also the default window size to
7349 decide where to place the menu
7351 (hildon_app_menu_init, hildon_app_menu_class_init): New
7352 external-border style property
7354 2008-05-26 Michael Natterer <mitch@imendio.com>
7356 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7357 widget_class->tap_and_hold_setup signal slot doesn't exist any
7358 longer, stop overriding it.
7360 (hildon_time_editor_init): g_signal_connect() to the
7361 tap-and-hold-setup signal instead.
7363 (hildon_time_editor_entry_keypress): add cast to fix warning.
7365 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7367 * doc/hildon-docs.sgml
7369 * examples/Makefile.am
7370 * examples/hildon-app-menu-example.c
7372 * src/hildon-app-menu-private.h
7373 * src/hildon-app-menu.c
7374 * src/hildon-app-menu.h
7376 New HildonAppMenu widget
7378 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7380 Rearranged the inheritance of the pannable area, now it inherits
7381 from GtkBin. This will allow us to control the event_window and
7382 the allocation process of the widget, required for some effects.
7384 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7385 GtkBin structures. * src/hildon-pannable-area.c: Added the
7386 event_window variable.
7387 (hildon_pannable_area_button_press_cb):
7388 (hildon_pannable_area_button_release_cb):
7389 (hildon_pannable_area_motion_notify_cb):
7390 Changed the signature of the method, now we override the event
7391 callback instead of connecting to the signal.
7393 (hildon_pannable_area_realize):
7394 (hildon_pannable_area_unrealize):
7395 (hildon_pannable_area_map):
7396 (hildon_pannable_area_unmap):
7397 (hildon_pannable_area_size_allocate):
7398 Added functions to control the widget construction. We add a
7399 INPUT_ONLY window and we put it over the widgets inside the
7400 container, this event_window handles the events.
7402 (hildon_pannable_area_class_init):
7403 Replaced the signal connections with overrides of the event
7406 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7408 Bouncing effect added when touching the borders, you can change
7409 the elasticity of the border changing the ELASTICITY define.
7411 * src/hildon-pannable-area.c: Added ELASTICITY define.
7412 (hildon_pannable_area_timeout): Added inverse velocity when
7413 touching the border of the child widget, that causes a bounce.
7415 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7417 Improved performance, we now do not go to the X server in order to
7418 get the list of window children. Apparently the effect is the
7419 same, we have to be careful and check if this breaks something in
7422 * src/hildon-pannable-area.c:
7423 (get_ordered_children): Removed this function.
7424 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7425 the children windows function with gdk_window_get_children.
7427 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7429 * src/hildon-pannable-area.c:
7430 (hildon_pannable_area_dispose): Fixed a crash when closing the
7431 window and kinetics is activated.
7433 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7435 * src/hildon-pannable-area.h
7436 * src/hildon-pannable-area.c
7437 Changed indentation style to meet the one used in Hildon
7439 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7441 Reviewed the interaction of the AUTO mode, now we use the time
7442 attribute of the events and calculate the velocity in the motion,
7443 doing a gimp like calculation. The velocity is calculated in each
7444 motion event using the last velocity and the current one, the
7445 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7447 * src/hildon-pannable-area.c: Replaced the time based algorithm
7449 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7450 timeout for the AUTO mode when we are still moving the cursor. We
7451 added also the velocity calculation in this function.
7452 (hildon_pannable_area_button_release_cb): launch the timeout in
7453 case we are in AUTO mode. There are still some constants here that
7454 come from the old implementation that should be reviewed and
7457 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7459 * doc/hildon-docs.sgml
7462 * src/hildon-stackable-window.c
7463 * src/hildon-stackable-window.h
7465 New HildonStackableWindow widget
7467 * examples/hildon-dialog-example.c
7468 * examples/hildon-pannable-area-example.c
7471 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7473 * src/hildon-dialog.c
7474 (hildon_dialog_new_with_buttons): New constructor.
7476 * examples/hildon-dialog-example.c
7477 (main): Update the example to use the new
7478 hildon_dialog_new_with_buttons().
7480 * examples/hildon-pannable-area-example.c
7481 (main): Update example.
7483 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7485 * doc/hildon-docs.sgml
7487 Added HildonPannableArea to the documentation.
7489 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7491 * doc/visual_index.xml
7492 Fix reference to HildonLoginDialog in documentation
7494 * doc/hildon-docs.sgml
7496 * examples/Makefile.am
7497 * examples/hildon-dialog-example.c
7499 * src/hildon-dialog.c
7500 * src/hildon-dialog.h
7502 New HildonDialog widget.
7504 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7506 * src/hildon-pannable-area.c
7507 Merge latest changes (r4318, r4342) from libmokoui trunk
7509 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7511 * examples/Makefile.am
7512 * examples/hildon-pannable-area-example.c
7514 * src/hildon-pannable-area.c
7515 * src/hildon-pannable-area.h
7517 New HildonPannableArea widget.
7519 2008-04-15 18:05:19 <timj@imendio.com>
7521 * src/hildon-banner.c: revert the recent change, that introduced
7522 gtk_window_present() calls. this reopens:
7523 Bug 78481 - [freetest] information banners are hidden under browser menu
7524 But resolves another variant of:
7525 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7527 2008-04-15 13:21:13 <timj@imendio.com>
7529 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7530 recreated its layout, spotted by Kris. this fixes all remaining
7531 artefacts and stability issues with the banner code. in particular:
7532 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7534 2008-04-14 16:52:59 <timj@imendio.com>
7536 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7537 operating on unrealized widgets, fixes:
7538 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7540 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7542 2008-04-09 Kristian Rietveld <kris@imendio.com>
7544 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7545 makes banner disappear.
7546 Fixes: NB#79182: info banner flickering with certain message lengts.
7548 * src/hildon-banner.c (hildon_banner_constructor),
7549 (hildon_banner_init), (hildon_banner_set_text),
7550 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7551 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7552 FALSE, reset size requests of label and banner,
7553 (force_to_wrap_truncated): when the text is too wide, always enforce
7554 the maximum possible width instead of recalculating it from the
7555 layout; enforce the maximum banner height of 3 lines,
7556 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7557 nicer wrapping and no truncated chars if space gets tight.
7559 * src/hildon-banner-private.h: add has_been_wrapped and
7560 has_been_truncated fields.
7562 2008-04-07 Sven Herzberg <sven@imendio.com>
7564 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7565 local values in hildon_date_editor_size_allocate
7567 * src/hildon-date-editor.c: moved the real allocation code into the
7570 2008-04-07 Sven Herzberg <sven@imendio.com>
7572 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7573 local values in hildon_date_editor_size_allocate
7575 * src/hildon-date-editor.c: merged the two if() branches together
7577 2008-04-07 Sven Herzberg <sven@imendio.com>
7579 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7580 local values in hildon_date_editor_size_allocate
7582 * src/hildon-date-editor.c: changed the arguments of the if()
7585 2008-04-07 Sven Herzberg <sven@imendio.com>
7587 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7588 local values in hildon_date_editor_size_allocate
7590 * src/hildon-date-editor.c: split the calculation of the allocation
7591 from the real allocation
7593 2008-03-27 Michael Natterer <mitch@imendio.com>
7595 Fixes: NB#81696: The passcode is not overwritten even after
7598 * src/hildon-code-dialog.c
7599 (hildon_code_dialog_button_clicked)
7600 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7601 because that doesn't overwrite selected text. Instead, emit the
7602 "commit" signal on the entry's im_context so the entry's normal
7603 insert logic is triggered. Set the cursor to the end of the entry
7604 after each insert operation so that we *only* insert in the middle
7605 of the text if something was selected.
7607 2008-03-27 Michael Natterer <mitch@imendio.com>
7609 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7610 selector cannot be opened
7612 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7613 when the popup color selector is created. Please connect to this
7614 signal in order to set the dialog's help ID.
7616 2008-03-25 Sven Herzberg <sven@imendio.com>
7618 Fixes: MB#1212: Hide info banners (infoprints) on click
7620 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7621 extracted the close event simulation into an extra function
7622 (hildon_banner_button_press_event): simulate a close event and destroy
7623 the widget if the event wasn't handled
7624 (hildon_banner_class_init): added the button_press_event handler
7625 (hildon_banner_init): added button-press events to the widget
7627 2008-03-25 Sven Herzberg <sven@imendio.com>
7629 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7630 Patch from: Mohammad Anwari <mdamt@maemo.org>
7632 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7633 instead of the right in RTL mode
7634 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7635 breadcrumb button list in RTL mode
7636 * src/hildon-caption.c: mirror the appearance of the caption widget in
7638 * src/hildon-date-editor.c: mirror appearance of the date editor in
7640 * src/hildon-time-editor.c: mirror appearance of the time editor in
7642 * src/hildon-window.c: fix the position of the popup in RTL mode
7644 2008-03-25 Sven Herzberg <sven@imendio.com>
7646 Amendment to the fix of NB#22072. Fix compilation.
7648 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7650 2008-03-19 Sven Herzberg <sven@imendio.com>
7652 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7655 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7656 timeout id properly when the timeout will disappear this leaves no
7657 artifacts around in the destroy(); there will only be the timeout
7658 created by hildon_banner_ensure_timeout() and adding a new timeout
7659 will also work if the timeout gets removed because the timeout_handler
7662 2008-03-19 Michael Natterer <mitch@imendio.com>
7664 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7666 * src/hildon-volumebar.c
7667 * src/hildon-vvolumebar.c
7668 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7669 the widget becomes focussable at all.
7671 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7672 set the focus to wither the mute button or the volumebar.
7674 Remove own "can-focus" property and instead listen to
7675 notify::can-focus in order to update the widget's state.
7677 Implement GtkWidget::focus() and make sure we can also *leave* the
7678 widget, not only enter it, depending on volumebar orientation and
7679 requested focus direction.
7681 Clean up set_mute() to cooperate nicely with all the above.
7683 2008-03-04 Michael Natterer <mitch@imendio.com>
7685 Fixes: NB#78481: information banners are hidden under browser menu
7687 * src/hildon-banner.c: call gtk_window_present() on the banners so
7688 they are risen if they are already visible.
7690 2008-03-03 Sven Herzberg <sven@imendio.com>
7692 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7694 * examples/hildon-window-menu-example.c: (main): extended the window
7695 menu example to serve as a testcase for automatically added
7696 accelerator groups, too
7697 * src/hildon-window.c: (hildon_window_add_accel_group),
7698 (hildon_window_set_menu): added patch by Tommi Komulainen
7700 2008-03-03 Sven Herzberg <sven@imendio.com>
7702 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7704 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7705 knowledge about the border allocators used within GTK+
7707 2008-02-26 Sven Herzberg <sven@imendio.com>
7709 Fixes: MB#2981: Build with asserts broken
7711 * src/hildon-date-editor.c,
7712 * src/hildon-number-editor.c,
7713 * src/hildon-time-editor.c,
7714 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7715 the proper GType instance check
7717 2008-02-25 Sven Herzberg <sven@imendio.com>
7719 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7721 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7722 * examples/hildon-window-menu-example.c: (main): explicitly show
7724 * src/hildon-window.c:
7725 (hildon_window_set_main_menu): moved most of the code from set_menu()
7726 to this place; skipped the call to gtk_widget_show_all(); also didn't
7727 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7728 (hildon_window_set_menu): removed most of the code, just keep the
7729 questionable gtk_widget_show_all()
7730 * src/hildon-window.h: added the new function and deprecate the old
7733 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7739 * debian/changelog: Updating.
7741 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7744 * pkgconfig/Makefile.am:
7745 * pkgconfig/hildon.pc.in:
7748 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7749 use newly created API_MAJOR_VERSION.
7751 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7757 * debian/changelog: Updating.
7759 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7761 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7763 Add outer_border style property, we use it but don't define it (!).
7767 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7769 * examples/hildon-bread-crumb-trail-example.c (main):
7773 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7775 Fix logic for the bread crumb trail node removal.
7779 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7785 * debian/changelog: Updating.
7787 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7789 Patch by Alejandro to get/set passwords dialogs accesibility.
7791 * hildon-1/src/hildon-get-password-dialog.c:
7792 * hildon-1/src/hildon-set-password-dialog.c:
7793 Set atk_set_name to the passwd entries in order to allow
7794 accessibility by name on this entries.
7796 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7801 * debian/control: Updating gtk dep.
7803 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7805 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7806 USE_MAEMO_GTK is enabled.
7808 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7810 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7811 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7813 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * debian/changelog: Updating.
7821 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7823 * examples/Makefile.am:
7824 * examples/hildon-logical-color-example.c:
7825 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7826 applied + adding a test case. Fixes: NB#71660.
7828 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7830 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7831 to be visible, fixes warning on map for windows without toolbars.
7833 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7835 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7836 2.11.0, add a check for that besides the MAEMO_GTK check.
7838 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7844 * debian/changelog: Updating.
7846 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7849 visibility. Fixes: NB#70842 and MB#615.
7851 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7853 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7854 set the separator as no-show-all so it doesn't unintentionally appear when
7855 someone does a show_all.
7857 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7859 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7860 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7861 toplevel item. Fixes: NB#62031
7863 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7865 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7866 fix the name of the function in the docs.
7868 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * debian/changelog: Updating.
7876 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * examples/hildon-banner-long-example.c: Adding a test-case for long
7881 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7883 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7885 * src/hildon-color-chooser-dialog.c:
7886 * src/hildon-color-chooser.c:
7887 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7888 memory leaks in font selector and color selector. Fixes: NB#70499 and
7891 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7893 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7895 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7898 little bit bigger. Fixes: #NB63694.
7900 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * debian/changelog: Updating.
7908 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * doc/hildon-docs.sgml:
7912 * doc/images/bread-crumb-trail.png:
7913 * doc/images/calendar-popup.png:
7914 * doc/images/caption.png:
7915 * doc/images/code-dialog.png:
7916 * doc/images/color-button.png:
7917 * doc/images/color-chooser-dialog.png:
7918 * doc/images/color-chooser.png:
7919 * doc/images/controlbar.png:
7920 * doc/images/date-editor.png:
7921 * doc/images/font-selection-dialog.png:
7922 * doc/images/get-password-dialog.png:
7923 * doc/images/hvolumebar.png:
7924 * doc/images/login-dialog.png:
7925 * doc/images/note.png:
7926 * doc/images/number-editor.png:
7927 * doc/images/range-editor.png:
7928 * doc/images/seekbar.png:
7929 * doc/images/set-password-dialog.png:
7930 * doc/images/sort-dialog.png:
7931 * doc/images/time-editor.png:
7932 * doc/images/time-picker.png:
7933 * doc/images/vvolumebar.png:
7934 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7935 Adding the bread-crumb-trial and helpers to the documentation.
7937 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7939 * examples/hildon-find-toolbar-example.c:
7940 * src/hildon-find-toolbar.c:
7941 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7942 actually continue firing the other handlers if connected. Adding a new
7944 hildon_find_toolbar_get_last_index that gets the index of the most
7945 recently added (last) item. Fixes: NB#52301.
7947 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7950 behaviour. Fixes: NB#68610.
7952 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7957 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7959 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7960 when realizing the banner. Should make the infonbanner effect a bit more
7963 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7965 * src/hildon-volumebar.c:
7966 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7967 hildon_volumebar_set_range_insensitive_message and
7968 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7970 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7972 * src/hildon-window.c: Fixing the border freeing on destroy.
7974 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7976 * src/hildon-code-dialog-private.h:
7977 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7978 kw keyboard support in HildonCodeDialog.
7980 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * debian/changelog: Updating.
7988 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-date-editor.c:
7991 * src/hildon-number-editor.c:
7992 * src/hildon-private.c:
7993 * src/hildon-private.h:
7994 * src/hildon-time-editor.c:
7995 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7996 handling in subclassed composite widgets. Fixes: NB#66628.
7998 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8001 from destroy_ callback as it introduces problems in async dbus signal
8002 handlers. Fixes NB#66673.
8004 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8006 * examples/hildon-hvolumebar-example.c:
8007 * src/hildon-volumebar.c: Improving the focus handling in the
8008 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8009 set_property accessor so that "mute" property can be actually set. I'm
8010 scared that nobody noticed it's totally broken.
8012 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8017 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8019 * src/hildon-calendar.c:
8020 * src/hildon-number-editor.c:
8021 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8022 matches the spec of 6 chars per second. Fixes: NB#60489.
8024 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8027 gtk_style_lookup_color sometime returns FALSE even though color was
8028 found and values were filled properly. Weird. Removing the warning for the
8031 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8033 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8034 expand vertically. Adding some extra space to the find toolbar buttons to
8035 make them thumbable. Fixes NB#66060.
8037 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8040 popup with "Ok" and "Cancel". Fixes NB#59299.
8042 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8044 * src/hildon-calendar.c: Process all window updates before executing next
8045 timeout. Fixes: NB#54146.
8047 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * debian/changelog: Updating.
8055 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8057 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8058 the client event and ignore it, since we use the delete event to close
8061 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8063 * src/hildon-helper.c: Remove the bogus warning about color not being
8064 found. Fixes NB#58352.
8066 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * examples/Makefile.am:
8069 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8070 HildonSeekbar widget inside a toolbar.
8072 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8075 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8076 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8077 don't want to be closed by non-temporary windows on map.
8079 Also use G_DEFINE_TYPE instead of manually typed code.
8081 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * debian/rules: Updating.
8090 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * examples/Makefile.am:
8093 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8094 bug NB#61128. Strangely it works.
8096 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-date-editor.c: When the date editor entry has been changed
8099 but the numbers of characters < max, turn off the skip validation flag.
8100 Prevents a situation when we enter first a valid year and later re-write
8101 it with an invalid one. Fixes NB#60154.
8103 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8105 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8106 code dialog. Fixes NB#64355.
8108 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8111 switching the page. Fixes NB#49374.
8113 * examples/Makefile.am:
8114 * examples/hildon-wizard-dialog-example.c: Adding an example for
8115 HildonWizardDialog that shows how to handle manual sensitivity setting on
8118 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8122 * src/hildon-version.h.in:
8123 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8125 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * src/hildon-volumebar.c: Updating the docs.
8129 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * debian/changelog: Updating.
8137 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * src/hildon-find-toolbar.c:
8140 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8141 selected item: hildon_find_toolbar_set_active,
8142 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8143 hildon_find_toolbar_get_active_iter . They correspond to respective
8144 GtkComboBox functions.
8146 * examples/Makefile.am:
8147 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8150 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8152 * examples/Makefile.am:
8153 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8156 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8157 when font size > 32 and we pack a focusable widget inside. Actually using
8158 the default response would work too, but since we don't show default
8159 response state in any way (no theming) it would not be visible to the
8160 user. Fixes NB#63430.
8162 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8164 * src/hildon-date-editor.c: Adding the missing variable setter in the
8165 set_property handler. Fixes NB#54182.
8167 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-window.h: Changing the long key press time from 1500ms to
8170 800ms as requested in NB#63700. I have a bad feeling about this, let's
8171 see... Fixes NB#63700.
8173 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8175 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8176 hildon_time_picker_map, hildon_time_picker_realize,
8177 hildon_time_picker_style_set): Split the contents of map to more
8178 appropriate functions; set window decorations on realize and update
8179 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8181 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8186 * debian/changelog: Updating.
8188 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8190 * src/Makefile.am: fixed installation of the header files
8192 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * debian/changelog: Updating.
8200 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8202 * configure.ac: Removing some remaining of --enable-xan.
8204 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8206 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8207 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8209 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8210 2.10.12-osso6 because the move-focus signal needs to be available in
8213 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * examples/Makefile.am:
8216 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8217 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8218 fine. Prolly NB#61128 is fixed now.
8220 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8222 * src/hildon-volumebar.c:
8223 * src/hildon-volumebar.h: Adding the
8224 hildon_volumebar_set_range_insensitive_message and
8225 hildon_volumebar_set_range_insensitive_messagef functions to set
8226 insensitive message on the slider of the volumebar. Fixes NB#61129.
8228 * examples/Makefile.am:
8229 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8230 test the new insensitive messsage functionality on HildonVolumebar.
8232 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8234 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8237 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8239 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8240 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8241 button on after clearing the trail.
8243 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8247 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8249 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8250 by splitting the installed headers in generated and non-generated groups. Use
8251 only the non-generated headers to create the hildon-enum-types.h file.
8253 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8255 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-window.c: Hide the window before performing the destroy.
8258 Should make the app closing a little tiny bit more snappy.
8260 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8262 * src/hildon-seekbar.c: add gtkrange.h header
8263 * src/hildon-caption.c: remove unused variable
8265 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8267 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8270 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8276 * debian/changelog: Updating.
8278 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8280 * src/hildon-window.c (hildon_window_window_state_event,
8281 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8282 escape timeout on focus-out-event rather than notify::is-topmost; the
8283 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8285 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8288 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8290 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8292 * src/hildon-window: actually, you need to use the macro always, there's
8293 no private pointer in the instance structure. We should have cleaned this up
8294 when we had the chance...
8296 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8298 * src/hildon-window.c: do not get the private date from HildonWindow before
8299 it passes the g_return_if_fail check. Once it's passed the test, there's no
8300 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8301 if you are only going to access the data once. Whitespace cleanups.
8303 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8305 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8306 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8308 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8314 * debian/changelog: Updating.
8316 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8318 * src/hildon-window.c: When destroying the window, remove (if exists) the
8319 escape timeout handler. Fixes #NB59276.
8321 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8323 * src/hildon-banner.c: When realizing the widget, set the window
8324 transiency. Setting the transiency in the gobject constructor is not
8325 good, as the widget is not realized at that point. Fixes: #NB56624.
8327 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8329 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8330 Add padding for future expansions.
8332 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8335 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8336 will fake an activation on the previous to the last item of the trail, so
8337 the effect can be overrided by the developer as usual.
8338 Also change the callback for the back button to do the same thing, so its
8339 effect can be overrided too. Fixes: NB#58982
8341 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8344 HildonCaption. Fixes NB#52379.
8346 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8348 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8349 the internal state of the trail after the user has had the chance of executing
8350 his handler for the signal. Specifically, it may happen that the activated button
8351 is removed and the user still lets the default handler run. This would segfault
8354 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8357 scrollbar to the preview dialog. Fixes NB#54147.
8359 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8362 max/min year properties can be altered, so the client can modify it
8363 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8365 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8367 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8368 hildonlike by default. Fixing a problem with disappearing arrows when
8369 scrolling through months and years. Fixes NB#54127.
8371 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8373 * examples/hildon-date-editor-example.c: Adding error callback to the date
8376 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8382 * configure.ac: Updating.
8384 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8386 * configure.ac: Adding a special '--enable-xan' configure option that
8387 turns off the -Werror compilation setting. Usefull for development.
8389 * src/hildon-calendar.c:
8390 * src/hildon-number-editor.c:
8391 * src/hildon-time-picker.c: Adding the 5* multiplier to
8394 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8396 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8397 instead of g_object_ref + gtk_object_sink.
8399 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * debian/changelog: Updating.
8407 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8409 * src/hildon-color-chooser-dialog.c:
8410 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8411 straight from Tommi labs.
8413 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * examples/hildon-finger-example.c: Correcting the header file path.
8417 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8418 the changed signal. Fixes a small memory leak.
8420 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 * src/hildon-banner.c: Importing several usefull fixes from the
8425 ubuntu-mobile branch.
8427 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * examples/Makefile.am:
8430 * examples/hildon-finger-example.c: Adding a finger-checking code
8433 * src/hildon-font-selection-dialog.c: Do not allocate the color
8434 structure using the g_new. Fixes NB#54061.
8436 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-helper.c: Correcting tabs in file.
8440 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8442 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8443 control the visibility of the children.
8445 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8447 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8453 * debian/changelog: Updating.
8455 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8457 * src/hildon-bread-crumb-trail.c:
8458 (hildon_bread_crumb_trail_size_allocate):
8460 Make the back button always a square.
8462 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8464 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8465 from the .c file as it's a private file.
8467 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8470 uses slightly bigger height.
8472 * src/hildon-font-selection-dialog.c: Adding some checks before
8473 freeing memory in the font selection dialog.
8475 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8477 * src/hildon-font-selection-dialog.c: Adding a small check when
8480 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8481 buttons sensitivity on page switching.
8483 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8485 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8486 internal details of adding a bread crumb to the trail.
8488 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8494 * debian/changelog: Updating.
8496 * src/hildon-bread-crumb-trail.h:
8497 * src/hildon-bread-crumb.h: Changing the API guard to
8498 HILDON_ENABLE_UNSTABLE_API.
8500 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * src/hildon-helper.h: Updating.
8510 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-helper.h: Small fix to make the package actually compile.
8524 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8526 * src/hildon-bread-crumb-trail.h:
8527 * src/hildon-bread-crumb.h:
8529 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8530 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8532 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8534 * examples/hildon-bread-crumb-trail-example.c:
8536 * src/hildon-bread-crumb-trail.c:
8537 * src/hildon-bread-crumb-trail.h:
8538 * src/hildon-bread-crumb.c:
8539 * src/hildon-bread-crumb.h:
8540 * src/hildon-marshalers.list:
8541 * src/hildon-bread-crumb-widget.c:
8542 * src/hildon-bread-crumb-widget.h:
8544 Slight change in the widget design. The bread crumb trail API is
8545 unchanged, but HildonBreadCrumb is now an interface. A *private*
8546 implementation, hildon-bread-crumb-widget, is provided and used
8547 internally by the trail for the push_text/push_icon functions.
8549 The generic push API is still available, so anyone can implement
8550 and use its own bread crumb widget.
8552 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * debian/rules: Fixing the shlibs.
8556 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * src/hildon-banner.c: Fixing a problem with timed banners having
8559 their parrent destroyed before they are.
8561 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8563 * src/hildon-bread-crumb.c:
8564 * src/hildon-bread-crumb.h:
8566 Make the get_natural_size function a vfunc.
8568 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8570 * src/hildon-bread-crumb.c:
8571 * src/hildon-bread-crumb-trail.c:
8575 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * debian/changelog: Updating for release.
8584 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8586 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8587 don't leak the pango layout.
8589 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8592 * examples/hildon-bread-crumb-trail-example.c:
8596 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * debian/changelog: Removing the bug-fixed entries that were actually
8599 resolved as WONTFIX.
8601 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8604 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-bread-crumb-trail.c:
8607 * src/hildon-bread-crumb-trail.h:
8608 * src/hildon-bread-crumb.c:
8609 * src/hildon-bread-crumb.h:
8613 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8615 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8616 until it's passed the type check.
8618 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8620 * examples/hildon-bread-crumb-trail-example.c
8624 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8626 * examples/Makefile.am
8627 * examples/hildon-bread-crumb-trail-example.c
8629 * src/hildon-bread-crumb-trail.c
8630 * src/hildon-bread-crumb-trail.h
8631 * src/hildon-bread-crumb.c
8632 * src/hildon-bread-crumb.h
8634 New HildonBreadCrumbTrail widget.
8636 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8638 * src/hildon-range-editor.c (hildon_range_editor_init),
8639 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8640 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8641 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8642 hildon_time_editor_class_init, hildon_time_editor_init),
8643 src/hildon-get-password-dialog.c (invalid_input,
8644 hildon_get_password_set_property, hildon_get_password_get_property,
8645 create_contents, hildon_get_password_dialog_set_max_characters),
8646 src/hildon-set-password-dialog.c (create_contents),
8647 src/hildon-date-editor.c (hildon_date_editor_init),
8648 src/hildon-login-dialog.c (hildon_login_dialog_init),
8649 src/hildon-number-editor.c (hildon_number_editor_init),
8650 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8651 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8652 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8653 configure option and adding the respective checks in the code.
8654 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8655 hildon_calendar_drag_data_received): fixed some build warnings.
8657 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * debian/changelog: A 1.0.0 release notes.