1 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-caption.c: Other documentation fixes to
6 2009-06-17 David King <davidk@openismus.com>
8 * hildon/hildon-caption.c: Minor documentation updates for
9 HildonCaption. Fixes MB#4697.
11 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
13 * doc/hildon-docs.sgml: Add hildon-version section.
14 * doc/hildon-sections.txt:
15 * hildon/hildon-version.h.in: Document versioning macros and
18 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
20 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
21 from HildonPickerDialog section.
23 2009-06-16 Alberto Garcia <agarcia@igalia.com>
25 * hildon/hildon-banner.c (hildon_banner_bind_style)
26 (screen_size_changed, hildon_banner_init)
27 (hildon_banner_real_show_information)
28 (hildon_banner_show_information_with_markup)
29 (hildon_banner_show_animation, hildon_banner_show_progress):
30 Set a different widget name to banners in portrait mode, for them
31 to be themed correctly.
33 2009-06-16 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
36 Set a different widget name to notes in portrait mode, for them to
39 Partially fixes: NB#118401 (HildonNote causes unnecessary
42 2009-06-16 Alberto Garcia <agarcia@igalia.com>
44 * hildon/hildon-note.c (hildon_note_class_init)
45 (+hildon_note_size_request, screen_size_changed):
46 Always request the full width of the screen.
48 Fixes: NB#118375 (unnecessary rescaling of images)
50 2009-06-16 Alejandro G. Castro <alex@igalia.com>
52 * hildon/hildon-pannable-area.c,
53 (hildon_pannable_area_init),
54 (hildon_pannable_area_realize): Replaced old code adding flags in
55 the object init, now we add it with the other flags in the realize
58 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
60 * hildon/hildon-note.c: (hildon_note_class_init): Several
61 documentation improvements to the HildonNote widget.
63 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
67 Fixes: MB#4556 (HildonNoteType is undocumented)
69 2009-06-15 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-picker-button.c:
72 Explain how HildonPickerButton sets the title of its dialog
74 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
75 the title of its dialog)
77 2009-06-15 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-check-button.c:
82 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
85 2009-06-15 Alberto Garcia <agarcia@igalia.com>
88 * hildon/hildon-edit-toolbar-private.h
89 * hildon/hildon-edit-toolbar.c
90 (+hildon_edit_toolbar_set_progress_indicator)
91 (hildon_edit_toolbar_init): Add progress indicator to the
95 (hildon_gtk_window_set_progress_indicator):
96 If the window contains a HildonEditToolbar, enable the progress
99 * hildon/hildon-private.h
100 * hildon/hildon-private.c
101 (+hildon_private_create_animation)
102 * hildon/hildon-banner.c
103 (-hildon_banner_create_animation):
104 Moved to hildon-private.c
106 Fixes: NB#102373 (Progress indicator also for the Edit mode
109 2009-06-15 Alberto Garcia <agarcia@igalia.com>
111 * hildon/hildon-app-menu-private.h
112 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
113 (hildon_app_menu_add_filter, +menu_item_button_event)
114 (hildon_app_menu_button_release, hildon_app_menu_init):
115 Make sure that buttons receive 'button-release-event' in spite of
116 the grab held by HildonAppMenu
118 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
120 2009-06-15 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-app-menu.c
123 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
124 New style property to set the size of the group of filter buttons.
126 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
128 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
133 * configure.ac: Bump version.
134 * debian/changelog: Updates.
136 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-main.c: Minor documentation fixes.
140 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
142 * doc/hildon-sections.txt:
143 * hildon/hildon-defines.h: Document the defines, organize them,
144 and mark deprecations as such.
146 Fixes: MB#4463 (Hildon size #defines are undocumented)
148 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
150 * hildon/hildon-animation-actor.c:
151 * hildon/hildon-app-menu.c:
152 * hildon/hildon-button.c:
153 * hildon/hildon-date-editor.c:
154 * hildon/hildon-dialog.c:
155 * hildon/hildon-edit-toolbar.c:
156 * hildon/hildon-entry.c:
157 * hildon/hildon-program.c:
158 * hildon/hildon-remote-texture.c:
159 * hildon/hildon-stackable-window.c:
160 * hildon/hildon-text-view.c:
161 * hildon/hildon-touch-selector.c:
162 * hildon/hildon-window-stack.c:
163 * hildon/hildon-window.c:
165 Remove redundant "represents" wording from most of the documentation.
167 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
169 2009-06-12 Alberto Garcia <agarcia@igalia.com>
174 * hildon/hildon-banner-private.h
175 * hildon/hildon-banner.c:
176 Move HildonBannerPrivate to hildon-banner.c and remove
177 hildon-banner-private.h
178 Use a bit field to store private booleans.
180 2009-06-12 Alberto Garcia <agarcia@igalia.com>
182 * hildon/hildon-app-menu.c (hildon_app_menu_map):
183 Don't install a new idle function if there's already one
188 2009-06-11 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
191 (+legacy_menu_realized, +legacy_menu_unmapped)
192 (+set_legacy_menu_type):
193 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
194 they can be identified by the window manager.
196 Fixes: NB#101437 (Invoking CSM on the left side of page area is
197 displayed in wrong location)
199 Fixes: MB#4563 (Popup menu won't locate at the left side of the
202 2009-06-11 Alberto Garcia <agarcia@igalia.com>
204 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
206 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
209 2009-06-11 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-code-dialog.c
212 * hildon/hildon-date-editor.c
213 * hildon/hildon-number-editor.c
214 * hildon/hildon-seekbar.c
215 * hildon/hildon-stackable-window.c
216 * hildon/hildon-window.c:
217 Misc documentation updates
219 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
221 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
222 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
224 Fixes: NB#117931 (Theming issues in accounts dialogs)
226 2009-06-09 Alejandro G. Castro <alex@igalia.com>
228 * hildon/hildon-pannable-area.c,
229 (hildon_pannable_area_button_release_cb): Changed the coordinates
230 of the original release in case we want to discard the release,
231 some widgets in Fremantle do not handle the leave-notify.
233 2009-06-09 Alejandro G. Castro <alex@igalia.com>
235 * hildon/hildon-pannable-area.c,
236 (hildon_pannable_area_button_release_cb): Reviewed the logic of
237 the release using the last refactored functions and avoiding the
238 movement if an element was selected.
240 2009-06-09 Alejandro G. Castro <alex@igalia.com>
242 * hildon/hildon-pannable-area.c,
243 (hildon_pannable_area_check_move),
244 (hildon_pannable_area_handle_move),
245 (hildon_pannable_area_motion_notify_cb): Refactored the
246 motion_notify method using a couple of new functions.
248 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
250 * hildon/hildon-date-selector.c:
251 (hildon_date_selector_construct_ui):
252 * hildon/hildon-time-selector.c:
253 (hildon_time_selector_constructor):
254 * hildon/hildon-touch-selector-entry.c:
255 (hildon_touch_selector_entry_set_text_column),
256 (hildon_touch_selector_entry_get_text_column):
257 * hildon/hildon-touch-selector.c: (_default_print_func),
258 (hildon_touch_selector_new_text): Use
259 hildon_touch_selector_set/get_text_column() instead of
260 setting/getting the "text-column" property.
262 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
264 * doc/hildon-sections.txt: Add the new public methods below.
266 * examples/hildon-picker-button-multicolumn-example.c:
267 (create_touch_selector):
268 * examples/hildon-touch-selector-example.c: (create_selector):
269 * examples/hildon-touch-selector-multi-cells-example.c:
271 Use hildon_touch_selector_column_set_text_column()
273 * hildon/hildon-touch-selector-column.h:
274 * hildon/hildon-touch-selector.c:
275 (hildon_touch_selector_column_set_text_column),
276 (hildon_touch_selector_column_get_text_column):
277 Make hildon_touch_selector_column_set/get_column() public, use
278 them in the inline example, document them, and reference to them
281 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
283 * hildon/hildon-time-selector.c: Fix the docs for
284 hildon_time_selector_new_step().
286 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-touch-selector.c: Improve the documentation for
289 hildon_touch_selector_append_column().
291 Fixes MB#4641 (Documentation:
292 hildon_touch_selector_append_column() ref-counting)
294 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
296 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
297 Comment out test 5, since the hildon_controlbar_set_range() range
298 check is broken and fixing it would have side effects. Also,
299 this finally fixes make distcheck.
301 Fixes: NB#101420 (Update unit tests and fix make distcheck)
303 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
305 * tests/TEST-CASES.txt: Remove other bogus test.
306 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
307 Remove bogus test that was setting/retrieving a valid value.
309 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
311 * tests/TEST-CASES.txt: Remove bogus tests.
312 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
313 Remove three bogus tests that were actually setting valid colors.
315 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
317 * configure.ac: post release version bump
318 * debian/changelog: post release version bump
320 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
325 * configure.ac: Bump version.
326 * debian/changelog: Updates.
328 2009-06-08 Christian Dywan <christian@lanedo.com>
332 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
333 Correct errors in hildon_format_file-size_for_display and use
334 translations from the hildon-fm package instead of osso-filemanager.
336 2009-06-08 Alejandro G. Castro <alex@igalia.com>
338 * hildon/hildon-pannable-area.c,
339 (hildon_pannable_area_init): Initialized new values to handle the
341 (hildon_pannable_area_adjust_value_changed): Check if the values
342 changed before even call the redraw function.
343 (hildon_pannable_area_size_allocate),
344 (hildon_pannable_axis_scroll),
345 (hildon_pannable_area_scroll),
346 (hildon_pannable_area_jump_to): Improved the diagonal movement
349 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
352 2009-06-08 Alberto Garcia <agarcia@igalia.com>
354 * examples/hildon-banner-example.c:
355 Several style updates
356 (on_animation_clicked, on_animation_idle)
357 (on_progress_clicked, on_progress_idle):
358 Add additional reference for the cases when the parent window is
361 2009-06-08 Alberto Garcia <agarcia@igalia.com>
363 * doc/hildon-sections.txt
364 * hildon/hildon-pannable-area.c
365 * hildon/hildon-banner.h
366 * hildon/hildon-banner.c: Documentation updates.
368 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
371 2009-06-05 Alejandro G. Castro <alex@igalia.com>
373 * hildon/hildon-calendar-popup.h:
374 * hildon/hildon-caption.h:
375 * hildon/hildon-code-dialog.h:
376 * hildon/hildon-controlbar.h:
377 * hildon/hildon-date-editor.h:
378 * hildon/hildon-dialog.h:
379 * hildon/hildon-get-password-dialog.h:
380 * hildon/hildon-hvolumebar.h:
381 * hildon/hildon-login-dialog.h:
382 * hildon/hildon-note.h:
383 * hildon/hildon-number-editor.h:
384 * hildon/hildon-range-editor.h:
385 * hildon/hildon-seekbar.h:
386 * hildon/hildon-set-password-dialog.h:
387 * hildon/hildon-sort-dialog.h:
388 * hildon/hildon-time-editor.h:
389 * hildon/hildon-time-picker.h:
390 * hildon/hildon-volumebar-range.h:
391 * hildon/hildon-volumebar.h:
392 * hildon/hildon-vvolumebar.h:
393 * hildon/hildon-weekday-picker.h:
394 * hildon/hildon-window.h:
395 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
396 macros with the current replacements
398 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
400 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
402 * hildon/hildon-color-button.c (hildon_color_button_init): Use
403 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
404 itself, to make it fit better with Fremantle style.
406 Fixes: NB#109878 (height and width of focus on color icon is not
407 consistent with other item in the application tool bar)
409 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
411 * hildon/hildon-touch-selector.c:
412 (hildon_touch_selector_optimal_size_request): use the current requisition
413 as the base, in order to include any possible extra widget, like the
414 hildon entry on HildonTouchSelectorEntry
416 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
418 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
420 * configure.ac: post release version bump
421 * debian/changelog: post release version bump
423 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
428 * configure.ac: Bump version.
429 * debian/changelog: Updates.
431 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
433 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
435 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
436 to ensure the banner contents are centered, instead of relying on
437 the expand and fill properties in GtkHBox.
438 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
440 Fixes: NB#108265 (Animation banner not properly centered)
442 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
444 * hildon/hildon-pannable-area.c
445 (hildon_pannable_area_initial_effect): Remove the initial_effect
446 management, check initial_hint
447 (hildon_pannable_are_expose_event): Remove the initial_hint management,
448 set initial_effect to FALSE
449 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
450 by launching the fade_timeout if the scrollbars state has changed and are
452 * examples/hildon-pannable-area-initial-hint-example.c
453 Modified to allow to remove rows too. Add and remove rows one by one.
455 2009-05-28 Alberto Garcia <agarcia@igalia.com>
457 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
458 Don't close the menu if there's an animation actor below it.
460 Fixes: NB#117927 (Application menu not usable with animation
463 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
465 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
466 "focus-on-click" from the dialog button, to avoid stealing the
467 focus from the entry.
469 Fixes: NB#118903 (Account setup wizard: Text in Search field
470 should be focused when "Region" touch list picker is reopened
473 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
476 (prepare_action_area): Completely hide the dialog separator.
478 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
480 * hildon/hildon-touch-selector-entry.c
481 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
482 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
483 now that the entry is exposed.
485 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
487 * hildon/hildon-touch-selector-entry.c
488 (hildon_touch_selector_entry_init): Change the entry's size
489 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
491 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
493 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
494 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
495 avoid unnecessary scaling.
497 2009-05-27 Alberto Garcia <agarcia@igalia.com>
499 * hildon/hildon-app-menu.c (hildon_app_menu_map):
500 Create grab transfer window before calling parent's map function.
502 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
503 "crushed" button(s) in the top left corner)
505 2009-05-26 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
508 Check if the window is already realized when pushing it.
510 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: post release version bump
513 * debian/changelog: post release version bump
515 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
520 * configure.ac: Bump version.
521 * debian/changelog: Updates.
523 2009-05-25 Alberto Garcia <agarcia@igalia.com>
525 * hildon/hildon-app-menu.c: Doc updates.
527 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
529 * hildon/hildon-banner.c: Remove leftover macro.
531 2009-05-25 Alejandro G. Castro <alex@igalia.com>
533 * hildon/hildon-pannable-area.c,
534 (hildon_pannable_area_scroll_indicator_fade),
535 (hildon_pannable_area_button_release_cb): Reviewed vmin
536 conditions, it could cause problems in the fadeout procedure.
538 2009-05-25 Alejandro G. Castro <alex@igalia.com>
540 * hildon/hildon-pannable-area.c
541 (hildon_pannable_area_button_release_cb): Added a threshold to
542 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
544 2009-05-25 Alejandro G. Castro <alex@igalia.com>
546 * hildon/hildon-pannable-area.c,
547 (hildon_pannable_area_set_property): Added code to sync the gtk
548 dnd threshold with the panning threshold.
550 2009-05-25 Alejandro G. Castro <alex@igalia.com>
552 * hildon/hildon-pannable-area.c,
553 (hildon_pannable_area_class_init): Changed some of the default
554 values, now it should be less responsive and more accurate.
556 2009-05-25 Alejandro G. Castro <alex@igalia.com>
558 * hildon/hildon-pannable-area.c,
559 (hildon_pannable_area_init),
560 (hildon_pannable_area_scroll_indicator_fade),
561 (hildon_pannable_area_button_press_cb),
562 (hildon_pannable_axis_scroll),
563 (hildon_pannable_area_timeout),
564 (hildon_pannable_area_motion_notify_cb),
565 (hildon_pannable_area_button_release_cb): Changed the name of the
566 clicked attribute to button_pressed, it is more clear about its use.
568 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
570 * src/hildon-pannable-area.c
571 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
573 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
574 vertical scrollbar visibility, and use the data on private section instead,
575 remove the initial_hint check
576 (hildon_pannable_area_expose_event): add the initial_hint check here
578 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
580 * src/hildon-pannable-area.c
581 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
582 if the fadeout effect was used
583 (hildon_pannable_area_expose_event): check if it is required to
584 manage the initial effect on the begining of the function. Previously
585 it was made at the end, but this doesn't ensure that the scrollbars
586 will be painted on the first show. Do not set to FALSE initial_effect,
587 to ensure that the initial hint is showed the first time the pannable
589 * examples/Makefile.am
590 * examples/hildon-pannable-area-initial-hint-example.c:
591 New example, to show that the initial-hint is showed when the widget
594 Fixes: NB#116607 (Pannable area should always have scrollbar visible
595 initially if the application can be scrolled)
597 2009-05-25 Alberto Garcia <agarcia@igalia.com>
599 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
600 Resize table before adding new items to make sure that
601 gtk_table_resize() is called just once.
603 2009-05-25 Alberto Garcia <agarcia@igalia.com>
605 * hildon/hildon-app-menu-private.h
606 * hildon/hildon-app-menu.c (item_visibility_changed)
607 (filter_visibility_changed, hildon_app_menu_show_all)
608 (hildon_app_menu_hide_all, hildon_app_menu_init):
609 Rearrange items just once when gtk_widget_show_all()/hide_all()
612 2009-05-25 Alberto Garcia <agarcia@igalia.com>
614 * hildon/hildon-app-menu.c
615 (hildon_app_menu_insert, hildon_app_menu_add_filter):
616 Don't call gtk_widget_show() on added items.
618 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
619 automatically when they're added)
621 2009-05-20 Alberto Garcia <agarcia@igalia.com>
623 * hildon/hildon-banner.c
624 (hildon_banner_realize, +hildon_banner_unrealize)
625 (+screen_size_changed, hildon_banner_class_init):
626 Redisplay the banner if the screen is rotated.
628 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
629 on transition from landscape to portrait)
631 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
633 * hildon/hildon-banner.[ch]:
634 (hildon_banner_show_information_override_dnd): remove icon_name from the
635 method definition as it is ignored.
636 * examples/hildon-banner-dnd-example.c: updated with the change on
639 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
641 * hildon/hildon-banner-private.h: new require_override_dnd and
642 overrides_dnd variables
643 * hildon/hildon-banner.h:
644 (hildon_banner_show_information_override_dnd): new method, that shows
645 the information but sets the override flag, in order to show important
647 * hildon/hildon-banner.c
648 (hildon_banner_show_information_override_dnd): new method
649 (hildon_banner_set_override_flag): new utility function
650 (hildon_banner_real_show_information): new utility function, in order to
651 generalize the current hildon_banner_show_information_override_dnd and
652 hildon_banner_show_information_override_dnd
653 * examples/Makefile.am
654 * examples/hildon-banner-dnd-example.c: New example that show how to
655 use the new hildon_banner_show_information_override_dnd
657 Fixes: NB#114874 (There is no possibility to show hildon banners with
660 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
662 * hildon/hildon-pannable-area.c: Add a comment explaining the math
663 behind hildon_pannable_calculate_vel_factor().
665 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
667 * hildon/hildon-pannable-area.c
668 (hildon_pannable_calculate_vel_factor): Correct the sum of the
669 deceleration factors.
671 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
674 Reduce the default value for 'scroll_time' to 1 second, since the
675 current initial scrolling takes too much time.
677 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
680 calculate velocity factor during initialization, since the properties
683 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
685 * hildon/hildon-pannable-area.c
686 (hildon_pannable_area_set_property): Calculate the velocity factor
687 after setting the deceleration property and not after.
689 2009-05-20 Alberto Garcia <agarcia@igalia.com>
691 * hildon/hildon-entry.c
692 (hildon_entry_class_init, +set_property, hildon_entry_new)
693 * hildon/hildon-check-button.c
694 (hildon_check_button_class_init)
695 (+set_property, hildon_check_button_new):
696 Make the theme size a property.
698 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
699 others) do too much in the _new function)
701 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
703 * configure.ac: post release version bump
704 * debian/changelog: post release version bump
706 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
711 * configure.ac: Bump version.
712 * debian/changelog: Updates.
714 2009-05-15 Alberto Garcia <agarcia@igalia.com>
716 * hildon/hildon-gtk.h
717 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
718 New API function to take a screenshot of a window
720 Fixes: NB#106374 (Need API to take a loading screenshot)
722 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
724 * hildon/hildon-time-selector.c
725 (update_format_policy): prevent to use hours and minutes unitialized
727 2009-05-15 Alberto Garcia <agarcia@igalia.com>
729 * hildon/hildon-window.c (hildon_window_size_request):
730 Always request the full size of the screen (minus the title bar if
731 not in fullscreen mode).
733 Fixes: NB#107486 (HildonWindow should size itself properly)
735 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
737 * hildon/hildon-note-private.h: Add idle_handler to the private data.
738 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
739 (on_show_cb), (sound_handling): Disconnect the idle handler for
740 the sound when the note is finalized to avoid possible crashes.
742 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
745 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
747 * src/hildon-animation-actor.c,
748 * src/hildon-remote-texture.c:
749 Added proper object cleanup to remove signal handler and object
750 references as HildonAnimationActor and HildonRemoteTexture
751 objects get destroyed.
753 Fixes: NB#116682 (Destroying parented animation actors when
754 parent in unmapped leads to crash)
756 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
758 Based on a patch by Christian Dywan (christian@imendio.com)
760 * doc/hildon-sections.txt:
761 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
762 * hildon/hildon-helper.h: New file size formatting method.
764 * debian/control: Depend on osso-filemanager l10n package for
765 proper localization strings.
767 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
769 * tests/Makefile.am: Include top_srcdir to make possible to build
770 tests in a different builddir.
771 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
772 on a different builddir.
774 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
776 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
777 (hildon_touch_selector_remove): Disconnect model's signal handler
780 Fixes: NB#116289 (Hildon home crashes while adding task
783 2009-05-11 Alberto Garcia <agarcia@igalia.com>
785 * hildon/hildon-button.c
786 (hildon_button_set_title, hildon_button_set_value):
787 Hide labels containing an empty string.
789 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
791 * configure.ac: post release version bump
792 * debian/changelog: post release version bump
794 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
799 * configure.ac: Bump version.
800 * debian/changelog: Updates.
802 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
804 * hildon/hildon-note-private.h: Removed sound_signal_handler
805 * hildon/hildon-note.c
806 (on_show_cb): new callback on note "show" event, this simply adds
807 a idle, with the function sound_handling
808 (sound_handling): removed the sound_signal_handler management
809 (hildon_note_init): connect note "show" event to on_show_cb
810 (hildon_note_realize): remove the connection to "expose-event"
812 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
813 device?' confirmation note)
815 2009-05-08 Alberto Garcia <agarcia@igalia.com>
817 * hildon/hildon-note.c
818 (hildon_note_new_information_with_icon_name)
819 (hildon_note_new_confirmation_with_icon_name):
820 Terminate the list of parameters in g_object_set() calls
822 Fixes: NB#115166 (Formatting memory card is not taking place)
824 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
826 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
827 "dialog-information" role for the sound being played.
829 2009-05-06 Alberto Garcia <agarcia@igalia.com>
831 * hildon/hildon-app-menu.c (hildon_app_menu_init):
832 Don't make the menu a modal window, it causes strange interactions
833 with the pointer grab and it's not really needed.
835 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
837 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
839 * hildon/hildon-touch-selector.[ch]
840 (hildon_touch_selector_optimal_size_request): function added to get a
841 optimal size request from the touch selector, when you want a dialog to
842 show as much of the selector
843 * hildon/hildon-picker-dialog.c:
844 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
845 (hildon_app_menu_class_init):
846 New "max-height-landscape" and "max-height-portrait" style properties
847 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
848 (hildon_picker_dialog_get_max_height): returns the maximum height using
849 the style properties defined and checking the current portrait/landscape
851 (_hildon_picker_dialog_set_selector): removed the set_size_request
853 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
855 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
857 * hildon/hildon-bread-crumb-trail.c:
858 * hildon/hildon-bread-crumb.c:
859 * hildon/hildon-seekbar.c:
860 Add reference to replacements for these deprecated widgets.
862 Fixes: MB#4461 (Documentation: All deprecations should mention
865 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
867 * examples/hildon-remote-texture-example.c
869 Change the include to the hildon-remote-texture in order to compile
870 properly the examples on the installed libhildon1-examples package
872 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
874 * tests/Makefile.am: Add check for HildonPickerButton.
875 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
876 (START_TEST), (create_hildon_picker_button_suite): Add three simple
877 checks for the HildonPickerButton.
878 * tests/check_test.c (configure_tests): Add the test suite.
879 * tests/test_suites.h: likewise.
881 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
883 * hildon/hildon-touch-selector.c
884 (+on_row_changed): Emit HildonTouchSelector:changed when the
885 contents of a selected row change.
886 (_create_new_column), (_hildon_touch_selector_set_model): connect
887 to GtkTreeModel:row-changed on a newly set model.
889 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
891 2009-05-05 Alberto Garcia <agarcia@igalia.com>
893 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
895 * hildon/hildon-banner.c (hildon_banner_destroy)
896 (hildon_banner_show_progress, hildon_banner_set_fraction):
897 Remove the progress bar from HildonBanner and use a progress
900 Fixes: NB#113761 (Update progress banner to use progress
903 2009-05-04 Alberto Garcia <agarcia@igalia.com>
905 * hildon/hildon-banner.c:
906 Calculate size of the banner label using the actual screen width
907 rather than using a fixed value.
909 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
912 2009-05-04 Alejandro G. Castro <alex@igalia.com>
914 * hildon/hildon-pannable-area.c,
915 (hildon_pannable_area_class_init): Fixed signals documentation
918 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
920 * configure.ac: post release version bump
921 * debian/changelog: post release version bump
923 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: Bump version.
929 * debian/changelog: Updates.
931 2009-05-01 Alberto Garcia <agarcia@igalia.com>
933 * hildon/hildon-edit-toolbar.c
934 (hildon_edit_toolbar_init):
935 Don't let buttons in HildonEditToolbar receive focus.
937 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
938 typing on an HW arrows key)
940 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
942 * doc/Makefile.am: Fix build.
944 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
946 * doc/Makefile.am: Do not redefine content_files.
948 2009-04-30 Alberto Garcia <agarcia@igalia.com>
956 Renamed src/ to hildon/
961 Include <hildon/hildon.h> directly in all examples.
963 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
965 * src/hildon-sort-dialog.c
966 (hildon_sort_dialog_add_sort_key_with_sorting)
970 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
972 * src/Makefile.am: Move generated sources to CLEANFILES, so that
973 make distcheck passes.
975 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
977 * Makefile.am: Enable gtk-doc during distcheck.
979 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
981 * Makefile.am: Do not distribute the debian/ directory.
983 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
985 * doc/Makefile.am: Add the extra SGML files to content_files,
986 so that they are distributed properly.
988 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
990 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
993 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
995 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
996 (hildon_note_new_information_with_icon_name): Set the "icon" property
997 to preserve soundness.
999 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1001 * src/hildon-font-selection-dialog.c
1002 (hildon_font_selection_dialog_set_property): Fail when the "family"
1003 property is set to NULL.
1005 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1010 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1012 * src/hildon-time-selector.h:
1013 Added HildonTimeSelectorFormatPolicy
1014 * src/hildon-time-selector.c:
1015 Added PROP_TIME_FORMAT_POLICY
1016 (_check_ampm_format): renamed to check_automatic_ampm_format
1017 (update_format_policy), (update_format_dependant_columns): new functions
1018 (hildon_time_selector_class_init)
1019 (hildon_time_selector_contructor)
1020 (hildon_time_selector_init)
1021 (hildon_time_selector_get_property)
1022 (hildon_time_selector_set_property)
1023 (hildon_time_selector_get_time)
1024 (hildon_time_selector_set_time)
1025 * src/hildon-touch-selector.h: new file
1026 * src/hildon-touch-selector.c
1027 (hildon_touch_selector_emit_changed)
1028 (hildon_touch_selector_block_changed)
1029 (hildon_touch_selector_unblock_changed)
1030 Added functions to allow to block the emission of the "changed" signal
1031 * src/hildon-picker-dialog.c
1032 (hildon_picker_dialog_show): call the parent show before the custom code
1033 * examples/hildon-time-button-example.c
1034 Modified, so now you can configure the time format using the new property
1036 Added a new property "time-format-policy" that allow to choose the time
1037 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1038 case it uses gconf in order to check if the time selector must use
1041 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1044 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-note.c (hildon_note_init):
1047 Label in HildonNote must be left aligned, not centered. This
1048 reverts the last commit in HildonNote.
1050 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1051 is connectivity dialog)
1053 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1058 * doc/hildon-sections.txt:
1059 Added hildon_gtk_window_set_do_not_disturb()
1061 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-note.c (hildon_note_init): Center label.
1065 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1068 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1073 * configure.ac: Bump version.
1074 * debian/changelog: Updates.
1076 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1078 * src/hildon-note-private.h: Add button-width to the private data.
1079 * src/hildon-note.c (+resize_button),
1080 (+hildon_note_orientation_update): methods to repack widgets on orientation
1082 (screen_size_changed): Call above method for confirmation notes.
1083 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1084 (hildon_note_rebuild): Store the original width request from buttons.
1086 Fixes: NB#109635 (Confirmation notes do not support portrait)
1088 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1090 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1091 when it is a progress note.
1093 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1095 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1096 in the note, since there are no horizontally arranged contents.
1098 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1100 * src/hildon-gtk.c (+set_flag): new generic method to
1101 set/delay a flag setting in a window.
1102 (hildon_gtk_window_set_progress_indicator):
1103 (hildon_gtk_window_set_do_not_disturb),
1104 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1105 avoid code redundance.
1107 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1109 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1111 * src/hildon-gtk.c (set_clear_window_flag),
1112 (do_set_progress_indicator), (do_set_do_not_disturb),
1113 (do_set_portrait_flags),
1114 (hildon_gtk_window_set_progress_indicator),
1115 (hildon_gtk_window_set_do_not_disturb),
1116 (hildon_gtk_window_set_portrait_flags):
1117 Allow setting dnd-flag, progress indicator, and portrait flags
1118 when the window is not realized.
1120 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1122 * src/hildon-pannable-area.c,
1123 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1124 the size request policy function and defines.
1126 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1128 * doc/hildon-sections.txt: Add the new API.
1129 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1130 method to set the portrait flags.
1131 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1133 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1135 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1138 to allow using this method with other flags.
1139 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1140 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1142 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-touch-selector.c
1145 (hildon_touch_selector_append_text_column):
1146 Make the cell renderer use the smallest width possible.
1148 Fixes: NB#108470 (Selected items in multiple selection are either
1149 having a tick that is cut or not visible at all.)
1151 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-touch-selector.c
1154 (hildon_touch_selector_append_text_column):
1157 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1159 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1160 Use g_strdup_printf() instead of a fixed size buffer.
1162 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1165 Close banners when a HildonAppMenu is popped up.
1167 Fixes: NB#111027 (Title menu closed immediately if activated when
1168 "Invalid e-mail address" banner is shown)
1170 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1175 * configure.ac: Bump version.
1176 * debian/changelog: Updates.
1178 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-banner.c (hildon_banner_realize):
1181 Mark HildonBanner as supporting portrait mode.
1182 Use GDK to set window properties insetad of direct Xlib calls.
1184 Fixes: NB#111830 (HildonBanner should be marked as supporting
1187 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-note.c (hildon_note_rebuild):
1190 Hide action area in information notes. Prevents text from being
1191 slightly aligned to the left.
1193 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1196 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1198 Patch by Mox Soini (ext-mox.soini@nokia.com)
1200 * src/hildon-banner.c (hildon_banner_create_animation):
1201 Use stylus-sized icons in animation banner.
1203 Fixes: NB#111206 (stylus sized icon for animation banner)
1205 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1209 (+hildon_gtk_window_set_do_not_disturb):
1210 New API to set the do-not-disturb flag.
1212 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1214 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1216 * examples/hildon-progress-indicator-example.c: Fix example
1218 * src/hildon-gtk.c (set_clear_window_flag)
1219 (hildon_gtk_window_set_progress_indicator):
1220 Create a generic function for setting flags to a window.
1221 Use GDK instead of direct Xlib calls.
1223 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-button.c (hildon_button_set_arrangement):
1226 Due to NB#88126, if one of the labels is too long it will be
1227 painted outside the button. The 'value' label is more likely to be
1228 the longest one, so we change its packing options in order to
1229 truncate it if necessary. As a side effect, the 'title' label will
1230 no longer be truncated.
1232 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1234 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1239 * configure.ac: Bump version.
1240 * debian/changelog: Updates.
1242 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1244 Deprecation of the hildon_pannable_area_set_size_request_policy
1245 API, the only policy properly supported in gtk+ nowadays is the
1248 * src/hildon-pannable-area.c,
1249 (hildon_pannable_area_size_request): Added a workaround for the
1250 size_request to avoid the problems of huge pixmaps in case someone
1251 is still using the function.
1252 * src/hildon-pannable-area.h: Deprecated the enum with the
1255 Fixes: NB#110244 (Problems with the
1256 hildon_pannable_area_set_size_request_policy API)
1258 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1260 * src/hildon-pannable-area.c,
1261 (hildon_pannable_area_init),
1262 (hildon_pannable_area_size_request),
1263 (hildon_pannable_area_style_set),
1264 (hildon_pannable_draw_vscroll),
1265 (hildon_pannable_draw_hscroll),
1266 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1267 indicator_width to clarify the use of the attribute.
1269 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1274 * configure.ac: Bump version.
1275 * debian/changelog: Updates.
1277 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1279 * src/hildon-picker-dialog.c
1280 * src/hildon-touch-selector.c
1281 Reverting the change that tried to avoid the hardcoded height on
1282 the picker dialog, as causes problems on the hildon-touch-selector
1285 Fixes: NB#110029 (selectors not scrolling to selected value)
1287 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1289 * src/hildon-touch-selector.c: Fix typos
1291 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1294 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1295 request more motions after using it.
1297 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1299 * src/hildon-calendar.c (hildon_calendar_expose),
1300 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1301 Remove unused variables.
1303 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1305 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1306 variable assignment.
1308 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1311 Check the return value of gtk_tree_selection_get_selected()
1314 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1316 * src/hildon-animation-actor.c
1317 * src/hildon-button.c
1319 * src/hildon-pannable-area.c
1320 * src/hildon-picker-button.c
1321 * src/hildon-program.c
1322 * src/hildon-remote-texture.c
1323 * src/hildon-text-view.c
1324 * src/hildon-touch-selector.c
1325 * src/hildon-window-stack.c
1326 * src/hildon-window.c:
1327 Add missing 'Since: 2.2' tags.
1329 * doc/hildon-sections.txt:
1330 Add some missing symbols.
1332 * doc/hildon-docs.sgml:
1333 New 'Other' section for HildonAnimationActor and
1336 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1338 Patch by Iván Gómez (igomez@igalia.com)
1341 * doc/compiling.sgml
1342 * doc/hildon-docs.sgml
1343 * doc/hildon-sections.txt
1344 * doc/migration.sgml
1345 * doc/resources.sgml
1347 New chapters on using the Hildon library.
1348 Updated the general structure of the reference manual.
1349 Other minor documentation fixes.
1351 * src/hildon-calendar-popup.c
1352 * src/hildon-calendar.c
1353 * src/hildon-controlbar.c
1354 * src/hildon-date-editor.c
1355 * src/hildon-dialog.c
1356 * src/hildon-hvolumebar.c
1357 * src/hildon-number-editor.c
1358 * src/hildon-range-editor.c
1359 * src/hildon-sort-dialog.c
1360 * src/hildon-time-editor.c
1361 * src/hildon-time-picker.c
1362 * src/hildon-volumebar-range.c
1363 * src/hildon-volumebar.c
1364 * src/hildon-vvolumebar.c
1365 * src/hildon-weekday-picker.c:
1366 Add deprecation notes
1368 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1369 Document 'horizontal-movement' and 'vertical-movement' signals.
1371 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1376 * configure.ac: Bump version.
1377 * debian/changelog: Updates.
1379 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1381 * src/hildon-pannable-area.c,
1382 (hildon_pannable_area_class_init): increased the minimum velocity.
1383 (hildon_pannable_area_button_release_cb): Updated the
1384 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1385 setup. Review the code to control that last event.
1387 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1390 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1392 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1394 * src/hildon-get-password-dialog.c
1395 (hildon_get_password_set_property),
1396 (hildon_get_password_get_property), (create_contents):
1397 * src/hildon-login-dialog-private.h:
1398 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1399 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1400 (hildon_login_dialog_get_password):
1401 * src/hildon-set-password-dialog-private.h:
1402 * src/hildon-set-password-dialog.c
1403 (hildon_set_password_set_property),
1404 (hildon_set_password_get_property), (create_contents),
1405 (hildon_set_password_response_change),
1406 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1408 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1409 instead and look more Fremantle style.
1411 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1413 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1415 * doc/hildon-sections.txt
1416 * src/hildon-window-stack.h
1417 * src/hildon-window-stack.c
1418 (+hildon_window_stack_get_windows):
1419 New API to obtain the list of windows on a stack.
1421 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1423 * src/hildon-app-menu.c (hildon_app_menu_popup)
1424 (hildon_app_menu_class_init, -hildon_app_menu_show):
1425 Remove hildon_app_menu_show() and move all its checks to
1426 hildon_app_menu_popup()
1428 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1430 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1431 (_hildon_picker_dialog_set_selector): removed call to
1432 gtk_widget_set_size_request
1433 * src/hildon-touch-selector.c
1434 (_create_new_column): change the pannable size request policy
1436 Avoid to use a hardcoded height for the hildon picker dialog. In order
1437 to get that, we needed to change the hildon pannable size request
1439 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1441 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1444 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1447 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1449 * debian/control: Depend on osso-system-lock localization package.
1450 * src/hildon-code-dialog.c: Obtain the secu_application_title
1451 translation from osso-system-lock.
1452 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1453 for translation the atk related strings, that's not necessary.
1454 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1455 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1456 cancel button, it is not required.
1458 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1460 * src/hildon-pannable-area.c,
1461 (hildon_pannable_area_class_init): Modified the default value of
1462 the overshooting max speed, we have reduced it.
1464 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1466 * doc/hildon-sections.txt
1467 * src/hildon-window-private.h
1468 * src/hildon-window.h
1469 * src/hildon-window.c (hildon_window_class_init)
1470 (hildon_window_init, hildon_window_finalize)
1471 (hildon_window_realize, hildon_window_get_property)
1472 (hildon_window_set_property, hildon_window_update_markup)
1473 (hildon_window_get_markup, hildon_window_set_markup):
1474 New "markup" property and hildon_window_{get,set}_markup() methods.
1476 * examples/hildon-stackable-window-example.c (new_window):
1477 Update example to use hildon_window_set_markup()
1479 Fixes: NB#106375 (Need API to retitle a window with a title
1482 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1484 * src/hildon-pannable-area.c,
1485 (hildon_pannable_area_class_init): Changed the default value of
1486 the initial_hint to TRUE.
1487 (hildon_pannable_area_initial_effect): Changed the initial effect,
1488 not the effect is just the fade-out of the scrollbars.
1490 Fixes: NB#107775 (No scrollbars can be seen when several items are
1491 available in a dialog)
1493 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-program.c (hildon_program_update_top_most):
1498 Fixes: NB#109179 (Memory leak in Hildon program)
1500 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-banner.c (-get_current_app_window):
1503 Remove unused function.
1505 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1507 * src/hildon-pannable-area.c: Modified the documentation of the
1508 get adjustments functions to explain the problem of using the
1509 adjustment directly.
1510 (hildon_pannable_area_class_init): Improved the explanation about
1513 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-app-menu-private.h
1516 * src/hildon-app-menu.c
1517 (hildon_app_menu_class_init):
1518 Bring back the 'external-border' style property
1519 (hildon_app_menu_class_init, hildon_app_menu_init)
1520 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1521 Set a fixed width-request for the menu, independent of the number
1524 Fixes: NB#94957 (Smoothly opened application menu)
1526 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1528 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1530 * src/hildon-banner.c
1531 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1533 Make sure that the banner is correctly placed the first time it's
1535 (hildon_banner_check_position, -check_fullscreen_state):
1536 Show the banner in the same place no matter if the window is in
1537 fullscreen mode or not.
1539 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1541 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1543 * src/hildon-touch-selector.c (_default_print_func): reorder
1544 concatenation for clarity.
1546 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1548 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1549 for multicolumn selectors.
1551 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1553 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1558 * configure.ac: Bump version.
1559 * debian/changelog: Updates.
1561 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1566 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1568 * configure.ac: removed libcangerra-gtk dependency
1569 * debian/control: removed libcanberra-gtk dependency
1570 * src/Makefile.am: removed libcanberra gtk related flags
1571 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1572 context, and manage a global canberra context instead
1574 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1576 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1578 Patch by Daniel Borgmann (danielb@openismus.com)
1580 * src/hildon-edit-toolbar.c:
1581 Adjust the left padding.
1582 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1583 Paint background of the edit toolbar.
1585 Fixes: NB#107897 (Patch to make editmodetoolbar background
1586 themeable and adjust margin)
1588 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1590 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1592 * src/hildon-program.c (hildon_program_update_top_most):
1593 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1595 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1596 change when the user tasks in/out of an application)
1598 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1600 * configure.ac: added libcangerra-gtk dependency
1601 * debian/control: added libcanberra-gtk dependency
1602 * src/Makefile.am: added libcanberra gtk related flags
1603 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1606 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1608 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-program.c (hildon_program_remove_window)
1611 (hildon_program_add_window): Add checks for the window
1612 parameter. Don't decrease the window counter if the window is not
1615 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1617 * src/hildon-pannable-area.c,
1618 (hildon_pannable_area_realize): Fixed position of the event_window
1619 in the realize method.
1621 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-app-menu-private.h
1624 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1625 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1626 (hildon_app_menu_key_press, hildon_app_menu_init)
1627 (hildon_app_menu_finalize):
1628 Make sure that all idle functions are removed when the widget is
1631 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1633 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1638 * configure.ac: Bump version.
1639 * debian/changelog: Updates.
1641 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-entry.c
1644 (+hildon_entry_show_placeholder),
1645 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1646 that replace hildon_entry_update_contents().
1647 (hildon_entry_set_text),
1648 (hildon_entry_set_placeholder),
1649 (hildon_entry_focus_in_event),
1650 (hildon_entry_focus_out_event): Determine when it is needed
1651 either to show or hide the placeholder and call the above methods.
1653 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1654 when the placeholder text is already set)
1656 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1658 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1659 simple GdkPixbufAnim using the new icons for the banner.
1660 (hildon_banner_show_animation): Use the above mentioned method to
1661 create the animation widget.
1663 Fixes: NB#103564 (Make hildon animation banner use individual
1664 image files as the animation)
1666 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pannable-area.c,
1669 (hildon_pannable_leave_notify_event): Check if the child is NULL
1670 to avoid sending the leave.
1672 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1674 * src/hildon-pannable-area.c,
1675 (hildon_pannable_area_class_init),
1676 (hildon_pannable_leave_notify_event): Added a handler of the
1677 leave-notify-signal to consider when no motion notify before
1680 Fixes: NB#107494 (Items stay selected when clicking and moving
1681 away when inside pannable area)
1683 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1688 * configure.ac: Bump version.
1689 * debian/changelog: Updates.
1691 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1693 Patch by Alberto Garcia (agarcia@igalia.com)
1695 * src/hildon-date-button.c,
1696 (hildon_date_button_class_init),
1697 (hildon_date_button_init): Removed the construct property handling
1698 and created a default selector in the init method.
1699 * src/hildon-picker-button.c,
1700 (hildon_picker_button_class_init): Removed the construct flag of the
1703 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1705 * src/hildon-main.c (hildon_init):
1706 Don't allow hildon_init() to be called more than once.
1708 Fixes: NB#106607 (hildon_init should issue error message upon
1711 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1713 * examples/hildon-pannable-area-touch-list-example.c
1714 * examples/hildon-pannagle-area-touch-grid-example.c
1715 * examples/hildon-edit-toolbar-example.c
1716 * examples/hildon-touch-selector-multi-cells-example.c
1717 Removed the call to gtk_rc_parse_string, as it is not required since
1720 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c,
1723 (hildon_pannable_area_class_init): Modified the default panning
1724 threshold of the widget to 6px.
1726 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1727 than the threshold value ) within the button is not sending the
1730 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1733 for the treeview in the new column. This way, the touch list will never
1736 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1737 be selected manually for the HW keys to work)
1739 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1741 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1742 comparison instead of using strcmp(). Fixes a compiler warning as well.
1744 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1746 * doc/hildon-docs.sgml: Do not set the library version in the
1747 document title, use the releaseinfo tag for that purpose instead.
1749 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1752 Do not jump to the first item if the text in the entry is removed.
1754 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1759 * configure.ac: Bump version.
1760 * debian/changelog: Updates.
1762 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-entry.c (hildon_entry_refresh_contents):
1765 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1766 Use "ReversedSecondaryTextColor" for the placeholder text.
1768 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1770 * src/hildon-text-view.c: Fix compilation warning.
1772 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1774 * src/hildon-button.c (hildon_button_class_init): Don't make
1775 "title" and "value" construction properties, to prevent them from
1776 overwriting labels set from derived classes.
1778 * src/hildon-picker-button.c
1779 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1780 (hildon_picker_button_class_init): Make touch-selector a
1781 construction property.
1783 * src/hildon-date-button.c (hildon_date_button_class_init)
1784 (+hildon_date_button_constructed): Add a default date selector if
1787 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-touch-selector.c: Small documentation fixes.
1791 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1793 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1795 * src/hildon-entry.c (hildon_entry_refresh_contents),
1796 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1797 widget name, set the logical color directly instead and a boolean
1798 showing_placeholder instead.
1799 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1800 use the widget name here either.
1802 Fixes: NB#105678 (HildonTextView should use logical colours
1803 instead of setting widget name)
1805 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1807 Patch by Daniel Elster (danielk@openismus.com)
1809 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1810 Add user_data parameter.
1811 (hildon_touch_selector_set_print_func_full): New function akin
1812 hildon_touch_selector_set_print_func() but with support for user
1813 data and a destroy callback.
1814 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1815 to clean up the print function user data.
1816 (hildon_touch_selector_class_init): Install dispose function.
1817 (HildonTouchSelectorPrivate::print_user_data),
1818 (HildonTouchSelectorPrivate::print_destroy_func): New private
1820 (hildon_touch_selector_init): Initialize new private members.
1821 (hildon_touch_selector_get_current_text): Pass along user data
1822 to the print function.
1823 (_default_print_func): Add dummy user_data to parameter list.
1824 * hildon-date-selector.c (_custom_print_func): ditto,
1825 * hildon-time-selector.c (_custom_print_func): ditto,
1826 * hildon-touch-selector-entry.c
1827 (hildon_touch_selector_entry_print_func): ditto.
1829 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1831 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1833 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1835 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1837 * src/hildon-pannable-area.c,
1838 (hildon_pannable_area_init),
1839 (hildon_pannable_area_button_press_cb),
1840 (hildon_pannable_area_motion_notify_cb): We have added code to
1841 handle the leave and enter events when using the motion events.
1843 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1845 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-date-button.c (hildon_date_button_get_date)
1848 (hildon_date_button_set_date): Make sure that the button has a
1851 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1853 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1855 * src/hildon-pannable-area.c,
1856 (hildon_pannable_area_class_init),
1857 (hildon_pannable_area_calculate_velocity): Modify the use of the
1858 force and adapt the value.
1860 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1862 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1863 (hildon_app_menu_class_init): Hide the menu if it receives a
1864 delete-event, but don't destroy it
1866 Fixes: NB#104485 (Not able to address the call when application
1867 menu is opened at background)
1869 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1871 * src/hildon-app-menu.c
1872 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1873 Remove the "external-border" style property, let the menu take its
1874 natural size (or the one set by the window manager)
1875 (hildon_app_menu_repack_items):
1876 Don't reshow the menu, avoid flickers.
1878 Partially fixes NB#94957 (Smoothly opened application menu)
1880 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1885 * configure.ac: Bump version.
1886 * debian/changelog: Updates.
1888 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1890 * src/hildon-pannable-area.c,
1891 (hildon_pannable_area_motion_notify_cb): We control that the
1892 direction error margin is used just in case the movement is
1893 allowed in the other direction.
1895 Fixes: NB#105012 (buttons inside a pannable area not getting
1896 release event when dragging/releasing)
1898 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1900 * src/hildon-pannable-area.c,
1901 (hildon_pannable_area_class_init),
1902 (hildon_pannable_area_get_property),
1903 (hildon_pannable_area_set_property),
1904 (hildon_pannable_area_initial_effect),
1905 (hildon_pannable_axis_scroll),
1906 (hildon_pannable_area_button_release_cb): Reviewed the
1907 overshooting effect, now it has its own max
1908 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1909 speed when bouncing.
1911 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1916 * configure.ac: Bump version.
1917 * debian/changelog: Updates.
1919 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_class_init): Changed the max speed, now
1923 users can launch the widget very fast. Reduced the default force,
1924 that way it is easier to control the launch speed.
1926 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1928 * src/hildon-pannable-area.c,
1929 (hildon_pannable_area_button_release_cb): Removed this check
1930 because it causes problems when the device is overloaded.
1932 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1935 add a current_text field to store the text entered in the
1936 touch selector entry.
1937 (_clean_current_selection): clean up the current text as well.
1938 (_save_current_selection), (_restore_current_selection):
1939 Save/restore the text in the entry if the selector is a
1940 HildonTouchSelectorEntry.
1942 Fixes: NB#102541 (value entered in the touch selector entry is not
1943 shown when opened for second time)
1945 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1947 * doc/hildon-sections.txt:
1948 * src/hildon-touch-selector-entry.c
1949 (+hildon_touch_selector_entry_get_entry):
1950 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1952 Fixes: NB#104815 (I need accessor to the entry inside
1953 HildonTouchSelectorEntry)
1955 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1957 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1958 (hildon_app_menu_class_init):
1959 New "filter-vertical-spacing" style property.
1961 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-find-toolbar.c
1964 (hildon_find_toolbar_emit_close)
1965 (hildon_find_toolbar_emit_invalid_input)
1966 (hildon_find_toolbar_entry_activate):
1967 Use g_signal_emit() instead of g_signal_emit_by_name()
1969 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1971 Patch by Mox Soini (ext-mox.soini@nokia.com)
1973 * tests/TEST-CASES.txt
1974 * tests/check-hildon-banner.c
1975 * tests/check-hildon-note.c
1976 * src/hildon-banner.c
1977 * src/hildon-code-dialog.c
1978 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1979 * src/hildon-time-editor.c
1980 * examples/hildon-lookup-example.c (main):
1981 Replace obsolete icon names with new ones.
1983 * src/hildon-find-toolbar-private.h:
1984 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1985 (-hildon_find_toolbar_emit_search):
1986 Remove find button and change icon of close button.
1988 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1990 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-time-button.c (hildon_time_button_new_step):
1993 Use the "touch-selector" property to set the selector directly
1994 when creating the object.
1996 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1998 Added a new example application that allows tuning the pannable
1999 area and replaced defines with properties in order to simplify the
2000 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2001 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2002 PROP_DIRECTION_ERROR_MARGIN.
2004 * examples/hildon-pannable-area-tuning-example.c: New example
2006 * src/hildon-pannable-area.c,
2007 (hildon_pannable_area_class_init),
2008 (hildon_pannable_area_init),
2009 (hildon_pannable_area_get_property),
2010 (hildon_pannable_area_set_property),
2011 (hildon_pannable_area_launch_fade_timeout),
2012 (hildon_pannable_area_adjust_value_changed),
2013 (hildon_pannable_axis_scroll),
2014 (hildon_pannable_area_motion_notify_cb),
2015 (hildon_pannable_area_scroll_cb),
2016 (hildon_pannable_area_button_release_cb): We have converted some
2017 of the defines that control the widget to properties to simplify
2020 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-app-menu.c (hildon_app_menu_map)
2023 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2024 so it's closed if a new window appears.
2026 Fixes: NB#104485 (Not able to address the call when application
2027 menu is opened at background)
2029 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2032 missing 'break' statement in in 'case' construct to avoid
2035 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-touch-selector-entry.c
2038 (hildon_touch_selector_entry_get_property),
2039 (hildon_touch_selector_entry_set_property): Add missing 'break'
2040 statements in in 'case' constructs to avoid incorrect warnings.
2042 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-time-editor.c
2045 (hildon_time_editor_get_time_separators): Do not crash if
2046 the first label is NULL.
2048 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-date-selector.c (_month_days): Check for month to be
2051 strictly less than 12, since otherwise we may overrun the array.
2053 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-date-button.c (+hildon_date_button_new_full)
2056 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2057 (hildon_date_button_init): Set the date selector using a
2058 construction property, to make it happen after HildonButton's
2059 "value" property is set.
2061 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2062 current date by default)
2064 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2066 * doc/hildon-sections.txt
2067 * src/hildon-program.c
2068 * src/hildon-stackable-window.c
2069 * src/hildon-window.c:
2070 Documentation updates
2072 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2075 (hildon_window_stack_new, +hildon_window_stack_set_property)
2076 (+hildon_window_stack_get_property)
2077 (hildon_window_stack_class_init)
2078 (+hildon_window_stack_set_window_group)
2079 (+hildon_window_stack_get_window_group):
2080 Make the window group a construction property.
2082 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2084 * doc/hildon-sections.txt
2085 * src/hildon-stackable-window-private.h
2086 * src/hildon-stackable-window.h
2087 * src/hildon-stackable-window.c
2088 (-hildon_stackable_window_set_app_menu)
2089 (-hildon_stackable_window_get_app_menu)
2090 (-hildon_stackable_window_toggle_menu)
2091 (-hildon_stackable_window_finalize)
2092 (hildon_stackable_window_class_init)
2093 (hildon_stackable_window_init)
2094 * src/hildon-window-private.h
2095 * src/hildon-window.h
2096 * src/hildon-window.c (hildon_window_init)
2097 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2098 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2099 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2100 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2101 Moved all HildonAppMenu code to HildonWindow. The menu does not
2102 require a HildonStackableWindow anymore.
2104 * src/hildon-app-menu.c
2105 * src/hildon-program.c
2106 * examples/hildon-app-menu-example.c (main):
2107 Update examples and documentation to reflect HildonAppMenu
2110 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-remote-texture.c
2113 * src/hildon-animation-actor.c:
2114 Don't include unused private headers.
2116 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2118 * src/hildon-program-private.h
2119 * src/hildon-program.c
2120 (hildon_program_set_common_menu)
2121 (hildon_program_get_common_menu)
2122 (hildon_program_set_common_app_menu)
2123 (hildon_program_get_common_app_menu):
2124 Change common menu pointers from GtkWidget* to GtkMenu* and
2125 HildonAppMenu* to avoid unnecessary casts.
2127 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-window.c (hildon_window_set_main_menu):
2130 Removed incorrect 'Since:' tag
2132 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2134 * src/hildon-pannable-area.c,
2135 (hildon_pannable_area_calculate_velocity): We use now the
2136 RATIO_TOLERANCE here to check the distance, fixed typo in the
2138 (hildon_pannable_area_motion_notify_cb): We have to set the type
2139 and time even if we are not sending the motion.
2141 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2143 * doc/hildon-sections.txt
2144 * src/hildon-app-menu.h
2145 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2146 (+hildon_app_menu_get_filters): New methods to get the contents of
2149 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2152 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2154 * src/hildon-app-menu.c (hildon_app_menu_popup):
2157 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2159 * src/hildon-window.h
2160 * src/hildon-window.c (+hildon_window_get_main_menu)
2161 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2162 and deprecated hildon_window_get_menu().
2164 * src/hildon-stackable-window.h
2165 * src/hildon-stackable-window.c
2166 (+hildon_stackable_window_set_app_menu)
2167 (+hildon_stackable_window_get_app_menu)
2168 (hildon_stackable_window_set_main_menu): Created
2169 hildon_stackable_window_{get,set}_app_menu() and deprecated
2170 hildon_stackable_window_set_main_menu().
2172 * doc/hildon-sections.txt
2173 * examples/hildon-app-menu-example.c (main)
2174 * src/hildon-app-menu.c
2175 * src/hildon-program.c:
2176 Updated examples and documentation.
2178 Fixes: NB#103758 (No way to obtain a menu from a
2179 HildonStackableWindow)
2181 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2186 * configure.ac: Bump version.
2187 * debian/changelog: Updates.
2189 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2191 * examples/hildon-remote-texture-example.c: Include
2192 hildon-remote-texture.h explicitely.
2193 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2194 applications not defining _XOPEN_SOURCE which don't require this header.
2196 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2198 * doc/hildon-sections.txt
2199 * src/hildon-app-menu.h
2200 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2201 New function to pop up a HildonAppMenu
2203 * src/hildon-stackable-window.c
2204 (hildon_stackable_window_toggle_menu):
2205 Use hildon_app_menu_popup() to show the menu.
2207 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-app-menu.c (hildon_app_menu_show)
2210 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2211 menu if there's another window between it and its parent window.
2213 Fixes: NB#100468 (Application menu window is launched even when a
2214 new secondary-window/dialog is pending to be shown/realized)
2216 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2218 * src/hildon-window-stack.c (hildon_window_stack_push)
2219 (hildon_window_stack_pop_and_push):
2220 Don't forget to push/pop the first window.
2221 Reverse the window list before calling _push_list()
2223 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-picker-button.h
2226 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2227 Remove "value_changed" slot to avoid ABI breakage
2229 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2231 * src/hildon-pannable-area.c,
2232 (hildon_pannable_area_realize),
2233 (hildon_pannable_area_unrealize),
2234 (hildon_pannable_draw_vscroll),
2235 (hildon_pannable_draw_hscroll): Changed the method to handle the
2236 GC used to draw the transparent scrollbar, this way we avoid
2237 creating the GC all the time when drawing the scrollbars.
2239 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c,
2242 (hildon_pannable_area_init),
2243 (hildon_pannable_area_remove): Removed some unnecessary casts.
2244 (hildon_pannable_area_dispose): Disconnected some signals before
2245 releasing the adjustments.
2247 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2250 Make sure that all widgets contained in the toolbar are shown.
2252 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2254 * doc/hildon-sections.txt
2255 * src/hildon-picker-button.h
2256 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2257 (_selection_changed, hildon_picker_button_on_dialog_response)
2258 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2259 New hildon_picker_button_value_changed() method.
2262 * src/hildon-picker-button-private.h
2263 * src/hildon-picker-button.c (hildon_picker_button_init)
2264 (+hildon_picker_button_disable_value_changed): Add protected
2265 function for disabling the "value-changed" signal.
2267 * src/hildon-date-button.c (hildon_date_button_set_date):
2268 Don't emit "value-changed" for each one of the three columns.
2270 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2271 before actual change of values)
2273 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2275 * src/hildon-pannable-area.c,
2276 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2277 for the treeview overshooting.
2279 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2281 * src/hildon-banner.c (+hildon_banner_bind_style):
2282 Renamed from hildon_banner_bind_label_style(), now naming the
2283 banner itself as well.
2284 (hildon_banner_show_information),
2285 (hildon_banner_show_information_with_markup),
2286 (hildon_banner_show_animation), (hildon_banner_show_progress):
2287 Name the widgets and labels, based on their type.
2289 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2292 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/hildon-note.c (hildon_note_set_property): call
2295 hildon_note_rename() on HildonNote:note-type set.
2296 (hildon_note_rename): Name the note and its label, based on the
2297 HildonNote:note-type property.
2299 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2302 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_area_class_init),
2306 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2307 panning parameters, increased SPS and deceleration factor. Added
2308 also a margin to control fake directions.
2310 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2312 Patch by Sven Herzberg (sven@imendio.com)
2314 * configure.ac: Add missing AM_PROG_CC_C_0
2315 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2317 See NB#101420 (Update unit tests and fix make check)
2319 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2321 This patch was applied before but reverted because it caused
2322 problems, we have changed the main condition and tested the
2323 regressions we detected before and they work ok. We have done a
2324 complete review of the topmost algorithm in order to get a more
2327 * src/hildon-pannable-area.c,
2328 (hildon_pannable_area_get_topmost): Added a new parameter to
2329 filter the the windows that do not include those events.
2330 (hildon_pannable_area_button_press_cb),
2331 (hildon_pannable_area_button_release_cb),
2332 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2333 topmost function, we have added the new parameter.
2335 Fixes: NB#97458 (Pannable area prevents propagation of button
2338 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2341 if all columns in the selector have an item selected.
2342 (_on_dialog_response): Stop "response" signal emission if there is
2343 any selector column without selected items.
2345 Fixes: NB#101889 (Picker dialog should not close when nothing is
2346 selected in multiple selection list)
2348 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2350 * src/hildon-font-selection-dialog.c
2351 (hildon_font_selection_dialog_class_init),
2352 (hildon_font_selection_dialog_init): Remove the preview
2353 button and dialog, since previewing with default theming is likely
2354 to be overcomplicated. The :preview property has now no effect.
2355 Update documentation blurbs to inform about this.
2357 Fixes: NB#92297 (Preview content is not clearly visible for
2358 default colour text)
2360 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2362 Reviewed the geometry that handles the children size and
2363 scrollbar, now it tries a size and reviews the results depending
2364 on the scrollbars visibility.
2366 * src/hildon-pannable-area.c,
2367 (hildon_pannable_area_realize): Fixed a typo.
2368 (hildon_pannable_area_child_allocate_calculate): Added this
2369 function to calculate the child allocation.
2370 (hildon_pannable_area_size_allocate): Reviewed the allocation
2372 (hildon_pannable_area_check_scrollbars),
2373 (hildon_pannable_area_refresh): Refactored refresh function, this
2374 way we can call the code handling the scrollbars without causing a
2375 size_request, it is interesting in the allocate.
2376 (hildon_pannable_area_init): Replace the callbacks of the
2377 value_changed and changed signals to propertly deal with the
2379 (hildon_pannable_area_grab_notify),
2380 (hildon_pannable_area_initial_effect),
2381 (hildon_pannable_area_launch_fade_timeout),
2382 (hildon_pannable_area_adjust_changed),
2383 (hildon_pannable_area_adjust_value_changed),
2384 (hildon_pannable_area_redraw),
2385 (hildon_pannable_area_button_press_cb),
2386 (hildon_pannable_area_button_release_cb),
2387 (hildon_pannable_area_scroll_cb),
2388 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2389 code and use the new functions adjust_changed and
2390 adjust_value_changed.
2392 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2393 Contact editor dialog)
2395 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: Bump version.
2401 * debian/changelog: Updates.
2403 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2405 * src/hildon-pannable-area.c,
2406 (hildon_pannable_area_get_topmost),
2407 (hildon_pannable_area_button_press_cb),
2408 (hildon_pannable_area_button_release_cb),
2409 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2410 topmost function adding the event mask. We have to try a
2411 differente approach because it is still causing problems (NB#9745,
2414 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2416 * src/hildon-banner.c:
2417 Update the maximum width of timed banners.
2418 (force_to_wrap_truncated): Enforce the maximum text width if the
2421 Fixes: NB#102413 (The text margins (wrapping) in information
2422 banner should be HILDON_MARGIN_TRIPLE)
2424 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2426 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2428 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2429 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2430 bound when calculating the scroll indicator position.
2432 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2433 treat ->lower correctly)
2435 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2438 expose event handling, since it is not necessary to draw the focus
2441 Fixes: NB#102467 (Do not show highlight on the text in
2444 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2447 full height of the toolbar for the button and the label.
2449 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2452 padding before the label and after the button.
2454 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2458 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2459 Add a GtkVSeparator between the button and the back arrow.
2460 Let the button have automatic size.
2461 Set a name to the widget for theming handling.
2463 Fixes: NB#101793 (Make edit toolbar the same height as window
2464 title bar (use title area theming))
2466 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-helper.c (attach_new_color_element): Fix memory
2471 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2473 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2475 * examples/hildon-button-example.c (common_buttons_window): Don't
2478 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2481 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2483 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2485 * src/hildon-gtk.c: Check that the window is realized.
2487 Fixes: NB#102225 (Crash setting the progress indicator to a non
2490 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2493 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2494 instead of modifying the one in the widget style.
2496 Fixes: NB#101043 (Second row of all the command button are
2497 displayed in transparent mode.)
2499 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-date-button.c
2502 * src/hildon-time-button.c: Add gettext macros
2504 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-date-button.c (hildon_date_button_new):
2507 * src/hildon-time-button.c (hildon_time_button_new_step):
2508 Use new logical strings to set the button default title.
2510 Fixes: NB#99915 (Date and Time options are not localised in Date
2513 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2515 * src/hildon-pannable-area.c
2516 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2517 the PANNING_THRESHOLD.
2519 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2521 * src/hildon-pannable-area.c,
2522 (hildon_pannable_area_class_init): Increased the maximum speed.
2523 (hildon_pannable_area_get_property),
2524 (hildon_pannable_area_set_property),
2525 (hildon_pannable_area_timeout): Added a new low friction mode, it
2526 allows the user avoid friction when launching the widget fast
2527 enough. It is interesting to traverse long lists.
2529 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2532 (+hildon_stackable_window_delete_event): Ignore delete events if
2533 the window is not the topmost one.
2535 Fixes: NB#101698 (Back button long press and delete-event handling)
2537 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-pannable-area.c,
2540 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2541 gtk-dnd-drag-threshold, it was too big. We have defined our own
2542 dnd define and set a smaller value: PANNIG_THRESHOLD.
2544 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2547 user-defined icons, use always the default one.
2549 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2551 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2553 This patch was applied before but reverted because it caused
2554 problems, we have changed the main condition and tested the
2555 regressions we detected before and they work ok.
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_area_get_topmost): Added a new parameter to
2559 filter the the windows that do not include those events. Added
2560 also a condition when finding the window to filter windows that do
2561 not ask for those events.
2562 (hildon_pannable_area_button_press_cb),
2563 (hildon_pannable_area_button_release_cb),
2564 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2565 topmost function, we have added the new parameter.
2567 Fixes: NB#97458 (Pannable area prevents propagation of button
2570 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2572 * tests/check-hildon-color-button.c (START_TEST): do not leak
2575 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-font-selection-dialog.c
2578 (hildon_font_selection_dialog_get_preview_text): Return NULL
2579 instead of FALSE on the g_return_val_if_fail().
2581 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2584 * src/hildon-date-selector.c
2585 (hildon_date_selector_select_current_date):
2586 Do not compare unsigned integers to be greater than or equal 0,
2587 because it's always TRUE.
2589 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2592 (hildon_date_selector_constructor): Do not select the current
2593 date until we are handle the "changed" signal, to avoid having bogus
2594 elements in the days model.
2596 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2599 for num_days, since _month_days() can return a negative value.
2601 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2603 * src/hildon-caption.c (hildon_caption_size_allocate):
2604 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2605 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2607 Initialize allocation variables to 0, to avoid eventually using
2608 unitialized variables.
2610 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-bread-crumb-trail.c
2613 (hildon_bread_crumb_trail_size_allocate):
2614 * src/hildon-calendar.c (hildon_calendar_set_background):
2615 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2616 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2617 * src/hildon-seekbar.c (hildon_seekbar_init):
2618 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2619 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2620 * src/hildon-touch-selector-entry.c
2621 (hildon_touch_selector_get_text_from_model):
2622 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2623 * src/hildon-window.c (hildon_window_finalize):
2625 Remove many unused variables.
2627 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-seekbar.c: (hildon_seekbar_init),
2630 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2632 Remove unnecessary g_assert() calls.
2634 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-caption.c: (hildon_caption_expose),
2637 (hildon_caption_set_property), (hildon_caption_init),
2638 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2639 (hildon_caption_size_request), (hildon_caption_size_allocate),
2640 (hildon_caption_forall), (hildon_caption_set_separator),
2641 (hildon_caption_activate), (hildon_caption_set_child_expand),
2642 (hildon_caption_set_label_text),
2643 (hildon_caption_get_label_alignment):
2645 Remove unnecessary g_assert() calls.
2647 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-banner.c
2650 (hildon_banner_map, hildon_banner_init): Make banner temporary
2651 before mapping it to avoid closing other temporary windows, but
2652 make it non-temporary afterwards to avoid being closed by other
2653 non-temporary windows.
2654 (-hildon_banner_client_event, hildon_banner_init):
2655 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2657 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2660 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2665 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2667 * src/hildon-remote-texture.c
2668 * src/hildon-remote-texture.h
2669 * src/hildon-remote-texture-private.h
2670 * examples/hildon-remote-texture-example.c:
2671 Updates/fixes to remote-texture and its example.
2673 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2675 Patch by Mox Soini (ext-mox.soini@nokia.com)
2677 * src/hildon-code-dialog.c: Update logical id.
2678 * src/hildon-set-password-dialog.c: Update logical id.
2680 Fixes: NB#100646 (Logical strings is shown for ok in set
2681 password,Password needed dialogs)
2683 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2686 * src/hildon-remote-texture.c
2687 * src/hildon-remote-texture.h
2688 * src/hildon-remote-texture-private.h
2690 Added remote texture widget (for Clutter shared memory textures)
2692 * examples/hildon-remote-texture-example.c
2693 * examples/Makefile.am
2694 Added example file for remote texture usage
2696 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2698 * configure.ac: post release version bump.
2699 * debian/changelog: version bump.
2701 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2706 * configure.ac: Bump version.
2707 * debian/changelog: Updates.
2709 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-date-selector.c (hildon_date_selector_init)
2712 (hildon_date_selector_constructor): Don't connect to the "changed"
2713 signal until the selector is completely constructed.
2715 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-touch-selector.c: (_create_new_column),
2718 (hildon_touch_selector_append_column),
2719 (hildon_touch_selector_set_column_selection_mode),
2720 (hildon_touch_selector_set_active),
2721 (hildon_touch_selector_select_iter):
2722 Emit the HildonTouchSelector::changed signal every time selection
2723 is changed in any of the methods above. This behavior was already
2724 documented but not fully functional.
2726 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2727 selection is programmatically changed)
2729 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2731 * doc/hildon-sections.txt: Remove obsolete icon
2732 sizes from here as well.
2734 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2736 * examples/hildon-stackable-window-example.c (add_window): Remove
2739 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-app-menu.c
2742 (hildon_app_menu_show): Check whether the parent window of a menu
2743 is topmost before popping it up.
2745 Fixes: NB#100468 (Application menu window is launched even when a
2746 new secondary-window/dialog is pending to be shown/realized.)
2748 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2750 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2753 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2755 Patch by Mox Soini (ext-mox.soini@nokia.com)
2757 * src/hildon-banner.c: (hildon_banner_show_animation):
2758 use stylus size instead of obsolete note size.
2759 * src/hildon-defines.h: Update icon sizes.
2761 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-touch-selector-entry.c:
2764 (hildon_touch_selector_entry_init): Disable unsupported
2766 (hildon_touch_selector_entry_get_text_column): Emit a warning
2767 if an unsupported input modes is used and explicitile state
2768 these modes in the documentation.
2770 Fixes: NB#99802 (Hildon touch selector entry not working properly
2771 for some of the input modes)
2773 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2775 * src/hildon-pannable-area.c,
2776 (hildon_pannable_area_init): Added the changed signal handlers of
2779 Fixes: NB#100320 (HildonPannableArea does not listen to
2780 GtkAdjustment "change" signals)
2782 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2784 * doc/hildon-sections.txt
2785 * src/hildon-window-private.h
2786 * src/hildon-window.h
2787 * src/hildon-window.c (hildon_window_init)
2788 (hildon_window_realize, hildon_window_unrealize)
2789 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2790 (hildon_window_size_request, hildon_window_size_allocate)
2791 (hildon_window_forall, hildon_window_show_all)
2792 (hildon_window_destroy, +paint_edit_toolbar)
2793 (+hildon_window_set_edit_toolbar):
2794 New hildon_window_set_edit_toolbar() method, to add a
2795 HildonEditToolbar to a window without having to pack it manually.
2797 Reorganize hildon_window_size_allocate()
2799 * src/hildon-edit-toolbar.c: Update documentation.
2801 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2802 example to use the new API.
2804 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2806 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2809 Remove from stack before calling parent's hide.
2811 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2814 window is removed from the middle of the stack, update the
2815 transiency of the previous one.
2817 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2820 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2823 block/unblock the signal handler if it's not actually being used.
2824 Fixes some critical warnings.
2826 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2828 Based on a patch by Iván Gómez (igomez@igalia.com)
2830 * src/hildon-banner.c
2834 * src/hildon-pannable-area.c
2835 * src/hildon-picker-dialog.c
2836 * src/hildon-wizard-dialog.h
2837 * src/hildon-wizard-dialog.c: Documentation updates.
2839 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2840 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2842 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2844 * configure.ac: post release version bump.
2845 * debian/changelog: version bump.
2847 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2852 * configure.ac: Bump version.
2853 * debian/changelog: Updates.
2855 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2858 a stock icon nor change the relief of the back arrow.
2860 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2861 graphics from theme)
2863 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-button.c (hildon_button_set_alignment): Use
2866 priv->alignment if the button has no child yet.
2868 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-button.c: (hildon_button_init): Set the
2871 button style during initialization to give it the proper
2874 Fixes: NB#99713 (HildonButton value label color is wrong)
2876 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/hildon-touch-selector.c: Document
2879 hildon_touch_selector_center_on_selected()
2881 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2884 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2885 all menu items, but not the menu itself.
2886 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2887 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2888 items after adding them to the menu so keyboard accelerators work.
2889 (hildon_app_menu_show): Don't show the menu if it contains items
2890 but none of them are visible.
2892 * examples/hildon-app-menu-example.c (create_menu): Use
2893 gtk_widget_show_all() to show all menu items.
2895 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/hildon-picker-dialog.c:
2898 (-_update_title_on_selector_changed_cb),
2899 (-_dialog_update_title): Removed.
2900 (_select_on_selector_changed_cb), (_on_dialog_response),
2901 (on_selector_columns_changed): Do not update the dialog title.
2902 (setup_interaction_mode): Do not connect to
2903 HildonTouchSelector::changed signal if there's a "done" button, as
2904 the dialog title doesn't need to be updated.
2906 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2909 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2911 Patch by Kristian Rietveld (kris@imendio.com)
2913 * src/hildon-touch-selector.c: (_create_new_column): Use new
2914 GtkTreeView::hildon-row-tapped signal to react to user interactions
2915 instead of ::changed.
2917 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2918 with some dynamic tree model)
2920 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2923 (+screen_size_changed, +label_size_request)
2924 (hildon_note_class_init): Make the Hildon information note have a
2925 minimum height, and make its text hvae a maximum width.
2927 Fixes: NB#98614 (Hildon information note (background) should have
2928 minimum height and maximum text width)
2930 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-banner.h
2933 * src/hildon-banner.c (hildon_banner_show_information)
2934 (hildon_banner_show_informationf)
2935 (hildon_banner_show_information_with_markup): Update documentation
2936 to reflect that the icon_name parameter is not used anymore.
2937 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2938 Remove all code from these functions and mark them as deprecated.
2939 (hildon_banner_show_progress): Mark as deprecated.
2941 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2943 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2945 * src/hildon-pannable-area.c,
2946 (hildon_pannable_area_class_init),
2947 (tranparency_color),
2948 (hildon_pannable_draw_vscroll),
2949 (hildon_pannable_draw_hscroll),
2950 (hildon_pannable_area_expose_event): Added a new way to render the
2951 scrollbars of the pannable area avoiding using cairo at all. This
2952 way we improve the performance of the pannable area rendering. The
2953 cairo rendering procedure is still in the code, we can control
2954 which one to use changing the value of the define
2955 USE_CAIRO_SCROLLBARS.
2957 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2959 * configure.ac: post release version bump.
2960 * debian/changelog: version bump.
2962 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2967 * configure.ac: Bump version.
2968 * debian/changelog: Updates.
2970 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2973 banners instead of destroying them when they receive a button
2976 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2978 Reverted commit 34028, it was causing regressions, probably the
2979 topmost condition is not correct, we have to check it in more
2980 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2981 propagation of button press events)
2983 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2985 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2986 that the selection is not empty before attempting to retrieve the
2987 current ampm selection.
2989 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-picker-button.c:
2992 (hildon_picker_button_on_dialog_response): Directly update the
2993 button contents when required instead of calling _selection_changed.
2995 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-program.c (hildon_program_update_top_most): Update
2998 'is-topmost' property also when wm_hints is not set.
3000 Fixes: NB#98383 (is-topmost signal is not emitted when task
3001 switcher is clicked.)
3003 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3005 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3009 * src/hildon-animation-actor.c,
3010 * src/hildon-animation-actor.h: Added the animation actor class,
3011 this widget represents an animation actor for WM-assisted
3012 animation effects in the Hildon framework.
3014 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3016 * src/hildon-window-stack-private.h
3017 * src/hildon-window-stack.c
3018 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3019 Avoid calling gtk_widget_show() again indirectly from
3020 hildon_stackable_window_show()
3022 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3027 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3030 (hildon_time_selector_init): Move the construction of the hours and
3031 ampm columns to the constructor to preserve the order the columns
3034 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3036 * src/hildon-picker-dialog.c:
3037 (hildon_picker_dialog_class_init): Connect a realize method.
3038 (+hildon_picker_dialog_realize): Setup the interaction mode here
3040 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3041 yet, do it during the realize instead.
3042 (_on_dialog_response):
3043 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3044 if the widget is not realized, to avoid the dialog response before it
3047 Avoid premature responses in the HildonPickerDialog that can cause it
3048 to be hidden before it's even shown.
3050 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3053 (on_selector_columns_changed), (requires_done_button),
3054 (+prepare_action_area), (setup_interaction_mode),
3055 (_hildon_picker_dialog_set_selector):
3057 Split the interaction mode setup into preparation of the
3058 action area (prepare_action_area()) and the connection of
3059 the signals in setup_interaction_mode() and update the code to
3062 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3064 * src/hildon-pannable-area.c,
3065 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3066 per second to 15, we will check if this is ok regarding
3069 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3071 * src/hildon-pannable-area.c,
3072 (hildon_pannable_axis_scroll): Avoid resize if we already have
3073 reached overshoot_max.
3075 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3077 * src/hildon-pannable-area.c,
3078 (hildon_pannable_area_init),
3079 (hildon_pannable_area_realize),
3080 (hildon_pannable_area_size_allocate),
3081 (hildon_pannable_area_map),
3082 (hildon_pannable_area_unmap),
3083 (hildon_pannable_draw_vscroll),
3084 (hildon_pannable_draw_hscroll),
3085 (hildon_pannable_area_expose_event),
3086 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3087 pannable are to avoid the expose events go to the window and
3088 redraw the window. We save this way that part of the stack and the
3089 paint_boxes. We had to change the positions of the elements when
3092 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3095 * src/hildon-color-chooser-dialog.c:
3096 (hildon_color_chooser_dialog_init):
3097 * src/hildon-font-selection-dialog.c:
3098 (hildon_font_selection_dialog_init),
3099 (hildon_font_selection_dialog_show_preview):
3100 * src/hildon-get-password-dialog.c:
3101 * src/hildon-login-dialog.c:
3102 * src/hildon-set-password-dialog.c:
3103 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3104 * src/hildon-time-picker.c: (hildon_time_picker_init):
3106 Remove obsolete logical string IDs and update to the appropriate ones.
3108 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3110 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3113 that happens if the window hasn't been realized yet.
3115 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3116 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3118 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3121 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3124 Fixes: NB#98537 (Device hangs in account settings dialog)
3126 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3128 * configure.ac: post release version bump.
3129 * debian/changelog: version bump
3131 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3136 * configure.ac: Bump version.
3137 * debian/changelog: Updates.
3139 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3141 Added a new function to the HildonTimeButton widget that allows to
3142 change the step of the minutes in the selector associated with the
3143 button: hildon_time_button_new_step
3145 * src/hildon-time-button.c,
3146 (hildon_time_button_init),
3147 (hildon_time_button_new),
3148 (hildon_time_button_new_step):
3149 * src/hildon-time-button.h: Added the new function and refactored
3151 * examples/hildon-time-button-example.c,
3152 (main): We have replaced the function without parameters with the
3153 function with the steps set to 5
3155 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3157 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3159 * src/hildon-time-selector.c,
3160 (hildon_time_selector_class_init),
3161 (hildon_time_selector_constructor),
3162 (hildon_time_selector_get_property),
3163 (hildon_time_selector_set_property),
3164 (_create_minutes_model),
3165 (hildon_time_selector_new_step),
3166 (hildon_time_selector_set_time),
3167 * src/hildon-time-selector.h: Added a new property to the
3168 HildonTimeSelector (minutes-step), we use that property to control
3169 the steps between the minutes in the list of the selector. We have
3170 added a new function to the API to create a widget changing the
3171 step: hildon_time_selector_new_step.
3173 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-time-selector.c,
3176 (hildon_time_selector_class_init),
3177 (hildon_time_selector_constructor),
3178 (hildon_time_selector_init): Overrided the construct function when
3179 creating the time selector object. We have moved the minutes model
3180 handling code from the init to the new construction function:
3181 hildon_time_selector_constructor.
3183 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3185 * examples/hildon-date-button-example.c: (main): Use the new
3186 hildon_date_button_new_with_year_range() method in the example.
3187 * src/hildon-date-button.c:
3188 (+hildon_date_button_new_with_year_range): New public method
3189 to conveniently create a HildonDateButton with a custom year range
3190 in its HildonDateSelector.
3191 * src/hildon-date-button.h: Add the new public method definition.
3193 Fixes: NB#97908 (Not possible to change the year range in
3194 HildonDateSelector/HildonDateButton)
3196 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-date-selector.c:
3199 (+hildon_date_selector_set_property),
3200 (+hildon_date_selector_get_property),
3201 (hildon_date_selector_class_init): Install new properties "min-year"
3202 and "max-year" to define boundaries for the year column.
3203 (_create_year_model): Use the boundary properties to populate the model.
3204 (+hildon_date_selector_new_with_year_range): New public method to
3205 create a HildonDateSelector with a user defined year range.
3206 (hildon_date_selector_select_current_date): Use the new boundaries to
3207 calculate the iterator of current year.
3208 * src/hildon-date-selector.h: Add the new public method definition.
3210 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3213 Install a constructor method.
3214 (+hildon_date_selector_construct_ui): construct the widget.
3215 (+hildon_date_selector_constructor): new constructor.
3216 (+hildon_date_selector_init): move out widget construction code to
3217 the new constructor.
3219 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3221 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3222 that there's actually a month or year selected before obtaining them.
3223 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3224 of the HildonTouchSelector::changed signal, as it was emitted on every
3225 single item selection.
3227 Fix some warnings and possible crashers due to the selection restoring.
3229 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3232 the signal handlers only after creating the dialog instead of on every
3235 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-button.c (hildon_button_init)
3238 * src/hildon-check-button.c (hildon_check_button_init)
3239 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3240 focus when clicked by default.
3242 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3247 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3249 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3250 Alejandro G. Castro (alex@igalia.com)
3252 * src/hildon-picker-dialog.c:
3253 (hildon_picker_dialog_class_init): install new "center-on-show"
3255 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3256 (hildon_picker_dialog_set_property): add setter code for the new
3258 (hildon_picker_dialog_get_property): add getter code for the new
3260 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3261 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3264 Fixes: NB#92849 (Selected item is not always visible when
3265 HildonTouchSelector is shown)
3267 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3269 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3270 Alejandro G. Castro (alex@igalia.com)
3272 * src/hildon-touch-selector.c:
3273 (_create_new_column): Do not connect to the "realize" signal of the
3275 (hildon_touch_selector_append_column): center on the selected items
3276 when a new column is appended.
3277 (hildon_touch_selector_select_iter): Factor out the code to select a
3278 column to hildon_touch_selector_scroll_to().
3279 (+search_nearest_element): Method to retrieve the nearest selected
3280 element to the visible area of the pannable area in a column.
3281 (+on_realize_cb): scroll to the initially selected item.
3282 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3283 the pannable area is realized, otherwise delay this until it is.
3284 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3285 selected items of a given column.
3286 (+hildon_touch_selector_center_on_selected): Public method to center
3287 all columns on the nearest selected item.
3288 * src/hildon-touch-selector.h: Add definition for
3289 hildon_touch_selector_center_on_selected().
3291 Implement public API to ensure visibility of all selected items in
3292 a HildonTouchSelector.
3294 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3296 Fixed a problem in the fading when calling the scroll_to API, and
3297 improve scrollbar fading handling.
3299 * src/hildon-pannable-area.c,
3300 (hildon_pannable_area_grab_notify): avoid the timeout when the
3302 (hildon_pannable_area_button_press_cb),
3303 (hildon_pannable_area_motion_notify_cb): Code style changes.
3304 (hildon_pannable_area_button_release_cb): Review the conditions
3305 when releasing the mouse button to avoid unrequired fading
3307 (hildon_pannable_area_scroll_to): Do not calculate and set the
3308 velocity if the scroll is not required.
3310 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3312 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3313 Don't check whether the new selector is NULL: it cannot be.
3314 Hold a reference to the selector while doing the replacement.
3316 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3319 unnecessary size_request in a removed widget.
3321 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3324 an unnecessary reference tracking that was leaking.
3326 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3328 Added delayed motion notify event handling, this way we can
3329 discard redrawing if more than 25 events arrive per second.
3331 * src/hildon-pannable-area.c,
3332 (hildon_pannable_area_init): Initialized the new private atributes
3333 controlling this timeout
3334 (hildon_pannable_area_dispose): Remove the timeout that controls
3335 the motion notify events.
3336 (hildon_pannable_area_scroll): Added a condition to control the
3337 use of the acceleration.
3338 (hildon_pannable_area_motion_event_scroll_timeout),
3339 (hildon_pannable_area_motion_event_scroll): Added this two
3340 functions, they handle the motion notify events inside the
3342 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3343 to the scroll method with the new function.
3344 (hildon_pannable_area_button_release_cb): We have to remove the
3345 timeout handler and move to the last position if the last motion
3346 events were not handled.
3348 Fixes: NB#97028 (Pannable area updates on every motion event)
3350 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3352 * src/hildon-pannable-area.c,
3353 (hildon_pannable_area_get_topmost): Added a new parameter to
3354 filter the the windows that do not include those events. Added
3355 also a condition when finding the window to filter windows that do
3356 not ask for those events.
3357 (hildon_pannable_area_button_press_cb),
3358 (hildon_pannable_area_button_release_cb),
3359 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3360 topmost function, we have added the new parameter.
3362 Fixes: NB#97458 (Pannable area prevents propagation of button
3365 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3367 * src/hildon-pannable-area.c,
3368 (hildon_pannable_area_initial_effect): Added controls before
3369 launching the timeout and the idle functions.
3370 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3371 of the method, in some situations it can return with TRUE and 0 in
3373 (hildon_pannable_area_button_press_cb): We do not need to set
3374 DELAY for fading out here.
3376 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3378 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3381 post-cleaning if the selection is not NULL.
3383 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3386 all items before restoring the selection.
3388 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-touch-selector.c:
3391 (+hildon_touch_selector_unselect_all):
3392 * src/hildon-touch-selector.h: New API to unselect all items in a
3393 column of the touch selector.
3395 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3397 * src/hildon-pannable-area.c,
3398 (hildon_pannable_area_redraw): Added a call to the refresh
3399 function inside the redraw because apparently in some cases the
3400 change in the adjustment does not imply a size allocate.
3402 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3403 despite the view not being scrollable)
3405 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3407 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3408 leak. Check for NULL before attempting to set the window title.
3410 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3413 whether to show or not the 'Done' button each time the dialog is
3414 shown, as it depends on the HildonTouchSelector selection mode.
3416 Fixes: NB#96226 (In multiple selection mode Done button is shown
3417 sometimes in listpicker)
3419 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3422 for the number of columns in the HildonTouchSelector more than once.
3424 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-touch-selector.c: Minor documentation fixes.
3428 * src/hildon-picker-dialog.c (+_dialog_update_title)
3429 (_select_on_selector_changed_cb)
3430 (_update_title_on_selector_changed_cb)
3431 (on_selector_columns_changed): Update dialog title when there's no
3432 'Done' button and also when the number of columns in the selector
3436 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3437 (+_selection_changed, hildon_picker_button_on_dialog_response)
3438 (hildon_picker_button_selector_selection_changed)
3439 (+hildon_picker_button_selector_columns_changed)
3440 (hildon_picker_button_set_selector): Update button value and emit
3441 'value-changed' when the number of columns in the selector
3445 Fixes: NB#96225 (Dialog titles are not shown according to the
3446 values selected in the list picker)
3448 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3451 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3452 New "arrow-width" and "arrow-height" style properties to set the
3453 size of the arrow button.
3454 Set name of arrow button ("hildon-edit-toolbar-arrow").
3456 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3457 graphics from theme)
3459 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3461 * src/hildon-picker-button.c:
3462 (hildon_picker_button_selector_selection_changed): Use
3463 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3464 the dialog is present.
3466 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3467 the selection is accepted in the dialog)
3469 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-color-chooser.h
3472 * src/hildon-color-chooser-dialog.h:
3473 Added G_BEGIN_DECLS and G_END_DECLS
3475 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3477 (_clean_current_selection): plug a leak in the list.
3479 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-picker-dialog.c:
3482 (+free_path_list): Method to free a GList of GtkTreePaths.
3483 (_clean_current_selection), (_save_current_selection),
3484 (_restore_current_selection): Save the current selection in
3485 as a list of lists, to support multiple selection properly.
3487 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3489 patch by Claudio Saavedra (csaavedra@igalia.com)
3491 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3492 Store the press position.
3493 (+hildon_text_view_button_release_event): If the release position is
3494 close enough to the press position, move the cursor here. Otherwise,
3496 (hildon_text_view_class_init): Override GtkTextView press, release, and
3497 motion event handlers, disabling this way text selection through
3498 pointer interaction, and allowing the container widget to handle the
3501 Fixes: NB#95828 (HildonTextView functionality)
3503 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3505 Based on a patch by Iván Gómez (igomez@igalia.com)
3507 * src/hildon-button.[ch]
3508 * src/hildon-calendar.c
3509 * src/hildon-check-button.c
3510 * src/hildon-date-editor.c
3511 * src/hildon-date-selector.c
3512 * src/hildon-picker-button.c
3513 * src/hildon-time-editor.c
3514 * src/hildon-time-selector.c
3515 * src/hildon-touch-selector.[ch]:
3516 Documentation updates
3518 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3520 * src/hildon-pannable-area.c,
3521 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3522 threshold, it was required due to X events handling.
3524 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3526 * src/hildon-pannable-area.c,
3527 (hildon_pannable_area_grab_notify),
3528 (hildon_pannable_area_initial_effect),
3529 (hildon_pannable_area_button_press_cb),
3530 (hildon_pannable_area_button_release_cb),
3531 (hildon_pannable_area_scroll_cb),
3532 (hildon_pannable_area_scroll_to): Review the timeout management of
3533 the scrollbar, the frecuency was incorrectly set.
3535 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-picker-button.c:
3538 (+hildon_picker_button_on_dialog_response),
3539 (hildon_picker_button_clicked): Present the dialog instead of
3540 running it with gtk_dialog_run().
3542 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3545 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3548 (hildon_app_menu_finalize): When a window is hidden it doesn't
3549 emit notify::is-topmost, so make sure than the menu also
3550 disappears in that case.
3551 (parent_window_topmost_notify): Renamed from parent_window_hidden
3553 Fixes: NB#94460 (stackable window's menu is not closed when its
3556 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-touch-selector-entry.c:
3559 (+hildon_touch_selector_entry_set_input_mode),
3560 (+hildon_touch_selector_entry_get_input_mode):
3561 * src/hildon-touch-selector-entry.h: New methods to access the input
3562 mode in the selector's entry.
3564 Fixes: NB#93410 (API required for setting IM mode in
3565 HildonTouchSelectorEntry)
3567 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3569 * configure.ac: post release version bump.
3570 * debian/changelog: version bump
3572 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3577 * configure.ac: Bump version.
3578 * debian/changelog: Updates.
3580 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-touch-selector.c:
3583 (_hildon_touch_selector_has_multiple_selection): No need
3584 to initialize the variables here.
3586 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-note-private.h
3589 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3590 (hildon_note_finalize, hildon_note_rebuild): Close information
3591 notes when they receive a button press.
3593 Fixes: NB#89890 (Information notes does not get disappeared after
3596 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3599 mark from the wizard title, as it's not really necessary. Also,
3600 do not display the page title if not set.
3602 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3604 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3605 (parent_window_hidden): Use the window's "is-topmost" property to
3606 detect when to hide the menu.
3608 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3610 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3611 (hildon_app_menu_finalize): If the parent window of the menu is
3612 hidden, hide the menu too.
3614 Fixes: NB#94460 (stackable window's menu is not closed when its
3617 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3620 * debian/libhildon1-examples.install
3622 * examples/Makefile.am:
3623 Use dh_install to install all examples.
3624 Use DEB_SRCDIR instead of defining SOURCE_DIR
3626 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3628 * configure.ac: post release version bump.
3629 * debian/changelog: version bump
3631 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3636 * configure.ac: bump version
3637 * debian/changelog: updates
3638 * debian/control: bump gtk+ dependency
3640 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3642 patch by Christian Dywan (christian@imendio.com)
3644 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3645 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3647 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-check-button.c (hildon_check_button_init)
3650 (hildon_check_button_class_init, hildon_check_button_style_set)
3651 (hildon_check_button_apply_style):
3652 New "checkbox-size" style property.
3654 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3655 larger / configurable size)
3657 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3659 * configure.ac: post release version bump.
3660 * debian/changelog: version bump
3662 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3667 * configure.ac: bump version
3668 * debian/changelog: updates
3670 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3672 * doc/hildon-sections.txt
3673 * src/hildon-pannable-area.c
3674 * src/hildon-program.c
3675 * src/hildon-time-editor.c
3676 * src/hildon-touch-selector-entry.c:
3678 More documentation updates.
3680 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3682 * doc/hildon-sections.txt
3683 * src/hildon-caption.c
3684 * src/hildon-code-dialog.c
3685 * src/hildon-color-button.c
3686 * src/hildon-controlbar.c
3687 * src/hildon-date-editor.c
3688 * src/hildon-date-selector.c
3689 * src/hildon-edit-toolbar.c
3690 * src/hildon-find-toolbar.c
3691 * src/hildon-font-selection-dialog.c
3693 * src/hildon-program.c
3694 * src/hildon-range-editor.c
3695 * src/hildon-seekbar.c
3696 * src/hildon-time-editor.c
3697 * src/hildon-time-selector.c
3698 * src/hildon-volumebar-range.c
3699 * src/hildon-volumebar.c
3700 * src/hildon-vvolumebar.c
3701 * src/hildon-weekday-picker.c
3702 * src/hildon-window.c
3703 * src/hildon-wizard-dialog.c:
3705 Lots of documentation fixes.
3707 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3709 Patch contributed by Iván Gómez (igomez@igalia.com)
3711 * src/hildon-check-button.c:
3712 * src/hildon-date-button.c:
3713 * src/hildon-date-selector.c:
3714 * src/hildon-dialog.c:
3715 * src/hildon-edit-toolbar.c:
3716 * src/hildon-entry.c:
3717 * src/hildon-picker-button.c:
3718 * src/hildon-program.c:
3719 * src/hildon-text-view.c:
3720 * src/hildon-time-button.c:
3721 * src/hildon-touch-selector-entry.c:
3722 * src/hildon-window-stack.c:
3724 Add more "since" tags to the new API.
3726 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3728 * doc/hildon-sections.txt: Add below method.
3729 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3730 version for the hildonized scale.
3731 * src/hildon-gtk.h: Add the definition.
3733 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3735 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3737 * doc/hildon-sections.txt: Add missing entries for new methods.
3739 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3741 Added API to pannable are in order to get its adjustments. We
3742 added two properties to manage the values we had in the private
3745 * src/hildon-pannable-area.c:
3746 (hildon_pannable_area_class_init): Added hadjustment and
3747 vadjustment properties in order to expose horizontal and vertical
3749 (hildon_pannable_area_get_property),
3750 (hildon_pannable_area_set_property): Added code to handle the new
3752 (hildon_pannable_area_get_hadjustment),
3753 (hildon_pannable_area_get_vadjustment): API functions to get the
3755 * src/hildon-pannable-area.h:
3756 (hildon_pannable_area_get_hadjustment),
3757 (hildon_pannable_area_get_vadjustment): API functions to get the
3760 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3762 Fixed some leaks, after valgrinding.
3764 * src/hildon-touch-selector.c:
3765 (_default_print_func): Fixed a leak.
3766 (hildon_touch_selector_append_column): Fixed a leak.
3767 * src/hildon-date-button.c:
3768 (hildon_date_button_init): Fixed a leak.
3769 * src/hildon-date-selector.c
3770 (hildon_date_selector_finalize): Fixed a leak.
3772 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3774 Based on a patch by Christian Dywan (christian@imendio.com)
3776 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3778 * src/hildon-gtk.h: Add definition.
3780 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3782 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-picker-button.c: (hildon_picker_button_init),
3785 (hildon_picker_button_new): Set the HildonButton::style property
3786 in the init method, to propagate the value to the derived classes.
3788 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-button.c: (hildon_button_class_init): Do not make
3791 the "style" property a construct property.
3793 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-wizard-dialog.h
3796 * src/hildon-wizard-dialog.c
3797 (hildon_wizard_dialog_set_forward_page_func)
3798 * src/hildon-pannable-area.h
3799 * src/hildon-pannable-area.c
3800 (hildon_pannable_area_set_size_request_policy):
3801 Documentation fixes.
3803 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3805 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3807 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3809 * doc/hildon-sections.txt: Added sections file.
3811 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/*.[ch]: Updates.
3816 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3818 * examples/hildon-progress-indicator-example.c: new file
3819 * examples/Makefile.am: include the new example program
3821 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3825 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3827 * configure.ac: post release version bump
3828 * debian/changelog: version bump
3830 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3835 * configure.ac: bump version
3836 * debian/changelog: updates
3837 * debian/control: bump gtk+ dependency
3839 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3841 * src/hildon-dialog.c: Mark as deprecated.
3842 * src/hildon-dialog.h: Mark as deprecated.
3843 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3844 from HildonDialog and still work, even if
3845 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3846 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3848 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3849 maemo changes) instead)
3851 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3853 * src/hildon-pannable_area.h:
3854 * src/hildon-pannable_area.c:
3855 (hildon_pannable_area_class_init),
3856 (hildon_pannable_area_set_property),
3857 (hildon_pannable_area_get_property),
3858 (hildon_pannable_area_size_request),
3859 (hildon_pannable_area_get_size_request_policy),
3860 (hildon_pannable_area_set_size_request_policy): Added new API
3861 allowing applications to control the request policy. Now they can
3862 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3863 children allocation (HILDON_MOVEMENT_CHILDREN).
3865 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3869 (hildon_gtk_tree_view_set_ui_mode)
3870 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3871 mode of treeviews and iconviews.
3873 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3875 * src/hildon-touch-selector-entry.c:
3876 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3877 of a GtkEntry to get proper theming.
3879 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3880 widget, not GtkEntry)
3882 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3885 no HildonWizardDialogPageFunc.
3887 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3889 Patch contributed by Iván Gómez (igomez@igalia.com)
3891 * src/hildon-app-menu.c:
3892 * src/hildon-button.c:
3893 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3894 * src/hildon-stackable-window.c:
3895 * src/hildon-time-selector.c:
3896 * src/hildon-touch-selector.c:
3897 * src/hildon-window.c:
3899 Add more "since" tags to the new API in hildon 2.2.
3901 2008-12-05 Tim Janik <timj@imendio.com>
3903 Patch contributed by Christian Dywan (christian@imendio.com)
3905 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3906 HildonSizeType, which are supplied by Gtk+ now.
3908 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3910 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3911 (with maemo changes) instead)
3913 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3915 Patch contributed by Iván Gómez (igomez@igalia.com)
3917 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3920 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3922 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3923 (some_page_func), (main): Update the example to use a
3924 HildonWizardDialogPageFunc function.
3926 * src/hildon-wizard-dialog-private.h: Add private data for
3927 the HildonWizardDialogPageFunc function usage.
3929 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3930 (destroy), (hildon_wizard_dialog_init), (response),
3931 (hildon_wizard_dialog_set_forward_page_func):
3932 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3933 that applications can use to stop a HildonWizardDialog to jump to
3936 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3939 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3941 * src/hildon-program.h
3942 * src/hildon-program-private.h
3943 * src/hildon-program.c (hildon_program_init)
3944 (hildon_program_set_common_app_menu)
3945 (hildon_program_get_common_app_menu):
3946 New API for setting a common HildonAppMenu for all
3947 HildonStackableWindows registered with the HildonProgram.
3949 * src/hildon-stackable-window.c
3950 (hildon_stackable_window_toggle_menu):
3951 Use the common HildonAppMenu if a window doesn't have a specific
3954 * src/hildon-app-menu-private.h
3955 * src/hildon-app-menu.c
3956 (hildon_app_menu_get_parent_window):
3957 Function to obtain the window a HildonAppMenu is attached to.
3958 (hildon_app_menu_set_parent_window):
3959 Hide the menu if the parent window is set to NULL.
3961 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3964 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3965 search widget to popup.
3967 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3969 * configure.ac: post release version bump
3970 * debian/changelog: version bump
3972 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3977 * configure.ac: bump version
3978 * debian/changelog: updates
3980 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3982 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3984 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3985 (hildon_window_stack_window_realized)
3986 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3987 Set the leader GdkWindow when a window is stacked and realized,
3988 unset it when it's unstacked.
3989 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3991 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3993 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3995 * src/hildon-stackable-window.h
3996 * src/hildon-window-stack.h:
3997 Protect definition of HildonWindowStack using the preprocessor.
3999 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4001 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4002 Fix warning if all menu items are hidden.
4004 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4006 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4008 * src/hildon-controlbar.c:
4009 * src/hildon-hvolumebar.c:
4010 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4011 Multiple scale size defines updates.
4013 Fixes: NB#94322 (Scale Updates)
4015 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4017 * examples/hildon-app-menu-example.c (create_menu)
4018 Show items after adding them to the menu, as in the future the
4019 menu will no longer call gtk_widget_show() on the added items.
4021 * src/hildon-app-menu.c:
4022 Update example as explained above.
4024 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-app-menu.c
4027 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4028 Make sure that all menu items have finger height.
4030 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4032 * src/hildon-picker-dialog.c:
4033 (_on_dialog_response), (_save_current_selection),
4034 (_restore_current_selection), (_clean_current_selection),
4035 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4036 Defined new functions in order to save the current internal selector
4037 selection previous open the dialog, in case that the use cancel the
4038 interaction, so the widget restores the previous selection.
4040 Fixes: NB#92032 (In calendar application, date values in 'new event'
4043 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4045 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-button.c: Add a reference to the button examples in
4048 hildon-button-example.c
4050 * examples/hildon-button-example.c: Added examples of the most
4051 common button layouts.
4053 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-app-menu.c (hildon_app_menu_show)
4056 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4058 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4060 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-picker-dialog.c:
4063 (hildon_picker_dialog_init): Initialize the signal id for
4064 HildonTouchSelector::columns-changed.
4065 (+on_selector_columns_changed): Set up the interaction mode everytime a
4066 column is added or removed from the HildonTouchSelector.
4067 (_hildon_picker_dialog_set_selector): Connect to
4068 HildonTouchSelector::columns-changed and keep track of it.
4070 Make sure to update the interaction mode of the dialog everytime a
4071 column is added or removed in the HildonTouchSelector.
4073 Fixes: NB#93228 (Done button is not shown always in listpicker)
4075 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4077 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4078 a new ::columns-changed signal.
4079 (hildon_touch_selector_append_column): Emit ::columns-changed.
4080 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4082 Add a ::columns-changed signal, emitted when the number of columns in a
4083 HildonTouchSelector changes.
4085 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4087 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4088 (_hildon_picker_dialog_set_selector): Factor out the code
4089 to set up the dialog interaction mode.
4091 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4094 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4095 to signal_changed_id.
4097 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4102 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4104 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4105 Updated the logical ids related to ampm format, as now it is required to
4106 show it correctly localized even on languages with no default
4107 abbreviations for am or pm
4108 (_check_am_pm_format): check correctly the 24h format gconf property
4110 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4112 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-button.c: Documentation updates.
4116 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4118 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4119 * src/hildon-caption.c: (hildon_caption_class_init):
4120 * src/hildon-color-button.c: (hildon_color_button_class_init):
4121 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4122 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4123 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4124 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4126 Remove deprecated GTK+ marshalers and replace them with the ones
4127 provided by GLib, for those available, add a marshaler for
4128 BOOLEAN:VOID, which is not available in GLib, and use it.
4130 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4133 the text from the previous column if there is no
4134 HildonTouchSelectorColumn::text-property set.
4136 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4138 * src/hildon-button.h
4139 * src/hildon-button.c (hildon_button_set_property)
4140 (hildon_button_get_property, hildon_button_class_init)
4141 (hildon_button_set_style, hildon_button_get_style):
4142 New "style" property to change the visual appearance of the
4145 * src/hildon-picker-button.c (hildon_picker_button_new):
4146 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4148 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4149 HildonButton look like PickerButton)
4151 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4154 column while building the default string.
4156 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4159 scroll indicator by default.
4161 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4163 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-main.c: Fix the documentation for hildon_init()
4167 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4169 * doc/hildon-docs.sgml
4173 * src/hildon-window-stack-private.h
4174 * src/hildon-window-stack.h
4175 * src/hildon-window-stack.c:
4176 New HildonWindowStack object, that adds support for multiple
4177 stacks of windows per process.
4179 * src/hildon-stackable-window-private.h
4180 * src/hildon-stackable-window.h
4181 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4182 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4183 (hildon_stackable_window_show, hildon_stackable_window_hide)
4184 (hildon_stackable_window_class_init)
4185 (hildon_stackable_window_init):
4186 Use HildonWindowStack for stack management.
4188 * src/hildon-program.c (hildon_program_pop_window_stack)
4189 (hildon_program_peek_window_stack)
4190 (hildon_program_go_to_root_window):
4191 Add a fallback implementation to the deprecated functions using
4194 * examples/hildon-stackable-window-example.c:
4195 Use the new HildonWindowStack API.
4197 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-stackable-window-private.h
4200 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4201 (hildon_stackable_window_hide, hildon_stackable_window_init):
4202 Remove all window stack management.
4204 * src/hildon-program-private.h
4205 * src/hildon-program.h
4206 * src/hildon-program.c (hildon_program_init)
4207 (hildon_program_pop_window_stack)
4208 (hildon_program_peek_window_stack)
4209 (hildon_program_go_to_root_window):
4210 Remove all window stack management and mark functions as
4213 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-app-menu.c (hildon_app_menu_realize):
4216 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4218 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4220 * configure.ac: post release version bump
4221 * debian/changelog: version bump
4223 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4228 * configure.ac: bump version
4229 * debian/changelog: updates
4231 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4233 Based on initial code by Christian Dywan (christian@imendio.com)
4235 * doc/hildon-docs.sgml: Add section for hildon-main.
4236 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4237 * src/Makefile.am: Add new hildon-main.[ch]
4238 * src/hildon-defines.h: Update the icon sizes.
4239 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4240 new library initialization files and register icon sizes.
4241 * src/hildon-main.h: New declarations.
4242 * src/hildon.h: Include hildon-main.h
4244 Add new initialization functions to the library. These methods
4245 will register the hildon specific icon sizes and can be used in the
4246 future for other hildon specific bits.
4248 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4250 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4252 * src/hildon-window.c: (hildon_window_realize),
4253 (hildon_window_notify), (-hildon_window_update_title): Do not set
4254 the application name in the window title.
4256 Fixes: NB#89754 (Applications shouldn't display their names in the
4259 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-note-private.h:
4262 * src/hildon-note.c: (hildon_note_set_property),
4263 (hildon_note_get_property), (hildon_note_class_init),
4264 (hildon_note_init), (hildon_note_finalize),
4265 (hildon_note_new_confirmation_with_icon_name),
4266 (hildon_note_new_information_with_icon_name):
4268 No need to mark as deprecated the actual code. Revert
4269 to avoid missing symbols in widgets using deprecated API.
4271 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4273 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4275 * src/hildon-volumebar.h
4276 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4277 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4279 * src/hildon-helper.h
4280 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4281 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4283 * examples/Makefile.am:
4284 Deprecate hildon-insensitive-example
4286 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4288 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4290 * examples/hildon-pannable-area-buttons-scroll-example.c:
4291 Make all buttons finger height
4293 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4295 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4297 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4298 update the day model only if it is really required, and to avoid the
4299 full-reconstruction aproach. Now it only add or remove the required days.
4301 The purpose of this is avoid superfluous HildonTouchSelector::changed
4304 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4305 with strange parameters)
4307 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4309 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4311 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4312 the WINDOW_TYPE property.
4314 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4316 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4319 Fix dependency to allow parallel compilation with make -jX
4321 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4324 color frame and some minor tweaks to make it more consistent with
4327 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4328 highlighted but not visible)
4330 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4332 * examples/Makefile.am: Fixed typo in the Makefile.am.
4334 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4336 Reviewed the use of MAEMO_GTK define, now we add the define in the
4337 compilation line, and we also add it to the pc file.
4339 * configure.ac: Added MAEMO_GTK define to the compilation command
4340 and removed it from the config.h.
4342 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4343 do not have to take care about this define if the library was
4347 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4349 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4351 * examples/Makefile.am,
4352 * examples/hildon-pannable-area-buttons-scroll-example.c,
4353 * examples/hildon-pannable-area-gesture-signals-example.c,
4354 * examples/hildon-pannable-area-scroll-jump-example.c,
4355 * examples/hildon-pannable-area-tree-view-example.c:
4356 Renamed the pannable area examples, now they have more meaningful
4359 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4361 * src/hildon-touch-selector.c:
4362 (hildon_touch_selector_set_column_selection_mode): Used of
4363 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4364 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4365 to avoid re-seting the same selection mode.
4367 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4368 breaks HildonPickerDialog)
4370 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4372 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4373 conditional in the Makefile.am
4375 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4378 Remove unused methods.
4380 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-button.c (hildon_button_init):
4383 Make button images center-aligned by default
4385 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4388 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4389 activated, we have to think about how to deal with both defines
4390 MAEMO_GTK and MAEMO_CHANGES.
4392 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4394 * examples/hildon-app-menu-example.c (create_menu): Make all
4395 buttons finger size.
4397 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4399 Fixed the compilation without maemo gtk adding ifdefs with
4400 MAEMO_GTK define to the code, we have to check this version more
4403 * examples/Makefile.am: Added control to avoid some examples that
4404 just make sense with maemo gtk.
4407 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4408 hildon modes with the define.
4410 * examples/hildon-edit-toolbar-example.c,
4411 (create_icon_view): Create the icon view without hildon-gtk
4412 helpers if we are not using maemo gtk.
4414 * src/hildon-touch-selector.c,
4415 (_create_new_column): Create the treeview without hildon-gtk
4416 helpers if we are not using maemo gtk.
4418 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4420 * src/hildon-pnnable-area.c,
4421 (hildon_pannable_area_dispose),
4422 (hildon_pannable_area_button_press_cb),
4423 (hildon_pannable_area_child_mapped),
4424 (hildon_pannable_area_add),
4425 (hildon_pannable_area_remove): Added code to control the position
4426 of the event_window when adding and removing children from the
4427 pannable. We have to raise the event window when the child is
4430 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4431 selection mode using custom widget inside pannable)
4433 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4435 * configure.ac: post release version bump
4436 * debian/changelog: version bump
4438 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4443 * configure.ac: bump version
4444 * debian/changelog: updates
4446 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4448 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4449 search mode, in order to avoid lose the focus on the treeview when
4450 a hw key (like enter) is pressed.
4452 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4453 in HildonDateSelector dialog)
4455 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4457 * debian/rules: Added --enable-maintainer-mode
4458 * Makefile.am: Added ACLOCAL_AMFLAGS
4460 This allows to properly regenerate the Makefiles if you modify the
4461 configure.ac or any Makefile.am.
4463 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4465 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4466 properties, not needed at all.
4468 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4472 * src/hildon-note.c: (hildon_note_set_property),
4473 (hildon_note_get_property), (hildon_note_class_init),
4474 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4475 (hildon_note_new_confirmation_add_buttons): Remove icons.
4476 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4477 (hildon_note_new_information_with_icon_name): Deprecate.
4478 (hildon_note_new_confirmation): Act directly, without calling
4479 the deprecated constructor.
4480 (hildon_note_new_information): Act directly, without calling
4481 the deprecated constructor.
4482 * src/hildon-note.h: Mark deprecate methods as such.
4483 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4484 not run tests on the deprecated methods if built with deprecation
4487 Fixes: NB#91688 (Never show icons in information notes/confirmation
4490 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4493 (hildon_app_menu_key_press): Remove leftover usage of the
4494 private structure in HildonAppMenu struct.
4495 * src/hildon-app-menu.h: Remove leftover private structure
4496 from the HildonAppMenu struct.
4498 Fixes a crasher when using the HildonAppMenu.
4500 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4502 * src/hildon-picker-dialog.c: Use appropriate logical id
4503 for the default "Done" text.
4505 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4507 * configure.ac: post release version bump
4508 * debian/changelog: version bump
4510 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4512 Modified the way to scroll to the current selection just when the touch
4513 selector is shown on the screen, avoiding a g_idle. Added too a property
4514 to configure this behaviour. See hildon_pannable_area_jump_to_child
4515 documentation for more information.
4517 * src/hildon-touch-selector.c
4518 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4519 Added 'initial-scroll' property
4520 (hildon_touch_selector_set_property): Added
4521 (hildon_touch_selector_map): Removed as not required anymore
4522 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4523 only a concrete column, instead of iterate along all the columns
4525 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4530 * configure.ac: bump version
4531 * debian/changelog: updates
4533 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4536 compilation time warnings.
4538 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4541 the default value for HildonPannableArea::mov-mode to
4542 HILDON_PANNABLE_AREA_MODE_VERT.
4544 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4546 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4548 Reverting following commit:
4550 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-app-menu-private.h
4553 * src/hildon-app-menu.[ch]
4554 * src/hildon-button.[ch]
4555 * src/hildon-check-button.[ch]
4556 * src/hildon-entry.[ch]
4557 * src/hildon-pannable-area.[ch]
4558 * src/hildon-text-view.[ch]:
4559 Added private field to the object's structure.
4561 because it causes an ABI breakage. We will need to introduce these
4562 changes later at some point. See NB#91636 for an extensive
4563 explanation and status.
4565 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4567 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4569 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4570 remove special cases that are no longer necessary.
4572 Fixes: NB#91016 (Change toolbar sizes, simplification)
4574 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4576 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4577 is shown in the cancel note.
4579 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4582 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4583 (hildon_seekbar_init): Remove steppers, remove expose event.
4584 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4586 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4588 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4591 label font to "SmallSystemFont" for vertically arranged buttons.
4593 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4596 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4598 * src/hildon-check-button.c
4599 (hildon_check_button_set_active, hildon_check_button_clicked):
4600 Don't access private parts directly, use getters instead.
4602 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-check-button.c (hildon_check_button_new):
4605 Align the contents of the check button to the left.
4607 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4609 * src/hildon-pannable-area.c,
4610 (hildon_pannable_area_scroll_to),
4611 (hildon_pannable_area_jump_to),
4612 (hildon_pannable_area_scroll_to_child),
4613 (hildon_pannable_area_jump_to_child): Replace the mapped
4614 precondition of these functions with the realized, it is the
4615 correct state of the widget in this case. Changed the
4616 documentation according to this modification.
4618 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4620 Added a new EXTRA_CFLAGS option to add the deprecated define to
4621 the compilation command. This way we can avoid using the define in
4622 the documentation compilation.
4624 * configure.ac: Defined EXTRA_CFLAGS.
4626 * examples/Makefile.am:
4628 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4630 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-picker-dialog.c:
4633 Defined a utility macro with the desired touch selector height
4634 Removed currently unused separator, and title_label variables from
4636 (hildon_picker_dialog_init): Removed code related to the creation
4637 of unused private variables title_label and separator.
4638 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4639 to ensure correct visualization of the touch selector inside the dialog.
4640 * src/hildon-touch-selector.c
4641 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4642 ensure a concrete height of the widget.
4644 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4647 * tests/Makefile.am:
4649 Remove spurious whitespaces.
4651 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4654 compilation warning after the cancel button removal.
4656 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4658 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4660 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4661 Makefile.am, that way we can choose not to compile some examples
4662 and tests of the deprecated widgets.
4664 * examples/Makefile.am: Divided the sources in deprecated and
4667 * src/Makefile.am: Added undef statement of the deprecated
4668 symbol to the enums file generation process.
4670 * src/hildon-color-chooser-dialog.c
4671 * src/hildon-color-chooser-dialog.h
4672 * src/hildon-color-button.c
4673 * src/hildon-color-button.h
4674 * src/hildon-color-chooser.c
4675 * src/hildon-color-chooser.h
4676 * src/hildon-controlbar.c
4677 * src/hildon-controlbar.h
4678 * src/hildon-date-editor.c
4679 * src/hildon-date-editor.h
4680 * src/hildon-hvolumebar.c
4681 * src/hildon-hvolumebar.h
4682 * src/hildon-private.c
4683 * src/hildon-private.h
4684 * src/hildon-range-editor.c
4685 * src/hildon-range-editor.h
4686 * src/hildon-seekbar.c
4687 * src/hildon-seekbar.h
4688 * src/hildon-time-editor.c
4689 * src/hildon-time-editor.h
4690 * src/hildon-time-picker.c
4691 * src/hildon-time-picker.h
4692 * src/hildon-volumebar.c
4693 * src/hildon-volumebar.h
4694 * src/hildon-vvolumebar.c
4695 * src/hildon-vvolumebar.h
4696 * src/hildon-bread-crumb-trail.h
4697 * src/hildon-bread-crumb-trail.c
4698 * src/hildon-calendar-popup.c
4699 * src/hildon-calendar-popup.h
4700 * src/hildon-weekday-picker.c:
4701 * src/hildon-weekday-picker.h:
4702 * src/hildon-bread-crumb-widget.c:
4703 * src/hildon-bread-crumb-widget.h:
4704 * src/hildon-bread-crumb.c:
4705 * src/hildon-bread-crumb.h:
4706 * src/hildon-calendar.c:
4707 * src/hildon-calendar.h:
4708 * src/hildon-caption.c:
4709 * src/hildon-code-dialog.c:
4710 * src/hildon-code-dialog.h:
4711 * src/hildon-font-selection-dialog.c:
4712 * src/hildon-font-selection-dialog.h:
4713 * src/hildon-get-password-dialog.c:
4714 * src/hildon-get-password-dialog.h:
4715 * src/hildon-login-dialog.c:
4716 * src/hildon-login-dialog.h:
4717 * src/hildon-number-editor.c:
4718 * src/hildon-number-editor.h:
4719 * src/hildon-set-password-dialog.c:
4720 * src/hildon-set-password-dialog.h:
4721 * src/hildon-sort-dialog.c:
4722 * src/hildon-sort-dialog.h: This is the list of deprecated
4725 * src/hildon-touch-selector.c:
4726 * src/hildon-window.c: Added undef statement to avoid compilation
4729 * tests/Makefile.am: Divided the sources in deprecated and
4732 * tests/check_test.c,
4733 (configure_tests): Marked the deprecated code that was adding
4734 suites with deprecated tests.
4736 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4738 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4740 * src/hildon-touch-selector.c: (_default_print_func): Do not
4741 duplicate a string returned by gtk_tree_model_get(), it is already
4744 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4747 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4749 * src/hildon-pannable-area.c
4750 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4751 method, it had problems when adding a widget with viewport the
4752 second time. Now checks if it already has a viewport and uses it.
4754 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4757 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4759 * src/hildon-pannable-area.c,
4760 (hildon_pannable_area_scroll_to),
4761 (hildon_pannable_area_jump_to),
4762 (hildon_pannable_area_scroll_to_child),
4763 (hildon_pannable_area_jump_to_child): Added a precondition to the
4764 scroll and jump to functions: the widget must be mapped before we
4765 can safely call these functions. We have also added documentation
4766 to the functions to explain how to use them in this situation.
4769 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4771 Reviewed the threading handling of the pannable widget, we have
4772 used the gdk_threads_add_timeout function instead of the usual
4773 glib handlers. This avoids some problems with the threads.
4775 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4776 (hildon_pannable_area_initial_effect),
4777 (hildon_pannable_area_scroll_indicator_fade),
4778 (hildon_pannable_area_button_press_cb),
4779 (hildon_pannable_area_timeout),
4780 (hildon_pannable_area_motion_notify_cb),
4781 (hildon_pannable_area_button_release_cb),
4782 (hildon_pannable_area_scroll_cb),
4783 (hildon_pannable_area_scroll_to): Removed the
4784 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4785 gdk_threads_add_timeout.
4787 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4789 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: bump version
4795 * debian/changelog: updates
4797 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4800 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4801 * src/hildon-color-chooser-dialog.c:
4802 (hildon_color_chooser_dialog_init):
4803 * src/hildon-font-selection-dialog.c:
4804 (hildon_font_selection_dialog_init):
4805 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4807 Remove all cancel/close-like dialogs, as these are not going to be
4810 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4812 * src/hildon-note.c: (hildon_note_rebuild),
4813 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4816 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4818 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4821 sure all buttons are shown, even the Cancel/Close-like ones.
4823 Fixes: NB#90861 (Custom Confirmation dialogs should be
4824 protected from cancel button removal)
4826 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4828 * debian/control: Change libhildon1-examples dependency from libhildon1
4830 * debian/libhildon1-examples.install
4832 * Makefile.am: Modified the final install directory for the examples on
4833 package libhildon1-examples
4834 * Makefile.static: Update clean target in order to remove all the binary
4837 Changes suggested by Claudio after review new libhildon1-examples package
4839 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4842 * src/hildon-touch-selector.c: Ditto.
4844 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4846 * debian/control: Added new package libhildon1-examples, in order to pack
4847 the current hildon examples as documentation
4848 * debian/rules: Not to compress .c files, modify some includes on the
4849 examples (as normally are compiled locally, but when installed it will
4850 require to include the installed libhildon1 library), and rename
4852 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4853 install all the example files on the new example package
4854 * examples/Makefile.static: Added static makefile that can be used to
4855 compile the examples, once installed the new example package
4856 * examples: Most of the examples were modified in order to grant that
4857 all use only '#include "hildon.h"', in order to be easy to prepare
4858 it on the example package
4860 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4863 * debian/libhildon1-dev.install
4864 * debian/libhildon1-doc.install:
4865 Move all gtk-doc files to a separate libhildon1-doc package.
4867 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4869 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4873 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4875 * debian/rules: Fixed a error in order to avoid unnecessary calls
4876 to autogen.sh on package building
4878 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4880 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4882 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4887 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4889 * src/hildon-picker-button.c
4890 (hildon_picker_button_finalize):
4891 Free priv->done_button_text
4893 * src/hildon-time-button.c
4894 (hildon_time_button_set_time)
4895 * src/hildon-picker-button.c
4896 (hildon_picker_button_clicked)
4897 (hildon_picker_button_selector_selection_changed)
4898 (hildon_picker_button_set_selector)
4899 * src/hildon-date-button.c
4900 (hildon_date_button_set_date):
4901 Free strings returned by hildon_touch_selector_get_current_text()
4903 * src/hildon-button.c (hildon_button_construct_child):
4904 Fix leaks in priv->image and priv->label_box
4906 Fixes: NB#90535 (Memory leak in picker button)
4908 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-button.c: (hildon_button_get_property): Do not access
4911 private elements directly, use getters instead.
4913 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-app-menu-private.h
4916 * src/hildon-app-menu.c
4917 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4918 Store the menu's parent window.
4920 * src/hildon-stackable-window.c
4921 (hildon_stackable_window_toggle_menu)
4922 (hildon_stackable_window_finalize):
4923 Set the menu's parent window when the menu is shown, unset it when
4926 * src/hildon-app-menu.c
4927 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4928 (hildon_app_menu_class_init):
4929 Send unhandled keyboard accelerators to the parent window.
4931 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-stackable-window.c
4934 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4936 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4938 * configure.ac: post release version bump
4940 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4943 * configure.ac: Bump version
4944 * debian/changelog: Updates
4945 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4948 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4950 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4953 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4954 GtkMenu with Hildon style.
4956 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-picker-button.c:
4959 (hildon_picker_button_set_done_button_text): Set the dialog's
4960 done button text here as well.
4962 Fixes: NB#90232 (Picker button does not set the label on done button
4963 for the second time)
4965 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4970 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-app-menu.c (hildon_app_menu_insert)
4973 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4974 the HildonAppMenu to be activatable using keyboard accelerators
4975 when the menu is not being shown.
4977 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4979 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-stackable-window.c
4982 (hildon_stackable_window_show):
4983 Don't hide old windows automatically when new windows are shown:
4984 this is now a task for the window manager.
4985 (hildon_stackable_window_class_init)
4986 (hildon_stackable_window_hide):
4987 Remove windows from the stack everytime they're hidden.
4988 (hildon_stackable_window_realize):
4989 Don't change the _NET_WM_WINDOW_TYPE property. Use
4990 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4991 it as a stackable window.
4993 * src/hildon-program.c
4994 (hildon_program_pop_window_stack):
4995 Just hide the window to remove it from the stack.
4996 (hildon_program_go_to_root_window):
4997 Don't call gtk_widget_show(), this is now a task for the window
5000 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5002 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5004 * src/hildon-button.c
5005 (hildon_button_construct_child):
5006 Don't pack anything in the button until text or image are
5007 set. This allows adding a custom child after creating the button
5008 with hildon_button_new().
5009 (hildon_button_finalize, hildon_button_class_init)
5010 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5011 alignment and the label box even when they're not packed in the
5014 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5016 * src/hildon-touch-selector.h:
5017 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5018 currently the type definition was using GTK_TYPE_VBOX
5019 * src/hildon-touch-selector.c:
5020 Added some implementation notes in order to clarify that any other widget
5021 added without the column related API will not be included on the
5022 selection logic, and how the widget is freed, as some people ask about
5024 (hildon_touch_selector_remove): Reimplemented in order to free properly
5025 the column related data when you remove the private hbox.
5026 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5027 to get a proper HildonTouchSelectorColumn documentation
5029 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-touch-selector-entry.c:
5032 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5033 text in the GtkEntry and there is no item selected. Fixes a
5036 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5038 * src/hildon-app-menu-private.h
5039 * src/hildon-app-menu.[ch]
5040 * src/hildon-button.[ch]
5041 * src/hildon-check-button.[ch]
5042 * src/hildon-entry.[ch]
5043 * src/hildon-pannable-area.[ch]
5044 * src/hildon-text-view.[ch]:
5045 Added private field to the object's structure.
5047 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5049 * configure.ac: post-release version bump
5051 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5055 * configure.ac: pre-release version bump
5057 * debian/changelog: updates.
5059 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5061 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5062 Disconnect the handler for HildonTouchSelector::changed.
5064 (hildon_picker_button_selector_selection_changed): Update the button
5065 value if the selection change was not triggered by the
5068 (hildon_picker_button_set_selector): connect to
5069 HildonTouchSelector::changed.
5071 Fixes: NB#89650 (Picker button is not updated, when selection in
5072 selector has changed)
5074 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5076 * src/hildon-picker-dialog.c
5077 (hildon_picker_dialog_realize): Removed as not required
5078 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5079 * src/hildon-picker-button.c
5080 (_current_selector_empty): New function, checks if the selector is empty
5081 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5082 if the current selector is empty, in order to avoid to show the dialog
5083 close the dialog in this case (and shows a g_warning).
5085 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5087 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5089 * src/hildon-pannable-area.c,
5090 (hildon_pannable_area_scroll): Added clause to stop movement when
5091 the child of pannable is smaller than one page.
5092 (hildon_pannable_area_scroll_to): Added conditions to avoid
5093 starting the scrolling movement if the child is smaller than one
5094 page, the complete child is in the screen, we do not have to move.
5096 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5098 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5100 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5101 this is managed automatically by the widget when the size of the
5104 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-picker-button.c
5107 (hildon_picker_button_set_done_button_text): Make a copy of the
5108 text, and free the previous value.
5110 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5112 * src/hildon-touch-selector-entry.c:
5113 (hildon_touch_selector_entry_print_func): Return the selected row's
5114 text if the entry is empty.
5116 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5119 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5123 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-check-button.h
5127 * src/hildon-check-button.c
5128 * examples/hildon-check-button-example.c:
5129 HildonCheckButton is now a new widget. 'toggled' signal added.
5131 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-program-private.h
5134 * src/hildon-program.c (hildon_program_init)
5135 (hildon_program_finalize): Removed unused variables group_leader
5136 and name from HildonProgramPrivate.
5138 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-check-button.c (hildon_check_button_set_active)
5141 (hildon_check_button_get_active, hildon_check_button_new): Use
5142 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5144 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5146 * src/hildon-touch-selector.h
5147 (hildon_touch_selector_set_column_attributes): added deprecation
5148 guard HILDON_DISABLE_DEPRECATED
5149 * src/hildon-time-selector.c
5150 (hildon_time_selector_set_time)
5151 (hildon_time_selector_get_time): Fixed a typo on documentation
5152 * src/hildon-touch-selector.c: update HildonTouchSelector and
5153 HildonTouchSelectorColumn documentation
5154 * src/hildon-touch-selector-entry.c: update "text-column" property
5156 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5157 to be added to the general documentation.
5159 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5161 * examples/hildon-pannable-area-example-4.c,
5163 * examples/hildon-pannable-area-example.c,
5164 (main): Modified the code in order to use the container add, with
5165 viewport treeviews could have problems if they are really big.
5167 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5169 * src/hildon-weekday-picker.c,
5170 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5171 the agreement regarding deprecation in the library.
5173 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5175 * examples/hildon-picker-button-multicolumn-example.c:
5176 (main): Use custom "done" button text.
5178 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5179 (hildon_picker_button_set_property),
5180 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5181 (hildon_picker_button_init),
5182 (+hildon_picker_button_get_done_button_text),
5183 (+hildon_picker_button_set_done_button_text): New methods to customize
5184 the "done" button label in the launched HildonPickerDialog. Also,
5187 * src/hildon-picker-button.h: add the public API.
5189 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5191 * src/hildon-date-selector.h:
5192 * src/hildon-picker-dialog.h:
5193 * src/hildon-time-selector.h:
5194 * src/hildon-touch-selector-column.h:
5195 * src/hildon-touch-selector.h:
5197 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5198 declarations. Fixes gtk-doc warnings.
5200 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5202 * src/hildon-picker-dialog.h
5203 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5204 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5206 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5207 long text is set as label for done button)
5209 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-dialog.c (hildon_dialog_add_button):
5212 Set fixed width to all buttons in the HildonDialog.
5214 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5216 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5218 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5219 Set widget name using class name plus "-finger" or "-thumb".
5221 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5224 'clicked' when the state of the button is manually changed.
5226 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-app-menu.c (hildon_app_menu_realize)
5229 (hildon_app_menu_unrealize, hildon_app_menu_init)
5230 (hildon_app_menu_class_init, item_visibility_changed):
5231 Change the menu layout when the size of the screen changes.
5232 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5233 Show warning only when changing the number of colums using the
5236 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5238 * debian/compat: Set to 5
5239 * debian/control: Update dependencies.
5240 * debian/libhildon1-dbg.install: Remove.
5241 * debian/libhildon1-dev.install: Update according to cdbs paths.
5242 * debian/libhildon1.install: Update according to cdbs paths.
5243 * debian/rules: Switch to cdbs.
5245 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5248 'item' variable renamed to 'filter'
5250 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5252 * src/hildon-app-menu.c (hildon_app_menu_insert)
5253 (hildon_app_menu_add_filter, remove_item_from_list)
5254 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5255 Don't leak hidden items when the menu is destroyed.
5257 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5259 * src/hildon-app-menu.c (hildon_app_menu_insert)
5260 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5261 (hildon_app_menu_set_columns, item_visibility_changed)
5262 (filter_visibility_changed, hildon_app_menu_repack_filters)
5263 (hildon_app_menu_repack_items):
5264 Repack items and filters separately.
5266 Don't repack all items, change only the ones that are needed to
5269 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5271 * src/Makefile.am: added hildon-touch-selector-column.h
5273 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5275 * src/hildon-touch-selector.c: added the property "text-column" to the
5276 class HildonTouchSelectorColumn, and related get/set functions
5277 (_default_printf_func): updated to use "text-column" property
5278 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5279 "text-column" in his documentation, as this is now included on
5280 HildonTouchSelectorColumn. The get/set_property can still be used,
5281 working as a wrapper to the concrete column "text-column" property
5282 (_text_column_modified): callback added in order to handle the signal
5283 "notify::text-column" of the concrete HildonTouchSelectorColumn
5284 (hildon_touch_selector_entry_get_text_column)
5285 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5286 modified in order to use the HildonTouchSelectorColumn "text-column"
5288 * src/hildon-time-selector.c:
5289 * src/hildon-date-selector.c:
5290 * examples/hildon-touch-selector-example.c
5291 * examples/hildon-touch-selector-multi-cells-example.c
5292 * examples/hildon-picker-button-multicolumn-example.c
5293 Set the right value to "text-column" property on the creation of a new
5294 column using hildon_touch_selector_append_column()
5296 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5298 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5300 * src/hildon-app-menu.c
5301 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5302 updating the layout of the menu, don't create all widgets again,
5303 just repack the items in their new places.
5305 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5307 * src/hildon-time-selector.c
5308 (hildon_time_selector_get_time)
5309 (hildon_time_selector_set_time)
5310 Added documentation of these public methods
5312 * src/hildon-date-button.h
5313 * src/hildon-touch-selector-column.h
5314 * src/hildon-time-button.h
5315 * src/hildon-picker-dialog.h
5316 * src/hildon-time-selector.h
5317 * src/hildon-picker-button.h
5318 * src/hildon-touch-selector.h
5319 * src/hildon-time-picker.h
5320 * src/hildon-date-selector.h
5321 * src/hildon-touch-selector-entry.h
5322 Modified in order to use hildon-widgets code style
5324 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5326 Added deprecated support to the compilation process using
5327 HILDON_DISABLE_DEPRECATED
5329 * configure.ac: Added the --disable-deprecated to the configure
5332 * src/hildon-weekday-picker.c:
5333 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5334 to use the deprecated support. We will update the other deprecated
5335 widgets status in a new patch.
5337 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5339 * configure.ac: Fixed typo with fatal warnings support, the
5340 variable name was not correct
5342 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-app-menu.c
5345 * src/hildon-program.c: Update documentation.
5347 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5349 * configure.ac: Post-release version bump.
5351 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5356 * configure.ac: Pre-release version bump.
5357 * debian/changelog: Updates.
5359 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5361 * NEWS: Update news for previous releases.
5363 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5365 * examples/hildon-touch-selector-multi-cells-example.c:
5366 (create_selector): Update the example to use
5367 hildon_touch_selector_append_column() with a NULL renderer and set
5368 the renderers later.
5369 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5370 passed a NULL renderer. This is documented behavior now.
5372 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5373 This must be used if the developer wants full control on the layout of
5374 the renderers to be added to the column.
5376 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5378 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-touch-selector.c: Documentation fixes.
5382 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5384 * src/hildon-wizard-dialog-private.h: Remove image and box.
5385 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5386 (hildon_wizard_dialog_set_property), (response): Completely remove
5387 image/icon support, and the containers required for the layout.
5389 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5391 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5393 * src/hildon-app-menu.c: Updated documentation.
5395 * src/hildon-stackable-window.c
5396 (hildon_stackable_window_set_main_menu): Unref the old menu after
5397 ref'ing the new one.
5399 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5401 * src/hildon-stackable-window.c
5402 (hildon_stackable_window_set_main_menu): Unref the previous menu
5403 instead of destroying it.
5405 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5406 floating reference and set has_user_ref_count to FALSE to make
5407 HildonAppMenu act like a normal ref-counted widget and not a
5410 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5413 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5415 * src/hildon-touch-selector-column.h: new file
5416 * src/hildon-touch-selector.h
5417 * src/hildon-touch-selector.c
5418 Implemented GtkCellLayout interface, in order to allow to configure
5419 the cell layout on each individual selector column
5420 (hildon_touch_selector_set_column_attributes): marked as deprecated
5421 * examples/hildon-touch-selector-multi-cells-example.c
5422 Example of how to use the GtkCellLayout interface on the selector
5424 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5426 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5428 * src/hildon-app-menu.h
5429 * src/hildon-app-menu.c
5430 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5431 (hildon_app_menu_append, hildon_app_menu_prepend):
5432 New methods to prepend, insert and move items in the menu.
5434 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-wizard-dialog.c:
5438 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5440 (create_title): Update logical IDs and related code.
5441 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5443 * src/hildon-wizard-dialog.h: Note that
5444 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5445 point, as it is not used anymore.
5447 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5449 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5451 * src/hildon-note.c:
5452 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5453 shown. Do not display an icon in confirmation notes nor information
5455 (hildon_note_set_button_text): Update logical ID for cancel button.
5457 Fixes: NB#88850 (Update HildonNote button strings + signals)
5459 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-stackable-window.c
5462 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5464 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-app-menu-private.h
5467 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5468 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5469 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5470 temporary property 'columns' to change the number of columns.
5472 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5474 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5476 * examples/hildon-note-example.c: (on_information_clicked),
5477 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5478 debugging information.
5479 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5481 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5482 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5483 in order to close: this will be handled by the WM from now on.
5485 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5487 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-app-menu-private.h
5490 * src/hildon-app-menu.c
5491 (hildon_app_menu_append, hildon_app_menu_add_filter)
5492 (button_visibility_changed, hildon_app_menu_apply_style)
5493 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5494 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5495 layout everytime a button (item or filter) is shown or hidden.
5497 * src/hildon-stackable-window.c
5498 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5501 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5503 * src/hildon-touch-selector.c:
5504 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5505 that the treeview inside the touch selector is in fremantle hildon mode
5506 * examples/hildon-date-button-example.c
5507 * examples/hildon-picker-button-multicolumn-example.c
5508 * examples/hildon-touch-selector-entry-example.c
5509 * examples/hildon-touch-selector-example.c
5510 * examples/hildon-time-button-example.c
5511 * examples/hildon-picker-button-example.c:
5512 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5514 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5516 * examples/hildon-text-view-example.c: (main): Remove the
5517 gtkrc bits, now handled by the theme.
5519 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5524 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5526 * po/Makefile.am: Install properly the mo files.
5527 * po/en_GB.po: Update translation, to ease testing purposes.
5529 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5531 * examples/hildon-picker-button-example.c: (main): Select an item
5532 in the selector before setting it to the button.
5534 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5536 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5537 Update button's value if the selector has an item active.
5539 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5540 'value' with the selector)
5542 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5544 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5545 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5546 (hildon_picker_button_class_init): Plug the finalize method.
5547 (hildon_picker_button_set_selector): If there's a previously set
5548 selector, unref'it before setting a new one.
5550 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5551 HildonTouchSelector)
5553 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5555 * src/hildon-touch-selector-entry.c:
5556 (hildon_touch_selector_entry_changed): Check if there is no text
5557 selected before setting the entry text.
5560 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-touch-selector.h
5563 * src/hildon-touch-selector.c
5564 (hildon_touch_selector_get_active)
5565 (hildon_touch_selector_set_active): New methods to set/get the
5566 index of the selected item.
5568 * src/hildon-picker-button.h
5569 * src/hildon-picker-button.c
5570 (hildon_picker_button_get_active)
5571 (hildon_picker_button_set_active): New methods to set/get the
5572 index of the selected item.
5574 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5576 * configure.ac: post-release version bump.
5578 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5582 * configure.ac: Pre-release version bump.
5583 * debian/changelog: Updates.
5584 * debian/control: Add myself as maintainer and depend on l10n
5587 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-window.c
5590 (hildon_window_set_main_menu)
5591 * src/hildon-stackable-window.c
5592 (hildon_stackable_window_set_main_menu):
5593 Updated documentation.
5595 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5598 Don't free selector->priv manually.
5601 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5604 (hildon_gtk_window_set_progress_indicator):
5605 * src/hildon-gtk.h: Added the new API
5606 hildon_gtk_window_set_progress_indicator, it changes the state of
5607 the window progress hint.
5609 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5611 * src/hildon-button.c
5612 * src/hildon-stackable-window.c: Minor documentation updates.
5614 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-stackable-window.c: Updated documentation.
5618 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5620 * src/hildon-defines.h: Update margins definitions
5621 to the Fremantle sizes.
5624 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5626 * src/hildon-touch-selector.c,
5627 (_hildon_touch_selector_set_model): Cleaning the code after
5628 review, removed g_print and #if 0 from the code.
5630 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-edit-toolbar.c: Update documentation.
5634 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5636 * src/hildon-check-button.h
5637 * src/hildon-check-button.c
5638 (hildon_check_button_set_label, hildon_check_button_get_label)
5639 * examples/hildon-check-button-example.c
5640 (button_clicked_cb):
5641 Removed deprecated methods.
5643 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5645 * src/hildon-text-view.c:
5646 Add sample code to the documentation.
5648 * src/hildon-entry.h
5649 * src/hildon-text-view.h:
5650 Minor cosmetic changes.
5652 * src/hildon-entry.c:
5653 Add sample code to the documentation.
5654 (hildon_entry_init, hildon_entry_refresh_contents):
5655 Don't allow NULL values in the placeholder.
5657 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5659 * doc/hildon-docs.sgml
5661 * examples/Makefile.am
5662 * examples/hildon-text-view-example.c
5664 * src/hildon-text-view.c
5665 * src/hildon-text-view.h
5667 New HildonTextView widget, with example.
5669 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5671 * po/POTFILES.in: Add missing files with translatable strings.
5672 Partially fixes NB#88287.
5674 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5676 * examples/hildon-pannable-area-example-2.c: (main): No need to
5677 set the cellrenderer height inside hildon touch lists, the theme does
5680 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5682 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5683 they are integrated in the theme.
5685 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5687 * examples/hildon-entry-example.c: Update the example adding
5688 widgets to modify the text and the placeholder of the HildonEntry.
5690 * src/hildon-entry.c: Show the placeholder everytime the widget
5691 is empty and loses the focus.
5693 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5695 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5697 * src/hildon-pannable-area.c,
5698 (hildon_pannable_area_size_request): Fixed bug in height
5699 requisition, avoid increasing size and add border twice.
5701 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5703 * configure.ac: postrelease version bump.
5705 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5709 * configure.ac: Prerelease version bump.
5710 * debian/changelog: update.
5711 * debian/rules: make -dbg package contain useful debugging symbols.
5713 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-dialog.h
5716 * src/hildon-dialog.c
5717 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5718 New methods to add buttons with finger size.
5719 (hildon_dialog_new_with_buttons):
5720 Create buttons with finger size.
5722 * examples/hildon-dialog-example.c (main): Use HildonDialog
5723 methods to add buttons.
5725 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-entry.c: Updated HildonButton documentation.
5729 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5731 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5732 button value label with (FALSE, FALSE) to prevent NB#88126 from
5735 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5737 * examples/hildon-pannable-area-example.c,
5738 (main): Removed examples panning a vbox inside a pannable
5739 area. Check bug NB#87965
5741 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5743 Patch contributed by Kris Rietveld (kris@imendio.com)
5745 * src/hildon-pannable-area.c,
5746 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5747 get_size and get_position, this saves an X server roundtrip.
5749 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5751 * doc/hildon-docs.sgml
5753 * examples/Makefile.am
5754 * examples/hildon-entry-example.c
5756 * src/hildon-entry.c
5757 * src/hildon-entry.h
5759 New HildonEntry widget, with example.
5761 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5763 * src/hildon-button.c (hildon_button_construct_child): Pack the
5764 image with expand == fill == FALSE. This is a workaround for a bug
5767 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5769 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5770 labels for the text column, to make it more look more dynamic.
5772 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5774 * src/hildon-time-selector.c
5775 Define gettext auxiliar macro N_
5776 (_create_minutes_model)
5777 (_create_hours_model)
5778 (_create_ampm_model): use of strftime in order to fill the model
5779 * src/hildon-date-selector.c
5780 (hildon_date_selector_finalize):
5781 (_locales_init): remove the logic related to get the name of the months
5782 using nl_langinfo, as it is not required anymore
5784 (_create_year_model)
5785 (_create_month_model)
5786 (_update_day_model): use of strftime in order to fill the model properly
5789 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5791 * src/hildon-button.h
5792 * src/hildon-button.c (hildon_button_get_image): New method to
5795 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-touch-selector.c:
5798 (hildon_touch_selector_remove_column): Remove from the correct parent
5799 and also remove the list element and free it.
5802 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5804 * src/hildon-time-selector.c
5805 (_create_hours_model): change the range on 12h ampm format in order to use
5806 a 12-11 range instead of previous 01-12 range
5807 (hildon_time_selector_set_time): change the way to select the current time
5808 on 12h ampm format, due the change on the range
5809 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5812 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5814 * src/hildon-touch-selector.c
5815 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5816 in order to allow use this function on multiple row selection mode if
5817 the column is different that the first one
5820 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5822 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5823 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5825 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5827 * src/hildon-date-selector.h: clean some comments, now on the .c
5828 * src/hildon-date-selector.c
5829 (hildon_date_selector_select_month): first implementation
5830 (hildon_date_selector_select_day): added documentation, reimplemented
5831 using hildon_date_selector_select_current_date to avoid repeat code
5834 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5836 Reviewed interaction logic based on device experiences, refactored
5839 * src/hildon-pannable-area.c,
5840 (hildon_pannable_area_class_init): Updated default vmax speed.
5841 (hildon_pannable_area_calculate_velocity): Added this function, it
5842 avoids duplicate valocity calculation. Adjusted calculation to
5843 avoid problems with zero dist events.
5845 (hildon_pannable_area_motion_notify_cb): Now we use the
5846 calculate_velocity function.
5848 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5850 * src/hildon-date-selector.c
5851 (hildon_date_selector_select_current_date): fix the day range check
5852 as it failed using the last day of the current month
5855 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5857 * src/hildon-touch-selector.c
5858 (hildon_touch_selector_get_num_columns): added a parameter validation
5861 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5863 * examples/Makefile.am
5864 * examples/hildon-edit-toolbar-example.c: Example of the
5865 HildonEditToolbar widget.
5867 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5869 * configure.ac: postrelease version bump.
5871 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5875 * configure.ac: prerelease version bump.
5876 * debian/changelog: update.
5878 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5880 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5881 renderer to display stock icons in the touch list. Also, set the sizes
5882 to the recommended in the style guide.
5884 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5885 * src/hildon-touch-selector.h
5886 (hildon_touch_selector_set_active_iter): renamed, now is
5887 hildon_touch_selector_select_iter
5888 (hildon_touch_selector_get_active_iter): renamed, now is
5889 hildon_touch_selector_get_selected
5890 (hildon_touch_selector_unselect_iter): added
5891 * src/hildon-touch-selector.c
5892 Update after API modification (methods renamed)
5893 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5894 order to avoid problems selecting multiple elements on the column
5895 (hildon_touch_selector_unselect_iter): added the implementation
5896 * src/hildon-time-selector.c
5897 * src/hildon-date-selector.c
5898 * src/hildon-touch-selector-entry.c
5899 Update methods calls after hildon-touch-selector.h API modification (methods
5902 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-stackable-window.c
5905 (hildon_stackable_window_finalize): Call the parent class's finalize.
5907 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5909 * examples/hildon-touch-selector-example.c: (create_selector): Use
5910 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5913 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5915 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5916 set a cell background color, to respect theming.
5918 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5920 * doc/hildon-docs.sgml
5923 * src/hildon-edit-toolbar.c
5924 * src/hildon-edit-toolbar.h
5925 * src/hildon.h: New HildonEditToolbar widget.
5927 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5929 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5932 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5933 * src/hildon-touch-selector.c
5934 (_create_new_column): use g_object_set instead of two g_object_set_property
5936 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5937 * src/hildon-touch-selector.c
5938 (_create_new_column): use of hildon_gtk_tree_view_new to create
5939 the treeview, instead of use directly g_object_new
5940 (_create_new_column): update the property name "vindicator-mode" for the
5941 new one "vscrollbar-policy"
5942 * examples/hildon-date-button-example.c
5943 * examples/hildon-picker-button-multicolumn-example.c
5944 * examples/hildon-touch-selector-entry-example.c
5945 * examples/hildon-touch-selector-example.c
5946 * examples/hildon-time-button-example.c
5947 * examples/hildon-picker-button-example.c
5948 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5949 to all the treeviews inside a pannable area.
5951 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-button.h
5954 * src/hildon-button.c (hildon_button_init)
5955 (hildon_button_set_arrangement, hildon_button_set_alignment)
5956 (hildon_button_set_title_alignment)
5957 (hildon_button_set_value_alignment)
5958 (hildon_button_set_image_alignment)
5959 (hildon_button_construct_child): New methods to set the alignment
5960 of the individual components of the button (title, value,
5961 image). Also, new method to alter the xscale and yscale properties
5962 of the GtkAlignment inside the button, so more complex layouts can
5965 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-button.c (hildon_button_style_set)
5968 (hildon_button_class_init, hildon_button_set_arrangement)
5969 (hildon_button_construct_child): Apply style properties
5970 correctly. Use the 'image-spacing' style property too.
5972 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5975 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5978 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5980 * src/hildon-pannable-area.c,
5981 (hildon_pannable_area_size_request): Fixed problem with
5982 pannable-area size_request.
5984 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5986 Added management for the grab-focus to a child widget, like a
5987 range, we need to fade out the scrollbar when releasing.
5989 * src/hildon-pannable-area.c,
5990 (hildon_pannable_area_init): Connected the grab-focus signal to
5992 (hildon_pannable_area_grab_notify): Added this function in order
5993 to manage the situation when the grab-focus ends. We have to
5994 fade-out the scrollbar.
5996 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-app-menu.c: Minor documentation update.
6000 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6002 * src/hildon-app-menu.c
6003 * examples/hildon-app-menu-example.c (create_menu): Update
6004 examples and documentation to explain how to connect callbacks.
6006 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6008 * examples/hildon-button-example.c
6009 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6010 hildon_stackable_window_new instead of gtk_window_new
6012 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6014 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6015 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6016 (hildon_pannable_area_set_property),
6017 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6018 (hildon_pannable_area_unrealize),
6019 (hildon_pannable_area_size_request),
6020 (hildon_pannable_area_size_allocate),
6021 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6022 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6023 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6024 (hildon_pannable_area_initial_effect),
6025 (hildon_pannable_area_redraw),
6026 (hildon_pannable_area_scroll_indicator_fade),
6027 (hildon_pannable_area_expose_event),
6028 (hildon_pannable_area_get_topmost), (synth_crossing),
6029 (hildon_pannable_area_button_press_cb),
6030 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6031 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6032 (hildon_pannable_area_motion_notify_cb),
6033 (hildon_pannable_area_button_release_cb),
6034 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6035 (hildon_pannable_area_remove),
6036 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6037 chage the code layout to a more GtkWidget like. Review the use of
6040 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6042 * examples/hildon-pannable-area-example-4.c,
6043 (main): Modified the name of the hindicator_mode to
6046 * src/hildon-pannable-area.c,
6047 (hildon_pannable_area_class_init),
6048 (hildon_pannable_area_motion_notify_cb),
6049 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6050 we have reduced the amount of signals and managed reviewed its
6051 rationale. Changed the default decelerate value.
6053 (hildon_pannable_area_add),
6054 (hildon_pannable_area_redraw): Refactored functions.
6056 (hildon_pannable_area_init),
6057 (hildon_pannable_area_get_property),
6058 (hildon_pannable_area_set_property):
6059 (hildon_pannable_draw_vscroll),
6060 (hildon_pannable_draw_hscroll),
6061 (hildon_pannable_area_initial_effect),
6062 (hildon_pannable_area_expose_event),
6063 (hildon_pannable_area_scroll),
6064 (hildon_pannable_area_button_press_cb),
6065 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6066 and vindicator_mode with hscrollbar_policy and
6067 vscrollbar_policy. Replaced hscroll and vscroll with
6068 hscroll_visible and vscroll_visible.
6070 (hildon_pannable_area_refresh): Refactor the function, remove
6071 variables and check the calls to this function, added resize
6072 conditions in case the children change their layout.
6074 (hildon_pannable_area_size_request): Added more detailed
6075 size_request calculation.
6078 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6080 * src/hildon-color-chooser.c
6081 (init_borders): use the correct gtk_border_free instead of g_free, to
6082 avoid a crash when this widget is used (ie: the three color selection
6085 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6087 * src/hildon-check-button.c,
6088 (hildon_check_button_set_active): Fixed problem when setting the
6089 active value, the widget was not redrawn.
6091 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6093 * src/hildon-pannable-area.c,
6094 (hildon_pannable_area_refresh),
6095 (hildon_pannable_area_scroll),
6096 (hildon_pannable_area_motion_notify_cb): Small code style change.
6098 (hildon_pannable_area_class_init): Default initial_hint set to
6099 FALSE, it is not in the specs.
6101 (hildon_pannable_area_initial_effect),
6102 (hildon_pannable_area_expose_event),
6103 (hildon_pannable_area_map),
6104 (hildon_pannable_area_init): Moved the launching point of the
6105 initial effect, it was in map but the sizes where not correct in
6106 that method so we do not know if we have the reproduce it. Now it
6107 is placed in the expose_event method and uses a variable to
6108 reproduce it just once.
6110 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6112 * src/hildon-pannable-area.c,
6113 (hildon_pannable_draw_vscroll),
6114 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6115 position allowed for the scrollbars.
6117 (hildon_pannable_area_size_allocate): Small style change.
6119 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6121 * src/hildon-pannable-area.c,
6122 (hildon_pannable_area_scroll_indicator_fade),
6123 (hildon_pannable_area_button_press_cb),
6124 (hildon_pannable_area_button_release_cb),
6125 (hildon_pannable_area_scroll_cb),
6126 (hildon_pannable_area_expose_event),
6127 (hildon_pannable_area_init): Added the define parameter
6128 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6129 and refactor the fade variable.
6131 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6133 * src/hildon-pannable-area.c,
6134 (hildon_pannable_area_redraw),
6135 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6136 lines, we were reimplemeting the redraw code.
6138 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6140 * src/hildon-pannable-area.c,
6141 (hildon_pannable_area_scroll_cb),
6142 (hildon_pannable_area_realize),
6143 (hildon_pannable_area_class_init): Added scroll_event management
6144 for pannable area, now we can scroll the usual desktop method.
6146 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6147 initialization of the parameters should depend on idle_id.
6149 (hildon_pannable_area_init),
6150 (hildon_pannable_area_map): Small code style modifications
6152 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6154 * src/hildon-pannable-area.c
6155 (hildon_pannable_area_button_press_cb),
6156 (hildon_pannable_area_motion_notify_cb),
6157 (hildon_pannable_area_button_release_cb),
6158 (hildon_pannable_area_size_allocate),
6159 (hildon_pannable_area_scroll_to): Improved the timeouts
6160 management, we avoid creating them each time.
6162 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6164 * src/hildon-pannable-area.c:
6165 (hildon_pannable_area_refresh),
6166 (hildon_pannable_area_motion_notify_cb),
6167 (hildon_pannable_area_class_init):
6168 * src/hildon-pannable-area.h:
6169 * src/hildon-touch-selector.c
6170 (_create_new_column):
6171 * examples/hildon-pannable-area-example-4.c:
6172 (horizontal_movement),
6173 (vertical_movement),
6175 Replaced the names of enums in the HildonPannableArea:
6176 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6177 HILDON_MOVEMENT_MODE_*
6178 - HILDON_PANNABLE_AREA_MOV_* ->
6180 - Removed HildonPannableAreaIndicatorMode, now we
6183 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6185 * examples/hildon-pannable-area-touch-grid-example.c
6186 * examples/hildon-pannable-area-touch-list-example.c: Fix
6187 compilation warnings.
6189 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-gtk.c (hildon_gtk_button_new)
6192 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6193 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6194 images overriding the value of the "gtk-button-images" setting.
6196 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6198 * src/hildon-check-button.c (hildon_check_button_new):
6199 Instead of using a custom container, display the label and the
6200 checkbox using the standard GtkButton API.
6202 * examples/hildon-check-button-example.c (main): Don't use
6203 hildon_check_button_set_label() anymore
6205 * src/hildon-check-button.h
6206 * src/hildon-check-button.c
6207 (hildon_check_button_set_label, hildon_check_button_get_label):
6208 Set as deprecated, now we're using gtk_button_{get,set}_label()
6210 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6212 * src/hildon-pannable-area.c,
6213 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6214 GtkTreeview first line we detected it after the inclusion of the
6215 GtkWindowImpl in gtk+. We now check if the window is visible, not
6216 just if the pointer is over the window.
6217 (hildon_pannable_axis_scroll),
6218 (hildon_pannable_area_expose_event): Small style changes.
6220 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-button.c: Update documentation.
6224 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6226 * examples/hildon-button-example.c: Add a switch to show images in
6229 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6231 * doc/hildon-docs.sgml: Some docs reorganization.
6233 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6235 * examples/hildon-pannable-area-touch-list-example.c
6237 * examples/hildon-pannable-area-touch-grid-example.c
6238 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6239 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6240 Fix memory leak when setting the tree model.
6242 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6246 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6248 * doc/hildon.types: Remove duplicated hildon_window_get_type
6249 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6250 documentation comment.
6252 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6254 * doc/Makefile.am: Complete list of private headers.
6256 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6258 * doc/hildon-docs.sgml
6259 * src/hildon-app-menu.c
6260 * src/hildon-bread-crumb.c
6261 * src/hildon-button.c
6263 * src/hildon-program.c
6264 * src/hildon-stackable-window.c
6265 * src/hildon-window.c: Lots of documentation updates.
6267 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6269 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6271 * configure.ac: Require Gtk+ 2.12.9 at least
6273 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6275 * src/hildon-pannable-area.c
6276 (hildon_pannable_area_scroll_indicator_fade),
6277 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6278 to protect the return of this timeout callbacks, avoiding deadlocks.
6280 2008-08-12 Christian Dywan <christian@imendio.com>
6283 * src/hildon-*.h: Ensure a consistent include order,
6284 include <gtk/gtk.h> instead of particular files and
6285 only include the topmost header in the gtk stack. See NB #39857
6287 2008-08-12 Christian Dywan <christian@imendio.com>
6289 * src/hildon-picker-dialog.c
6290 * src/hildon-touch-selector.c: Fix warnings about unused and
6291 uninitialized variables.
6293 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6295 * examples/Makefile.am
6296 * examples/hildon-check-button-example.c: Example of the hildon
6299 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-window.h
6302 * src/hildon-window.c (hildon_window_class_init)
6303 (hildon_window_unset_program): Don't make
6304 hildon_window_unset_program a virtual function anymore.
6306 * src/hildon-stackable-window.c: Update documentation
6308 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6311 * doc/hildon-docs.sgml
6312 * doc/visual_index.xml
6313 * src/hildon-defines.c
6315 * src/hildon-helper.c
6316 * src/hildon-range-editor.c: Lots of documentation fixes.
6318 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6320 * examples/hildon-picker-button-multicolumn-example.c
6321 (create_touch_selector): Fix compilation warning.
6323 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6325 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6326 (hildon_pannable_area_button_release_cb)
6327 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6329 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6334 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6336 * src/hildon-bread-crumb-trail.h
6337 * src/hildon-date-editor.c
6338 * src/hildon-date-selector.c
6339 * src/hildon-pannable-area.c
6340 * src/hildon-picker-dialog.c
6341 * src/hildon-time-selector.c
6342 * src/hildon-touch-selector-entry.c
6343 * src/hildon-touch-selector.c
6344 * src/hildon-touch-selector.h: Misc documentation fixes
6346 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6348 * examples/hildon-date-editor-example.c (main): Updated date
6351 * examples/hildon-note-example.c (on_confirmation_clicked):
6352 Updated confirmation note example.
6354 * src/hildon-date-editor.c
6355 * src/hildon-note.c: Updated sample programs in documentation.
6358 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6360 * src/hildon-date-button.h:
6361 * src/hildon-picker-button.h:
6362 * src/hildon-time-button.c:
6363 * src/hildon-time-button.h:
6365 Some declarations changes to allow gtk-doc to document the widgets
6368 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6370 * src/hildon-date-button.c: Document the widget.
6371 * src/hildon-time-button.c: Document the widget.
6373 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6375 * src/hildon-picker-button.c: Document the widget.
6376 * src/hildon-touch-selector-entry.c: Document the widget.
6378 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6380 * doc/hildon-docs.sgml
6383 * src/hildon-check-button.h
6384 * src/hildon-check-button.c: New functions to create the Hildon
6388 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6390 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-button.h
6393 * src/hildon-button.c
6394 (hildon_button_add_title_size_group)
6395 (hildon_button_add_value_size_group)
6396 (hildon_button_add_image_size_group)
6397 (hildon_button_add_size_groups): New functions to set size groups
6398 for the button labels and image.
6399 (hildon_button_new_full): Removed
6401 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6403 * src/hildon-time-selector.c
6404 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6405 in order to avoid a crash if gconf is not available
6407 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-button.c (hildon_button_set_arrangement)
6410 (hildon_button_construct_child): Don't construct the button child
6411 before setting the arrangement.
6413 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6415 * src/hildon-program-private.h
6416 * src/hildon-program.c
6417 * src/hildon-program.h
6418 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6419 (hildon_program_peek_window_stack)
6420 (hildon_program_pop_window_stack)
6421 (hildon_program_go_to_root_window): HildonProgram now has a
6422 separate list for stackable windows. Functions are provided to
6423 manage that list with a stack-like API.
6425 * src/hildon-stackable-window.c: Stackable window management is
6426 now much simpler with the new HildonProgram API. Windows no
6427 longer need to be manually added to the program, they're
6428 automatically pushed to the top of the stack when shown.
6430 * examples/hildon-stackable-window-example.c: Updated example to
6431 reflect the API changes.
6433 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-touch-selector.c: Comment out unimplemented
6436 hildon_touch_selector_insert_column() to avoid a compile warning.
6438 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6440 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6441 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6442 (hildon_touch_selector_set_column_selection_mode),
6443 (_hildon_touch_selector_set_model),
6444 (hildon_touch_selector_set_model):
6446 Complete review of HildonTouchSelector documentation.
6448 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6450 * doc/hildon-docs.sgml
6454 * src/hildon-gtk.c: Convenience functions for standard Gtk
6455 widgets, used to easily perform frequent operations.
6457 * src/hildon-button-helpers.h
6458 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6460 * src/hildon-helper.h
6461 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6462 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6464 * src/hildon-button.h
6465 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6467 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-button.c (hildon_button_init)
6470 (hildon_button_set_arrangement, hildon_button_construct_child):
6471 Pack the image and the labels inside the same GtkAlignment so
6472 gtk_button_set_alignment() can be used
6474 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-button.h
6477 * src/hildon-button.c
6478 (hildon_button_init, hildon_button_set_image)
6479 (hildon_button_set_image_position)
6480 (hildon_button_construct_child): New functions to add an image to
6483 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6485 * src/hildon-date-button.c
6486 * src/hildon-picker-button.c
6487 * src/hildon-time-button.c
6488 * src/hildon-button.c:
6489 (hildon_button_class_init): "size-flags" renamed to "size"
6490 (hildon_button_set_title): Hide the title label if set to NULL.
6492 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6494 HildonButtonFlags split into HildonButtonArrangement (to set the
6495 button layout) and HildonSizeType (which can be used for any
6498 * src/hildon-button.h
6499 * src/hildon-button.c
6500 (hildon_button_class_init)
6501 (hildon_button_set_arrangement)
6502 (hildon_button_set_property): New "size-flags"
6503 property. "arrangement-flags" renamed to "arrangement".
6504 (hildon_button_new, hildon_button_new_with_text)
6505 (hildon_button_new_full): Constructors updated to reflect type changes.
6507 * src/hildon-helper.h
6508 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6509 to set the size of a widget.
6513 * src/hildon-button-helpers.c
6514 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6516 * src/hildon-date-button.c
6517 * src/hildon-date-button.h
6518 * src/hildon-picker-button.c
6519 * src/hildon-picker-button.h
6520 * src/hildon-time-button.c
6521 * src/hildon-time-button.h: Updated widgets to reflect
6522 HildonButton API changes.
6524 * examples/hildon-button-example.c
6525 * examples/hildon-date-button-example.c
6526 * examples/hildon-picker-button-example.c
6527 * examples/hildon-picker-button-multicolumn-example.c
6528 * examples/hildon-time-button-example.c
6529 * examples/hildon-touch-selector-entry-example.c
6530 * examples/hildon-touch-selector-example.c: Updated examples to
6531 reflect HildonButton API changes.
6533 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6535 * doc/hildon-docs.sgml:
6537 * examples/Makefile.am:
6538 * examples/hildon-touch-selector-entry-example.c:
6540 * src/hildon-touch-selector-entry.c:
6541 * src/hildon-touch-selector-entry.h:
6544 Moved HildonTouchSelectorEntry from sandbox. Added its
6545 documentation and examples.
6547 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/hildon-touch-selector.h:
6550 * examples/hildon-picker-button-multicolumn-example.c:
6551 (hildon_touch_selector_append_text_column): Add a gboolean
6552 parameter to determine if text must be centered in the column.
6554 * src/hildon-date-selector.c: (hildon_date_selector_init):
6555 * src/hildon-time-selector.c: (hildon_time_selector_init):
6556 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6557 (create_touch_selector): Update widgets and example to reflect
6560 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6562 * src/hildon-touch-selector.c:
6563 (hildon_touch_selector_set_active_iter): Set also the cursor in
6566 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6568 * doc/hildon-docs.sgml
6571 * src/hildon-toggle-button.c
6572 * src/hildon-toggle-button.h
6573 * src/hildon.h: Removed HildonToggleButton widget, a derived
6574 class is not necessary for this.
6576 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-pannable-area.c,
6579 (hildon_pannable_area_realize),
6580 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6583 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6585 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6586 "done" button the default widget for the dialog.
6588 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6590 * src/hildon-touch-selector.c:
6591 (hildon_touch_selector_class_init),
6592 (hildon_touch_selector_get_property),
6593 (_hildon_touch_selector_set_model),
6594 (_hildon_touch_selector_has_multiple_selection),
6595 (hildon_touch_selector_has_multiple_selection):
6596 Add a "has-multiple-selection" property with a virtual
6597 has_multiple_selection() method to allow derived classes to
6598 override the default value for it. See the method and property
6599 documentation for details.
6601 * src/hildon-touch-selector.h: Add the new API.
6603 * src/hildon-picker-dialog.c: (requires_done_button): Call
6604 hildon_touch_selector_has_multiple_selection() instead of
6605 determining the need for a button itself.
6607 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6609 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6610 (_hildon_touch_selector_set_model),
6611 (hildon_touch_selector_set_model): Move working code to
6612 _hildon_touch_selector_set_mode(). Call the class method instead.
6614 * src/hildon-touch-selector.h: Add (*set_model) to
6615 HildonTouchSelectorClass.
6617 Make hildon_touch_selector_set_model() a virtual method, so that
6618 derived classes can extend it and do fancy stuff with the model.
6620 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6622 * configure.ac: Set back the tarname in AC_INIT to hildon.
6624 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6628 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6629 instead of libesd (NB#86876). Volume handling is still an open issue.
6631 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6634 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6636 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6637 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6638 derived class to ease placement of an entry widget in
6639 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6640 end, where the selector columns are packed now.
6642 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6644 * src/hildon-picker-button.c: Removed the simple _text() API.
6645 * src/hildon-picker-button.h: Likewise.
6647 * src/hildon-touch-selector.h:
6648 * src/hildon-touch-selector.c:
6649 (hildon_touch_selector_new_text),
6650 (hildon_touch_selector_append_text),
6651 (hildon_touch_selector_prepend_text),
6652 (hildon_touch_selector_insert_text):
6654 Moved the simple _text() API from HildonPickerButton to
6655 HildonTouchPicker, to provide better escalability and not to tie
6656 that API to HildonPickerButton.
6658 * examples/hildon-picker-button-example.c: (main): Example updated.
6660 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-button.c: Updated documentation.
6664 * examples/hildon-button-example.c: Add the posibility to create
6665 the buttons using horizontal layout for title and value.
6667 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6669 * src/hildon-app-menu-private.h
6670 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6671 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6672 GtkSizeGroup for the filters, use the 'homogeneous' property of
6675 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6677 * examples/hildon-button-example.c: Updated example.
6679 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6681 * doc/hildon-docs.sgml:
6684 Update documentation.
6686 * examples/Makefile.am: Update renamed examples.
6688 * examples/hildon-picker-button-multicolumn-example.c:
6689 (create_touch_selector), (main): Update after the rename.
6691 * examples/hildon-touch-picker-example.c: Removed.
6692 * examples/hildon-touch-selector-example.c: (value_changed),
6693 (create_selector), (get_visible_content), (main): Renamed from
6694 hildon-touch-picker-example.c
6696 * src/Makefile.am: Updated renamed files.
6698 * src/hildon-date-button.c: (hildon_date_button_init),
6699 (hildon_date_button_get_date), (hildon_date_button_set_date):
6700 * src/hildon-date-selector.c: (hildon_date_selector_init),
6701 (_custom_print_func), (_update_day_model),
6702 (_manage_selector_change_cb),
6703 (hildon_date_selector_select_current_date),
6704 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6705 * src/hildon-date-selector.h:
6706 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6707 (hildon_picker_button_set_property),
6708 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6709 (hildon_picker_button_init), (hildon_picker_button_new_text),
6710 (hildon_picker_button_append_text),
6711 (hildon_picker_button_prepend_text),
6712 (hildon_picker_button_insert_text),
6713 (hildon_picker_button_set_selector),
6714 (hildon_picker_button_get_selector):
6715 * src/hildon-picker-button.h:
6716 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6717 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6718 (_update_title_on_selector_changed_cb), (requires_done_button),
6719 (_hildon_picker_dialog_set_selector),
6720 (hildon_picker_dialog_set_selector),
6721 (hildon_picker_dialog_get_selector):
6722 * src/hildon-picker-dialog.h:
6723 * src/hildon-time-button.c: (hildon_time_button_init),
6724 (hildon_time_button_get_time), (hildon_time_button_set_time):
6725 * src/hildon-time-selector.c: (hildon_time_selector_init),
6726 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6727 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6728 * src/hildon-time-selector.h:
6731 Massive code updates after the rename.
6733 * src/hildon-touch-picker.c: Removed.
6734 * src/hildon-touch-picker.h: Removed.
6736 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6737 (hildon_touch_selector_init), (hildon_touch_selector_map),
6738 (hildon_touch_selector_remove), (_default_print_func),
6739 (_selection_changed_cb), (_create_new_column),
6740 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6741 (hildon_touch_selector_append_text_column),
6742 (hildon_touch_selector_remove_column),
6743 (hildon_touch_selector_set_column_attributes),
6744 (hildon_touch_selector_insert_column),
6745 (hildon_touch_selector_get_num_columns),
6746 (hildon_touch_selector_get_column_selection_mode),
6747 (hildon_touch_selector_set_column_selection_mode),
6748 (hildon_touch_selector_set_print_func),
6749 (hildon_touch_selector_get_print_func),
6750 (hildon_touch_selector_get_active_iter),
6751 (hildon_touch_selector_set_active_iter),
6752 (hildon_touch_selector_get_selected_rows),
6753 (hildon_touch_selector_get_model),
6754 (hildon_touch_selector_set_model),
6755 (hildon_touch_selector_get_current_text),
6756 (_hildon_touch_selector_center_on_selected_items):
6757 * src/hildon-touch-selector.h: Renamed from
6758 hildon-touch-picker.[ch]
6760 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6761 references, code examples, and related documentation.
6763 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6765 * doc/hildon-docs.sgml
6768 * src/hildon-toggle-button.c
6769 * src/hildon-toggle-button.h
6770 * src/hildon.h: New HildonToggleButton widget.
6772 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6774 * src/hildon-button.c: Add API documentation.
6775 (hildon_button_set_size_groups): Check input parameters
6777 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6779 * src/hildon-pannable-area.c
6780 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6781 effect after reaching the movement thredshold. This way we start
6782 using the distance after passing the thredshold.
6784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6786 * src/hildon-button.c: (hildon_button_set_property): Use the
6787 appropriate g_value_get_flags() method.
6789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6791 * doc/hildon-docs.sgml:
6794 Add the touch pickers, picker dialogs, and picker button widgets
6795 to the documentation.
6797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6799 * src/hildon-button.c: (hildon_button_set_property),
6800 (hildon_button_class_init): Make "arrangement-flags" a proper
6801 G_TYPE_FLAGS derived property.
6803 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6805 * examples/Makefile.am: Add below examples.
6806 * examples/hildon-date-button-example.c:
6807 * examples/hildon-picker-button-example.c:
6808 * examples/hildon-picker-button-multicolumn-example.c:
6809 * examples/hildon-time-button-example.c:
6810 * examples/hildon-touch-picker-example.c:
6812 Add examples for the recently added touch pickers,
6813 picker dialogs, and picker button widgets.
6815 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-button.c: Add some API documentation
6819 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6821 * src/hildon-button.h
6822 * src/hildon-button.c
6824 (hildon_button_new_with_text): New constructor to create a button
6825 with no text at all.
6826 (hildon_button_init, hildon_button_set_arrangement)
6827 (hildon_button_set_title, hildon_button_set_value)
6828 (hildon_button_set_text)
6829 (hildon_button_construct_child): Hide the value when it's not used
6830 so the rest of the text is properly aligned.
6831 Allow creating buttons with arbitrary widgets inside (not just
6832 title/value labels).
6834 * examples/hildon-button-example.c (vertical_buttons_window)
6835 (horizontal_buttons_window): Update example to use new API.
6837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6839 * src/Makefile.am: Added HildonTimeButton.
6840 * src/hildon-time-button.c: Added missing LGPL header.
6841 * src/hildon-time-button.h: Added missing LGPL header.
6842 * src/hildon.h: Add hildon-time-button.h
6844 Copied HildonTimeButton from sandbox to trunk. Future work on this
6845 widget must take place in trunk.
6847 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6849 * src/Makefile.am: Added HildonDateButton.
6850 * src/hildon-date-button.c: Update includes.
6851 * src/hildon.h: Add hildon-date-button.h
6853 Copied HildonDateButton from sandbox to trunk. Future work on this
6854 widget must take place in trunk.
6856 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6858 * src/Makefile.am: Added HildonPickerButton.
6859 * src/hildon-picker-button.h: Update includes.
6860 * src/hildon.h: Add hildon-picker-button.h
6862 Copied HildonPickerButton from sandbox to trunk. Future work on
6863 this widget must take place in trunk.
6865 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6867 * src/Makefile.am: Added HildonPickerDialog.
6868 * src/hildon-picker-dialog.c: Update includes.
6869 * src/hildon.h: Add hildon-picker-dialog.h
6871 Copied HildonPickerDialog from sandbox to trunk. Future work
6872 on this widget must take place in trunk.
6874 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6876 * src/Makefile.am: Added HildonTimeSelector.
6877 * src/hildon.h: Add hildon-time-selector.h
6879 Copied HildonTimeSelector widget from sandbox to trunk. Future
6880 work on this widget must happen in trunk.
6882 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/Makefile.am: Added HildonDateSelector.
6885 * src/hildon.h: Add hildon-date-selector.h
6887 Copied HildonDateSelector widget from sandbox to trunk. Future
6888 work on this widget must happen in trunk.
6890 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6892 * src/Makefile.am: Added HildonTouchPicker.
6893 * src/hildon-touch-picker.c: Update includes.
6894 * src/hildon.h: Add hildon-touch-picker.h
6896 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6897 on this widget must happen in trunk.
6899 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6901 * src/hildon-pannable-area.c:
6902 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6904 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6906 * examples/hildon-app-menu-example.c (main): Let the window
6909 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6911 * src/hildon-pannable-area.c
6912 (hildon_pannable_area_class_init): Set the min value of the
6913 overshoot properties to zero, which points out that not
6914 overshooting allowed.
6916 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6918 Modified the procedure to get the widget at a point inside the
6919 pannable area when using the movement type signals. Now the user
6920 has to call a function to get the child, that way we just
6921 calculate the child in case the user really want to use it and not
6924 * src/hildon-marshalers.list: Modified the marshallers, now we do
6925 not have the widget as a parameter.
6927 * src/hildon-pannable-area.c
6928 (hildon_pannable_area_motion_notify_cb),
6929 (hildon_pannable_area_class_init),
6930 (hildon_pannable_get_child_widget_at): Removed the widget
6931 parameter from the signal callback. We have also refactored the
6932 emission of the signals.
6934 * src/hildon-pannable-area.h: Added a new method to the API to
6935 calculate a widget at a point inside the pannable area,
6936 hildon_pannable_get_child_widget_at.
6938 * examples/hildon-pannable-area-example-4.c
6939 (horizontal_movement): Modified the example to use the new API,
6940 added condition to control which widget is under the event. This
6941 way we can avoid scrolling laterally over other widgets.
6943 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6945 * src/hildon-pannable-area.c
6946 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6947 modes, we stop getting the pointer events due to returning the
6948 callback without properly calling the get pointer again. Fixed
6949 also an error using the hscroll and vscroll.
6951 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6953 * src/hildon-app-menu-private.h
6954 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6955 (hildon_app_menu_button_release, hildon_app_menu_init)
6956 (hildon_app_menu_class_init): Don't hide the menu on button
6957 release if the user didn't press outside first.
6959 * src/hildon-window.h
6960 * src/hildon-window.c (hildon_window_toggle_menu)
6961 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6962 hildon_window_toggle_menu a virtual function for the stackable
6963 window to override it.
6965 * src/hildon-stackable-window.h
6966 * src/hildon-stackable-window-private.h
6967 * src/hildon-stackable-window.c
6968 (hildon_stackable_window_realize)
6969 (hildon_stackable_window_finalize)
6970 (hildon_stackable_window_class_init)
6971 (hildon_stackable_window_init)
6972 (hildon_stackable_window_set_main_menu): New function to set the
6973 app menu of a HildonStackableWindow.
6975 * examples/hildon-app-menu-example.c: Remove the button to show
6976 the app menu, now it'll be shown when clicking on the title bar
6979 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6981 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6982 set the widget name if the arrangement flags do not specify
6985 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6987 * src/hildon-button.c: (hildon_button_set_property),
6988 (hildon_button_class_init), (hildon_button_new_full),
6989 (hildon_button_set_arrangement): Added "arrangement-flags"
6992 Make the HildonButtonFlags a construction-only property, to allow
6993 subclasses to set them properly.
6995 2008-07-21 Tim Janik <timj@imendio.com>
6997 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6998 insertion position after backspace, so additional digits are appended,
7001 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7003 * src/hildon-pannable-area.c,
7004 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7005 TODO list, it was complete and removed the g_debug and g_print
7008 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7010 Added the movement modes to the hildon-pannable-area, with this
7011 modes the developers can control in which directions the widget
7012 can scroll. They can also connect to signals in order to do
7013 something when that happens, allowing applications scroll. There
7014 is an example uploaded showing how to use it.
7016 * examples/Makefile.am:
7017 * examples/hildon-pannable-area-example-4.c: Added this example of
7018 an application using the modes.
7020 * src/hildon-marshalers.list: Added a new marshaller for the new
7023 * src/hildon-pannable-area.h: Added new enumerations and flags in
7024 order to control the movement modes and the new signals to warn
7025 about the movements in the area.
7027 * src/hildon-pannable-area.c:
7028 (hildon_pannable_axis_scroll),
7029 (hildon_pannable_area_scroll),
7030 (hildon_pannable_area_motion_notify_cb),
7031 (hildon_pannable_area_get_property),
7032 (hildon_pannable_area_set_property),
7033 (hildon_pannable_area_map),
7034 (hildon_pannable_area_class_init),
7035 (hildon_pannable_area_init),
7036 (hildon_pannable_area_jump_to): Added the modes to control the
7037 movement in the widget. We have added properties to control it,
7038 signals to warn about the movements and refactored some code.
7040 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7042 Changes required in order to allow vfast_factor set to zero to
7045 * src/hildon-pannable-area.c:
7046 (hildon_pannable_area_button_press_cb): Changed the condition, it
7047 is required for not allowing click when vfast_factor is zero.
7048 (hildon_pannable_area_timeout): Initialized velocity variables
7049 when we stop moving, it was less than 1 but not zero and we need
7050 to check zero in some situations.
7051 (hildon_pannable_area_class_init): Changed the default value of
7052 the speed factor, now the button_press is just sent in case the
7053 speed is 2 per cent of the max speed.
7054 (hildon_pannable_area_init): Initialization with 0.
7056 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7058 * src/hildon-pannable-area.c,
7059 (hildon_pannable_area_get_topmost): replaced
7060 gdk_window_get_children with gdk_window_peek_children, this way we
7061 do not have to free the list because it is not a copy.
7063 (hildon_pannable_axis_scroll),
7064 (hildon_pannable_area_scroll),
7065 (hildon_pannable_area_timeout),
7066 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7067 two parameters that were only used inside the
7068 hildon_pannable_area_scroll function.
7070 * examples/hildon-pannable-area-example.c,
7071 (get_sawtooth_label): Fixed small memory leak.
7073 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7075 More checks for the case where the overshoot is bigger than the
7078 * src/hildon-pannable-area.c:
7079 (hildon_pannable_draw_vscroll),
7080 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7081 to draw the slider of the scrollbar under the other scrollbar.
7082 (hildon_pannable_area_expose_event): added new checks to control
7083 the drawing of the overshooting area rectangle, in case it is too
7084 big for the area of the widget.
7085 (hildon_pannable_area_size_allocate): add more checks to avoid
7086 setting a position to the child widget outside the area.
7088 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7090 * src/hildon-pannable-area.c
7091 (hildon_pannable_area_size_allocate): Added conditions to control
7092 when overshooting is bigger than the allocated space for the
7093 children, this avoids negative allocations.
7095 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7097 * doc/hildon-docs.sgml
7099 * examples/Makefile.am
7100 * examples/hildon-button-example.c
7102 * src/hildon-button.c
7103 * src/hildon-button.h
7104 * src/hildon.h: Initial version of the new HildonButton widget,
7107 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7109 * src/hildon-pannable-area.c:
7110 (hildon_pannable_area_button_press_cb),
7111 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7112 (hildon_pannable_area_motion_notify_cb),
7113 (hildon_pannable_area_button_release_cb),
7114 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7115 (hildon_pannable_area_jump_to_child):
7117 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7119 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7121 * examples/Makefile.am
7122 * examples/hildon-pannable-area-touch-grid-example.c
7123 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7124 the Hildon Touch List and Hildon Touch Grid using the
7125 HildonPannableArea widget.
7127 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7129 * src/hildon-pannable-area.c,
7130 (hildon_pannable_area_button_press_cb),
7131 (hildon_pannable_area_refresh),
7132 (hildon_pannable_area_scroll),
7133 (hildon_pannable_area_motion_notify_cb),
7134 (hildon_pannable_area_button_release_cb),
7135 (hildon_pannable_area_expose_event),
7136 (hildon_pannable_area_add),
7137 (hildon_pannable_area_remove),
7138 (hildon_pannable_area_realize),
7139 (hildon_pannable_area_size_allocate),
7140 (hildon_pannable_area_class_init),
7141 (hildon_pannable_area_init),
7142 (hildon_pannable_area_scroll_to_child),
7143 (hildon_pannable_area_jump_to_child): Fixed the problem of
7144 removing the child from the GtkBin, we have rearranged the widget
7145 hierarchy, now there is no GtkAlignment which was not doing
7146 anything interesting but breaking some of the assumptions of
7147 GtkContainer. Now developers if they want to add a GtkAlignment
7148 they could, but it is not inside the area.
7150 We had to review the whole allocation/expose process, now it is
7151 improved and we save at least three signals which would be saving
7152 some time when rendering the widget. The allocation of the
7153 scrollbars is now made in the allocate method as usual.
7155 We have also added some conditions in order to control when there
7156 is no child of the pannable area. Maybe we will need more work
7159 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7161 * src/hildon-pannable-area.c,
7162 (hildon_pannable_area_dispose): Released the fade-out timeout when
7163 disposing the widget.
7165 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7167 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7168 zero, we are going to use that property in order to deactivate the
7170 (hildon_pannable_axis_scroll),
7171 (hildon_pannable_area_size_allocate): Added conditions to control
7172 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7173 call, now it is called in all situations and we can remove calls
7174 in the allocate method.
7175 (hildon_pannable_area_map): Control the situation when
7176 overshoot_max is zero, we do not need the timeout.
7177 (hildon_pannable_area_class_init): Added documentation in order to
7178 point out that setting zero to overshoot_max means deactivate
7181 NOTE: removed trailing whitespaces from my previous comments of
7184 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7186 * src/hildon-pannable-area.c
7187 (hildon_pannable_area_get_property),
7188 (hildon_pannable_area_set_property),
7189 (hildon_pannable_area_map),
7190 (hildon_pannable_area_class_init),
7191 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7192 to cause the widget give a hint about its panning abilities upon
7195 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7197 * src/hildon-pannable-area.c: Several documentation improvements.
7199 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7201 * src/hildon-program.c
7202 * src/hildon-stackable-window.c: Update documentation.
7204 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7206 * src/hildon-stackable-window.c (get_previous_window_if_last):
7207 Renamed get_last_window()
7208 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7209 (hildon_stackable_window_unset_program):
7211 (get_previous_window_if_last):
7212 Detect if the window hasn't been added to a HildonProgram.
7214 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7216 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7218 * src/hildon-pannable-area.c
7219 (hildon_pannable_area_button_press_cb),
7220 (hildon_pannable_axis_scroll),
7221 (hildon_pannable_area_scroll),
7222 (hildon_pannable_area_timeout),
7223 (hildon_pannable_calculate_vel_factor),
7224 (hildon_pannable_area_get_property),
7225 (hildon_pannable_area_set_property),
7226 (hildon_pannable_area_class_init),
7227 (hildon_pannable_area_init),
7228 (hildon_pannable_area_scroll_to),
7229 (hildon_pannable_area_jump_to),
7230 (hildon_pannable_area_scroll_to_child),
7231 (hildon_pannable_area_jump_to_child):
7232 * src/hildon-pannable-area.h: Added the new API functions:
7233 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7234 hildon_pannable_area_scroll_to_child,
7235 hildon_pannable_area_jump_to_child
7238 * examples/Makefile.am
7239 * examples/hildon-pannable-area-example-2.c
7240 * examples/hildon-pannable-area-example-3.c: Added these two new
7241 examples in order to test and show how the new APIs work.
7243 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7245 * examples/hildon-stackable-window-example.c (new_window):
7246 * src/Makefile.am (noinst_HEADERS):
7247 * src/hildon-program.c (hildon_program_go_to_root_window):
7248 * src/hildon-program.h:
7249 * src/hildon-stackable-window-private.h:
7250 * src/hildon-stackable-window.c:
7251 * src/hildon-stackable-window.h:
7252 Create hildon-stackable-window-private.h
7253 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7255 * examples/hildon-app-menu-example.c (create_menu):
7256 * examples/hildon-hvolumebar-insensitive-example.c (main):
7257 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7258 * examples/hildon-toolbar-seekbar-example.c (main):
7259 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7260 * src/hildon-banner.c (hildon_banner_set_property):
7261 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7262 Fix compilation warnings
7264 * src/hildon-window.c:
7267 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7269 * src/hildon-stackable-window.c
7270 (hildon_stackable_window_unset_program):
7271 Calculate correctly whether to show the previous window if the
7272 last one is removed from the stack.
7273 (hildon_stackable_window_go_to_root_window):
7274 Send delete events starting from the topmost window.
7275 Stop if one of the windows is not destroyed.
7277 (hildon_stackable_window_delete_event)
7278 (hildon_stackable_window_class_init):
7279 Ignore the delete event if the window is not the topmost one.
7281 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7283 * src/hildon-pannable-area.c
7284 (hildon_pannable_area_expose_event): Fixed a problem when
7285 selecting the background color of the scrollbars.
7287 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7289 * examples/hildon-stackable-window-example.c
7290 * src/hildon-stackable-window.c
7291 * src/hildon-stackable-window.h
7292 hildon_stackable_window_go_home() renamed to
7293 hildon_stackable_window_go_to_root_window()
7294 Send delete events to windows rather than closing them with
7295 gtk_widget_destroy()
7297 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7299 * src/hildon-pannable-area.c
7300 (hildon_pannable_area_button_release_cb): Fix overshooting in
7303 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7305 * src/hildon-pannable-area.c
7306 (hildon_pannable_area_init): Initially show the scroll indicators.
7307 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7309 Add initial effect showing the widget is pannable.
7311 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7313 * src/hildon-pannable-area.c
7314 (hildon_pannable_area_class_init)
7315 (hildon_pannable_area_set_property)
7316 (hildon_pannable_area_get_property)
7317 (hildon_pannable_area_button_press_cb):
7318 New 'velocity_fast_factor' property to decide which velocity is
7321 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7323 * src/hildon-pannable-area.c
7324 (hildon_pannable_draw_hscroll)
7325 (hildon_pannable_draw_vscroll):
7326 Use float variables to calculate the size of the scrollbars to
7327 avoid error propagation and resizing during scrolling.
7329 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7331 * src/hildon-pannable-area.c
7332 (hildon_pannable_draw_vscroll)
7333 (hildon_pannable_draw_hscroll):
7334 Define a minimum size for the scroll bars
7336 * src/hildon-stackable-window.c
7337 (hildon_stackable_window_go_home): Fix compilation warning
7338 (get_last_window): Minor optimizations
7339 (hildon_stackable_window_class_init): Fix initialization of
7342 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7344 * src/hildon-stackable-window.c: Fixed typos in doc
7346 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7348 * src/hildon-pannable-area.c
7349 (hildon_pannable_area_scroll):
7350 Calculate here whether we need to scroll instead of using the booleans
7351 that tell us whether to /draw/ the scrolling bars.
7353 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7355 * src/hildon-app-menu.h
7357 * src/hildon-app-menu.c
7358 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7359 multiple filter groups related code and API. Now we support only
7361 * examples/hildon-app-menu-example.c:
7363 Update to reflect API changes.
7365 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7367 * src/hildon-stackable-window.c
7368 (hildon_stackable_window_class_init):
7369 Add hildon_stackable_window_realize.
7370 (hildon_stackable_window_realize):
7371 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7372 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7373 to apply theming and behavior specific to HildonStackableWindow
7376 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7378 * src/hildon-note.c (hildon_note_button_release):
7379 Close information notes also when tapping on them
7381 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7383 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7384 ELASTICITY, refactor and review, fix some issues with drawing
7387 * src/hildon-pannable-area.c:
7388 (hildon_pannable_area_button_press_cb): removed the conditions to
7389 avoid clicks when overshooting. It is not required
7391 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7392 define. Refatored and reviewed the code, now we do not need to
7393 manage velocity in motion_notify.
7395 (hildon_pannable_area_motion_notify_cb): We have moved the code
7396 that controls the area_scroll to the axis_scroll function and get
7397 rid of duplicated code.
7399 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7401 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7403 (hildon_pannable_draw_vscroll),
7404 (hildon_pannable_draw_hscroll): Fixed the problems with the
7405 scrollbar drawing, now we do not use two surfaces, it is easier
7406 and saves resources.
7408 (hildon_pannable_area_get_property): Style modification.
7410 (hildon_pannable_area_class_init): Changed some default values.
7412 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7414 * src/hildon-stackable-window.c: Fix some typos in the
7417 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-dialog.c:
7420 Change indentation style
7423 (hildon_note_button_release):
7424 Use root coordinates to check if the release event happened
7427 * src/hildon-app-menu.c
7428 (hildon_app_menu_button_release):
7429 Remove unnecessary check
7431 * examples/hildon-app-menu-example.c
7433 Add cast to fix warning
7435 * src/hildon-app-menu.c
7436 (hildon_app_menu_class_init):
7437 New inner-border style property.
7438 Set all default spacings to 16
7439 (hildon_app_menu_init):
7440 Use vertical-spacing to set the space between filter buttons and
7441 regular menu buttons.
7442 Set the default container border using the inner-border value.
7444 * examples/hildon-app-menu-example.c
7446 Don't set the menu border explicitly, now we have the inner-border
7447 style property for that.
7449 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7451 * src/hildon-app-menu.c (hildon_app_menu_init):
7452 Make the window modal
7454 * src/hildon-note.c (hildon_note_map)
7455 * src/hildon-app-menu.c (hildon_app_menu_map):
7456 Destroy the grab window if we're unable to grab the pointer
7458 * src/hildon-app-menu-private.h
7459 * src/hildon-app-menu.c
7460 (hildon_app_menu_init, hildon_app_menu_finalize)
7461 (hildon_app_menu_map, hildon_app_menu_unmap)
7462 (hildon_app_menu_button_release)
7463 (grab_transfer_window_get):
7464 Bring back the grab window
7465 (hildon_app_menu_realize):
7466 Decorate the window, set WM hint for Matchbox
7468 * src/hildon-note.c (hildon_note_realize):
7469 * src/hildon-banner.c (hildon_banner_realize):
7470 Add WM hints for Matchbox
7472 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7474 * src/hildon-app-menu-private.h
7475 * src/hildon-app-menu.c
7476 (hildon_app_menu_init, hildon_app_menu_finalize)
7477 (hildon_app_menu_map, hildon_app_menu_unmap)
7478 (hildon_app_menu_button_release):
7479 Remove the grab window, it's not needed anymore
7481 * src/hildon-program.c
7482 Fixed typo in documentation
7484 * src/hildon-app-menu.h
7485 * src/hildon-app-menu.c
7486 * examples/hildon-app-menu-example.c
7487 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7489 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7492 Added new transfer_window and close_if_pressed_outside private
7494 (hildon_note_rebuild):
7495 Don't add a cancel button to the information note. It will be
7496 closed when tapping outside
7497 Remove the comment about the OK button in the documentation
7498 (hildon_note_realize):
7499 Set the notification type hint
7500 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7501 Grab/ungrab pointer and keyboard if the note has to be closed when
7503 (hildon_note_button_release):
7504 Close the note when tapping outside (if applicable)
7506 * src/hildon-app-menu.c
7507 Grab/ungrab pointer and keyboard on map/unmap
7508 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7509 Close the menu on button release, not button press
7511 * src/hildon-banner.c
7512 (hildon_banner_set_property)
7513 (hildon_banner_check_position):
7514 Make the banner use the full width of the screen
7515 (hildon_banner_show_information)
7516 (hildon_banner_show_information_with_markup):
7517 Don't display an icon by default
7519 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7521 Added fading scrollbars and adapted all the overshooting code to
7522 horizontal scrolling. We have also fixed bugs with overshooting
7523 and current fading implementation.
7525 * src/hildon-pannable-area.c
7526 (hildon_pannable_area_scroll_indicator_fade): Time out function
7527 used to change the transparency of the scrollbars.
7529 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7530 control and fixed a problem with fading, we now remove the fade
7531 timeout before adding a new one.
7533 (hildon_pannable_axis_scroll):
7534 (hildon_pannable_area_scroll):
7535 (hildon_pannable_area_timeout): Added this functions so we can use
7536 the scroll code both for vertical and horizontal.
7538 (hildon_pannable_area_motion_notify_cb):
7539 (hildon_pannable_area_button_release_cb): Added the horizontal
7540 scrolling control, fixed a problem with the overshooting timeout.
7542 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7543 painting of the scrolls.
7545 (hildon_pannable_draw_vscroll):
7546 (hildon_pannable_draw_hscroll):
7547 (hildon_pannable_area_expose_event):
7548 Draw both scrollbars and rectangles in the overshooting area.
7550 (hildon_pannable_area_get_property):
7551 (hildon_pannable_area_set_property):
7552 Modified the overshoot property to overshoot_max
7554 (hildon_pannable_area_map):
7555 Replaced the comments symbols.
7557 (hildon_pannable_area_size_allocate):
7558 (hildon_pannable_area_class_init):
7559 (hildon_pannable_area_init): Added horizontal scroll, fading
7560 effect properties, fixed a problem when overshooting in the bottom
7563 * examples/hildon-pannable-area-example.c:
7564 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7565 looks better in the example.
7567 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7569 * src/hildon-window.c
7570 * src/hildon-window.h
7571 (hildon_window_class_init)
7572 (hildon_window_unset_program)
7573 (hildon_window_unset_program_real):
7574 Make unset_program a virtual function
7576 * src/hildon-stackable-window.c
7577 * src/hildon-stackable-window.h
7578 Added hildon_stackable_window_go_home()
7580 * examples/Makefile.am
7581 * examples/hildon-stackable-window-example.c
7582 HildonStackableWindow example
7584 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7586 * hildon-pannable-area.c: Added the overshoot property and removed
7587 the OVERSHOOT define. Fixed an indent style error.
7588 (hildon_pannable_area_motion_notify_cb):
7589 (hildon_pannable_area_get_property):
7590 (hildon_pannable_area_set_property): Add overshoot property.
7592 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7595 (hildon_pannable_area_class_init): Installed the new property.
7597 * hildon-pannable-area-example.c: Added a sawtooth function, this
7598 way it is easier to check the movement in the pannable.
7599 (get_sawtooth_label): Added this function.
7600 (main): Now we get the labels from the new get_sawtooth_label
7603 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7605 * src/hildon-app-menu.h
7606 * src/hildon-app-menu.c
7607 Renamed API variables for consistency
7609 (hildon_app_menu_popup): Use also the default window size to
7610 decide where to place the menu
7612 (hildon_app_menu_init, hildon_app_menu_class_init): New
7613 external-border style property
7615 2008-05-26 Michael Natterer <mitch@imendio.com>
7617 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7618 widget_class->tap_and_hold_setup signal slot doesn't exist any
7619 longer, stop overriding it.
7621 (hildon_time_editor_init): g_signal_connect() to the
7622 tap-and-hold-setup signal instead.
7624 (hildon_time_editor_entry_keypress): add cast to fix warning.
7626 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7628 * doc/hildon-docs.sgml
7630 * examples/Makefile.am
7631 * examples/hildon-app-menu-example.c
7633 * src/hildon-app-menu-private.h
7634 * src/hildon-app-menu.c
7635 * src/hildon-app-menu.h
7637 New HildonAppMenu widget
7639 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7641 Rearranged the inheritance of the pannable area, now it inherits
7642 from GtkBin. This will allow us to control the event_window and
7643 the allocation process of the widget, required for some effects.
7645 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7646 GtkBin structures. * src/hildon-pannable-area.c: Added the
7647 event_window variable.
7648 (hildon_pannable_area_button_press_cb):
7649 (hildon_pannable_area_button_release_cb):
7650 (hildon_pannable_area_motion_notify_cb):
7651 Changed the signature of the method, now we override the event
7652 callback instead of connecting to the signal.
7654 (hildon_pannable_area_realize):
7655 (hildon_pannable_area_unrealize):
7656 (hildon_pannable_area_map):
7657 (hildon_pannable_area_unmap):
7658 (hildon_pannable_area_size_allocate):
7659 Added functions to control the widget construction. We add a
7660 INPUT_ONLY window and we put it over the widgets inside the
7661 container, this event_window handles the events.
7663 (hildon_pannable_area_class_init):
7664 Replaced the signal connections with overrides of the event
7667 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7669 Bouncing effect added when touching the borders, you can change
7670 the elasticity of the border changing the ELASTICITY define.
7672 * src/hildon-pannable-area.c: Added ELASTICITY define.
7673 (hildon_pannable_area_timeout): Added inverse velocity when
7674 touching the border of the child widget, that causes a bounce.
7676 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7678 Improved performance, we now do not go to the X server in order to
7679 get the list of window children. Apparently the effect is the
7680 same, we have to be careful and check if this breaks something in
7683 * src/hildon-pannable-area.c:
7684 (get_ordered_children): Removed this function.
7685 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7686 the children windows function with gdk_window_get_children.
7688 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7690 * src/hildon-pannable-area.c:
7691 (hildon_pannable_area_dispose): Fixed a crash when closing the
7692 window and kinetics is activated.
7694 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7696 * src/hildon-pannable-area.h
7697 * src/hildon-pannable-area.c
7698 Changed indentation style to meet the one used in Hildon
7700 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7702 Reviewed the interaction of the AUTO mode, now we use the time
7703 attribute of the events and calculate the velocity in the motion,
7704 doing a gimp like calculation. The velocity is calculated in each
7705 motion event using the last velocity and the current one, the
7706 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7708 * src/hildon-pannable-area.c: Replaced the time based algorithm
7710 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7711 timeout for the AUTO mode when we are still moving the cursor. We
7712 added also the velocity calculation in this function.
7713 (hildon_pannable_area_button_release_cb): launch the timeout in
7714 case we are in AUTO mode. There are still some constants here that
7715 come from the old implementation that should be reviewed and
7718 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7720 * doc/hildon-docs.sgml
7723 * src/hildon-stackable-window.c
7724 * src/hildon-stackable-window.h
7726 New HildonStackableWindow widget
7728 * examples/hildon-dialog-example.c
7729 * examples/hildon-pannable-area-example.c
7732 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7734 * src/hildon-dialog.c
7735 (hildon_dialog_new_with_buttons): New constructor.
7737 * examples/hildon-dialog-example.c
7738 (main): Update the example to use the new
7739 hildon_dialog_new_with_buttons().
7741 * examples/hildon-pannable-area-example.c
7742 (main): Update example.
7744 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7746 * doc/hildon-docs.sgml
7748 Added HildonPannableArea to the documentation.
7750 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7752 * doc/visual_index.xml
7753 Fix reference to HildonLoginDialog in documentation
7755 * doc/hildon-docs.sgml
7757 * examples/Makefile.am
7758 * examples/hildon-dialog-example.c
7760 * src/hildon-dialog.c
7761 * src/hildon-dialog.h
7763 New HildonDialog widget.
7765 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7767 * src/hildon-pannable-area.c
7768 Merge latest changes (r4318, r4342) from libmokoui trunk
7770 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7772 * examples/Makefile.am
7773 * examples/hildon-pannable-area-example.c
7775 * src/hildon-pannable-area.c
7776 * src/hildon-pannable-area.h
7778 New HildonPannableArea widget.
7780 2008-04-15 18:05:19 <timj@imendio.com>
7782 * src/hildon-banner.c: revert the recent change, that introduced
7783 gtk_window_present() calls. this reopens:
7784 Bug 78481 - [freetest] information banners are hidden under browser menu
7785 But resolves another variant of:
7786 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7788 2008-04-15 13:21:13 <timj@imendio.com>
7790 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7791 recreated its layout, spotted by Kris. this fixes all remaining
7792 artefacts and stability issues with the banner code. in particular:
7793 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7795 2008-04-14 16:52:59 <timj@imendio.com>
7797 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7798 operating on unrealized widgets, fixes:
7799 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7801 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7803 2008-04-09 Kristian Rietveld <kris@imendio.com>
7805 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7806 makes banner disappear.
7807 Fixes: NB#79182: info banner flickering with certain message lengts.
7809 * src/hildon-banner.c (hildon_banner_constructor),
7810 (hildon_banner_init), (hildon_banner_set_text),
7811 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7812 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7813 FALSE, reset size requests of label and banner,
7814 (force_to_wrap_truncated): when the text is too wide, always enforce
7815 the maximum possible width instead of recalculating it from the
7816 layout; enforce the maximum banner height of 3 lines,
7817 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7818 nicer wrapping and no truncated chars if space gets tight.
7820 * src/hildon-banner-private.h: add has_been_wrapped and
7821 has_been_truncated fields.
7823 2008-04-07 Sven Herzberg <sven@imendio.com>
7825 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7826 local values in hildon_date_editor_size_allocate
7828 * src/hildon-date-editor.c: moved the real allocation code into the
7831 2008-04-07 Sven Herzberg <sven@imendio.com>
7833 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7834 local values in hildon_date_editor_size_allocate
7836 * src/hildon-date-editor.c: merged the two if() branches together
7838 2008-04-07 Sven Herzberg <sven@imendio.com>
7840 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7841 local values in hildon_date_editor_size_allocate
7843 * src/hildon-date-editor.c: changed the arguments of the if()
7846 2008-04-07 Sven Herzberg <sven@imendio.com>
7848 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7849 local values in hildon_date_editor_size_allocate
7851 * src/hildon-date-editor.c: split the calculation of the allocation
7852 from the real allocation
7854 2008-03-27 Michael Natterer <mitch@imendio.com>
7856 Fixes: NB#81696: The passcode is not overwritten even after
7859 * src/hildon-code-dialog.c
7860 (hildon_code_dialog_button_clicked)
7861 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7862 because that doesn't overwrite selected text. Instead, emit the
7863 "commit" signal on the entry's im_context so the entry's normal
7864 insert logic is triggered. Set the cursor to the end of the entry
7865 after each insert operation so that we *only* insert in the middle
7866 of the text if something was selected.
7868 2008-03-27 Michael Natterer <mitch@imendio.com>
7870 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7871 selector cannot be opened
7873 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7874 when the popup color selector is created. Please connect to this
7875 signal in order to set the dialog's help ID.
7877 2008-03-25 Sven Herzberg <sven@imendio.com>
7879 Fixes: MB#1212: Hide info banners (infoprints) on click
7881 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7882 extracted the close event simulation into an extra function
7883 (hildon_banner_button_press_event): simulate a close event and destroy
7884 the widget if the event wasn't handled
7885 (hildon_banner_class_init): added the button_press_event handler
7886 (hildon_banner_init): added button-press events to the widget
7888 2008-03-25 Sven Herzberg <sven@imendio.com>
7890 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7891 Patch from: Mohammad Anwari <mdamt@maemo.org>
7893 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7894 instead of the right in RTL mode
7895 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7896 breadcrumb button list in RTL mode
7897 * src/hildon-caption.c: mirror the appearance of the caption widget in
7899 * src/hildon-date-editor.c: mirror appearance of the date editor in
7901 * src/hildon-time-editor.c: mirror appearance of the time editor in
7903 * src/hildon-window.c: fix the position of the popup in RTL mode
7905 2008-03-25 Sven Herzberg <sven@imendio.com>
7907 Amendment to the fix of NB#22072. Fix compilation.
7909 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7911 2008-03-19 Sven Herzberg <sven@imendio.com>
7913 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7916 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7917 timeout id properly when the timeout will disappear this leaves no
7918 artifacts around in the destroy(); there will only be the timeout
7919 created by hildon_banner_ensure_timeout() and adding a new timeout
7920 will also work if the timeout gets removed because the timeout_handler
7923 2008-03-19 Michael Natterer <mitch@imendio.com>
7925 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7927 * src/hildon-volumebar.c
7928 * src/hildon-vvolumebar.c
7929 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7930 the widget becomes focussable at all.
7932 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7933 set the focus to wither the mute button or the volumebar.
7935 Remove own "can-focus" property and instead listen to
7936 notify::can-focus in order to update the widget's state.
7938 Implement GtkWidget::focus() and make sure we can also *leave* the
7939 widget, not only enter it, depending on volumebar orientation and
7940 requested focus direction.
7942 Clean up set_mute() to cooperate nicely with all the above.
7944 2008-03-04 Michael Natterer <mitch@imendio.com>
7946 Fixes: NB#78481: information banners are hidden under browser menu
7948 * src/hildon-banner.c: call gtk_window_present() on the banners so
7949 they are risen if they are already visible.
7951 2008-03-03 Sven Herzberg <sven@imendio.com>
7953 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7955 * examples/hildon-window-menu-example.c: (main): extended the window
7956 menu example to serve as a testcase for automatically added
7957 accelerator groups, too
7958 * src/hildon-window.c: (hildon_window_add_accel_group),
7959 (hildon_window_set_menu): added patch by Tommi Komulainen
7961 2008-03-03 Sven Herzberg <sven@imendio.com>
7963 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7965 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7966 knowledge about the border allocators used within GTK+
7968 2008-02-26 Sven Herzberg <sven@imendio.com>
7970 Fixes: MB#2981: Build with asserts broken
7972 * src/hildon-date-editor.c,
7973 * src/hildon-number-editor.c,
7974 * src/hildon-time-editor.c,
7975 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7976 the proper GType instance check
7978 2008-02-25 Sven Herzberg <sven@imendio.com>
7980 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7982 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7983 * examples/hildon-window-menu-example.c: (main): explicitly show
7985 * src/hildon-window.c:
7986 (hildon_window_set_main_menu): moved most of the code from set_menu()
7987 to this place; skipped the call to gtk_widget_show_all(); also didn't
7988 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7989 (hildon_window_set_menu): removed most of the code, just keep the
7990 questionable gtk_widget_show_all()
7991 * src/hildon-window.h: added the new function and deprecate the old
7994 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8000 * debian/changelog: Updating.
8002 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8005 * pkgconfig/Makefile.am:
8006 * pkgconfig/hildon.pc.in:
8009 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8010 use newly created API_MAJOR_VERSION.
8012 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8018 * debian/changelog: Updating.
8020 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8022 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8024 Add outer_border style property, we use it but don't define it (!).
8028 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8030 * examples/hildon-bread-crumb-trail-example.c (main):
8034 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8036 Fix logic for the bread crumb trail node removal.
8040 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8046 * debian/changelog: Updating.
8048 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 Patch by Alejandro to get/set passwords dialogs accesibility.
8052 * hildon-1/src/hildon-get-password-dialog.c:
8053 * hildon-1/src/hildon-set-password-dialog.c:
8054 Set atk_set_name to the passwd entries in order to allow
8055 accessibility by name on this entries.
8057 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * debian/control: Updating gtk dep.
8064 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8066 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8067 USE_MAEMO_GTK is enabled.
8069 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8071 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8072 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8074 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8080 * debian/changelog: Updating.
8082 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8084 * examples/Makefile.am:
8085 * examples/hildon-logical-color-example.c:
8086 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8087 applied + adding a test case. Fixes: NB#71660.
8089 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8091 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8092 to be visible, fixes warning on map for windows without toolbars.
8094 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8096 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8097 2.11.0, add a check for that besides the MAEMO_GTK check.
8099 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8105 * debian/changelog: Updating.
8107 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8109 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8110 visibility. Fixes: NB#70842 and MB#615.
8112 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8114 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8115 set the separator as no-show-all so it doesn't unintentionally appear when
8116 someone does a show_all.
8118 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8120 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8121 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8122 toplevel item. Fixes: NB#62031
8124 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8126 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8127 fix the name of the function in the docs.
8129 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * debian/changelog: Updating.
8137 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * examples/hildon-banner-long-example.c: Adding a test-case for long
8142 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8144 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * src/hildon-color-chooser-dialog.c:
8147 * src/hildon-color-chooser.c:
8148 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8149 memory leaks in font selector and color selector. Fixes: NB#70499 and
8152 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8154 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8156 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8159 little bit bigger. Fixes: #NB63694.
8161 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * debian/changelog: Updating.
8169 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8172 * doc/hildon-docs.sgml:
8173 * doc/images/bread-crumb-trail.png:
8174 * doc/images/calendar-popup.png:
8175 * doc/images/caption.png:
8176 * doc/images/code-dialog.png:
8177 * doc/images/color-button.png:
8178 * doc/images/color-chooser-dialog.png:
8179 * doc/images/color-chooser.png:
8180 * doc/images/controlbar.png:
8181 * doc/images/date-editor.png:
8182 * doc/images/font-selection-dialog.png:
8183 * doc/images/get-password-dialog.png:
8184 * doc/images/hvolumebar.png:
8185 * doc/images/login-dialog.png:
8186 * doc/images/note.png:
8187 * doc/images/number-editor.png:
8188 * doc/images/range-editor.png:
8189 * doc/images/seekbar.png:
8190 * doc/images/set-password-dialog.png:
8191 * doc/images/sort-dialog.png:
8192 * doc/images/time-editor.png:
8193 * doc/images/time-picker.png:
8194 * doc/images/vvolumebar.png:
8195 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8196 Adding the bread-crumb-trial and helpers to the documentation.
8198 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * examples/hildon-find-toolbar-example.c:
8201 * src/hildon-find-toolbar.c:
8202 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8203 actually continue firing the other handlers if connected. Adding a new
8205 hildon_find_toolbar_get_last_index that gets the index of the most
8206 recently added (last) item. Fixes: NB#52301.
8208 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8211 behaviour. Fixes: NB#68610.
8213 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8218 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8221 when realizing the banner. Should make the infonbanner effect a bit more
8224 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * src/hildon-volumebar.c:
8227 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8228 hildon_volumebar_set_range_insensitive_message and
8229 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8231 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8233 * src/hildon-window.c: Fixing the border freeing on destroy.
8235 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * src/hildon-code-dialog-private.h:
8238 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8239 kw keyboard support in HildonCodeDialog.
8241 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8247 * debian/changelog: Updating.
8249 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8251 * src/hildon-date-editor.c:
8252 * src/hildon-number-editor.c:
8253 * src/hildon-private.c:
8254 * src/hildon-private.h:
8255 * src/hildon-time-editor.c:
8256 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8257 handling in subclassed composite widgets. Fixes: NB#66628.
8259 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8261 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8262 from destroy_ callback as it introduces problems in async dbus signal
8263 handlers. Fixes NB#66673.
8265 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * examples/hildon-hvolumebar-example.c:
8268 * src/hildon-volumebar.c: Improving the focus handling in the
8269 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8270 set_property accessor so that "mute" property can be actually set. I'm
8271 scared that nobody noticed it's totally broken.
8273 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8278 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8280 * src/hildon-calendar.c:
8281 * src/hildon-number-editor.c:
8282 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8283 matches the spec of 6 chars per second. Fixes: NB#60489.
8285 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8288 gtk_style_lookup_color sometime returns FALSE even though color was
8289 found and values were filled properly. Weird. Removing the warning for the
8292 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8294 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8295 expand vertically. Adding some extra space to the find toolbar buttons to
8296 make them thumbable. Fixes NB#66060.
8298 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8300 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8301 popup with "Ok" and "Cancel". Fixes NB#59299.
8303 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * src/hildon-calendar.c: Process all window updates before executing next
8306 timeout. Fixes: NB#54146.
8308 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8314 * debian/changelog: Updating.
8316 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8318 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8319 the client event and ignore it, since we use the delete event to close
8322 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * src/hildon-helper.c: Remove the bogus warning about color not being
8325 found. Fixes NB#58352.
8327 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * examples/Makefile.am:
8330 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8331 HildonSeekbar widget inside a toolbar.
8333 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8335 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8336 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8337 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8338 don't want to be closed by non-temporary windows on map.
8340 Also use G_DEFINE_TYPE instead of manually typed code.
8342 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * debian/rules: Updating.
8351 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8353 * examples/Makefile.am:
8354 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8355 bug NB#61128. Strangely it works.
8357 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8359 * src/hildon-date-editor.c: When the date editor entry has been changed
8360 but the numbers of characters < max, turn off the skip validation flag.
8361 Prevents a situation when we enter first a valid year and later re-write
8362 it with an invalid one. Fixes NB#60154.
8364 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8367 code dialog. Fixes NB#64355.
8369 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8372 switching the page. Fixes NB#49374.
8374 * examples/Makefile.am:
8375 * examples/hildon-wizard-dialog-example.c: Adding an example for
8376 HildonWizardDialog that shows how to handle manual sensitivity setting on
8379 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-version.h.in:
8384 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8386 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8388 * src/hildon-volumebar.c: Updating the docs.
8390 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * debian/changelog: Updating.
8398 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8400 * src/hildon-find-toolbar.c:
8401 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8402 selected item: hildon_find_toolbar_set_active,
8403 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8404 hildon_find_toolbar_get_active_iter . They correspond to respective
8405 GtkComboBox functions.
8407 * examples/Makefile.am:
8408 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8411 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * examples/Makefile.am:
8414 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8417 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8418 when font size > 32 and we pack a focusable widget inside. Actually using
8419 the default response would work too, but since we don't show default
8420 response state in any way (no theming) it would not be visible to the
8421 user. Fixes NB#63430.
8423 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * src/hildon-date-editor.c: Adding the missing variable setter in the
8426 set_property handler. Fixes NB#54182.
8428 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8430 * src/hildon-window.h: Changing the long key press time from 1500ms to
8431 800ms as requested in NB#63700. I have a bad feeling about this, let's
8432 see... Fixes NB#63700.
8434 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8436 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8437 hildon_time_picker_map, hildon_time_picker_realize,
8438 hildon_time_picker_style_set): Split the contents of map to more
8439 appropriate functions; set window decorations on realize and update
8440 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8442 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8447 * debian/changelog: Updating.
8449 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8451 * src/Makefile.am: fixed installation of the header files
8453 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8459 * debian/changelog: Updating.
8461 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8463 * configure.ac: Removing some remaining of --enable-xan.
8465 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8467 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8468 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8470 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8471 2.10.12-osso6 because the move-focus signal needs to be available in
8474 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * examples/Makefile.am:
8477 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8478 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8479 fine. Prolly NB#61128 is fixed now.
8481 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * src/hildon-volumebar.c:
8484 * src/hildon-volumebar.h: Adding the
8485 hildon_volumebar_set_range_insensitive_message and
8486 hildon_volumebar_set_range_insensitive_messagef functions to set
8487 insensitive message on the slider of the volumebar. Fixes NB#61129.
8489 * examples/Makefile.am:
8490 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8491 test the new insensitive messsage functionality on HildonVolumebar.
8493 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8495 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8498 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8500 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8501 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8502 button on after clearing the trail.
8504 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8506 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8508 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8510 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8511 by splitting the installed headers in generated and non-generated groups. Use
8512 only the non-generated headers to create the hildon-enum-types.h file.
8514 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8516 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * src/hildon-window.c: Hide the window before performing the destroy.
8519 Should make the app closing a little tiny bit more snappy.
8521 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8523 * src/hildon-seekbar.c: add gtkrange.h header
8524 * src/hildon-caption.c: remove unused variable
8526 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8528 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8531 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * debian/changelog: Updating.
8539 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8541 * src/hildon-window.c (hildon_window_window_state_event,
8542 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8543 escape timeout on focus-out-event rather than notify::is-topmost; the
8544 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8546 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8548 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8549 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8551 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8553 * src/hildon-window: actually, you need to use the macro always, there's
8554 no private pointer in the instance structure. We should have cleaned this up
8555 when we had the chance...
8557 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8559 * src/hildon-window.c: do not get the private date from HildonWindow before
8560 it passes the g_return_if_fail check. Once it's passed the test, there's no
8561 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8562 if you are only going to access the data once. Whitespace cleanups.
8564 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8566 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8567 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8569 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8575 * debian/changelog: Updating.
8577 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-window.c: When destroying the window, remove (if exists) the
8580 escape timeout handler. Fixes #NB59276.
8582 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-banner.c: When realizing the widget, set the window
8585 transiency. Setting the transiency in the gobject constructor is not
8586 good, as the widget is not realized at that point. Fixes: #NB56624.
8588 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8590 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8591 Add padding for future expansions.
8593 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8595 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8596 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8597 will fake an activation on the previous to the last item of the trail, so
8598 the effect can be overrided by the developer as usual.
8599 Also change the callback for the back button to do the same thing, so its
8600 effect can be overrided too. Fixes: NB#58982
8602 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8605 HildonCaption. Fixes NB#52379.
8607 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8609 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8610 the internal state of the trail after the user has had the chance of executing
8611 his handler for the signal. Specifically, it may happen that the activated button
8612 is removed and the user still lets the default handler run. This would segfault
8615 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8618 scrollbar to the preview dialog. Fixes NB#54147.
8620 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8623 max/min year properties can be altered, so the client can modify it
8624 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8626 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8629 hildonlike by default. Fixing a problem with disappearing arrows when
8630 scrolling through months and years. Fixes NB#54127.
8632 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * examples/hildon-date-editor-example.c: Adding error callback to the date
8637 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8643 * configure.ac: Updating.
8645 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8647 * configure.ac: Adding a special '--enable-xan' configure option that
8648 turns off the -Werror compilation setting. Usefull for development.
8650 * src/hildon-calendar.c:
8651 * src/hildon-number-editor.c:
8652 * src/hildon-time-picker.c: Adding the 5* multiplier to
8655 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8657 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8658 instead of g_object_ref + gtk_object_sink.
8660 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * debian/changelog: Updating.
8668 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-color-chooser-dialog.c:
8671 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8672 straight from Tommi labs.
8674 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * examples/hildon-finger-example.c: Correcting the header file path.
8678 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8679 the changed signal. Fixes a small memory leak.
8681 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * src/hildon-banner.c: Importing several usefull fixes from the
8686 ubuntu-mobile branch.
8688 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8690 * examples/Makefile.am:
8691 * examples/hildon-finger-example.c: Adding a finger-checking code
8694 * src/hildon-font-selection-dialog.c: Do not allocate the color
8695 structure using the g_new. Fixes NB#54061.
8697 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * src/hildon-helper.c: Correcting tabs in file.
8701 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8703 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8704 control the visibility of the children.
8706 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8708 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8714 * debian/changelog: Updating.
8716 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8718 * src/hildon-bread-crumb-trail.c:
8719 (hildon_bread_crumb_trail_size_allocate):
8721 Make the back button always a square.
8723 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8725 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8726 from the .c file as it's a private file.
8728 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8731 uses slightly bigger height.
8733 * src/hildon-font-selection-dialog.c: Adding some checks before
8734 freeing memory in the font selection dialog.
8736 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * src/hildon-font-selection-dialog.c: Adding a small check when
8741 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8742 buttons sensitivity on page switching.
8744 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8746 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8747 internal details of adding a bread crumb to the trail.
8749 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8755 * debian/changelog: Updating.
8757 * src/hildon-bread-crumb-trail.h:
8758 * src/hildon-bread-crumb.h: Changing the API guard to
8759 HILDON_ENABLE_UNSTABLE_API.
8761 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8769 * src/hildon-helper.h: Updating.
8771 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8779 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * src/hildon-helper.h: Small fix to make the package actually compile.
8785 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8787 * src/hildon-bread-crumb-trail.h:
8788 * src/hildon-bread-crumb.h:
8790 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8791 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8793 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8795 * examples/hildon-bread-crumb-trail-example.c:
8797 * src/hildon-bread-crumb-trail.c:
8798 * src/hildon-bread-crumb-trail.h:
8799 * src/hildon-bread-crumb.c:
8800 * src/hildon-bread-crumb.h:
8801 * src/hildon-marshalers.list:
8802 * src/hildon-bread-crumb-widget.c:
8803 * src/hildon-bread-crumb-widget.h:
8805 Slight change in the widget design. The bread crumb trail API is
8806 unchanged, but HildonBreadCrumb is now an interface. A *private*
8807 implementation, hildon-bread-crumb-widget, is provided and used
8808 internally by the trail for the push_text/push_icon functions.
8810 The generic push API is still available, so anyone can implement
8811 and use its own bread crumb widget.
8813 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * debian/rules: Fixing the shlibs.
8817 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * src/hildon-banner.c: Fixing a problem with timed banners having
8820 their parrent destroyed before they are.
8822 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-bread-crumb.c:
8825 * src/hildon-bread-crumb.h:
8827 Make the get_natural_size function a vfunc.
8829 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8831 * src/hildon-bread-crumb.c:
8832 * src/hildon-bread-crumb-trail.c:
8836 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * debian/changelog: Updating for release.
8845 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8847 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8848 don't leak the pango layout.
8850 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8853 * examples/hildon-bread-crumb-trail-example.c:
8857 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * debian/changelog: Removing the bug-fixed entries that were actually
8860 resolved as WONTFIX.
8862 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8865 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8867 * src/hildon-bread-crumb-trail.c:
8868 * src/hildon-bread-crumb-trail.h:
8869 * src/hildon-bread-crumb.c:
8870 * src/hildon-bread-crumb.h:
8874 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8876 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8877 until it's passed the type check.
8879 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8881 * examples/hildon-bread-crumb-trail-example.c
8885 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8887 * examples/Makefile.am
8888 * examples/hildon-bread-crumb-trail-example.c
8890 * src/hildon-bread-crumb-trail.c
8891 * src/hildon-bread-crumb-trail.h
8892 * src/hildon-bread-crumb.c
8893 * src/hildon-bread-crumb.h
8895 New HildonBreadCrumbTrail widget.
8897 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8899 * src/hildon-range-editor.c (hildon_range_editor_init),
8900 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8901 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8902 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8903 hildon_time_editor_class_init, hildon_time_editor_init),
8904 src/hildon-get-password-dialog.c (invalid_input,
8905 hildon_get_password_set_property, hildon_get_password_get_property,
8906 create_contents, hildon_get_password_dialog_set_max_characters),
8907 src/hildon-set-password-dialog.c (create_contents),
8908 src/hildon-date-editor.c (hildon_date_editor_init),
8909 src/hildon-login-dialog.c (hildon_login_dialog_init),
8910 src/hildon-number-editor.c (hildon_number_editor_init),
8911 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8912 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8913 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8914 configure option and adding the respective checks in the code.
8915 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8916 hildon_calendar_drag_data_received): fixed some build warnings.
8918 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8920 * debian/changelog: A 1.0.0 release notes.