1 2009-06-17 David King <davidk@openismus.com>
3 * hildon/hildon-date-selector.c
4 (hildon_date_selector_select_current_date)
5 (hildon_date_selector_get_date): Update documentation regarding days,
6 as the day of the month is dependent on both the month and the year.
7 (hildon_date_selector_get_date): Fix documentation of output arguments.
9 Fixes: MB#4698 (DateSelector documentation has bad output argument
10 description, and the day depends on both the month and the year)
12 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
14 * hildon/hildon-caption.c: Other documentation fixes to
17 2009-06-17 David King <davidk@openismus.com>
19 * hildon/hildon-caption.c: Minor documentation updates for
20 HildonCaption. Fixes MB#4697.
22 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
24 * doc/hildon-docs.sgml: Add hildon-version section.
25 * doc/hildon-sections.txt:
26 * hildon/hildon-version.h.in: Document versioning macros and
29 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
31 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
32 from HildonPickerDialog section.
34 2009-06-16 Alberto Garcia <agarcia@igalia.com>
36 * hildon/hildon-banner.c (hildon_banner_bind_style)
37 (screen_size_changed, hildon_banner_init)
38 (hildon_banner_real_show_information)
39 (hildon_banner_show_information_with_markup)
40 (hildon_banner_show_animation, hildon_banner_show_progress):
41 Set a different widget name to banners in portrait mode, for them
42 to be themed correctly.
44 2009-06-16 Alberto Garcia <agarcia@igalia.com>
46 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
47 Set a different widget name to notes in portrait mode, for them to
50 Partially fixes: NB#118401 (HildonNote causes unnecessary
53 2009-06-16 Alberto Garcia <agarcia@igalia.com>
55 * hildon/hildon-note.c (hildon_note_class_init)
56 (+hildon_note_size_request, screen_size_changed):
57 Always request the full width of the screen.
59 Fixes: NB#118375 (unnecessary rescaling of images)
61 2009-06-16 Alejandro G. Castro <alex@igalia.com>
63 * hildon/hildon-pannable-area.c,
64 (hildon_pannable_area_init),
65 (hildon_pannable_area_realize): Replaced old code adding flags in
66 the object init, now we add it with the other flags in the realize
69 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-note.c: (hildon_note_class_init): Several
72 documentation improvements to the HildonNote widget.
74 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
78 Fixes: MB#4556 (HildonNoteType is undocumented)
80 2009-06-15 Alberto Garcia <agarcia@igalia.com>
82 * hildon/hildon-picker-button.c:
83 Explain how HildonPickerButton sets the title of its dialog
85 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
86 the title of its dialog)
88 2009-06-15 Alberto Garcia <agarcia@igalia.com>
90 * hildon/hildon-check-button.c:
93 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
96 2009-06-15 Alberto Garcia <agarcia@igalia.com>
99 * hildon/hildon-edit-toolbar-private.h
100 * hildon/hildon-edit-toolbar.c
101 (+hildon_edit_toolbar_set_progress_indicator)
102 (hildon_edit_toolbar_init): Add progress indicator to the
105 * hildon/hildon-gtk.c
106 (hildon_gtk_window_set_progress_indicator):
107 If the window contains a HildonEditToolbar, enable the progress
110 * hildon/hildon-private.h
111 * hildon/hildon-private.c
112 (+hildon_private_create_animation)
113 * hildon/hildon-banner.c
114 (-hildon_banner_create_animation):
115 Moved to hildon-private.c
117 Fixes: NB#102373 (Progress indicator also for the Edit mode
120 2009-06-15 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-app-menu-private.h
123 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
124 (hildon_app_menu_add_filter, +menu_item_button_event)
125 (hildon_app_menu_button_release, hildon_app_menu_init):
126 Make sure that buttons receive 'button-release-event' in spite of
127 the grab held by HildonAppMenu
129 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
131 2009-06-15 Alberto Garcia <agarcia@igalia.com>
133 * hildon/hildon-app-menu.c
134 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
135 New style property to set the size of the group of filter buttons.
137 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
139 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
144 * configure.ac: Bump version.
145 * debian/changelog: Updates.
147 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
149 * hildon/hildon-main.c: Minor documentation fixes.
151 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
153 * doc/hildon-sections.txt:
154 * hildon/hildon-defines.h: Document the defines, organize them,
155 and mark deprecations as such.
157 Fixes: MB#4463 (Hildon size #defines are undocumented)
159 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
161 * hildon/hildon-animation-actor.c:
162 * hildon/hildon-app-menu.c:
163 * hildon/hildon-button.c:
164 * hildon/hildon-date-editor.c:
165 * hildon/hildon-dialog.c:
166 * hildon/hildon-edit-toolbar.c:
167 * hildon/hildon-entry.c:
168 * hildon/hildon-program.c:
169 * hildon/hildon-remote-texture.c:
170 * hildon/hildon-stackable-window.c:
171 * hildon/hildon-text-view.c:
172 * hildon/hildon-touch-selector.c:
173 * hildon/hildon-window-stack.c:
174 * hildon/hildon-window.c:
176 Remove redundant "represents" wording from most of the documentation.
178 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
180 2009-06-12 Alberto Garcia <agarcia@igalia.com>
185 * hildon/hildon-banner-private.h
186 * hildon/hildon-banner.c:
187 Move HildonBannerPrivate to hildon-banner.c and remove
188 hildon-banner-private.h
189 Use a bit field to store private booleans.
191 2009-06-12 Alberto Garcia <agarcia@igalia.com>
193 * hildon/hildon-app-menu.c (hildon_app_menu_map):
194 Don't install a new idle function if there's already one
199 2009-06-11 Alberto Garcia <agarcia@igalia.com>
201 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
202 (+legacy_menu_realized, +legacy_menu_unmapped)
203 (+set_legacy_menu_type):
204 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
205 they can be identified by the window manager.
207 Fixes: NB#101437 (Invoking CSM on the left side of page area is
208 displayed in wrong location)
210 Fixes: MB#4563 (Popup menu won't locate at the left side of the
213 2009-06-11 Alberto Garcia <agarcia@igalia.com>
215 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
217 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
220 2009-06-11 Alberto Garcia <agarcia@igalia.com>
222 * hildon/hildon-code-dialog.c
223 * hildon/hildon-date-editor.c
224 * hildon/hildon-number-editor.c
225 * hildon/hildon-seekbar.c
226 * hildon/hildon-stackable-window.c
227 * hildon/hildon-window.c:
228 Misc documentation updates
230 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
232 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
233 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
235 Fixes: NB#117931 (Theming issues in accounts dialogs)
237 2009-06-09 Alejandro G. Castro <alex@igalia.com>
239 * hildon/hildon-pannable-area.c,
240 (hildon_pannable_area_button_release_cb): Changed the coordinates
241 of the original release in case we want to discard the release,
242 some widgets in Fremantle do not handle the leave-notify.
244 2009-06-09 Alejandro G. Castro <alex@igalia.com>
246 * hildon/hildon-pannable-area.c,
247 (hildon_pannable_area_button_release_cb): Reviewed the logic of
248 the release using the last refactored functions and avoiding the
249 movement if an element was selected.
251 2009-06-09 Alejandro G. Castro <alex@igalia.com>
253 * hildon/hildon-pannable-area.c,
254 (hildon_pannable_area_check_move),
255 (hildon_pannable_area_handle_move),
256 (hildon_pannable_area_motion_notify_cb): Refactored the
257 motion_notify method using a couple of new functions.
259 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
261 * hildon/hildon-date-selector.c:
262 (hildon_date_selector_construct_ui):
263 * hildon/hildon-time-selector.c:
264 (hildon_time_selector_constructor):
265 * hildon/hildon-touch-selector-entry.c:
266 (hildon_touch_selector_entry_set_text_column),
267 (hildon_touch_selector_entry_get_text_column):
268 * hildon/hildon-touch-selector.c: (_default_print_func),
269 (hildon_touch_selector_new_text): Use
270 hildon_touch_selector_set/get_text_column() instead of
271 setting/getting the "text-column" property.
273 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
275 * doc/hildon-sections.txt: Add the new public methods below.
277 * examples/hildon-picker-button-multicolumn-example.c:
278 (create_touch_selector):
279 * examples/hildon-touch-selector-example.c: (create_selector):
280 * examples/hildon-touch-selector-multi-cells-example.c:
282 Use hildon_touch_selector_column_set_text_column()
284 * hildon/hildon-touch-selector-column.h:
285 * hildon/hildon-touch-selector.c:
286 (hildon_touch_selector_column_set_text_column),
287 (hildon_touch_selector_column_get_text_column):
288 Make hildon_touch_selector_column_set/get_column() public, use
289 them in the inline example, document them, and reference to them
292 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
294 * hildon/hildon-time-selector.c: Fix the docs for
295 hildon_time_selector_new_step().
297 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
299 * hildon/hildon-touch-selector.c: Improve the documentation for
300 hildon_touch_selector_append_column().
302 Fixes MB#4641 (Documentation:
303 hildon_touch_selector_append_column() ref-counting)
305 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
307 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
308 Comment out test 5, since the hildon_controlbar_set_range() range
309 check is broken and fixing it would have side effects. Also,
310 this finally fixes make distcheck.
312 Fixes: NB#101420 (Update unit tests and fix make distcheck)
314 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
316 * tests/TEST-CASES.txt: Remove other bogus test.
317 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
318 Remove bogus test that was setting/retrieving a valid value.
320 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
322 * tests/TEST-CASES.txt: Remove bogus tests.
323 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
324 Remove three bogus tests that were actually setting valid colors.
326 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
328 * configure.ac: post release version bump
329 * debian/changelog: post release version bump
331 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
336 * configure.ac: Bump version.
337 * debian/changelog: Updates.
339 2009-06-08 Christian Dywan <christian@lanedo.com>
343 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
344 Correct errors in hildon_format_file-size_for_display and use
345 translations from the hildon-fm package instead of osso-filemanager.
347 2009-06-08 Alejandro G. Castro <alex@igalia.com>
349 * hildon/hildon-pannable-area.c,
350 (hildon_pannable_area_init): Initialized new values to handle the
352 (hildon_pannable_area_adjust_value_changed): Check if the values
353 changed before even call the redraw function.
354 (hildon_pannable_area_size_allocate),
355 (hildon_pannable_axis_scroll),
356 (hildon_pannable_area_scroll),
357 (hildon_pannable_area_jump_to): Improved the diagonal movement
360 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
363 2009-06-08 Alberto Garcia <agarcia@igalia.com>
365 * examples/hildon-banner-example.c:
366 Several style updates
367 (on_animation_clicked, on_animation_idle)
368 (on_progress_clicked, on_progress_idle):
369 Add additional reference for the cases when the parent window is
372 2009-06-08 Alberto Garcia <agarcia@igalia.com>
374 * doc/hildon-sections.txt
375 * hildon/hildon-pannable-area.c
376 * hildon/hildon-banner.h
377 * hildon/hildon-banner.c: Documentation updates.
379 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
382 2009-06-05 Alejandro G. Castro <alex@igalia.com>
384 * hildon/hildon-calendar-popup.h:
385 * hildon/hildon-caption.h:
386 * hildon/hildon-code-dialog.h:
387 * hildon/hildon-controlbar.h:
388 * hildon/hildon-date-editor.h:
389 * hildon/hildon-dialog.h:
390 * hildon/hildon-get-password-dialog.h:
391 * hildon/hildon-hvolumebar.h:
392 * hildon/hildon-login-dialog.h:
393 * hildon/hildon-note.h:
394 * hildon/hildon-number-editor.h:
395 * hildon/hildon-range-editor.h:
396 * hildon/hildon-seekbar.h:
397 * hildon/hildon-set-password-dialog.h:
398 * hildon/hildon-sort-dialog.h:
399 * hildon/hildon-time-editor.h:
400 * hildon/hildon-time-picker.h:
401 * hildon/hildon-volumebar-range.h:
402 * hildon/hildon-volumebar.h:
403 * hildon/hildon-vvolumebar.h:
404 * hildon/hildon-weekday-picker.h:
405 * hildon/hildon-window.h:
406 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
407 macros with the current replacements
409 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
411 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
413 * hildon/hildon-color-button.c (hildon_color_button_init): Use
414 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
415 itself, to make it fit better with Fremantle style.
417 Fixes: NB#109878 (height and width of focus on color icon is not
418 consistent with other item in the application tool bar)
420 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
422 * hildon/hildon-touch-selector.c:
423 (hildon_touch_selector_optimal_size_request): use the current requisition
424 as the base, in order to include any possible extra widget, like the
425 hildon entry on HildonTouchSelectorEntry
427 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
429 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
431 * configure.ac: post release version bump
432 * debian/changelog: post release version bump
434 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: Bump version.
440 * debian/changelog: Updates.
442 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
444 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
446 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
447 to ensure the banner contents are centered, instead of relying on
448 the expand and fill properties in GtkHBox.
449 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
451 Fixes: NB#108265 (Animation banner not properly centered)
453 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
455 * hildon/hildon-pannable-area.c
456 (hildon_pannable_area_initial_effect): Remove the initial_effect
457 management, check initial_hint
458 (hildon_pannable_are_expose_event): Remove the initial_hint management,
459 set initial_effect to FALSE
460 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
461 by launching the fade_timeout if the scrollbars state has changed and are
463 * examples/hildon-pannable-area-initial-hint-example.c
464 Modified to allow to remove rows too. Add and remove rows one by one.
466 2009-05-28 Alberto Garcia <agarcia@igalia.com>
468 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
469 Don't close the menu if there's an animation actor below it.
471 Fixes: NB#117927 (Application menu not usable with animation
474 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
476 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
477 "focus-on-click" from the dialog button, to avoid stealing the
478 focus from the entry.
480 Fixes: NB#118903 (Account setup wizard: Text in Search field
481 should be focused when "Region" touch list picker is reopened
484 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
486 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
487 (prepare_action_area): Completely hide the dialog separator.
489 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-touch-selector-entry.c
492 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
493 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
494 now that the entry is exposed.
496 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
498 * hildon/hildon-touch-selector-entry.c
499 (hildon_touch_selector_entry_init): Change the entry's size
500 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
502 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
504 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
505 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
506 avoid unnecessary scaling.
508 2009-05-27 Alberto Garcia <agarcia@igalia.com>
510 * hildon/hildon-app-menu.c (hildon_app_menu_map):
511 Create grab transfer window before calling parent's map function.
513 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
514 "crushed" button(s) in the top left corner)
516 2009-05-26 Alberto Garcia <agarcia@igalia.com>
518 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
519 Check if the window is already realized when pushing it.
521 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
523 * configure.ac: post release version bump
524 * debian/changelog: post release version bump
526 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
531 * configure.ac: Bump version.
532 * debian/changelog: Updates.
534 2009-05-25 Alberto Garcia <agarcia@igalia.com>
536 * hildon/hildon-app-menu.c: Doc updates.
538 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
540 * hildon/hildon-banner.c: Remove leftover macro.
542 2009-05-25 Alejandro G. Castro <alex@igalia.com>
544 * hildon/hildon-pannable-area.c,
545 (hildon_pannable_area_scroll_indicator_fade),
546 (hildon_pannable_area_button_release_cb): Reviewed vmin
547 conditions, it could cause problems in the fadeout procedure.
549 2009-05-25 Alejandro G. Castro <alex@igalia.com>
551 * hildon/hildon-pannable-area.c
552 (hildon_pannable_area_button_release_cb): Added a threshold to
553 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
555 2009-05-25 Alejandro G. Castro <alex@igalia.com>
557 * hildon/hildon-pannable-area.c,
558 (hildon_pannable_area_set_property): Added code to sync the gtk
559 dnd threshold with the panning threshold.
561 2009-05-25 Alejandro G. Castro <alex@igalia.com>
563 * hildon/hildon-pannable-area.c,
564 (hildon_pannable_area_class_init): Changed some of the default
565 values, now it should be less responsive and more accurate.
567 2009-05-25 Alejandro G. Castro <alex@igalia.com>
569 * hildon/hildon-pannable-area.c,
570 (hildon_pannable_area_init),
571 (hildon_pannable_area_scroll_indicator_fade),
572 (hildon_pannable_area_button_press_cb),
573 (hildon_pannable_axis_scroll),
574 (hildon_pannable_area_timeout),
575 (hildon_pannable_area_motion_notify_cb),
576 (hildon_pannable_area_button_release_cb): Changed the name of the
577 clicked attribute to button_pressed, it is more clear about its use.
579 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
581 * src/hildon-pannable-area.c
582 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
584 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
585 vertical scrollbar visibility, and use the data on private section instead,
586 remove the initial_hint check
587 (hildon_pannable_area_expose_event): add the initial_hint check here
589 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
591 * src/hildon-pannable-area.c
592 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
593 if the fadeout effect was used
594 (hildon_pannable_area_expose_event): check if it is required to
595 manage the initial effect on the begining of the function. Previously
596 it was made at the end, but this doesn't ensure that the scrollbars
597 will be painted on the first show. Do not set to FALSE initial_effect,
598 to ensure that the initial hint is showed the first time the pannable
600 * examples/Makefile.am
601 * examples/hildon-pannable-area-initial-hint-example.c:
602 New example, to show that the initial-hint is showed when the widget
605 Fixes: NB#116607 (Pannable area should always have scrollbar visible
606 initially if the application can be scrolled)
608 2009-05-25 Alberto Garcia <agarcia@igalia.com>
610 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
611 Resize table before adding new items to make sure that
612 gtk_table_resize() is called just once.
614 2009-05-25 Alberto Garcia <agarcia@igalia.com>
616 * hildon/hildon-app-menu-private.h
617 * hildon/hildon-app-menu.c (item_visibility_changed)
618 (filter_visibility_changed, hildon_app_menu_show_all)
619 (hildon_app_menu_hide_all, hildon_app_menu_init):
620 Rearrange items just once when gtk_widget_show_all()/hide_all()
623 2009-05-25 Alberto Garcia <agarcia@igalia.com>
625 * hildon/hildon-app-menu.c
626 (hildon_app_menu_insert, hildon_app_menu_add_filter):
627 Don't call gtk_widget_show() on added items.
629 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
630 automatically when they're added)
632 2009-05-20 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-banner.c
635 (hildon_banner_realize, +hildon_banner_unrealize)
636 (+screen_size_changed, hildon_banner_class_init):
637 Redisplay the banner if the screen is rotated.
639 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
640 on transition from landscape to portrait)
642 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
644 * hildon/hildon-banner.[ch]:
645 (hildon_banner_show_information_override_dnd): remove icon_name from the
646 method definition as it is ignored.
647 * examples/hildon-banner-dnd-example.c: updated with the change on
650 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
652 * hildon/hildon-banner-private.h: new require_override_dnd and
653 overrides_dnd variables
654 * hildon/hildon-banner.h:
655 (hildon_banner_show_information_override_dnd): new method, that shows
656 the information but sets the override flag, in order to show important
658 * hildon/hildon-banner.c
659 (hildon_banner_show_information_override_dnd): new method
660 (hildon_banner_set_override_flag): new utility function
661 (hildon_banner_real_show_information): new utility function, in order to
662 generalize the current hildon_banner_show_information_override_dnd and
663 hildon_banner_show_information_override_dnd
664 * examples/Makefile.am
665 * examples/hildon-banner-dnd-example.c: New example that show how to
666 use the new hildon_banner_show_information_override_dnd
668 Fixes: NB#114874 (There is no possibility to show hildon banners with
671 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-pannable-area.c: Add a comment explaining the math
674 behind hildon_pannable_calculate_vel_factor().
676 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-pannable-area.c
679 (hildon_pannable_calculate_vel_factor): Correct the sum of the
680 deceleration factors.
682 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
684 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
685 Reduce the default value for 'scroll_time' to 1 second, since the
686 current initial scrolling takes too much time.
688 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
690 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
691 calculate velocity factor during initialization, since the properties
694 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
696 * hildon/hildon-pannable-area.c
697 (hildon_pannable_area_set_property): Calculate the velocity factor
698 after setting the deceleration property and not after.
700 2009-05-20 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-entry.c
703 (hildon_entry_class_init, +set_property, hildon_entry_new)
704 * hildon/hildon-check-button.c
705 (hildon_check_button_class_init)
706 (+set_property, hildon_check_button_new):
707 Make the theme size a property.
709 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
710 others) do too much in the _new function)
712 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
714 * configure.ac: post release version bump
715 * debian/changelog: post release version bump
717 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
722 * configure.ac: Bump version.
723 * debian/changelog: Updates.
725 2009-05-15 Alberto Garcia <agarcia@igalia.com>
727 * hildon/hildon-gtk.h
728 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
729 New API function to take a screenshot of a window
731 Fixes: NB#106374 (Need API to take a loading screenshot)
733 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
735 * hildon/hildon-time-selector.c
736 (update_format_policy): prevent to use hours and minutes unitialized
738 2009-05-15 Alberto Garcia <agarcia@igalia.com>
740 * hildon/hildon-window.c (hildon_window_size_request):
741 Always request the full size of the screen (minus the title bar if
742 not in fullscreen mode).
744 Fixes: NB#107486 (HildonWindow should size itself properly)
746 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
748 * hildon/hildon-note-private.h: Add idle_handler to the private data.
749 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
750 (on_show_cb), (sound_handling): Disconnect the idle handler for
751 the sound when the note is finalized to avoid possible crashes.
753 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
756 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
758 * src/hildon-animation-actor.c,
759 * src/hildon-remote-texture.c:
760 Added proper object cleanup to remove signal handler and object
761 references as HildonAnimationActor and HildonRemoteTexture
762 objects get destroyed.
764 Fixes: NB#116682 (Destroying parented animation actors when
765 parent in unmapped leads to crash)
767 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
769 Based on a patch by Christian Dywan (christian@imendio.com)
771 * doc/hildon-sections.txt:
772 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
773 * hildon/hildon-helper.h: New file size formatting method.
775 * debian/control: Depend on osso-filemanager l10n package for
776 proper localization strings.
778 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
780 * tests/Makefile.am: Include top_srcdir to make possible to build
781 tests in a different builddir.
782 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
783 on a different builddir.
785 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
788 (hildon_touch_selector_remove): Disconnect model's signal handler
791 Fixes: NB#116289 (Hildon home crashes while adding task
794 2009-05-11 Alberto Garcia <agarcia@igalia.com>
796 * hildon/hildon-button.c
797 (hildon_button_set_title, hildon_button_set_value):
798 Hide labels containing an empty string.
800 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
802 * configure.ac: post release version bump
803 * debian/changelog: post release version bump
805 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
810 * configure.ac: Bump version.
811 * debian/changelog: Updates.
813 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
815 * hildon/hildon-note-private.h: Removed sound_signal_handler
816 * hildon/hildon-note.c
817 (on_show_cb): new callback on note "show" event, this simply adds
818 a idle, with the function sound_handling
819 (sound_handling): removed the sound_signal_handler management
820 (hildon_note_init): connect note "show" event to on_show_cb
821 (hildon_note_realize): remove the connection to "expose-event"
823 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
824 device?' confirmation note)
826 2009-05-08 Alberto Garcia <agarcia@igalia.com>
828 * hildon/hildon-note.c
829 (hildon_note_new_information_with_icon_name)
830 (hildon_note_new_confirmation_with_icon_name):
831 Terminate the list of parameters in g_object_set() calls
833 Fixes: NB#115166 (Formatting memory card is not taking place)
835 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
837 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
838 "dialog-information" role for the sound being played.
840 2009-05-06 Alberto Garcia <agarcia@igalia.com>
842 * hildon/hildon-app-menu.c (hildon_app_menu_init):
843 Don't make the menu a modal window, it causes strange interactions
844 with the pointer grab and it's not really needed.
846 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
848 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
850 * hildon/hildon-touch-selector.[ch]
851 (hildon_touch_selector_optimal_size_request): function added to get a
852 optimal size request from the touch selector, when you want a dialog to
853 show as much of the selector
854 * hildon/hildon-picker-dialog.c:
855 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
856 (hildon_app_menu_class_init):
857 New "max-height-landscape" and "max-height-portrait" style properties
858 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
859 (hildon_picker_dialog_get_max_height): returns the maximum height using
860 the style properties defined and checking the current portrait/landscape
862 (_hildon_picker_dialog_set_selector): removed the set_size_request
864 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
866 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
868 * hildon/hildon-bread-crumb-trail.c:
869 * hildon/hildon-bread-crumb.c:
870 * hildon/hildon-seekbar.c:
871 Add reference to replacements for these deprecated widgets.
873 Fixes: MB#4461 (Documentation: All deprecations should mention
876 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
878 * examples/hildon-remote-texture-example.c
880 Change the include to the hildon-remote-texture in order to compile
881 properly the examples on the installed libhildon1-examples package
883 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
885 * tests/Makefile.am: Add check for HildonPickerButton.
886 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
887 (START_TEST), (create_hildon_picker_button_suite): Add three simple
888 checks for the HildonPickerButton.
889 * tests/check_test.c (configure_tests): Add the test suite.
890 * tests/test_suites.h: likewise.
892 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-touch-selector.c
895 (+on_row_changed): Emit HildonTouchSelector:changed when the
896 contents of a selected row change.
897 (_create_new_column), (_hildon_touch_selector_set_model): connect
898 to GtkTreeModel:row-changed on a newly set model.
900 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
902 2009-05-05 Alberto Garcia <agarcia@igalia.com>
904 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
906 * hildon/hildon-banner.c (hildon_banner_destroy)
907 (hildon_banner_show_progress, hildon_banner_set_fraction):
908 Remove the progress bar from HildonBanner and use a progress
911 Fixes: NB#113761 (Update progress banner to use progress
914 2009-05-04 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-banner.c:
917 Calculate size of the banner label using the actual screen width
918 rather than using a fixed value.
920 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
923 2009-05-04 Alejandro G. Castro <alex@igalia.com>
925 * hildon/hildon-pannable-area.c,
926 (hildon_pannable_area_class_init): Fixed signals documentation
929 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
931 * configure.ac: post release version bump
932 * debian/changelog: post release version bump
934 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
939 * configure.ac: Bump version.
940 * debian/changelog: Updates.
942 2009-05-01 Alberto Garcia <agarcia@igalia.com>
944 * hildon/hildon-edit-toolbar.c
945 (hildon_edit_toolbar_init):
946 Don't let buttons in HildonEditToolbar receive focus.
948 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
949 typing on an HW arrows key)
951 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
953 * doc/Makefile.am: Fix build.
955 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
957 * doc/Makefile.am: Do not redefine content_files.
959 2009-04-30 Alberto Garcia <agarcia@igalia.com>
967 Renamed src/ to hildon/
972 Include <hildon/hildon.h> directly in all examples.
974 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
976 * src/hildon-sort-dialog.c
977 (hildon_sort_dialog_add_sort_key_with_sorting)
981 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
983 * src/Makefile.am: Move generated sources to CLEANFILES, so that
984 make distcheck passes.
986 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
988 * Makefile.am: Enable gtk-doc during distcheck.
990 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
992 * Makefile.am: Do not distribute the debian/ directory.
994 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
996 * doc/Makefile.am: Add the extra SGML files to content_files,
997 so that they are distributed properly.
999 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1001 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1004 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1006 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1007 (hildon_note_new_information_with_icon_name): Set the "icon" property
1008 to preserve soundness.
1010 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1012 * src/hildon-font-selection-dialog.c
1013 (hildon_font_selection_dialog_set_property): Fail when the "family"
1014 property is set to NULL.
1016 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1021 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1023 * src/hildon-time-selector.h:
1024 Added HildonTimeSelectorFormatPolicy
1025 * src/hildon-time-selector.c:
1026 Added PROP_TIME_FORMAT_POLICY
1027 (_check_ampm_format): renamed to check_automatic_ampm_format
1028 (update_format_policy), (update_format_dependant_columns): new functions
1029 (hildon_time_selector_class_init)
1030 (hildon_time_selector_contructor)
1031 (hildon_time_selector_init)
1032 (hildon_time_selector_get_property)
1033 (hildon_time_selector_set_property)
1034 (hildon_time_selector_get_time)
1035 (hildon_time_selector_set_time)
1036 * src/hildon-touch-selector.h: new file
1037 * src/hildon-touch-selector.c
1038 (hildon_touch_selector_emit_changed)
1039 (hildon_touch_selector_block_changed)
1040 (hildon_touch_selector_unblock_changed)
1041 Added functions to allow to block the emission of the "changed" signal
1042 * src/hildon-picker-dialog.c
1043 (hildon_picker_dialog_show): call the parent show before the custom code
1044 * examples/hildon-time-button-example.c
1045 Modified, so now you can configure the time format using the new property
1047 Added a new property "time-format-policy" that allow to choose the time
1048 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1049 case it uses gconf in order to check if the time selector must use
1052 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1055 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-note.c (hildon_note_init):
1058 Label in HildonNote must be left aligned, not centered. This
1059 reverts the last commit in HildonNote.
1061 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1062 is connectivity dialog)
1064 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1069 * doc/hildon-sections.txt:
1070 Added hildon_gtk_window_set_do_not_disturb()
1072 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-note.c (hildon_note_init): Center label.
1076 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1079 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: Bump version.
1085 * debian/changelog: Updates.
1087 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-note-private.h: Add button-width to the private data.
1090 * src/hildon-note.c (+resize_button),
1091 (+hildon_note_orientation_update): methods to repack widgets on orientation
1093 (screen_size_changed): Call above method for confirmation notes.
1094 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1095 (hildon_note_rebuild): Store the original width request from buttons.
1097 Fixes: NB#109635 (Confirmation notes do not support portrait)
1099 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1101 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1102 when it is a progress note.
1104 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1107 in the note, since there are no horizontally arranged contents.
1109 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/hildon-gtk.c (+set_flag): new generic method to
1112 set/delay a flag setting in a window.
1113 (hildon_gtk_window_set_progress_indicator):
1114 (hildon_gtk_window_set_do_not_disturb),
1115 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1116 avoid code redundance.
1118 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1120 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1122 * src/hildon-gtk.c (set_clear_window_flag),
1123 (do_set_progress_indicator), (do_set_do_not_disturb),
1124 (do_set_portrait_flags),
1125 (hildon_gtk_window_set_progress_indicator),
1126 (hildon_gtk_window_set_do_not_disturb),
1127 (hildon_gtk_window_set_portrait_flags):
1128 Allow setting dnd-flag, progress indicator, and portrait flags
1129 when the window is not realized.
1131 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1133 * src/hildon-pannable-area.c,
1134 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1135 the size request policy function and defines.
1137 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1139 * doc/hildon-sections.txt: Add the new API.
1140 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1141 method to set the portrait flags.
1142 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1144 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1146 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1148 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1149 to allow using this method with other flags.
1150 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1151 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1153 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-touch-selector.c
1156 (hildon_touch_selector_append_text_column):
1157 Make the cell renderer use the smallest width possible.
1159 Fixes: NB#108470 (Selected items in multiple selection are either
1160 having a tick that is cut or not visible at all.)
1162 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-touch-selector.c
1165 (hildon_touch_selector_append_text_column):
1168 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1170 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1171 Use g_strdup_printf() instead of a fixed size buffer.
1173 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1176 Close banners when a HildonAppMenu is popped up.
1178 Fixes: NB#111027 (Title menu closed immediately if activated when
1179 "Invalid e-mail address" banner is shown)
1181 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1186 * configure.ac: Bump version.
1187 * debian/changelog: Updates.
1189 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-banner.c (hildon_banner_realize):
1192 Mark HildonBanner as supporting portrait mode.
1193 Use GDK to set window properties insetad of direct Xlib calls.
1195 Fixes: NB#111830 (HildonBanner should be marked as supporting
1198 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1200 * src/hildon-note.c (hildon_note_rebuild):
1201 Hide action area in information notes. Prevents text from being
1202 slightly aligned to the left.
1204 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1207 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1209 Patch by Mox Soini (ext-mox.soini@nokia.com)
1211 * src/hildon-banner.c (hildon_banner_create_animation):
1212 Use stylus-sized icons in animation banner.
1214 Fixes: NB#111206 (stylus sized icon for animation banner)
1216 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1220 (+hildon_gtk_window_set_do_not_disturb):
1221 New API to set the do-not-disturb flag.
1223 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1225 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1227 * examples/hildon-progress-indicator-example.c: Fix example
1229 * src/hildon-gtk.c (set_clear_window_flag)
1230 (hildon_gtk_window_set_progress_indicator):
1231 Create a generic function for setting flags to a window.
1232 Use GDK instead of direct Xlib calls.
1234 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1236 * src/hildon-button.c (hildon_button_set_arrangement):
1237 Due to NB#88126, if one of the labels is too long it will be
1238 painted outside the button. The 'value' label is more likely to be
1239 the longest one, so we change its packing options in order to
1240 truncate it if necessary. As a side effect, the 'title' label will
1241 no longer be truncated.
1243 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1245 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1250 * configure.ac: Bump version.
1251 * debian/changelog: Updates.
1253 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1255 Deprecation of the hildon_pannable_area_set_size_request_policy
1256 API, the only policy properly supported in gtk+ nowadays is the
1259 * src/hildon-pannable-area.c,
1260 (hildon_pannable_area_size_request): Added a workaround for the
1261 size_request to avoid the problems of huge pixmaps in case someone
1262 is still using the function.
1263 * src/hildon-pannable-area.h: Deprecated the enum with the
1266 Fixes: NB#110244 (Problems with the
1267 hildon_pannable_area_set_size_request_policy API)
1269 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1271 * src/hildon-pannable-area.c,
1272 (hildon_pannable_area_init),
1273 (hildon_pannable_area_size_request),
1274 (hildon_pannable_area_style_set),
1275 (hildon_pannable_draw_vscroll),
1276 (hildon_pannable_draw_hscroll),
1277 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1278 indicator_width to clarify the use of the attribute.
1280 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1285 * configure.ac: Bump version.
1286 * debian/changelog: Updates.
1288 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1290 * src/hildon-picker-dialog.c
1291 * src/hildon-touch-selector.c
1292 Reverting the change that tried to avoid the hardcoded height on
1293 the picker dialog, as causes problems on the hildon-touch-selector
1296 Fixes: NB#110029 (selectors not scrolling to selected value)
1298 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-touch-selector.c: Fix typos
1302 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1304 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1305 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1306 request more motions after using it.
1308 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-calendar.c (hildon_calendar_expose),
1311 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1312 Remove unused variables.
1314 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1316 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1317 variable assignment.
1319 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1321 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1322 Check the return value of gtk_tree_selection_get_selected()
1325 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-animation-actor.c
1328 * src/hildon-button.c
1330 * src/hildon-pannable-area.c
1331 * src/hildon-picker-button.c
1332 * src/hildon-program.c
1333 * src/hildon-remote-texture.c
1334 * src/hildon-text-view.c
1335 * src/hildon-touch-selector.c
1336 * src/hildon-window-stack.c
1337 * src/hildon-window.c:
1338 Add missing 'Since: 2.2' tags.
1340 * doc/hildon-sections.txt:
1341 Add some missing symbols.
1343 * doc/hildon-docs.sgml:
1344 New 'Other' section for HildonAnimationActor and
1347 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1349 Patch by Iván Gómez (igomez@igalia.com)
1352 * doc/compiling.sgml
1353 * doc/hildon-docs.sgml
1354 * doc/hildon-sections.txt
1355 * doc/migration.sgml
1356 * doc/resources.sgml
1358 New chapters on using the Hildon library.
1359 Updated the general structure of the reference manual.
1360 Other minor documentation fixes.
1362 * src/hildon-calendar-popup.c
1363 * src/hildon-calendar.c
1364 * src/hildon-controlbar.c
1365 * src/hildon-date-editor.c
1366 * src/hildon-dialog.c
1367 * src/hildon-hvolumebar.c
1368 * src/hildon-number-editor.c
1369 * src/hildon-range-editor.c
1370 * src/hildon-sort-dialog.c
1371 * src/hildon-time-editor.c
1372 * src/hildon-time-picker.c
1373 * src/hildon-volumebar-range.c
1374 * src/hildon-volumebar.c
1375 * src/hildon-vvolumebar.c
1376 * src/hildon-weekday-picker.c:
1377 Add deprecation notes
1379 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1380 Document 'horizontal-movement' and 'vertical-movement' signals.
1382 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1387 * configure.ac: Bump version.
1388 * debian/changelog: Updates.
1390 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1392 * src/hildon-pannable-area.c,
1393 (hildon_pannable_area_class_init): increased the minimum velocity.
1394 (hildon_pannable_area_button_release_cb): Updated the
1395 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1396 setup. Review the code to control that last event.
1398 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1401 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1403 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1405 * src/hildon-get-password-dialog.c
1406 (hildon_get_password_set_property),
1407 (hildon_get_password_get_property), (create_contents):
1408 * src/hildon-login-dialog-private.h:
1409 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1410 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1411 (hildon_login_dialog_get_password):
1412 * src/hildon-set-password-dialog-private.h:
1413 * src/hildon-set-password-dialog.c
1414 (hildon_set_password_set_property),
1415 (hildon_set_password_get_property), (create_contents),
1416 (hildon_set_password_response_change),
1417 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1419 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1420 instead and look more Fremantle style.
1422 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1424 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1426 * doc/hildon-sections.txt
1427 * src/hildon-window-stack.h
1428 * src/hildon-window-stack.c
1429 (+hildon_window_stack_get_windows):
1430 New API to obtain the list of windows on a stack.
1432 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1434 * src/hildon-app-menu.c (hildon_app_menu_popup)
1435 (hildon_app_menu_class_init, -hildon_app_menu_show):
1436 Remove hildon_app_menu_show() and move all its checks to
1437 hildon_app_menu_popup()
1439 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1441 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1442 (_hildon_picker_dialog_set_selector): removed call to
1443 gtk_widget_set_size_request
1444 * src/hildon-touch-selector.c
1445 (_create_new_column): change the pannable size request policy
1447 Avoid to use a hardcoded height for the hildon picker dialog. In order
1448 to get that, we needed to change the hildon pannable size request
1450 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1452 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1455 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1458 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1460 * debian/control: Depend on osso-system-lock localization package.
1461 * src/hildon-code-dialog.c: Obtain the secu_application_title
1462 translation from osso-system-lock.
1463 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1464 for translation the atk related strings, that's not necessary.
1465 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1466 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1467 cancel button, it is not required.
1469 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1471 * src/hildon-pannable-area.c,
1472 (hildon_pannable_area_class_init): Modified the default value of
1473 the overshooting max speed, we have reduced it.
1475 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1477 * doc/hildon-sections.txt
1478 * src/hildon-window-private.h
1479 * src/hildon-window.h
1480 * src/hildon-window.c (hildon_window_class_init)
1481 (hildon_window_init, hildon_window_finalize)
1482 (hildon_window_realize, hildon_window_get_property)
1483 (hildon_window_set_property, hildon_window_update_markup)
1484 (hildon_window_get_markup, hildon_window_set_markup):
1485 New "markup" property and hildon_window_{get,set}_markup() methods.
1487 * examples/hildon-stackable-window-example.c (new_window):
1488 Update example to use hildon_window_set_markup()
1490 Fixes: NB#106375 (Need API to retitle a window with a title
1493 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1495 * src/hildon-pannable-area.c,
1496 (hildon_pannable_area_class_init): Changed the default value of
1497 the initial_hint to TRUE.
1498 (hildon_pannable_area_initial_effect): Changed the initial effect,
1499 not the effect is just the fade-out of the scrollbars.
1501 Fixes: NB#107775 (No scrollbars can be seen when several items are
1502 available in a dialog)
1504 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-program.c (hildon_program_update_top_most):
1509 Fixes: NB#109179 (Memory leak in Hildon program)
1511 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-banner.c (-get_current_app_window):
1514 Remove unused function.
1516 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1518 * src/hildon-pannable-area.c: Modified the documentation of the
1519 get adjustments functions to explain the problem of using the
1520 adjustment directly.
1521 (hildon_pannable_area_class_init): Improved the explanation about
1524 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-app-menu-private.h
1527 * src/hildon-app-menu.c
1528 (hildon_app_menu_class_init):
1529 Bring back the 'external-border' style property
1530 (hildon_app_menu_class_init, hildon_app_menu_init)
1531 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1532 Set a fixed width-request for the menu, independent of the number
1535 Fixes: NB#94957 (Smoothly opened application menu)
1537 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1541 * src/hildon-banner.c
1542 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1544 Make sure that the banner is correctly placed the first time it's
1546 (hildon_banner_check_position, -check_fullscreen_state):
1547 Show the banner in the same place no matter if the window is in
1548 fullscreen mode or not.
1550 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1552 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1554 * src/hildon-touch-selector.c (_default_print_func): reorder
1555 concatenation for clarity.
1557 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1560 for multicolumn selectors.
1562 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1564 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1569 * configure.ac: Bump version.
1570 * debian/changelog: Updates.
1572 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1577 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1579 * configure.ac: removed libcangerra-gtk dependency
1580 * debian/control: removed libcanberra-gtk dependency
1581 * src/Makefile.am: removed libcanberra gtk related flags
1582 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1583 context, and manage a global canberra context instead
1585 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1587 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1589 Patch by Daniel Borgmann (danielb@openismus.com)
1591 * src/hildon-edit-toolbar.c:
1592 Adjust the left padding.
1593 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1594 Paint background of the edit toolbar.
1596 Fixes: NB#107897 (Patch to make editmodetoolbar background
1597 themeable and adjust margin)
1599 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1601 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1603 * src/hildon-program.c (hildon_program_update_top_most):
1604 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1606 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1607 change when the user tasks in/out of an application)
1609 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1611 * configure.ac: added libcangerra-gtk dependency
1612 * debian/control: added libcanberra-gtk dependency
1613 * src/Makefile.am: added libcanberra gtk related flags
1614 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1617 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1619 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-program.c (hildon_program_remove_window)
1622 (hildon_program_add_window): Add checks for the window
1623 parameter. Don't decrease the window counter if the window is not
1626 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1628 * src/hildon-pannable-area.c,
1629 (hildon_pannable_area_realize): Fixed position of the event_window
1630 in the realize method.
1632 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1634 * src/hildon-app-menu-private.h
1635 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1636 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1637 (hildon_app_menu_key_press, hildon_app_menu_init)
1638 (hildon_app_menu_finalize):
1639 Make sure that all idle functions are removed when the widget is
1642 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1644 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1649 * configure.ac: Bump version.
1650 * debian/changelog: Updates.
1652 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1654 * src/hildon-entry.c
1655 (+hildon_entry_show_placeholder),
1656 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1657 that replace hildon_entry_update_contents().
1658 (hildon_entry_set_text),
1659 (hildon_entry_set_placeholder),
1660 (hildon_entry_focus_in_event),
1661 (hildon_entry_focus_out_event): Determine when it is needed
1662 either to show or hide the placeholder and call the above methods.
1664 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1665 when the placeholder text is already set)
1667 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1669 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1670 simple GdkPixbufAnim using the new icons for the banner.
1671 (hildon_banner_show_animation): Use the above mentioned method to
1672 create the animation widget.
1674 Fixes: NB#103564 (Make hildon animation banner use individual
1675 image files as the animation)
1677 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1679 * src/hildon-pannable-area.c,
1680 (hildon_pannable_leave_notify_event): Check if the child is NULL
1681 to avoid sending the leave.
1683 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1685 * src/hildon-pannable-area.c,
1686 (hildon_pannable_area_class_init),
1687 (hildon_pannable_leave_notify_event): Added a handler of the
1688 leave-notify-signal to consider when no motion notify before
1691 Fixes: NB#107494 (Items stay selected when clicking and moving
1692 away when inside pannable area)
1694 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1699 * configure.ac: Bump version.
1700 * debian/changelog: Updates.
1702 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1704 Patch by Alberto Garcia (agarcia@igalia.com)
1706 * src/hildon-date-button.c,
1707 (hildon_date_button_class_init),
1708 (hildon_date_button_init): Removed the construct property handling
1709 and created a default selector in the init method.
1710 * src/hildon-picker-button.c,
1711 (hildon_picker_button_class_init): Removed the construct flag of the
1714 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-main.c (hildon_init):
1717 Don't allow hildon_init() to be called more than once.
1719 Fixes: NB#106607 (hildon_init should issue error message upon
1722 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1724 * examples/hildon-pannable-area-touch-list-example.c
1725 * examples/hildon-pannagle-area-touch-grid-example.c
1726 * examples/hildon-edit-toolbar-example.c
1727 * examples/hildon-touch-selector-multi-cells-example.c
1728 Removed the call to gtk_rc_parse_string, as it is not required since
1731 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1733 * src/hildon-pannable-area.c,
1734 (hildon_pannable_area_class_init): Modified the default panning
1735 threshold of the widget to 6px.
1737 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1738 than the threshold value ) within the button is not sending the
1741 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1743 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1744 for the treeview in the new column. This way, the touch list will never
1747 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1748 be selected manually for the HW keys to work)
1750 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1753 comparison instead of using strcmp(). Fixes a compiler warning as well.
1755 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1757 * doc/hildon-docs.sgml: Do not set the library version in the
1758 document title, use the releaseinfo tag for that purpose instead.
1760 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1763 Do not jump to the first item if the text in the entry is removed.
1765 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1770 * configure.ac: Bump version.
1771 * debian/changelog: Updates.
1773 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-entry.c (hildon_entry_refresh_contents):
1776 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1777 Use "ReversedSecondaryTextColor" for the placeholder text.
1779 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1781 * src/hildon-text-view.c: Fix compilation warning.
1783 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-button.c (hildon_button_class_init): Don't make
1786 "title" and "value" construction properties, to prevent them from
1787 overwriting labels set from derived classes.
1789 * src/hildon-picker-button.c
1790 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1791 (hildon_picker_button_class_init): Make touch-selector a
1792 construction property.
1794 * src/hildon-date-button.c (hildon_date_button_class_init)
1795 (+hildon_date_button_constructed): Add a default date selector if
1798 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1800 * src/hildon-touch-selector.c: Small documentation fixes.
1802 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1804 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1806 * src/hildon-entry.c (hildon_entry_refresh_contents),
1807 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1808 widget name, set the logical color directly instead and a boolean
1809 showing_placeholder instead.
1810 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1811 use the widget name here either.
1813 Fixes: NB#105678 (HildonTextView should use logical colours
1814 instead of setting widget name)
1816 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1818 Patch by Daniel Elster (danielk@openismus.com)
1820 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1821 Add user_data parameter.
1822 (hildon_touch_selector_set_print_func_full): New function akin
1823 hildon_touch_selector_set_print_func() but with support for user
1824 data and a destroy callback.
1825 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1826 to clean up the print function user data.
1827 (hildon_touch_selector_class_init): Install dispose function.
1828 (HildonTouchSelectorPrivate::print_user_data),
1829 (HildonTouchSelectorPrivate::print_destroy_func): New private
1831 (hildon_touch_selector_init): Initialize new private members.
1832 (hildon_touch_selector_get_current_text): Pass along user data
1833 to the print function.
1834 (_default_print_func): Add dummy user_data to parameter list.
1835 * hildon-date-selector.c (_custom_print_func): ditto,
1836 * hildon-time-selector.c (_custom_print_func): ditto,
1837 * hildon-touch-selector-entry.c
1838 (hildon_touch_selector_entry_print_func): ditto.
1840 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1842 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1844 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1846 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1848 * src/hildon-pannable-area.c,
1849 (hildon_pannable_area_init),
1850 (hildon_pannable_area_button_press_cb),
1851 (hildon_pannable_area_motion_notify_cb): We have added code to
1852 handle the leave and enter events when using the motion events.
1854 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1856 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-date-button.c (hildon_date_button_get_date)
1859 (hildon_date_button_set_date): Make sure that the button has a
1862 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1864 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1866 * src/hildon-pannable-area.c,
1867 (hildon_pannable_area_class_init),
1868 (hildon_pannable_area_calculate_velocity): Modify the use of the
1869 force and adapt the value.
1871 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1874 (hildon_app_menu_class_init): Hide the menu if it receives a
1875 delete-event, but don't destroy it
1877 Fixes: NB#104485 (Not able to address the call when application
1878 menu is opened at background)
1880 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1882 * src/hildon-app-menu.c
1883 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1884 Remove the "external-border" style property, let the menu take its
1885 natural size (or the one set by the window manager)
1886 (hildon_app_menu_repack_items):
1887 Don't reshow the menu, avoid flickers.
1889 Partially fixes NB#94957 (Smoothly opened application menu)
1891 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: Bump version.
1897 * debian/changelog: Updates.
1899 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1901 * src/hildon-pannable-area.c,
1902 (hildon_pannable_area_motion_notify_cb): We control that the
1903 direction error margin is used just in case the movement is
1904 allowed in the other direction.
1906 Fixes: NB#105012 (buttons inside a pannable area not getting
1907 release event when dragging/releasing)
1909 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_class_init),
1913 (hildon_pannable_area_get_property),
1914 (hildon_pannable_area_set_property),
1915 (hildon_pannable_area_initial_effect),
1916 (hildon_pannable_axis_scroll),
1917 (hildon_pannable_area_button_release_cb): Reviewed the
1918 overshooting effect, now it has its own max
1919 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1920 speed when bouncing.
1922 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1927 * configure.ac: Bump version.
1928 * debian/changelog: Updates.
1930 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-pannable-area.c,
1933 (hildon_pannable_area_class_init): Changed the max speed, now
1934 users can launch the widget very fast. Reduced the default force,
1935 that way it is easier to control the launch speed.
1937 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1939 * src/hildon-pannable-area.c,
1940 (hildon_pannable_area_button_release_cb): Removed this check
1941 because it causes problems when the device is overloaded.
1943 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1946 add a current_text field to store the text entered in the
1947 touch selector entry.
1948 (_clean_current_selection): clean up the current text as well.
1949 (_save_current_selection), (_restore_current_selection):
1950 Save/restore the text in the entry if the selector is a
1951 HildonTouchSelectorEntry.
1953 Fixes: NB#102541 (value entered in the touch selector entry is not
1954 shown when opened for second time)
1956 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1958 * doc/hildon-sections.txt:
1959 * src/hildon-touch-selector-entry.c
1960 (+hildon_touch_selector_entry_get_entry):
1961 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1963 Fixes: NB#104815 (I need accessor to the entry inside
1964 HildonTouchSelectorEntry)
1966 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1968 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1969 (hildon_app_menu_class_init):
1970 New "filter-vertical-spacing" style property.
1972 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-find-toolbar.c
1975 (hildon_find_toolbar_emit_close)
1976 (hildon_find_toolbar_emit_invalid_input)
1977 (hildon_find_toolbar_entry_activate):
1978 Use g_signal_emit() instead of g_signal_emit_by_name()
1980 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1982 Patch by Mox Soini (ext-mox.soini@nokia.com)
1984 * tests/TEST-CASES.txt
1985 * tests/check-hildon-banner.c
1986 * tests/check-hildon-note.c
1987 * src/hildon-banner.c
1988 * src/hildon-code-dialog.c
1989 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1990 * src/hildon-time-editor.c
1991 * examples/hildon-lookup-example.c (main):
1992 Replace obsolete icon names with new ones.
1994 * src/hildon-find-toolbar-private.h:
1995 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1996 (-hildon_find_toolbar_emit_search):
1997 Remove find button and change icon of close button.
1999 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2001 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2003 * src/hildon-time-button.c (hildon_time_button_new_step):
2004 Use the "touch-selector" property to set the selector directly
2005 when creating the object.
2007 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2009 Added a new example application that allows tuning the pannable
2010 area and replaced defines with properties in order to simplify the
2011 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2012 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2013 PROP_DIRECTION_ERROR_MARGIN.
2015 * examples/hildon-pannable-area-tuning-example.c: New example
2017 * src/hildon-pannable-area.c,
2018 (hildon_pannable_area_class_init),
2019 (hildon_pannable_area_init),
2020 (hildon_pannable_area_get_property),
2021 (hildon_pannable_area_set_property),
2022 (hildon_pannable_area_launch_fade_timeout),
2023 (hildon_pannable_area_adjust_value_changed),
2024 (hildon_pannable_axis_scroll),
2025 (hildon_pannable_area_motion_notify_cb),
2026 (hildon_pannable_area_scroll_cb),
2027 (hildon_pannable_area_button_release_cb): We have converted some
2028 of the defines that control the widget to properties to simplify
2031 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2033 * src/hildon-app-menu.c (hildon_app_menu_map)
2034 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2035 so it's closed if a new window appears.
2037 Fixes: NB#104485 (Not able to address the call when application
2038 menu is opened at background)
2040 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2043 missing 'break' statement in in 'case' construct to avoid
2046 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-touch-selector-entry.c
2049 (hildon_touch_selector_entry_get_property),
2050 (hildon_touch_selector_entry_set_property): Add missing 'break'
2051 statements in in 'case' constructs to avoid incorrect warnings.
2053 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2055 * src/hildon-time-editor.c
2056 (hildon_time_editor_get_time_separators): Do not crash if
2057 the first label is NULL.
2059 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-date-selector.c (_month_days): Check for month to be
2062 strictly less than 12, since otherwise we may overrun the array.
2064 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-date-button.c (+hildon_date_button_new_full)
2067 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2068 (hildon_date_button_init): Set the date selector using a
2069 construction property, to make it happen after HildonButton's
2070 "value" property is set.
2072 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2073 current date by default)
2075 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2077 * doc/hildon-sections.txt
2078 * src/hildon-program.c
2079 * src/hildon-stackable-window.c
2080 * src/hildon-window.c:
2081 Documentation updates
2083 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2085 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2086 (hildon_window_stack_new, +hildon_window_stack_set_property)
2087 (+hildon_window_stack_get_property)
2088 (hildon_window_stack_class_init)
2089 (+hildon_window_stack_set_window_group)
2090 (+hildon_window_stack_get_window_group):
2091 Make the window group a construction property.
2093 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2095 * doc/hildon-sections.txt
2096 * src/hildon-stackable-window-private.h
2097 * src/hildon-stackable-window.h
2098 * src/hildon-stackable-window.c
2099 (-hildon_stackable_window_set_app_menu)
2100 (-hildon_stackable_window_get_app_menu)
2101 (-hildon_stackable_window_toggle_menu)
2102 (-hildon_stackable_window_finalize)
2103 (hildon_stackable_window_class_init)
2104 (hildon_stackable_window_init)
2105 * src/hildon-window-private.h
2106 * src/hildon-window.h
2107 * src/hildon-window.c (hildon_window_init)
2108 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2109 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2110 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2111 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2112 Moved all HildonAppMenu code to HildonWindow. The menu does not
2113 require a HildonStackableWindow anymore.
2115 * src/hildon-app-menu.c
2116 * src/hildon-program.c
2117 * examples/hildon-app-menu-example.c (main):
2118 Update examples and documentation to reflect HildonAppMenu
2121 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-remote-texture.c
2124 * src/hildon-animation-actor.c:
2125 Don't include unused private headers.
2127 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-program-private.h
2130 * src/hildon-program.c
2131 (hildon_program_set_common_menu)
2132 (hildon_program_get_common_menu)
2133 (hildon_program_set_common_app_menu)
2134 (hildon_program_get_common_app_menu):
2135 Change common menu pointers from GtkWidget* to GtkMenu* and
2136 HildonAppMenu* to avoid unnecessary casts.
2138 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-window.c (hildon_window_set_main_menu):
2141 Removed incorrect 'Since:' tag
2143 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2145 * src/hildon-pannable-area.c,
2146 (hildon_pannable_area_calculate_velocity): We use now the
2147 RATIO_TOLERANCE here to check the distance, fixed typo in the
2149 (hildon_pannable_area_motion_notify_cb): We have to set the type
2150 and time even if we are not sending the motion.
2152 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2154 * doc/hildon-sections.txt
2155 * src/hildon-app-menu.h
2156 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2157 (+hildon_app_menu_get_filters): New methods to get the contents of
2160 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2163 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-app-menu.c (hildon_app_menu_popup):
2168 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-window.h
2171 * src/hildon-window.c (+hildon_window_get_main_menu)
2172 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2173 and deprecated hildon_window_get_menu().
2175 * src/hildon-stackable-window.h
2176 * src/hildon-stackable-window.c
2177 (+hildon_stackable_window_set_app_menu)
2178 (+hildon_stackable_window_get_app_menu)
2179 (hildon_stackable_window_set_main_menu): Created
2180 hildon_stackable_window_{get,set}_app_menu() and deprecated
2181 hildon_stackable_window_set_main_menu().
2183 * doc/hildon-sections.txt
2184 * examples/hildon-app-menu-example.c (main)
2185 * src/hildon-app-menu.c
2186 * src/hildon-program.c:
2187 Updated examples and documentation.
2189 Fixes: NB#103758 (No way to obtain a menu from a
2190 HildonStackableWindow)
2192 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2197 * configure.ac: Bump version.
2198 * debian/changelog: Updates.
2200 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2202 * examples/hildon-remote-texture-example.c: Include
2203 hildon-remote-texture.h explicitely.
2204 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2205 applications not defining _XOPEN_SOURCE which don't require this header.
2207 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2209 * doc/hildon-sections.txt
2210 * src/hildon-app-menu.h
2211 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2212 New function to pop up a HildonAppMenu
2214 * src/hildon-stackable-window.c
2215 (hildon_stackable_window_toggle_menu):
2216 Use hildon_app_menu_popup() to show the menu.
2218 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-app-menu.c (hildon_app_menu_show)
2221 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2222 menu if there's another window between it and its parent window.
2224 Fixes: NB#100468 (Application menu window is launched even when a
2225 new secondary-window/dialog is pending to be shown/realized)
2227 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-window-stack.c (hildon_window_stack_push)
2230 (hildon_window_stack_pop_and_push):
2231 Don't forget to push/pop the first window.
2232 Reverse the window list before calling _push_list()
2234 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-picker-button.h
2237 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2238 Remove "value_changed" slot to avoid ABI breakage
2240 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c,
2243 (hildon_pannable_area_realize),
2244 (hildon_pannable_area_unrealize),
2245 (hildon_pannable_draw_vscroll),
2246 (hildon_pannable_draw_hscroll): Changed the method to handle the
2247 GC used to draw the transparent scrollbar, this way we avoid
2248 creating the GC all the time when drawing the scrollbars.
2250 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2252 * src/hildon-pannable-area.c,
2253 (hildon_pannable_area_init),
2254 (hildon_pannable_area_remove): Removed some unnecessary casts.
2255 (hildon_pannable_area_dispose): Disconnected some signals before
2256 releasing the adjustments.
2258 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2260 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2261 Make sure that all widgets contained in the toolbar are shown.
2263 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2265 * doc/hildon-sections.txt
2266 * src/hildon-picker-button.h
2267 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2268 (_selection_changed, hildon_picker_button_on_dialog_response)
2269 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2270 New hildon_picker_button_value_changed() method.
2273 * src/hildon-picker-button-private.h
2274 * src/hildon-picker-button.c (hildon_picker_button_init)
2275 (+hildon_picker_button_disable_value_changed): Add protected
2276 function for disabling the "value-changed" signal.
2278 * src/hildon-date-button.c (hildon_date_button_set_date):
2279 Don't emit "value-changed" for each one of the three columns.
2281 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2282 before actual change of values)
2284 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c,
2287 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2288 for the treeview overshooting.
2290 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-banner.c (+hildon_banner_bind_style):
2293 Renamed from hildon_banner_bind_label_style(), now naming the
2294 banner itself as well.
2295 (hildon_banner_show_information),
2296 (hildon_banner_show_information_with_markup),
2297 (hildon_banner_show_animation), (hildon_banner_show_progress):
2298 Name the widgets and labels, based on their type.
2300 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2303 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/hildon-note.c (hildon_note_set_property): call
2306 hildon_note_rename() on HildonNote:note-type set.
2307 (hildon_note_rename): Name the note and its label, based on the
2308 HildonNote:note-type property.
2310 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2313 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2315 * src/hildon-pannable-area.c,
2316 (hildon_pannable_area_class_init),
2317 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2318 panning parameters, increased SPS and deceleration factor. Added
2319 also a margin to control fake directions.
2321 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2323 Patch by Sven Herzberg (sven@imendio.com)
2325 * configure.ac: Add missing AM_PROG_CC_C_0
2326 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2328 See NB#101420 (Update unit tests and fix make check)
2330 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2332 This patch was applied before but reverted because it caused
2333 problems, we have changed the main condition and tested the
2334 regressions we detected before and they work ok. We have done a
2335 complete review of the topmost algorithm in order to get a more
2338 * src/hildon-pannable-area.c,
2339 (hildon_pannable_area_get_topmost): Added a new parameter to
2340 filter the the windows that do not include those events.
2341 (hildon_pannable_area_button_press_cb),
2342 (hildon_pannable_area_button_release_cb),
2343 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2344 topmost function, we have added the new parameter.
2346 Fixes: NB#97458 (Pannable area prevents propagation of button
2349 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2352 if all columns in the selector have an item selected.
2353 (_on_dialog_response): Stop "response" signal emission if there is
2354 any selector column without selected items.
2356 Fixes: NB#101889 (Picker dialog should not close when nothing is
2357 selected in multiple selection list)
2359 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-font-selection-dialog.c
2362 (hildon_font_selection_dialog_class_init),
2363 (hildon_font_selection_dialog_init): Remove the preview
2364 button and dialog, since previewing with default theming is likely
2365 to be overcomplicated. The :preview property has now no effect.
2366 Update documentation blurbs to inform about this.
2368 Fixes: NB#92297 (Preview content is not clearly visible for
2369 default colour text)
2371 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2373 Reviewed the geometry that handles the children size and
2374 scrollbar, now it tries a size and reviews the results depending
2375 on the scrollbars visibility.
2377 * src/hildon-pannable-area.c,
2378 (hildon_pannable_area_realize): Fixed a typo.
2379 (hildon_pannable_area_child_allocate_calculate): Added this
2380 function to calculate the child allocation.
2381 (hildon_pannable_area_size_allocate): Reviewed the allocation
2383 (hildon_pannable_area_check_scrollbars),
2384 (hildon_pannable_area_refresh): Refactored refresh function, this
2385 way we can call the code handling the scrollbars without causing a
2386 size_request, it is interesting in the allocate.
2387 (hildon_pannable_area_init): Replace the callbacks of the
2388 value_changed and changed signals to propertly deal with the
2390 (hildon_pannable_area_grab_notify),
2391 (hildon_pannable_area_initial_effect),
2392 (hildon_pannable_area_launch_fade_timeout),
2393 (hildon_pannable_area_adjust_changed),
2394 (hildon_pannable_area_adjust_value_changed),
2395 (hildon_pannable_area_redraw),
2396 (hildon_pannable_area_button_press_cb),
2397 (hildon_pannable_area_button_release_cb),
2398 (hildon_pannable_area_scroll_cb),
2399 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2400 code and use the new functions adjust_changed and
2401 adjust_value_changed.
2403 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2404 Contact editor dialog)
2406 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2411 * configure.ac: Bump version.
2412 * debian/changelog: Updates.
2414 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2416 * src/hildon-pannable-area.c,
2417 (hildon_pannable_area_get_topmost),
2418 (hildon_pannable_area_button_press_cb),
2419 (hildon_pannable_area_button_release_cb),
2420 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2421 topmost function adding the event mask. We have to try a
2422 differente approach because it is still causing problems (NB#9745,
2425 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-banner.c:
2428 Update the maximum width of timed banners.
2429 (force_to_wrap_truncated): Enforce the maximum text width if the
2432 Fixes: NB#102413 (The text margins (wrapping) in information
2433 banner should be HILDON_MARGIN_TRIPLE)
2435 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2437 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2439 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2440 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2441 bound when calculating the scroll indicator position.
2443 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2444 treat ->lower correctly)
2446 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2449 expose event handling, since it is not necessary to draw the focus
2452 Fixes: NB#102467 (Do not show highlight on the text in
2455 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2458 full height of the toolbar for the button and the label.
2460 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2462 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2463 padding before the label and after the button.
2465 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2469 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2470 Add a GtkVSeparator between the button and the back arrow.
2471 Let the button have automatic size.
2472 Set a name to the widget for theming handling.
2474 Fixes: NB#101793 (Make edit toolbar the same height as window
2475 title bar (use title area theming))
2477 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-helper.c (attach_new_color_element): Fix memory
2482 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2484 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2486 * examples/hildon-button-example.c (common_buttons_window): Don't
2489 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2491 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2492 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2494 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-gtk.c: Check that the window is realized.
2498 Fixes: NB#102225 (Crash setting the progress indicator to a non
2501 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2504 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2505 instead of modifying the one in the widget style.
2507 Fixes: NB#101043 (Second row of all the command button are
2508 displayed in transparent mode.)
2510 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2512 * src/hildon-date-button.c
2513 * src/hildon-time-button.c: Add gettext macros
2515 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-date-button.c (hildon_date_button_new):
2518 * src/hildon-time-button.c (hildon_time_button_new_step):
2519 Use new logical strings to set the button default title.
2521 Fixes: NB#99915 (Date and Time options are not localised in Date
2524 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2526 * src/hildon-pannable-area.c
2527 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2528 the PANNING_THRESHOLD.
2530 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2532 * src/hildon-pannable-area.c,
2533 (hildon_pannable_area_class_init): Increased the maximum speed.
2534 (hildon_pannable_area_get_property),
2535 (hildon_pannable_area_set_property),
2536 (hildon_pannable_area_timeout): Added a new low friction mode, it
2537 allows the user avoid friction when launching the widget fast
2538 enough. It is interesting to traverse long lists.
2540 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2542 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2543 (+hildon_stackable_window_delete_event): Ignore delete events if
2544 the window is not the topmost one.
2546 Fixes: NB#101698 (Back button long press and delete-event handling)
2548 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2552 gtk-dnd-drag-threshold, it was too big. We have defined our own
2553 dnd define and set a smaller value: PANNIG_THRESHOLD.
2555 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2557 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2558 user-defined icons, use always the default one.
2560 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2562 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2564 This patch was applied before but reverted because it caused
2565 problems, we have changed the main condition and tested the
2566 regressions we detected before and they work ok.
2568 * src/hildon-pannable-area.c,
2569 (hildon_pannable_area_get_topmost): Added a new parameter to
2570 filter the the windows that do not include those events. Added
2571 also a condition when finding the window to filter windows that do
2572 not ask for those events.
2573 (hildon_pannable_area_button_press_cb),
2574 (hildon_pannable_area_button_release_cb),
2575 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2576 topmost function, we have added the new parameter.
2578 Fixes: NB#97458 (Pannable area prevents propagation of button
2581 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2583 * tests/check-hildon-color-button.c (START_TEST): do not leak
2586 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2588 * src/hildon-font-selection-dialog.c
2589 (hildon_font_selection_dialog_get_preview_text): Return NULL
2590 instead of FALSE on the g_return_val_if_fail().
2592 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2595 * src/hildon-date-selector.c
2596 (hildon_date_selector_select_current_date):
2597 Do not compare unsigned integers to be greater than or equal 0,
2598 because it's always TRUE.
2600 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2603 (hildon_date_selector_constructor): Do not select the current
2604 date until we are handle the "changed" signal, to avoid having bogus
2605 elements in the days model.
2607 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2610 for num_days, since _month_days() can return a negative value.
2612 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-caption.c (hildon_caption_size_allocate):
2615 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2616 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2618 Initialize allocation variables to 0, to avoid eventually using
2619 unitialized variables.
2621 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-bread-crumb-trail.c
2624 (hildon_bread_crumb_trail_size_allocate):
2625 * src/hildon-calendar.c (hildon_calendar_set_background):
2626 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2627 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2628 * src/hildon-seekbar.c (hildon_seekbar_init):
2629 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2630 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2631 * src/hildon-touch-selector-entry.c
2632 (hildon_touch_selector_get_text_from_model):
2633 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2634 * src/hildon-window.c (hildon_window_finalize):
2636 Remove many unused variables.
2638 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-seekbar.c: (hildon_seekbar_init),
2641 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2643 Remove unnecessary g_assert() calls.
2645 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-caption.c: (hildon_caption_expose),
2648 (hildon_caption_set_property), (hildon_caption_init),
2649 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2650 (hildon_caption_size_request), (hildon_caption_size_allocate),
2651 (hildon_caption_forall), (hildon_caption_set_separator),
2652 (hildon_caption_activate), (hildon_caption_set_child_expand),
2653 (hildon_caption_set_label_text),
2654 (hildon_caption_get_label_alignment):
2656 Remove unnecessary g_assert() calls.
2658 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2660 * src/hildon-banner.c
2661 (hildon_banner_map, hildon_banner_init): Make banner temporary
2662 before mapping it to avoid closing other temporary windows, but
2663 make it non-temporary afterwards to avoid being closed by other
2664 non-temporary windows.
2665 (-hildon_banner_client_event, hildon_banner_init):
2666 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2668 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2671 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2676 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2678 * src/hildon-remote-texture.c
2679 * src/hildon-remote-texture.h
2680 * src/hildon-remote-texture-private.h
2681 * examples/hildon-remote-texture-example.c:
2682 Updates/fixes to remote-texture and its example.
2684 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2686 Patch by Mox Soini (ext-mox.soini@nokia.com)
2688 * src/hildon-code-dialog.c: Update logical id.
2689 * src/hildon-set-password-dialog.c: Update logical id.
2691 Fixes: NB#100646 (Logical strings is shown for ok in set
2692 password,Password needed dialogs)
2694 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2697 * src/hildon-remote-texture.c
2698 * src/hildon-remote-texture.h
2699 * src/hildon-remote-texture-private.h
2701 Added remote texture widget (for Clutter shared memory textures)
2703 * examples/hildon-remote-texture-example.c
2704 * examples/Makefile.am
2705 Added example file for remote texture usage
2707 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2709 * configure.ac: post release version bump.
2710 * debian/changelog: version bump.
2712 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2717 * configure.ac: Bump version.
2718 * debian/changelog: Updates.
2720 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-date-selector.c (hildon_date_selector_init)
2723 (hildon_date_selector_constructor): Don't connect to the "changed"
2724 signal until the selector is completely constructed.
2726 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2728 * src/hildon-touch-selector.c: (_create_new_column),
2729 (hildon_touch_selector_append_column),
2730 (hildon_touch_selector_set_column_selection_mode),
2731 (hildon_touch_selector_set_active),
2732 (hildon_touch_selector_select_iter):
2733 Emit the HildonTouchSelector::changed signal every time selection
2734 is changed in any of the methods above. This behavior was already
2735 documented but not fully functional.
2737 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2738 selection is programmatically changed)
2740 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2742 * doc/hildon-sections.txt: Remove obsolete icon
2743 sizes from here as well.
2745 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2747 * examples/hildon-stackable-window-example.c (add_window): Remove
2750 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-app-menu.c
2753 (hildon_app_menu_show): Check whether the parent window of a menu
2754 is topmost before popping it up.
2756 Fixes: NB#100468 (Application menu window is launched even when a
2757 new secondary-window/dialog is pending to be shown/realized.)
2759 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2761 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2764 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2766 Patch by Mox Soini (ext-mox.soini@nokia.com)
2768 * src/hildon-banner.c: (hildon_banner_show_animation):
2769 use stylus size instead of obsolete note size.
2770 * src/hildon-defines.h: Update icon sizes.
2772 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2774 * src/hildon-touch-selector-entry.c:
2775 (hildon_touch_selector_entry_init): Disable unsupported
2777 (hildon_touch_selector_entry_get_text_column): Emit a warning
2778 if an unsupported input modes is used and explicitile state
2779 these modes in the documentation.
2781 Fixes: NB#99802 (Hildon touch selector entry not working properly
2782 for some of the input modes)
2784 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2786 * src/hildon-pannable-area.c,
2787 (hildon_pannable_area_init): Added the changed signal handlers of
2790 Fixes: NB#100320 (HildonPannableArea does not listen to
2791 GtkAdjustment "change" signals)
2793 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2795 * doc/hildon-sections.txt
2796 * src/hildon-window-private.h
2797 * src/hildon-window.h
2798 * src/hildon-window.c (hildon_window_init)
2799 (hildon_window_realize, hildon_window_unrealize)
2800 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2801 (hildon_window_size_request, hildon_window_size_allocate)
2802 (hildon_window_forall, hildon_window_show_all)
2803 (hildon_window_destroy, +paint_edit_toolbar)
2804 (+hildon_window_set_edit_toolbar):
2805 New hildon_window_set_edit_toolbar() method, to add a
2806 HildonEditToolbar to a window without having to pack it manually.
2808 Reorganize hildon_window_size_allocate()
2810 * src/hildon-edit-toolbar.c: Update documentation.
2812 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2813 example to use the new API.
2815 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2817 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2820 Remove from stack before calling parent's hide.
2822 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2825 window is removed from the middle of the stack, update the
2826 transiency of the previous one.
2828 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2831 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2834 block/unblock the signal handler if it's not actually being used.
2835 Fixes some critical warnings.
2837 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2839 Based on a patch by Iván Gómez (igomez@igalia.com)
2841 * src/hildon-banner.c
2845 * src/hildon-pannable-area.c
2846 * src/hildon-picker-dialog.c
2847 * src/hildon-wizard-dialog.h
2848 * src/hildon-wizard-dialog.c: Documentation updates.
2850 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2851 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2853 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2855 * configure.ac: post release version bump.
2856 * debian/changelog: version bump.
2858 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2863 * configure.ac: Bump version.
2864 * debian/changelog: Updates.
2866 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2869 a stock icon nor change the relief of the back arrow.
2871 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2872 graphics from theme)
2874 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-button.c (hildon_button_set_alignment): Use
2877 priv->alignment if the button has no child yet.
2879 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-button.c: (hildon_button_init): Set the
2882 button style during initialization to give it the proper
2885 Fixes: NB#99713 (HildonButton value label color is wrong)
2887 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-touch-selector.c: Document
2890 hildon_touch_selector_center_on_selected()
2892 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2895 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2896 all menu items, but not the menu itself.
2897 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2898 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2899 items after adding them to the menu so keyboard accelerators work.
2900 (hildon_app_menu_show): Don't show the menu if it contains items
2901 but none of them are visible.
2903 * examples/hildon-app-menu-example.c (create_menu): Use
2904 gtk_widget_show_all() to show all menu items.
2906 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-picker-dialog.c:
2909 (-_update_title_on_selector_changed_cb),
2910 (-_dialog_update_title): Removed.
2911 (_select_on_selector_changed_cb), (_on_dialog_response),
2912 (on_selector_columns_changed): Do not update the dialog title.
2913 (setup_interaction_mode): Do not connect to
2914 HildonTouchSelector::changed signal if there's a "done" button, as
2915 the dialog title doesn't need to be updated.
2917 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2920 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2922 Patch by Kristian Rietveld (kris@imendio.com)
2924 * src/hildon-touch-selector.c: (_create_new_column): Use new
2925 GtkTreeView::hildon-row-tapped signal to react to user interactions
2926 instead of ::changed.
2928 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2929 with some dynamic tree model)
2931 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2934 (+screen_size_changed, +label_size_request)
2935 (hildon_note_class_init): Make the Hildon information note have a
2936 minimum height, and make its text hvae a maximum width.
2938 Fixes: NB#98614 (Hildon information note (background) should have
2939 minimum height and maximum text width)
2941 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-banner.h
2944 * src/hildon-banner.c (hildon_banner_show_information)
2945 (hildon_banner_show_informationf)
2946 (hildon_banner_show_information_with_markup): Update documentation
2947 to reflect that the icon_name parameter is not used anymore.
2948 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2949 Remove all code from these functions and mark them as deprecated.
2950 (hildon_banner_show_progress): Mark as deprecated.
2952 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2954 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2956 * src/hildon-pannable-area.c,
2957 (hildon_pannable_area_class_init),
2958 (tranparency_color),
2959 (hildon_pannable_draw_vscroll),
2960 (hildon_pannable_draw_hscroll),
2961 (hildon_pannable_area_expose_event): Added a new way to render the
2962 scrollbars of the pannable area avoiding using cairo at all. This
2963 way we improve the performance of the pannable area rendering. The
2964 cairo rendering procedure is still in the code, we can control
2965 which one to use changing the value of the define
2966 USE_CAIRO_SCROLLBARS.
2968 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2970 * configure.ac: post release version bump.
2971 * debian/changelog: version bump.
2973 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2978 * configure.ac: Bump version.
2979 * debian/changelog: Updates.
2981 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2984 banners instead of destroying them when they receive a button
2987 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2989 Reverted commit 34028, it was causing regressions, probably the
2990 topmost condition is not correct, we have to check it in more
2991 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2992 propagation of button press events)
2994 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2997 that the selection is not empty before attempting to retrieve the
2998 current ampm selection.
3000 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-picker-button.c:
3003 (hildon_picker_button_on_dialog_response): Directly update the
3004 button contents when required instead of calling _selection_changed.
3006 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-program.c (hildon_program_update_top_most): Update
3009 'is-topmost' property also when wm_hints is not set.
3011 Fixes: NB#98383 (is-topmost signal is not emitted when task
3012 switcher is clicked.)
3014 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3016 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3020 * src/hildon-animation-actor.c,
3021 * src/hildon-animation-actor.h: Added the animation actor class,
3022 this widget represents an animation actor for WM-assisted
3023 animation effects in the Hildon framework.
3025 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-window-stack-private.h
3028 * src/hildon-window-stack.c
3029 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3030 Avoid calling gtk_widget_show() again indirectly from
3031 hildon_stackable_window_show()
3033 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3035 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3038 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3041 (hildon_time_selector_init): Move the construction of the hours and
3042 ampm columns to the constructor to preserve the order the columns
3045 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-picker-dialog.c:
3048 (hildon_picker_dialog_class_init): Connect a realize method.
3049 (+hildon_picker_dialog_realize): Setup the interaction mode here
3051 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3052 yet, do it during the realize instead.
3053 (_on_dialog_response):
3054 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3055 if the widget is not realized, to avoid the dialog response before it
3058 Avoid premature responses in the HildonPickerDialog that can cause it
3059 to be hidden before it's even shown.
3061 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3064 (on_selector_columns_changed), (requires_done_button),
3065 (+prepare_action_area), (setup_interaction_mode),
3066 (_hildon_picker_dialog_set_selector):
3068 Split the interaction mode setup into preparation of the
3069 action area (prepare_action_area()) and the connection of
3070 the signals in setup_interaction_mode() and update the code to
3073 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3075 * src/hildon-pannable-area.c,
3076 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3077 per second to 15, we will check if this is ok regarding
3080 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3082 * src/hildon-pannable-area.c,
3083 (hildon_pannable_axis_scroll): Avoid resize if we already have
3084 reached overshoot_max.
3086 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3088 * src/hildon-pannable-area.c,
3089 (hildon_pannable_area_init),
3090 (hildon_pannable_area_realize),
3091 (hildon_pannable_area_size_allocate),
3092 (hildon_pannable_area_map),
3093 (hildon_pannable_area_unmap),
3094 (hildon_pannable_draw_vscroll),
3095 (hildon_pannable_draw_hscroll),
3096 (hildon_pannable_area_expose_event),
3097 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3098 pannable are to avoid the expose events go to the window and
3099 redraw the window. We save this way that part of the stack and the
3100 paint_boxes. We had to change the positions of the elements when
3103 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3106 * src/hildon-color-chooser-dialog.c:
3107 (hildon_color_chooser_dialog_init):
3108 * src/hildon-font-selection-dialog.c:
3109 (hildon_font_selection_dialog_init),
3110 (hildon_font_selection_dialog_show_preview):
3111 * src/hildon-get-password-dialog.c:
3112 * src/hildon-login-dialog.c:
3113 * src/hildon-set-password-dialog.c:
3114 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3115 * src/hildon-time-picker.c: (hildon_time_picker_init):
3117 Remove obsolete logical string IDs and update to the appropriate ones.
3119 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3121 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3124 that happens if the window hasn't been realized yet.
3126 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3127 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3129 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3132 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3135 Fixes: NB#98537 (Device hangs in account settings dialog)
3137 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3139 * configure.ac: post release version bump.
3140 * debian/changelog: version bump
3142 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3147 * configure.ac: Bump version.
3148 * debian/changelog: Updates.
3150 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3152 Added a new function to the HildonTimeButton widget that allows to
3153 change the step of the minutes in the selector associated with the
3154 button: hildon_time_button_new_step
3156 * src/hildon-time-button.c,
3157 (hildon_time_button_init),
3158 (hildon_time_button_new),
3159 (hildon_time_button_new_step):
3160 * src/hildon-time-button.h: Added the new function and refactored
3162 * examples/hildon-time-button-example.c,
3163 (main): We have replaced the function without parameters with the
3164 function with the steps set to 5
3166 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3168 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3170 * src/hildon-time-selector.c,
3171 (hildon_time_selector_class_init),
3172 (hildon_time_selector_constructor),
3173 (hildon_time_selector_get_property),
3174 (hildon_time_selector_set_property),
3175 (_create_minutes_model),
3176 (hildon_time_selector_new_step),
3177 (hildon_time_selector_set_time),
3178 * src/hildon-time-selector.h: Added a new property to the
3179 HildonTimeSelector (minutes-step), we use that property to control
3180 the steps between the minutes in the list of the selector. We have
3181 added a new function to the API to create a widget changing the
3182 step: hildon_time_selector_new_step.
3184 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3186 * src/hildon-time-selector.c,
3187 (hildon_time_selector_class_init),
3188 (hildon_time_selector_constructor),
3189 (hildon_time_selector_init): Overrided the construct function when
3190 creating the time selector object. We have moved the minutes model
3191 handling code from the init to the new construction function:
3192 hildon_time_selector_constructor.
3194 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3196 * examples/hildon-date-button-example.c: (main): Use the new
3197 hildon_date_button_new_with_year_range() method in the example.
3198 * src/hildon-date-button.c:
3199 (+hildon_date_button_new_with_year_range): New public method
3200 to conveniently create a HildonDateButton with a custom year range
3201 in its HildonDateSelector.
3202 * src/hildon-date-button.h: Add the new public method definition.
3204 Fixes: NB#97908 (Not possible to change the year range in
3205 HildonDateSelector/HildonDateButton)
3207 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3209 * src/hildon-date-selector.c:
3210 (+hildon_date_selector_set_property),
3211 (+hildon_date_selector_get_property),
3212 (hildon_date_selector_class_init): Install new properties "min-year"
3213 and "max-year" to define boundaries for the year column.
3214 (_create_year_model): Use the boundary properties to populate the model.
3215 (+hildon_date_selector_new_with_year_range): New public method to
3216 create a HildonDateSelector with a user defined year range.
3217 (hildon_date_selector_select_current_date): Use the new boundaries to
3218 calculate the iterator of current year.
3219 * src/hildon-date-selector.h: Add the new public method definition.
3221 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3224 Install a constructor method.
3225 (+hildon_date_selector_construct_ui): construct the widget.
3226 (+hildon_date_selector_constructor): new constructor.
3227 (+hildon_date_selector_init): move out widget construction code to
3228 the new constructor.
3230 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3232 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3233 that there's actually a month or year selected before obtaining them.
3234 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3235 of the HildonTouchSelector::changed signal, as it was emitted on every
3236 single item selection.
3238 Fix some warnings and possible crashers due to the selection restoring.
3240 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3242 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3243 the signal handlers only after creating the dialog instead of on every
3246 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-button.c (hildon_button_init)
3249 * src/hildon-check-button.c (hildon_check_button_init)
3250 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3251 focus when clicked by default.
3253 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3258 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3260 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3261 Alejandro G. Castro (alex@igalia.com)
3263 * src/hildon-picker-dialog.c:
3264 (hildon_picker_dialog_class_init): install new "center-on-show"
3266 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3267 (hildon_picker_dialog_set_property): add setter code for the new
3269 (hildon_picker_dialog_get_property): add getter code for the new
3271 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3272 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3275 Fixes: NB#92849 (Selected item is not always visible when
3276 HildonTouchSelector is shown)
3278 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3280 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3281 Alejandro G. Castro (alex@igalia.com)
3283 * src/hildon-touch-selector.c:
3284 (_create_new_column): Do not connect to the "realize" signal of the
3286 (hildon_touch_selector_append_column): center on the selected items
3287 when a new column is appended.
3288 (hildon_touch_selector_select_iter): Factor out the code to select a
3289 column to hildon_touch_selector_scroll_to().
3290 (+search_nearest_element): Method to retrieve the nearest selected
3291 element to the visible area of the pannable area in a column.
3292 (+on_realize_cb): scroll to the initially selected item.
3293 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3294 the pannable area is realized, otherwise delay this until it is.
3295 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3296 selected items of a given column.
3297 (+hildon_touch_selector_center_on_selected): Public method to center
3298 all columns on the nearest selected item.
3299 * src/hildon-touch-selector.h: Add definition for
3300 hildon_touch_selector_center_on_selected().
3302 Implement public API to ensure visibility of all selected items in
3303 a HildonTouchSelector.
3305 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3307 Fixed a problem in the fading when calling the scroll_to API, and
3308 improve scrollbar fading handling.
3310 * src/hildon-pannable-area.c,
3311 (hildon_pannable_area_grab_notify): avoid the timeout when the
3313 (hildon_pannable_area_button_press_cb),
3314 (hildon_pannable_area_motion_notify_cb): Code style changes.
3315 (hildon_pannable_area_button_release_cb): Review the conditions
3316 when releasing the mouse button to avoid unrequired fading
3318 (hildon_pannable_area_scroll_to): Do not calculate and set the
3319 velocity if the scroll is not required.
3321 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3323 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3324 Don't check whether the new selector is NULL: it cannot be.
3325 Hold a reference to the selector while doing the replacement.
3327 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3330 unnecessary size_request in a removed widget.
3332 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3334 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3335 an unnecessary reference tracking that was leaking.
3337 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3339 Added delayed motion notify event handling, this way we can
3340 discard redrawing if more than 25 events arrive per second.
3342 * src/hildon-pannable-area.c,
3343 (hildon_pannable_area_init): Initialized the new private atributes
3344 controlling this timeout
3345 (hildon_pannable_area_dispose): Remove the timeout that controls
3346 the motion notify events.
3347 (hildon_pannable_area_scroll): Added a condition to control the
3348 use of the acceleration.
3349 (hildon_pannable_area_motion_event_scroll_timeout),
3350 (hildon_pannable_area_motion_event_scroll): Added this two
3351 functions, they handle the motion notify events inside the
3353 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3354 to the scroll method with the new function.
3355 (hildon_pannable_area_button_release_cb): We have to remove the
3356 timeout handler and move to the last position if the last motion
3357 events were not handled.
3359 Fixes: NB#97028 (Pannable area updates on every motion event)
3361 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3363 * src/hildon-pannable-area.c,
3364 (hildon_pannable_area_get_topmost): Added a new parameter to
3365 filter the the windows that do not include those events. Added
3366 also a condition when finding the window to filter windows that do
3367 not ask for those events.
3368 (hildon_pannable_area_button_press_cb),
3369 (hildon_pannable_area_button_release_cb),
3370 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3371 topmost function, we have added the new parameter.
3373 Fixes: NB#97458 (Pannable area prevents propagation of button
3376 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3378 * src/hildon-pannable-area.c,
3379 (hildon_pannable_area_initial_effect): Added controls before
3380 launching the timeout and the idle functions.
3381 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3382 of the method, in some situations it can return with TRUE and 0 in
3384 (hildon_pannable_area_button_press_cb): We do not need to set
3385 DELAY for fading out here.
3387 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3389 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3391 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3392 post-cleaning if the selection is not NULL.
3394 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3397 all items before restoring the selection.
3399 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3401 * src/hildon-touch-selector.c:
3402 (+hildon_touch_selector_unselect_all):
3403 * src/hildon-touch-selector.h: New API to unselect all items in a
3404 column of the touch selector.
3406 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3408 * src/hildon-pannable-area.c,
3409 (hildon_pannable_area_redraw): Added a call to the refresh
3410 function inside the redraw because apparently in some cases the
3411 change in the adjustment does not imply a size allocate.
3413 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3414 despite the view not being scrollable)
3416 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3419 leak. Check for NULL before attempting to set the window title.
3421 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3424 whether to show or not the 'Done' button each time the dialog is
3425 shown, as it depends on the HildonTouchSelector selection mode.
3427 Fixes: NB#96226 (In multiple selection mode Done button is shown
3428 sometimes in listpicker)
3430 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3433 for the number of columns in the HildonTouchSelector more than once.
3435 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-touch-selector.c: Minor documentation fixes.
3439 * src/hildon-picker-dialog.c (+_dialog_update_title)
3440 (_select_on_selector_changed_cb)
3441 (_update_title_on_selector_changed_cb)
3442 (on_selector_columns_changed): Update dialog title when there's no
3443 'Done' button and also when the number of columns in the selector
3447 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3448 (+_selection_changed, hildon_picker_button_on_dialog_response)
3449 (hildon_picker_button_selector_selection_changed)
3450 (+hildon_picker_button_selector_columns_changed)
3451 (hildon_picker_button_set_selector): Update button value and emit
3452 'value-changed' when the number of columns in the selector
3456 Fixes: NB#96225 (Dialog titles are not shown according to the
3457 values selected in the list picker)
3459 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3461 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3462 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3463 New "arrow-width" and "arrow-height" style properties to set the
3464 size of the arrow button.
3465 Set name of arrow button ("hildon-edit-toolbar-arrow").
3467 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3468 graphics from theme)
3470 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3472 * src/hildon-picker-button.c:
3473 (hildon_picker_button_selector_selection_changed): Use
3474 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3475 the dialog is present.
3477 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3478 the selection is accepted in the dialog)
3480 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3482 * src/hildon-color-chooser.h
3483 * src/hildon-color-chooser-dialog.h:
3484 Added G_BEGIN_DECLS and G_END_DECLS
3486 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3488 (_clean_current_selection): plug a leak in the list.
3490 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3492 * src/hildon-picker-dialog.c:
3493 (+free_path_list): Method to free a GList of GtkTreePaths.
3494 (_clean_current_selection), (_save_current_selection),
3495 (_restore_current_selection): Save the current selection in
3496 as a list of lists, to support multiple selection properly.
3498 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3500 patch by Claudio Saavedra (csaavedra@igalia.com)
3502 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3503 Store the press position.
3504 (+hildon_text_view_button_release_event): If the release position is
3505 close enough to the press position, move the cursor here. Otherwise,
3507 (hildon_text_view_class_init): Override GtkTextView press, release, and
3508 motion event handlers, disabling this way text selection through
3509 pointer interaction, and allowing the container widget to handle the
3512 Fixes: NB#95828 (HildonTextView functionality)
3514 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3516 Based on a patch by Iván Gómez (igomez@igalia.com)
3518 * src/hildon-button.[ch]
3519 * src/hildon-calendar.c
3520 * src/hildon-check-button.c
3521 * src/hildon-date-editor.c
3522 * src/hildon-date-selector.c
3523 * src/hildon-picker-button.c
3524 * src/hildon-time-editor.c
3525 * src/hildon-time-selector.c
3526 * src/hildon-touch-selector.[ch]:
3527 Documentation updates
3529 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3531 * src/hildon-pannable-area.c,
3532 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3533 threshold, it was required due to X events handling.
3535 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-pannable-area.c,
3538 (hildon_pannable_area_grab_notify),
3539 (hildon_pannable_area_initial_effect),
3540 (hildon_pannable_area_button_press_cb),
3541 (hildon_pannable_area_button_release_cb),
3542 (hildon_pannable_area_scroll_cb),
3543 (hildon_pannable_area_scroll_to): Review the timeout management of
3544 the scrollbar, the frecuency was incorrectly set.
3546 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-button.c:
3549 (+hildon_picker_button_on_dialog_response),
3550 (hildon_picker_button_clicked): Present the dialog instead of
3551 running it with gtk_dialog_run().
3553 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3556 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3558 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3559 (hildon_app_menu_finalize): When a window is hidden it doesn't
3560 emit notify::is-topmost, so make sure than the menu also
3561 disappears in that case.
3562 (parent_window_topmost_notify): Renamed from parent_window_hidden
3564 Fixes: NB#94460 (stackable window's menu is not closed when its
3567 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-touch-selector-entry.c:
3570 (+hildon_touch_selector_entry_set_input_mode),
3571 (+hildon_touch_selector_entry_get_input_mode):
3572 * src/hildon-touch-selector-entry.h: New methods to access the input
3573 mode in the selector's entry.
3575 Fixes: NB#93410 (API required for setting IM mode in
3576 HildonTouchSelectorEntry)
3578 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3580 * configure.ac: post release version bump.
3581 * debian/changelog: version bump
3583 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: Bump version.
3589 * debian/changelog: Updates.
3591 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-touch-selector.c:
3594 (_hildon_touch_selector_has_multiple_selection): No need
3595 to initialize the variables here.
3597 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-note-private.h
3600 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3601 (hildon_note_finalize, hildon_note_rebuild): Close information
3602 notes when they receive a button press.
3604 Fixes: NB#89890 (Information notes does not get disappeared after
3607 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3610 mark from the wizard title, as it's not really necessary. Also,
3611 do not display the page title if not set.
3613 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3616 (parent_window_hidden): Use the window's "is-topmost" property to
3617 detect when to hide the menu.
3619 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3622 (hildon_app_menu_finalize): If the parent window of the menu is
3623 hidden, hide the menu too.
3625 Fixes: NB#94460 (stackable window's menu is not closed when its
3628 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3631 * debian/libhildon1-examples.install
3633 * examples/Makefile.am:
3634 Use dh_install to install all examples.
3635 Use DEB_SRCDIR instead of defining SOURCE_DIR
3637 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3639 * configure.ac: post release version bump.
3640 * debian/changelog: version bump
3642 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3647 * configure.ac: bump version
3648 * debian/changelog: updates
3649 * debian/control: bump gtk+ dependency
3651 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3653 patch by Christian Dywan (christian@imendio.com)
3655 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3656 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3658 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-check-button.c (hildon_check_button_init)
3661 (hildon_check_button_class_init, hildon_check_button_style_set)
3662 (hildon_check_button_apply_style):
3663 New "checkbox-size" style property.
3665 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3666 larger / configurable size)
3668 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3670 * configure.ac: post release version bump.
3671 * debian/changelog: version bump
3673 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3678 * configure.ac: bump version
3679 * debian/changelog: updates
3681 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3683 * doc/hildon-sections.txt
3684 * src/hildon-pannable-area.c
3685 * src/hildon-program.c
3686 * src/hildon-time-editor.c
3687 * src/hildon-touch-selector-entry.c:
3689 More documentation updates.
3691 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3693 * doc/hildon-sections.txt
3694 * src/hildon-caption.c
3695 * src/hildon-code-dialog.c
3696 * src/hildon-color-button.c
3697 * src/hildon-controlbar.c
3698 * src/hildon-date-editor.c
3699 * src/hildon-date-selector.c
3700 * src/hildon-edit-toolbar.c
3701 * src/hildon-find-toolbar.c
3702 * src/hildon-font-selection-dialog.c
3704 * src/hildon-program.c
3705 * src/hildon-range-editor.c
3706 * src/hildon-seekbar.c
3707 * src/hildon-time-editor.c
3708 * src/hildon-time-selector.c
3709 * src/hildon-volumebar-range.c
3710 * src/hildon-volumebar.c
3711 * src/hildon-vvolumebar.c
3712 * src/hildon-weekday-picker.c
3713 * src/hildon-window.c
3714 * src/hildon-wizard-dialog.c:
3716 Lots of documentation fixes.
3718 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3720 Patch contributed by Iván Gómez (igomez@igalia.com)
3722 * src/hildon-check-button.c:
3723 * src/hildon-date-button.c:
3724 * src/hildon-date-selector.c:
3725 * src/hildon-dialog.c:
3726 * src/hildon-edit-toolbar.c:
3727 * src/hildon-entry.c:
3728 * src/hildon-picker-button.c:
3729 * src/hildon-program.c:
3730 * src/hildon-text-view.c:
3731 * src/hildon-time-button.c:
3732 * src/hildon-touch-selector-entry.c:
3733 * src/hildon-window-stack.c:
3735 Add more "since" tags to the new API.
3737 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3739 * doc/hildon-sections.txt: Add below method.
3740 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3741 version for the hildonized scale.
3742 * src/hildon-gtk.h: Add the definition.
3744 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3746 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3748 * doc/hildon-sections.txt: Add missing entries for new methods.
3750 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3752 Added API to pannable are in order to get its adjustments. We
3753 added two properties to manage the values we had in the private
3756 * src/hildon-pannable-area.c:
3757 (hildon_pannable_area_class_init): Added hadjustment and
3758 vadjustment properties in order to expose horizontal and vertical
3760 (hildon_pannable_area_get_property),
3761 (hildon_pannable_area_set_property): Added code to handle the new
3763 (hildon_pannable_area_get_hadjustment),
3764 (hildon_pannable_area_get_vadjustment): API functions to get the
3766 * src/hildon-pannable-area.h:
3767 (hildon_pannable_area_get_hadjustment),
3768 (hildon_pannable_area_get_vadjustment): API functions to get the
3771 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3773 Fixed some leaks, after valgrinding.
3775 * src/hildon-touch-selector.c:
3776 (_default_print_func): Fixed a leak.
3777 (hildon_touch_selector_append_column): Fixed a leak.
3778 * src/hildon-date-button.c:
3779 (hildon_date_button_init): Fixed a leak.
3780 * src/hildon-date-selector.c
3781 (hildon_date_selector_finalize): Fixed a leak.
3783 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3785 Based on a patch by Christian Dywan (christian@imendio.com)
3787 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3789 * src/hildon-gtk.h: Add definition.
3791 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3793 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-button.c: (hildon_picker_button_init),
3796 (hildon_picker_button_new): Set the HildonButton::style property
3797 in the init method, to propagate the value to the derived classes.
3799 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3801 * src/hildon-button.c: (hildon_button_class_init): Do not make
3802 the "style" property a construct property.
3804 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-wizard-dialog.h
3807 * src/hildon-wizard-dialog.c
3808 (hildon_wizard_dialog_set_forward_page_func)
3809 * src/hildon-pannable-area.h
3810 * src/hildon-pannable-area.c
3811 (hildon_pannable_area_set_size_request_policy):
3812 Documentation fixes.
3814 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3816 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3818 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3820 * doc/hildon-sections.txt: Added sections file.
3822 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/*.[ch]: Updates.
3827 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3829 * examples/hildon-progress-indicator-example.c: new file
3830 * examples/Makefile.am: include the new example program
3832 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3836 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3838 * configure.ac: post release version bump
3839 * debian/changelog: version bump
3841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3846 * configure.ac: bump version
3847 * debian/changelog: updates
3848 * debian/control: bump gtk+ dependency
3850 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-dialog.c: Mark as deprecated.
3853 * src/hildon-dialog.h: Mark as deprecated.
3854 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3855 from HildonDialog and still work, even if
3856 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3857 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3859 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3860 maemo changes) instead)
3862 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3864 * src/hildon-pannable_area.h:
3865 * src/hildon-pannable_area.c:
3866 (hildon_pannable_area_class_init),
3867 (hildon_pannable_area_set_property),
3868 (hildon_pannable_area_get_property),
3869 (hildon_pannable_area_size_request),
3870 (hildon_pannable_area_get_size_request_policy),
3871 (hildon_pannable_area_set_size_request_policy): Added new API
3872 allowing applications to control the request policy. Now they can
3873 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3874 children allocation (HILDON_MOVEMENT_CHILDREN).
3876 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3880 (hildon_gtk_tree_view_set_ui_mode)
3881 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3882 mode of treeviews and iconviews.
3884 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-touch-selector-entry.c:
3887 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3888 of a GtkEntry to get proper theming.
3890 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3891 widget, not GtkEntry)
3893 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3896 no HildonWizardDialogPageFunc.
3898 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3900 Patch contributed by Iván Gómez (igomez@igalia.com)
3902 * src/hildon-app-menu.c:
3903 * src/hildon-button.c:
3904 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3905 * src/hildon-stackable-window.c:
3906 * src/hildon-time-selector.c:
3907 * src/hildon-touch-selector.c:
3908 * src/hildon-window.c:
3910 Add more "since" tags to the new API in hildon 2.2.
3912 2008-12-05 Tim Janik <timj@imendio.com>
3914 Patch contributed by Christian Dywan (christian@imendio.com)
3916 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3917 HildonSizeType, which are supplied by Gtk+ now.
3919 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3921 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3922 (with maemo changes) instead)
3924 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3926 Patch contributed by Iván Gómez (igomez@igalia.com)
3928 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3931 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3933 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3934 (some_page_func), (main): Update the example to use a
3935 HildonWizardDialogPageFunc function.
3937 * src/hildon-wizard-dialog-private.h: Add private data for
3938 the HildonWizardDialogPageFunc function usage.
3940 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3941 (destroy), (hildon_wizard_dialog_init), (response),
3942 (hildon_wizard_dialog_set_forward_page_func):
3943 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3944 that applications can use to stop a HildonWizardDialog to jump to
3947 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3950 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-program.h
3953 * src/hildon-program-private.h
3954 * src/hildon-program.c (hildon_program_init)
3955 (hildon_program_set_common_app_menu)
3956 (hildon_program_get_common_app_menu):
3957 New API for setting a common HildonAppMenu for all
3958 HildonStackableWindows registered with the HildonProgram.
3960 * src/hildon-stackable-window.c
3961 (hildon_stackable_window_toggle_menu):
3962 Use the common HildonAppMenu if a window doesn't have a specific
3965 * src/hildon-app-menu-private.h
3966 * src/hildon-app-menu.c
3967 (hildon_app_menu_get_parent_window):
3968 Function to obtain the window a HildonAppMenu is attached to.
3969 (hildon_app_menu_set_parent_window):
3970 Hide the menu if the parent window is set to NULL.
3972 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3975 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3976 search widget to popup.
3978 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3980 * configure.ac: post release version bump
3981 * debian/changelog: version bump
3983 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3988 * configure.ac: bump version
3989 * debian/changelog: updates
3991 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3993 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3995 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3996 (hildon_window_stack_window_realized)
3997 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3998 Set the leader GdkWindow when a window is stacked and realized,
3999 unset it when it's unstacked.
4000 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4002 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4004 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-stackable-window.h
4007 * src/hildon-window-stack.h:
4008 Protect definition of HildonWindowStack using the preprocessor.
4010 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4012 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4013 Fix warning if all menu items are hidden.
4015 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4017 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4019 * src/hildon-controlbar.c:
4020 * src/hildon-hvolumebar.c:
4021 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4022 Multiple scale size defines updates.
4024 Fixes: NB#94322 (Scale Updates)
4026 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4028 * examples/hildon-app-menu-example.c (create_menu)
4029 Show items after adding them to the menu, as in the future the
4030 menu will no longer call gtk_widget_show() on the added items.
4032 * src/hildon-app-menu.c:
4033 Update example as explained above.
4035 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4037 * src/hildon-app-menu.c
4038 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4039 Make sure that all menu items have finger height.
4041 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4043 * src/hildon-picker-dialog.c:
4044 (_on_dialog_response), (_save_current_selection),
4045 (_restore_current_selection), (_clean_current_selection),
4046 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4047 Defined new functions in order to save the current internal selector
4048 selection previous open the dialog, in case that the use cancel the
4049 interaction, so the widget restores the previous selection.
4051 Fixes: NB#92032 (In calendar application, date values in 'new event'
4054 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4056 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4058 * src/hildon-button.c: Add a reference to the button examples in
4059 hildon-button-example.c
4061 * examples/hildon-button-example.c: Added examples of the most
4062 common button layouts.
4064 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4066 * src/hildon-app-menu.c (hildon_app_menu_show)
4067 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4069 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4071 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-picker-dialog.c:
4074 (hildon_picker_dialog_init): Initialize the signal id for
4075 HildonTouchSelector::columns-changed.
4076 (+on_selector_columns_changed): Set up the interaction mode everytime a
4077 column is added or removed from the HildonTouchSelector.
4078 (_hildon_picker_dialog_set_selector): Connect to
4079 HildonTouchSelector::columns-changed and keep track of it.
4081 Make sure to update the interaction mode of the dialog everytime a
4082 column is added or removed in the HildonTouchSelector.
4084 Fixes: NB#93228 (Done button is not shown always in listpicker)
4086 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4088 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4089 a new ::columns-changed signal.
4090 (hildon_touch_selector_append_column): Emit ::columns-changed.
4091 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4093 Add a ::columns-changed signal, emitted when the number of columns in a
4094 HildonTouchSelector changes.
4096 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4098 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4099 (_hildon_picker_dialog_set_selector): Factor out the code
4100 to set up the dialog interaction mode.
4102 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4105 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4106 to signal_changed_id.
4108 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4110 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4113 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4115 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4116 Updated the logical ids related to ampm format, as now it is required to
4117 show it correctly localized even on languages with no default
4118 abbreviations for am or pm
4119 (_check_am_pm_format): check correctly the 24h format gconf property
4121 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4123 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4125 * src/hildon-button.c: Documentation updates.
4127 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4129 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4130 * src/hildon-caption.c: (hildon_caption_class_init):
4131 * src/hildon-color-button.c: (hildon_color_button_class_init):
4132 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4133 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4134 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4135 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4137 Remove deprecated GTK+ marshalers and replace them with the ones
4138 provided by GLib, for those available, add a marshaler for
4139 BOOLEAN:VOID, which is not available in GLib, and use it.
4141 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4144 the text from the previous column if there is no
4145 HildonTouchSelectorColumn::text-property set.
4147 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-button.h
4150 * src/hildon-button.c (hildon_button_set_property)
4151 (hildon_button_get_property, hildon_button_class_init)
4152 (hildon_button_set_style, hildon_button_get_style):
4153 New "style" property to change the visual appearance of the
4156 * src/hildon-picker-button.c (hildon_picker_button_new):
4157 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4159 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4160 HildonButton look like PickerButton)
4162 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4165 column while building the default string.
4167 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4170 scroll indicator by default.
4172 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4174 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4176 * src/hildon-main.c: Fix the documentation for hildon_init()
4178 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4180 * doc/hildon-docs.sgml
4184 * src/hildon-window-stack-private.h
4185 * src/hildon-window-stack.h
4186 * src/hildon-window-stack.c:
4187 New HildonWindowStack object, that adds support for multiple
4188 stacks of windows per process.
4190 * src/hildon-stackable-window-private.h
4191 * src/hildon-stackable-window.h
4192 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4193 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4194 (hildon_stackable_window_show, hildon_stackable_window_hide)
4195 (hildon_stackable_window_class_init)
4196 (hildon_stackable_window_init):
4197 Use HildonWindowStack for stack management.
4199 * src/hildon-program.c (hildon_program_pop_window_stack)
4200 (hildon_program_peek_window_stack)
4201 (hildon_program_go_to_root_window):
4202 Add a fallback implementation to the deprecated functions using
4205 * examples/hildon-stackable-window-example.c:
4206 Use the new HildonWindowStack API.
4208 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-stackable-window-private.h
4211 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4212 (hildon_stackable_window_hide, hildon_stackable_window_init):
4213 Remove all window stack management.
4215 * src/hildon-program-private.h
4216 * src/hildon-program.h
4217 * src/hildon-program.c (hildon_program_init)
4218 (hildon_program_pop_window_stack)
4219 (hildon_program_peek_window_stack)
4220 (hildon_program_go_to_root_window):
4221 Remove all window stack management and mark functions as
4224 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-app-menu.c (hildon_app_menu_realize):
4227 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4229 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4231 * configure.ac: post release version bump
4232 * debian/changelog: version bump
4234 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4239 * configure.ac: bump version
4240 * debian/changelog: updates
4242 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4244 Based on initial code by Christian Dywan (christian@imendio.com)
4246 * doc/hildon-docs.sgml: Add section for hildon-main.
4247 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4248 * src/Makefile.am: Add new hildon-main.[ch]
4249 * src/hildon-defines.h: Update the icon sizes.
4250 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4251 new library initialization files and register icon sizes.
4252 * src/hildon-main.h: New declarations.
4253 * src/hildon.h: Include hildon-main.h
4255 Add new initialization functions to the library. These methods
4256 will register the hildon specific icon sizes and can be used in the
4257 future for other hildon specific bits.
4259 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4261 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-window.c: (hildon_window_realize),
4264 (hildon_window_notify), (-hildon_window_update_title): Do not set
4265 the application name in the window title.
4267 Fixes: NB#89754 (Applications shouldn't display their names in the
4270 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/hildon-note-private.h:
4273 * src/hildon-note.c: (hildon_note_set_property),
4274 (hildon_note_get_property), (hildon_note_class_init),
4275 (hildon_note_init), (hildon_note_finalize),
4276 (hildon_note_new_confirmation_with_icon_name),
4277 (hildon_note_new_information_with_icon_name):
4279 No need to mark as deprecated the actual code. Revert
4280 to avoid missing symbols in widgets using deprecated API.
4282 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4284 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4286 * src/hildon-volumebar.h
4287 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4288 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4290 * src/hildon-helper.h
4291 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4292 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4294 * examples/Makefile.am:
4295 Deprecate hildon-insensitive-example
4297 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4299 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4301 * examples/hildon-pannable-area-buttons-scroll-example.c:
4302 Make all buttons finger height
4304 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4306 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4308 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4309 update the day model only if it is really required, and to avoid the
4310 full-reconstruction aproach. Now it only add or remove the required days.
4312 The purpose of this is avoid superfluous HildonTouchSelector::changed
4315 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4316 with strange parameters)
4318 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4320 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4322 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4323 the WINDOW_TYPE property.
4325 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4327 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4330 Fix dependency to allow parallel compilation with make -jX
4332 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4335 color frame and some minor tweaks to make it more consistent with
4338 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4339 highlighted but not visible)
4341 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4343 * examples/Makefile.am: Fixed typo in the Makefile.am.
4345 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4347 Reviewed the use of MAEMO_GTK define, now we add the define in the
4348 compilation line, and we also add it to the pc file.
4350 * configure.ac: Added MAEMO_GTK define to the compilation command
4351 and removed it from the config.h.
4353 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4354 do not have to take care about this define if the library was
4358 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4360 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4362 * examples/Makefile.am,
4363 * examples/hildon-pannable-area-buttons-scroll-example.c,
4364 * examples/hildon-pannable-area-gesture-signals-example.c,
4365 * examples/hildon-pannable-area-scroll-jump-example.c,
4366 * examples/hildon-pannable-area-tree-view-example.c:
4367 Renamed the pannable area examples, now they have more meaningful
4370 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4372 * src/hildon-touch-selector.c:
4373 (hildon_touch_selector_set_column_selection_mode): Used of
4374 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4375 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4376 to avoid re-seting the same selection mode.
4378 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4379 breaks HildonPickerDialog)
4381 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4383 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4384 conditional in the Makefile.am
4386 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4388 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4389 Remove unused methods.
4391 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-button.c (hildon_button_init):
4394 Make button images center-aligned by default
4396 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4399 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4400 activated, we have to think about how to deal with both defines
4401 MAEMO_GTK and MAEMO_CHANGES.
4403 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4405 * examples/hildon-app-menu-example.c (create_menu): Make all
4406 buttons finger size.
4408 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4410 Fixed the compilation without maemo gtk adding ifdefs with
4411 MAEMO_GTK define to the code, we have to check this version more
4414 * examples/Makefile.am: Added control to avoid some examples that
4415 just make sense with maemo gtk.
4418 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4419 hildon modes with the define.
4421 * examples/hildon-edit-toolbar-example.c,
4422 (create_icon_view): Create the icon view without hildon-gtk
4423 helpers if we are not using maemo gtk.
4425 * src/hildon-touch-selector.c,
4426 (_create_new_column): Create the treeview without hildon-gtk
4427 helpers if we are not using maemo gtk.
4429 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4431 * src/hildon-pnnable-area.c,
4432 (hildon_pannable_area_dispose),
4433 (hildon_pannable_area_button_press_cb),
4434 (hildon_pannable_area_child_mapped),
4435 (hildon_pannable_area_add),
4436 (hildon_pannable_area_remove): Added code to control the position
4437 of the event_window when adding and removing children from the
4438 pannable. We have to raise the event window when the child is
4441 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4442 selection mode using custom widget inside pannable)
4444 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4446 * configure.ac: post release version bump
4447 * debian/changelog: version bump
4449 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4454 * configure.ac: bump version
4455 * debian/changelog: updates
4457 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4459 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4460 search mode, in order to avoid lose the focus on the treeview when
4461 a hw key (like enter) is pressed.
4463 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4464 in HildonDateSelector dialog)
4466 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4468 * debian/rules: Added --enable-maintainer-mode
4469 * Makefile.am: Added ACLOCAL_AMFLAGS
4471 This allows to properly regenerate the Makefiles if you modify the
4472 configure.ac or any Makefile.am.
4474 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4476 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4477 properties, not needed at all.
4479 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4483 * src/hildon-note.c: (hildon_note_set_property),
4484 (hildon_note_get_property), (hildon_note_class_init),
4485 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4486 (hildon_note_new_confirmation_add_buttons): Remove icons.
4487 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4488 (hildon_note_new_information_with_icon_name): Deprecate.
4489 (hildon_note_new_confirmation): Act directly, without calling
4490 the deprecated constructor.
4491 (hildon_note_new_information): Act directly, without calling
4492 the deprecated constructor.
4493 * src/hildon-note.h: Mark deprecate methods as such.
4494 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4495 not run tests on the deprecated methods if built with deprecation
4498 Fixes: NB#91688 (Never show icons in information notes/confirmation
4501 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4504 (hildon_app_menu_key_press): Remove leftover usage of the
4505 private structure in HildonAppMenu struct.
4506 * src/hildon-app-menu.h: Remove leftover private structure
4507 from the HildonAppMenu struct.
4509 Fixes a crasher when using the HildonAppMenu.
4511 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-picker-dialog.c: Use appropriate logical id
4514 for the default "Done" text.
4516 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4518 * configure.ac: post release version bump
4519 * debian/changelog: version bump
4521 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4523 Modified the way to scroll to the current selection just when the touch
4524 selector is shown on the screen, avoiding a g_idle. Added too a property
4525 to configure this behaviour. See hildon_pannable_area_jump_to_child
4526 documentation for more information.
4528 * src/hildon-touch-selector.c
4529 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4530 Added 'initial-scroll' property
4531 (hildon_touch_selector_set_property): Added
4532 (hildon_touch_selector_map): Removed as not required anymore
4533 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4534 only a concrete column, instead of iterate along all the columns
4536 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: bump version
4542 * debian/changelog: updates
4544 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4547 compilation time warnings.
4549 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4552 the default value for HildonPannableArea::mov-mode to
4553 HILDON_PANNABLE_AREA_MODE_VERT.
4555 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4557 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4559 Reverting following commit:
4561 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4563 * src/hildon-app-menu-private.h
4564 * src/hildon-app-menu.[ch]
4565 * src/hildon-button.[ch]
4566 * src/hildon-check-button.[ch]
4567 * src/hildon-entry.[ch]
4568 * src/hildon-pannable-area.[ch]
4569 * src/hildon-text-view.[ch]:
4570 Added private field to the object's structure.
4572 because it causes an ABI breakage. We will need to introduce these
4573 changes later at some point. See NB#91636 for an extensive
4574 explanation and status.
4576 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4578 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4580 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4581 remove special cases that are no longer necessary.
4583 Fixes: NB#91016 (Change toolbar sizes, simplification)
4585 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4588 is shown in the cancel note.
4590 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4593 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4594 (hildon_seekbar_init): Remove steppers, remove expose event.
4595 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4597 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4599 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4602 label font to "SmallSystemFont" for vertically arranged buttons.
4604 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4607 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-check-button.c
4610 (hildon_check_button_set_active, hildon_check_button_clicked):
4611 Don't access private parts directly, use getters instead.
4613 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-check-button.c (hildon_check_button_new):
4616 Align the contents of the check button to the left.
4618 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4620 * src/hildon-pannable-area.c,
4621 (hildon_pannable_area_scroll_to),
4622 (hildon_pannable_area_jump_to),
4623 (hildon_pannable_area_scroll_to_child),
4624 (hildon_pannable_area_jump_to_child): Replace the mapped
4625 precondition of these functions with the realized, it is the
4626 correct state of the widget in this case. Changed the
4627 documentation according to this modification.
4629 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4631 Added a new EXTRA_CFLAGS option to add the deprecated define to
4632 the compilation command. This way we can avoid using the define in
4633 the documentation compilation.
4635 * configure.ac: Defined EXTRA_CFLAGS.
4637 * examples/Makefile.am:
4639 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4641 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4643 * src/hildon-picker-dialog.c:
4644 Defined a utility macro with the desired touch selector height
4645 Removed currently unused separator, and title_label variables from
4647 (hildon_picker_dialog_init): Removed code related to the creation
4648 of unused private variables title_label and separator.
4649 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4650 to ensure correct visualization of the touch selector inside the dialog.
4651 * src/hildon-touch-selector.c
4652 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4653 ensure a concrete height of the widget.
4655 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4658 * tests/Makefile.am:
4660 Remove spurious whitespaces.
4662 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4665 compilation warning after the cancel button removal.
4667 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4669 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4671 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4672 Makefile.am, that way we can choose not to compile some examples
4673 and tests of the deprecated widgets.
4675 * examples/Makefile.am: Divided the sources in deprecated and
4678 * src/Makefile.am: Added undef statement of the deprecated
4679 symbol to the enums file generation process.
4681 * src/hildon-color-chooser-dialog.c
4682 * src/hildon-color-chooser-dialog.h
4683 * src/hildon-color-button.c
4684 * src/hildon-color-button.h
4685 * src/hildon-color-chooser.c
4686 * src/hildon-color-chooser.h
4687 * src/hildon-controlbar.c
4688 * src/hildon-controlbar.h
4689 * src/hildon-date-editor.c
4690 * src/hildon-date-editor.h
4691 * src/hildon-hvolumebar.c
4692 * src/hildon-hvolumebar.h
4693 * src/hildon-private.c
4694 * src/hildon-private.h
4695 * src/hildon-range-editor.c
4696 * src/hildon-range-editor.h
4697 * src/hildon-seekbar.c
4698 * src/hildon-seekbar.h
4699 * src/hildon-time-editor.c
4700 * src/hildon-time-editor.h
4701 * src/hildon-time-picker.c
4702 * src/hildon-time-picker.h
4703 * src/hildon-volumebar.c
4704 * src/hildon-volumebar.h
4705 * src/hildon-vvolumebar.c
4706 * src/hildon-vvolumebar.h
4707 * src/hildon-bread-crumb-trail.h
4708 * src/hildon-bread-crumb-trail.c
4709 * src/hildon-calendar-popup.c
4710 * src/hildon-calendar-popup.h
4711 * src/hildon-weekday-picker.c:
4712 * src/hildon-weekday-picker.h:
4713 * src/hildon-bread-crumb-widget.c:
4714 * src/hildon-bread-crumb-widget.h:
4715 * src/hildon-bread-crumb.c:
4716 * src/hildon-bread-crumb.h:
4717 * src/hildon-calendar.c:
4718 * src/hildon-calendar.h:
4719 * src/hildon-caption.c:
4720 * src/hildon-code-dialog.c:
4721 * src/hildon-code-dialog.h:
4722 * src/hildon-font-selection-dialog.c:
4723 * src/hildon-font-selection-dialog.h:
4724 * src/hildon-get-password-dialog.c:
4725 * src/hildon-get-password-dialog.h:
4726 * src/hildon-login-dialog.c:
4727 * src/hildon-login-dialog.h:
4728 * src/hildon-number-editor.c:
4729 * src/hildon-number-editor.h:
4730 * src/hildon-set-password-dialog.c:
4731 * src/hildon-set-password-dialog.h:
4732 * src/hildon-sort-dialog.c:
4733 * src/hildon-sort-dialog.h: This is the list of deprecated
4736 * src/hildon-touch-selector.c:
4737 * src/hildon-window.c: Added undef statement to avoid compilation
4740 * tests/Makefile.am: Divided the sources in deprecated and
4743 * tests/check_test.c,
4744 (configure_tests): Marked the deprecated code that was adding
4745 suites with deprecated tests.
4747 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4749 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4751 * src/hildon-touch-selector.c: (_default_print_func): Do not
4752 duplicate a string returned by gtk_tree_model_get(), it is already
4755 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4758 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4760 * src/hildon-pannable-area.c
4761 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4762 method, it had problems when adding a widget with viewport the
4763 second time. Now checks if it already has a viewport and uses it.
4765 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4768 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4770 * src/hildon-pannable-area.c,
4771 (hildon_pannable_area_scroll_to),
4772 (hildon_pannable_area_jump_to),
4773 (hildon_pannable_area_scroll_to_child),
4774 (hildon_pannable_area_jump_to_child): Added a precondition to the
4775 scroll and jump to functions: the widget must be mapped before we
4776 can safely call these functions. We have also added documentation
4777 to the functions to explain how to use them in this situation.
4780 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4782 Reviewed the threading handling of the pannable widget, we have
4783 used the gdk_threads_add_timeout function instead of the usual
4784 glib handlers. This avoids some problems with the threads.
4786 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4787 (hildon_pannable_area_initial_effect),
4788 (hildon_pannable_area_scroll_indicator_fade),
4789 (hildon_pannable_area_button_press_cb),
4790 (hildon_pannable_area_timeout),
4791 (hildon_pannable_area_motion_notify_cb),
4792 (hildon_pannable_area_button_release_cb),
4793 (hildon_pannable_area_scroll_cb),
4794 (hildon_pannable_area_scroll_to): Removed the
4795 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4796 gdk_threads_add_timeout.
4798 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4800 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4805 * configure.ac: bump version
4806 * debian/changelog: updates
4808 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4810 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4811 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4812 * src/hildon-color-chooser-dialog.c:
4813 (hildon_color_chooser_dialog_init):
4814 * src/hildon-font-selection-dialog.c:
4815 (hildon_font_selection_dialog_init):
4816 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4818 Remove all cancel/close-like dialogs, as these are not going to be
4821 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-note.c: (hildon_note_rebuild),
4824 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4827 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4829 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4832 sure all buttons are shown, even the Cancel/Close-like ones.
4834 Fixes: NB#90861 (Custom Confirmation dialogs should be
4835 protected from cancel button removal)
4837 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4839 * debian/control: Change libhildon1-examples dependency from libhildon1
4841 * debian/libhildon1-examples.install
4843 * Makefile.am: Modified the final install directory for the examples on
4844 package libhildon1-examples
4845 * Makefile.static: Update clean target in order to remove all the binary
4848 Changes suggested by Claudio after review new libhildon1-examples package
4850 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4853 * src/hildon-touch-selector.c: Ditto.
4855 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4857 * debian/control: Added new package libhildon1-examples, in order to pack
4858 the current hildon examples as documentation
4859 * debian/rules: Not to compress .c files, modify some includes on the
4860 examples (as normally are compiled locally, but when installed it will
4861 require to include the installed libhildon1 library), and rename
4863 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4864 install all the example files on the new example package
4865 * examples/Makefile.static: Added static makefile that can be used to
4866 compile the examples, once installed the new example package
4867 * examples: Most of the examples were modified in order to grant that
4868 all use only '#include "hildon.h"', in order to be easy to prepare
4869 it on the example package
4871 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4874 * debian/libhildon1-dev.install
4875 * debian/libhildon1-doc.install:
4876 Move all gtk-doc files to a separate libhildon1-doc package.
4878 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4880 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4882 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4884 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4886 * debian/rules: Fixed a error in order to avoid unnecessary calls
4887 to autogen.sh on package building
4889 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4891 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4893 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4898 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-picker-button.c
4901 (hildon_picker_button_finalize):
4902 Free priv->done_button_text
4904 * src/hildon-time-button.c
4905 (hildon_time_button_set_time)
4906 * src/hildon-picker-button.c
4907 (hildon_picker_button_clicked)
4908 (hildon_picker_button_selector_selection_changed)
4909 (hildon_picker_button_set_selector)
4910 * src/hildon-date-button.c
4911 (hildon_date_button_set_date):
4912 Free strings returned by hildon_touch_selector_get_current_text()
4914 * src/hildon-button.c (hildon_button_construct_child):
4915 Fix leaks in priv->image and priv->label_box
4917 Fixes: NB#90535 (Memory leak in picker button)
4919 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-button.c: (hildon_button_get_property): Do not access
4922 private elements directly, use getters instead.
4924 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-app-menu-private.h
4927 * src/hildon-app-menu.c
4928 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4929 Store the menu's parent window.
4931 * src/hildon-stackable-window.c
4932 (hildon_stackable_window_toggle_menu)
4933 (hildon_stackable_window_finalize):
4934 Set the menu's parent window when the menu is shown, unset it when
4937 * src/hildon-app-menu.c
4938 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4939 (hildon_app_menu_class_init):
4940 Send unhandled keyboard accelerators to the parent window.
4942 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4944 * src/hildon-stackable-window.c
4945 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4947 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4949 * configure.ac: post release version bump
4951 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4954 * configure.ac: Bump version
4955 * debian/changelog: Updates
4956 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4959 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4961 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4964 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4965 GtkMenu with Hildon style.
4967 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-picker-button.c:
4970 (hildon_picker_button_set_done_button_text): Set the dialog's
4971 done button text here as well.
4973 Fixes: NB#90232 (Picker button does not set the label on done button
4974 for the second time)
4976 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4978 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4981 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4983 * src/hildon-app-menu.c (hildon_app_menu_insert)
4984 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4985 the HildonAppMenu to be activatable using keyboard accelerators
4986 when the menu is not being shown.
4988 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4990 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4992 * src/hildon-stackable-window.c
4993 (hildon_stackable_window_show):
4994 Don't hide old windows automatically when new windows are shown:
4995 this is now a task for the window manager.
4996 (hildon_stackable_window_class_init)
4997 (hildon_stackable_window_hide):
4998 Remove windows from the stack everytime they're hidden.
4999 (hildon_stackable_window_realize):
5000 Don't change the _NET_WM_WINDOW_TYPE property. Use
5001 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5002 it as a stackable window.
5004 * src/hildon-program.c
5005 (hildon_program_pop_window_stack):
5006 Just hide the window to remove it from the stack.
5007 (hildon_program_go_to_root_window):
5008 Don't call gtk_widget_show(), this is now a task for the window
5011 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5013 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-button.c
5016 (hildon_button_construct_child):
5017 Don't pack anything in the button until text or image are
5018 set. This allows adding a custom child after creating the button
5019 with hildon_button_new().
5020 (hildon_button_finalize, hildon_button_class_init)
5021 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5022 alignment and the label box even when they're not packed in the
5025 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-touch-selector.h:
5028 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5029 currently the type definition was using GTK_TYPE_VBOX
5030 * src/hildon-touch-selector.c:
5031 Added some implementation notes in order to clarify that any other widget
5032 added without the column related API will not be included on the
5033 selection logic, and how the widget is freed, as some people ask about
5035 (hildon_touch_selector_remove): Reimplemented in order to free properly
5036 the column related data when you remove the private hbox.
5037 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5038 to get a proper HildonTouchSelectorColumn documentation
5040 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5042 * src/hildon-touch-selector-entry.c:
5043 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5044 text in the GtkEntry and there is no item selected. Fixes a
5047 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-app-menu-private.h
5050 * src/hildon-app-menu.[ch]
5051 * src/hildon-button.[ch]
5052 * src/hildon-check-button.[ch]
5053 * src/hildon-entry.[ch]
5054 * src/hildon-pannable-area.[ch]
5055 * src/hildon-text-view.[ch]:
5056 Added private field to the object's structure.
5058 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5060 * configure.ac: post-release version bump
5062 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5066 * configure.ac: pre-release version bump
5068 * debian/changelog: updates.
5070 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5073 Disconnect the handler for HildonTouchSelector::changed.
5075 (hildon_picker_button_selector_selection_changed): Update the button
5076 value if the selection change was not triggered by the
5079 (hildon_picker_button_set_selector): connect to
5080 HildonTouchSelector::changed.
5082 Fixes: NB#89650 (Picker button is not updated, when selection in
5083 selector has changed)
5085 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5087 * src/hildon-picker-dialog.c
5088 (hildon_picker_dialog_realize): Removed as not required
5089 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5090 * src/hildon-picker-button.c
5091 (_current_selector_empty): New function, checks if the selector is empty
5092 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5093 if the current selector is empty, in order to avoid to show the dialog
5094 close the dialog in this case (and shows a g_warning).
5096 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5098 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5100 * src/hildon-pannable-area.c,
5101 (hildon_pannable_area_scroll): Added clause to stop movement when
5102 the child of pannable is smaller than one page.
5103 (hildon_pannable_area_scroll_to): Added conditions to avoid
5104 starting the scrolling movement if the child is smaller than one
5105 page, the complete child is in the screen, we do not have to move.
5107 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5109 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5111 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5112 this is managed automatically by the widget when the size of the
5115 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5117 * src/hildon-picker-button.c
5118 (hildon_picker_button_set_done_button_text): Make a copy of the
5119 text, and free the previous value.
5121 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/hildon-touch-selector-entry.c:
5124 (hildon_touch_selector_entry_print_func): Return the selected row's
5125 text if the entry is empty.
5127 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5130 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5132 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5134 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5137 * src/hildon-check-button.h
5138 * src/hildon-check-button.c
5139 * examples/hildon-check-button-example.c:
5140 HildonCheckButton is now a new widget. 'toggled' signal added.
5142 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5144 * src/hildon-program-private.h
5145 * src/hildon-program.c (hildon_program_init)
5146 (hildon_program_finalize): Removed unused variables group_leader
5147 and name from HildonProgramPrivate.
5149 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5151 * src/hildon-check-button.c (hildon_check_button_set_active)
5152 (hildon_check_button_get_active, hildon_check_button_new): Use
5153 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5155 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5157 * src/hildon-touch-selector.h
5158 (hildon_touch_selector_set_column_attributes): added deprecation
5159 guard HILDON_DISABLE_DEPRECATED
5160 * src/hildon-time-selector.c
5161 (hildon_time_selector_set_time)
5162 (hildon_time_selector_get_time): Fixed a typo on documentation
5163 * src/hildon-touch-selector.c: update HildonTouchSelector and
5164 HildonTouchSelectorColumn documentation
5165 * src/hildon-touch-selector-entry.c: update "text-column" property
5167 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5168 to be added to the general documentation.
5170 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5172 * examples/hildon-pannable-area-example-4.c,
5174 * examples/hildon-pannable-area-example.c,
5175 (main): Modified the code in order to use the container add, with
5176 viewport treeviews could have problems if they are really big.
5178 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5180 * src/hildon-weekday-picker.c,
5181 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5182 the agreement regarding deprecation in the library.
5184 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5186 * examples/hildon-picker-button-multicolumn-example.c:
5187 (main): Use custom "done" button text.
5189 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5190 (hildon_picker_button_set_property),
5191 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5192 (hildon_picker_button_init),
5193 (+hildon_picker_button_get_done_button_text),
5194 (+hildon_picker_button_set_done_button_text): New methods to customize
5195 the "done" button label in the launched HildonPickerDialog. Also,
5198 * src/hildon-picker-button.h: add the public API.
5200 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5202 * src/hildon-date-selector.h:
5203 * src/hildon-picker-dialog.h:
5204 * src/hildon-time-selector.h:
5205 * src/hildon-touch-selector-column.h:
5206 * src/hildon-touch-selector.h:
5208 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5209 declarations. Fixes gtk-doc warnings.
5211 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5213 * src/hildon-picker-dialog.h
5214 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5215 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5217 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5218 long text is set as label for done button)
5220 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-dialog.c (hildon_dialog_add_button):
5223 Set fixed width to all buttons in the HildonDialog.
5225 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5227 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5229 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5230 Set widget name using class name plus "-finger" or "-thumb".
5232 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5234 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5235 'clicked' when the state of the button is manually changed.
5237 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5239 * src/hildon-app-menu.c (hildon_app_menu_realize)
5240 (hildon_app_menu_unrealize, hildon_app_menu_init)
5241 (hildon_app_menu_class_init, item_visibility_changed):
5242 Change the menu layout when the size of the screen changes.
5243 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5244 Show warning only when changing the number of colums using the
5247 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5249 * debian/compat: Set to 5
5250 * debian/control: Update dependencies.
5251 * debian/libhildon1-dbg.install: Remove.
5252 * debian/libhildon1-dev.install: Update according to cdbs paths.
5253 * debian/libhildon1.install: Update according to cdbs paths.
5254 * debian/rules: Switch to cdbs.
5256 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5258 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5259 'item' variable renamed to 'filter'
5261 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-app-menu.c (hildon_app_menu_insert)
5264 (hildon_app_menu_add_filter, remove_item_from_list)
5265 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5266 Don't leak hidden items when the menu is destroyed.
5268 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5270 * src/hildon-app-menu.c (hildon_app_menu_insert)
5271 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5272 (hildon_app_menu_set_columns, item_visibility_changed)
5273 (filter_visibility_changed, hildon_app_menu_repack_filters)
5274 (hildon_app_menu_repack_items):
5275 Repack items and filters separately.
5277 Don't repack all items, change only the ones that are needed to
5280 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5282 * src/Makefile.am: added hildon-touch-selector-column.h
5284 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5286 * src/hildon-touch-selector.c: added the property "text-column" to the
5287 class HildonTouchSelectorColumn, and related get/set functions
5288 (_default_printf_func): updated to use "text-column" property
5289 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5290 "text-column" in his documentation, as this is now included on
5291 HildonTouchSelectorColumn. The get/set_property can still be used,
5292 working as a wrapper to the concrete column "text-column" property
5293 (_text_column_modified): callback added in order to handle the signal
5294 "notify::text-column" of the concrete HildonTouchSelectorColumn
5295 (hildon_touch_selector_entry_get_text_column)
5296 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5297 modified in order to use the HildonTouchSelectorColumn "text-column"
5299 * src/hildon-time-selector.c:
5300 * src/hildon-date-selector.c:
5301 * examples/hildon-touch-selector-example.c
5302 * examples/hildon-touch-selector-multi-cells-example.c
5303 * examples/hildon-picker-button-multicolumn-example.c
5304 Set the right value to "text-column" property on the creation of a new
5305 column using hildon_touch_selector_append_column()
5307 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5309 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-app-menu.c
5312 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5313 updating the layout of the menu, don't create all widgets again,
5314 just repack the items in their new places.
5316 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5318 * src/hildon-time-selector.c
5319 (hildon_time_selector_get_time)
5320 (hildon_time_selector_set_time)
5321 Added documentation of these public methods
5323 * src/hildon-date-button.h
5324 * src/hildon-touch-selector-column.h
5325 * src/hildon-time-button.h
5326 * src/hildon-picker-dialog.h
5327 * src/hildon-time-selector.h
5328 * src/hildon-picker-button.h
5329 * src/hildon-touch-selector.h
5330 * src/hildon-time-picker.h
5331 * src/hildon-date-selector.h
5332 * src/hildon-touch-selector-entry.h
5333 Modified in order to use hildon-widgets code style
5335 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5337 Added deprecated support to the compilation process using
5338 HILDON_DISABLE_DEPRECATED
5340 * configure.ac: Added the --disable-deprecated to the configure
5343 * src/hildon-weekday-picker.c:
5344 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5345 to use the deprecated support. We will update the other deprecated
5346 widgets status in a new patch.
5348 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5350 * configure.ac: Fixed typo with fatal warnings support, the
5351 variable name was not correct
5353 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-app-menu.c
5356 * src/hildon-program.c: Update documentation.
5358 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5360 * configure.ac: Post-release version bump.
5362 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5367 * configure.ac: Pre-release version bump.
5368 * debian/changelog: Updates.
5370 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5372 * NEWS: Update news for previous releases.
5374 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5376 * examples/hildon-touch-selector-multi-cells-example.c:
5377 (create_selector): Update the example to use
5378 hildon_touch_selector_append_column() with a NULL renderer and set
5379 the renderers later.
5380 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5381 passed a NULL renderer. This is documented behavior now.
5383 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5384 This must be used if the developer wants full control on the layout of
5385 the renderers to be added to the column.
5387 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5389 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5391 * src/hildon-touch-selector.c: Documentation fixes.
5393 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5395 * src/hildon-wizard-dialog-private.h: Remove image and box.
5396 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5397 (hildon_wizard_dialog_set_property), (response): Completely remove
5398 image/icon support, and the containers required for the layout.
5400 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5402 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-app-menu.c: Updated documentation.
5406 * src/hildon-stackable-window.c
5407 (hildon_stackable_window_set_main_menu): Unref the old menu after
5408 ref'ing the new one.
5410 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5412 * src/hildon-stackable-window.c
5413 (hildon_stackable_window_set_main_menu): Unref the previous menu
5414 instead of destroying it.
5416 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5417 floating reference and set has_user_ref_count to FALSE to make
5418 HildonAppMenu act like a normal ref-counted widget and not a
5421 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5424 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5426 * src/hildon-touch-selector-column.h: new file
5427 * src/hildon-touch-selector.h
5428 * src/hildon-touch-selector.c
5429 Implemented GtkCellLayout interface, in order to allow to configure
5430 the cell layout on each individual selector column
5431 (hildon_touch_selector_set_column_attributes): marked as deprecated
5432 * examples/hildon-touch-selector-multi-cells-example.c
5433 Example of how to use the GtkCellLayout interface on the selector
5435 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5437 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-app-menu.h
5440 * src/hildon-app-menu.c
5441 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5442 (hildon_app_menu_append, hildon_app_menu_prepend):
5443 New methods to prepend, insert and move items in the menu.
5445 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5447 * src/hildon-wizard-dialog.c:
5449 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5451 (create_title): Update logical IDs and related code.
5452 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5454 * src/hildon-wizard-dialog.h: Note that
5455 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5456 point, as it is not used anymore.
5458 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5460 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5462 * src/hildon-note.c:
5463 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5464 shown. Do not display an icon in confirmation notes nor information
5466 (hildon_note_set_button_text): Update logical ID for cancel button.
5468 Fixes: NB#88850 (Update HildonNote button strings + signals)
5470 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-stackable-window.c
5473 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5475 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-app-menu-private.h
5478 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5479 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5480 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5481 temporary property 'columns' to change the number of columns.
5483 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5485 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5487 * examples/hildon-note-example.c: (on_information_clicked),
5488 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5489 debugging information.
5490 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5492 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5493 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5494 in order to close: this will be handled by the WM from now on.
5496 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5498 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-app-menu-private.h
5501 * src/hildon-app-menu.c
5502 (hildon_app_menu_append, hildon_app_menu_add_filter)
5503 (button_visibility_changed, hildon_app_menu_apply_style)
5504 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5505 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5506 layout everytime a button (item or filter) is shown or hidden.
5508 * src/hildon-stackable-window.c
5509 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5512 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5514 * src/hildon-touch-selector.c:
5515 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5516 that the treeview inside the touch selector is in fremantle hildon mode
5517 * examples/hildon-date-button-example.c
5518 * examples/hildon-picker-button-multicolumn-example.c
5519 * examples/hildon-touch-selector-entry-example.c
5520 * examples/hildon-touch-selector-example.c
5521 * examples/hildon-time-button-example.c
5522 * examples/hildon-picker-button-example.c:
5523 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5525 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5527 * examples/hildon-text-view-example.c: (main): Remove the
5528 gtkrc bits, now handled by the theme.
5530 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5535 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5537 * po/Makefile.am: Install properly the mo files.
5538 * po/en_GB.po: Update translation, to ease testing purposes.
5540 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5542 * examples/hildon-picker-button-example.c: (main): Select an item
5543 in the selector before setting it to the button.
5545 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5548 Update button's value if the selector has an item active.
5550 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5551 'value' with the selector)
5553 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5555 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5556 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5557 (hildon_picker_button_class_init): Plug the finalize method.
5558 (hildon_picker_button_set_selector): If there's a previously set
5559 selector, unref'it before setting a new one.
5561 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5562 HildonTouchSelector)
5564 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5566 * src/hildon-touch-selector-entry.c:
5567 (hildon_touch_selector_entry_changed): Check if there is no text
5568 selected before setting the entry text.
5571 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-touch-selector.h
5574 * src/hildon-touch-selector.c
5575 (hildon_touch_selector_get_active)
5576 (hildon_touch_selector_set_active): New methods to set/get the
5577 index of the selected item.
5579 * src/hildon-picker-button.h
5580 * src/hildon-picker-button.c
5581 (hildon_picker_button_get_active)
5582 (hildon_picker_button_set_active): New methods to set/get the
5583 index of the selected item.
5585 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5587 * configure.ac: post-release version bump.
5589 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5593 * configure.ac: Pre-release version bump.
5594 * debian/changelog: Updates.
5595 * debian/control: Add myself as maintainer and depend on l10n
5598 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5600 * src/hildon-window.c
5601 (hildon_window_set_main_menu)
5602 * src/hildon-stackable-window.c
5603 (hildon_stackable_window_set_main_menu):
5604 Updated documentation.
5606 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5609 Don't free selector->priv manually.
5612 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5615 (hildon_gtk_window_set_progress_indicator):
5616 * src/hildon-gtk.h: Added the new API
5617 hildon_gtk_window_set_progress_indicator, it changes the state of
5618 the window progress hint.
5620 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-button.c
5623 * src/hildon-stackable-window.c: Minor documentation updates.
5625 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-stackable-window.c: Updated documentation.
5629 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5631 * src/hildon-defines.h: Update margins definitions
5632 to the Fremantle sizes.
5635 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5637 * src/hildon-touch-selector.c,
5638 (_hildon_touch_selector_set_model): Cleaning the code after
5639 review, removed g_print and #if 0 from the code.
5641 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-edit-toolbar.c: Update documentation.
5645 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-check-button.h
5648 * src/hildon-check-button.c
5649 (hildon_check_button_set_label, hildon_check_button_get_label)
5650 * examples/hildon-check-button-example.c
5651 (button_clicked_cb):
5652 Removed deprecated methods.
5654 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5656 * src/hildon-text-view.c:
5657 Add sample code to the documentation.
5659 * src/hildon-entry.h
5660 * src/hildon-text-view.h:
5661 Minor cosmetic changes.
5663 * src/hildon-entry.c:
5664 Add sample code to the documentation.
5665 (hildon_entry_init, hildon_entry_refresh_contents):
5666 Don't allow NULL values in the placeholder.
5668 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5670 * doc/hildon-docs.sgml
5672 * examples/Makefile.am
5673 * examples/hildon-text-view-example.c
5675 * src/hildon-text-view.c
5676 * src/hildon-text-view.h
5678 New HildonTextView widget, with example.
5680 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5682 * po/POTFILES.in: Add missing files with translatable strings.
5683 Partially fixes NB#88287.
5685 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5687 * examples/hildon-pannable-area-example-2.c: (main): No need to
5688 set the cellrenderer height inside hildon touch lists, the theme does
5691 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5693 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5694 they are integrated in the theme.
5696 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5698 * examples/hildon-entry-example.c: Update the example adding
5699 widgets to modify the text and the placeholder of the HildonEntry.
5701 * src/hildon-entry.c: Show the placeholder everytime the widget
5702 is empty and loses the focus.
5704 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5706 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5708 * src/hildon-pannable-area.c,
5709 (hildon_pannable_area_size_request): Fixed bug in height
5710 requisition, avoid increasing size and add border twice.
5712 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5714 * configure.ac: postrelease version bump.
5716 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5720 * configure.ac: Prerelease version bump.
5721 * debian/changelog: update.
5722 * debian/rules: make -dbg package contain useful debugging symbols.
5724 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5726 * src/hildon-dialog.h
5727 * src/hildon-dialog.c
5728 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5729 New methods to add buttons with finger size.
5730 (hildon_dialog_new_with_buttons):
5731 Create buttons with finger size.
5733 * examples/hildon-dialog-example.c (main): Use HildonDialog
5734 methods to add buttons.
5736 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5738 * src/hildon-entry.c: Updated HildonButton documentation.
5740 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5743 button value label with (FALSE, FALSE) to prevent NB#88126 from
5746 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5748 * examples/hildon-pannable-area-example.c,
5749 (main): Removed examples panning a vbox inside a pannable
5750 area. Check bug NB#87965
5752 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5754 Patch contributed by Kris Rietveld (kris@imendio.com)
5756 * src/hildon-pannable-area.c,
5757 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5758 get_size and get_position, this saves an X server roundtrip.
5760 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5762 * doc/hildon-docs.sgml
5764 * examples/Makefile.am
5765 * examples/hildon-entry-example.c
5767 * src/hildon-entry.c
5768 * src/hildon-entry.h
5770 New HildonEntry widget, with example.
5772 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-button.c (hildon_button_construct_child): Pack the
5775 image with expand == fill == FALSE. This is a workaround for a bug
5778 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5780 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5781 labels for the text column, to make it more look more dynamic.
5783 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5785 * src/hildon-time-selector.c
5786 Define gettext auxiliar macro N_
5787 (_create_minutes_model)
5788 (_create_hours_model)
5789 (_create_ampm_model): use of strftime in order to fill the model
5790 * src/hildon-date-selector.c
5791 (hildon_date_selector_finalize):
5792 (_locales_init): remove the logic related to get the name of the months
5793 using nl_langinfo, as it is not required anymore
5795 (_create_year_model)
5796 (_create_month_model)
5797 (_update_day_model): use of strftime in order to fill the model properly
5800 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5802 * src/hildon-button.h
5803 * src/hildon-button.c (hildon_button_get_image): New method to
5806 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-touch-selector.c:
5809 (hildon_touch_selector_remove_column): Remove from the correct parent
5810 and also remove the list element and free it.
5813 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5815 * src/hildon-time-selector.c
5816 (_create_hours_model): change the range on 12h ampm format in order to use
5817 a 12-11 range instead of previous 01-12 range
5818 (hildon_time_selector_set_time): change the way to select the current time
5819 on 12h ampm format, due the change on the range
5820 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5823 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5825 * src/hildon-touch-selector.c
5826 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5827 in order to allow use this function on multiple row selection mode if
5828 the column is different that the first one
5831 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5834 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5836 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5838 * src/hildon-date-selector.h: clean some comments, now on the .c
5839 * src/hildon-date-selector.c
5840 (hildon_date_selector_select_month): first implementation
5841 (hildon_date_selector_select_day): added documentation, reimplemented
5842 using hildon_date_selector_select_current_date to avoid repeat code
5845 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5847 Reviewed interaction logic based on device experiences, refactored
5850 * src/hildon-pannable-area.c,
5851 (hildon_pannable_area_class_init): Updated default vmax speed.
5852 (hildon_pannable_area_calculate_velocity): Added this function, it
5853 avoids duplicate valocity calculation. Adjusted calculation to
5854 avoid problems with zero dist events.
5856 (hildon_pannable_area_motion_notify_cb): Now we use the
5857 calculate_velocity function.
5859 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5861 * src/hildon-date-selector.c
5862 (hildon_date_selector_select_current_date): fix the day range check
5863 as it failed using the last day of the current month
5866 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5868 * src/hildon-touch-selector.c
5869 (hildon_touch_selector_get_num_columns): added a parameter validation
5872 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5874 * examples/Makefile.am
5875 * examples/hildon-edit-toolbar-example.c: Example of the
5876 HildonEditToolbar widget.
5878 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5880 * configure.ac: postrelease version bump.
5882 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5886 * configure.ac: prerelease version bump.
5887 * debian/changelog: update.
5889 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5891 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5892 renderer to display stock icons in the touch list. Also, set the sizes
5893 to the recommended in the style guide.
5895 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5896 * src/hildon-touch-selector.h
5897 (hildon_touch_selector_set_active_iter): renamed, now is
5898 hildon_touch_selector_select_iter
5899 (hildon_touch_selector_get_active_iter): renamed, now is
5900 hildon_touch_selector_get_selected
5901 (hildon_touch_selector_unselect_iter): added
5902 * src/hildon-touch-selector.c
5903 Update after API modification (methods renamed)
5904 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5905 order to avoid problems selecting multiple elements on the column
5906 (hildon_touch_selector_unselect_iter): added the implementation
5907 * src/hildon-time-selector.c
5908 * src/hildon-date-selector.c
5909 * src/hildon-touch-selector-entry.c
5910 Update methods calls after hildon-touch-selector.h API modification (methods
5913 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5915 * src/hildon-stackable-window.c
5916 (hildon_stackable_window_finalize): Call the parent class's finalize.
5918 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5920 * examples/hildon-touch-selector-example.c: (create_selector): Use
5921 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5924 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5926 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5927 set a cell background color, to respect theming.
5929 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5931 * doc/hildon-docs.sgml
5934 * src/hildon-edit-toolbar.c
5935 * src/hildon-edit-toolbar.h
5936 * src/hildon.h: New HildonEditToolbar widget.
5938 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5940 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5943 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5944 * src/hildon-touch-selector.c
5945 (_create_new_column): use g_object_set instead of two g_object_set_property
5947 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5948 * src/hildon-touch-selector.c
5949 (_create_new_column): use of hildon_gtk_tree_view_new to create
5950 the treeview, instead of use directly g_object_new
5951 (_create_new_column): update the property name "vindicator-mode" for the
5952 new one "vscrollbar-policy"
5953 * examples/hildon-date-button-example.c
5954 * examples/hildon-picker-button-multicolumn-example.c
5955 * examples/hildon-touch-selector-entry-example.c
5956 * examples/hildon-touch-selector-example.c
5957 * examples/hildon-time-button-example.c
5958 * examples/hildon-picker-button-example.c
5959 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5960 to all the treeviews inside a pannable area.
5962 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5964 * src/hildon-button.h
5965 * src/hildon-button.c (hildon_button_init)
5966 (hildon_button_set_arrangement, hildon_button_set_alignment)
5967 (hildon_button_set_title_alignment)
5968 (hildon_button_set_value_alignment)
5969 (hildon_button_set_image_alignment)
5970 (hildon_button_construct_child): New methods to set the alignment
5971 of the individual components of the button (title, value,
5972 image). Also, new method to alter the xscale and yscale properties
5973 of the GtkAlignment inside the button, so more complex layouts can
5976 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5978 * src/hildon-button.c (hildon_button_style_set)
5979 (hildon_button_class_init, hildon_button_set_arrangement)
5980 (hildon_button_construct_child): Apply style properties
5981 correctly. Use the 'image-spacing' style property too.
5983 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5986 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5989 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5991 * src/hildon-pannable-area.c,
5992 (hildon_pannable_area_size_request): Fixed problem with
5993 pannable-area size_request.
5995 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5997 Added management for the grab-focus to a child widget, like a
5998 range, we need to fade out the scrollbar when releasing.
6000 * src/hildon-pannable-area.c,
6001 (hildon_pannable_area_init): Connected the grab-focus signal to
6003 (hildon_pannable_area_grab_notify): Added this function in order
6004 to manage the situation when the grab-focus ends. We have to
6005 fade-out the scrollbar.
6007 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6009 * src/hildon-app-menu.c: Minor documentation update.
6011 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-app-menu.c
6014 * examples/hildon-app-menu-example.c (create_menu): Update
6015 examples and documentation to explain how to connect callbacks.
6017 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6019 * examples/hildon-button-example.c
6020 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6021 hildon_stackable_window_new instead of gtk_window_new
6023 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6025 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6026 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6027 (hildon_pannable_area_set_property),
6028 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6029 (hildon_pannable_area_unrealize),
6030 (hildon_pannable_area_size_request),
6031 (hildon_pannable_area_size_allocate),
6032 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6033 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6034 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6035 (hildon_pannable_area_initial_effect),
6036 (hildon_pannable_area_redraw),
6037 (hildon_pannable_area_scroll_indicator_fade),
6038 (hildon_pannable_area_expose_event),
6039 (hildon_pannable_area_get_topmost), (synth_crossing),
6040 (hildon_pannable_area_button_press_cb),
6041 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6042 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6043 (hildon_pannable_area_motion_notify_cb),
6044 (hildon_pannable_area_button_release_cb),
6045 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6046 (hildon_pannable_area_remove),
6047 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6048 chage the code layout to a more GtkWidget like. Review the use of
6051 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6053 * examples/hildon-pannable-area-example-4.c,
6054 (main): Modified the name of the hindicator_mode to
6057 * src/hildon-pannable-area.c,
6058 (hildon_pannable_area_class_init),
6059 (hildon_pannable_area_motion_notify_cb),
6060 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6061 we have reduced the amount of signals and managed reviewed its
6062 rationale. Changed the default decelerate value.
6064 (hildon_pannable_area_add),
6065 (hildon_pannable_area_redraw): Refactored functions.
6067 (hildon_pannable_area_init),
6068 (hildon_pannable_area_get_property),
6069 (hildon_pannable_area_set_property):
6070 (hildon_pannable_draw_vscroll),
6071 (hildon_pannable_draw_hscroll),
6072 (hildon_pannable_area_initial_effect),
6073 (hildon_pannable_area_expose_event),
6074 (hildon_pannable_area_scroll),
6075 (hildon_pannable_area_button_press_cb),
6076 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6077 and vindicator_mode with hscrollbar_policy and
6078 vscrollbar_policy. Replaced hscroll and vscroll with
6079 hscroll_visible and vscroll_visible.
6081 (hildon_pannable_area_refresh): Refactor the function, remove
6082 variables and check the calls to this function, added resize
6083 conditions in case the children change their layout.
6085 (hildon_pannable_area_size_request): Added more detailed
6086 size_request calculation.
6089 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6091 * src/hildon-color-chooser.c
6092 (init_borders): use the correct gtk_border_free instead of g_free, to
6093 avoid a crash when this widget is used (ie: the three color selection
6096 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6098 * src/hildon-check-button.c,
6099 (hildon_check_button_set_active): Fixed problem when setting the
6100 active value, the widget was not redrawn.
6102 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6104 * src/hildon-pannable-area.c,
6105 (hildon_pannable_area_refresh),
6106 (hildon_pannable_area_scroll),
6107 (hildon_pannable_area_motion_notify_cb): Small code style change.
6109 (hildon_pannable_area_class_init): Default initial_hint set to
6110 FALSE, it is not in the specs.
6112 (hildon_pannable_area_initial_effect),
6113 (hildon_pannable_area_expose_event),
6114 (hildon_pannable_area_map),
6115 (hildon_pannable_area_init): Moved the launching point of the
6116 initial effect, it was in map but the sizes where not correct in
6117 that method so we do not know if we have the reproduce it. Now it
6118 is placed in the expose_event method and uses a variable to
6119 reproduce it just once.
6121 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6123 * src/hildon-pannable-area.c,
6124 (hildon_pannable_draw_vscroll),
6125 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6126 position allowed for the scrollbars.
6128 (hildon_pannable_area_size_allocate): Small style change.
6130 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6132 * src/hildon-pannable-area.c,
6133 (hildon_pannable_area_scroll_indicator_fade),
6134 (hildon_pannable_area_button_press_cb),
6135 (hildon_pannable_area_button_release_cb),
6136 (hildon_pannable_area_scroll_cb),
6137 (hildon_pannable_area_expose_event),
6138 (hildon_pannable_area_init): Added the define parameter
6139 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6140 and refactor the fade variable.
6142 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6144 * src/hildon-pannable-area.c,
6145 (hildon_pannable_area_redraw),
6146 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6147 lines, we were reimplemeting the redraw code.
6149 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6151 * src/hildon-pannable-area.c,
6152 (hildon_pannable_area_scroll_cb),
6153 (hildon_pannable_area_realize),
6154 (hildon_pannable_area_class_init): Added scroll_event management
6155 for pannable area, now we can scroll the usual desktop method.
6157 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6158 initialization of the parameters should depend on idle_id.
6160 (hildon_pannable_area_init),
6161 (hildon_pannable_area_map): Small code style modifications
6163 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6165 * src/hildon-pannable-area.c
6166 (hildon_pannable_area_button_press_cb),
6167 (hildon_pannable_area_motion_notify_cb),
6168 (hildon_pannable_area_button_release_cb),
6169 (hildon_pannable_area_size_allocate),
6170 (hildon_pannable_area_scroll_to): Improved the timeouts
6171 management, we avoid creating them each time.
6173 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6175 * src/hildon-pannable-area.c:
6176 (hildon_pannable_area_refresh),
6177 (hildon_pannable_area_motion_notify_cb),
6178 (hildon_pannable_area_class_init):
6179 * src/hildon-pannable-area.h:
6180 * src/hildon-touch-selector.c
6181 (_create_new_column):
6182 * examples/hildon-pannable-area-example-4.c:
6183 (horizontal_movement),
6184 (vertical_movement),
6186 Replaced the names of enums in the HildonPannableArea:
6187 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6188 HILDON_MOVEMENT_MODE_*
6189 - HILDON_PANNABLE_AREA_MOV_* ->
6191 - Removed HildonPannableAreaIndicatorMode, now we
6194 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6196 * examples/hildon-pannable-area-touch-grid-example.c
6197 * examples/hildon-pannable-area-touch-list-example.c: Fix
6198 compilation warnings.
6200 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-gtk.c (hildon_gtk_button_new)
6203 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6204 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6205 images overriding the value of the "gtk-button-images" setting.
6207 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6209 * src/hildon-check-button.c (hildon_check_button_new):
6210 Instead of using a custom container, display the label and the
6211 checkbox using the standard GtkButton API.
6213 * examples/hildon-check-button-example.c (main): Don't use
6214 hildon_check_button_set_label() anymore
6216 * src/hildon-check-button.h
6217 * src/hildon-check-button.c
6218 (hildon_check_button_set_label, hildon_check_button_get_label):
6219 Set as deprecated, now we're using gtk_button_{get,set}_label()
6221 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6223 * src/hildon-pannable-area.c,
6224 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6225 GtkTreeview first line we detected it after the inclusion of the
6226 GtkWindowImpl in gtk+. We now check if the window is visible, not
6227 just if the pointer is over the window.
6228 (hildon_pannable_axis_scroll),
6229 (hildon_pannable_area_expose_event): Small style changes.
6231 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-button.c: Update documentation.
6235 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6237 * examples/hildon-button-example.c: Add a switch to show images in
6240 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6242 * doc/hildon-docs.sgml: Some docs reorganization.
6244 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6246 * examples/hildon-pannable-area-touch-list-example.c
6248 * examples/hildon-pannable-area-touch-grid-example.c
6249 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6250 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6251 Fix memory leak when setting the tree model.
6253 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6257 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6259 * doc/hildon.types: Remove duplicated hildon_window_get_type
6260 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6261 documentation comment.
6263 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6265 * doc/Makefile.am: Complete list of private headers.
6267 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6269 * doc/hildon-docs.sgml
6270 * src/hildon-app-menu.c
6271 * src/hildon-bread-crumb.c
6272 * src/hildon-button.c
6274 * src/hildon-program.c
6275 * src/hildon-stackable-window.c
6276 * src/hildon-window.c: Lots of documentation updates.
6278 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6280 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6282 * configure.ac: Require Gtk+ 2.12.9 at least
6284 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6286 * src/hildon-pannable-area.c
6287 (hildon_pannable_area_scroll_indicator_fade),
6288 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6289 to protect the return of this timeout callbacks, avoiding deadlocks.
6291 2008-08-12 Christian Dywan <christian@imendio.com>
6294 * src/hildon-*.h: Ensure a consistent include order,
6295 include <gtk/gtk.h> instead of particular files and
6296 only include the topmost header in the gtk stack. See NB #39857
6298 2008-08-12 Christian Dywan <christian@imendio.com>
6300 * src/hildon-picker-dialog.c
6301 * src/hildon-touch-selector.c: Fix warnings about unused and
6302 uninitialized variables.
6304 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6306 * examples/Makefile.am
6307 * examples/hildon-check-button-example.c: Example of the hildon
6310 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-window.h
6313 * src/hildon-window.c (hildon_window_class_init)
6314 (hildon_window_unset_program): Don't make
6315 hildon_window_unset_program a virtual function anymore.
6317 * src/hildon-stackable-window.c: Update documentation
6319 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6322 * doc/hildon-docs.sgml
6323 * doc/visual_index.xml
6324 * src/hildon-defines.c
6326 * src/hildon-helper.c
6327 * src/hildon-range-editor.c: Lots of documentation fixes.
6329 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6331 * examples/hildon-picker-button-multicolumn-example.c
6332 (create_touch_selector): Fix compilation warning.
6334 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6336 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6337 (hildon_pannable_area_button_release_cb)
6338 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6340 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6342 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-bread-crumb-trail.h
6348 * src/hildon-date-editor.c
6349 * src/hildon-date-selector.c
6350 * src/hildon-pannable-area.c
6351 * src/hildon-picker-dialog.c
6352 * src/hildon-time-selector.c
6353 * src/hildon-touch-selector-entry.c
6354 * src/hildon-touch-selector.c
6355 * src/hildon-touch-selector.h: Misc documentation fixes
6357 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6359 * examples/hildon-date-editor-example.c (main): Updated date
6362 * examples/hildon-note-example.c (on_confirmation_clicked):
6363 Updated confirmation note example.
6365 * src/hildon-date-editor.c
6366 * src/hildon-note.c: Updated sample programs in documentation.
6369 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6371 * src/hildon-date-button.h:
6372 * src/hildon-picker-button.h:
6373 * src/hildon-time-button.c:
6374 * src/hildon-time-button.h:
6376 Some declarations changes to allow gtk-doc to document the widgets
6379 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6381 * src/hildon-date-button.c: Document the widget.
6382 * src/hildon-time-button.c: Document the widget.
6384 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-picker-button.c: Document the widget.
6387 * src/hildon-touch-selector-entry.c: Document the widget.
6389 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6391 * doc/hildon-docs.sgml
6394 * src/hildon-check-button.h
6395 * src/hildon-check-button.c: New functions to create the Hildon
6399 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6401 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-button.h
6404 * src/hildon-button.c
6405 (hildon_button_add_title_size_group)
6406 (hildon_button_add_value_size_group)
6407 (hildon_button_add_image_size_group)
6408 (hildon_button_add_size_groups): New functions to set size groups
6409 for the button labels and image.
6410 (hildon_button_new_full): Removed
6412 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6414 * src/hildon-time-selector.c
6415 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6416 in order to avoid a crash if gconf is not available
6418 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-button.c (hildon_button_set_arrangement)
6421 (hildon_button_construct_child): Don't construct the button child
6422 before setting the arrangement.
6424 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6426 * src/hildon-program-private.h
6427 * src/hildon-program.c
6428 * src/hildon-program.h
6429 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6430 (hildon_program_peek_window_stack)
6431 (hildon_program_pop_window_stack)
6432 (hildon_program_go_to_root_window): HildonProgram now has a
6433 separate list for stackable windows. Functions are provided to
6434 manage that list with a stack-like API.
6436 * src/hildon-stackable-window.c: Stackable window management is
6437 now much simpler with the new HildonProgram API. Windows no
6438 longer need to be manually added to the program, they're
6439 automatically pushed to the top of the stack when shown.
6441 * examples/hildon-stackable-window-example.c: Updated example to
6442 reflect the API changes.
6444 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6446 * src/hildon-touch-selector.c: Comment out unimplemented
6447 hildon_touch_selector_insert_column() to avoid a compile warning.
6449 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6452 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6453 (hildon_touch_selector_set_column_selection_mode),
6454 (_hildon_touch_selector_set_model),
6455 (hildon_touch_selector_set_model):
6457 Complete review of HildonTouchSelector documentation.
6459 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6461 * doc/hildon-docs.sgml
6465 * src/hildon-gtk.c: Convenience functions for standard Gtk
6466 widgets, used to easily perform frequent operations.
6468 * src/hildon-button-helpers.h
6469 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6471 * src/hildon-helper.h
6472 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6473 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6475 * src/hildon-button.h
6476 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6478 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-button.c (hildon_button_init)
6481 (hildon_button_set_arrangement, hildon_button_construct_child):
6482 Pack the image and the labels inside the same GtkAlignment so
6483 gtk_button_set_alignment() can be used
6485 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6487 * src/hildon-button.h
6488 * src/hildon-button.c
6489 (hildon_button_init, hildon_button_set_image)
6490 (hildon_button_set_image_position)
6491 (hildon_button_construct_child): New functions to add an image to
6494 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6496 * src/hildon-date-button.c
6497 * src/hildon-picker-button.c
6498 * src/hildon-time-button.c
6499 * src/hildon-button.c:
6500 (hildon_button_class_init): "size-flags" renamed to "size"
6501 (hildon_button_set_title): Hide the title label if set to NULL.
6503 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6505 HildonButtonFlags split into HildonButtonArrangement (to set the
6506 button layout) and HildonSizeType (which can be used for any
6509 * src/hildon-button.h
6510 * src/hildon-button.c
6511 (hildon_button_class_init)
6512 (hildon_button_set_arrangement)
6513 (hildon_button_set_property): New "size-flags"
6514 property. "arrangement-flags" renamed to "arrangement".
6515 (hildon_button_new, hildon_button_new_with_text)
6516 (hildon_button_new_full): Constructors updated to reflect type changes.
6518 * src/hildon-helper.h
6519 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6520 to set the size of a widget.
6524 * src/hildon-button-helpers.c
6525 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6527 * src/hildon-date-button.c
6528 * src/hildon-date-button.h
6529 * src/hildon-picker-button.c
6530 * src/hildon-picker-button.h
6531 * src/hildon-time-button.c
6532 * src/hildon-time-button.h: Updated widgets to reflect
6533 HildonButton API changes.
6535 * examples/hildon-button-example.c
6536 * examples/hildon-date-button-example.c
6537 * examples/hildon-picker-button-example.c
6538 * examples/hildon-picker-button-multicolumn-example.c
6539 * examples/hildon-time-button-example.c
6540 * examples/hildon-touch-selector-entry-example.c
6541 * examples/hildon-touch-selector-example.c: Updated examples to
6542 reflect HildonButton API changes.
6544 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6546 * doc/hildon-docs.sgml:
6548 * examples/Makefile.am:
6549 * examples/hildon-touch-selector-entry-example.c:
6551 * src/hildon-touch-selector-entry.c:
6552 * src/hildon-touch-selector-entry.h:
6555 Moved HildonTouchSelectorEntry from sandbox. Added its
6556 documentation and examples.
6558 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-touch-selector.h:
6561 * examples/hildon-picker-button-multicolumn-example.c:
6562 (hildon_touch_selector_append_text_column): Add a gboolean
6563 parameter to determine if text must be centered in the column.
6565 * src/hildon-date-selector.c: (hildon_date_selector_init):
6566 * src/hildon-time-selector.c: (hildon_time_selector_init):
6567 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6568 (create_touch_selector): Update widgets and example to reflect
6571 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6573 * src/hildon-touch-selector.c:
6574 (hildon_touch_selector_set_active_iter): Set also the cursor in
6577 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6579 * doc/hildon-docs.sgml
6582 * src/hildon-toggle-button.c
6583 * src/hildon-toggle-button.h
6584 * src/hildon.h: Removed HildonToggleButton widget, a derived
6585 class is not necessary for this.
6587 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6589 * src/hildon-pannable-area.c,
6590 (hildon_pannable_area_realize),
6591 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6594 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6596 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6597 "done" button the default widget for the dialog.
6599 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-touch-selector.c:
6602 (hildon_touch_selector_class_init),
6603 (hildon_touch_selector_get_property),
6604 (_hildon_touch_selector_set_model),
6605 (_hildon_touch_selector_has_multiple_selection),
6606 (hildon_touch_selector_has_multiple_selection):
6607 Add a "has-multiple-selection" property with a virtual
6608 has_multiple_selection() method to allow derived classes to
6609 override the default value for it. See the method and property
6610 documentation for details.
6612 * src/hildon-touch-selector.h: Add the new API.
6614 * src/hildon-picker-dialog.c: (requires_done_button): Call
6615 hildon_touch_selector_has_multiple_selection() instead of
6616 determining the need for a button itself.
6618 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6620 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6621 (_hildon_touch_selector_set_model),
6622 (hildon_touch_selector_set_model): Move working code to
6623 _hildon_touch_selector_set_mode(). Call the class method instead.
6625 * src/hildon-touch-selector.h: Add (*set_model) to
6626 HildonTouchSelectorClass.
6628 Make hildon_touch_selector_set_model() a virtual method, so that
6629 derived classes can extend it and do fancy stuff with the model.
6631 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6633 * configure.ac: Set back the tarname in AC_INIT to hildon.
6635 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6639 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6640 instead of libesd (NB#86876). Volume handling is still an open issue.
6642 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6645 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6647 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6648 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6649 derived class to ease placement of an entry widget in
6650 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6651 end, where the selector columns are packed now.
6653 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6655 * src/hildon-picker-button.c: Removed the simple _text() API.
6656 * src/hildon-picker-button.h: Likewise.
6658 * src/hildon-touch-selector.h:
6659 * src/hildon-touch-selector.c:
6660 (hildon_touch_selector_new_text),
6661 (hildon_touch_selector_append_text),
6662 (hildon_touch_selector_prepend_text),
6663 (hildon_touch_selector_insert_text):
6665 Moved the simple _text() API from HildonPickerButton to
6666 HildonTouchPicker, to provide better escalability and not to tie
6667 that API to HildonPickerButton.
6669 * examples/hildon-picker-button-example.c: (main): Example updated.
6671 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-button.c: Updated documentation.
6675 * examples/hildon-button-example.c: Add the posibility to create
6676 the buttons using horizontal layout for title and value.
6678 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-app-menu-private.h
6681 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6682 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6683 GtkSizeGroup for the filters, use the 'homogeneous' property of
6686 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6688 * examples/hildon-button-example.c: Updated example.
6690 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6692 * doc/hildon-docs.sgml:
6695 Update documentation.
6697 * examples/Makefile.am: Update renamed examples.
6699 * examples/hildon-picker-button-multicolumn-example.c:
6700 (create_touch_selector), (main): Update after the rename.
6702 * examples/hildon-touch-picker-example.c: Removed.
6703 * examples/hildon-touch-selector-example.c: (value_changed),
6704 (create_selector), (get_visible_content), (main): Renamed from
6705 hildon-touch-picker-example.c
6707 * src/Makefile.am: Updated renamed files.
6709 * src/hildon-date-button.c: (hildon_date_button_init),
6710 (hildon_date_button_get_date), (hildon_date_button_set_date):
6711 * src/hildon-date-selector.c: (hildon_date_selector_init),
6712 (_custom_print_func), (_update_day_model),
6713 (_manage_selector_change_cb),
6714 (hildon_date_selector_select_current_date),
6715 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6716 * src/hildon-date-selector.h:
6717 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6718 (hildon_picker_button_set_property),
6719 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6720 (hildon_picker_button_init), (hildon_picker_button_new_text),
6721 (hildon_picker_button_append_text),
6722 (hildon_picker_button_prepend_text),
6723 (hildon_picker_button_insert_text),
6724 (hildon_picker_button_set_selector),
6725 (hildon_picker_button_get_selector):
6726 * src/hildon-picker-button.h:
6727 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6728 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6729 (_update_title_on_selector_changed_cb), (requires_done_button),
6730 (_hildon_picker_dialog_set_selector),
6731 (hildon_picker_dialog_set_selector),
6732 (hildon_picker_dialog_get_selector):
6733 * src/hildon-picker-dialog.h:
6734 * src/hildon-time-button.c: (hildon_time_button_init),
6735 (hildon_time_button_get_time), (hildon_time_button_set_time):
6736 * src/hildon-time-selector.c: (hildon_time_selector_init),
6737 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6738 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6739 * src/hildon-time-selector.h:
6742 Massive code updates after the rename.
6744 * src/hildon-touch-picker.c: Removed.
6745 * src/hildon-touch-picker.h: Removed.
6747 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6748 (hildon_touch_selector_init), (hildon_touch_selector_map),
6749 (hildon_touch_selector_remove), (_default_print_func),
6750 (_selection_changed_cb), (_create_new_column),
6751 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6752 (hildon_touch_selector_append_text_column),
6753 (hildon_touch_selector_remove_column),
6754 (hildon_touch_selector_set_column_attributes),
6755 (hildon_touch_selector_insert_column),
6756 (hildon_touch_selector_get_num_columns),
6757 (hildon_touch_selector_get_column_selection_mode),
6758 (hildon_touch_selector_set_column_selection_mode),
6759 (hildon_touch_selector_set_print_func),
6760 (hildon_touch_selector_get_print_func),
6761 (hildon_touch_selector_get_active_iter),
6762 (hildon_touch_selector_set_active_iter),
6763 (hildon_touch_selector_get_selected_rows),
6764 (hildon_touch_selector_get_model),
6765 (hildon_touch_selector_set_model),
6766 (hildon_touch_selector_get_current_text),
6767 (_hildon_touch_selector_center_on_selected_items):
6768 * src/hildon-touch-selector.h: Renamed from
6769 hildon-touch-picker.[ch]
6771 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6772 references, code examples, and related documentation.
6774 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6776 * doc/hildon-docs.sgml
6779 * src/hildon-toggle-button.c
6780 * src/hildon-toggle-button.h
6781 * src/hildon.h: New HildonToggleButton widget.
6783 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6785 * src/hildon-button.c: Add API documentation.
6786 (hildon_button_set_size_groups): Check input parameters
6788 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6790 * src/hildon-pannable-area.c
6791 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6792 effect after reaching the movement thredshold. This way we start
6793 using the distance after passing the thredshold.
6795 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6797 * src/hildon-button.c: (hildon_button_set_property): Use the
6798 appropriate g_value_get_flags() method.
6800 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6802 * doc/hildon-docs.sgml:
6805 Add the touch pickers, picker dialogs, and picker button widgets
6806 to the documentation.
6808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6810 * src/hildon-button.c: (hildon_button_set_property),
6811 (hildon_button_class_init): Make "arrangement-flags" a proper
6812 G_TYPE_FLAGS derived property.
6814 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6816 * examples/Makefile.am: Add below examples.
6817 * examples/hildon-date-button-example.c:
6818 * examples/hildon-picker-button-example.c:
6819 * examples/hildon-picker-button-multicolumn-example.c:
6820 * examples/hildon-time-button-example.c:
6821 * examples/hildon-touch-picker-example.c:
6823 Add examples for the recently added touch pickers,
6824 picker dialogs, and picker button widgets.
6826 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6828 * src/hildon-button.c: Add some API documentation
6830 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6832 * src/hildon-button.h
6833 * src/hildon-button.c
6835 (hildon_button_new_with_text): New constructor to create a button
6836 with no text at all.
6837 (hildon_button_init, hildon_button_set_arrangement)
6838 (hildon_button_set_title, hildon_button_set_value)
6839 (hildon_button_set_text)
6840 (hildon_button_construct_child): Hide the value when it's not used
6841 so the rest of the text is properly aligned.
6842 Allow creating buttons with arbitrary widgets inside (not just
6843 title/value labels).
6845 * examples/hildon-button-example.c (vertical_buttons_window)
6846 (horizontal_buttons_window): Update example to use new API.
6848 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6850 * src/Makefile.am: Added HildonTimeButton.
6851 * src/hildon-time-button.c: Added missing LGPL header.
6852 * src/hildon-time-button.h: Added missing LGPL header.
6853 * src/hildon.h: Add hildon-time-button.h
6855 Copied HildonTimeButton from sandbox to trunk. Future work on this
6856 widget must take place in trunk.
6858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6860 * src/Makefile.am: Added HildonDateButton.
6861 * src/hildon-date-button.c: Update includes.
6862 * src/hildon.h: Add hildon-date-button.h
6864 Copied HildonDateButton from sandbox to trunk. Future work on this
6865 widget must take place in trunk.
6867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6869 * src/Makefile.am: Added HildonPickerButton.
6870 * src/hildon-picker-button.h: Update includes.
6871 * src/hildon.h: Add hildon-picker-button.h
6873 Copied HildonPickerButton from sandbox to trunk. Future work on
6874 this widget must take place in trunk.
6876 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6878 * src/Makefile.am: Added HildonPickerDialog.
6879 * src/hildon-picker-dialog.c: Update includes.
6880 * src/hildon.h: Add hildon-picker-dialog.h
6882 Copied HildonPickerDialog from sandbox to trunk. Future work
6883 on this widget must take place in trunk.
6885 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6887 * src/Makefile.am: Added HildonTimeSelector.
6888 * src/hildon.h: Add hildon-time-selector.h
6890 Copied HildonTimeSelector widget from sandbox to trunk. Future
6891 work on this widget must happen in trunk.
6893 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6895 * src/Makefile.am: Added HildonDateSelector.
6896 * src/hildon.h: Add hildon-date-selector.h
6898 Copied HildonDateSelector widget from sandbox to trunk. Future
6899 work on this widget must happen in trunk.
6901 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6903 * src/Makefile.am: Added HildonTouchPicker.
6904 * src/hildon-touch-picker.c: Update includes.
6905 * src/hildon.h: Add hildon-touch-picker.h
6907 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6908 on this widget must happen in trunk.
6910 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6912 * src/hildon-pannable-area.c:
6913 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6915 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6917 * examples/hildon-app-menu-example.c (main): Let the window
6920 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6922 * src/hildon-pannable-area.c
6923 (hildon_pannable_area_class_init): Set the min value of the
6924 overshoot properties to zero, which points out that not
6925 overshooting allowed.
6927 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6929 Modified the procedure to get the widget at a point inside the
6930 pannable area when using the movement type signals. Now the user
6931 has to call a function to get the child, that way we just
6932 calculate the child in case the user really want to use it and not
6935 * src/hildon-marshalers.list: Modified the marshallers, now we do
6936 not have the widget as a parameter.
6938 * src/hildon-pannable-area.c
6939 (hildon_pannable_area_motion_notify_cb),
6940 (hildon_pannable_area_class_init),
6941 (hildon_pannable_get_child_widget_at): Removed the widget
6942 parameter from the signal callback. We have also refactored the
6943 emission of the signals.
6945 * src/hildon-pannable-area.h: Added a new method to the API to
6946 calculate a widget at a point inside the pannable area,
6947 hildon_pannable_get_child_widget_at.
6949 * examples/hildon-pannable-area-example-4.c
6950 (horizontal_movement): Modified the example to use the new API,
6951 added condition to control which widget is under the event. This
6952 way we can avoid scrolling laterally over other widgets.
6954 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6956 * src/hildon-pannable-area.c
6957 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6958 modes, we stop getting the pointer events due to returning the
6959 callback without properly calling the get pointer again. Fixed
6960 also an error using the hscroll and vscroll.
6962 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6964 * src/hildon-app-menu-private.h
6965 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6966 (hildon_app_menu_button_release, hildon_app_menu_init)
6967 (hildon_app_menu_class_init): Don't hide the menu on button
6968 release if the user didn't press outside first.
6970 * src/hildon-window.h
6971 * src/hildon-window.c (hildon_window_toggle_menu)
6972 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6973 hildon_window_toggle_menu a virtual function for the stackable
6974 window to override it.
6976 * src/hildon-stackable-window.h
6977 * src/hildon-stackable-window-private.h
6978 * src/hildon-stackable-window.c
6979 (hildon_stackable_window_realize)
6980 (hildon_stackable_window_finalize)
6981 (hildon_stackable_window_class_init)
6982 (hildon_stackable_window_init)
6983 (hildon_stackable_window_set_main_menu): New function to set the
6984 app menu of a HildonStackableWindow.
6986 * examples/hildon-app-menu-example.c: Remove the button to show
6987 the app menu, now it'll be shown when clicking on the title bar
6990 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6992 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6993 set the widget name if the arrangement flags do not specify
6996 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6998 * src/hildon-button.c: (hildon_button_set_property),
6999 (hildon_button_class_init), (hildon_button_new_full),
7000 (hildon_button_set_arrangement): Added "arrangement-flags"
7003 Make the HildonButtonFlags a construction-only property, to allow
7004 subclasses to set them properly.
7006 2008-07-21 Tim Janik <timj@imendio.com>
7008 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7009 insertion position after backspace, so additional digits are appended,
7012 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7014 * src/hildon-pannable-area.c,
7015 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7016 TODO list, it was complete and removed the g_debug and g_print
7019 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7021 Added the movement modes to the hildon-pannable-area, with this
7022 modes the developers can control in which directions the widget
7023 can scroll. They can also connect to signals in order to do
7024 something when that happens, allowing applications scroll. There
7025 is an example uploaded showing how to use it.
7027 * examples/Makefile.am:
7028 * examples/hildon-pannable-area-example-4.c: Added this example of
7029 an application using the modes.
7031 * src/hildon-marshalers.list: Added a new marshaller for the new
7034 * src/hildon-pannable-area.h: Added new enumerations and flags in
7035 order to control the movement modes and the new signals to warn
7036 about the movements in the area.
7038 * src/hildon-pannable-area.c:
7039 (hildon_pannable_axis_scroll),
7040 (hildon_pannable_area_scroll),
7041 (hildon_pannable_area_motion_notify_cb),
7042 (hildon_pannable_area_get_property),
7043 (hildon_pannable_area_set_property),
7044 (hildon_pannable_area_map),
7045 (hildon_pannable_area_class_init),
7046 (hildon_pannable_area_init),
7047 (hildon_pannable_area_jump_to): Added the modes to control the
7048 movement in the widget. We have added properties to control it,
7049 signals to warn about the movements and refactored some code.
7051 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7053 Changes required in order to allow vfast_factor set to zero to
7056 * src/hildon-pannable-area.c:
7057 (hildon_pannable_area_button_press_cb): Changed the condition, it
7058 is required for not allowing click when vfast_factor is zero.
7059 (hildon_pannable_area_timeout): Initialized velocity variables
7060 when we stop moving, it was less than 1 but not zero and we need
7061 to check zero in some situations.
7062 (hildon_pannable_area_class_init): Changed the default value of
7063 the speed factor, now the button_press is just sent in case the
7064 speed is 2 per cent of the max speed.
7065 (hildon_pannable_area_init): Initialization with 0.
7067 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7069 * src/hildon-pannable-area.c,
7070 (hildon_pannable_area_get_topmost): replaced
7071 gdk_window_get_children with gdk_window_peek_children, this way we
7072 do not have to free the list because it is not a copy.
7074 (hildon_pannable_axis_scroll),
7075 (hildon_pannable_area_scroll),
7076 (hildon_pannable_area_timeout),
7077 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7078 two parameters that were only used inside the
7079 hildon_pannable_area_scroll function.
7081 * examples/hildon-pannable-area-example.c,
7082 (get_sawtooth_label): Fixed small memory leak.
7084 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7086 More checks for the case where the overshoot is bigger than the
7089 * src/hildon-pannable-area.c:
7090 (hildon_pannable_draw_vscroll),
7091 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7092 to draw the slider of the scrollbar under the other scrollbar.
7093 (hildon_pannable_area_expose_event): added new checks to control
7094 the drawing of the overshooting area rectangle, in case it is too
7095 big for the area of the widget.
7096 (hildon_pannable_area_size_allocate): add more checks to avoid
7097 setting a position to the child widget outside the area.
7099 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7101 * src/hildon-pannable-area.c
7102 (hildon_pannable_area_size_allocate): Added conditions to control
7103 when overshooting is bigger than the allocated space for the
7104 children, this avoids negative allocations.
7106 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7108 * doc/hildon-docs.sgml
7110 * examples/Makefile.am
7111 * examples/hildon-button-example.c
7113 * src/hildon-button.c
7114 * src/hildon-button.h
7115 * src/hildon.h: Initial version of the new HildonButton widget,
7118 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7120 * src/hildon-pannable-area.c:
7121 (hildon_pannable_area_button_press_cb),
7122 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7123 (hildon_pannable_area_motion_notify_cb),
7124 (hildon_pannable_area_button_release_cb),
7125 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7126 (hildon_pannable_area_jump_to_child):
7128 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7130 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7132 * examples/Makefile.am
7133 * examples/hildon-pannable-area-touch-grid-example.c
7134 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7135 the Hildon Touch List and Hildon Touch Grid using the
7136 HildonPannableArea widget.
7138 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7140 * src/hildon-pannable-area.c,
7141 (hildon_pannable_area_button_press_cb),
7142 (hildon_pannable_area_refresh),
7143 (hildon_pannable_area_scroll),
7144 (hildon_pannable_area_motion_notify_cb),
7145 (hildon_pannable_area_button_release_cb),
7146 (hildon_pannable_area_expose_event),
7147 (hildon_pannable_area_add),
7148 (hildon_pannable_area_remove),
7149 (hildon_pannable_area_realize),
7150 (hildon_pannable_area_size_allocate),
7151 (hildon_pannable_area_class_init),
7152 (hildon_pannable_area_init),
7153 (hildon_pannable_area_scroll_to_child),
7154 (hildon_pannable_area_jump_to_child): Fixed the problem of
7155 removing the child from the GtkBin, we have rearranged the widget
7156 hierarchy, now there is no GtkAlignment which was not doing
7157 anything interesting but breaking some of the assumptions of
7158 GtkContainer. Now developers if they want to add a GtkAlignment
7159 they could, but it is not inside the area.
7161 We had to review the whole allocation/expose process, now it is
7162 improved and we save at least three signals which would be saving
7163 some time when rendering the widget. The allocation of the
7164 scrollbars is now made in the allocate method as usual.
7166 We have also added some conditions in order to control when there
7167 is no child of the pannable area. Maybe we will need more work
7170 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7172 * src/hildon-pannable-area.c,
7173 (hildon_pannable_area_dispose): Released the fade-out timeout when
7174 disposing the widget.
7176 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7178 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7179 zero, we are going to use that property in order to deactivate the
7181 (hildon_pannable_axis_scroll),
7182 (hildon_pannable_area_size_allocate): Added conditions to control
7183 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7184 call, now it is called in all situations and we can remove calls
7185 in the allocate method.
7186 (hildon_pannable_area_map): Control the situation when
7187 overshoot_max is zero, we do not need the timeout.
7188 (hildon_pannable_area_class_init): Added documentation in order to
7189 point out that setting zero to overshoot_max means deactivate
7192 NOTE: removed trailing whitespaces from my previous comments of
7195 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7197 * src/hildon-pannable-area.c
7198 (hildon_pannable_area_get_property),
7199 (hildon_pannable_area_set_property),
7200 (hildon_pannable_area_map),
7201 (hildon_pannable_area_class_init),
7202 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7203 to cause the widget give a hint about its panning abilities upon
7206 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7208 * src/hildon-pannable-area.c: Several documentation improvements.
7210 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-program.c
7213 * src/hildon-stackable-window.c: Update documentation.
7215 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7217 * src/hildon-stackable-window.c (get_previous_window_if_last):
7218 Renamed get_last_window()
7219 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7220 (hildon_stackable_window_unset_program):
7222 (get_previous_window_if_last):
7223 Detect if the window hasn't been added to a HildonProgram.
7225 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7227 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7229 * src/hildon-pannable-area.c
7230 (hildon_pannable_area_button_press_cb),
7231 (hildon_pannable_axis_scroll),
7232 (hildon_pannable_area_scroll),
7233 (hildon_pannable_area_timeout),
7234 (hildon_pannable_calculate_vel_factor),
7235 (hildon_pannable_area_get_property),
7236 (hildon_pannable_area_set_property),
7237 (hildon_pannable_area_class_init),
7238 (hildon_pannable_area_init),
7239 (hildon_pannable_area_scroll_to),
7240 (hildon_pannable_area_jump_to),
7241 (hildon_pannable_area_scroll_to_child),
7242 (hildon_pannable_area_jump_to_child):
7243 * src/hildon-pannable-area.h: Added the new API functions:
7244 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7245 hildon_pannable_area_scroll_to_child,
7246 hildon_pannable_area_jump_to_child
7249 * examples/Makefile.am
7250 * examples/hildon-pannable-area-example-2.c
7251 * examples/hildon-pannable-area-example-3.c: Added these two new
7252 examples in order to test and show how the new APIs work.
7254 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7256 * examples/hildon-stackable-window-example.c (new_window):
7257 * src/Makefile.am (noinst_HEADERS):
7258 * src/hildon-program.c (hildon_program_go_to_root_window):
7259 * src/hildon-program.h:
7260 * src/hildon-stackable-window-private.h:
7261 * src/hildon-stackable-window.c:
7262 * src/hildon-stackable-window.h:
7263 Create hildon-stackable-window-private.h
7264 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7266 * examples/hildon-app-menu-example.c (create_menu):
7267 * examples/hildon-hvolumebar-insensitive-example.c (main):
7268 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7269 * examples/hildon-toolbar-seekbar-example.c (main):
7270 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7271 * src/hildon-banner.c (hildon_banner_set_property):
7272 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7273 Fix compilation warnings
7275 * src/hildon-window.c:
7278 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7280 * src/hildon-stackable-window.c
7281 (hildon_stackable_window_unset_program):
7282 Calculate correctly whether to show the previous window if the
7283 last one is removed from the stack.
7284 (hildon_stackable_window_go_to_root_window):
7285 Send delete events starting from the topmost window.
7286 Stop if one of the windows is not destroyed.
7288 (hildon_stackable_window_delete_event)
7289 (hildon_stackable_window_class_init):
7290 Ignore the delete event if the window is not the topmost one.
7292 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7294 * src/hildon-pannable-area.c
7295 (hildon_pannable_area_expose_event): Fixed a problem when
7296 selecting the background color of the scrollbars.
7298 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7300 * examples/hildon-stackable-window-example.c
7301 * src/hildon-stackable-window.c
7302 * src/hildon-stackable-window.h
7303 hildon_stackable_window_go_home() renamed to
7304 hildon_stackable_window_go_to_root_window()
7305 Send delete events to windows rather than closing them with
7306 gtk_widget_destroy()
7308 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7310 * src/hildon-pannable-area.c
7311 (hildon_pannable_area_button_release_cb): Fix overshooting in
7314 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/hildon-pannable-area.c
7317 (hildon_pannable_area_init): Initially show the scroll indicators.
7318 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7320 Add initial effect showing the widget is pannable.
7322 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7324 * src/hildon-pannable-area.c
7325 (hildon_pannable_area_class_init)
7326 (hildon_pannable_area_set_property)
7327 (hildon_pannable_area_get_property)
7328 (hildon_pannable_area_button_press_cb):
7329 New 'velocity_fast_factor' property to decide which velocity is
7332 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-pannable-area.c
7335 (hildon_pannable_draw_hscroll)
7336 (hildon_pannable_draw_vscroll):
7337 Use float variables to calculate the size of the scrollbars to
7338 avoid error propagation and resizing during scrolling.
7340 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7342 * src/hildon-pannable-area.c
7343 (hildon_pannable_draw_vscroll)
7344 (hildon_pannable_draw_hscroll):
7345 Define a minimum size for the scroll bars
7347 * src/hildon-stackable-window.c
7348 (hildon_stackable_window_go_home): Fix compilation warning
7349 (get_last_window): Minor optimizations
7350 (hildon_stackable_window_class_init): Fix initialization of
7353 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7355 * src/hildon-stackable-window.c: Fixed typos in doc
7357 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7359 * src/hildon-pannable-area.c
7360 (hildon_pannable_area_scroll):
7361 Calculate here whether we need to scroll instead of using the booleans
7362 that tell us whether to /draw/ the scrolling bars.
7364 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7366 * src/hildon-app-menu.h
7368 * src/hildon-app-menu.c
7369 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7370 multiple filter groups related code and API. Now we support only
7372 * examples/hildon-app-menu-example.c:
7374 Update to reflect API changes.
7376 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7378 * src/hildon-stackable-window.c
7379 (hildon_stackable_window_class_init):
7380 Add hildon_stackable_window_realize.
7381 (hildon_stackable_window_realize):
7382 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7383 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7384 to apply theming and behavior specific to HildonStackableWindow
7387 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7389 * src/hildon-note.c (hildon_note_button_release):
7390 Close information notes also when tapping on them
7392 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7394 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7395 ELASTICITY, refactor and review, fix some issues with drawing
7398 * src/hildon-pannable-area.c:
7399 (hildon_pannable_area_button_press_cb): removed the conditions to
7400 avoid clicks when overshooting. It is not required
7402 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7403 define. Refatored and reviewed the code, now we do not need to
7404 manage velocity in motion_notify.
7406 (hildon_pannable_area_motion_notify_cb): We have moved the code
7407 that controls the area_scroll to the axis_scroll function and get
7408 rid of duplicated code.
7410 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7412 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7414 (hildon_pannable_draw_vscroll),
7415 (hildon_pannable_draw_hscroll): Fixed the problems with the
7416 scrollbar drawing, now we do not use two surfaces, it is easier
7417 and saves resources.
7419 (hildon_pannable_area_get_property): Style modification.
7421 (hildon_pannable_area_class_init): Changed some default values.
7423 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7425 * src/hildon-stackable-window.c: Fix some typos in the
7428 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7430 * src/hildon-dialog.c:
7431 Change indentation style
7434 (hildon_note_button_release):
7435 Use root coordinates to check if the release event happened
7438 * src/hildon-app-menu.c
7439 (hildon_app_menu_button_release):
7440 Remove unnecessary check
7442 * examples/hildon-app-menu-example.c
7444 Add cast to fix warning
7446 * src/hildon-app-menu.c
7447 (hildon_app_menu_class_init):
7448 New inner-border style property.
7449 Set all default spacings to 16
7450 (hildon_app_menu_init):
7451 Use vertical-spacing to set the space between filter buttons and
7452 regular menu buttons.
7453 Set the default container border using the inner-border value.
7455 * examples/hildon-app-menu-example.c
7457 Don't set the menu border explicitly, now we have the inner-border
7458 style property for that.
7460 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7462 * src/hildon-app-menu.c (hildon_app_menu_init):
7463 Make the window modal
7465 * src/hildon-note.c (hildon_note_map)
7466 * src/hildon-app-menu.c (hildon_app_menu_map):
7467 Destroy the grab window if we're unable to grab the pointer
7469 * src/hildon-app-menu-private.h
7470 * src/hildon-app-menu.c
7471 (hildon_app_menu_init, hildon_app_menu_finalize)
7472 (hildon_app_menu_map, hildon_app_menu_unmap)
7473 (hildon_app_menu_button_release)
7474 (grab_transfer_window_get):
7475 Bring back the grab window
7476 (hildon_app_menu_realize):
7477 Decorate the window, set WM hint for Matchbox
7479 * src/hildon-note.c (hildon_note_realize):
7480 * src/hildon-banner.c (hildon_banner_realize):
7481 Add WM hints for Matchbox
7483 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7485 * src/hildon-app-menu-private.h
7486 * src/hildon-app-menu.c
7487 (hildon_app_menu_init, hildon_app_menu_finalize)
7488 (hildon_app_menu_map, hildon_app_menu_unmap)
7489 (hildon_app_menu_button_release):
7490 Remove the grab window, it's not needed anymore
7492 * src/hildon-program.c
7493 Fixed typo in documentation
7495 * src/hildon-app-menu.h
7496 * src/hildon-app-menu.c
7497 * examples/hildon-app-menu-example.c
7498 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7500 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7503 Added new transfer_window and close_if_pressed_outside private
7505 (hildon_note_rebuild):
7506 Don't add a cancel button to the information note. It will be
7507 closed when tapping outside
7508 Remove the comment about the OK button in the documentation
7509 (hildon_note_realize):
7510 Set the notification type hint
7511 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7512 Grab/ungrab pointer and keyboard if the note has to be closed when
7514 (hildon_note_button_release):
7515 Close the note when tapping outside (if applicable)
7517 * src/hildon-app-menu.c
7518 Grab/ungrab pointer and keyboard on map/unmap
7519 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7520 Close the menu on button release, not button press
7522 * src/hildon-banner.c
7523 (hildon_banner_set_property)
7524 (hildon_banner_check_position):
7525 Make the banner use the full width of the screen
7526 (hildon_banner_show_information)
7527 (hildon_banner_show_information_with_markup):
7528 Don't display an icon by default
7530 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7532 Added fading scrollbars and adapted all the overshooting code to
7533 horizontal scrolling. We have also fixed bugs with overshooting
7534 and current fading implementation.
7536 * src/hildon-pannable-area.c
7537 (hildon_pannable_area_scroll_indicator_fade): Time out function
7538 used to change the transparency of the scrollbars.
7540 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7541 control and fixed a problem with fading, we now remove the fade
7542 timeout before adding a new one.
7544 (hildon_pannable_axis_scroll):
7545 (hildon_pannable_area_scroll):
7546 (hildon_pannable_area_timeout): Added this functions so we can use
7547 the scroll code both for vertical and horizontal.
7549 (hildon_pannable_area_motion_notify_cb):
7550 (hildon_pannable_area_button_release_cb): Added the horizontal
7551 scrolling control, fixed a problem with the overshooting timeout.
7553 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7554 painting of the scrolls.
7556 (hildon_pannable_draw_vscroll):
7557 (hildon_pannable_draw_hscroll):
7558 (hildon_pannable_area_expose_event):
7559 Draw both scrollbars and rectangles in the overshooting area.
7561 (hildon_pannable_area_get_property):
7562 (hildon_pannable_area_set_property):
7563 Modified the overshoot property to overshoot_max
7565 (hildon_pannable_area_map):
7566 Replaced the comments symbols.
7568 (hildon_pannable_area_size_allocate):
7569 (hildon_pannable_area_class_init):
7570 (hildon_pannable_area_init): Added horizontal scroll, fading
7571 effect properties, fixed a problem when overshooting in the bottom
7574 * examples/hildon-pannable-area-example.c:
7575 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7576 looks better in the example.
7578 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7580 * src/hildon-window.c
7581 * src/hildon-window.h
7582 (hildon_window_class_init)
7583 (hildon_window_unset_program)
7584 (hildon_window_unset_program_real):
7585 Make unset_program a virtual function
7587 * src/hildon-stackable-window.c
7588 * src/hildon-stackable-window.h
7589 Added hildon_stackable_window_go_home()
7591 * examples/Makefile.am
7592 * examples/hildon-stackable-window-example.c
7593 HildonStackableWindow example
7595 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7597 * hildon-pannable-area.c: Added the overshoot property and removed
7598 the OVERSHOOT define. Fixed an indent style error.
7599 (hildon_pannable_area_motion_notify_cb):
7600 (hildon_pannable_area_get_property):
7601 (hildon_pannable_area_set_property): Add overshoot property.
7603 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7606 (hildon_pannable_area_class_init): Installed the new property.
7608 * hildon-pannable-area-example.c: Added a sawtooth function, this
7609 way it is easier to check the movement in the pannable.
7610 (get_sawtooth_label): Added this function.
7611 (main): Now we get the labels from the new get_sawtooth_label
7614 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7616 * src/hildon-app-menu.h
7617 * src/hildon-app-menu.c
7618 Renamed API variables for consistency
7620 (hildon_app_menu_popup): Use also the default window size to
7621 decide where to place the menu
7623 (hildon_app_menu_init, hildon_app_menu_class_init): New
7624 external-border style property
7626 2008-05-26 Michael Natterer <mitch@imendio.com>
7628 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7629 widget_class->tap_and_hold_setup signal slot doesn't exist any
7630 longer, stop overriding it.
7632 (hildon_time_editor_init): g_signal_connect() to the
7633 tap-and-hold-setup signal instead.
7635 (hildon_time_editor_entry_keypress): add cast to fix warning.
7637 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7639 * doc/hildon-docs.sgml
7641 * examples/Makefile.am
7642 * examples/hildon-app-menu-example.c
7644 * src/hildon-app-menu-private.h
7645 * src/hildon-app-menu.c
7646 * src/hildon-app-menu.h
7648 New HildonAppMenu widget
7650 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7652 Rearranged the inheritance of the pannable area, now it inherits
7653 from GtkBin. This will allow us to control the event_window and
7654 the allocation process of the widget, required for some effects.
7656 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7657 GtkBin structures. * src/hildon-pannable-area.c: Added the
7658 event_window variable.
7659 (hildon_pannable_area_button_press_cb):
7660 (hildon_pannable_area_button_release_cb):
7661 (hildon_pannable_area_motion_notify_cb):
7662 Changed the signature of the method, now we override the event
7663 callback instead of connecting to the signal.
7665 (hildon_pannable_area_realize):
7666 (hildon_pannable_area_unrealize):
7667 (hildon_pannable_area_map):
7668 (hildon_pannable_area_unmap):
7669 (hildon_pannable_area_size_allocate):
7670 Added functions to control the widget construction. We add a
7671 INPUT_ONLY window and we put it over the widgets inside the
7672 container, this event_window handles the events.
7674 (hildon_pannable_area_class_init):
7675 Replaced the signal connections with overrides of the event
7678 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7680 Bouncing effect added when touching the borders, you can change
7681 the elasticity of the border changing the ELASTICITY define.
7683 * src/hildon-pannable-area.c: Added ELASTICITY define.
7684 (hildon_pannable_area_timeout): Added inverse velocity when
7685 touching the border of the child widget, that causes a bounce.
7687 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7689 Improved performance, we now do not go to the X server in order to
7690 get the list of window children. Apparently the effect is the
7691 same, we have to be careful and check if this breaks something in
7694 * src/hildon-pannable-area.c:
7695 (get_ordered_children): Removed this function.
7696 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7697 the children windows function with gdk_window_get_children.
7699 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7701 * src/hildon-pannable-area.c:
7702 (hildon_pannable_area_dispose): Fixed a crash when closing the
7703 window and kinetics is activated.
7705 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7707 * src/hildon-pannable-area.h
7708 * src/hildon-pannable-area.c
7709 Changed indentation style to meet the one used in Hildon
7711 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7713 Reviewed the interaction of the AUTO mode, now we use the time
7714 attribute of the events and calculate the velocity in the motion,
7715 doing a gimp like calculation. The velocity is calculated in each
7716 motion event using the last velocity and the current one, the
7717 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7719 * src/hildon-pannable-area.c: Replaced the time based algorithm
7721 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7722 timeout for the AUTO mode when we are still moving the cursor. We
7723 added also the velocity calculation in this function.
7724 (hildon_pannable_area_button_release_cb): launch the timeout in
7725 case we are in AUTO mode. There are still some constants here that
7726 come from the old implementation that should be reviewed and
7729 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7731 * doc/hildon-docs.sgml
7734 * src/hildon-stackable-window.c
7735 * src/hildon-stackable-window.h
7737 New HildonStackableWindow widget
7739 * examples/hildon-dialog-example.c
7740 * examples/hildon-pannable-area-example.c
7743 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7745 * src/hildon-dialog.c
7746 (hildon_dialog_new_with_buttons): New constructor.
7748 * examples/hildon-dialog-example.c
7749 (main): Update the example to use the new
7750 hildon_dialog_new_with_buttons().
7752 * examples/hildon-pannable-area-example.c
7753 (main): Update example.
7755 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7757 * doc/hildon-docs.sgml
7759 Added HildonPannableArea to the documentation.
7761 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7763 * doc/visual_index.xml
7764 Fix reference to HildonLoginDialog in documentation
7766 * doc/hildon-docs.sgml
7768 * examples/Makefile.am
7769 * examples/hildon-dialog-example.c
7771 * src/hildon-dialog.c
7772 * src/hildon-dialog.h
7774 New HildonDialog widget.
7776 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7778 * src/hildon-pannable-area.c
7779 Merge latest changes (r4318, r4342) from libmokoui trunk
7781 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7783 * examples/Makefile.am
7784 * examples/hildon-pannable-area-example.c
7786 * src/hildon-pannable-area.c
7787 * src/hildon-pannable-area.h
7789 New HildonPannableArea widget.
7791 2008-04-15 18:05:19 <timj@imendio.com>
7793 * src/hildon-banner.c: revert the recent change, that introduced
7794 gtk_window_present() calls. this reopens:
7795 Bug 78481 - [freetest] information banners are hidden under browser menu
7796 But resolves another variant of:
7797 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7799 2008-04-15 13:21:13 <timj@imendio.com>
7801 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7802 recreated its layout, spotted by Kris. this fixes all remaining
7803 artefacts and stability issues with the banner code. in particular:
7804 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7806 2008-04-14 16:52:59 <timj@imendio.com>
7808 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7809 operating on unrealized widgets, fixes:
7810 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7812 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7814 2008-04-09 Kristian Rietveld <kris@imendio.com>
7816 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7817 makes banner disappear.
7818 Fixes: NB#79182: info banner flickering with certain message lengts.
7820 * src/hildon-banner.c (hildon_banner_constructor),
7821 (hildon_banner_init), (hildon_banner_set_text),
7822 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7823 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7824 FALSE, reset size requests of label and banner,
7825 (force_to_wrap_truncated): when the text is too wide, always enforce
7826 the maximum possible width instead of recalculating it from the
7827 layout; enforce the maximum banner height of 3 lines,
7828 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7829 nicer wrapping and no truncated chars if space gets tight.
7831 * src/hildon-banner-private.h: add has_been_wrapped and
7832 has_been_truncated fields.
7834 2008-04-07 Sven Herzberg <sven@imendio.com>
7836 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7837 local values in hildon_date_editor_size_allocate
7839 * src/hildon-date-editor.c: moved the real allocation code into the
7842 2008-04-07 Sven Herzberg <sven@imendio.com>
7844 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7845 local values in hildon_date_editor_size_allocate
7847 * src/hildon-date-editor.c: merged the two if() branches together
7849 2008-04-07 Sven Herzberg <sven@imendio.com>
7851 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7852 local values in hildon_date_editor_size_allocate
7854 * src/hildon-date-editor.c: changed the arguments of the if()
7857 2008-04-07 Sven Herzberg <sven@imendio.com>
7859 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7860 local values in hildon_date_editor_size_allocate
7862 * src/hildon-date-editor.c: split the calculation of the allocation
7863 from the real allocation
7865 2008-03-27 Michael Natterer <mitch@imendio.com>
7867 Fixes: NB#81696: The passcode is not overwritten even after
7870 * src/hildon-code-dialog.c
7871 (hildon_code_dialog_button_clicked)
7872 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7873 because that doesn't overwrite selected text. Instead, emit the
7874 "commit" signal on the entry's im_context so the entry's normal
7875 insert logic is triggered. Set the cursor to the end of the entry
7876 after each insert operation so that we *only* insert in the middle
7877 of the text if something was selected.
7879 2008-03-27 Michael Natterer <mitch@imendio.com>
7881 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7882 selector cannot be opened
7884 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7885 when the popup color selector is created. Please connect to this
7886 signal in order to set the dialog's help ID.
7888 2008-03-25 Sven Herzberg <sven@imendio.com>
7890 Fixes: MB#1212: Hide info banners (infoprints) on click
7892 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7893 extracted the close event simulation into an extra function
7894 (hildon_banner_button_press_event): simulate a close event and destroy
7895 the widget if the event wasn't handled
7896 (hildon_banner_class_init): added the button_press_event handler
7897 (hildon_banner_init): added button-press events to the widget
7899 2008-03-25 Sven Herzberg <sven@imendio.com>
7901 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7902 Patch from: Mohammad Anwari <mdamt@maemo.org>
7904 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7905 instead of the right in RTL mode
7906 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7907 breadcrumb button list in RTL mode
7908 * src/hildon-caption.c: mirror the appearance of the caption widget in
7910 * src/hildon-date-editor.c: mirror appearance of the date editor in
7912 * src/hildon-time-editor.c: mirror appearance of the time editor in
7914 * src/hildon-window.c: fix the position of the popup in RTL mode
7916 2008-03-25 Sven Herzberg <sven@imendio.com>
7918 Amendment to the fix of NB#22072. Fix compilation.
7920 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7922 2008-03-19 Sven Herzberg <sven@imendio.com>
7924 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7927 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7928 timeout id properly when the timeout will disappear this leaves no
7929 artifacts around in the destroy(); there will only be the timeout
7930 created by hildon_banner_ensure_timeout() and adding a new timeout
7931 will also work if the timeout gets removed because the timeout_handler
7934 2008-03-19 Michael Natterer <mitch@imendio.com>
7936 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7938 * src/hildon-volumebar.c
7939 * src/hildon-vvolumebar.c
7940 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7941 the widget becomes focussable at all.
7943 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7944 set the focus to wither the mute button or the volumebar.
7946 Remove own "can-focus" property and instead listen to
7947 notify::can-focus in order to update the widget's state.
7949 Implement GtkWidget::focus() and make sure we can also *leave* the
7950 widget, not only enter it, depending on volumebar orientation and
7951 requested focus direction.
7953 Clean up set_mute() to cooperate nicely with all the above.
7955 2008-03-04 Michael Natterer <mitch@imendio.com>
7957 Fixes: NB#78481: information banners are hidden under browser menu
7959 * src/hildon-banner.c: call gtk_window_present() on the banners so
7960 they are risen if they are already visible.
7962 2008-03-03 Sven Herzberg <sven@imendio.com>
7964 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7966 * examples/hildon-window-menu-example.c: (main): extended the window
7967 menu example to serve as a testcase for automatically added
7968 accelerator groups, too
7969 * src/hildon-window.c: (hildon_window_add_accel_group),
7970 (hildon_window_set_menu): added patch by Tommi Komulainen
7972 2008-03-03 Sven Herzberg <sven@imendio.com>
7974 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7976 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7977 knowledge about the border allocators used within GTK+
7979 2008-02-26 Sven Herzberg <sven@imendio.com>
7981 Fixes: MB#2981: Build with asserts broken
7983 * src/hildon-date-editor.c,
7984 * src/hildon-number-editor.c,
7985 * src/hildon-time-editor.c,
7986 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7987 the proper GType instance check
7989 2008-02-25 Sven Herzberg <sven@imendio.com>
7991 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7993 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7994 * examples/hildon-window-menu-example.c: (main): explicitly show
7996 * src/hildon-window.c:
7997 (hildon_window_set_main_menu): moved most of the code from set_menu()
7998 to this place; skipped the call to gtk_widget_show_all(); also didn't
7999 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8000 (hildon_window_set_menu): removed most of the code, just keep the
8001 questionable gtk_widget_show_all()
8002 * src/hildon-window.h: added the new function and deprecate the old
8005 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8011 * debian/changelog: Updating.
8013 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8016 * pkgconfig/Makefile.am:
8017 * pkgconfig/hildon.pc.in:
8020 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8021 use newly created API_MAJOR_VERSION.
8023 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8029 * debian/changelog: Updating.
8031 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8035 Add outer_border style property, we use it but don't define it (!).
8039 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8041 * examples/hildon-bread-crumb-trail-example.c (main):
8045 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8047 Fix logic for the bread crumb trail node removal.
8051 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8057 * debian/changelog: Updating.
8059 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 Patch by Alejandro to get/set passwords dialogs accesibility.
8063 * hildon-1/src/hildon-get-password-dialog.c:
8064 * hildon-1/src/hildon-set-password-dialog.c:
8065 Set atk_set_name to the passwd entries in order to allow
8066 accessibility by name on this entries.
8068 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * debian/control: Updating gtk dep.
8075 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8077 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8078 USE_MAEMO_GTK is enabled.
8080 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8082 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8083 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8085 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * debian/changelog: Updating.
8093 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8095 * examples/Makefile.am:
8096 * examples/hildon-logical-color-example.c:
8097 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8098 applied + adding a test case. Fixes: NB#71660.
8100 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8102 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8103 to be visible, fixes warning on map for windows without toolbars.
8105 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8107 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8108 2.11.0, add a check for that besides the MAEMO_GTK check.
8110 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8116 * debian/changelog: Updating.
8118 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8120 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8121 visibility. Fixes: NB#70842 and MB#615.
8123 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8125 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8126 set the separator as no-show-all so it doesn't unintentionally appear when
8127 someone does a show_all.
8129 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8132 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8133 toplevel item. Fixes: NB#62031
8135 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8137 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8138 fix the name of the function in the docs.
8140 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * debian/changelog: Updating.
8148 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * examples/hildon-banner-long-example.c: Adding a test-case for long
8153 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8155 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8157 * src/hildon-color-chooser-dialog.c:
8158 * src/hildon-color-chooser.c:
8159 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8160 memory leaks in font selector and color selector. Fixes: NB#70499 and
8163 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8165 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8167 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8170 little bit bigger. Fixes: #NB63694.
8172 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * debian/changelog: Updating.
8180 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * doc/hildon-docs.sgml:
8184 * doc/images/bread-crumb-trail.png:
8185 * doc/images/calendar-popup.png:
8186 * doc/images/caption.png:
8187 * doc/images/code-dialog.png:
8188 * doc/images/color-button.png:
8189 * doc/images/color-chooser-dialog.png:
8190 * doc/images/color-chooser.png:
8191 * doc/images/controlbar.png:
8192 * doc/images/date-editor.png:
8193 * doc/images/font-selection-dialog.png:
8194 * doc/images/get-password-dialog.png:
8195 * doc/images/hvolumebar.png:
8196 * doc/images/login-dialog.png:
8197 * doc/images/note.png:
8198 * doc/images/number-editor.png:
8199 * doc/images/range-editor.png:
8200 * doc/images/seekbar.png:
8201 * doc/images/set-password-dialog.png:
8202 * doc/images/sort-dialog.png:
8203 * doc/images/time-editor.png:
8204 * doc/images/time-picker.png:
8205 * doc/images/vvolumebar.png:
8206 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8207 Adding the bread-crumb-trial and helpers to the documentation.
8209 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8211 * examples/hildon-find-toolbar-example.c:
8212 * src/hildon-find-toolbar.c:
8213 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8214 actually continue firing the other handlers if connected. Adding a new
8216 hildon_find_toolbar_get_last_index that gets the index of the most
8217 recently added (last) item. Fixes: NB#52301.
8219 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8222 behaviour. Fixes: NB#68610.
8224 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8229 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8232 when realizing the banner. Should make the infonbanner effect a bit more
8235 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * src/hildon-volumebar.c:
8238 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8239 hildon_volumebar_set_range_insensitive_message and
8240 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8242 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * src/hildon-window.c: Fixing the border freeing on destroy.
8246 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-code-dialog-private.h:
8249 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8250 kw keyboard support in HildonCodeDialog.
8252 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * debian/changelog: Updating.
8260 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-date-editor.c:
8263 * src/hildon-number-editor.c:
8264 * src/hildon-private.c:
8265 * src/hildon-private.h:
8266 * src/hildon-time-editor.c:
8267 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8268 handling in subclassed composite widgets. Fixes: NB#66628.
8270 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8272 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8273 from destroy_ callback as it introduces problems in async dbus signal
8274 handlers. Fixes NB#66673.
8276 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * examples/hildon-hvolumebar-example.c:
8279 * src/hildon-volumebar.c: Improving the focus handling in the
8280 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8281 set_property accessor so that "mute" property can be actually set. I'm
8282 scared that nobody noticed it's totally broken.
8284 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8289 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * src/hildon-calendar.c:
8292 * src/hildon-number-editor.c:
8293 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8294 matches the spec of 6 chars per second. Fixes: NB#60489.
8296 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8298 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8299 gtk_style_lookup_color sometime returns FALSE even though color was
8300 found and values were filled properly. Weird. Removing the warning for the
8303 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8306 expand vertically. Adding some extra space to the find toolbar buttons to
8307 make them thumbable. Fixes NB#66060.
8309 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8311 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8312 popup with "Ok" and "Cancel". Fixes NB#59299.
8314 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-calendar.c: Process all window updates before executing next
8317 timeout. Fixes: NB#54146.
8319 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8325 * debian/changelog: Updating.
8327 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8329 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8330 the client event and ignore it, since we use the delete event to close
8333 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * src/hildon-helper.c: Remove the bogus warning about color not being
8336 found. Fixes NB#58352.
8338 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8340 * examples/Makefile.am:
8341 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8342 HildonSeekbar widget inside a toolbar.
8344 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8346 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8347 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8348 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8349 don't want to be closed by non-temporary windows on map.
8351 Also use G_DEFINE_TYPE instead of manually typed code.
8353 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * debian/rules: Updating.
8362 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * examples/Makefile.am:
8365 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8366 bug NB#61128. Strangely it works.
8368 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * src/hildon-date-editor.c: When the date editor entry has been changed
8371 but the numbers of characters < max, turn off the skip validation flag.
8372 Prevents a situation when we enter first a valid year and later re-write
8373 it with an invalid one. Fixes NB#60154.
8375 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8377 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8378 code dialog. Fixes NB#64355.
8380 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8382 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8383 switching the page. Fixes NB#49374.
8385 * examples/Makefile.am:
8386 * examples/hildon-wizard-dialog-example.c: Adding an example for
8387 HildonWizardDialog that shows how to handle manual sensitivity setting on
8390 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8394 * src/hildon-version.h.in:
8395 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8397 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * src/hildon-volumebar.c: Updating the docs.
8401 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8407 * debian/changelog: Updating.
8409 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-find-toolbar.c:
8412 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8413 selected item: hildon_find_toolbar_set_active,
8414 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8415 hildon_find_toolbar_get_active_iter . They correspond to respective
8416 GtkComboBox functions.
8418 * examples/Makefile.am:
8419 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8422 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 * examples/Makefile.am:
8425 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8428 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8429 when font size > 32 and we pack a focusable widget inside. Actually using
8430 the default response would work too, but since we don't show default
8431 response state in any way (no theming) it would not be visible to the
8432 user. Fixes NB#63430.
8434 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8436 * src/hildon-date-editor.c: Adding the missing variable setter in the
8437 set_property handler. Fixes NB#54182.
8439 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * src/hildon-window.h: Changing the long key press time from 1500ms to
8442 800ms as requested in NB#63700. I have a bad feeling about this, let's
8443 see... Fixes NB#63700.
8445 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8447 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8448 hildon_time_picker_map, hildon_time_picker_realize,
8449 hildon_time_picker_style_set): Split the contents of map to more
8450 appropriate functions; set window decorations on realize and update
8451 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8453 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8458 * debian/changelog: Updating.
8460 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8462 * src/Makefile.am: fixed installation of the header files
8464 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8470 * debian/changelog: Updating.
8472 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8474 * configure.ac: Removing some remaining of --enable-xan.
8476 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8479 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8481 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8482 2.10.12-osso6 because the move-focus signal needs to be available in
8485 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * examples/Makefile.am:
8488 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8489 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8490 fine. Prolly NB#61128 is fixed now.
8492 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8494 * src/hildon-volumebar.c:
8495 * src/hildon-volumebar.h: Adding the
8496 hildon_volumebar_set_range_insensitive_message and
8497 hildon_volumebar_set_range_insensitive_messagef functions to set
8498 insensitive message on the slider of the volumebar. Fixes NB#61129.
8500 * examples/Makefile.am:
8501 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8502 test the new insensitive messsage functionality on HildonVolumebar.
8504 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8506 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8509 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8511 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8512 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8513 button on after clearing the trail.
8515 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8519 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8521 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8522 by splitting the installed headers in generated and non-generated groups. Use
8523 only the non-generated headers to create the hildon-enum-types.h file.
8525 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8527 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * src/hildon-window.c: Hide the window before performing the destroy.
8530 Should make the app closing a little tiny bit more snappy.
8532 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8534 * src/hildon-seekbar.c: add gtkrange.h header
8535 * src/hildon-caption.c: remove unused variable
8537 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8539 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8542 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8548 * debian/changelog: Updating.
8550 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8552 * src/hildon-window.c (hildon_window_window_state_event,
8553 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8554 escape timeout on focus-out-event rather than notify::is-topmost; the
8555 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8557 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8559 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8560 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8562 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8564 * src/hildon-window: actually, you need to use the macro always, there's
8565 no private pointer in the instance structure. We should have cleaned this up
8566 when we had the chance...
8568 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8570 * src/hildon-window.c: do not get the private date from HildonWindow before
8571 it passes the g_return_if_fail check. Once it's passed the test, there's no
8572 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8573 if you are only going to access the data once. Whitespace cleanups.
8575 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8577 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8578 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8580 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * debian/changelog: Updating.
8588 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-window.c: When destroying the window, remove (if exists) the
8591 escape timeout handler. Fixes #NB59276.
8593 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * src/hildon-banner.c: When realizing the widget, set the window
8596 transiency. Setting the transiency in the gobject constructor is not
8597 good, as the widget is not realized at that point. Fixes: #NB56624.
8599 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8601 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8602 Add padding for future expansions.
8604 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8607 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8608 will fake an activation on the previous to the last item of the trail, so
8609 the effect can be overrided by the developer as usual.
8610 Also change the callback for the back button to do the same thing, so its
8611 effect can be overrided too. Fixes: NB#58982
8613 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8616 HildonCaption. Fixes NB#52379.
8618 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8620 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8621 the internal state of the trail after the user has had the chance of executing
8622 his handler for the signal. Specifically, it may happen that the activated button
8623 is removed and the user still lets the default handler run. This would segfault
8626 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8629 scrollbar to the preview dialog. Fixes NB#54147.
8631 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8634 max/min year properties can be altered, so the client can modify it
8635 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8637 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8639 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8640 hildonlike by default. Fixing a problem with disappearing arrows when
8641 scrolling through months and years. Fixes NB#54127.
8643 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * examples/hildon-date-editor-example.c: Adding error callback to the date
8648 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * configure.ac: Updating.
8656 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * configure.ac: Adding a special '--enable-xan' configure option that
8659 turns off the -Werror compilation setting. Usefull for development.
8661 * src/hildon-calendar.c:
8662 * src/hildon-number-editor.c:
8663 * src/hildon-time-picker.c: Adding the 5* multiplier to
8666 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8669 instead of g_object_ref + gtk_object_sink.
8671 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * debian/changelog: Updating.
8679 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * src/hildon-color-chooser-dialog.c:
8682 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8683 straight from Tommi labs.
8685 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * examples/hildon-finger-example.c: Correcting the header file path.
8689 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8690 the changed signal. Fixes a small memory leak.
8692 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * src/hildon-banner.c: Importing several usefull fixes from the
8697 ubuntu-mobile branch.
8699 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * examples/Makefile.am:
8702 * examples/hildon-finger-example.c: Adding a finger-checking code
8705 * src/hildon-font-selection-dialog.c: Do not allocate the color
8706 structure using the g_new. Fixes NB#54061.
8708 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-helper.c: Correcting tabs in file.
8712 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8714 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8715 control the visibility of the children.
8717 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8719 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * debian/changelog: Updating.
8727 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8729 * src/hildon-bread-crumb-trail.c:
8730 (hildon_bread_crumb_trail_size_allocate):
8732 Make the back button always a square.
8734 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8736 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8737 from the .c file as it's a private file.
8739 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8742 uses slightly bigger height.
8744 * src/hildon-font-selection-dialog.c: Adding some checks before
8745 freeing memory in the font selection dialog.
8747 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8749 * src/hildon-font-selection-dialog.c: Adding a small check when
8752 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8753 buttons sensitivity on page switching.
8755 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8757 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8758 internal details of adding a bread crumb to the trail.
8760 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * debian/changelog: Updating.
8768 * src/hildon-bread-crumb-trail.h:
8769 * src/hildon-bread-crumb.h: Changing the API guard to
8770 HILDON_ENABLE_UNSTABLE_API.
8772 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8780 * src/hildon-helper.h: Updating.
8782 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * src/hildon-helper.h: Small fix to make the package actually compile.
8796 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8798 * src/hildon-bread-crumb-trail.h:
8799 * src/hildon-bread-crumb.h:
8801 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8802 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8804 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8806 * examples/hildon-bread-crumb-trail-example.c:
8808 * src/hildon-bread-crumb-trail.c:
8809 * src/hildon-bread-crumb-trail.h:
8810 * src/hildon-bread-crumb.c:
8811 * src/hildon-bread-crumb.h:
8812 * src/hildon-marshalers.list:
8813 * src/hildon-bread-crumb-widget.c:
8814 * src/hildon-bread-crumb-widget.h:
8816 Slight change in the widget design. The bread crumb trail API is
8817 unchanged, but HildonBreadCrumb is now an interface. A *private*
8818 implementation, hildon-bread-crumb-widget, is provided and used
8819 internally by the trail for the push_text/push_icon functions.
8821 The generic push API is still available, so anyone can implement
8822 and use its own bread crumb widget.
8824 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * debian/rules: Fixing the shlibs.
8828 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8830 * src/hildon-banner.c: Fixing a problem with timed banners having
8831 their parrent destroyed before they are.
8833 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8835 * src/hildon-bread-crumb.c:
8836 * src/hildon-bread-crumb.h:
8838 Make the get_natural_size function a vfunc.
8840 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8842 * src/hildon-bread-crumb.c:
8843 * src/hildon-bread-crumb-trail.c:
8847 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8854 * debian/changelog: Updating for release.
8856 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8858 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8859 don't leak the pango layout.
8861 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8864 * examples/hildon-bread-crumb-trail-example.c:
8868 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8870 * debian/changelog: Removing the bug-fixed entries that were actually
8871 resolved as WONTFIX.
8873 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8876 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8878 * src/hildon-bread-crumb-trail.c:
8879 * src/hildon-bread-crumb-trail.h:
8880 * src/hildon-bread-crumb.c:
8881 * src/hildon-bread-crumb.h:
8885 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8887 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8888 until it's passed the type check.
8890 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8892 * examples/hildon-bread-crumb-trail-example.c
8896 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8898 * examples/Makefile.am
8899 * examples/hildon-bread-crumb-trail-example.c
8901 * src/hildon-bread-crumb-trail.c
8902 * src/hildon-bread-crumb-trail.h
8903 * src/hildon-bread-crumb.c
8904 * src/hildon-bread-crumb.h
8906 New HildonBreadCrumbTrail widget.
8908 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8910 * src/hildon-range-editor.c (hildon_range_editor_init),
8911 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8912 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8913 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8914 hildon_time_editor_class_init, hildon_time_editor_init),
8915 src/hildon-get-password-dialog.c (invalid_input,
8916 hildon_get_password_set_property, hildon_get_password_get_property,
8917 create_contents, hildon_get_password_dialog_set_max_characters),
8918 src/hildon-set-password-dialog.c (create_contents),
8919 src/hildon-date-editor.c (hildon_date_editor_init),
8920 src/hildon-login-dialog.c (hildon_login_dialog_init),
8921 src/hildon-number-editor.c (hildon_number_editor_init),
8922 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8923 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8924 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8925 configure option and adding the respective checks in the code.
8926 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8927 hildon_calendar_drag_data_received): fixed some build warnings.
8929 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * debian/changelog: A 1.0.0 release notes.