1 2009-06-17 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-date-selector.c
4 (hildon_date_selector_select_current_date)
5 (hildon_date_selector_get_date)
6 (hildon_date_selector_select_day):
7 Update the documentation: uses always the range (1-31), as it is obvious
8 that the final one will depend on the month and the year, but globally
9 the range is this, in a similar GtkCalendar approach
10 (hildon_date_selector_get_date):
11 Update the documentation: add NULL as a valid value for the day, month
14 Fix some details, after talk with David King on bug MB#4698
16 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
18 * hildon/hildon-touch-selector-entry.c
19 * hildon/hildon-touch-selector.c
20 Update the documentation of the "text-column" property
22 2009-06-17 David King <davidk@openismus.com>
24 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
25 several typos and errors throughout the documentation.
27 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
30 2009-06-18 Alberto Garcia <agarcia@igalia.com>
32 * hildon/hildon-note.c (hildon_note_realize):
33 Make HildonNote support portrait mode.
35 Fixes: NB#123448 (HildonNote is not portrait-friendly)
37 2009-06-17 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
40 Document this function
42 2009-06-17 David King <davidk@openismus.com>
44 * hildon/hildon-date-selector.c
45 (hildon_date_selector_select_current_date)
46 (hildon_date_selector_get_date): Update documentation regarding days,
47 as the day of the month is dependent on both the month and the year.
48 (hildon_date_selector_get_date): Fix documentation of output arguments.
50 Fixes: MB#4698 (DateSelector documentation has bad output argument
51 description, and the day depends on both the month and the year)
53 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
55 * hildon/hildon-caption.c: Other documentation fixes to
58 2009-06-17 David King <davidk@openismus.com>
60 * hildon/hildon-caption.c: Minor documentation updates for
61 HildonCaption. Fixes MB#4697.
63 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
65 * doc/hildon-docs.sgml: Add hildon-version section.
66 * doc/hildon-sections.txt:
67 * hildon/hildon-version.h.in: Document versioning macros and
70 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
72 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
73 from HildonPickerDialog section.
75 2009-06-16 Alberto Garcia <agarcia@igalia.com>
77 * hildon/hildon-banner.c (hildon_banner_bind_style)
78 (screen_size_changed, hildon_banner_init)
79 (hildon_banner_real_show_information)
80 (hildon_banner_show_information_with_markup)
81 (hildon_banner_show_animation, hildon_banner_show_progress):
82 Set a different widget name to banners in portrait mode, for them
83 to be themed correctly.
85 2009-06-16 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
88 Set a different widget name to notes in portrait mode, for them to
91 Partially fixes: NB#118401 (HildonNote causes unnecessary
94 2009-06-16 Alberto Garcia <agarcia@igalia.com>
96 * hildon/hildon-note.c (hildon_note_class_init)
97 (+hildon_note_size_request, screen_size_changed):
98 Always request the full width of the screen.
100 Fixes: NB#118375 (unnecessary rescaling of images)
102 2009-06-16 Alejandro G. Castro <alex@igalia.com>
104 * hildon/hildon-pannable-area.c,
105 (hildon_pannable_area_init),
106 (hildon_pannable_area_realize): Replaced old code adding flags in
107 the object init, now we add it with the other flags in the realize
110 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-note.c: (hildon_note_class_init): Several
113 documentation improvements to the HildonNote widget.
115 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
117 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
119 Fixes: MB#4556 (HildonNoteType is undocumented)
121 2009-06-15 Alberto Garcia <agarcia@igalia.com>
123 * hildon/hildon-picker-button.c:
124 Explain how HildonPickerButton sets the title of its dialog
126 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
127 the title of its dialog)
129 2009-06-15 Alberto Garcia <agarcia@igalia.com>
131 * hildon/hildon-check-button.c:
132 Documentation updates
134 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
137 2009-06-15 Alberto Garcia <agarcia@igalia.com>
140 * hildon/hildon-edit-toolbar-private.h
141 * hildon/hildon-edit-toolbar.c
142 (+hildon_edit_toolbar_set_progress_indicator)
143 (hildon_edit_toolbar_init): Add progress indicator to the
146 * hildon/hildon-gtk.c
147 (hildon_gtk_window_set_progress_indicator):
148 If the window contains a HildonEditToolbar, enable the progress
151 * hildon/hildon-private.h
152 * hildon/hildon-private.c
153 (+hildon_private_create_animation)
154 * hildon/hildon-banner.c
155 (-hildon_banner_create_animation):
156 Moved to hildon-private.c
158 Fixes: NB#102373 (Progress indicator also for the Edit mode
161 2009-06-15 Alberto Garcia <agarcia@igalia.com>
163 * hildon/hildon-app-menu-private.h
164 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
165 (hildon_app_menu_add_filter, +menu_item_button_event)
166 (hildon_app_menu_button_release, hildon_app_menu_init):
167 Make sure that buttons receive 'button-release-event' in spite of
168 the grab held by HildonAppMenu
170 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
172 2009-06-15 Alberto Garcia <agarcia@igalia.com>
174 * hildon/hildon-app-menu.c
175 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
176 New style property to set the size of the group of filter buttons.
178 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
180 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: Bump version.
186 * debian/changelog: Updates.
188 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
190 * hildon/hildon-main.c: Minor documentation fixes.
192 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
194 * doc/hildon-sections.txt:
195 * hildon/hildon-defines.h: Document the defines, organize them,
196 and mark deprecations as such.
198 Fixes: MB#4463 (Hildon size #defines are undocumented)
200 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
202 * hildon/hildon-animation-actor.c:
203 * hildon/hildon-app-menu.c:
204 * hildon/hildon-button.c:
205 * hildon/hildon-date-editor.c:
206 * hildon/hildon-dialog.c:
207 * hildon/hildon-edit-toolbar.c:
208 * hildon/hildon-entry.c:
209 * hildon/hildon-program.c:
210 * hildon/hildon-remote-texture.c:
211 * hildon/hildon-stackable-window.c:
212 * hildon/hildon-text-view.c:
213 * hildon/hildon-touch-selector.c:
214 * hildon/hildon-window-stack.c:
215 * hildon/hildon-window.c:
217 Remove redundant "represents" wording from most of the documentation.
219 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
221 2009-06-12 Alberto Garcia <agarcia@igalia.com>
226 * hildon/hildon-banner-private.h
227 * hildon/hildon-banner.c:
228 Move HildonBannerPrivate to hildon-banner.c and remove
229 hildon-banner-private.h
230 Use a bit field to store private booleans.
232 2009-06-12 Alberto Garcia <agarcia@igalia.com>
234 * hildon/hildon-app-menu.c (hildon_app_menu_map):
235 Don't install a new idle function if there's already one
240 2009-06-11 Alberto Garcia <agarcia@igalia.com>
242 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
243 (+legacy_menu_realized, +legacy_menu_unmapped)
244 (+set_legacy_menu_type):
245 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
246 they can be identified by the window manager.
248 Fixes: NB#101437 (Invoking CSM on the left side of page area is
249 displayed in wrong location)
251 Fixes: MB#4563 (Popup menu won't locate at the left side of the
254 2009-06-11 Alberto Garcia <agarcia@igalia.com>
256 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
258 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
261 2009-06-11 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-code-dialog.c
264 * hildon/hildon-date-editor.c
265 * hildon/hildon-number-editor.c
266 * hildon/hildon-seekbar.c
267 * hildon/hildon-stackable-window.c
268 * hildon/hildon-window.c:
269 Misc documentation updates
271 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
273 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
274 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
276 Fixes: NB#117931 (Theming issues in accounts dialogs)
278 2009-06-09 Alejandro G. Castro <alex@igalia.com>
280 * hildon/hildon-pannable-area.c,
281 (hildon_pannable_area_button_release_cb): Changed the coordinates
282 of the original release in case we want to discard the release,
283 some widgets in Fremantle do not handle the leave-notify.
285 2009-06-09 Alejandro G. Castro <alex@igalia.com>
287 * hildon/hildon-pannable-area.c,
288 (hildon_pannable_area_button_release_cb): Reviewed the logic of
289 the release using the last refactored functions and avoiding the
290 movement if an element was selected.
292 2009-06-09 Alejandro G. Castro <alex@igalia.com>
294 * hildon/hildon-pannable-area.c,
295 (hildon_pannable_area_check_move),
296 (hildon_pannable_area_handle_move),
297 (hildon_pannable_area_motion_notify_cb): Refactored the
298 motion_notify method using a couple of new functions.
300 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
302 * hildon/hildon-date-selector.c:
303 (hildon_date_selector_construct_ui):
304 * hildon/hildon-time-selector.c:
305 (hildon_time_selector_constructor):
306 * hildon/hildon-touch-selector-entry.c:
307 (hildon_touch_selector_entry_set_text_column),
308 (hildon_touch_selector_entry_get_text_column):
309 * hildon/hildon-touch-selector.c: (_default_print_func),
310 (hildon_touch_selector_new_text): Use
311 hildon_touch_selector_set/get_text_column() instead of
312 setting/getting the "text-column" property.
314 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
316 * doc/hildon-sections.txt: Add the new public methods below.
318 * examples/hildon-picker-button-multicolumn-example.c:
319 (create_touch_selector):
320 * examples/hildon-touch-selector-example.c: (create_selector):
321 * examples/hildon-touch-selector-multi-cells-example.c:
323 Use hildon_touch_selector_column_set_text_column()
325 * hildon/hildon-touch-selector-column.h:
326 * hildon/hildon-touch-selector.c:
327 (hildon_touch_selector_column_set_text_column),
328 (hildon_touch_selector_column_get_text_column):
329 Make hildon_touch_selector_column_set/get_column() public, use
330 them in the inline example, document them, and reference to them
333 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
335 * hildon/hildon-time-selector.c: Fix the docs for
336 hildon_time_selector_new_step().
338 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-touch-selector.c: Improve the documentation for
341 hildon_touch_selector_append_column().
343 Fixes MB#4641 (Documentation:
344 hildon_touch_selector_append_column() ref-counting)
346 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
348 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
349 Comment out test 5, since the hildon_controlbar_set_range() range
350 check is broken and fixing it would have side effects. Also,
351 this finally fixes make distcheck.
353 Fixes: NB#101420 (Update unit tests and fix make distcheck)
355 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
357 * tests/TEST-CASES.txt: Remove other bogus test.
358 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
359 Remove bogus test that was setting/retrieving a valid value.
361 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
363 * tests/TEST-CASES.txt: Remove bogus tests.
364 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
365 Remove three bogus tests that were actually setting valid colors.
367 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
369 * configure.ac: post release version bump
370 * debian/changelog: post release version bump
372 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
377 * configure.ac: Bump version.
378 * debian/changelog: Updates.
380 2009-06-08 Christian Dywan <christian@lanedo.com>
384 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
385 Correct errors in hildon_format_file-size_for_display and use
386 translations from the hildon-fm package instead of osso-filemanager.
388 2009-06-08 Alejandro G. Castro <alex@igalia.com>
390 * hildon/hildon-pannable-area.c,
391 (hildon_pannable_area_init): Initialized new values to handle the
393 (hildon_pannable_area_adjust_value_changed): Check if the values
394 changed before even call the redraw function.
395 (hildon_pannable_area_size_allocate),
396 (hildon_pannable_axis_scroll),
397 (hildon_pannable_area_scroll),
398 (hildon_pannable_area_jump_to): Improved the diagonal movement
401 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
404 2009-06-08 Alberto Garcia <agarcia@igalia.com>
406 * examples/hildon-banner-example.c:
407 Several style updates
408 (on_animation_clicked, on_animation_idle)
409 (on_progress_clicked, on_progress_idle):
410 Add additional reference for the cases when the parent window is
413 2009-06-08 Alberto Garcia <agarcia@igalia.com>
415 * doc/hildon-sections.txt
416 * hildon/hildon-pannable-area.c
417 * hildon/hildon-banner.h
418 * hildon/hildon-banner.c: Documentation updates.
420 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
423 2009-06-05 Alejandro G. Castro <alex@igalia.com>
425 * hildon/hildon-calendar-popup.h:
426 * hildon/hildon-caption.h:
427 * hildon/hildon-code-dialog.h:
428 * hildon/hildon-controlbar.h:
429 * hildon/hildon-date-editor.h:
430 * hildon/hildon-dialog.h:
431 * hildon/hildon-get-password-dialog.h:
432 * hildon/hildon-hvolumebar.h:
433 * hildon/hildon-login-dialog.h:
434 * hildon/hildon-note.h:
435 * hildon/hildon-number-editor.h:
436 * hildon/hildon-range-editor.h:
437 * hildon/hildon-seekbar.h:
438 * hildon/hildon-set-password-dialog.h:
439 * hildon/hildon-sort-dialog.h:
440 * hildon/hildon-time-editor.h:
441 * hildon/hildon-time-picker.h:
442 * hildon/hildon-volumebar-range.h:
443 * hildon/hildon-volumebar.h:
444 * hildon/hildon-vvolumebar.h:
445 * hildon/hildon-weekday-picker.h:
446 * hildon/hildon-window.h:
447 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
448 macros with the current replacements
450 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
452 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
454 * hildon/hildon-color-button.c (hildon_color_button_init): Use
455 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
456 itself, to make it fit better with Fremantle style.
458 Fixes: NB#109878 (height and width of focus on color icon is not
459 consistent with other item in the application tool bar)
461 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
463 * hildon/hildon-touch-selector.c:
464 (hildon_touch_selector_optimal_size_request): use the current requisition
465 as the base, in order to include any possible extra widget, like the
466 hildon entry on HildonTouchSelectorEntry
468 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
470 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
472 * configure.ac: post release version bump
473 * debian/changelog: post release version bump
475 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
480 * configure.ac: Bump version.
481 * debian/changelog: Updates.
483 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
485 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
487 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
488 to ensure the banner contents are centered, instead of relying on
489 the expand and fill properties in GtkHBox.
490 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
492 Fixes: NB#108265 (Animation banner not properly centered)
494 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
496 * hildon/hildon-pannable-area.c
497 (hildon_pannable_area_initial_effect): Remove the initial_effect
498 management, check initial_hint
499 (hildon_pannable_are_expose_event): Remove the initial_hint management,
500 set initial_effect to FALSE
501 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
502 by launching the fade_timeout if the scrollbars state has changed and are
504 * examples/hildon-pannable-area-initial-hint-example.c
505 Modified to allow to remove rows too. Add and remove rows one by one.
507 2009-05-28 Alberto Garcia <agarcia@igalia.com>
509 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
510 Don't close the menu if there's an animation actor below it.
512 Fixes: NB#117927 (Application menu not usable with animation
515 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
517 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
518 "focus-on-click" from the dialog button, to avoid stealing the
519 focus from the entry.
521 Fixes: NB#118903 (Account setup wizard: Text in Search field
522 should be focused when "Region" touch list picker is reopened
525 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
527 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
528 (prepare_action_area): Completely hide the dialog separator.
530 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-touch-selector-entry.c
533 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
534 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
535 now that the entry is exposed.
537 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
539 * hildon/hildon-touch-selector-entry.c
540 (hildon_touch_selector_entry_init): Change the entry's size
541 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
543 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
545 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
546 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
547 avoid unnecessary scaling.
549 2009-05-27 Alberto Garcia <agarcia@igalia.com>
551 * hildon/hildon-app-menu.c (hildon_app_menu_map):
552 Create grab transfer window before calling parent's map function.
554 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
555 "crushed" button(s) in the top left corner)
557 2009-05-26 Alberto Garcia <agarcia@igalia.com>
559 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
560 Check if the window is already realized when pushing it.
562 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
564 * configure.ac: post release version bump
565 * debian/changelog: post release version bump
567 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: Bump version.
573 * debian/changelog: Updates.
575 2009-05-25 Alberto Garcia <agarcia@igalia.com>
577 * hildon/hildon-app-menu.c: Doc updates.
579 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
581 * hildon/hildon-banner.c: Remove leftover macro.
583 2009-05-25 Alejandro G. Castro <alex@igalia.com>
585 * hildon/hildon-pannable-area.c,
586 (hildon_pannable_area_scroll_indicator_fade),
587 (hildon_pannable_area_button_release_cb): Reviewed vmin
588 conditions, it could cause problems in the fadeout procedure.
590 2009-05-25 Alejandro G. Castro <alex@igalia.com>
592 * hildon/hildon-pannable-area.c
593 (hildon_pannable_area_button_release_cb): Added a threshold to
594 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
596 2009-05-25 Alejandro G. Castro <alex@igalia.com>
598 * hildon/hildon-pannable-area.c,
599 (hildon_pannable_area_set_property): Added code to sync the gtk
600 dnd threshold with the panning threshold.
602 2009-05-25 Alejandro G. Castro <alex@igalia.com>
604 * hildon/hildon-pannable-area.c,
605 (hildon_pannable_area_class_init): Changed some of the default
606 values, now it should be less responsive and more accurate.
608 2009-05-25 Alejandro G. Castro <alex@igalia.com>
610 * hildon/hildon-pannable-area.c,
611 (hildon_pannable_area_init),
612 (hildon_pannable_area_scroll_indicator_fade),
613 (hildon_pannable_area_button_press_cb),
614 (hildon_pannable_axis_scroll),
615 (hildon_pannable_area_timeout),
616 (hildon_pannable_area_motion_notify_cb),
617 (hildon_pannable_area_button_release_cb): Changed the name of the
618 clicked attribute to button_pressed, it is more clear about its use.
620 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
622 * src/hildon-pannable-area.c
623 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
625 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
626 vertical scrollbar visibility, and use the data on private section instead,
627 remove the initial_hint check
628 (hildon_pannable_area_expose_event): add the initial_hint check here
630 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
632 * src/hildon-pannable-area.c
633 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
634 if the fadeout effect was used
635 (hildon_pannable_area_expose_event): check if it is required to
636 manage the initial effect on the begining of the function. Previously
637 it was made at the end, but this doesn't ensure that the scrollbars
638 will be painted on the first show. Do not set to FALSE initial_effect,
639 to ensure that the initial hint is showed the first time the pannable
641 * examples/Makefile.am
642 * examples/hildon-pannable-area-initial-hint-example.c:
643 New example, to show that the initial-hint is showed when the widget
646 Fixes: NB#116607 (Pannable area should always have scrollbar visible
647 initially if the application can be scrolled)
649 2009-05-25 Alberto Garcia <agarcia@igalia.com>
651 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
652 Resize table before adding new items to make sure that
653 gtk_table_resize() is called just once.
655 2009-05-25 Alberto Garcia <agarcia@igalia.com>
657 * hildon/hildon-app-menu-private.h
658 * hildon/hildon-app-menu.c (item_visibility_changed)
659 (filter_visibility_changed, hildon_app_menu_show_all)
660 (hildon_app_menu_hide_all, hildon_app_menu_init):
661 Rearrange items just once when gtk_widget_show_all()/hide_all()
664 2009-05-25 Alberto Garcia <agarcia@igalia.com>
666 * hildon/hildon-app-menu.c
667 (hildon_app_menu_insert, hildon_app_menu_add_filter):
668 Don't call gtk_widget_show() on added items.
670 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
671 automatically when they're added)
673 2009-05-20 Alberto Garcia <agarcia@igalia.com>
675 * hildon/hildon-banner.c
676 (hildon_banner_realize, +hildon_banner_unrealize)
677 (+screen_size_changed, hildon_banner_class_init):
678 Redisplay the banner if the screen is rotated.
680 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
681 on transition from landscape to portrait)
683 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
685 * hildon/hildon-banner.[ch]:
686 (hildon_banner_show_information_override_dnd): remove icon_name from the
687 method definition as it is ignored.
688 * examples/hildon-banner-dnd-example.c: updated with the change on
691 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
693 * hildon/hildon-banner-private.h: new require_override_dnd and
694 overrides_dnd variables
695 * hildon/hildon-banner.h:
696 (hildon_banner_show_information_override_dnd): new method, that shows
697 the information but sets the override flag, in order to show important
699 * hildon/hildon-banner.c
700 (hildon_banner_show_information_override_dnd): new method
701 (hildon_banner_set_override_flag): new utility function
702 (hildon_banner_real_show_information): new utility function, in order to
703 generalize the current hildon_banner_show_information_override_dnd and
704 hildon_banner_show_information_override_dnd
705 * examples/Makefile.am
706 * examples/hildon-banner-dnd-example.c: New example that show how to
707 use the new hildon_banner_show_information_override_dnd
709 Fixes: NB#114874 (There is no possibility to show hildon banners with
712 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
714 * hildon/hildon-pannable-area.c: Add a comment explaining the math
715 behind hildon_pannable_calculate_vel_factor().
717 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
719 * hildon/hildon-pannable-area.c
720 (hildon_pannable_calculate_vel_factor): Correct the sum of the
721 deceleration factors.
723 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
725 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
726 Reduce the default value for 'scroll_time' to 1 second, since the
727 current initial scrolling takes too much time.
729 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
731 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
732 calculate velocity factor during initialization, since the properties
735 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
737 * hildon/hildon-pannable-area.c
738 (hildon_pannable_area_set_property): Calculate the velocity factor
739 after setting the deceleration property and not after.
741 2009-05-20 Alberto Garcia <agarcia@igalia.com>
743 * hildon/hildon-entry.c
744 (hildon_entry_class_init, +set_property, hildon_entry_new)
745 * hildon/hildon-check-button.c
746 (hildon_check_button_class_init)
747 (+set_property, hildon_check_button_new):
748 Make the theme size a property.
750 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
751 others) do too much in the _new function)
753 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
755 * configure.ac: post release version bump
756 * debian/changelog: post release version bump
758 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
763 * configure.ac: Bump version.
764 * debian/changelog: Updates.
766 2009-05-15 Alberto Garcia <agarcia@igalia.com>
768 * hildon/hildon-gtk.h
769 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
770 New API function to take a screenshot of a window
772 Fixes: NB#106374 (Need API to take a loading screenshot)
774 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
776 * hildon/hildon-time-selector.c
777 (update_format_policy): prevent to use hours and minutes unitialized
779 2009-05-15 Alberto Garcia <agarcia@igalia.com>
781 * hildon/hildon-window.c (hildon_window_size_request):
782 Always request the full size of the screen (minus the title bar if
783 not in fullscreen mode).
785 Fixes: NB#107486 (HildonWindow should size itself properly)
787 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
789 * hildon/hildon-note-private.h: Add idle_handler to the private data.
790 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
791 (on_show_cb), (sound_handling): Disconnect the idle handler for
792 the sound when the note is finalized to avoid possible crashes.
794 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
797 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
799 * src/hildon-animation-actor.c,
800 * src/hildon-remote-texture.c:
801 Added proper object cleanup to remove signal handler and object
802 references as HildonAnimationActor and HildonRemoteTexture
803 objects get destroyed.
805 Fixes: NB#116682 (Destroying parented animation actors when
806 parent in unmapped leads to crash)
808 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
810 Based on a patch by Christian Dywan (christian@imendio.com)
812 * doc/hildon-sections.txt:
813 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
814 * hildon/hildon-helper.h: New file size formatting method.
816 * debian/control: Depend on osso-filemanager l10n package for
817 proper localization strings.
819 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
821 * tests/Makefile.am: Include top_srcdir to make possible to build
822 tests in a different builddir.
823 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
824 on a different builddir.
826 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
828 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
829 (hildon_touch_selector_remove): Disconnect model's signal handler
832 Fixes: NB#116289 (Hildon home crashes while adding task
835 2009-05-11 Alberto Garcia <agarcia@igalia.com>
837 * hildon/hildon-button.c
838 (hildon_button_set_title, hildon_button_set_value):
839 Hide labels containing an empty string.
841 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
843 * configure.ac: post release version bump
844 * debian/changelog: post release version bump
846 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
851 * configure.ac: Bump version.
852 * debian/changelog: Updates.
854 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
856 * hildon/hildon-note-private.h: Removed sound_signal_handler
857 * hildon/hildon-note.c
858 (on_show_cb): new callback on note "show" event, this simply adds
859 a idle, with the function sound_handling
860 (sound_handling): removed the sound_signal_handler management
861 (hildon_note_init): connect note "show" event to on_show_cb
862 (hildon_note_realize): remove the connection to "expose-event"
864 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
865 device?' confirmation note)
867 2009-05-08 Alberto Garcia <agarcia@igalia.com>
869 * hildon/hildon-note.c
870 (hildon_note_new_information_with_icon_name)
871 (hildon_note_new_confirmation_with_icon_name):
872 Terminate the list of parameters in g_object_set() calls
874 Fixes: NB#115166 (Formatting memory card is not taking place)
876 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
878 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
879 "dialog-information" role for the sound being played.
881 2009-05-06 Alberto Garcia <agarcia@igalia.com>
883 * hildon/hildon-app-menu.c (hildon_app_menu_init):
884 Don't make the menu a modal window, it causes strange interactions
885 with the pointer grab and it's not really needed.
887 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
889 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
891 * hildon/hildon-touch-selector.[ch]
892 (hildon_touch_selector_optimal_size_request): function added to get a
893 optimal size request from the touch selector, when you want a dialog to
894 show as much of the selector
895 * hildon/hildon-picker-dialog.c:
896 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
897 (hildon_app_menu_class_init):
898 New "max-height-landscape" and "max-height-portrait" style properties
899 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
900 (hildon_picker_dialog_get_max_height): returns the maximum height using
901 the style properties defined and checking the current portrait/landscape
903 (_hildon_picker_dialog_set_selector): removed the set_size_request
905 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
907 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
909 * hildon/hildon-bread-crumb-trail.c:
910 * hildon/hildon-bread-crumb.c:
911 * hildon/hildon-seekbar.c:
912 Add reference to replacements for these deprecated widgets.
914 Fixes: MB#4461 (Documentation: All deprecations should mention
917 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
919 * examples/hildon-remote-texture-example.c
921 Change the include to the hildon-remote-texture in order to compile
922 properly the examples on the installed libhildon1-examples package
924 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
926 * tests/Makefile.am: Add check for HildonPickerButton.
927 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
928 (START_TEST), (create_hildon_picker_button_suite): Add three simple
929 checks for the HildonPickerButton.
930 * tests/check_test.c (configure_tests): Add the test suite.
931 * tests/test_suites.h: likewise.
933 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
935 * hildon/hildon-touch-selector.c
936 (+on_row_changed): Emit HildonTouchSelector:changed when the
937 contents of a selected row change.
938 (_create_new_column), (_hildon_touch_selector_set_model): connect
939 to GtkTreeModel:row-changed on a newly set model.
941 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
943 2009-05-05 Alberto Garcia <agarcia@igalia.com>
945 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
947 * hildon/hildon-banner.c (hildon_banner_destroy)
948 (hildon_banner_show_progress, hildon_banner_set_fraction):
949 Remove the progress bar from HildonBanner and use a progress
952 Fixes: NB#113761 (Update progress banner to use progress
955 2009-05-04 Alberto Garcia <agarcia@igalia.com>
957 * hildon/hildon-banner.c:
958 Calculate size of the banner label using the actual screen width
959 rather than using a fixed value.
961 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
964 2009-05-04 Alejandro G. Castro <alex@igalia.com>
966 * hildon/hildon-pannable-area.c,
967 (hildon_pannable_area_class_init): Fixed signals documentation
970 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
972 * configure.ac: post release version bump
973 * debian/changelog: post release version bump
975 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
980 * configure.ac: Bump version.
981 * debian/changelog: Updates.
983 2009-05-01 Alberto Garcia <agarcia@igalia.com>
985 * hildon/hildon-edit-toolbar.c
986 (hildon_edit_toolbar_init):
987 Don't let buttons in HildonEditToolbar receive focus.
989 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
990 typing on an HW arrows key)
992 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
994 * doc/Makefile.am: Fix build.
996 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
998 * doc/Makefile.am: Do not redefine content_files.
1000 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1008 Renamed src/ to hildon/
1013 Include <hildon/hildon.h> directly in all examples.
1015 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1017 * src/hildon-sort-dialog.c
1018 (hildon_sort_dialog_add_sort_key_with_sorting)
1022 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1024 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1025 make distcheck passes.
1027 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1029 * Makefile.am: Enable gtk-doc during distcheck.
1031 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1033 * Makefile.am: Do not distribute the debian/ directory.
1035 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1037 * doc/Makefile.am: Add the extra SGML files to content_files,
1038 so that they are distributed properly.
1040 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1042 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1045 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1048 (hildon_note_new_information_with_icon_name): Set the "icon" property
1049 to preserve soundness.
1051 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-font-selection-dialog.c
1054 (hildon_font_selection_dialog_set_property): Fail when the "family"
1055 property is set to NULL.
1057 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1059 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1062 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1064 * src/hildon-time-selector.h:
1065 Added HildonTimeSelectorFormatPolicy
1066 * src/hildon-time-selector.c:
1067 Added PROP_TIME_FORMAT_POLICY
1068 (_check_ampm_format): renamed to check_automatic_ampm_format
1069 (update_format_policy), (update_format_dependant_columns): new functions
1070 (hildon_time_selector_class_init)
1071 (hildon_time_selector_contructor)
1072 (hildon_time_selector_init)
1073 (hildon_time_selector_get_property)
1074 (hildon_time_selector_set_property)
1075 (hildon_time_selector_get_time)
1076 (hildon_time_selector_set_time)
1077 * src/hildon-touch-selector.h: new file
1078 * src/hildon-touch-selector.c
1079 (hildon_touch_selector_emit_changed)
1080 (hildon_touch_selector_block_changed)
1081 (hildon_touch_selector_unblock_changed)
1082 Added functions to allow to block the emission of the "changed" signal
1083 * src/hildon-picker-dialog.c
1084 (hildon_picker_dialog_show): call the parent show before the custom code
1085 * examples/hildon-time-button-example.c
1086 Modified, so now you can configure the time format using the new property
1088 Added a new property "time-format-policy" that allow to choose the time
1089 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1090 case it uses gconf in order to check if the time selector must use
1093 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1096 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1098 * src/hildon-note.c (hildon_note_init):
1099 Label in HildonNote must be left aligned, not centered. This
1100 reverts the last commit in HildonNote.
1102 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1103 is connectivity dialog)
1105 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1110 * doc/hildon-sections.txt:
1111 Added hildon_gtk_window_set_do_not_disturb()
1113 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1115 * src/hildon-note.c (hildon_note_init): Center label.
1117 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1120 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1125 * configure.ac: Bump version.
1126 * debian/changelog: Updates.
1128 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1130 * src/hildon-note-private.h: Add button-width to the private data.
1131 * src/hildon-note.c (+resize_button),
1132 (+hildon_note_orientation_update): methods to repack widgets on orientation
1134 (screen_size_changed): Call above method for confirmation notes.
1135 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1136 (hildon_note_rebuild): Store the original width request from buttons.
1138 Fixes: NB#109635 (Confirmation notes do not support portrait)
1140 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1143 when it is a progress note.
1145 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1148 in the note, since there are no horizontally arranged contents.
1150 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1152 * src/hildon-gtk.c (+set_flag): new generic method to
1153 set/delay a flag setting in a window.
1154 (hildon_gtk_window_set_progress_indicator):
1155 (hildon_gtk_window_set_do_not_disturb),
1156 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1157 avoid code redundance.
1159 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1161 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1163 * src/hildon-gtk.c (set_clear_window_flag),
1164 (do_set_progress_indicator), (do_set_do_not_disturb),
1165 (do_set_portrait_flags),
1166 (hildon_gtk_window_set_progress_indicator),
1167 (hildon_gtk_window_set_do_not_disturb),
1168 (hildon_gtk_window_set_portrait_flags):
1169 Allow setting dnd-flag, progress indicator, and portrait flags
1170 when the window is not realized.
1172 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1174 * src/hildon-pannable-area.c,
1175 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1176 the size request policy function and defines.
1178 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1180 * doc/hildon-sections.txt: Add the new API.
1181 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1182 method to set the portrait flags.
1183 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1185 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1187 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1189 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1190 to allow using this method with other flags.
1191 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1192 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1194 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1196 * src/hildon-touch-selector.c
1197 (hildon_touch_selector_append_text_column):
1198 Make the cell renderer use the smallest width possible.
1200 Fixes: NB#108470 (Selected items in multiple selection are either
1201 having a tick that is cut or not visible at all.)
1203 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-touch-selector.c
1206 (hildon_touch_selector_append_text_column):
1209 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1212 Use g_strdup_printf() instead of a fixed size buffer.
1214 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1217 Close banners when a HildonAppMenu is popped up.
1219 Fixes: NB#111027 (Title menu closed immediately if activated when
1220 "Invalid e-mail address" banner is shown)
1222 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1227 * configure.ac: Bump version.
1228 * debian/changelog: Updates.
1230 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-banner.c (hildon_banner_realize):
1233 Mark HildonBanner as supporting portrait mode.
1234 Use GDK to set window properties insetad of direct Xlib calls.
1236 Fixes: NB#111830 (HildonBanner should be marked as supporting
1239 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-note.c (hildon_note_rebuild):
1242 Hide action area in information notes. Prevents text from being
1243 slightly aligned to the left.
1245 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1248 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1250 Patch by Mox Soini (ext-mox.soini@nokia.com)
1252 * src/hildon-banner.c (hildon_banner_create_animation):
1253 Use stylus-sized icons in animation banner.
1255 Fixes: NB#111206 (stylus sized icon for animation banner)
1257 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1261 (+hildon_gtk_window_set_do_not_disturb):
1262 New API to set the do-not-disturb flag.
1264 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1266 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1268 * examples/hildon-progress-indicator-example.c: Fix example
1270 * src/hildon-gtk.c (set_clear_window_flag)
1271 (hildon_gtk_window_set_progress_indicator):
1272 Create a generic function for setting flags to a window.
1273 Use GDK instead of direct Xlib calls.
1275 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-button.c (hildon_button_set_arrangement):
1278 Due to NB#88126, if one of the labels is too long it will be
1279 painted outside the button. The 'value' label is more likely to be
1280 the longest one, so we change its packing options in order to
1281 truncate it if necessary. As a side effect, the 'title' label will
1282 no longer be truncated.
1284 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1286 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1291 * configure.ac: Bump version.
1292 * debian/changelog: Updates.
1294 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1296 Deprecation of the hildon_pannable_area_set_size_request_policy
1297 API, the only policy properly supported in gtk+ nowadays is the
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_size_request): Added a workaround for the
1302 size_request to avoid the problems of huge pixmaps in case someone
1303 is still using the function.
1304 * src/hildon-pannable-area.h: Deprecated the enum with the
1307 Fixes: NB#110244 (Problems with the
1308 hildon_pannable_area_set_size_request_policy API)
1310 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1312 * src/hildon-pannable-area.c,
1313 (hildon_pannable_area_init),
1314 (hildon_pannable_area_size_request),
1315 (hildon_pannable_area_style_set),
1316 (hildon_pannable_draw_vscroll),
1317 (hildon_pannable_draw_hscroll),
1318 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1319 indicator_width to clarify the use of the attribute.
1321 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: Bump version.
1327 * debian/changelog: Updates.
1329 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1331 * src/hildon-picker-dialog.c
1332 * src/hildon-touch-selector.c
1333 Reverting the change that tried to avoid the hardcoded height on
1334 the picker dialog, as causes problems on the hildon-touch-selector
1337 Fixes: NB#110029 (selectors not scrolling to selected value)
1339 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1341 * src/hildon-touch-selector.c: Fix typos
1343 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1345 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1346 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1347 request more motions after using it.
1349 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1351 * src/hildon-calendar.c (hildon_calendar_expose),
1352 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1353 Remove unused variables.
1355 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1357 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1358 variable assignment.
1360 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1363 Check the return value of gtk_tree_selection_get_selected()
1366 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-animation-actor.c
1369 * src/hildon-button.c
1371 * src/hildon-pannable-area.c
1372 * src/hildon-picker-button.c
1373 * src/hildon-program.c
1374 * src/hildon-remote-texture.c
1375 * src/hildon-text-view.c
1376 * src/hildon-touch-selector.c
1377 * src/hildon-window-stack.c
1378 * src/hildon-window.c:
1379 Add missing 'Since: 2.2' tags.
1381 * doc/hildon-sections.txt:
1382 Add some missing symbols.
1384 * doc/hildon-docs.sgml:
1385 New 'Other' section for HildonAnimationActor and
1388 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1390 Patch by Iván Gómez (igomez@igalia.com)
1393 * doc/compiling.sgml
1394 * doc/hildon-docs.sgml
1395 * doc/hildon-sections.txt
1396 * doc/migration.sgml
1397 * doc/resources.sgml
1399 New chapters on using the Hildon library.
1400 Updated the general structure of the reference manual.
1401 Other minor documentation fixes.
1403 * src/hildon-calendar-popup.c
1404 * src/hildon-calendar.c
1405 * src/hildon-controlbar.c
1406 * src/hildon-date-editor.c
1407 * src/hildon-dialog.c
1408 * src/hildon-hvolumebar.c
1409 * src/hildon-number-editor.c
1410 * src/hildon-range-editor.c
1411 * src/hildon-sort-dialog.c
1412 * src/hildon-time-editor.c
1413 * src/hildon-time-picker.c
1414 * src/hildon-volumebar-range.c
1415 * src/hildon-volumebar.c
1416 * src/hildon-vvolumebar.c
1417 * src/hildon-weekday-picker.c:
1418 Add deprecation notes
1420 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1421 Document 'horizontal-movement' and 'vertical-movement' signals.
1423 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1428 * configure.ac: Bump version.
1429 * debian/changelog: Updates.
1431 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_class_init): increased the minimum velocity.
1435 (hildon_pannable_area_button_release_cb): Updated the
1436 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1437 setup. Review the code to control that last event.
1439 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1442 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1444 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1446 * src/hildon-get-password-dialog.c
1447 (hildon_get_password_set_property),
1448 (hildon_get_password_get_property), (create_contents):
1449 * src/hildon-login-dialog-private.h:
1450 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1451 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1452 (hildon_login_dialog_get_password):
1453 * src/hildon-set-password-dialog-private.h:
1454 * src/hildon-set-password-dialog.c
1455 (hildon_set_password_set_property),
1456 (hildon_set_password_get_property), (create_contents),
1457 (hildon_set_password_response_change),
1458 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1460 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1461 instead and look more Fremantle style.
1463 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1465 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1467 * doc/hildon-sections.txt
1468 * src/hildon-window-stack.h
1469 * src/hildon-window-stack.c
1470 (+hildon_window_stack_get_windows):
1471 New API to obtain the list of windows on a stack.
1473 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1475 * src/hildon-app-menu.c (hildon_app_menu_popup)
1476 (hildon_app_menu_class_init, -hildon_app_menu_show):
1477 Remove hildon_app_menu_show() and move all its checks to
1478 hildon_app_menu_popup()
1480 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1482 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1483 (_hildon_picker_dialog_set_selector): removed call to
1484 gtk_widget_set_size_request
1485 * src/hildon-touch-selector.c
1486 (_create_new_column): change the pannable size request policy
1488 Avoid to use a hardcoded height for the hildon picker dialog. In order
1489 to get that, we needed to change the hildon pannable size request
1491 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1493 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1496 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1499 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1501 * debian/control: Depend on osso-system-lock localization package.
1502 * src/hildon-code-dialog.c: Obtain the secu_application_title
1503 translation from osso-system-lock.
1504 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1505 for translation the atk related strings, that's not necessary.
1506 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1507 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1508 cancel button, it is not required.
1510 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1512 * src/hildon-pannable-area.c,
1513 (hildon_pannable_area_class_init): Modified the default value of
1514 the overshooting max speed, we have reduced it.
1516 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1518 * doc/hildon-sections.txt
1519 * src/hildon-window-private.h
1520 * src/hildon-window.h
1521 * src/hildon-window.c (hildon_window_class_init)
1522 (hildon_window_init, hildon_window_finalize)
1523 (hildon_window_realize, hildon_window_get_property)
1524 (hildon_window_set_property, hildon_window_update_markup)
1525 (hildon_window_get_markup, hildon_window_set_markup):
1526 New "markup" property and hildon_window_{get,set}_markup() methods.
1528 * examples/hildon-stackable-window-example.c (new_window):
1529 Update example to use hildon_window_set_markup()
1531 Fixes: NB#106375 (Need API to retitle a window with a title
1534 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1536 * src/hildon-pannable-area.c,
1537 (hildon_pannable_area_class_init): Changed the default value of
1538 the initial_hint to TRUE.
1539 (hildon_pannable_area_initial_effect): Changed the initial effect,
1540 not the effect is just the fade-out of the scrollbars.
1542 Fixes: NB#107775 (No scrollbars can be seen when several items are
1543 available in a dialog)
1545 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-program.c (hildon_program_update_top_most):
1550 Fixes: NB#109179 (Memory leak in Hildon program)
1552 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-banner.c (-get_current_app_window):
1555 Remove unused function.
1557 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1559 * src/hildon-pannable-area.c: Modified the documentation of the
1560 get adjustments functions to explain the problem of using the
1561 adjustment directly.
1562 (hildon_pannable_area_class_init): Improved the explanation about
1565 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-app-menu-private.h
1568 * src/hildon-app-menu.c
1569 (hildon_app_menu_class_init):
1570 Bring back the 'external-border' style property
1571 (hildon_app_menu_class_init, hildon_app_menu_init)
1572 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1573 Set a fixed width-request for the menu, independent of the number
1576 Fixes: NB#94957 (Smoothly opened application menu)
1578 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1580 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1582 * src/hildon-banner.c
1583 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1585 Make sure that the banner is correctly placed the first time it's
1587 (hildon_banner_check_position, -check_fullscreen_state):
1588 Show the banner in the same place no matter if the window is in
1589 fullscreen mode or not.
1591 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1593 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-touch-selector.c (_default_print_func): reorder
1596 concatenation for clarity.
1598 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1600 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1601 for multicolumn selectors.
1603 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1605 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1610 * configure.ac: Bump version.
1611 * debian/changelog: Updates.
1613 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1618 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1620 * configure.ac: removed libcangerra-gtk dependency
1621 * debian/control: removed libcanberra-gtk dependency
1622 * src/Makefile.am: removed libcanberra gtk related flags
1623 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1624 context, and manage a global canberra context instead
1626 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1628 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1630 Patch by Daniel Borgmann (danielb@openismus.com)
1632 * src/hildon-edit-toolbar.c:
1633 Adjust the left padding.
1634 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1635 Paint background of the edit toolbar.
1637 Fixes: NB#107897 (Patch to make editmodetoolbar background
1638 themeable and adjust margin)
1640 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1642 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1644 * src/hildon-program.c (hildon_program_update_top_most):
1645 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1647 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1648 change when the user tasks in/out of an application)
1650 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1652 * configure.ac: added libcangerra-gtk dependency
1653 * debian/control: added libcanberra-gtk dependency
1654 * src/Makefile.am: added libcanberra gtk related flags
1655 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1658 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1660 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-program.c (hildon_program_remove_window)
1663 (hildon_program_add_window): Add checks for the window
1664 parameter. Don't decrease the window counter if the window is not
1667 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1669 * src/hildon-pannable-area.c,
1670 (hildon_pannable_area_realize): Fixed position of the event_window
1671 in the realize method.
1673 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-app-menu-private.h
1676 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1677 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1678 (hildon_app_menu_key_press, hildon_app_menu_init)
1679 (hildon_app_menu_finalize):
1680 Make sure that all idle functions are removed when the widget is
1683 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1685 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: Bump version.
1691 * debian/changelog: Updates.
1693 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-entry.c
1696 (+hildon_entry_show_placeholder),
1697 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1698 that replace hildon_entry_update_contents().
1699 (hildon_entry_set_text),
1700 (hildon_entry_set_placeholder),
1701 (hildon_entry_focus_in_event),
1702 (hildon_entry_focus_out_event): Determine when it is needed
1703 either to show or hide the placeholder and call the above methods.
1705 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1706 when the placeholder text is already set)
1708 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1711 simple GdkPixbufAnim using the new icons for the banner.
1712 (hildon_banner_show_animation): Use the above mentioned method to
1713 create the animation widget.
1715 Fixes: NB#103564 (Make hildon animation banner use individual
1716 image files as the animation)
1718 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_leave_notify_event): Check if the child is NULL
1722 to avoid sending the leave.
1724 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1726 * src/hildon-pannable-area.c,
1727 (hildon_pannable_area_class_init),
1728 (hildon_pannable_leave_notify_event): Added a handler of the
1729 leave-notify-signal to consider when no motion notify before
1732 Fixes: NB#107494 (Items stay selected when clicking and moving
1733 away when inside pannable area)
1735 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1740 * configure.ac: Bump version.
1741 * debian/changelog: Updates.
1743 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1745 Patch by Alberto Garcia (agarcia@igalia.com)
1747 * src/hildon-date-button.c,
1748 (hildon_date_button_class_init),
1749 (hildon_date_button_init): Removed the construct property handling
1750 and created a default selector in the init method.
1751 * src/hildon-picker-button.c,
1752 (hildon_picker_button_class_init): Removed the construct flag of the
1755 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-main.c (hildon_init):
1758 Don't allow hildon_init() to be called more than once.
1760 Fixes: NB#106607 (hildon_init should issue error message upon
1763 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1765 * examples/hildon-pannable-area-touch-list-example.c
1766 * examples/hildon-pannagle-area-touch-grid-example.c
1767 * examples/hildon-edit-toolbar-example.c
1768 * examples/hildon-touch-selector-multi-cells-example.c
1769 Removed the call to gtk_rc_parse_string, as it is not required since
1772 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_class_init): Modified the default panning
1776 threshold of the widget to 6px.
1778 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1779 than the threshold value ) within the button is not sending the
1782 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1785 for the treeview in the new column. This way, the touch list will never
1788 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1789 be selected manually for the HW keys to work)
1791 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1793 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1794 comparison instead of using strcmp(). Fixes a compiler warning as well.
1796 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1798 * doc/hildon-docs.sgml: Do not set the library version in the
1799 document title, use the releaseinfo tag for that purpose instead.
1801 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1804 Do not jump to the first item if the text in the entry is removed.
1806 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1811 * configure.ac: Bump version.
1812 * debian/changelog: Updates.
1814 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-entry.c (hildon_entry_refresh_contents):
1817 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1818 Use "ReversedSecondaryTextColor" for the placeholder text.
1820 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-text-view.c: Fix compilation warning.
1824 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-button.c (hildon_button_class_init): Don't make
1827 "title" and "value" construction properties, to prevent them from
1828 overwriting labels set from derived classes.
1830 * src/hildon-picker-button.c
1831 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1832 (hildon_picker_button_class_init): Make touch-selector a
1833 construction property.
1835 * src/hildon-date-button.c (hildon_date_button_class_init)
1836 (+hildon_date_button_constructed): Add a default date selector if
1839 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-touch-selector.c: Small documentation fixes.
1843 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1845 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1847 * src/hildon-entry.c (hildon_entry_refresh_contents),
1848 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1849 widget name, set the logical color directly instead and a boolean
1850 showing_placeholder instead.
1851 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1852 use the widget name here either.
1854 Fixes: NB#105678 (HildonTextView should use logical colours
1855 instead of setting widget name)
1857 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1859 Patch by Daniel Elster (danielk@openismus.com)
1861 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1862 Add user_data parameter.
1863 (hildon_touch_selector_set_print_func_full): New function akin
1864 hildon_touch_selector_set_print_func() but with support for user
1865 data and a destroy callback.
1866 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1867 to clean up the print function user data.
1868 (hildon_touch_selector_class_init): Install dispose function.
1869 (HildonTouchSelectorPrivate::print_user_data),
1870 (HildonTouchSelectorPrivate::print_destroy_func): New private
1872 (hildon_touch_selector_init): Initialize new private members.
1873 (hildon_touch_selector_get_current_text): Pass along user data
1874 to the print function.
1875 (_default_print_func): Add dummy user_data to parameter list.
1876 * hildon-date-selector.c (_custom_print_func): ditto,
1877 * hildon-time-selector.c (_custom_print_func): ditto,
1878 * hildon-touch-selector-entry.c
1879 (hildon_touch_selector_entry_print_func): ditto.
1881 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1883 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1885 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1887 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1889 * src/hildon-pannable-area.c,
1890 (hildon_pannable_area_init),
1891 (hildon_pannable_area_button_press_cb),
1892 (hildon_pannable_area_motion_notify_cb): We have added code to
1893 handle the leave and enter events when using the motion events.
1895 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1897 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-date-button.c (hildon_date_button_get_date)
1900 (hildon_date_button_set_date): Make sure that the button has a
1903 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1905 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1907 * src/hildon-pannable-area.c,
1908 (hildon_pannable_area_class_init),
1909 (hildon_pannable_area_calculate_velocity): Modify the use of the
1910 force and adapt the value.
1912 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1915 (hildon_app_menu_class_init): Hide the menu if it receives a
1916 delete-event, but don't destroy it
1918 Fixes: NB#104485 (Not able to address the call when application
1919 menu is opened at background)
1921 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-app-menu.c
1924 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1925 Remove the "external-border" style property, let the menu take its
1926 natural size (or the one set by the window manager)
1927 (hildon_app_menu_repack_items):
1928 Don't reshow the menu, avoid flickers.
1930 Partially fixes NB#94957 (Smoothly opened application menu)
1932 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1937 * configure.ac: Bump version.
1938 * debian/changelog: Updates.
1940 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1942 * src/hildon-pannable-area.c,
1943 (hildon_pannable_area_motion_notify_cb): We control that the
1944 direction error margin is used just in case the movement is
1945 allowed in the other direction.
1947 Fixes: NB#105012 (buttons inside a pannable area not getting
1948 release event when dragging/releasing)
1950 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1952 * src/hildon-pannable-area.c,
1953 (hildon_pannable_area_class_init),
1954 (hildon_pannable_area_get_property),
1955 (hildon_pannable_area_set_property),
1956 (hildon_pannable_area_initial_effect),
1957 (hildon_pannable_axis_scroll),
1958 (hildon_pannable_area_button_release_cb): Reviewed the
1959 overshooting effect, now it has its own max
1960 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1961 speed when bouncing.
1963 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1968 * configure.ac: Bump version.
1969 * debian/changelog: Updates.
1971 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1973 * src/hildon-pannable-area.c,
1974 (hildon_pannable_area_class_init): Changed the max speed, now
1975 users can launch the widget very fast. Reduced the default force,
1976 that way it is easier to control the launch speed.
1978 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1980 * src/hildon-pannable-area.c,
1981 (hildon_pannable_area_button_release_cb): Removed this check
1982 because it causes problems when the device is overloaded.
1984 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1987 add a current_text field to store the text entered in the
1988 touch selector entry.
1989 (_clean_current_selection): clean up the current text as well.
1990 (_save_current_selection), (_restore_current_selection):
1991 Save/restore the text in the entry if the selector is a
1992 HildonTouchSelectorEntry.
1994 Fixes: NB#102541 (value entered in the touch selector entry is not
1995 shown when opened for second time)
1997 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1999 * doc/hildon-sections.txt:
2000 * src/hildon-touch-selector-entry.c
2001 (+hildon_touch_selector_entry_get_entry):
2002 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2004 Fixes: NB#104815 (I need accessor to the entry inside
2005 HildonTouchSelectorEntry)
2007 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2009 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2010 (hildon_app_menu_class_init):
2011 New "filter-vertical-spacing" style property.
2013 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-find-toolbar.c
2016 (hildon_find_toolbar_emit_close)
2017 (hildon_find_toolbar_emit_invalid_input)
2018 (hildon_find_toolbar_entry_activate):
2019 Use g_signal_emit() instead of g_signal_emit_by_name()
2021 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2023 Patch by Mox Soini (ext-mox.soini@nokia.com)
2025 * tests/TEST-CASES.txt
2026 * tests/check-hildon-banner.c
2027 * tests/check-hildon-note.c
2028 * src/hildon-banner.c
2029 * src/hildon-code-dialog.c
2030 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2031 * src/hildon-time-editor.c
2032 * examples/hildon-lookup-example.c (main):
2033 Replace obsolete icon names with new ones.
2035 * src/hildon-find-toolbar-private.h:
2036 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2037 (-hildon_find_toolbar_emit_search):
2038 Remove find button and change icon of close button.
2040 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2042 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2044 * src/hildon-time-button.c (hildon_time_button_new_step):
2045 Use the "touch-selector" property to set the selector directly
2046 when creating the object.
2048 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2050 Added a new example application that allows tuning the pannable
2051 area and replaced defines with properties in order to simplify the
2052 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2053 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2054 PROP_DIRECTION_ERROR_MARGIN.
2056 * examples/hildon-pannable-area-tuning-example.c: New example
2058 * src/hildon-pannable-area.c,
2059 (hildon_pannable_area_class_init),
2060 (hildon_pannable_area_init),
2061 (hildon_pannable_area_get_property),
2062 (hildon_pannable_area_set_property),
2063 (hildon_pannable_area_launch_fade_timeout),
2064 (hildon_pannable_area_adjust_value_changed),
2065 (hildon_pannable_axis_scroll),
2066 (hildon_pannable_area_motion_notify_cb),
2067 (hildon_pannable_area_scroll_cb),
2068 (hildon_pannable_area_button_release_cb): We have converted some
2069 of the defines that control the widget to properties to simplify
2072 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-app-menu.c (hildon_app_menu_map)
2075 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2076 so it's closed if a new window appears.
2078 Fixes: NB#104485 (Not able to address the call when application
2079 menu is opened at background)
2081 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2084 missing 'break' statement in in 'case' construct to avoid
2087 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-touch-selector-entry.c
2090 (hildon_touch_selector_entry_get_property),
2091 (hildon_touch_selector_entry_set_property): Add missing 'break'
2092 statements in in 'case' constructs to avoid incorrect warnings.
2094 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-time-editor.c
2097 (hildon_time_editor_get_time_separators): Do not crash if
2098 the first label is NULL.
2100 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-date-selector.c (_month_days): Check for month to be
2103 strictly less than 12, since otherwise we may overrun the array.
2105 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-date-button.c (+hildon_date_button_new_full)
2108 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2109 (hildon_date_button_init): Set the date selector using a
2110 construction property, to make it happen after HildonButton's
2111 "value" property is set.
2113 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2114 current date by default)
2116 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2118 * doc/hildon-sections.txt
2119 * src/hildon-program.c
2120 * src/hildon-stackable-window.c
2121 * src/hildon-window.c:
2122 Documentation updates
2124 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2127 (hildon_window_stack_new, +hildon_window_stack_set_property)
2128 (+hildon_window_stack_get_property)
2129 (hildon_window_stack_class_init)
2130 (+hildon_window_stack_set_window_group)
2131 (+hildon_window_stack_get_window_group):
2132 Make the window group a construction property.
2134 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2136 * doc/hildon-sections.txt
2137 * src/hildon-stackable-window-private.h
2138 * src/hildon-stackable-window.h
2139 * src/hildon-stackable-window.c
2140 (-hildon_stackable_window_set_app_menu)
2141 (-hildon_stackable_window_get_app_menu)
2142 (-hildon_stackable_window_toggle_menu)
2143 (-hildon_stackable_window_finalize)
2144 (hildon_stackable_window_class_init)
2145 (hildon_stackable_window_init)
2146 * src/hildon-window-private.h
2147 * src/hildon-window.h
2148 * src/hildon-window.c (hildon_window_init)
2149 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2150 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2151 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2152 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2153 Moved all HildonAppMenu code to HildonWindow. The menu does not
2154 require a HildonStackableWindow anymore.
2156 * src/hildon-app-menu.c
2157 * src/hildon-program.c
2158 * examples/hildon-app-menu-example.c (main):
2159 Update examples and documentation to reflect HildonAppMenu
2162 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-remote-texture.c
2165 * src/hildon-animation-actor.c:
2166 Don't include unused private headers.
2168 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-program-private.h
2171 * src/hildon-program.c
2172 (hildon_program_set_common_menu)
2173 (hildon_program_get_common_menu)
2174 (hildon_program_set_common_app_menu)
2175 (hildon_program_get_common_app_menu):
2176 Change common menu pointers from GtkWidget* to GtkMenu* and
2177 HildonAppMenu* to avoid unnecessary casts.
2179 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-window.c (hildon_window_set_main_menu):
2182 Removed incorrect 'Since:' tag
2184 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2186 * src/hildon-pannable-area.c,
2187 (hildon_pannable_area_calculate_velocity): We use now the
2188 RATIO_TOLERANCE here to check the distance, fixed typo in the
2190 (hildon_pannable_area_motion_notify_cb): We have to set the type
2191 and time even if we are not sending the motion.
2193 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2195 * doc/hildon-sections.txt
2196 * src/hildon-app-menu.h
2197 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2198 (+hildon_app_menu_get_filters): New methods to get the contents of
2201 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2204 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-app-menu.c (hildon_app_menu_popup):
2209 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-window.h
2212 * src/hildon-window.c (+hildon_window_get_main_menu)
2213 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2214 and deprecated hildon_window_get_menu().
2216 * src/hildon-stackable-window.h
2217 * src/hildon-stackable-window.c
2218 (+hildon_stackable_window_set_app_menu)
2219 (+hildon_stackable_window_get_app_menu)
2220 (hildon_stackable_window_set_main_menu): Created
2221 hildon_stackable_window_{get,set}_app_menu() and deprecated
2222 hildon_stackable_window_set_main_menu().
2224 * doc/hildon-sections.txt
2225 * examples/hildon-app-menu-example.c (main)
2226 * src/hildon-app-menu.c
2227 * src/hildon-program.c:
2228 Updated examples and documentation.
2230 Fixes: NB#103758 (No way to obtain a menu from a
2231 HildonStackableWindow)
2233 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2238 * configure.ac: Bump version.
2239 * debian/changelog: Updates.
2241 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2243 * examples/hildon-remote-texture-example.c: Include
2244 hildon-remote-texture.h explicitely.
2245 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2246 applications not defining _XOPEN_SOURCE which don't require this header.
2248 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2250 * doc/hildon-sections.txt
2251 * src/hildon-app-menu.h
2252 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2253 New function to pop up a HildonAppMenu
2255 * src/hildon-stackable-window.c
2256 (hildon_stackable_window_toggle_menu):
2257 Use hildon_app_menu_popup() to show the menu.
2259 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-app-menu.c (hildon_app_menu_show)
2262 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2263 menu if there's another window between it and its parent window.
2265 Fixes: NB#100468 (Application menu window is launched even when a
2266 new secondary-window/dialog is pending to be shown/realized)
2268 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-window-stack.c (hildon_window_stack_push)
2271 (hildon_window_stack_pop_and_push):
2272 Don't forget to push/pop the first window.
2273 Reverse the window list before calling _push_list()
2275 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-picker-button.h
2278 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2279 Remove "value_changed" slot to avoid ABI breakage
2281 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2283 * src/hildon-pannable-area.c,
2284 (hildon_pannable_area_realize),
2285 (hildon_pannable_area_unrealize),
2286 (hildon_pannable_draw_vscroll),
2287 (hildon_pannable_draw_hscroll): Changed the method to handle the
2288 GC used to draw the transparent scrollbar, this way we avoid
2289 creating the GC all the time when drawing the scrollbars.
2291 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2293 * src/hildon-pannable-area.c,
2294 (hildon_pannable_area_init),
2295 (hildon_pannable_area_remove): Removed some unnecessary casts.
2296 (hildon_pannable_area_dispose): Disconnected some signals before
2297 releasing the adjustments.
2299 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2302 Make sure that all widgets contained in the toolbar are shown.
2304 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-sections.txt
2307 * src/hildon-picker-button.h
2308 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2309 (_selection_changed, hildon_picker_button_on_dialog_response)
2310 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2311 New hildon_picker_button_value_changed() method.
2314 * src/hildon-picker-button-private.h
2315 * src/hildon-picker-button.c (hildon_picker_button_init)
2316 (+hildon_picker_button_disable_value_changed): Add protected
2317 function for disabling the "value-changed" signal.
2319 * src/hildon-date-button.c (hildon_date_button_set_date):
2320 Don't emit "value-changed" for each one of the three columns.
2322 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2323 before actual change of values)
2325 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2327 * src/hildon-pannable-area.c,
2328 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2329 for the treeview overshooting.
2331 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2333 * src/hildon-banner.c (+hildon_banner_bind_style):
2334 Renamed from hildon_banner_bind_label_style(), now naming the
2335 banner itself as well.
2336 (hildon_banner_show_information),
2337 (hildon_banner_show_information_with_markup),
2338 (hildon_banner_show_animation), (hildon_banner_show_progress):
2339 Name the widgets and labels, based on their type.
2341 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2344 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-note.c (hildon_note_set_property): call
2347 hildon_note_rename() on HildonNote:note-type set.
2348 (hildon_note_rename): Name the note and its label, based on the
2349 HildonNote:note-type property.
2351 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2354 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_class_init),
2358 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2359 panning parameters, increased SPS and deceleration factor. Added
2360 also a margin to control fake directions.
2362 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2364 Patch by Sven Herzberg (sven@imendio.com)
2366 * configure.ac: Add missing AM_PROG_CC_C_0
2367 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2369 See NB#101420 (Update unit tests and fix make check)
2371 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2373 This patch was applied before but reverted because it caused
2374 problems, we have changed the main condition and tested the
2375 regressions we detected before and they work ok. We have done a
2376 complete review of the topmost algorithm in order to get a more
2379 * src/hildon-pannable-area.c,
2380 (hildon_pannable_area_get_topmost): Added a new parameter to
2381 filter the the windows that do not include those events.
2382 (hildon_pannable_area_button_press_cb),
2383 (hildon_pannable_area_button_release_cb),
2384 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2385 topmost function, we have added the new parameter.
2387 Fixes: NB#97458 (Pannable area prevents propagation of button
2390 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2393 if all columns in the selector have an item selected.
2394 (_on_dialog_response): Stop "response" signal emission if there is
2395 any selector column without selected items.
2397 Fixes: NB#101889 (Picker dialog should not close when nothing is
2398 selected in multiple selection list)
2400 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-font-selection-dialog.c
2403 (hildon_font_selection_dialog_class_init),
2404 (hildon_font_selection_dialog_init): Remove the preview
2405 button and dialog, since previewing with default theming is likely
2406 to be overcomplicated. The :preview property has now no effect.
2407 Update documentation blurbs to inform about this.
2409 Fixes: NB#92297 (Preview content is not clearly visible for
2410 default colour text)
2412 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2414 Reviewed the geometry that handles the children size and
2415 scrollbar, now it tries a size and reviews the results depending
2416 on the scrollbars visibility.
2418 * src/hildon-pannable-area.c,
2419 (hildon_pannable_area_realize): Fixed a typo.
2420 (hildon_pannable_area_child_allocate_calculate): Added this
2421 function to calculate the child allocation.
2422 (hildon_pannable_area_size_allocate): Reviewed the allocation
2424 (hildon_pannable_area_check_scrollbars),
2425 (hildon_pannable_area_refresh): Refactored refresh function, this
2426 way we can call the code handling the scrollbars without causing a
2427 size_request, it is interesting in the allocate.
2428 (hildon_pannable_area_init): Replace the callbacks of the
2429 value_changed and changed signals to propertly deal with the
2431 (hildon_pannable_area_grab_notify),
2432 (hildon_pannable_area_initial_effect),
2433 (hildon_pannable_area_launch_fade_timeout),
2434 (hildon_pannable_area_adjust_changed),
2435 (hildon_pannable_area_adjust_value_changed),
2436 (hildon_pannable_area_redraw),
2437 (hildon_pannable_area_button_press_cb),
2438 (hildon_pannable_area_button_release_cb),
2439 (hildon_pannable_area_scroll_cb),
2440 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2441 code and use the new functions adjust_changed and
2442 adjust_value_changed.
2444 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2445 Contact editor dialog)
2447 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2452 * configure.ac: Bump version.
2453 * debian/changelog: Updates.
2455 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2457 * src/hildon-pannable-area.c,
2458 (hildon_pannable_area_get_topmost),
2459 (hildon_pannable_area_button_press_cb),
2460 (hildon_pannable_area_button_release_cb),
2461 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2462 topmost function adding the event mask. We have to try a
2463 differente approach because it is still causing problems (NB#9745,
2466 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-banner.c:
2469 Update the maximum width of timed banners.
2470 (force_to_wrap_truncated): Enforce the maximum text width if the
2473 Fixes: NB#102413 (The text margins (wrapping) in information
2474 banner should be HILDON_MARGIN_TRIPLE)
2476 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2478 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2480 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2481 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2482 bound when calculating the scroll indicator position.
2484 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2485 treat ->lower correctly)
2487 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2490 expose event handling, since it is not necessary to draw the focus
2493 Fixes: NB#102467 (Do not show highlight on the text in
2496 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2499 full height of the toolbar for the button and the label.
2501 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2504 padding before the label and after the button.
2506 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2508 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2510 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2511 Add a GtkVSeparator between the button and the back arrow.
2512 Let the button have automatic size.
2513 Set a name to the widget for theming handling.
2515 Fixes: NB#101793 (Make edit toolbar the same height as window
2516 title bar (use title area theming))
2518 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-helper.c (attach_new_color_element): Fix memory
2523 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2525 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2527 * examples/hildon-button-example.c (common_buttons_window): Don't
2530 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2532 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2533 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2535 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2537 * src/hildon-gtk.c: Check that the window is realized.
2539 Fixes: NB#102225 (Crash setting the progress indicator to a non
2542 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2544 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2545 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2546 instead of modifying the one in the widget style.
2548 Fixes: NB#101043 (Second row of all the command button are
2549 displayed in transparent mode.)
2551 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-date-button.c
2554 * src/hildon-time-button.c: Add gettext macros
2556 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2558 * src/hildon-date-button.c (hildon_date_button_new):
2559 * src/hildon-time-button.c (hildon_time_button_new_step):
2560 Use new logical strings to set the button default title.
2562 Fixes: NB#99915 (Date and Time options are not localised in Date
2565 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2567 * src/hildon-pannable-area.c
2568 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2569 the PANNING_THRESHOLD.
2571 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_class_init): Increased the maximum speed.
2575 (hildon_pannable_area_get_property),
2576 (hildon_pannable_area_set_property),
2577 (hildon_pannable_area_timeout): Added a new low friction mode, it
2578 allows the user avoid friction when launching the widget fast
2579 enough. It is interesting to traverse long lists.
2581 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2584 (+hildon_stackable_window_delete_event): Ignore delete events if
2585 the window is not the topmost one.
2587 Fixes: NB#101698 (Back button long press and delete-event handling)
2589 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2591 * src/hildon-pannable-area.c,
2592 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2593 gtk-dnd-drag-threshold, it was too big. We have defined our own
2594 dnd define and set a smaller value: PANNIG_THRESHOLD.
2596 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2599 user-defined icons, use always the default one.
2601 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2603 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2605 This patch was applied before but reverted because it caused
2606 problems, we have changed the main condition and tested the
2607 regressions we detected before and they work ok.
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_area_get_topmost): Added a new parameter to
2611 filter the the windows that do not include those events. Added
2612 also a condition when finding the window to filter windows that do
2613 not ask for those events.
2614 (hildon_pannable_area_button_press_cb),
2615 (hildon_pannable_area_button_release_cb),
2616 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2617 topmost function, we have added the new parameter.
2619 Fixes: NB#97458 (Pannable area prevents propagation of button
2622 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2624 * tests/check-hildon-color-button.c (START_TEST): do not leak
2627 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-font-selection-dialog.c
2630 (hildon_font_selection_dialog_get_preview_text): Return NULL
2631 instead of FALSE on the g_return_val_if_fail().
2633 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2636 * src/hildon-date-selector.c
2637 (hildon_date_selector_select_current_date):
2638 Do not compare unsigned integers to be greater than or equal 0,
2639 because it's always TRUE.
2641 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2644 (hildon_date_selector_constructor): Do not select the current
2645 date until we are handle the "changed" signal, to avoid having bogus
2646 elements in the days model.
2648 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2651 for num_days, since _month_days() can return a negative value.
2653 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-caption.c (hildon_caption_size_allocate):
2656 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2657 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2659 Initialize allocation variables to 0, to avoid eventually using
2660 unitialized variables.
2662 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-bread-crumb-trail.c
2665 (hildon_bread_crumb_trail_size_allocate):
2666 * src/hildon-calendar.c (hildon_calendar_set_background):
2667 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2668 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2669 * src/hildon-seekbar.c (hildon_seekbar_init):
2670 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2671 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2672 * src/hildon-touch-selector-entry.c
2673 (hildon_touch_selector_get_text_from_model):
2674 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2675 * src/hildon-window.c (hildon_window_finalize):
2677 Remove many unused variables.
2679 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2681 * src/hildon-seekbar.c: (hildon_seekbar_init),
2682 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2684 Remove unnecessary g_assert() calls.
2686 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-caption.c: (hildon_caption_expose),
2689 (hildon_caption_set_property), (hildon_caption_init),
2690 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2691 (hildon_caption_size_request), (hildon_caption_size_allocate),
2692 (hildon_caption_forall), (hildon_caption_set_separator),
2693 (hildon_caption_activate), (hildon_caption_set_child_expand),
2694 (hildon_caption_set_label_text),
2695 (hildon_caption_get_label_alignment):
2697 Remove unnecessary g_assert() calls.
2699 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-banner.c
2702 (hildon_banner_map, hildon_banner_init): Make banner temporary
2703 before mapping it to avoid closing other temporary windows, but
2704 make it non-temporary afterwards to avoid being closed by other
2705 non-temporary windows.
2706 (-hildon_banner_client_event, hildon_banner_init):
2707 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2709 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2712 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2717 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2719 * src/hildon-remote-texture.c
2720 * src/hildon-remote-texture.h
2721 * src/hildon-remote-texture-private.h
2722 * examples/hildon-remote-texture-example.c:
2723 Updates/fixes to remote-texture and its example.
2725 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2727 Patch by Mox Soini (ext-mox.soini@nokia.com)
2729 * src/hildon-code-dialog.c: Update logical id.
2730 * src/hildon-set-password-dialog.c: Update logical id.
2732 Fixes: NB#100646 (Logical strings is shown for ok in set
2733 password,Password needed dialogs)
2735 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2738 * src/hildon-remote-texture.c
2739 * src/hildon-remote-texture.h
2740 * src/hildon-remote-texture-private.h
2742 Added remote texture widget (for Clutter shared memory textures)
2744 * examples/hildon-remote-texture-example.c
2745 * examples/Makefile.am
2746 Added example file for remote texture usage
2748 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2750 * configure.ac: post release version bump.
2751 * debian/changelog: version bump.
2753 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: Bump version.
2759 * debian/changelog: Updates.
2761 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-date-selector.c (hildon_date_selector_init)
2764 (hildon_date_selector_constructor): Don't connect to the "changed"
2765 signal until the selector is completely constructed.
2767 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-touch-selector.c: (_create_new_column),
2770 (hildon_touch_selector_append_column),
2771 (hildon_touch_selector_set_column_selection_mode),
2772 (hildon_touch_selector_set_active),
2773 (hildon_touch_selector_select_iter):
2774 Emit the HildonTouchSelector::changed signal every time selection
2775 is changed in any of the methods above. This behavior was already
2776 documented but not fully functional.
2778 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2779 selection is programmatically changed)
2781 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2783 * doc/hildon-sections.txt: Remove obsolete icon
2784 sizes from here as well.
2786 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2788 * examples/hildon-stackable-window-example.c (add_window): Remove
2791 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-app-menu.c
2794 (hildon_app_menu_show): Check whether the parent window of a menu
2795 is topmost before popping it up.
2797 Fixes: NB#100468 (Application menu window is launched even when a
2798 new secondary-window/dialog is pending to be shown/realized.)
2800 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2802 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2805 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2807 Patch by Mox Soini (ext-mox.soini@nokia.com)
2809 * src/hildon-banner.c: (hildon_banner_show_animation):
2810 use stylus size instead of obsolete note size.
2811 * src/hildon-defines.h: Update icon sizes.
2813 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-touch-selector-entry.c:
2816 (hildon_touch_selector_entry_init): Disable unsupported
2818 (hildon_touch_selector_entry_get_text_column): Emit a warning
2819 if an unsupported input modes is used and explicitile state
2820 these modes in the documentation.
2822 Fixes: NB#99802 (Hildon touch selector entry not working properly
2823 for some of the input modes)
2825 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2827 * src/hildon-pannable-area.c,
2828 (hildon_pannable_area_init): Added the changed signal handlers of
2831 Fixes: NB#100320 (HildonPannableArea does not listen to
2832 GtkAdjustment "change" signals)
2834 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2836 * doc/hildon-sections.txt
2837 * src/hildon-window-private.h
2838 * src/hildon-window.h
2839 * src/hildon-window.c (hildon_window_init)
2840 (hildon_window_realize, hildon_window_unrealize)
2841 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2842 (hildon_window_size_request, hildon_window_size_allocate)
2843 (hildon_window_forall, hildon_window_show_all)
2844 (hildon_window_destroy, +paint_edit_toolbar)
2845 (+hildon_window_set_edit_toolbar):
2846 New hildon_window_set_edit_toolbar() method, to add a
2847 HildonEditToolbar to a window without having to pack it manually.
2849 Reorganize hildon_window_size_allocate()
2851 * src/hildon-edit-toolbar.c: Update documentation.
2853 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2854 example to use the new API.
2856 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2858 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2861 Remove from stack before calling parent's hide.
2863 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2866 window is removed from the middle of the stack, update the
2867 transiency of the previous one.
2869 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2872 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2875 block/unblock the signal handler if it's not actually being used.
2876 Fixes some critical warnings.
2878 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2880 Based on a patch by Iván Gómez (igomez@igalia.com)
2882 * src/hildon-banner.c
2886 * src/hildon-pannable-area.c
2887 * src/hildon-picker-dialog.c
2888 * src/hildon-wizard-dialog.h
2889 * src/hildon-wizard-dialog.c: Documentation updates.
2891 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2892 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2894 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2896 * configure.ac: post release version bump.
2897 * debian/changelog: version bump.
2899 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2904 * configure.ac: Bump version.
2905 * debian/changelog: Updates.
2907 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2910 a stock icon nor change the relief of the back arrow.
2912 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2913 graphics from theme)
2915 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-button.c (hildon_button_set_alignment): Use
2918 priv->alignment if the button has no child yet.
2920 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-button.c: (hildon_button_init): Set the
2923 button style during initialization to give it the proper
2926 Fixes: NB#99713 (HildonButton value label color is wrong)
2928 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-touch-selector.c: Document
2931 hildon_touch_selector_center_on_selected()
2933 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2936 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2937 all menu items, but not the menu itself.
2938 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2939 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2940 items after adding them to the menu so keyboard accelerators work.
2941 (hildon_app_menu_show): Don't show the menu if it contains items
2942 but none of them are visible.
2944 * examples/hildon-app-menu-example.c (create_menu): Use
2945 gtk_widget_show_all() to show all menu items.
2947 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-picker-dialog.c:
2950 (-_update_title_on_selector_changed_cb),
2951 (-_dialog_update_title): Removed.
2952 (_select_on_selector_changed_cb), (_on_dialog_response),
2953 (on_selector_columns_changed): Do not update the dialog title.
2954 (setup_interaction_mode): Do not connect to
2955 HildonTouchSelector::changed signal if there's a "done" button, as
2956 the dialog title doesn't need to be updated.
2958 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2961 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2963 Patch by Kristian Rietveld (kris@imendio.com)
2965 * src/hildon-touch-selector.c: (_create_new_column): Use new
2966 GtkTreeView::hildon-row-tapped signal to react to user interactions
2967 instead of ::changed.
2969 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2970 with some dynamic tree model)
2972 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2975 (+screen_size_changed, +label_size_request)
2976 (hildon_note_class_init): Make the Hildon information note have a
2977 minimum height, and make its text hvae a maximum width.
2979 Fixes: NB#98614 (Hildon information note (background) should have
2980 minimum height and maximum text width)
2982 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-banner.h
2985 * src/hildon-banner.c (hildon_banner_show_information)
2986 (hildon_banner_show_informationf)
2987 (hildon_banner_show_information_with_markup): Update documentation
2988 to reflect that the icon_name parameter is not used anymore.
2989 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2990 Remove all code from these functions and mark them as deprecated.
2991 (hildon_banner_show_progress): Mark as deprecated.
2993 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2995 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2997 * src/hildon-pannable-area.c,
2998 (hildon_pannable_area_class_init),
2999 (tranparency_color),
3000 (hildon_pannable_draw_vscroll),
3001 (hildon_pannable_draw_hscroll),
3002 (hildon_pannable_area_expose_event): Added a new way to render the
3003 scrollbars of the pannable area avoiding using cairo at all. This
3004 way we improve the performance of the pannable area rendering. The
3005 cairo rendering procedure is still in the code, we can control
3006 which one to use changing the value of the define
3007 USE_CAIRO_SCROLLBARS.
3009 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3011 * configure.ac: post release version bump.
3012 * debian/changelog: version bump.
3014 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3019 * configure.ac: Bump version.
3020 * debian/changelog: Updates.
3022 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3025 banners instead of destroying them when they receive a button
3028 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3030 Reverted commit 34028, it was causing regressions, probably the
3031 topmost condition is not correct, we have to check it in more
3032 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3033 propagation of button press events)
3035 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3037 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3038 that the selection is not empty before attempting to retrieve the
3039 current ampm selection.
3041 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3043 * src/hildon-picker-button.c:
3044 (hildon_picker_button_on_dialog_response): Directly update the
3045 button contents when required instead of calling _selection_changed.
3047 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-program.c (hildon_program_update_top_most): Update
3050 'is-topmost' property also when wm_hints is not set.
3052 Fixes: NB#98383 (is-topmost signal is not emitted when task
3053 switcher is clicked.)
3055 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3057 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3061 * src/hildon-animation-actor.c,
3062 * src/hildon-animation-actor.h: Added the animation actor class,
3063 this widget represents an animation actor for WM-assisted
3064 animation effects in the Hildon framework.
3066 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-window-stack-private.h
3069 * src/hildon-window-stack.c
3070 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3071 Avoid calling gtk_widget_show() again indirectly from
3072 hildon_stackable_window_show()
3074 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3076 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3079 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3081 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3082 (hildon_time_selector_init): Move the construction of the hours and
3083 ampm columns to the constructor to preserve the order the columns
3086 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-picker-dialog.c:
3089 (hildon_picker_dialog_class_init): Connect a realize method.
3090 (+hildon_picker_dialog_realize): Setup the interaction mode here
3092 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3093 yet, do it during the realize instead.
3094 (_on_dialog_response):
3095 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3096 if the widget is not realized, to avoid the dialog response before it
3099 Avoid premature responses in the HildonPickerDialog that can cause it
3100 to be hidden before it's even shown.
3102 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3104 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3105 (on_selector_columns_changed), (requires_done_button),
3106 (+prepare_action_area), (setup_interaction_mode),
3107 (_hildon_picker_dialog_set_selector):
3109 Split the interaction mode setup into preparation of the
3110 action area (prepare_action_area()) and the connection of
3111 the signals in setup_interaction_mode() and update the code to
3114 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3116 * src/hildon-pannable-area.c,
3117 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3118 per second to 15, we will check if this is ok regarding
3121 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3123 * src/hildon-pannable-area.c,
3124 (hildon_pannable_axis_scroll): Avoid resize if we already have
3125 reached overshoot_max.
3127 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3129 * src/hildon-pannable-area.c,
3130 (hildon_pannable_area_init),
3131 (hildon_pannable_area_realize),
3132 (hildon_pannable_area_size_allocate),
3133 (hildon_pannable_area_map),
3134 (hildon_pannable_area_unmap),
3135 (hildon_pannable_draw_vscroll),
3136 (hildon_pannable_draw_hscroll),
3137 (hildon_pannable_area_expose_event),
3138 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3139 pannable are to avoid the expose events go to the window and
3140 redraw the window. We save this way that part of the stack and the
3141 paint_boxes. We had to change the positions of the elements when
3144 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3147 * src/hildon-color-chooser-dialog.c:
3148 (hildon_color_chooser_dialog_init):
3149 * src/hildon-font-selection-dialog.c:
3150 (hildon_font_selection_dialog_init),
3151 (hildon_font_selection_dialog_show_preview):
3152 * src/hildon-get-password-dialog.c:
3153 * src/hildon-login-dialog.c:
3154 * src/hildon-set-password-dialog.c:
3155 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3156 * src/hildon-time-picker.c: (hildon_time_picker_init):
3158 Remove obsolete logical string IDs and update to the appropriate ones.
3160 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3162 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3165 that happens if the window hasn't been realized yet.
3167 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3168 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3170 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3173 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3176 Fixes: NB#98537 (Device hangs in account settings dialog)
3178 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3180 * configure.ac: post release version bump.
3181 * debian/changelog: version bump
3183 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3188 * configure.ac: Bump version.
3189 * debian/changelog: Updates.
3191 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3193 Added a new function to the HildonTimeButton widget that allows to
3194 change the step of the minutes in the selector associated with the
3195 button: hildon_time_button_new_step
3197 * src/hildon-time-button.c,
3198 (hildon_time_button_init),
3199 (hildon_time_button_new),
3200 (hildon_time_button_new_step):
3201 * src/hildon-time-button.h: Added the new function and refactored
3203 * examples/hildon-time-button-example.c,
3204 (main): We have replaced the function without parameters with the
3205 function with the steps set to 5
3207 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3209 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3211 * src/hildon-time-selector.c,
3212 (hildon_time_selector_class_init),
3213 (hildon_time_selector_constructor),
3214 (hildon_time_selector_get_property),
3215 (hildon_time_selector_set_property),
3216 (_create_minutes_model),
3217 (hildon_time_selector_new_step),
3218 (hildon_time_selector_set_time),
3219 * src/hildon-time-selector.h: Added a new property to the
3220 HildonTimeSelector (minutes-step), we use that property to control
3221 the steps between the minutes in the list of the selector. We have
3222 added a new function to the API to create a widget changing the
3223 step: hildon_time_selector_new_step.
3225 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3227 * src/hildon-time-selector.c,
3228 (hildon_time_selector_class_init),
3229 (hildon_time_selector_constructor),
3230 (hildon_time_selector_init): Overrided the construct function when
3231 creating the time selector object. We have moved the minutes model
3232 handling code from the init to the new construction function:
3233 hildon_time_selector_constructor.
3235 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3237 * examples/hildon-date-button-example.c: (main): Use the new
3238 hildon_date_button_new_with_year_range() method in the example.
3239 * src/hildon-date-button.c:
3240 (+hildon_date_button_new_with_year_range): New public method
3241 to conveniently create a HildonDateButton with a custom year range
3242 in its HildonDateSelector.
3243 * src/hildon-date-button.h: Add the new public method definition.
3245 Fixes: NB#97908 (Not possible to change the year range in
3246 HildonDateSelector/HildonDateButton)
3248 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-date-selector.c:
3251 (+hildon_date_selector_set_property),
3252 (+hildon_date_selector_get_property),
3253 (hildon_date_selector_class_init): Install new properties "min-year"
3254 and "max-year" to define boundaries for the year column.
3255 (_create_year_model): Use the boundary properties to populate the model.
3256 (+hildon_date_selector_new_with_year_range): New public method to
3257 create a HildonDateSelector with a user defined year range.
3258 (hildon_date_selector_select_current_date): Use the new boundaries to
3259 calculate the iterator of current year.
3260 * src/hildon-date-selector.h: Add the new public method definition.
3262 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3265 Install a constructor method.
3266 (+hildon_date_selector_construct_ui): construct the widget.
3267 (+hildon_date_selector_constructor): new constructor.
3268 (+hildon_date_selector_init): move out widget construction code to
3269 the new constructor.
3271 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3274 that there's actually a month or year selected before obtaining them.
3275 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3276 of the HildonTouchSelector::changed signal, as it was emitted on every
3277 single item selection.
3279 Fix some warnings and possible crashers due to the selection restoring.
3281 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3283 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3284 the signal handlers only after creating the dialog instead of on every
3287 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-button.c (hildon_button_init)
3290 * src/hildon-check-button.c (hildon_check_button_init)
3291 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3292 focus when clicked by default.
3294 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3299 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3301 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3302 Alejandro G. Castro (alex@igalia.com)
3304 * src/hildon-picker-dialog.c:
3305 (hildon_picker_dialog_class_init): install new "center-on-show"
3307 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3308 (hildon_picker_dialog_set_property): add setter code for the new
3310 (hildon_picker_dialog_get_property): add getter code for the new
3312 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3313 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3316 Fixes: NB#92849 (Selected item is not always visible when
3317 HildonTouchSelector is shown)
3319 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3321 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3322 Alejandro G. Castro (alex@igalia.com)
3324 * src/hildon-touch-selector.c:
3325 (_create_new_column): Do not connect to the "realize" signal of the
3327 (hildon_touch_selector_append_column): center on the selected items
3328 when a new column is appended.
3329 (hildon_touch_selector_select_iter): Factor out the code to select a
3330 column to hildon_touch_selector_scroll_to().
3331 (+search_nearest_element): Method to retrieve the nearest selected
3332 element to the visible area of the pannable area in a column.
3333 (+on_realize_cb): scroll to the initially selected item.
3334 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3335 the pannable area is realized, otherwise delay this until it is.
3336 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3337 selected items of a given column.
3338 (+hildon_touch_selector_center_on_selected): Public method to center
3339 all columns on the nearest selected item.
3340 * src/hildon-touch-selector.h: Add definition for
3341 hildon_touch_selector_center_on_selected().
3343 Implement public API to ensure visibility of all selected items in
3344 a HildonTouchSelector.
3346 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3348 Fixed a problem in the fading when calling the scroll_to API, and
3349 improve scrollbar fading handling.
3351 * src/hildon-pannable-area.c,
3352 (hildon_pannable_area_grab_notify): avoid the timeout when the
3354 (hildon_pannable_area_button_press_cb),
3355 (hildon_pannable_area_motion_notify_cb): Code style changes.
3356 (hildon_pannable_area_button_release_cb): Review the conditions
3357 when releasing the mouse button to avoid unrequired fading
3359 (hildon_pannable_area_scroll_to): Do not calculate and set the
3360 velocity if the scroll is not required.
3362 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3364 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3365 Don't check whether the new selector is NULL: it cannot be.
3366 Hold a reference to the selector while doing the replacement.
3368 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3371 unnecessary size_request in a removed widget.
3373 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3375 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3376 an unnecessary reference tracking that was leaking.
3378 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3380 Added delayed motion notify event handling, this way we can
3381 discard redrawing if more than 25 events arrive per second.
3383 * src/hildon-pannable-area.c,
3384 (hildon_pannable_area_init): Initialized the new private atributes
3385 controlling this timeout
3386 (hildon_pannable_area_dispose): Remove the timeout that controls
3387 the motion notify events.
3388 (hildon_pannable_area_scroll): Added a condition to control the
3389 use of the acceleration.
3390 (hildon_pannable_area_motion_event_scroll_timeout),
3391 (hildon_pannable_area_motion_event_scroll): Added this two
3392 functions, they handle the motion notify events inside the
3394 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3395 to the scroll method with the new function.
3396 (hildon_pannable_area_button_release_cb): We have to remove the
3397 timeout handler and move to the last position if the last motion
3398 events were not handled.
3400 Fixes: NB#97028 (Pannable area updates on every motion event)
3402 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3404 * src/hildon-pannable-area.c,
3405 (hildon_pannable_area_get_topmost): Added a new parameter to
3406 filter the the windows that do not include those events. Added
3407 also a condition when finding the window to filter windows that do
3408 not ask for those events.
3409 (hildon_pannable_area_button_press_cb),
3410 (hildon_pannable_area_button_release_cb),
3411 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3412 topmost function, we have added the new parameter.
3414 Fixes: NB#97458 (Pannable area prevents propagation of button
3417 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3419 * src/hildon-pannable-area.c,
3420 (hildon_pannable_area_initial_effect): Added controls before
3421 launching the timeout and the idle functions.
3422 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3423 of the method, in some situations it can return with TRUE and 0 in
3425 (hildon_pannable_area_button_press_cb): We do not need to set
3426 DELAY for fading out here.
3428 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3430 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3433 post-cleaning if the selection is not NULL.
3435 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3438 all items before restoring the selection.
3440 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-touch-selector.c:
3443 (+hildon_touch_selector_unselect_all):
3444 * src/hildon-touch-selector.h: New API to unselect all items in a
3445 column of the touch selector.
3447 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3449 * src/hildon-pannable-area.c,
3450 (hildon_pannable_area_redraw): Added a call to the refresh
3451 function inside the redraw because apparently in some cases the
3452 change in the adjustment does not imply a size allocate.
3454 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3455 despite the view not being scrollable)
3457 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3460 leak. Check for NULL before attempting to set the window title.
3462 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3465 whether to show or not the 'Done' button each time the dialog is
3466 shown, as it depends on the HildonTouchSelector selection mode.
3468 Fixes: NB#96226 (In multiple selection mode Done button is shown
3469 sometimes in listpicker)
3471 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3474 for the number of columns in the HildonTouchSelector more than once.
3476 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-touch-selector.c: Minor documentation fixes.
3480 * src/hildon-picker-dialog.c (+_dialog_update_title)
3481 (_select_on_selector_changed_cb)
3482 (_update_title_on_selector_changed_cb)
3483 (on_selector_columns_changed): Update dialog title when there's no
3484 'Done' button and also when the number of columns in the selector
3488 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3489 (+_selection_changed, hildon_picker_button_on_dialog_response)
3490 (hildon_picker_button_selector_selection_changed)
3491 (+hildon_picker_button_selector_columns_changed)
3492 (hildon_picker_button_set_selector): Update button value and emit
3493 'value-changed' when the number of columns in the selector
3497 Fixes: NB#96225 (Dialog titles are not shown according to the
3498 values selected in the list picker)
3500 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3502 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3503 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3504 New "arrow-width" and "arrow-height" style properties to set the
3505 size of the arrow button.
3506 Set name of arrow button ("hildon-edit-toolbar-arrow").
3508 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3509 graphics from theme)
3511 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-picker-button.c:
3514 (hildon_picker_button_selector_selection_changed): Use
3515 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3516 the dialog is present.
3518 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3519 the selection is accepted in the dialog)
3521 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3523 * src/hildon-color-chooser.h
3524 * src/hildon-color-chooser-dialog.h:
3525 Added G_BEGIN_DECLS and G_END_DECLS
3527 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3529 (_clean_current_selection): plug a leak in the list.
3531 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-picker-dialog.c:
3534 (+free_path_list): Method to free a GList of GtkTreePaths.
3535 (_clean_current_selection), (_save_current_selection),
3536 (_restore_current_selection): Save the current selection in
3537 as a list of lists, to support multiple selection properly.
3539 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3541 patch by Claudio Saavedra (csaavedra@igalia.com)
3543 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3544 Store the press position.
3545 (+hildon_text_view_button_release_event): If the release position is
3546 close enough to the press position, move the cursor here. Otherwise,
3548 (hildon_text_view_class_init): Override GtkTextView press, release, and
3549 motion event handlers, disabling this way text selection through
3550 pointer interaction, and allowing the container widget to handle the
3553 Fixes: NB#95828 (HildonTextView functionality)
3555 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3557 Based on a patch by Iván Gómez (igomez@igalia.com)
3559 * src/hildon-button.[ch]
3560 * src/hildon-calendar.c
3561 * src/hildon-check-button.c
3562 * src/hildon-date-editor.c
3563 * src/hildon-date-selector.c
3564 * src/hildon-picker-button.c
3565 * src/hildon-time-editor.c
3566 * src/hildon-time-selector.c
3567 * src/hildon-touch-selector.[ch]:
3568 Documentation updates
3570 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3572 * src/hildon-pannable-area.c,
3573 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3574 threshold, it was required due to X events handling.
3576 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3578 * src/hildon-pannable-area.c,
3579 (hildon_pannable_area_grab_notify),
3580 (hildon_pannable_area_initial_effect),
3581 (hildon_pannable_area_button_press_cb),
3582 (hildon_pannable_area_button_release_cb),
3583 (hildon_pannable_area_scroll_cb),
3584 (hildon_pannable_area_scroll_to): Review the timeout management of
3585 the scrollbar, the frecuency was incorrectly set.
3587 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-button.c:
3590 (+hildon_picker_button_on_dialog_response),
3591 (hildon_picker_button_clicked): Present the dialog instead of
3592 running it with gtk_dialog_run().
3594 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3597 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3600 (hildon_app_menu_finalize): When a window is hidden it doesn't
3601 emit notify::is-topmost, so make sure than the menu also
3602 disappears in that case.
3603 (parent_window_topmost_notify): Renamed from parent_window_hidden
3605 Fixes: NB#94460 (stackable window's menu is not closed when its
3608 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-touch-selector-entry.c:
3611 (+hildon_touch_selector_entry_set_input_mode),
3612 (+hildon_touch_selector_entry_get_input_mode):
3613 * src/hildon-touch-selector-entry.h: New methods to access the input
3614 mode in the selector's entry.
3616 Fixes: NB#93410 (API required for setting IM mode in
3617 HildonTouchSelectorEntry)
3619 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3621 * configure.ac: post release version bump.
3622 * debian/changelog: version bump
3624 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3629 * configure.ac: Bump version.
3630 * debian/changelog: Updates.
3632 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-touch-selector.c:
3635 (_hildon_touch_selector_has_multiple_selection): No need
3636 to initialize the variables here.
3638 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-note-private.h
3641 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3642 (hildon_note_finalize, hildon_note_rebuild): Close information
3643 notes when they receive a button press.
3645 Fixes: NB#89890 (Information notes does not get disappeared after
3648 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3651 mark from the wizard title, as it's not really necessary. Also,
3652 do not display the page title if not set.
3654 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3657 (parent_window_hidden): Use the window's "is-topmost" property to
3658 detect when to hide the menu.
3660 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3663 (hildon_app_menu_finalize): If the parent window of the menu is
3664 hidden, hide the menu too.
3666 Fixes: NB#94460 (stackable window's menu is not closed when its
3669 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3672 * debian/libhildon1-examples.install
3674 * examples/Makefile.am:
3675 Use dh_install to install all examples.
3676 Use DEB_SRCDIR instead of defining SOURCE_DIR
3678 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3680 * configure.ac: post release version bump.
3681 * debian/changelog: version bump
3683 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: bump version
3689 * debian/changelog: updates
3690 * debian/control: bump gtk+ dependency
3692 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3694 patch by Christian Dywan (christian@imendio.com)
3696 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3697 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3699 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-check-button.c (hildon_check_button_init)
3702 (hildon_check_button_class_init, hildon_check_button_style_set)
3703 (hildon_check_button_apply_style):
3704 New "checkbox-size" style property.
3706 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3707 larger / configurable size)
3709 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3711 * configure.ac: post release version bump.
3712 * debian/changelog: version bump
3714 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: bump version
3720 * debian/changelog: updates
3722 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3724 * doc/hildon-sections.txt
3725 * src/hildon-pannable-area.c
3726 * src/hildon-program.c
3727 * src/hildon-time-editor.c
3728 * src/hildon-touch-selector-entry.c:
3730 More documentation updates.
3732 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3734 * doc/hildon-sections.txt
3735 * src/hildon-caption.c
3736 * src/hildon-code-dialog.c
3737 * src/hildon-color-button.c
3738 * src/hildon-controlbar.c
3739 * src/hildon-date-editor.c
3740 * src/hildon-date-selector.c
3741 * src/hildon-edit-toolbar.c
3742 * src/hildon-find-toolbar.c
3743 * src/hildon-font-selection-dialog.c
3745 * src/hildon-program.c
3746 * src/hildon-range-editor.c
3747 * src/hildon-seekbar.c
3748 * src/hildon-time-editor.c
3749 * src/hildon-time-selector.c
3750 * src/hildon-volumebar-range.c
3751 * src/hildon-volumebar.c
3752 * src/hildon-vvolumebar.c
3753 * src/hildon-weekday-picker.c
3754 * src/hildon-window.c
3755 * src/hildon-wizard-dialog.c:
3757 Lots of documentation fixes.
3759 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3761 Patch contributed by Iván Gómez (igomez@igalia.com)
3763 * src/hildon-check-button.c:
3764 * src/hildon-date-button.c:
3765 * src/hildon-date-selector.c:
3766 * src/hildon-dialog.c:
3767 * src/hildon-edit-toolbar.c:
3768 * src/hildon-entry.c:
3769 * src/hildon-picker-button.c:
3770 * src/hildon-program.c:
3771 * src/hildon-text-view.c:
3772 * src/hildon-time-button.c:
3773 * src/hildon-touch-selector-entry.c:
3774 * src/hildon-window-stack.c:
3776 Add more "since" tags to the new API.
3778 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3780 * doc/hildon-sections.txt: Add below method.
3781 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3782 version for the hildonized scale.
3783 * src/hildon-gtk.h: Add the definition.
3785 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3787 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3789 * doc/hildon-sections.txt: Add missing entries for new methods.
3791 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3793 Added API to pannable are in order to get its adjustments. We
3794 added two properties to manage the values we had in the private
3797 * src/hildon-pannable-area.c:
3798 (hildon_pannable_area_class_init): Added hadjustment and
3799 vadjustment properties in order to expose horizontal and vertical
3801 (hildon_pannable_area_get_property),
3802 (hildon_pannable_area_set_property): Added code to handle the new
3804 (hildon_pannable_area_get_hadjustment),
3805 (hildon_pannable_area_get_vadjustment): API functions to get the
3807 * src/hildon-pannable-area.h:
3808 (hildon_pannable_area_get_hadjustment),
3809 (hildon_pannable_area_get_vadjustment): API functions to get the
3812 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3814 Fixed some leaks, after valgrinding.
3816 * src/hildon-touch-selector.c:
3817 (_default_print_func): Fixed a leak.
3818 (hildon_touch_selector_append_column): Fixed a leak.
3819 * src/hildon-date-button.c:
3820 (hildon_date_button_init): Fixed a leak.
3821 * src/hildon-date-selector.c
3822 (hildon_date_selector_finalize): Fixed a leak.
3824 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3826 Based on a patch by Christian Dywan (christian@imendio.com)
3828 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3830 * src/hildon-gtk.h: Add definition.
3832 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3834 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3836 * src/hildon-picker-button.c: (hildon_picker_button_init),
3837 (hildon_picker_button_new): Set the HildonButton::style property
3838 in the init method, to propagate the value to the derived classes.
3840 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3842 * src/hildon-button.c: (hildon_button_class_init): Do not make
3843 the "style" property a construct property.
3845 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-wizard-dialog.h
3848 * src/hildon-wizard-dialog.c
3849 (hildon_wizard_dialog_set_forward_page_func)
3850 * src/hildon-pannable-area.h
3851 * src/hildon-pannable-area.c
3852 (hildon_pannable_area_set_size_request_policy):
3853 Documentation fixes.
3855 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3857 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3859 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3861 * doc/hildon-sections.txt: Added sections file.
3863 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3866 * src/*.[ch]: Updates.
3868 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3870 * examples/hildon-progress-indicator-example.c: new file
3871 * examples/Makefile.am: include the new example program
3873 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3877 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3879 * configure.ac: post release version bump
3880 * debian/changelog: version bump
3882 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3887 * configure.ac: bump version
3888 * debian/changelog: updates
3889 * debian/control: bump gtk+ dependency
3891 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3893 * src/hildon-dialog.c: Mark as deprecated.
3894 * src/hildon-dialog.h: Mark as deprecated.
3895 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3896 from HildonDialog and still work, even if
3897 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3898 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3900 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3901 maemo changes) instead)
3903 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3905 * src/hildon-pannable_area.h:
3906 * src/hildon-pannable_area.c:
3907 (hildon_pannable_area_class_init),
3908 (hildon_pannable_area_set_property),
3909 (hildon_pannable_area_get_property),
3910 (hildon_pannable_area_size_request),
3911 (hildon_pannable_area_get_size_request_policy),
3912 (hildon_pannable_area_set_size_request_policy): Added new API
3913 allowing applications to control the request policy. Now they can
3914 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3915 children allocation (HILDON_MOVEMENT_CHILDREN).
3917 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3921 (hildon_gtk_tree_view_set_ui_mode)
3922 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3923 mode of treeviews and iconviews.
3925 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-touch-selector-entry.c:
3928 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3929 of a GtkEntry to get proper theming.
3931 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3932 widget, not GtkEntry)
3934 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3937 no HildonWizardDialogPageFunc.
3939 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3941 Patch contributed by Iván Gómez (igomez@igalia.com)
3943 * src/hildon-app-menu.c:
3944 * src/hildon-button.c:
3945 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3946 * src/hildon-stackable-window.c:
3947 * src/hildon-time-selector.c:
3948 * src/hildon-touch-selector.c:
3949 * src/hildon-window.c:
3951 Add more "since" tags to the new API in hildon 2.2.
3953 2008-12-05 Tim Janik <timj@imendio.com>
3955 Patch contributed by Christian Dywan (christian@imendio.com)
3957 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3958 HildonSizeType, which are supplied by Gtk+ now.
3960 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3962 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3963 (with maemo changes) instead)
3965 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3967 Patch contributed by Iván Gómez (igomez@igalia.com)
3969 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3972 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3974 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3975 (some_page_func), (main): Update the example to use a
3976 HildonWizardDialogPageFunc function.
3978 * src/hildon-wizard-dialog-private.h: Add private data for
3979 the HildonWizardDialogPageFunc function usage.
3981 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3982 (destroy), (hildon_wizard_dialog_init), (response),
3983 (hildon_wizard_dialog_set_forward_page_func):
3984 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3985 that applications can use to stop a HildonWizardDialog to jump to
3988 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3991 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3993 * src/hildon-program.h
3994 * src/hildon-program-private.h
3995 * src/hildon-program.c (hildon_program_init)
3996 (hildon_program_set_common_app_menu)
3997 (hildon_program_get_common_app_menu):
3998 New API for setting a common HildonAppMenu for all
3999 HildonStackableWindows registered with the HildonProgram.
4001 * src/hildon-stackable-window.c
4002 (hildon_stackable_window_toggle_menu):
4003 Use the common HildonAppMenu if a window doesn't have a specific
4006 * src/hildon-app-menu-private.h
4007 * src/hildon-app-menu.c
4008 (hildon_app_menu_get_parent_window):
4009 Function to obtain the window a HildonAppMenu is attached to.
4010 (hildon_app_menu_set_parent_window):
4011 Hide the menu if the parent window is set to NULL.
4013 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4016 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4017 search widget to popup.
4019 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: post release version bump
4022 * debian/changelog: version bump
4024 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4029 * configure.ac: bump version
4030 * debian/changelog: updates
4032 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4034 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4036 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4037 (hildon_window_stack_window_realized)
4038 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4039 Set the leader GdkWindow when a window is stacked and realized,
4040 unset it when it's unstacked.
4041 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4043 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4045 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-stackable-window.h
4048 * src/hildon-window-stack.h:
4049 Protect definition of HildonWindowStack using the preprocessor.
4051 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4054 Fix warning if all menu items are hidden.
4056 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4058 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4060 * src/hildon-controlbar.c:
4061 * src/hildon-hvolumebar.c:
4062 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4063 Multiple scale size defines updates.
4065 Fixes: NB#94322 (Scale Updates)
4067 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4069 * examples/hildon-app-menu-example.c (create_menu)
4070 Show items after adding them to the menu, as in the future the
4071 menu will no longer call gtk_widget_show() on the added items.
4073 * src/hildon-app-menu.c:
4074 Update example as explained above.
4076 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4078 * src/hildon-app-menu.c
4079 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4080 Make sure that all menu items have finger height.
4082 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4084 * src/hildon-picker-dialog.c:
4085 (_on_dialog_response), (_save_current_selection),
4086 (_restore_current_selection), (_clean_current_selection),
4087 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4088 Defined new functions in order to save the current internal selector
4089 selection previous open the dialog, in case that the use cancel the
4090 interaction, so the widget restores the previous selection.
4092 Fixes: NB#92032 (In calendar application, date values in 'new event'
4095 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4097 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4099 * src/hildon-button.c: Add a reference to the button examples in
4100 hildon-button-example.c
4102 * examples/hildon-button-example.c: Added examples of the most
4103 common button layouts.
4105 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4107 * src/hildon-app-menu.c (hildon_app_menu_show)
4108 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4110 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4112 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-picker-dialog.c:
4115 (hildon_picker_dialog_init): Initialize the signal id for
4116 HildonTouchSelector::columns-changed.
4117 (+on_selector_columns_changed): Set up the interaction mode everytime a
4118 column is added or removed from the HildonTouchSelector.
4119 (_hildon_picker_dialog_set_selector): Connect to
4120 HildonTouchSelector::columns-changed and keep track of it.
4122 Make sure to update the interaction mode of the dialog everytime a
4123 column is added or removed in the HildonTouchSelector.
4125 Fixes: NB#93228 (Done button is not shown always in listpicker)
4127 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4129 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4130 a new ::columns-changed signal.
4131 (hildon_touch_selector_append_column): Emit ::columns-changed.
4132 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4134 Add a ::columns-changed signal, emitted when the number of columns in a
4135 HildonTouchSelector changes.
4137 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4140 (_hildon_picker_dialog_set_selector): Factor out the code
4141 to set up the dialog interaction mode.
4143 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4145 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4146 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4147 to signal_changed_id.
4149 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4154 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4156 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4157 Updated the logical ids related to ampm format, as now it is required to
4158 show it correctly localized even on languages with no default
4159 abbreviations for am or pm
4160 (_check_am_pm_format): check correctly the 24h format gconf property
4162 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4164 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4166 * src/hildon-button.c: Documentation updates.
4168 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4171 * src/hildon-caption.c: (hildon_caption_class_init):
4172 * src/hildon-color-button.c: (hildon_color_button_class_init):
4173 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4174 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4175 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4176 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4178 Remove deprecated GTK+ marshalers and replace them with the ones
4179 provided by GLib, for those available, add a marshaler for
4180 BOOLEAN:VOID, which is not available in GLib, and use it.
4182 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4185 the text from the previous column if there is no
4186 HildonTouchSelectorColumn::text-property set.
4188 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-button.h
4191 * src/hildon-button.c (hildon_button_set_property)
4192 (hildon_button_get_property, hildon_button_class_init)
4193 (hildon_button_set_style, hildon_button_get_style):
4194 New "style" property to change the visual appearance of the
4197 * src/hildon-picker-button.c (hildon_picker_button_new):
4198 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4200 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4201 HildonButton look like PickerButton)
4203 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4205 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4206 column while building the default string.
4208 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4211 scroll indicator by default.
4213 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4215 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4217 * src/hildon-main.c: Fix the documentation for hildon_init()
4219 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4221 * doc/hildon-docs.sgml
4225 * src/hildon-window-stack-private.h
4226 * src/hildon-window-stack.h
4227 * src/hildon-window-stack.c:
4228 New HildonWindowStack object, that adds support for multiple
4229 stacks of windows per process.
4231 * src/hildon-stackable-window-private.h
4232 * src/hildon-stackable-window.h
4233 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4234 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4235 (hildon_stackable_window_show, hildon_stackable_window_hide)
4236 (hildon_stackable_window_class_init)
4237 (hildon_stackable_window_init):
4238 Use HildonWindowStack for stack management.
4240 * src/hildon-program.c (hildon_program_pop_window_stack)
4241 (hildon_program_peek_window_stack)
4242 (hildon_program_go_to_root_window):
4243 Add a fallback implementation to the deprecated functions using
4246 * examples/hildon-stackable-window-example.c:
4247 Use the new HildonWindowStack API.
4249 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-stackable-window-private.h
4252 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4253 (hildon_stackable_window_hide, hildon_stackable_window_init):
4254 Remove all window stack management.
4256 * src/hildon-program-private.h
4257 * src/hildon-program.h
4258 * src/hildon-program.c (hildon_program_init)
4259 (hildon_program_pop_window_stack)
4260 (hildon_program_peek_window_stack)
4261 (hildon_program_go_to_root_window):
4262 Remove all window stack management and mark functions as
4265 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-app-menu.c (hildon_app_menu_realize):
4268 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4270 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4272 * configure.ac: post release version bump
4273 * debian/changelog: version bump
4275 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4280 * configure.ac: bump version
4281 * debian/changelog: updates
4283 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4285 Based on initial code by Christian Dywan (christian@imendio.com)
4287 * doc/hildon-docs.sgml: Add section for hildon-main.
4288 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4289 * src/Makefile.am: Add new hildon-main.[ch]
4290 * src/hildon-defines.h: Update the icon sizes.
4291 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4292 new library initialization files and register icon sizes.
4293 * src/hildon-main.h: New declarations.
4294 * src/hildon.h: Include hildon-main.h
4296 Add new initialization functions to the library. These methods
4297 will register the hildon specific icon sizes and can be used in the
4298 future for other hildon specific bits.
4300 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4302 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4304 * src/hildon-window.c: (hildon_window_realize),
4305 (hildon_window_notify), (-hildon_window_update_title): Do not set
4306 the application name in the window title.
4308 Fixes: NB#89754 (Applications shouldn't display their names in the
4311 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4313 * src/hildon-note-private.h:
4314 * src/hildon-note.c: (hildon_note_set_property),
4315 (hildon_note_get_property), (hildon_note_class_init),
4316 (hildon_note_init), (hildon_note_finalize),
4317 (hildon_note_new_confirmation_with_icon_name),
4318 (hildon_note_new_information_with_icon_name):
4320 No need to mark as deprecated the actual code. Revert
4321 to avoid missing symbols in widgets using deprecated API.
4323 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4325 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4327 * src/hildon-volumebar.h
4328 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4329 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4331 * src/hildon-helper.h
4332 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4333 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4335 * examples/Makefile.am:
4336 Deprecate hildon-insensitive-example
4338 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4340 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4342 * examples/hildon-pannable-area-buttons-scroll-example.c:
4343 Make all buttons finger height
4345 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4347 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4349 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4350 update the day model only if it is really required, and to avoid the
4351 full-reconstruction aproach. Now it only add or remove the required days.
4353 The purpose of this is avoid superfluous HildonTouchSelector::changed
4356 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4357 with strange parameters)
4359 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4361 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4363 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4364 the WINDOW_TYPE property.
4366 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4368 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4371 Fix dependency to allow parallel compilation with make -jX
4373 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4376 color frame and some minor tweaks to make it more consistent with
4379 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4380 highlighted but not visible)
4382 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4384 * examples/Makefile.am: Fixed typo in the Makefile.am.
4386 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4388 Reviewed the use of MAEMO_GTK define, now we add the define in the
4389 compilation line, and we also add it to the pc file.
4391 * configure.ac: Added MAEMO_GTK define to the compilation command
4392 and removed it from the config.h.
4394 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4395 do not have to take care about this define if the library was
4399 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4401 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4403 * examples/Makefile.am,
4404 * examples/hildon-pannable-area-buttons-scroll-example.c,
4405 * examples/hildon-pannable-area-gesture-signals-example.c,
4406 * examples/hildon-pannable-area-scroll-jump-example.c,
4407 * examples/hildon-pannable-area-tree-view-example.c:
4408 Renamed the pannable area examples, now they have more meaningful
4411 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4413 * src/hildon-touch-selector.c:
4414 (hildon_touch_selector_set_column_selection_mode): Used of
4415 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4416 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4417 to avoid re-seting the same selection mode.
4419 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4420 breaks HildonPickerDialog)
4422 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4424 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4425 conditional in the Makefile.am
4427 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4430 Remove unused methods.
4432 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4434 * src/hildon-button.c (hildon_button_init):
4435 Make button images center-aligned by default
4437 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4440 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4441 activated, we have to think about how to deal with both defines
4442 MAEMO_GTK and MAEMO_CHANGES.
4444 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4446 * examples/hildon-app-menu-example.c (create_menu): Make all
4447 buttons finger size.
4449 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4451 Fixed the compilation without maemo gtk adding ifdefs with
4452 MAEMO_GTK define to the code, we have to check this version more
4455 * examples/Makefile.am: Added control to avoid some examples that
4456 just make sense with maemo gtk.
4459 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4460 hildon modes with the define.
4462 * examples/hildon-edit-toolbar-example.c,
4463 (create_icon_view): Create the icon view without hildon-gtk
4464 helpers if we are not using maemo gtk.
4466 * src/hildon-touch-selector.c,
4467 (_create_new_column): Create the treeview without hildon-gtk
4468 helpers if we are not using maemo gtk.
4470 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4472 * src/hildon-pnnable-area.c,
4473 (hildon_pannable_area_dispose),
4474 (hildon_pannable_area_button_press_cb),
4475 (hildon_pannable_area_child_mapped),
4476 (hildon_pannable_area_add),
4477 (hildon_pannable_area_remove): Added code to control the position
4478 of the event_window when adding and removing children from the
4479 pannable. We have to raise the event window when the child is
4482 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4483 selection mode using custom widget inside pannable)
4485 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4487 * configure.ac: post release version bump
4488 * debian/changelog: version bump
4490 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4495 * configure.ac: bump version
4496 * debian/changelog: updates
4498 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4500 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4501 search mode, in order to avoid lose the focus on the treeview when
4502 a hw key (like enter) is pressed.
4504 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4505 in HildonDateSelector dialog)
4507 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4509 * debian/rules: Added --enable-maintainer-mode
4510 * Makefile.am: Added ACLOCAL_AMFLAGS
4512 This allows to properly regenerate the Makefiles if you modify the
4513 configure.ac or any Makefile.am.
4515 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4517 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4518 properties, not needed at all.
4520 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4524 * src/hildon-note.c: (hildon_note_set_property),
4525 (hildon_note_get_property), (hildon_note_class_init),
4526 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4527 (hildon_note_new_confirmation_add_buttons): Remove icons.
4528 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4529 (hildon_note_new_information_with_icon_name): Deprecate.
4530 (hildon_note_new_confirmation): Act directly, without calling
4531 the deprecated constructor.
4532 (hildon_note_new_information): Act directly, without calling
4533 the deprecated constructor.
4534 * src/hildon-note.h: Mark deprecate methods as such.
4535 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4536 not run tests on the deprecated methods if built with deprecation
4539 Fixes: NB#91688 (Never show icons in information notes/confirmation
4542 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4545 (hildon_app_menu_key_press): Remove leftover usage of the
4546 private structure in HildonAppMenu struct.
4547 * src/hildon-app-menu.h: Remove leftover private structure
4548 from the HildonAppMenu struct.
4550 Fixes a crasher when using the HildonAppMenu.
4552 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-picker-dialog.c: Use appropriate logical id
4555 for the default "Done" text.
4557 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: post release version bump
4560 * debian/changelog: version bump
4562 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4564 Modified the way to scroll to the current selection just when the touch
4565 selector is shown on the screen, avoiding a g_idle. Added too a property
4566 to configure this behaviour. See hildon_pannable_area_jump_to_child
4567 documentation for more information.
4569 * src/hildon-touch-selector.c
4570 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4571 Added 'initial-scroll' property
4572 (hildon_touch_selector_set_property): Added
4573 (hildon_touch_selector_map): Removed as not required anymore
4574 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4575 only a concrete column, instead of iterate along all the columns
4577 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4582 * configure.ac: bump version
4583 * debian/changelog: updates
4585 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4588 compilation time warnings.
4590 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4593 the default value for HildonPannableArea::mov-mode to
4594 HILDON_PANNABLE_AREA_MODE_VERT.
4596 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4598 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4600 Reverting following commit:
4602 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-app-menu-private.h
4605 * src/hildon-app-menu.[ch]
4606 * src/hildon-button.[ch]
4607 * src/hildon-check-button.[ch]
4608 * src/hildon-entry.[ch]
4609 * src/hildon-pannable-area.[ch]
4610 * src/hildon-text-view.[ch]:
4611 Added private field to the object's structure.
4613 because it causes an ABI breakage. We will need to introduce these
4614 changes later at some point. See NB#91636 for an extensive
4615 explanation and status.
4617 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4619 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4621 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4622 remove special cases that are no longer necessary.
4624 Fixes: NB#91016 (Change toolbar sizes, simplification)
4626 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4629 is shown in the cancel note.
4631 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4633 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4634 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4635 (hildon_seekbar_init): Remove steppers, remove expose event.
4636 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4638 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4640 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4643 label font to "SmallSystemFont" for vertically arranged buttons.
4645 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4648 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-check-button.c
4651 (hildon_check_button_set_active, hildon_check_button_clicked):
4652 Don't access private parts directly, use getters instead.
4654 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-check-button.c (hildon_check_button_new):
4657 Align the contents of the check button to the left.
4659 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4661 * src/hildon-pannable-area.c,
4662 (hildon_pannable_area_scroll_to),
4663 (hildon_pannable_area_jump_to),
4664 (hildon_pannable_area_scroll_to_child),
4665 (hildon_pannable_area_jump_to_child): Replace the mapped
4666 precondition of these functions with the realized, it is the
4667 correct state of the widget in this case. Changed the
4668 documentation according to this modification.
4670 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4672 Added a new EXTRA_CFLAGS option to add the deprecated define to
4673 the compilation command. This way we can avoid using the define in
4674 the documentation compilation.
4676 * configure.ac: Defined EXTRA_CFLAGS.
4678 * examples/Makefile.am:
4680 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4682 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4684 * src/hildon-picker-dialog.c:
4685 Defined a utility macro with the desired touch selector height
4686 Removed currently unused separator, and title_label variables from
4688 (hildon_picker_dialog_init): Removed code related to the creation
4689 of unused private variables title_label and separator.
4690 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4691 to ensure correct visualization of the touch selector inside the dialog.
4692 * src/hildon-touch-selector.c
4693 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4694 ensure a concrete height of the widget.
4696 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4699 * tests/Makefile.am:
4701 Remove spurious whitespaces.
4703 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4706 compilation warning after the cancel button removal.
4708 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4710 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4712 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4713 Makefile.am, that way we can choose not to compile some examples
4714 and tests of the deprecated widgets.
4716 * examples/Makefile.am: Divided the sources in deprecated and
4719 * src/Makefile.am: Added undef statement of the deprecated
4720 symbol to the enums file generation process.
4722 * src/hildon-color-chooser-dialog.c
4723 * src/hildon-color-chooser-dialog.h
4724 * src/hildon-color-button.c
4725 * src/hildon-color-button.h
4726 * src/hildon-color-chooser.c
4727 * src/hildon-color-chooser.h
4728 * src/hildon-controlbar.c
4729 * src/hildon-controlbar.h
4730 * src/hildon-date-editor.c
4731 * src/hildon-date-editor.h
4732 * src/hildon-hvolumebar.c
4733 * src/hildon-hvolumebar.h
4734 * src/hildon-private.c
4735 * src/hildon-private.h
4736 * src/hildon-range-editor.c
4737 * src/hildon-range-editor.h
4738 * src/hildon-seekbar.c
4739 * src/hildon-seekbar.h
4740 * src/hildon-time-editor.c
4741 * src/hildon-time-editor.h
4742 * src/hildon-time-picker.c
4743 * src/hildon-time-picker.h
4744 * src/hildon-volumebar.c
4745 * src/hildon-volumebar.h
4746 * src/hildon-vvolumebar.c
4747 * src/hildon-vvolumebar.h
4748 * src/hildon-bread-crumb-trail.h
4749 * src/hildon-bread-crumb-trail.c
4750 * src/hildon-calendar-popup.c
4751 * src/hildon-calendar-popup.h
4752 * src/hildon-weekday-picker.c:
4753 * src/hildon-weekday-picker.h:
4754 * src/hildon-bread-crumb-widget.c:
4755 * src/hildon-bread-crumb-widget.h:
4756 * src/hildon-bread-crumb.c:
4757 * src/hildon-bread-crumb.h:
4758 * src/hildon-calendar.c:
4759 * src/hildon-calendar.h:
4760 * src/hildon-caption.c:
4761 * src/hildon-code-dialog.c:
4762 * src/hildon-code-dialog.h:
4763 * src/hildon-font-selection-dialog.c:
4764 * src/hildon-font-selection-dialog.h:
4765 * src/hildon-get-password-dialog.c:
4766 * src/hildon-get-password-dialog.h:
4767 * src/hildon-login-dialog.c:
4768 * src/hildon-login-dialog.h:
4769 * src/hildon-number-editor.c:
4770 * src/hildon-number-editor.h:
4771 * src/hildon-set-password-dialog.c:
4772 * src/hildon-set-password-dialog.h:
4773 * src/hildon-sort-dialog.c:
4774 * src/hildon-sort-dialog.h: This is the list of deprecated
4777 * src/hildon-touch-selector.c:
4778 * src/hildon-window.c: Added undef statement to avoid compilation
4781 * tests/Makefile.am: Divided the sources in deprecated and
4784 * tests/check_test.c,
4785 (configure_tests): Marked the deprecated code that was adding
4786 suites with deprecated tests.
4788 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4790 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-touch-selector.c: (_default_print_func): Do not
4793 duplicate a string returned by gtk_tree_model_get(), it is already
4796 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4799 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4801 * src/hildon-pannable-area.c
4802 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4803 method, it had problems when adding a widget with viewport the
4804 second time. Now checks if it already has a viewport and uses it.
4806 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4809 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4811 * src/hildon-pannable-area.c,
4812 (hildon_pannable_area_scroll_to),
4813 (hildon_pannable_area_jump_to),
4814 (hildon_pannable_area_scroll_to_child),
4815 (hildon_pannable_area_jump_to_child): Added a precondition to the
4816 scroll and jump to functions: the widget must be mapped before we
4817 can safely call these functions. We have also added documentation
4818 to the functions to explain how to use them in this situation.
4821 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4823 Reviewed the threading handling of the pannable widget, we have
4824 used the gdk_threads_add_timeout function instead of the usual
4825 glib handlers. This avoids some problems with the threads.
4827 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4828 (hildon_pannable_area_initial_effect),
4829 (hildon_pannable_area_scroll_indicator_fade),
4830 (hildon_pannable_area_button_press_cb),
4831 (hildon_pannable_area_timeout),
4832 (hildon_pannable_area_motion_notify_cb),
4833 (hildon_pannable_area_button_release_cb),
4834 (hildon_pannable_area_scroll_cb),
4835 (hildon_pannable_area_scroll_to): Removed the
4836 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4837 gdk_threads_add_timeout.
4839 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4841 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4846 * configure.ac: bump version
4847 * debian/changelog: updates
4849 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4851 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4852 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4853 * src/hildon-color-chooser-dialog.c:
4854 (hildon_color_chooser_dialog_init):
4855 * src/hildon-font-selection-dialog.c:
4856 (hildon_font_selection_dialog_init):
4857 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4859 Remove all cancel/close-like dialogs, as these are not going to be
4862 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4864 * src/hildon-note.c: (hildon_note_rebuild),
4865 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4868 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4870 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4873 sure all buttons are shown, even the Cancel/Close-like ones.
4875 Fixes: NB#90861 (Custom Confirmation dialogs should be
4876 protected from cancel button removal)
4878 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4880 * debian/control: Change libhildon1-examples dependency from libhildon1
4882 * debian/libhildon1-examples.install
4884 * Makefile.am: Modified the final install directory for the examples on
4885 package libhildon1-examples
4886 * Makefile.static: Update clean target in order to remove all the binary
4889 Changes suggested by Claudio after review new libhildon1-examples package
4891 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4894 * src/hildon-touch-selector.c: Ditto.
4896 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4898 * debian/control: Added new package libhildon1-examples, in order to pack
4899 the current hildon examples as documentation
4900 * debian/rules: Not to compress .c files, modify some includes on the
4901 examples (as normally are compiled locally, but when installed it will
4902 require to include the installed libhildon1 library), and rename
4904 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4905 install all the example files on the new example package
4906 * examples/Makefile.static: Added static makefile that can be used to
4907 compile the examples, once installed the new example package
4908 * examples: Most of the examples were modified in order to grant that
4909 all use only '#include "hildon.h"', in order to be easy to prepare
4910 it on the example package
4912 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4915 * debian/libhildon1-dev.install
4916 * debian/libhildon1-doc.install:
4917 Move all gtk-doc files to a separate libhildon1-doc package.
4919 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4921 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4923 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4925 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4927 * debian/rules: Fixed a error in order to avoid unnecessary calls
4928 to autogen.sh on package building
4930 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4932 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4934 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4936 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4939 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4941 * src/hildon-picker-button.c
4942 (hildon_picker_button_finalize):
4943 Free priv->done_button_text
4945 * src/hildon-time-button.c
4946 (hildon_time_button_set_time)
4947 * src/hildon-picker-button.c
4948 (hildon_picker_button_clicked)
4949 (hildon_picker_button_selector_selection_changed)
4950 (hildon_picker_button_set_selector)
4951 * src/hildon-date-button.c
4952 (hildon_date_button_set_date):
4953 Free strings returned by hildon_touch_selector_get_current_text()
4955 * src/hildon-button.c (hildon_button_construct_child):
4956 Fix leaks in priv->image and priv->label_box
4958 Fixes: NB#90535 (Memory leak in picker button)
4960 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-button.c: (hildon_button_get_property): Do not access
4963 private elements directly, use getters instead.
4965 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu-private.h
4968 * src/hildon-app-menu.c
4969 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4970 Store the menu's parent window.
4972 * src/hildon-stackable-window.c
4973 (hildon_stackable_window_toggle_menu)
4974 (hildon_stackable_window_finalize):
4975 Set the menu's parent window when the menu is shown, unset it when
4978 * src/hildon-app-menu.c
4979 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4980 (hildon_app_menu_class_init):
4981 Send unhandled keyboard accelerators to the parent window.
4983 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-stackable-window.c
4986 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4988 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4990 * configure.ac: post release version bump
4992 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4995 * configure.ac: Bump version
4996 * debian/changelog: Updates
4997 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5000 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5002 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5005 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5006 GtkMenu with Hildon style.
5008 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5010 * src/hildon-picker-button.c:
5011 (hildon_picker_button_set_done_button_text): Set the dialog's
5012 done button text here as well.
5014 Fixes: NB#90232 (Picker button does not set the label on done button
5015 for the second time)
5017 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5022 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5024 * src/hildon-app-menu.c (hildon_app_menu_insert)
5025 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5026 the HildonAppMenu to be activatable using keyboard accelerators
5027 when the menu is not being shown.
5029 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5031 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-stackable-window.c
5034 (hildon_stackable_window_show):
5035 Don't hide old windows automatically when new windows are shown:
5036 this is now a task for the window manager.
5037 (hildon_stackable_window_class_init)
5038 (hildon_stackable_window_hide):
5039 Remove windows from the stack everytime they're hidden.
5040 (hildon_stackable_window_realize):
5041 Don't change the _NET_WM_WINDOW_TYPE property. Use
5042 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5043 it as a stackable window.
5045 * src/hildon-program.c
5046 (hildon_program_pop_window_stack):
5047 Just hide the window to remove it from the stack.
5048 (hildon_program_go_to_root_window):
5049 Don't call gtk_widget_show(), this is now a task for the window
5052 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5054 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-button.c
5057 (hildon_button_construct_child):
5058 Don't pack anything in the button until text or image are
5059 set. This allows adding a custom child after creating the button
5060 with hildon_button_new().
5061 (hildon_button_finalize, hildon_button_class_init)
5062 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5063 alignment and the label box even when they're not packed in the
5066 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5068 * src/hildon-touch-selector.h:
5069 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5070 currently the type definition was using GTK_TYPE_VBOX
5071 * src/hildon-touch-selector.c:
5072 Added some implementation notes in order to clarify that any other widget
5073 added without the column related API will not be included on the
5074 selection logic, and how the widget is freed, as some people ask about
5076 (hildon_touch_selector_remove): Reimplemented in order to free properly
5077 the column related data when you remove the private hbox.
5078 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5079 to get a proper HildonTouchSelectorColumn documentation
5081 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5083 * src/hildon-touch-selector-entry.c:
5084 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5085 text in the GtkEntry and there is no item selected. Fixes a
5088 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-app-menu-private.h
5091 * src/hildon-app-menu.[ch]
5092 * src/hildon-button.[ch]
5093 * src/hildon-check-button.[ch]
5094 * src/hildon-entry.[ch]
5095 * src/hildon-pannable-area.[ch]
5096 * src/hildon-text-view.[ch]:
5097 Added private field to the object's structure.
5099 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5101 * configure.ac: post-release version bump
5103 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5107 * configure.ac: pre-release version bump
5109 * debian/changelog: updates.
5111 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5113 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5114 Disconnect the handler for HildonTouchSelector::changed.
5116 (hildon_picker_button_selector_selection_changed): Update the button
5117 value if the selection change was not triggered by the
5120 (hildon_picker_button_set_selector): connect to
5121 HildonTouchSelector::changed.
5123 Fixes: NB#89650 (Picker button is not updated, when selection in
5124 selector has changed)
5126 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5128 * src/hildon-picker-dialog.c
5129 (hildon_picker_dialog_realize): Removed as not required
5130 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5131 * src/hildon-picker-button.c
5132 (_current_selector_empty): New function, checks if the selector is empty
5133 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5134 if the current selector is empty, in order to avoid to show the dialog
5135 close the dialog in this case (and shows a g_warning).
5137 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5139 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5141 * src/hildon-pannable-area.c,
5142 (hildon_pannable_area_scroll): Added clause to stop movement when
5143 the child of pannable is smaller than one page.
5144 (hildon_pannable_area_scroll_to): Added conditions to avoid
5145 starting the scrolling movement if the child is smaller than one
5146 page, the complete child is in the screen, we do not have to move.
5148 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5150 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5152 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5153 this is managed automatically by the widget when the size of the
5156 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5158 * src/hildon-picker-button.c
5159 (hildon_picker_button_set_done_button_text): Make a copy of the
5160 text, and free the previous value.
5162 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5164 * src/hildon-touch-selector-entry.c:
5165 (hildon_touch_selector_entry_print_func): Return the selected row's
5166 text if the entry is empty.
5168 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5171 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5173 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5175 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5178 * src/hildon-check-button.h
5179 * src/hildon-check-button.c
5180 * examples/hildon-check-button-example.c:
5181 HildonCheckButton is now a new widget. 'toggled' signal added.
5183 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5185 * src/hildon-program-private.h
5186 * src/hildon-program.c (hildon_program_init)
5187 (hildon_program_finalize): Removed unused variables group_leader
5188 and name from HildonProgramPrivate.
5190 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5192 * src/hildon-check-button.c (hildon_check_button_set_active)
5193 (hildon_check_button_get_active, hildon_check_button_new): Use
5194 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5196 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5198 * src/hildon-touch-selector.h
5199 (hildon_touch_selector_set_column_attributes): added deprecation
5200 guard HILDON_DISABLE_DEPRECATED
5201 * src/hildon-time-selector.c
5202 (hildon_time_selector_set_time)
5203 (hildon_time_selector_get_time): Fixed a typo on documentation
5204 * src/hildon-touch-selector.c: update HildonTouchSelector and
5205 HildonTouchSelectorColumn documentation
5206 * src/hildon-touch-selector-entry.c: update "text-column" property
5208 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5209 to be added to the general documentation.
5211 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5213 * examples/hildon-pannable-area-example-4.c,
5215 * examples/hildon-pannable-area-example.c,
5216 (main): Modified the code in order to use the container add, with
5217 viewport treeviews could have problems if they are really big.
5219 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5221 * src/hildon-weekday-picker.c,
5222 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5223 the agreement regarding deprecation in the library.
5225 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5227 * examples/hildon-picker-button-multicolumn-example.c:
5228 (main): Use custom "done" button text.
5230 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5231 (hildon_picker_button_set_property),
5232 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5233 (hildon_picker_button_init),
5234 (+hildon_picker_button_get_done_button_text),
5235 (+hildon_picker_button_set_done_button_text): New methods to customize
5236 the "done" button label in the launched HildonPickerDialog. Also,
5239 * src/hildon-picker-button.h: add the public API.
5241 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-date-selector.h:
5244 * src/hildon-picker-dialog.h:
5245 * src/hildon-time-selector.h:
5246 * src/hildon-touch-selector-column.h:
5247 * src/hildon-touch-selector.h:
5249 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5250 declarations. Fixes gtk-doc warnings.
5252 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-picker-dialog.h
5255 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5256 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5258 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5259 long text is set as label for done button)
5261 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-dialog.c (hildon_dialog_add_button):
5264 Set fixed width to all buttons in the HildonDialog.
5266 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5268 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5270 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5271 Set widget name using class name plus "-finger" or "-thumb".
5273 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5276 'clicked' when the state of the button is manually changed.
5278 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5280 * src/hildon-app-menu.c (hildon_app_menu_realize)
5281 (hildon_app_menu_unrealize, hildon_app_menu_init)
5282 (hildon_app_menu_class_init, item_visibility_changed):
5283 Change the menu layout when the size of the screen changes.
5284 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5285 Show warning only when changing the number of colums using the
5288 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5290 * debian/compat: Set to 5
5291 * debian/control: Update dependencies.
5292 * debian/libhildon1-dbg.install: Remove.
5293 * debian/libhildon1-dev.install: Update according to cdbs paths.
5294 * debian/libhildon1.install: Update according to cdbs paths.
5295 * debian/rules: Switch to cdbs.
5297 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5300 'item' variable renamed to 'filter'
5302 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-app-menu.c (hildon_app_menu_insert)
5305 (hildon_app_menu_add_filter, remove_item_from_list)
5306 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5307 Don't leak hidden items when the menu is destroyed.
5309 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-app-menu.c (hildon_app_menu_insert)
5312 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5313 (hildon_app_menu_set_columns, item_visibility_changed)
5314 (filter_visibility_changed, hildon_app_menu_repack_filters)
5315 (hildon_app_menu_repack_items):
5316 Repack items and filters separately.
5318 Don't repack all items, change only the ones that are needed to
5321 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5323 * src/Makefile.am: added hildon-touch-selector-column.h
5325 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5327 * src/hildon-touch-selector.c: added the property "text-column" to the
5328 class HildonTouchSelectorColumn, and related get/set functions
5329 (_default_printf_func): updated to use "text-column" property
5330 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5331 "text-column" in his documentation, as this is now included on
5332 HildonTouchSelectorColumn. The get/set_property can still be used,
5333 working as a wrapper to the concrete column "text-column" property
5334 (_text_column_modified): callback added in order to handle the signal
5335 "notify::text-column" of the concrete HildonTouchSelectorColumn
5336 (hildon_touch_selector_entry_get_text_column)
5337 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5338 modified in order to use the HildonTouchSelectorColumn "text-column"
5340 * src/hildon-time-selector.c:
5341 * src/hildon-date-selector.c:
5342 * examples/hildon-touch-selector-example.c
5343 * examples/hildon-touch-selector-multi-cells-example.c
5344 * examples/hildon-picker-button-multicolumn-example.c
5345 Set the right value to "text-column" property on the creation of a new
5346 column using hildon_touch_selector_append_column()
5348 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5350 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5352 * src/hildon-app-menu.c
5353 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5354 updating the layout of the menu, don't create all widgets again,
5355 just repack the items in their new places.
5357 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5359 * src/hildon-time-selector.c
5360 (hildon_time_selector_get_time)
5361 (hildon_time_selector_set_time)
5362 Added documentation of these public methods
5364 * src/hildon-date-button.h
5365 * src/hildon-touch-selector-column.h
5366 * src/hildon-time-button.h
5367 * src/hildon-picker-dialog.h
5368 * src/hildon-time-selector.h
5369 * src/hildon-picker-button.h
5370 * src/hildon-touch-selector.h
5371 * src/hildon-time-picker.h
5372 * src/hildon-date-selector.h
5373 * src/hildon-touch-selector-entry.h
5374 Modified in order to use hildon-widgets code style
5376 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5378 Added deprecated support to the compilation process using
5379 HILDON_DISABLE_DEPRECATED
5381 * configure.ac: Added the --disable-deprecated to the configure
5384 * src/hildon-weekday-picker.c:
5385 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5386 to use the deprecated support. We will update the other deprecated
5387 widgets status in a new patch.
5389 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5391 * configure.ac: Fixed typo with fatal warnings support, the
5392 variable name was not correct
5394 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu.c
5397 * src/hildon-program.c: Update documentation.
5399 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5401 * configure.ac: Post-release version bump.
5403 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5408 * configure.ac: Pre-release version bump.
5409 * debian/changelog: Updates.
5411 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5413 * NEWS: Update news for previous releases.
5415 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5417 * examples/hildon-touch-selector-multi-cells-example.c:
5418 (create_selector): Update the example to use
5419 hildon_touch_selector_append_column() with a NULL renderer and set
5420 the renderers later.
5421 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5422 passed a NULL renderer. This is documented behavior now.
5424 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5425 This must be used if the developer wants full control on the layout of
5426 the renderers to be added to the column.
5428 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5430 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5432 * src/hildon-touch-selector.c: Documentation fixes.
5434 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-wizard-dialog-private.h: Remove image and box.
5437 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5438 (hildon_wizard_dialog_set_property), (response): Completely remove
5439 image/icon support, and the containers required for the layout.
5441 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5443 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5445 * src/hildon-app-menu.c: Updated documentation.
5447 * src/hildon-stackable-window.c
5448 (hildon_stackable_window_set_main_menu): Unref the old menu after
5449 ref'ing the new one.
5451 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-stackable-window.c
5454 (hildon_stackable_window_set_main_menu): Unref the previous menu
5455 instead of destroying it.
5457 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5458 floating reference and set has_user_ref_count to FALSE to make
5459 HildonAppMenu act like a normal ref-counted widget and not a
5462 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5465 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5467 * src/hildon-touch-selector-column.h: new file
5468 * src/hildon-touch-selector.h
5469 * src/hildon-touch-selector.c
5470 Implemented GtkCellLayout interface, in order to allow to configure
5471 the cell layout on each individual selector column
5472 (hildon_touch_selector_set_column_attributes): marked as deprecated
5473 * examples/hildon-touch-selector-multi-cells-example.c
5474 Example of how to use the GtkCellLayout interface on the selector
5476 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5478 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5480 * src/hildon-app-menu.h
5481 * src/hildon-app-menu.c
5482 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5483 (hildon_app_menu_append, hildon_app_menu_prepend):
5484 New methods to prepend, insert and move items in the menu.
5486 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-wizard-dialog.c:
5490 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5492 (create_title): Update logical IDs and related code.
5493 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5495 * src/hildon-wizard-dialog.h: Note that
5496 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5497 point, as it is not used anymore.
5499 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5501 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5503 * src/hildon-note.c:
5504 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5505 shown. Do not display an icon in confirmation notes nor information
5507 (hildon_note_set_button_text): Update logical ID for cancel button.
5509 Fixes: NB#88850 (Update HildonNote button strings + signals)
5511 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-stackable-window.c
5514 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5516 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5518 * src/hildon-app-menu-private.h
5519 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5520 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5521 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5522 temporary property 'columns' to change the number of columns.
5524 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5526 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5528 * examples/hildon-note-example.c: (on_information_clicked),
5529 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5530 debugging information.
5531 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5533 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5534 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5535 in order to close: this will be handled by the WM from now on.
5537 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5539 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5541 * src/hildon-app-menu-private.h
5542 * src/hildon-app-menu.c
5543 (hildon_app_menu_append, hildon_app_menu_add_filter)
5544 (button_visibility_changed, hildon_app_menu_apply_style)
5545 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5546 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5547 layout everytime a button (item or filter) is shown or hidden.
5549 * src/hildon-stackable-window.c
5550 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5553 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5555 * src/hildon-touch-selector.c:
5556 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5557 that the treeview inside the touch selector is in fremantle hildon mode
5558 * examples/hildon-date-button-example.c
5559 * examples/hildon-picker-button-multicolumn-example.c
5560 * examples/hildon-touch-selector-entry-example.c
5561 * examples/hildon-touch-selector-example.c
5562 * examples/hildon-time-button-example.c
5563 * examples/hildon-picker-button-example.c:
5564 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5566 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5568 * examples/hildon-text-view-example.c: (main): Remove the
5569 gtkrc bits, now handled by the theme.
5571 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5576 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5578 * po/Makefile.am: Install properly the mo files.
5579 * po/en_GB.po: Update translation, to ease testing purposes.
5581 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5583 * examples/hildon-picker-button-example.c: (main): Select an item
5584 in the selector before setting it to the button.
5586 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5588 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5589 Update button's value if the selector has an item active.
5591 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5592 'value' with the selector)
5594 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5597 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5598 (hildon_picker_button_class_init): Plug the finalize method.
5599 (hildon_picker_button_set_selector): If there's a previously set
5600 selector, unref'it before setting a new one.
5602 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5603 HildonTouchSelector)
5605 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5607 * src/hildon-touch-selector-entry.c:
5608 (hildon_touch_selector_entry_changed): Check if there is no text
5609 selected before setting the entry text.
5612 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-touch-selector.h
5615 * src/hildon-touch-selector.c
5616 (hildon_touch_selector_get_active)
5617 (hildon_touch_selector_set_active): New methods to set/get the
5618 index of the selected item.
5620 * src/hildon-picker-button.h
5621 * src/hildon-picker-button.c
5622 (hildon_picker_button_get_active)
5623 (hildon_picker_button_set_active): New methods to set/get the
5624 index of the selected item.
5626 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5628 * configure.ac: post-release version bump.
5630 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5634 * configure.ac: Pre-release version bump.
5635 * debian/changelog: Updates.
5636 * debian/control: Add myself as maintainer and depend on l10n
5639 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-window.c
5642 (hildon_window_set_main_menu)
5643 * src/hildon-stackable-window.c
5644 (hildon_stackable_window_set_main_menu):
5645 Updated documentation.
5647 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5650 Don't free selector->priv manually.
5653 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5656 (hildon_gtk_window_set_progress_indicator):
5657 * src/hildon-gtk.h: Added the new API
5658 hildon_gtk_window_set_progress_indicator, it changes the state of
5659 the window progress hint.
5661 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-button.c
5664 * src/hildon-stackable-window.c: Minor documentation updates.
5666 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-stackable-window.c: Updated documentation.
5670 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/hildon-defines.h: Update margins definitions
5673 to the Fremantle sizes.
5676 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5678 * src/hildon-touch-selector.c,
5679 (_hildon_touch_selector_set_model): Cleaning the code after
5680 review, removed g_print and #if 0 from the code.
5682 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5684 * src/hildon-edit-toolbar.c: Update documentation.
5686 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5688 * src/hildon-check-button.h
5689 * src/hildon-check-button.c
5690 (hildon_check_button_set_label, hildon_check_button_get_label)
5691 * examples/hildon-check-button-example.c
5692 (button_clicked_cb):
5693 Removed deprecated methods.
5695 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5697 * src/hildon-text-view.c:
5698 Add sample code to the documentation.
5700 * src/hildon-entry.h
5701 * src/hildon-text-view.h:
5702 Minor cosmetic changes.
5704 * src/hildon-entry.c:
5705 Add sample code to the documentation.
5706 (hildon_entry_init, hildon_entry_refresh_contents):
5707 Don't allow NULL values in the placeholder.
5709 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5711 * doc/hildon-docs.sgml
5713 * examples/Makefile.am
5714 * examples/hildon-text-view-example.c
5716 * src/hildon-text-view.c
5717 * src/hildon-text-view.h
5719 New HildonTextView widget, with example.
5721 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5723 * po/POTFILES.in: Add missing files with translatable strings.
5724 Partially fixes NB#88287.
5726 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5728 * examples/hildon-pannable-area-example-2.c: (main): No need to
5729 set the cellrenderer height inside hildon touch lists, the theme does
5732 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5734 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5735 they are integrated in the theme.
5737 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5739 * examples/hildon-entry-example.c: Update the example adding
5740 widgets to modify the text and the placeholder of the HildonEntry.
5742 * src/hildon-entry.c: Show the placeholder everytime the widget
5743 is empty and loses the focus.
5745 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5747 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5749 * src/hildon-pannable-area.c,
5750 (hildon_pannable_area_size_request): Fixed bug in height
5751 requisition, avoid increasing size and add border twice.
5753 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5755 * configure.ac: postrelease version bump.
5757 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5761 * configure.ac: Prerelease version bump.
5762 * debian/changelog: update.
5763 * debian/rules: make -dbg package contain useful debugging symbols.
5765 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-dialog.h
5768 * src/hildon-dialog.c
5769 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5770 New methods to add buttons with finger size.
5771 (hildon_dialog_new_with_buttons):
5772 Create buttons with finger size.
5774 * examples/hildon-dialog-example.c (main): Use HildonDialog
5775 methods to add buttons.
5777 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-entry.c: Updated HildonButton documentation.
5781 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5784 button value label with (FALSE, FALSE) to prevent NB#88126 from
5787 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5789 * examples/hildon-pannable-area-example.c,
5790 (main): Removed examples panning a vbox inside a pannable
5791 area. Check bug NB#87965
5793 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5795 Patch contributed by Kris Rietveld (kris@imendio.com)
5797 * src/hildon-pannable-area.c,
5798 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5799 get_size and get_position, this saves an X server roundtrip.
5801 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5803 * doc/hildon-docs.sgml
5805 * examples/Makefile.am
5806 * examples/hildon-entry-example.c
5808 * src/hildon-entry.c
5809 * src/hildon-entry.h
5811 New HildonEntry widget, with example.
5813 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-button.c (hildon_button_construct_child): Pack the
5816 image with expand == fill == FALSE. This is a workaround for a bug
5819 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5821 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5822 labels for the text column, to make it more look more dynamic.
5824 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5826 * src/hildon-time-selector.c
5827 Define gettext auxiliar macro N_
5828 (_create_minutes_model)
5829 (_create_hours_model)
5830 (_create_ampm_model): use of strftime in order to fill the model
5831 * src/hildon-date-selector.c
5832 (hildon_date_selector_finalize):
5833 (_locales_init): remove the logic related to get the name of the months
5834 using nl_langinfo, as it is not required anymore
5836 (_create_year_model)
5837 (_create_month_model)
5838 (_update_day_model): use of strftime in order to fill the model properly
5841 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5843 * src/hildon-button.h
5844 * src/hildon-button.c (hildon_button_get_image): New method to
5847 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-touch-selector.c:
5850 (hildon_touch_selector_remove_column): Remove from the correct parent
5851 and also remove the list element and free it.
5854 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5856 * src/hildon-time-selector.c
5857 (_create_hours_model): change the range on 12h ampm format in order to use
5858 a 12-11 range instead of previous 01-12 range
5859 (hildon_time_selector_set_time): change the way to select the current time
5860 on 12h ampm format, due the change on the range
5861 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5864 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5866 * src/hildon-touch-selector.c
5867 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5868 in order to allow use this function on multiple row selection mode if
5869 the column is different that the first one
5872 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5875 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5877 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5879 * src/hildon-date-selector.h: clean some comments, now on the .c
5880 * src/hildon-date-selector.c
5881 (hildon_date_selector_select_month): first implementation
5882 (hildon_date_selector_select_day): added documentation, reimplemented
5883 using hildon_date_selector_select_current_date to avoid repeat code
5886 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5888 Reviewed interaction logic based on device experiences, refactored
5891 * src/hildon-pannable-area.c,
5892 (hildon_pannable_area_class_init): Updated default vmax speed.
5893 (hildon_pannable_area_calculate_velocity): Added this function, it
5894 avoids duplicate valocity calculation. Adjusted calculation to
5895 avoid problems with zero dist events.
5897 (hildon_pannable_area_motion_notify_cb): Now we use the
5898 calculate_velocity function.
5900 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5902 * src/hildon-date-selector.c
5903 (hildon_date_selector_select_current_date): fix the day range check
5904 as it failed using the last day of the current month
5907 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5909 * src/hildon-touch-selector.c
5910 (hildon_touch_selector_get_num_columns): added a parameter validation
5913 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5915 * examples/Makefile.am
5916 * examples/hildon-edit-toolbar-example.c: Example of the
5917 HildonEditToolbar widget.
5919 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5921 * configure.ac: postrelease version bump.
5923 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5927 * configure.ac: prerelease version bump.
5928 * debian/changelog: update.
5930 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5932 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5933 renderer to display stock icons in the touch list. Also, set the sizes
5934 to the recommended in the style guide.
5936 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5937 * src/hildon-touch-selector.h
5938 (hildon_touch_selector_set_active_iter): renamed, now is
5939 hildon_touch_selector_select_iter
5940 (hildon_touch_selector_get_active_iter): renamed, now is
5941 hildon_touch_selector_get_selected
5942 (hildon_touch_selector_unselect_iter): added
5943 * src/hildon-touch-selector.c
5944 Update after API modification (methods renamed)
5945 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5946 order to avoid problems selecting multiple elements on the column
5947 (hildon_touch_selector_unselect_iter): added the implementation
5948 * src/hildon-time-selector.c
5949 * src/hildon-date-selector.c
5950 * src/hildon-touch-selector-entry.c
5951 Update methods calls after hildon-touch-selector.h API modification (methods
5954 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-stackable-window.c
5957 (hildon_stackable_window_finalize): Call the parent class's finalize.
5959 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5961 * examples/hildon-touch-selector-example.c: (create_selector): Use
5962 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5965 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5967 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5968 set a cell background color, to respect theming.
5970 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5972 * doc/hildon-docs.sgml
5975 * src/hildon-edit-toolbar.c
5976 * src/hildon-edit-toolbar.h
5977 * src/hildon.h: New HildonEditToolbar widget.
5979 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5981 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5984 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5985 * src/hildon-touch-selector.c
5986 (_create_new_column): use g_object_set instead of two g_object_set_property
5988 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5989 * src/hildon-touch-selector.c
5990 (_create_new_column): use of hildon_gtk_tree_view_new to create
5991 the treeview, instead of use directly g_object_new
5992 (_create_new_column): update the property name "vindicator-mode" for the
5993 new one "vscrollbar-policy"
5994 * examples/hildon-date-button-example.c
5995 * examples/hildon-picker-button-multicolumn-example.c
5996 * examples/hildon-touch-selector-entry-example.c
5997 * examples/hildon-touch-selector-example.c
5998 * examples/hildon-time-button-example.c
5999 * examples/hildon-picker-button-example.c
6000 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6001 to all the treeviews inside a pannable area.
6003 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-button.h
6006 * src/hildon-button.c (hildon_button_init)
6007 (hildon_button_set_arrangement, hildon_button_set_alignment)
6008 (hildon_button_set_title_alignment)
6009 (hildon_button_set_value_alignment)
6010 (hildon_button_set_image_alignment)
6011 (hildon_button_construct_child): New methods to set the alignment
6012 of the individual components of the button (title, value,
6013 image). Also, new method to alter the xscale and yscale properties
6014 of the GtkAlignment inside the button, so more complex layouts can
6017 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-button.c (hildon_button_style_set)
6020 (hildon_button_class_init, hildon_button_set_arrangement)
6021 (hildon_button_construct_child): Apply style properties
6022 correctly. Use the 'image-spacing' style property too.
6024 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6027 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6030 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6032 * src/hildon-pannable-area.c,
6033 (hildon_pannable_area_size_request): Fixed problem with
6034 pannable-area size_request.
6036 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6038 Added management for the grab-focus to a child widget, like a
6039 range, we need to fade out the scrollbar when releasing.
6041 * src/hildon-pannable-area.c,
6042 (hildon_pannable_area_init): Connected the grab-focus signal to
6044 (hildon_pannable_area_grab_notify): Added this function in order
6045 to manage the situation when the grab-focus ends. We have to
6046 fade-out the scrollbar.
6048 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6050 * src/hildon-app-menu.c: Minor documentation update.
6052 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-app-menu.c
6055 * examples/hildon-app-menu-example.c (create_menu): Update
6056 examples and documentation to explain how to connect callbacks.
6058 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6060 * examples/hildon-button-example.c
6061 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6062 hildon_stackable_window_new instead of gtk_window_new
6064 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6066 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6067 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6068 (hildon_pannable_area_set_property),
6069 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6070 (hildon_pannable_area_unrealize),
6071 (hildon_pannable_area_size_request),
6072 (hildon_pannable_area_size_allocate),
6073 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6074 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6075 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6076 (hildon_pannable_area_initial_effect),
6077 (hildon_pannable_area_redraw),
6078 (hildon_pannable_area_scroll_indicator_fade),
6079 (hildon_pannable_area_expose_event),
6080 (hildon_pannable_area_get_topmost), (synth_crossing),
6081 (hildon_pannable_area_button_press_cb),
6082 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6083 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6084 (hildon_pannable_area_motion_notify_cb),
6085 (hildon_pannable_area_button_release_cb),
6086 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6087 (hildon_pannable_area_remove),
6088 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6089 chage the code layout to a more GtkWidget like. Review the use of
6092 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6094 * examples/hildon-pannable-area-example-4.c,
6095 (main): Modified the name of the hindicator_mode to
6098 * src/hildon-pannable-area.c,
6099 (hildon_pannable_area_class_init),
6100 (hildon_pannable_area_motion_notify_cb),
6101 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6102 we have reduced the amount of signals and managed reviewed its
6103 rationale. Changed the default decelerate value.
6105 (hildon_pannable_area_add),
6106 (hildon_pannable_area_redraw): Refactored functions.
6108 (hildon_pannable_area_init),
6109 (hildon_pannable_area_get_property),
6110 (hildon_pannable_area_set_property):
6111 (hildon_pannable_draw_vscroll),
6112 (hildon_pannable_draw_hscroll),
6113 (hildon_pannable_area_initial_effect),
6114 (hildon_pannable_area_expose_event),
6115 (hildon_pannable_area_scroll),
6116 (hildon_pannable_area_button_press_cb),
6117 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6118 and vindicator_mode with hscrollbar_policy and
6119 vscrollbar_policy. Replaced hscroll and vscroll with
6120 hscroll_visible and vscroll_visible.
6122 (hildon_pannable_area_refresh): Refactor the function, remove
6123 variables and check the calls to this function, added resize
6124 conditions in case the children change their layout.
6126 (hildon_pannable_area_size_request): Added more detailed
6127 size_request calculation.
6130 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6132 * src/hildon-color-chooser.c
6133 (init_borders): use the correct gtk_border_free instead of g_free, to
6134 avoid a crash when this widget is used (ie: the three color selection
6137 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6139 * src/hildon-check-button.c,
6140 (hildon_check_button_set_active): Fixed problem when setting the
6141 active value, the widget was not redrawn.
6143 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6145 * src/hildon-pannable-area.c,
6146 (hildon_pannable_area_refresh),
6147 (hildon_pannable_area_scroll),
6148 (hildon_pannable_area_motion_notify_cb): Small code style change.
6150 (hildon_pannable_area_class_init): Default initial_hint set to
6151 FALSE, it is not in the specs.
6153 (hildon_pannable_area_initial_effect),
6154 (hildon_pannable_area_expose_event),
6155 (hildon_pannable_area_map),
6156 (hildon_pannable_area_init): Moved the launching point of the
6157 initial effect, it was in map but the sizes where not correct in
6158 that method so we do not know if we have the reproduce it. Now it
6159 is placed in the expose_event method and uses a variable to
6160 reproduce it just once.
6162 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6164 * src/hildon-pannable-area.c,
6165 (hildon_pannable_draw_vscroll),
6166 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6167 position allowed for the scrollbars.
6169 (hildon_pannable_area_size_allocate): Small style change.
6171 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6173 * src/hildon-pannable-area.c,
6174 (hildon_pannable_area_scroll_indicator_fade),
6175 (hildon_pannable_area_button_press_cb),
6176 (hildon_pannable_area_button_release_cb),
6177 (hildon_pannable_area_scroll_cb),
6178 (hildon_pannable_area_expose_event),
6179 (hildon_pannable_area_init): Added the define parameter
6180 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6181 and refactor the fade variable.
6183 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6185 * src/hildon-pannable-area.c,
6186 (hildon_pannable_area_redraw),
6187 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6188 lines, we were reimplemeting the redraw code.
6190 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6192 * src/hildon-pannable-area.c,
6193 (hildon_pannable_area_scroll_cb),
6194 (hildon_pannable_area_realize),
6195 (hildon_pannable_area_class_init): Added scroll_event management
6196 for pannable area, now we can scroll the usual desktop method.
6198 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6199 initialization of the parameters should depend on idle_id.
6201 (hildon_pannable_area_init),
6202 (hildon_pannable_area_map): Small code style modifications
6204 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6206 * src/hildon-pannable-area.c
6207 (hildon_pannable_area_button_press_cb),
6208 (hildon_pannable_area_motion_notify_cb),
6209 (hildon_pannable_area_button_release_cb),
6210 (hildon_pannable_area_size_allocate),
6211 (hildon_pannable_area_scroll_to): Improved the timeouts
6212 management, we avoid creating them each time.
6214 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6216 * src/hildon-pannable-area.c:
6217 (hildon_pannable_area_refresh),
6218 (hildon_pannable_area_motion_notify_cb),
6219 (hildon_pannable_area_class_init):
6220 * src/hildon-pannable-area.h:
6221 * src/hildon-touch-selector.c
6222 (_create_new_column):
6223 * examples/hildon-pannable-area-example-4.c:
6224 (horizontal_movement),
6225 (vertical_movement),
6227 Replaced the names of enums in the HildonPannableArea:
6228 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6229 HILDON_MOVEMENT_MODE_*
6230 - HILDON_PANNABLE_AREA_MOV_* ->
6232 - Removed HildonPannableAreaIndicatorMode, now we
6235 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6237 * examples/hildon-pannable-area-touch-grid-example.c
6238 * examples/hildon-pannable-area-touch-list-example.c: Fix
6239 compilation warnings.
6241 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-gtk.c (hildon_gtk_button_new)
6244 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6245 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6246 images overriding the value of the "gtk-button-images" setting.
6248 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-check-button.c (hildon_check_button_new):
6251 Instead of using a custom container, display the label and the
6252 checkbox using the standard GtkButton API.
6254 * examples/hildon-check-button-example.c (main): Don't use
6255 hildon_check_button_set_label() anymore
6257 * src/hildon-check-button.h
6258 * src/hildon-check-button.c
6259 (hildon_check_button_set_label, hildon_check_button_get_label):
6260 Set as deprecated, now we're using gtk_button_{get,set}_label()
6262 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6264 * src/hildon-pannable-area.c,
6265 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6266 GtkTreeview first line we detected it after the inclusion of the
6267 GtkWindowImpl in gtk+. We now check if the window is visible, not
6268 just if the pointer is over the window.
6269 (hildon_pannable_axis_scroll),
6270 (hildon_pannable_area_expose_event): Small style changes.
6272 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-button.c: Update documentation.
6276 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6278 * examples/hildon-button-example.c: Add a switch to show images in
6281 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6283 * doc/hildon-docs.sgml: Some docs reorganization.
6285 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6287 * examples/hildon-pannable-area-touch-list-example.c
6289 * examples/hildon-pannable-area-touch-grid-example.c
6290 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6291 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6292 Fix memory leak when setting the tree model.
6294 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6298 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6300 * doc/hildon.types: Remove duplicated hildon_window_get_type
6301 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6302 documentation comment.
6304 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6306 * doc/Makefile.am: Complete list of private headers.
6308 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6310 * doc/hildon-docs.sgml
6311 * src/hildon-app-menu.c
6312 * src/hildon-bread-crumb.c
6313 * src/hildon-button.c
6315 * src/hildon-program.c
6316 * src/hildon-stackable-window.c
6317 * src/hildon-window.c: Lots of documentation updates.
6319 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6321 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6323 * configure.ac: Require Gtk+ 2.12.9 at least
6325 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6327 * src/hildon-pannable-area.c
6328 (hildon_pannable_area_scroll_indicator_fade),
6329 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6330 to protect the return of this timeout callbacks, avoiding deadlocks.
6332 2008-08-12 Christian Dywan <christian@imendio.com>
6335 * src/hildon-*.h: Ensure a consistent include order,
6336 include <gtk/gtk.h> instead of particular files and
6337 only include the topmost header in the gtk stack. See NB #39857
6339 2008-08-12 Christian Dywan <christian@imendio.com>
6341 * src/hildon-picker-dialog.c
6342 * src/hildon-touch-selector.c: Fix warnings about unused and
6343 uninitialized variables.
6345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6347 * examples/Makefile.am
6348 * examples/hildon-check-button-example.c: Example of the hildon
6351 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6353 * src/hildon-window.h
6354 * src/hildon-window.c (hildon_window_class_init)
6355 (hildon_window_unset_program): Don't make
6356 hildon_window_unset_program a virtual function anymore.
6358 * src/hildon-stackable-window.c: Update documentation
6360 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6363 * doc/hildon-docs.sgml
6364 * doc/visual_index.xml
6365 * src/hildon-defines.c
6367 * src/hildon-helper.c
6368 * src/hildon-range-editor.c: Lots of documentation fixes.
6370 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6372 * examples/hildon-picker-button-multicolumn-example.c
6373 (create_touch_selector): Fix compilation warning.
6375 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6378 (hildon_pannable_area_button_release_cb)
6379 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6381 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6386 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6388 * src/hildon-bread-crumb-trail.h
6389 * src/hildon-date-editor.c
6390 * src/hildon-date-selector.c
6391 * src/hildon-pannable-area.c
6392 * src/hildon-picker-dialog.c
6393 * src/hildon-time-selector.c
6394 * src/hildon-touch-selector-entry.c
6395 * src/hildon-touch-selector.c
6396 * src/hildon-touch-selector.h: Misc documentation fixes
6398 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6400 * examples/hildon-date-editor-example.c (main): Updated date
6403 * examples/hildon-note-example.c (on_confirmation_clicked):
6404 Updated confirmation note example.
6406 * src/hildon-date-editor.c
6407 * src/hildon-note.c: Updated sample programs in documentation.
6410 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6412 * src/hildon-date-button.h:
6413 * src/hildon-picker-button.h:
6414 * src/hildon-time-button.c:
6415 * src/hildon-time-button.h:
6417 Some declarations changes to allow gtk-doc to document the widgets
6420 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6422 * src/hildon-date-button.c: Document the widget.
6423 * src/hildon-time-button.c: Document the widget.
6425 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/hildon-picker-button.c: Document the widget.
6428 * src/hildon-touch-selector-entry.c: Document the widget.
6430 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6432 * doc/hildon-docs.sgml
6435 * src/hildon-check-button.h
6436 * src/hildon-check-button.c: New functions to create the Hildon
6440 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6442 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.h
6445 * src/hildon-button.c
6446 (hildon_button_add_title_size_group)
6447 (hildon_button_add_value_size_group)
6448 (hildon_button_add_image_size_group)
6449 (hildon_button_add_size_groups): New functions to set size groups
6450 for the button labels and image.
6451 (hildon_button_new_full): Removed
6453 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6455 * src/hildon-time-selector.c
6456 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6457 in order to avoid a crash if gconf is not available
6459 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-button.c (hildon_button_set_arrangement)
6462 (hildon_button_construct_child): Don't construct the button child
6463 before setting the arrangement.
6465 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6467 * src/hildon-program-private.h
6468 * src/hildon-program.c
6469 * src/hildon-program.h
6470 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6471 (hildon_program_peek_window_stack)
6472 (hildon_program_pop_window_stack)
6473 (hildon_program_go_to_root_window): HildonProgram now has a
6474 separate list for stackable windows. Functions are provided to
6475 manage that list with a stack-like API.
6477 * src/hildon-stackable-window.c: Stackable window management is
6478 now much simpler with the new HildonProgram API. Windows no
6479 longer need to be manually added to the program, they're
6480 automatically pushed to the top of the stack when shown.
6482 * examples/hildon-stackable-window-example.c: Updated example to
6483 reflect the API changes.
6485 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6487 * src/hildon-touch-selector.c: Comment out unimplemented
6488 hildon_touch_selector_insert_column() to avoid a compile warning.
6490 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6492 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6493 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6494 (hildon_touch_selector_set_column_selection_mode),
6495 (_hildon_touch_selector_set_model),
6496 (hildon_touch_selector_set_model):
6498 Complete review of HildonTouchSelector documentation.
6500 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6502 * doc/hildon-docs.sgml
6506 * src/hildon-gtk.c: Convenience functions for standard Gtk
6507 widgets, used to easily perform frequent operations.
6509 * src/hildon-button-helpers.h
6510 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6512 * src/hildon-helper.h
6513 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6514 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6516 * src/hildon-button.h
6517 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6519 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-button.c (hildon_button_init)
6522 (hildon_button_set_arrangement, hildon_button_construct_child):
6523 Pack the image and the labels inside the same GtkAlignment so
6524 gtk_button_set_alignment() can be used
6526 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6528 * src/hildon-button.h
6529 * src/hildon-button.c
6530 (hildon_button_init, hildon_button_set_image)
6531 (hildon_button_set_image_position)
6532 (hildon_button_construct_child): New functions to add an image to
6535 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-date-button.c
6538 * src/hildon-picker-button.c
6539 * src/hildon-time-button.c
6540 * src/hildon-button.c:
6541 (hildon_button_class_init): "size-flags" renamed to "size"
6542 (hildon_button_set_title): Hide the title label if set to NULL.
6544 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6546 HildonButtonFlags split into HildonButtonArrangement (to set the
6547 button layout) and HildonSizeType (which can be used for any
6550 * src/hildon-button.h
6551 * src/hildon-button.c
6552 (hildon_button_class_init)
6553 (hildon_button_set_arrangement)
6554 (hildon_button_set_property): New "size-flags"
6555 property. "arrangement-flags" renamed to "arrangement".
6556 (hildon_button_new, hildon_button_new_with_text)
6557 (hildon_button_new_full): Constructors updated to reflect type changes.
6559 * src/hildon-helper.h
6560 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6561 to set the size of a widget.
6565 * src/hildon-button-helpers.c
6566 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6568 * src/hildon-date-button.c
6569 * src/hildon-date-button.h
6570 * src/hildon-picker-button.c
6571 * src/hildon-picker-button.h
6572 * src/hildon-time-button.c
6573 * src/hildon-time-button.h: Updated widgets to reflect
6574 HildonButton API changes.
6576 * examples/hildon-button-example.c
6577 * examples/hildon-date-button-example.c
6578 * examples/hildon-picker-button-example.c
6579 * examples/hildon-picker-button-multicolumn-example.c
6580 * examples/hildon-time-button-example.c
6581 * examples/hildon-touch-selector-entry-example.c
6582 * examples/hildon-touch-selector-example.c: Updated examples to
6583 reflect HildonButton API changes.
6585 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6587 * doc/hildon-docs.sgml:
6589 * examples/Makefile.am:
6590 * examples/hildon-touch-selector-entry-example.c:
6592 * src/hildon-touch-selector-entry.c:
6593 * src/hildon-touch-selector-entry.h:
6596 Moved HildonTouchSelectorEntry from sandbox. Added its
6597 documentation and examples.
6599 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-touch-selector.h:
6602 * examples/hildon-picker-button-multicolumn-example.c:
6603 (hildon_touch_selector_append_text_column): Add a gboolean
6604 parameter to determine if text must be centered in the column.
6606 * src/hildon-date-selector.c: (hildon_date_selector_init):
6607 * src/hildon-time-selector.c: (hildon_time_selector_init):
6608 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6609 (create_touch_selector): Update widgets and example to reflect
6612 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6614 * src/hildon-touch-selector.c:
6615 (hildon_touch_selector_set_active_iter): Set also the cursor in
6618 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6620 * doc/hildon-docs.sgml
6623 * src/hildon-toggle-button.c
6624 * src/hildon-toggle-button.h
6625 * src/hildon.h: Removed HildonToggleButton widget, a derived
6626 class is not necessary for this.
6628 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6630 * src/hildon-pannable-area.c,
6631 (hildon_pannable_area_realize),
6632 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6635 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6637 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6638 "done" button the default widget for the dialog.
6640 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6642 * src/hildon-touch-selector.c:
6643 (hildon_touch_selector_class_init),
6644 (hildon_touch_selector_get_property),
6645 (_hildon_touch_selector_set_model),
6646 (_hildon_touch_selector_has_multiple_selection),
6647 (hildon_touch_selector_has_multiple_selection):
6648 Add a "has-multiple-selection" property with a virtual
6649 has_multiple_selection() method to allow derived classes to
6650 override the default value for it. See the method and property
6651 documentation for details.
6653 * src/hildon-touch-selector.h: Add the new API.
6655 * src/hildon-picker-dialog.c: (requires_done_button): Call
6656 hildon_touch_selector_has_multiple_selection() instead of
6657 determining the need for a button itself.
6659 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6661 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6662 (_hildon_touch_selector_set_model),
6663 (hildon_touch_selector_set_model): Move working code to
6664 _hildon_touch_selector_set_mode(). Call the class method instead.
6666 * src/hildon-touch-selector.h: Add (*set_model) to
6667 HildonTouchSelectorClass.
6669 Make hildon_touch_selector_set_model() a virtual method, so that
6670 derived classes can extend it and do fancy stuff with the model.
6672 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6674 * configure.ac: Set back the tarname in AC_INIT to hildon.
6676 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6680 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6681 instead of libesd (NB#86876). Volume handling is still an open issue.
6683 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6686 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6688 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6689 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6690 derived class to ease placement of an entry widget in
6691 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6692 end, where the selector columns are packed now.
6694 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6696 * src/hildon-picker-button.c: Removed the simple _text() API.
6697 * src/hildon-picker-button.h: Likewise.
6699 * src/hildon-touch-selector.h:
6700 * src/hildon-touch-selector.c:
6701 (hildon_touch_selector_new_text),
6702 (hildon_touch_selector_append_text),
6703 (hildon_touch_selector_prepend_text),
6704 (hildon_touch_selector_insert_text):
6706 Moved the simple _text() API from HildonPickerButton to
6707 HildonTouchPicker, to provide better escalability and not to tie
6708 that API to HildonPickerButton.
6710 * examples/hildon-picker-button-example.c: (main): Example updated.
6712 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-button.c: Updated documentation.
6716 * examples/hildon-button-example.c: Add the posibility to create
6717 the buttons using horizontal layout for title and value.
6719 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6721 * src/hildon-app-menu-private.h
6722 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6723 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6724 GtkSizeGroup for the filters, use the 'homogeneous' property of
6727 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6729 * examples/hildon-button-example.c: Updated example.
6731 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6733 * doc/hildon-docs.sgml:
6736 Update documentation.
6738 * examples/Makefile.am: Update renamed examples.
6740 * examples/hildon-picker-button-multicolumn-example.c:
6741 (create_touch_selector), (main): Update after the rename.
6743 * examples/hildon-touch-picker-example.c: Removed.
6744 * examples/hildon-touch-selector-example.c: (value_changed),
6745 (create_selector), (get_visible_content), (main): Renamed from
6746 hildon-touch-picker-example.c
6748 * src/Makefile.am: Updated renamed files.
6750 * src/hildon-date-button.c: (hildon_date_button_init),
6751 (hildon_date_button_get_date), (hildon_date_button_set_date):
6752 * src/hildon-date-selector.c: (hildon_date_selector_init),
6753 (_custom_print_func), (_update_day_model),
6754 (_manage_selector_change_cb),
6755 (hildon_date_selector_select_current_date),
6756 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6757 * src/hildon-date-selector.h:
6758 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6759 (hildon_picker_button_set_property),
6760 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6761 (hildon_picker_button_init), (hildon_picker_button_new_text),
6762 (hildon_picker_button_append_text),
6763 (hildon_picker_button_prepend_text),
6764 (hildon_picker_button_insert_text),
6765 (hildon_picker_button_set_selector),
6766 (hildon_picker_button_get_selector):
6767 * src/hildon-picker-button.h:
6768 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6769 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6770 (_update_title_on_selector_changed_cb), (requires_done_button),
6771 (_hildon_picker_dialog_set_selector),
6772 (hildon_picker_dialog_set_selector),
6773 (hildon_picker_dialog_get_selector):
6774 * src/hildon-picker-dialog.h:
6775 * src/hildon-time-button.c: (hildon_time_button_init),
6776 (hildon_time_button_get_time), (hildon_time_button_set_time):
6777 * src/hildon-time-selector.c: (hildon_time_selector_init),
6778 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6779 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6780 * src/hildon-time-selector.h:
6783 Massive code updates after the rename.
6785 * src/hildon-touch-picker.c: Removed.
6786 * src/hildon-touch-picker.h: Removed.
6788 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6789 (hildon_touch_selector_init), (hildon_touch_selector_map),
6790 (hildon_touch_selector_remove), (_default_print_func),
6791 (_selection_changed_cb), (_create_new_column),
6792 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6793 (hildon_touch_selector_append_text_column),
6794 (hildon_touch_selector_remove_column),
6795 (hildon_touch_selector_set_column_attributes),
6796 (hildon_touch_selector_insert_column),
6797 (hildon_touch_selector_get_num_columns),
6798 (hildon_touch_selector_get_column_selection_mode),
6799 (hildon_touch_selector_set_column_selection_mode),
6800 (hildon_touch_selector_set_print_func),
6801 (hildon_touch_selector_get_print_func),
6802 (hildon_touch_selector_get_active_iter),
6803 (hildon_touch_selector_set_active_iter),
6804 (hildon_touch_selector_get_selected_rows),
6805 (hildon_touch_selector_get_model),
6806 (hildon_touch_selector_set_model),
6807 (hildon_touch_selector_get_current_text),
6808 (_hildon_touch_selector_center_on_selected_items):
6809 * src/hildon-touch-selector.h: Renamed from
6810 hildon-touch-picker.[ch]
6812 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6813 references, code examples, and related documentation.
6815 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6817 * doc/hildon-docs.sgml
6820 * src/hildon-toggle-button.c
6821 * src/hildon-toggle-button.h
6822 * src/hildon.h: New HildonToggleButton widget.
6824 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6826 * src/hildon-button.c: Add API documentation.
6827 (hildon_button_set_size_groups): Check input parameters
6829 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6831 * src/hildon-pannable-area.c
6832 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6833 effect after reaching the movement thredshold. This way we start
6834 using the distance after passing the thredshold.
6836 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6838 * src/hildon-button.c: (hildon_button_set_property): Use the
6839 appropriate g_value_get_flags() method.
6841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6843 * doc/hildon-docs.sgml:
6846 Add the touch pickers, picker dialogs, and picker button widgets
6847 to the documentation.
6849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6851 * src/hildon-button.c: (hildon_button_set_property),
6852 (hildon_button_class_init): Make "arrangement-flags" a proper
6853 G_TYPE_FLAGS derived property.
6855 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6857 * examples/Makefile.am: Add below examples.
6858 * examples/hildon-date-button-example.c:
6859 * examples/hildon-picker-button-example.c:
6860 * examples/hildon-picker-button-multicolumn-example.c:
6861 * examples/hildon-time-button-example.c:
6862 * examples/hildon-touch-picker-example.c:
6864 Add examples for the recently added touch pickers,
6865 picker dialogs, and picker button widgets.
6867 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-button.c: Add some API documentation
6871 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-button.h
6874 * src/hildon-button.c
6876 (hildon_button_new_with_text): New constructor to create a button
6877 with no text at all.
6878 (hildon_button_init, hildon_button_set_arrangement)
6879 (hildon_button_set_title, hildon_button_set_value)
6880 (hildon_button_set_text)
6881 (hildon_button_construct_child): Hide the value when it's not used
6882 so the rest of the text is properly aligned.
6883 Allow creating buttons with arbitrary widgets inside (not just
6884 title/value labels).
6886 * examples/hildon-button-example.c (vertical_buttons_window)
6887 (horizontal_buttons_window): Update example to use new API.
6889 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6891 * src/Makefile.am: Added HildonTimeButton.
6892 * src/hildon-time-button.c: Added missing LGPL header.
6893 * src/hildon-time-button.h: Added missing LGPL header.
6894 * src/hildon.h: Add hildon-time-button.h
6896 Copied HildonTimeButton from sandbox to trunk. Future work on this
6897 widget must take place in trunk.
6899 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6901 * src/Makefile.am: Added HildonDateButton.
6902 * src/hildon-date-button.c: Update includes.
6903 * src/hildon.h: Add hildon-date-button.h
6905 Copied HildonDateButton from sandbox to trunk. Future work on this
6906 widget must take place in trunk.
6908 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6910 * src/Makefile.am: Added HildonPickerButton.
6911 * src/hildon-picker-button.h: Update includes.
6912 * src/hildon.h: Add hildon-picker-button.h
6914 Copied HildonPickerButton from sandbox to trunk. Future work on
6915 this widget must take place in trunk.
6917 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6919 * src/Makefile.am: Added HildonPickerDialog.
6920 * src/hildon-picker-dialog.c: Update includes.
6921 * src/hildon.h: Add hildon-picker-dialog.h
6923 Copied HildonPickerDialog from sandbox to trunk. Future work
6924 on this widget must take place in trunk.
6926 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6928 * src/Makefile.am: Added HildonTimeSelector.
6929 * src/hildon.h: Add hildon-time-selector.h
6931 Copied HildonTimeSelector widget from sandbox to trunk. Future
6932 work on this widget must happen in trunk.
6934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/Makefile.am: Added HildonDateSelector.
6937 * src/hildon.h: Add hildon-date-selector.h
6939 Copied HildonDateSelector widget from sandbox to trunk. Future
6940 work on this widget must happen in trunk.
6942 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6944 * src/Makefile.am: Added HildonTouchPicker.
6945 * src/hildon-touch-picker.c: Update includes.
6946 * src/hildon.h: Add hildon-touch-picker.h
6948 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6949 on this widget must happen in trunk.
6951 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6953 * src/hildon-pannable-area.c:
6954 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6956 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6958 * examples/hildon-app-menu-example.c (main): Let the window
6961 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6963 * src/hildon-pannable-area.c
6964 (hildon_pannable_area_class_init): Set the min value of the
6965 overshoot properties to zero, which points out that not
6966 overshooting allowed.
6968 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6970 Modified the procedure to get the widget at a point inside the
6971 pannable area when using the movement type signals. Now the user
6972 has to call a function to get the child, that way we just
6973 calculate the child in case the user really want to use it and not
6976 * src/hildon-marshalers.list: Modified the marshallers, now we do
6977 not have the widget as a parameter.
6979 * src/hildon-pannable-area.c
6980 (hildon_pannable_area_motion_notify_cb),
6981 (hildon_pannable_area_class_init),
6982 (hildon_pannable_get_child_widget_at): Removed the widget
6983 parameter from the signal callback. We have also refactored the
6984 emission of the signals.
6986 * src/hildon-pannable-area.h: Added a new method to the API to
6987 calculate a widget at a point inside the pannable area,
6988 hildon_pannable_get_child_widget_at.
6990 * examples/hildon-pannable-area-example-4.c
6991 (horizontal_movement): Modified the example to use the new API,
6992 added condition to control which widget is under the event. This
6993 way we can avoid scrolling laterally over other widgets.
6995 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6997 * src/hildon-pannable-area.c
6998 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6999 modes, we stop getting the pointer events due to returning the
7000 callback without properly calling the get pointer again. Fixed
7001 also an error using the hscroll and vscroll.
7003 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7005 * src/hildon-app-menu-private.h
7006 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7007 (hildon_app_menu_button_release, hildon_app_menu_init)
7008 (hildon_app_menu_class_init): Don't hide the menu on button
7009 release if the user didn't press outside first.
7011 * src/hildon-window.h
7012 * src/hildon-window.c (hildon_window_toggle_menu)
7013 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7014 hildon_window_toggle_menu a virtual function for the stackable
7015 window to override it.
7017 * src/hildon-stackable-window.h
7018 * src/hildon-stackable-window-private.h
7019 * src/hildon-stackable-window.c
7020 (hildon_stackable_window_realize)
7021 (hildon_stackable_window_finalize)
7022 (hildon_stackable_window_class_init)
7023 (hildon_stackable_window_init)
7024 (hildon_stackable_window_set_main_menu): New function to set the
7025 app menu of a HildonStackableWindow.
7027 * examples/hildon-app-menu-example.c: Remove the button to show
7028 the app menu, now it'll be shown when clicking on the title bar
7031 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7033 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7034 set the widget name if the arrangement flags do not specify
7037 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-button.c: (hildon_button_set_property),
7040 (hildon_button_class_init), (hildon_button_new_full),
7041 (hildon_button_set_arrangement): Added "arrangement-flags"
7044 Make the HildonButtonFlags a construction-only property, to allow
7045 subclasses to set them properly.
7047 2008-07-21 Tim Janik <timj@imendio.com>
7049 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7050 insertion position after backspace, so additional digits are appended,
7053 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7055 * src/hildon-pannable-area.c,
7056 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7057 TODO list, it was complete and removed the g_debug and g_print
7060 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7062 Added the movement modes to the hildon-pannable-area, with this
7063 modes the developers can control in which directions the widget
7064 can scroll. They can also connect to signals in order to do
7065 something when that happens, allowing applications scroll. There
7066 is an example uploaded showing how to use it.
7068 * examples/Makefile.am:
7069 * examples/hildon-pannable-area-example-4.c: Added this example of
7070 an application using the modes.
7072 * src/hildon-marshalers.list: Added a new marshaller for the new
7075 * src/hildon-pannable-area.h: Added new enumerations and flags in
7076 order to control the movement modes and the new signals to warn
7077 about the movements in the area.
7079 * src/hildon-pannable-area.c:
7080 (hildon_pannable_axis_scroll),
7081 (hildon_pannable_area_scroll),
7082 (hildon_pannable_area_motion_notify_cb),
7083 (hildon_pannable_area_get_property),
7084 (hildon_pannable_area_set_property),
7085 (hildon_pannable_area_map),
7086 (hildon_pannable_area_class_init),
7087 (hildon_pannable_area_init),
7088 (hildon_pannable_area_jump_to): Added the modes to control the
7089 movement in the widget. We have added properties to control it,
7090 signals to warn about the movements and refactored some code.
7092 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7094 Changes required in order to allow vfast_factor set to zero to
7097 * src/hildon-pannable-area.c:
7098 (hildon_pannable_area_button_press_cb): Changed the condition, it
7099 is required for not allowing click when vfast_factor is zero.
7100 (hildon_pannable_area_timeout): Initialized velocity variables
7101 when we stop moving, it was less than 1 but not zero and we need
7102 to check zero in some situations.
7103 (hildon_pannable_area_class_init): Changed the default value of
7104 the speed factor, now the button_press is just sent in case the
7105 speed is 2 per cent of the max speed.
7106 (hildon_pannable_area_init): Initialization with 0.
7108 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7110 * src/hildon-pannable-area.c,
7111 (hildon_pannable_area_get_topmost): replaced
7112 gdk_window_get_children with gdk_window_peek_children, this way we
7113 do not have to free the list because it is not a copy.
7115 (hildon_pannable_axis_scroll),
7116 (hildon_pannable_area_scroll),
7117 (hildon_pannable_area_timeout),
7118 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7119 two parameters that were only used inside the
7120 hildon_pannable_area_scroll function.
7122 * examples/hildon-pannable-area-example.c,
7123 (get_sawtooth_label): Fixed small memory leak.
7125 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7127 More checks for the case where the overshoot is bigger than the
7130 * src/hildon-pannable-area.c:
7131 (hildon_pannable_draw_vscroll),
7132 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7133 to draw the slider of the scrollbar under the other scrollbar.
7134 (hildon_pannable_area_expose_event): added new checks to control
7135 the drawing of the overshooting area rectangle, in case it is too
7136 big for the area of the widget.
7137 (hildon_pannable_area_size_allocate): add more checks to avoid
7138 setting a position to the child widget outside the area.
7140 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7142 * src/hildon-pannable-area.c
7143 (hildon_pannable_area_size_allocate): Added conditions to control
7144 when overshooting is bigger than the allocated space for the
7145 children, this avoids negative allocations.
7147 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7149 * doc/hildon-docs.sgml
7151 * examples/Makefile.am
7152 * examples/hildon-button-example.c
7154 * src/hildon-button.c
7155 * src/hildon-button.h
7156 * src/hildon.h: Initial version of the new HildonButton widget,
7159 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7161 * src/hildon-pannable-area.c:
7162 (hildon_pannable_area_button_press_cb),
7163 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7164 (hildon_pannable_area_motion_notify_cb),
7165 (hildon_pannable_area_button_release_cb),
7166 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7167 (hildon_pannable_area_jump_to_child):
7169 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7171 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7173 * examples/Makefile.am
7174 * examples/hildon-pannable-area-touch-grid-example.c
7175 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7176 the Hildon Touch List and Hildon Touch Grid using the
7177 HildonPannableArea widget.
7179 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7181 * src/hildon-pannable-area.c,
7182 (hildon_pannable_area_button_press_cb),
7183 (hildon_pannable_area_refresh),
7184 (hildon_pannable_area_scroll),
7185 (hildon_pannable_area_motion_notify_cb),
7186 (hildon_pannable_area_button_release_cb),
7187 (hildon_pannable_area_expose_event),
7188 (hildon_pannable_area_add),
7189 (hildon_pannable_area_remove),
7190 (hildon_pannable_area_realize),
7191 (hildon_pannable_area_size_allocate),
7192 (hildon_pannable_area_class_init),
7193 (hildon_pannable_area_init),
7194 (hildon_pannable_area_scroll_to_child),
7195 (hildon_pannable_area_jump_to_child): Fixed the problem of
7196 removing the child from the GtkBin, we have rearranged the widget
7197 hierarchy, now there is no GtkAlignment which was not doing
7198 anything interesting but breaking some of the assumptions of
7199 GtkContainer. Now developers if they want to add a GtkAlignment
7200 they could, but it is not inside the area.
7202 We had to review the whole allocation/expose process, now it is
7203 improved and we save at least three signals which would be saving
7204 some time when rendering the widget. The allocation of the
7205 scrollbars is now made in the allocate method as usual.
7207 We have also added some conditions in order to control when there
7208 is no child of the pannable area. Maybe we will need more work
7211 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7213 * src/hildon-pannable-area.c,
7214 (hildon_pannable_area_dispose): Released the fade-out timeout when
7215 disposing the widget.
7217 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7219 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7220 zero, we are going to use that property in order to deactivate the
7222 (hildon_pannable_axis_scroll),
7223 (hildon_pannable_area_size_allocate): Added conditions to control
7224 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7225 call, now it is called in all situations and we can remove calls
7226 in the allocate method.
7227 (hildon_pannable_area_map): Control the situation when
7228 overshoot_max is zero, we do not need the timeout.
7229 (hildon_pannable_area_class_init): Added documentation in order to
7230 point out that setting zero to overshoot_max means deactivate
7233 NOTE: removed trailing whitespaces from my previous comments of
7236 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7238 * src/hildon-pannable-area.c
7239 (hildon_pannable_area_get_property),
7240 (hildon_pannable_area_set_property),
7241 (hildon_pannable_area_map),
7242 (hildon_pannable_area_class_init),
7243 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7244 to cause the widget give a hint about its panning abilities upon
7247 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7249 * src/hildon-pannable-area.c: Several documentation improvements.
7251 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7253 * src/hildon-program.c
7254 * src/hildon-stackable-window.c: Update documentation.
7256 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7258 * src/hildon-stackable-window.c (get_previous_window_if_last):
7259 Renamed get_last_window()
7260 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7261 (hildon_stackable_window_unset_program):
7263 (get_previous_window_if_last):
7264 Detect if the window hasn't been added to a HildonProgram.
7266 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7268 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7270 * src/hildon-pannable-area.c
7271 (hildon_pannable_area_button_press_cb),
7272 (hildon_pannable_axis_scroll),
7273 (hildon_pannable_area_scroll),
7274 (hildon_pannable_area_timeout),
7275 (hildon_pannable_calculate_vel_factor),
7276 (hildon_pannable_area_get_property),
7277 (hildon_pannable_area_set_property),
7278 (hildon_pannable_area_class_init),
7279 (hildon_pannable_area_init),
7280 (hildon_pannable_area_scroll_to),
7281 (hildon_pannable_area_jump_to),
7282 (hildon_pannable_area_scroll_to_child),
7283 (hildon_pannable_area_jump_to_child):
7284 * src/hildon-pannable-area.h: Added the new API functions:
7285 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7286 hildon_pannable_area_scroll_to_child,
7287 hildon_pannable_area_jump_to_child
7290 * examples/Makefile.am
7291 * examples/hildon-pannable-area-example-2.c
7292 * examples/hildon-pannable-area-example-3.c: Added these two new
7293 examples in order to test and show how the new APIs work.
7295 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7297 * examples/hildon-stackable-window-example.c (new_window):
7298 * src/Makefile.am (noinst_HEADERS):
7299 * src/hildon-program.c (hildon_program_go_to_root_window):
7300 * src/hildon-program.h:
7301 * src/hildon-stackable-window-private.h:
7302 * src/hildon-stackable-window.c:
7303 * src/hildon-stackable-window.h:
7304 Create hildon-stackable-window-private.h
7305 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7307 * examples/hildon-app-menu-example.c (create_menu):
7308 * examples/hildon-hvolumebar-insensitive-example.c (main):
7309 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7310 * examples/hildon-toolbar-seekbar-example.c (main):
7311 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7312 * src/hildon-banner.c (hildon_banner_set_property):
7313 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7314 Fix compilation warnings
7316 * src/hildon-window.c:
7319 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7321 * src/hildon-stackable-window.c
7322 (hildon_stackable_window_unset_program):
7323 Calculate correctly whether to show the previous window if the
7324 last one is removed from the stack.
7325 (hildon_stackable_window_go_to_root_window):
7326 Send delete events starting from the topmost window.
7327 Stop if one of the windows is not destroyed.
7329 (hildon_stackable_window_delete_event)
7330 (hildon_stackable_window_class_init):
7331 Ignore the delete event if the window is not the topmost one.
7333 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7335 * src/hildon-pannable-area.c
7336 (hildon_pannable_area_expose_event): Fixed a problem when
7337 selecting the background color of the scrollbars.
7339 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7341 * examples/hildon-stackable-window-example.c
7342 * src/hildon-stackable-window.c
7343 * src/hildon-stackable-window.h
7344 hildon_stackable_window_go_home() renamed to
7345 hildon_stackable_window_go_to_root_window()
7346 Send delete events to windows rather than closing them with
7347 gtk_widget_destroy()
7349 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-pannable-area.c
7352 (hildon_pannable_area_button_release_cb): Fix overshooting in
7355 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7357 * src/hildon-pannable-area.c
7358 (hildon_pannable_area_init): Initially show the scroll indicators.
7359 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7361 Add initial effect showing the widget is pannable.
7363 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7365 * src/hildon-pannable-area.c
7366 (hildon_pannable_area_class_init)
7367 (hildon_pannable_area_set_property)
7368 (hildon_pannable_area_get_property)
7369 (hildon_pannable_area_button_press_cb):
7370 New 'velocity_fast_factor' property to decide which velocity is
7373 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7375 * src/hildon-pannable-area.c
7376 (hildon_pannable_draw_hscroll)
7377 (hildon_pannable_draw_vscroll):
7378 Use float variables to calculate the size of the scrollbars to
7379 avoid error propagation and resizing during scrolling.
7381 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7383 * src/hildon-pannable-area.c
7384 (hildon_pannable_draw_vscroll)
7385 (hildon_pannable_draw_hscroll):
7386 Define a minimum size for the scroll bars
7388 * src/hildon-stackable-window.c
7389 (hildon_stackable_window_go_home): Fix compilation warning
7390 (get_last_window): Minor optimizations
7391 (hildon_stackable_window_class_init): Fix initialization of
7394 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7396 * src/hildon-stackable-window.c: Fixed typos in doc
7398 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7400 * src/hildon-pannable-area.c
7401 (hildon_pannable_area_scroll):
7402 Calculate here whether we need to scroll instead of using the booleans
7403 that tell us whether to /draw/ the scrolling bars.
7405 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7407 * src/hildon-app-menu.h
7409 * src/hildon-app-menu.c
7410 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7411 multiple filter groups related code and API. Now we support only
7413 * examples/hildon-app-menu-example.c:
7415 Update to reflect API changes.
7417 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7419 * src/hildon-stackable-window.c
7420 (hildon_stackable_window_class_init):
7421 Add hildon_stackable_window_realize.
7422 (hildon_stackable_window_realize):
7423 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7424 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7425 to apply theming and behavior specific to HildonStackableWindow
7428 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7430 * src/hildon-note.c (hildon_note_button_release):
7431 Close information notes also when tapping on them
7433 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7435 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7436 ELASTICITY, refactor and review, fix some issues with drawing
7439 * src/hildon-pannable-area.c:
7440 (hildon_pannable_area_button_press_cb): removed the conditions to
7441 avoid clicks when overshooting. It is not required
7443 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7444 define. Refatored and reviewed the code, now we do not need to
7445 manage velocity in motion_notify.
7447 (hildon_pannable_area_motion_notify_cb): We have moved the code
7448 that controls the area_scroll to the axis_scroll function and get
7449 rid of duplicated code.
7451 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7453 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7455 (hildon_pannable_draw_vscroll),
7456 (hildon_pannable_draw_hscroll): Fixed the problems with the
7457 scrollbar drawing, now we do not use two surfaces, it is easier
7458 and saves resources.
7460 (hildon_pannable_area_get_property): Style modification.
7462 (hildon_pannable_area_class_init): Changed some default values.
7464 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7466 * src/hildon-stackable-window.c: Fix some typos in the
7469 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7471 * src/hildon-dialog.c:
7472 Change indentation style
7475 (hildon_note_button_release):
7476 Use root coordinates to check if the release event happened
7479 * src/hildon-app-menu.c
7480 (hildon_app_menu_button_release):
7481 Remove unnecessary check
7483 * examples/hildon-app-menu-example.c
7485 Add cast to fix warning
7487 * src/hildon-app-menu.c
7488 (hildon_app_menu_class_init):
7489 New inner-border style property.
7490 Set all default spacings to 16
7491 (hildon_app_menu_init):
7492 Use vertical-spacing to set the space between filter buttons and
7493 regular menu buttons.
7494 Set the default container border using the inner-border value.
7496 * examples/hildon-app-menu-example.c
7498 Don't set the menu border explicitly, now we have the inner-border
7499 style property for that.
7501 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7503 * src/hildon-app-menu.c (hildon_app_menu_init):
7504 Make the window modal
7506 * src/hildon-note.c (hildon_note_map)
7507 * src/hildon-app-menu.c (hildon_app_menu_map):
7508 Destroy the grab window if we're unable to grab the pointer
7510 * src/hildon-app-menu-private.h
7511 * src/hildon-app-menu.c
7512 (hildon_app_menu_init, hildon_app_menu_finalize)
7513 (hildon_app_menu_map, hildon_app_menu_unmap)
7514 (hildon_app_menu_button_release)
7515 (grab_transfer_window_get):
7516 Bring back the grab window
7517 (hildon_app_menu_realize):
7518 Decorate the window, set WM hint for Matchbox
7520 * src/hildon-note.c (hildon_note_realize):
7521 * src/hildon-banner.c (hildon_banner_realize):
7522 Add WM hints for Matchbox
7524 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7526 * src/hildon-app-menu-private.h
7527 * src/hildon-app-menu.c
7528 (hildon_app_menu_init, hildon_app_menu_finalize)
7529 (hildon_app_menu_map, hildon_app_menu_unmap)
7530 (hildon_app_menu_button_release):
7531 Remove the grab window, it's not needed anymore
7533 * src/hildon-program.c
7534 Fixed typo in documentation
7536 * src/hildon-app-menu.h
7537 * src/hildon-app-menu.c
7538 * examples/hildon-app-menu-example.c
7539 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7541 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7544 Added new transfer_window and close_if_pressed_outside private
7546 (hildon_note_rebuild):
7547 Don't add a cancel button to the information note. It will be
7548 closed when tapping outside
7549 Remove the comment about the OK button in the documentation
7550 (hildon_note_realize):
7551 Set the notification type hint
7552 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7553 Grab/ungrab pointer and keyboard if the note has to be closed when
7555 (hildon_note_button_release):
7556 Close the note when tapping outside (if applicable)
7558 * src/hildon-app-menu.c
7559 Grab/ungrab pointer and keyboard on map/unmap
7560 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7561 Close the menu on button release, not button press
7563 * src/hildon-banner.c
7564 (hildon_banner_set_property)
7565 (hildon_banner_check_position):
7566 Make the banner use the full width of the screen
7567 (hildon_banner_show_information)
7568 (hildon_banner_show_information_with_markup):
7569 Don't display an icon by default
7571 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7573 Added fading scrollbars and adapted all the overshooting code to
7574 horizontal scrolling. We have also fixed bugs with overshooting
7575 and current fading implementation.
7577 * src/hildon-pannable-area.c
7578 (hildon_pannable_area_scroll_indicator_fade): Time out function
7579 used to change the transparency of the scrollbars.
7581 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7582 control and fixed a problem with fading, we now remove the fade
7583 timeout before adding a new one.
7585 (hildon_pannable_axis_scroll):
7586 (hildon_pannable_area_scroll):
7587 (hildon_pannable_area_timeout): Added this functions so we can use
7588 the scroll code both for vertical and horizontal.
7590 (hildon_pannable_area_motion_notify_cb):
7591 (hildon_pannable_area_button_release_cb): Added the horizontal
7592 scrolling control, fixed a problem with the overshooting timeout.
7594 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7595 painting of the scrolls.
7597 (hildon_pannable_draw_vscroll):
7598 (hildon_pannable_draw_hscroll):
7599 (hildon_pannable_area_expose_event):
7600 Draw both scrollbars and rectangles in the overshooting area.
7602 (hildon_pannable_area_get_property):
7603 (hildon_pannable_area_set_property):
7604 Modified the overshoot property to overshoot_max
7606 (hildon_pannable_area_map):
7607 Replaced the comments symbols.
7609 (hildon_pannable_area_size_allocate):
7610 (hildon_pannable_area_class_init):
7611 (hildon_pannable_area_init): Added horizontal scroll, fading
7612 effect properties, fixed a problem when overshooting in the bottom
7615 * examples/hildon-pannable-area-example.c:
7616 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7617 looks better in the example.
7619 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7621 * src/hildon-window.c
7622 * src/hildon-window.h
7623 (hildon_window_class_init)
7624 (hildon_window_unset_program)
7625 (hildon_window_unset_program_real):
7626 Make unset_program a virtual function
7628 * src/hildon-stackable-window.c
7629 * src/hildon-stackable-window.h
7630 Added hildon_stackable_window_go_home()
7632 * examples/Makefile.am
7633 * examples/hildon-stackable-window-example.c
7634 HildonStackableWindow example
7636 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7638 * hildon-pannable-area.c: Added the overshoot property and removed
7639 the OVERSHOOT define. Fixed an indent style error.
7640 (hildon_pannable_area_motion_notify_cb):
7641 (hildon_pannable_area_get_property):
7642 (hildon_pannable_area_set_property): Add overshoot property.
7644 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7647 (hildon_pannable_area_class_init): Installed the new property.
7649 * hildon-pannable-area-example.c: Added a sawtooth function, this
7650 way it is easier to check the movement in the pannable.
7651 (get_sawtooth_label): Added this function.
7652 (main): Now we get the labels from the new get_sawtooth_label
7655 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7657 * src/hildon-app-menu.h
7658 * src/hildon-app-menu.c
7659 Renamed API variables for consistency
7661 (hildon_app_menu_popup): Use also the default window size to
7662 decide where to place the menu
7664 (hildon_app_menu_init, hildon_app_menu_class_init): New
7665 external-border style property
7667 2008-05-26 Michael Natterer <mitch@imendio.com>
7669 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7670 widget_class->tap_and_hold_setup signal slot doesn't exist any
7671 longer, stop overriding it.
7673 (hildon_time_editor_init): g_signal_connect() to the
7674 tap-and-hold-setup signal instead.
7676 (hildon_time_editor_entry_keypress): add cast to fix warning.
7678 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7680 * doc/hildon-docs.sgml
7682 * examples/Makefile.am
7683 * examples/hildon-app-menu-example.c
7685 * src/hildon-app-menu-private.h
7686 * src/hildon-app-menu.c
7687 * src/hildon-app-menu.h
7689 New HildonAppMenu widget
7691 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7693 Rearranged the inheritance of the pannable area, now it inherits
7694 from GtkBin. This will allow us to control the event_window and
7695 the allocation process of the widget, required for some effects.
7697 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7698 GtkBin structures. * src/hildon-pannable-area.c: Added the
7699 event_window variable.
7700 (hildon_pannable_area_button_press_cb):
7701 (hildon_pannable_area_button_release_cb):
7702 (hildon_pannable_area_motion_notify_cb):
7703 Changed the signature of the method, now we override the event
7704 callback instead of connecting to the signal.
7706 (hildon_pannable_area_realize):
7707 (hildon_pannable_area_unrealize):
7708 (hildon_pannable_area_map):
7709 (hildon_pannable_area_unmap):
7710 (hildon_pannable_area_size_allocate):
7711 Added functions to control the widget construction. We add a
7712 INPUT_ONLY window and we put it over the widgets inside the
7713 container, this event_window handles the events.
7715 (hildon_pannable_area_class_init):
7716 Replaced the signal connections with overrides of the event
7719 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7721 Bouncing effect added when touching the borders, you can change
7722 the elasticity of the border changing the ELASTICITY define.
7724 * src/hildon-pannable-area.c: Added ELASTICITY define.
7725 (hildon_pannable_area_timeout): Added inverse velocity when
7726 touching the border of the child widget, that causes a bounce.
7728 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7730 Improved performance, we now do not go to the X server in order to
7731 get the list of window children. Apparently the effect is the
7732 same, we have to be careful and check if this breaks something in
7735 * src/hildon-pannable-area.c:
7736 (get_ordered_children): Removed this function.
7737 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7738 the children windows function with gdk_window_get_children.
7740 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7742 * src/hildon-pannable-area.c:
7743 (hildon_pannable_area_dispose): Fixed a crash when closing the
7744 window and kinetics is activated.
7746 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7748 * src/hildon-pannable-area.h
7749 * src/hildon-pannable-area.c
7750 Changed indentation style to meet the one used in Hildon
7752 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7754 Reviewed the interaction of the AUTO mode, now we use the time
7755 attribute of the events and calculate the velocity in the motion,
7756 doing a gimp like calculation. The velocity is calculated in each
7757 motion event using the last velocity and the current one, the
7758 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7760 * src/hildon-pannable-area.c: Replaced the time based algorithm
7762 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7763 timeout for the AUTO mode when we are still moving the cursor. We
7764 added also the velocity calculation in this function.
7765 (hildon_pannable_area_button_release_cb): launch the timeout in
7766 case we are in AUTO mode. There are still some constants here that
7767 come from the old implementation that should be reviewed and
7770 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7772 * doc/hildon-docs.sgml
7775 * src/hildon-stackable-window.c
7776 * src/hildon-stackable-window.h
7778 New HildonStackableWindow widget
7780 * examples/hildon-dialog-example.c
7781 * examples/hildon-pannable-area-example.c
7784 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7786 * src/hildon-dialog.c
7787 (hildon_dialog_new_with_buttons): New constructor.
7789 * examples/hildon-dialog-example.c
7790 (main): Update the example to use the new
7791 hildon_dialog_new_with_buttons().
7793 * examples/hildon-pannable-area-example.c
7794 (main): Update example.
7796 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7798 * doc/hildon-docs.sgml
7800 Added HildonPannableArea to the documentation.
7802 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7804 * doc/visual_index.xml
7805 Fix reference to HildonLoginDialog in documentation
7807 * doc/hildon-docs.sgml
7809 * examples/Makefile.am
7810 * examples/hildon-dialog-example.c
7812 * src/hildon-dialog.c
7813 * src/hildon-dialog.h
7815 New HildonDialog widget.
7817 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7819 * src/hildon-pannable-area.c
7820 Merge latest changes (r4318, r4342) from libmokoui trunk
7822 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7824 * examples/Makefile.am
7825 * examples/hildon-pannable-area-example.c
7827 * src/hildon-pannable-area.c
7828 * src/hildon-pannable-area.h
7830 New HildonPannableArea widget.
7832 2008-04-15 18:05:19 <timj@imendio.com>
7834 * src/hildon-banner.c: revert the recent change, that introduced
7835 gtk_window_present() calls. this reopens:
7836 Bug 78481 - [freetest] information banners are hidden under browser menu
7837 But resolves another variant of:
7838 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7840 2008-04-15 13:21:13 <timj@imendio.com>
7842 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7843 recreated its layout, spotted by Kris. this fixes all remaining
7844 artefacts and stability issues with the banner code. in particular:
7845 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7847 2008-04-14 16:52:59 <timj@imendio.com>
7849 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7850 operating on unrealized widgets, fixes:
7851 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7853 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7855 2008-04-09 Kristian Rietveld <kris@imendio.com>
7857 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7858 makes banner disappear.
7859 Fixes: NB#79182: info banner flickering with certain message lengts.
7861 * src/hildon-banner.c (hildon_banner_constructor),
7862 (hildon_banner_init), (hildon_banner_set_text),
7863 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7864 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7865 FALSE, reset size requests of label and banner,
7866 (force_to_wrap_truncated): when the text is too wide, always enforce
7867 the maximum possible width instead of recalculating it from the
7868 layout; enforce the maximum banner height of 3 lines,
7869 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7870 nicer wrapping and no truncated chars if space gets tight.
7872 * src/hildon-banner-private.h: add has_been_wrapped and
7873 has_been_truncated fields.
7875 2008-04-07 Sven Herzberg <sven@imendio.com>
7877 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7878 local values in hildon_date_editor_size_allocate
7880 * src/hildon-date-editor.c: moved the real allocation code into the
7883 2008-04-07 Sven Herzberg <sven@imendio.com>
7885 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7886 local values in hildon_date_editor_size_allocate
7888 * src/hildon-date-editor.c: merged the two if() branches together
7890 2008-04-07 Sven Herzberg <sven@imendio.com>
7892 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7893 local values in hildon_date_editor_size_allocate
7895 * src/hildon-date-editor.c: changed the arguments of the if()
7898 2008-04-07 Sven Herzberg <sven@imendio.com>
7900 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7901 local values in hildon_date_editor_size_allocate
7903 * src/hildon-date-editor.c: split the calculation of the allocation
7904 from the real allocation
7906 2008-03-27 Michael Natterer <mitch@imendio.com>
7908 Fixes: NB#81696: The passcode is not overwritten even after
7911 * src/hildon-code-dialog.c
7912 (hildon_code_dialog_button_clicked)
7913 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7914 because that doesn't overwrite selected text. Instead, emit the
7915 "commit" signal on the entry's im_context so the entry's normal
7916 insert logic is triggered. Set the cursor to the end of the entry
7917 after each insert operation so that we *only* insert in the middle
7918 of the text if something was selected.
7920 2008-03-27 Michael Natterer <mitch@imendio.com>
7922 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7923 selector cannot be opened
7925 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7926 when the popup color selector is created. Please connect to this
7927 signal in order to set the dialog's help ID.
7929 2008-03-25 Sven Herzberg <sven@imendio.com>
7931 Fixes: MB#1212: Hide info banners (infoprints) on click
7933 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7934 extracted the close event simulation into an extra function
7935 (hildon_banner_button_press_event): simulate a close event and destroy
7936 the widget if the event wasn't handled
7937 (hildon_banner_class_init): added the button_press_event handler
7938 (hildon_banner_init): added button-press events to the widget
7940 2008-03-25 Sven Herzberg <sven@imendio.com>
7942 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7943 Patch from: Mohammad Anwari <mdamt@maemo.org>
7945 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7946 instead of the right in RTL mode
7947 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7948 breadcrumb button list in RTL mode
7949 * src/hildon-caption.c: mirror the appearance of the caption widget in
7951 * src/hildon-date-editor.c: mirror appearance of the date editor in
7953 * src/hildon-time-editor.c: mirror appearance of the time editor in
7955 * src/hildon-window.c: fix the position of the popup in RTL mode
7957 2008-03-25 Sven Herzberg <sven@imendio.com>
7959 Amendment to the fix of NB#22072. Fix compilation.
7961 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7963 2008-03-19 Sven Herzberg <sven@imendio.com>
7965 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7968 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7969 timeout id properly when the timeout will disappear this leaves no
7970 artifacts around in the destroy(); there will only be the timeout
7971 created by hildon_banner_ensure_timeout() and adding a new timeout
7972 will also work if the timeout gets removed because the timeout_handler
7975 2008-03-19 Michael Natterer <mitch@imendio.com>
7977 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7979 * src/hildon-volumebar.c
7980 * src/hildon-vvolumebar.c
7981 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7982 the widget becomes focussable at all.
7984 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7985 set the focus to wither the mute button or the volumebar.
7987 Remove own "can-focus" property and instead listen to
7988 notify::can-focus in order to update the widget's state.
7990 Implement GtkWidget::focus() and make sure we can also *leave* the
7991 widget, not only enter it, depending on volumebar orientation and
7992 requested focus direction.
7994 Clean up set_mute() to cooperate nicely with all the above.
7996 2008-03-04 Michael Natterer <mitch@imendio.com>
7998 Fixes: NB#78481: information banners are hidden under browser menu
8000 * src/hildon-banner.c: call gtk_window_present() on the banners so
8001 they are risen if they are already visible.
8003 2008-03-03 Sven Herzberg <sven@imendio.com>
8005 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8007 * examples/hildon-window-menu-example.c: (main): extended the window
8008 menu example to serve as a testcase for automatically added
8009 accelerator groups, too
8010 * src/hildon-window.c: (hildon_window_add_accel_group),
8011 (hildon_window_set_menu): added patch by Tommi Komulainen
8013 2008-03-03 Sven Herzberg <sven@imendio.com>
8015 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8017 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8018 knowledge about the border allocators used within GTK+
8020 2008-02-26 Sven Herzberg <sven@imendio.com>
8022 Fixes: MB#2981: Build with asserts broken
8024 * src/hildon-date-editor.c,
8025 * src/hildon-number-editor.c,
8026 * src/hildon-time-editor.c,
8027 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8028 the proper GType instance check
8030 2008-02-25 Sven Herzberg <sven@imendio.com>
8032 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8034 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8035 * examples/hildon-window-menu-example.c: (main): explicitly show
8037 * src/hildon-window.c:
8038 (hildon_window_set_main_menu): moved most of the code from set_menu()
8039 to this place; skipped the call to gtk_widget_show_all(); also didn't
8040 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8041 (hildon_window_set_menu): removed most of the code, just keep the
8042 questionable gtk_widget_show_all()
8043 * src/hildon-window.h: added the new function and deprecate the old
8046 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8052 * debian/changelog: Updating.
8054 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8057 * pkgconfig/Makefile.am:
8058 * pkgconfig/hildon.pc.in:
8061 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8062 use newly created API_MAJOR_VERSION.
8064 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8070 * debian/changelog: Updating.
8072 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8076 Add outer_border style property, we use it but don't define it (!).
8080 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8082 * examples/hildon-bread-crumb-trail-example.c (main):
8086 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8088 Fix logic for the bread crumb trail node removal.
8092 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * debian/changelog: Updating.
8100 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8102 Patch by Alejandro to get/set passwords dialogs accesibility.
8104 * hildon-1/src/hildon-get-password-dialog.c:
8105 * hildon-1/src/hildon-set-password-dialog.c:
8106 Set atk_set_name to the passwd entries in order to allow
8107 accessibility by name on this entries.
8109 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * debian/control: Updating gtk dep.
8116 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8118 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8119 USE_MAEMO_GTK is enabled.
8121 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8123 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8124 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8126 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * debian/changelog: Updating.
8134 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * examples/Makefile.am:
8137 * examples/hildon-logical-color-example.c:
8138 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8139 applied + adding a test case. Fixes: NB#71660.
8141 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8143 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8144 to be visible, fixes warning on map for windows without toolbars.
8146 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8148 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8149 2.11.0, add a check for that besides the MAEMO_GTK check.
8151 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8157 * debian/changelog: Updating.
8159 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8162 visibility. Fixes: NB#70842 and MB#615.
8164 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8166 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8167 set the separator as no-show-all so it doesn't unintentionally appear when
8168 someone does a show_all.
8170 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8172 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8173 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8174 toplevel item. Fixes: NB#62031
8176 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8178 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8179 fix the name of the function in the docs.
8181 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8187 * debian/changelog: Updating.
8189 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8191 * examples/hildon-banner-long-example.c: Adding a test-case for long
8194 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8196 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-color-chooser-dialog.c:
8199 * src/hildon-color-chooser.c:
8200 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8201 memory leaks in font selector and color selector. Fixes: NB#70499 and
8204 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8206 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8208 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8211 little bit bigger. Fixes: #NB63694.
8213 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * debian/changelog: Updating.
8221 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * doc/hildon-docs.sgml:
8225 * doc/images/bread-crumb-trail.png:
8226 * doc/images/calendar-popup.png:
8227 * doc/images/caption.png:
8228 * doc/images/code-dialog.png:
8229 * doc/images/color-button.png:
8230 * doc/images/color-chooser-dialog.png:
8231 * doc/images/color-chooser.png:
8232 * doc/images/controlbar.png:
8233 * doc/images/date-editor.png:
8234 * doc/images/font-selection-dialog.png:
8235 * doc/images/get-password-dialog.png:
8236 * doc/images/hvolumebar.png:
8237 * doc/images/login-dialog.png:
8238 * doc/images/note.png:
8239 * doc/images/number-editor.png:
8240 * doc/images/range-editor.png:
8241 * doc/images/seekbar.png:
8242 * doc/images/set-password-dialog.png:
8243 * doc/images/sort-dialog.png:
8244 * doc/images/time-editor.png:
8245 * doc/images/time-picker.png:
8246 * doc/images/vvolumebar.png:
8247 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8248 Adding the bread-crumb-trial and helpers to the documentation.
8250 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * examples/hildon-find-toolbar-example.c:
8253 * src/hildon-find-toolbar.c:
8254 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8255 actually continue firing the other handlers if connected. Adding a new
8257 hildon_find_toolbar_get_last_index that gets the index of the most
8258 recently added (last) item. Fixes: NB#52301.
8260 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8263 behaviour. Fixes: NB#68610.
8265 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8270 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8272 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8273 when realizing the banner. Should make the infonbanner effect a bit more
8276 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * src/hildon-volumebar.c:
8279 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8280 hildon_volumebar_set_range_insensitive_message and
8281 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8283 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8285 * src/hildon-window.c: Fixing the border freeing on destroy.
8287 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8289 * src/hildon-code-dialog-private.h:
8290 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8291 kw keyboard support in HildonCodeDialog.
8293 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * debian/changelog: Updating.
8301 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * src/hildon-date-editor.c:
8304 * src/hildon-number-editor.c:
8305 * src/hildon-private.c:
8306 * src/hildon-private.h:
8307 * src/hildon-time-editor.c:
8308 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8309 handling in subclassed composite widgets. Fixes: NB#66628.
8311 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8313 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8314 from destroy_ callback as it introduces problems in async dbus signal
8315 handlers. Fixes NB#66673.
8317 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * examples/hildon-hvolumebar-example.c:
8320 * src/hildon-volumebar.c: Improving the focus handling in the
8321 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8322 set_property accessor so that "mute" property can be actually set. I'm
8323 scared that nobody noticed it's totally broken.
8325 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8330 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8332 * src/hildon-calendar.c:
8333 * src/hildon-number-editor.c:
8334 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8335 matches the spec of 6 chars per second. Fixes: NB#60489.
8337 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8340 gtk_style_lookup_color sometime returns FALSE even though color was
8341 found and values were filled properly. Weird. Removing the warning for the
8344 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8346 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8347 expand vertically. Adding some extra space to the find toolbar buttons to
8348 make them thumbable. Fixes NB#66060.
8350 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8352 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8353 popup with "Ok" and "Cancel". Fixes NB#59299.
8355 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * src/hildon-calendar.c: Process all window updates before executing next
8358 timeout. Fixes: NB#54146.
8360 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * debian/changelog: Updating.
8368 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8370 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8371 the client event and ignore it, since we use the delete event to close
8374 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * src/hildon-helper.c: Remove the bogus warning about color not being
8377 found. Fixes NB#58352.
8379 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * examples/Makefile.am:
8382 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8383 HildonSeekbar widget inside a toolbar.
8385 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8387 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8388 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8389 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8390 don't want to be closed by non-temporary windows on map.
8392 Also use G_DEFINE_TYPE instead of manually typed code.
8394 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * debian/rules: Updating.
8403 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * examples/Makefile.am:
8406 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8407 bug NB#61128. Strangely it works.
8409 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-date-editor.c: When the date editor entry has been changed
8412 but the numbers of characters < max, turn off the skip validation flag.
8413 Prevents a situation when we enter first a valid year and later re-write
8414 it with an invalid one. Fixes NB#60154.
8416 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8418 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8419 code dialog. Fixes NB#64355.
8421 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8423 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8424 switching the page. Fixes NB#49374.
8426 * examples/Makefile.am:
8427 * examples/hildon-wizard-dialog-example.c: Adding an example for
8428 HildonWizardDialog that shows how to handle manual sensitivity setting on
8431 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * src/hildon-version.h.in:
8436 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8438 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8440 * src/hildon-volumebar.c: Updating the docs.
8442 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * debian/changelog: Updating.
8450 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * src/hildon-find-toolbar.c:
8453 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8454 selected item: hildon_find_toolbar_set_active,
8455 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8456 hildon_find_toolbar_get_active_iter . They correspond to respective
8457 GtkComboBox functions.
8459 * examples/Makefile.am:
8460 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8463 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8465 * examples/Makefile.am:
8466 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8469 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8470 when font size > 32 and we pack a focusable widget inside. Actually using
8471 the default response would work too, but since we don't show default
8472 response state in any way (no theming) it would not be visible to the
8473 user. Fixes NB#63430.
8475 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8477 * src/hildon-date-editor.c: Adding the missing variable setter in the
8478 set_property handler. Fixes NB#54182.
8480 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8482 * src/hildon-window.h: Changing the long key press time from 1500ms to
8483 800ms as requested in NB#63700. I have a bad feeling about this, let's
8484 see... Fixes NB#63700.
8486 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8488 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8489 hildon_time_picker_map, hildon_time_picker_realize,
8490 hildon_time_picker_style_set): Split the contents of map to more
8491 appropriate functions; set window decorations on realize and update
8492 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8494 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8499 * debian/changelog: Updating.
8501 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8503 * src/Makefile.am: fixed installation of the header files
8505 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8511 * debian/changelog: Updating.
8513 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * configure.ac: Removing some remaining of --enable-xan.
8517 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8519 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8520 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8522 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8523 2.10.12-osso6 because the move-focus signal needs to be available in
8526 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8528 * examples/Makefile.am:
8529 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8530 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8531 fine. Prolly NB#61128 is fixed now.
8533 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8535 * src/hildon-volumebar.c:
8536 * src/hildon-volumebar.h: Adding the
8537 hildon_volumebar_set_range_insensitive_message and
8538 hildon_volumebar_set_range_insensitive_messagef functions to set
8539 insensitive message on the slider of the volumebar. Fixes NB#61129.
8541 * examples/Makefile.am:
8542 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8543 test the new insensitive messsage functionality on HildonVolumebar.
8545 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8547 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8550 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8552 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8553 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8554 button on after clearing the trail.
8556 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8560 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8562 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8563 by splitting the installed headers in generated and non-generated groups. Use
8564 only the non-generated headers to create the hildon-enum-types.h file.
8566 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8568 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8570 * src/hildon-window.c: Hide the window before performing the destroy.
8571 Should make the app closing a little tiny bit more snappy.
8573 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8575 * src/hildon-seekbar.c: add gtkrange.h header
8576 * src/hildon-caption.c: remove unused variable
8578 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8580 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8583 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * debian/changelog: Updating.
8591 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8593 * src/hildon-window.c (hildon_window_window_state_event,
8594 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8595 escape timeout on focus-out-event rather than notify::is-topmost; the
8596 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8598 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8601 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8603 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8605 * src/hildon-window: actually, you need to use the macro always, there's
8606 no private pointer in the instance structure. We should have cleaned this up
8607 when we had the chance...
8609 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-window.c: do not get the private date from HildonWindow before
8612 it passes the g_return_if_fail check. Once it's passed the test, there's no
8613 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8614 if you are only going to access the data once. Whitespace cleanups.
8616 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8618 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8619 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8621 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * debian/changelog: Updating.
8629 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * src/hildon-window.c: When destroying the window, remove (if exists) the
8632 escape timeout handler. Fixes #NB59276.
8634 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-banner.c: When realizing the widget, set the window
8637 transiency. Setting the transiency in the gobject constructor is not
8638 good, as the widget is not realized at that point. Fixes: #NB56624.
8640 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8642 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8643 Add padding for future expansions.
8645 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8647 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8648 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8649 will fake an activation on the previous to the last item of the trail, so
8650 the effect can be overrided by the developer as usual.
8651 Also change the callback for the back button to do the same thing, so its
8652 effect can be overrided too. Fixes: NB#58982
8654 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8657 HildonCaption. Fixes NB#52379.
8659 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8661 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8662 the internal state of the trail after the user has had the chance of executing
8663 his handler for the signal. Specifically, it may happen that the activated button
8664 is removed and the user still lets the default handler run. This would segfault
8667 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8669 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8670 scrollbar to the preview dialog. Fixes NB#54147.
8672 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8674 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8675 max/min year properties can be altered, so the client can modify it
8676 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8678 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8681 hildonlike by default. Fixing a problem with disappearing arrows when
8682 scrolling through months and years. Fixes NB#54127.
8684 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * examples/hildon-date-editor-example.c: Adding error callback to the date
8689 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * configure.ac: Updating.
8697 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * configure.ac: Adding a special '--enable-xan' configure option that
8700 turns off the -Werror compilation setting. Usefull for development.
8702 * src/hildon-calendar.c:
8703 * src/hildon-number-editor.c:
8704 * src/hildon-time-picker.c: Adding the 5* multiplier to
8707 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8709 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8710 instead of g_object_ref + gtk_object_sink.
8712 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * debian/changelog: Updating.
8720 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-color-chooser-dialog.c:
8723 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8724 straight from Tommi labs.
8726 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8728 * examples/hildon-finger-example.c: Correcting the header file path.
8730 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8731 the changed signal. Fixes a small memory leak.
8733 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-banner.c: Importing several usefull fixes from the
8738 ubuntu-mobile branch.
8740 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * examples/Makefile.am:
8743 * examples/hildon-finger-example.c: Adding a finger-checking code
8746 * src/hildon-font-selection-dialog.c: Do not allocate the color
8747 structure using the g_new. Fixes NB#54061.
8749 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * src/hildon-helper.c: Correcting tabs in file.
8753 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8755 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8756 control the visibility of the children.
8758 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8760 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * debian/changelog: Updating.
8768 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8770 * src/hildon-bread-crumb-trail.c:
8771 (hildon_bread_crumb_trail_size_allocate):
8773 Make the back button always a square.
8775 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8777 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8778 from the .c file as it's a private file.
8780 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8783 uses slightly bigger height.
8785 * src/hildon-font-selection-dialog.c: Adding some checks before
8786 freeing memory in the font selection dialog.
8788 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * src/hildon-font-selection-dialog.c: Adding a small check when
8793 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8794 buttons sensitivity on page switching.
8796 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8798 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8799 internal details of adding a bread crumb to the trail.
8801 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8807 * debian/changelog: Updating.
8809 * src/hildon-bread-crumb-trail.h:
8810 * src/hildon-bread-crumb.h: Changing the API guard to
8811 HILDON_ENABLE_UNSTABLE_API.
8813 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * src/hildon-helper.h: Updating.
8823 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8831 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-helper.h: Small fix to make the package actually compile.
8837 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8839 * src/hildon-bread-crumb-trail.h:
8840 * src/hildon-bread-crumb.h:
8842 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8843 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8845 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8847 * examples/hildon-bread-crumb-trail-example.c:
8849 * src/hildon-bread-crumb-trail.c:
8850 * src/hildon-bread-crumb-trail.h:
8851 * src/hildon-bread-crumb.c:
8852 * src/hildon-bread-crumb.h:
8853 * src/hildon-marshalers.list:
8854 * src/hildon-bread-crumb-widget.c:
8855 * src/hildon-bread-crumb-widget.h:
8857 Slight change in the widget design. The bread crumb trail API is
8858 unchanged, but HildonBreadCrumb is now an interface. A *private*
8859 implementation, hildon-bread-crumb-widget, is provided and used
8860 internally by the trail for the push_text/push_icon functions.
8862 The generic push API is still available, so anyone can implement
8863 and use its own bread crumb widget.
8865 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 * debian/rules: Fixing the shlibs.
8869 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * src/hildon-banner.c: Fixing a problem with timed banners having
8872 their parrent destroyed before they are.
8874 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8876 * src/hildon-bread-crumb.c:
8877 * src/hildon-bread-crumb.h:
8879 Make the get_natural_size function a vfunc.
8881 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8883 * src/hildon-bread-crumb.c:
8884 * src/hildon-bread-crumb-trail.c:
8888 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * debian/changelog: Updating for release.
8897 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8900 don't leak the pango layout.
8902 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8905 * examples/hildon-bread-crumb-trail-example.c:
8909 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/changelog: Removing the bug-fixed entries that were actually
8912 resolved as WONTFIX.
8914 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8917 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-bread-crumb-trail.c:
8920 * src/hildon-bread-crumb-trail.h:
8921 * src/hildon-bread-crumb.c:
8922 * src/hildon-bread-crumb.h:
8926 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8928 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8929 until it's passed the type check.
8931 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8933 * examples/hildon-bread-crumb-trail-example.c
8937 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8939 * examples/Makefile.am
8940 * examples/hildon-bread-crumb-trail-example.c
8942 * src/hildon-bread-crumb-trail.c
8943 * src/hildon-bread-crumb-trail.h
8944 * src/hildon-bread-crumb.c
8945 * src/hildon-bread-crumb.h
8947 New HildonBreadCrumbTrail widget.
8949 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8951 * src/hildon-range-editor.c (hildon_range_editor_init),
8952 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8953 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8954 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8955 hildon_time_editor_class_init, hildon_time_editor_init),
8956 src/hildon-get-password-dialog.c (invalid_input,
8957 hildon_get_password_set_property, hildon_get_password_get_property,
8958 create_contents, hildon_get_password_dialog_set_max_characters),
8959 src/hildon-set-password-dialog.c (create_contents),
8960 src/hildon-date-editor.c (hildon_date_editor_init),
8961 src/hildon-login-dialog.c (hildon_login_dialog_init),
8962 src/hildon-number-editor.c (hildon_number_editor_init),
8963 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8964 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8965 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8966 configure option and adding the respective checks in the code.
8967 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8968 hildon_calendar_drag_data_received): fixed some build warnings.
8970 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * debian/changelog: A 1.0.0 release notes.