1 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-touch-selector-entry.c
4 * hildon/hildon-touch-selector.c
5 Update the documentation of the "text-column" property
7 2009-06-17 David King <davidk@openismus.com>
9 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
10 several typos and errors throughout the documentation.
12 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
15 2009-06-18 Alberto Garcia <agarcia@igalia.com>
17 * hildon/hildon-note.c (hildon_note_realize):
18 Make HildonNote support portrait mode.
20 Fixes: NB#123448 (HildonNote is not portrait-friendly)
22 2009-06-17 Alberto Garcia <agarcia@igalia.com>
24 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
25 Document this function
27 2009-06-17 David King <davidk@openismus.com>
29 * hildon/hildon-date-selector.c
30 (hildon_date_selector_select_current_date)
31 (hildon_date_selector_get_date): Update documentation regarding days,
32 as the day of the month is dependent on both the month and the year.
33 (hildon_date_selector_get_date): Fix documentation of output arguments.
35 Fixes: MB#4698 (DateSelector documentation has bad output argument
36 description, and the day depends on both the month and the year)
38 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
40 * hildon/hildon-caption.c: Other documentation fixes to
43 2009-06-17 David King <davidk@openismus.com>
45 * hildon/hildon-caption.c: Minor documentation updates for
46 HildonCaption. Fixes MB#4697.
48 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
50 * doc/hildon-docs.sgml: Add hildon-version section.
51 * doc/hildon-sections.txt:
52 * hildon/hildon-version.h.in: Document versioning macros and
55 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
57 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
58 from HildonPickerDialog section.
60 2009-06-16 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-banner.c (hildon_banner_bind_style)
63 (screen_size_changed, hildon_banner_init)
64 (hildon_banner_real_show_information)
65 (hildon_banner_show_information_with_markup)
66 (hildon_banner_show_animation, hildon_banner_show_progress):
67 Set a different widget name to banners in portrait mode, for them
68 to be themed correctly.
70 2009-06-16 Alberto Garcia <agarcia@igalia.com>
72 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
73 Set a different widget name to notes in portrait mode, for them to
76 Partially fixes: NB#118401 (HildonNote causes unnecessary
79 2009-06-16 Alberto Garcia <agarcia@igalia.com>
81 * hildon/hildon-note.c (hildon_note_class_init)
82 (+hildon_note_size_request, screen_size_changed):
83 Always request the full width of the screen.
85 Fixes: NB#118375 (unnecessary rescaling of images)
87 2009-06-16 Alejandro G. Castro <alex@igalia.com>
89 * hildon/hildon-pannable-area.c,
90 (hildon_pannable_area_init),
91 (hildon_pannable_area_realize): Replaced old code adding flags in
92 the object init, now we add it with the other flags in the realize
95 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
97 * hildon/hildon-note.c: (hildon_note_class_init): Several
98 documentation improvements to the HildonNote widget.
100 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
102 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
104 Fixes: MB#4556 (HildonNoteType is undocumented)
106 2009-06-15 Alberto Garcia <agarcia@igalia.com>
108 * hildon/hildon-picker-button.c:
109 Explain how HildonPickerButton sets the title of its dialog
111 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
112 the title of its dialog)
114 2009-06-15 Alberto Garcia <agarcia@igalia.com>
116 * hildon/hildon-check-button.c:
117 Documentation updates
119 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
122 2009-06-15 Alberto Garcia <agarcia@igalia.com>
125 * hildon/hildon-edit-toolbar-private.h
126 * hildon/hildon-edit-toolbar.c
127 (+hildon_edit_toolbar_set_progress_indicator)
128 (hildon_edit_toolbar_init): Add progress indicator to the
131 * hildon/hildon-gtk.c
132 (hildon_gtk_window_set_progress_indicator):
133 If the window contains a HildonEditToolbar, enable the progress
136 * hildon/hildon-private.h
137 * hildon/hildon-private.c
138 (+hildon_private_create_animation)
139 * hildon/hildon-banner.c
140 (-hildon_banner_create_animation):
141 Moved to hildon-private.c
143 Fixes: NB#102373 (Progress indicator also for the Edit mode
146 2009-06-15 Alberto Garcia <agarcia@igalia.com>
148 * hildon/hildon-app-menu-private.h
149 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
150 (hildon_app_menu_add_filter, +menu_item_button_event)
151 (hildon_app_menu_button_release, hildon_app_menu_init):
152 Make sure that buttons receive 'button-release-event' in spite of
153 the grab held by HildonAppMenu
155 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
157 2009-06-15 Alberto Garcia <agarcia@igalia.com>
159 * hildon/hildon-app-menu.c
160 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
161 New style property to set the size of the group of filter buttons.
163 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
165 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
170 * configure.ac: Bump version.
171 * debian/changelog: Updates.
173 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
175 * hildon/hildon-main.c: Minor documentation fixes.
177 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
179 * doc/hildon-sections.txt:
180 * hildon/hildon-defines.h: Document the defines, organize them,
181 and mark deprecations as such.
183 Fixes: MB#4463 (Hildon size #defines are undocumented)
185 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
187 * hildon/hildon-animation-actor.c:
188 * hildon/hildon-app-menu.c:
189 * hildon/hildon-button.c:
190 * hildon/hildon-date-editor.c:
191 * hildon/hildon-dialog.c:
192 * hildon/hildon-edit-toolbar.c:
193 * hildon/hildon-entry.c:
194 * hildon/hildon-program.c:
195 * hildon/hildon-remote-texture.c:
196 * hildon/hildon-stackable-window.c:
197 * hildon/hildon-text-view.c:
198 * hildon/hildon-touch-selector.c:
199 * hildon/hildon-window-stack.c:
200 * hildon/hildon-window.c:
202 Remove redundant "represents" wording from most of the documentation.
204 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
206 2009-06-12 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-banner-private.h
212 * hildon/hildon-banner.c:
213 Move HildonBannerPrivate to hildon-banner.c and remove
214 hildon-banner-private.h
215 Use a bit field to store private booleans.
217 2009-06-12 Alberto Garcia <agarcia@igalia.com>
219 * hildon/hildon-app-menu.c (hildon_app_menu_map):
220 Don't install a new idle function if there's already one
225 2009-06-11 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
228 (+legacy_menu_realized, +legacy_menu_unmapped)
229 (+set_legacy_menu_type):
230 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
231 they can be identified by the window manager.
233 Fixes: NB#101437 (Invoking CSM on the left side of page area is
234 displayed in wrong location)
236 Fixes: MB#4563 (Popup menu won't locate at the left side of the
239 2009-06-11 Alberto Garcia <agarcia@igalia.com>
241 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
243 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
246 2009-06-11 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-code-dialog.c
249 * hildon/hildon-date-editor.c
250 * hildon/hildon-number-editor.c
251 * hildon/hildon-seekbar.c
252 * hildon/hildon-stackable-window.c
253 * hildon/hildon-window.c:
254 Misc documentation updates
256 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
258 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
259 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
261 Fixes: NB#117931 (Theming issues in accounts dialogs)
263 2009-06-09 Alejandro G. Castro <alex@igalia.com>
265 * hildon/hildon-pannable-area.c,
266 (hildon_pannable_area_button_release_cb): Changed the coordinates
267 of the original release in case we want to discard the release,
268 some widgets in Fremantle do not handle the leave-notify.
270 2009-06-09 Alejandro G. Castro <alex@igalia.com>
272 * hildon/hildon-pannable-area.c,
273 (hildon_pannable_area_button_release_cb): Reviewed the logic of
274 the release using the last refactored functions and avoiding the
275 movement if an element was selected.
277 2009-06-09 Alejandro G. Castro <alex@igalia.com>
279 * hildon/hildon-pannable-area.c,
280 (hildon_pannable_area_check_move),
281 (hildon_pannable_area_handle_move),
282 (hildon_pannable_area_motion_notify_cb): Refactored the
283 motion_notify method using a couple of new functions.
285 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
287 * hildon/hildon-date-selector.c:
288 (hildon_date_selector_construct_ui):
289 * hildon/hildon-time-selector.c:
290 (hildon_time_selector_constructor):
291 * hildon/hildon-touch-selector-entry.c:
292 (hildon_touch_selector_entry_set_text_column),
293 (hildon_touch_selector_entry_get_text_column):
294 * hildon/hildon-touch-selector.c: (_default_print_func),
295 (hildon_touch_selector_new_text): Use
296 hildon_touch_selector_set/get_text_column() instead of
297 setting/getting the "text-column" property.
299 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
301 * doc/hildon-sections.txt: Add the new public methods below.
303 * examples/hildon-picker-button-multicolumn-example.c:
304 (create_touch_selector):
305 * examples/hildon-touch-selector-example.c: (create_selector):
306 * examples/hildon-touch-selector-multi-cells-example.c:
308 Use hildon_touch_selector_column_set_text_column()
310 * hildon/hildon-touch-selector-column.h:
311 * hildon/hildon-touch-selector.c:
312 (hildon_touch_selector_column_set_text_column),
313 (hildon_touch_selector_column_get_text_column):
314 Make hildon_touch_selector_column_set/get_column() public, use
315 them in the inline example, document them, and reference to them
318 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
320 * hildon/hildon-time-selector.c: Fix the docs for
321 hildon_time_selector_new_step().
323 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
325 * hildon/hildon-touch-selector.c: Improve the documentation for
326 hildon_touch_selector_append_column().
328 Fixes MB#4641 (Documentation:
329 hildon_touch_selector_append_column() ref-counting)
331 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
333 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
334 Comment out test 5, since the hildon_controlbar_set_range() range
335 check is broken and fixing it would have side effects. Also,
336 this finally fixes make distcheck.
338 Fixes: NB#101420 (Update unit tests and fix make distcheck)
340 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
342 * tests/TEST-CASES.txt: Remove other bogus test.
343 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
344 Remove bogus test that was setting/retrieving a valid value.
346 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
348 * tests/TEST-CASES.txt: Remove bogus tests.
349 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
350 Remove three bogus tests that were actually setting valid colors.
352 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
354 * configure.ac: post release version bump
355 * debian/changelog: post release version bump
357 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
362 * configure.ac: Bump version.
363 * debian/changelog: Updates.
365 2009-06-08 Christian Dywan <christian@lanedo.com>
369 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
370 Correct errors in hildon_format_file-size_for_display and use
371 translations from the hildon-fm package instead of osso-filemanager.
373 2009-06-08 Alejandro G. Castro <alex@igalia.com>
375 * hildon/hildon-pannable-area.c,
376 (hildon_pannable_area_init): Initialized new values to handle the
378 (hildon_pannable_area_adjust_value_changed): Check if the values
379 changed before even call the redraw function.
380 (hildon_pannable_area_size_allocate),
381 (hildon_pannable_axis_scroll),
382 (hildon_pannable_area_scroll),
383 (hildon_pannable_area_jump_to): Improved the diagonal movement
386 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
389 2009-06-08 Alberto Garcia <agarcia@igalia.com>
391 * examples/hildon-banner-example.c:
392 Several style updates
393 (on_animation_clicked, on_animation_idle)
394 (on_progress_clicked, on_progress_idle):
395 Add additional reference for the cases when the parent window is
398 2009-06-08 Alberto Garcia <agarcia@igalia.com>
400 * doc/hildon-sections.txt
401 * hildon/hildon-pannable-area.c
402 * hildon/hildon-banner.h
403 * hildon/hildon-banner.c: Documentation updates.
405 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
408 2009-06-05 Alejandro G. Castro <alex@igalia.com>
410 * hildon/hildon-calendar-popup.h:
411 * hildon/hildon-caption.h:
412 * hildon/hildon-code-dialog.h:
413 * hildon/hildon-controlbar.h:
414 * hildon/hildon-date-editor.h:
415 * hildon/hildon-dialog.h:
416 * hildon/hildon-get-password-dialog.h:
417 * hildon/hildon-hvolumebar.h:
418 * hildon/hildon-login-dialog.h:
419 * hildon/hildon-note.h:
420 * hildon/hildon-number-editor.h:
421 * hildon/hildon-range-editor.h:
422 * hildon/hildon-seekbar.h:
423 * hildon/hildon-set-password-dialog.h:
424 * hildon/hildon-sort-dialog.h:
425 * hildon/hildon-time-editor.h:
426 * hildon/hildon-time-picker.h:
427 * hildon/hildon-volumebar-range.h:
428 * hildon/hildon-volumebar.h:
429 * hildon/hildon-vvolumebar.h:
430 * hildon/hildon-weekday-picker.h:
431 * hildon/hildon-window.h:
432 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
433 macros with the current replacements
435 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
437 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
439 * hildon/hildon-color-button.c (hildon_color_button_init): Use
440 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
441 itself, to make it fit better with Fremantle style.
443 Fixes: NB#109878 (height and width of focus on color icon is not
444 consistent with other item in the application tool bar)
446 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
448 * hildon/hildon-touch-selector.c:
449 (hildon_touch_selector_optimal_size_request): use the current requisition
450 as the base, in order to include any possible extra widget, like the
451 hildon entry on HildonTouchSelectorEntry
453 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
455 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
457 * configure.ac: post release version bump
458 * debian/changelog: post release version bump
460 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
465 * configure.ac: Bump version.
466 * debian/changelog: Updates.
468 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
470 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
472 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
473 to ensure the banner contents are centered, instead of relying on
474 the expand and fill properties in GtkHBox.
475 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
477 Fixes: NB#108265 (Animation banner not properly centered)
479 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
481 * hildon/hildon-pannable-area.c
482 (hildon_pannable_area_initial_effect): Remove the initial_effect
483 management, check initial_hint
484 (hildon_pannable_are_expose_event): Remove the initial_hint management,
485 set initial_effect to FALSE
486 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
487 by launching the fade_timeout if the scrollbars state has changed and are
489 * examples/hildon-pannable-area-initial-hint-example.c
490 Modified to allow to remove rows too. Add and remove rows one by one.
492 2009-05-28 Alberto Garcia <agarcia@igalia.com>
494 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
495 Don't close the menu if there's an animation actor below it.
497 Fixes: NB#117927 (Application menu not usable with animation
500 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
502 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
503 "focus-on-click" from the dialog button, to avoid stealing the
504 focus from the entry.
506 Fixes: NB#118903 (Account setup wizard: Text in Search field
507 should be focused when "Region" touch list picker is reopened
510 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
513 (prepare_action_area): Completely hide the dialog separator.
515 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
517 * hildon/hildon-touch-selector-entry.c
518 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
519 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
520 now that the entry is exposed.
522 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
524 * hildon/hildon-touch-selector-entry.c
525 (hildon_touch_selector_entry_init): Change the entry's size
526 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
528 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
530 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
531 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
532 avoid unnecessary scaling.
534 2009-05-27 Alberto Garcia <agarcia@igalia.com>
536 * hildon/hildon-app-menu.c (hildon_app_menu_map):
537 Create grab transfer window before calling parent's map function.
539 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
540 "crushed" button(s) in the top left corner)
542 2009-05-26 Alberto Garcia <agarcia@igalia.com>
544 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
545 Check if the window is already realized when pushing it.
547 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
549 * configure.ac: post release version bump
550 * debian/changelog: post release version bump
552 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
557 * configure.ac: Bump version.
558 * debian/changelog: Updates.
560 2009-05-25 Alberto Garcia <agarcia@igalia.com>
562 * hildon/hildon-app-menu.c: Doc updates.
564 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
566 * hildon/hildon-banner.c: Remove leftover macro.
568 2009-05-25 Alejandro G. Castro <alex@igalia.com>
570 * hildon/hildon-pannable-area.c,
571 (hildon_pannable_area_scroll_indicator_fade),
572 (hildon_pannable_area_button_release_cb): Reviewed vmin
573 conditions, it could cause problems in the fadeout procedure.
575 2009-05-25 Alejandro G. Castro <alex@igalia.com>
577 * hildon/hildon-pannable-area.c
578 (hildon_pannable_area_button_release_cb): Added a threshold to
579 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
581 2009-05-25 Alejandro G. Castro <alex@igalia.com>
583 * hildon/hildon-pannable-area.c,
584 (hildon_pannable_area_set_property): Added code to sync the gtk
585 dnd threshold with the panning threshold.
587 2009-05-25 Alejandro G. Castro <alex@igalia.com>
589 * hildon/hildon-pannable-area.c,
590 (hildon_pannable_area_class_init): Changed some of the default
591 values, now it should be less responsive and more accurate.
593 2009-05-25 Alejandro G. Castro <alex@igalia.com>
595 * hildon/hildon-pannable-area.c,
596 (hildon_pannable_area_init),
597 (hildon_pannable_area_scroll_indicator_fade),
598 (hildon_pannable_area_button_press_cb),
599 (hildon_pannable_axis_scroll),
600 (hildon_pannable_area_timeout),
601 (hildon_pannable_area_motion_notify_cb),
602 (hildon_pannable_area_button_release_cb): Changed the name of the
603 clicked attribute to button_pressed, it is more clear about its use.
605 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
607 * src/hildon-pannable-area.c
608 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
610 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
611 vertical scrollbar visibility, and use the data on private section instead,
612 remove the initial_hint check
613 (hildon_pannable_area_expose_event): add the initial_hint check here
615 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
617 * src/hildon-pannable-area.c
618 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
619 if the fadeout effect was used
620 (hildon_pannable_area_expose_event): check if it is required to
621 manage the initial effect on the begining of the function. Previously
622 it was made at the end, but this doesn't ensure that the scrollbars
623 will be painted on the first show. Do not set to FALSE initial_effect,
624 to ensure that the initial hint is showed the first time the pannable
626 * examples/Makefile.am
627 * examples/hildon-pannable-area-initial-hint-example.c:
628 New example, to show that the initial-hint is showed when the widget
631 Fixes: NB#116607 (Pannable area should always have scrollbar visible
632 initially if the application can be scrolled)
634 2009-05-25 Alberto Garcia <agarcia@igalia.com>
636 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
637 Resize table before adding new items to make sure that
638 gtk_table_resize() is called just once.
640 2009-05-25 Alberto Garcia <agarcia@igalia.com>
642 * hildon/hildon-app-menu-private.h
643 * hildon/hildon-app-menu.c (item_visibility_changed)
644 (filter_visibility_changed, hildon_app_menu_show_all)
645 (hildon_app_menu_hide_all, hildon_app_menu_init):
646 Rearrange items just once when gtk_widget_show_all()/hide_all()
649 2009-05-25 Alberto Garcia <agarcia@igalia.com>
651 * hildon/hildon-app-menu.c
652 (hildon_app_menu_insert, hildon_app_menu_add_filter):
653 Don't call gtk_widget_show() on added items.
655 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
656 automatically when they're added)
658 2009-05-20 Alberto Garcia <agarcia@igalia.com>
660 * hildon/hildon-banner.c
661 (hildon_banner_realize, +hildon_banner_unrealize)
662 (+screen_size_changed, hildon_banner_class_init):
663 Redisplay the banner if the screen is rotated.
665 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
666 on transition from landscape to portrait)
668 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
670 * hildon/hildon-banner.[ch]:
671 (hildon_banner_show_information_override_dnd): remove icon_name from the
672 method definition as it is ignored.
673 * examples/hildon-banner-dnd-example.c: updated with the change on
676 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
678 * hildon/hildon-banner-private.h: new require_override_dnd and
679 overrides_dnd variables
680 * hildon/hildon-banner.h:
681 (hildon_banner_show_information_override_dnd): new method, that shows
682 the information but sets the override flag, in order to show important
684 * hildon/hildon-banner.c
685 (hildon_banner_show_information_override_dnd): new method
686 (hildon_banner_set_override_flag): new utility function
687 (hildon_banner_real_show_information): new utility function, in order to
688 generalize the current hildon_banner_show_information_override_dnd and
689 hildon_banner_show_information_override_dnd
690 * examples/Makefile.am
691 * examples/hildon-banner-dnd-example.c: New example that show how to
692 use the new hildon_banner_show_information_override_dnd
694 Fixes: NB#114874 (There is no possibility to show hildon banners with
697 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
699 * hildon/hildon-pannable-area.c: Add a comment explaining the math
700 behind hildon_pannable_calculate_vel_factor().
702 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
704 * hildon/hildon-pannable-area.c
705 (hildon_pannable_calculate_vel_factor): Correct the sum of the
706 deceleration factors.
708 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
710 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
711 Reduce the default value for 'scroll_time' to 1 second, since the
712 current initial scrolling takes too much time.
714 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
716 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
717 calculate velocity factor during initialization, since the properties
720 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
722 * hildon/hildon-pannable-area.c
723 (hildon_pannable_area_set_property): Calculate the velocity factor
724 after setting the deceleration property and not after.
726 2009-05-20 Alberto Garcia <agarcia@igalia.com>
728 * hildon/hildon-entry.c
729 (hildon_entry_class_init, +set_property, hildon_entry_new)
730 * hildon/hildon-check-button.c
731 (hildon_check_button_class_init)
732 (+set_property, hildon_check_button_new):
733 Make the theme size a property.
735 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
736 others) do too much in the _new function)
738 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
740 * configure.ac: post release version bump
741 * debian/changelog: post release version bump
743 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
748 * configure.ac: Bump version.
749 * debian/changelog: Updates.
751 2009-05-15 Alberto Garcia <agarcia@igalia.com>
753 * hildon/hildon-gtk.h
754 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
755 New API function to take a screenshot of a window
757 Fixes: NB#106374 (Need API to take a loading screenshot)
759 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
761 * hildon/hildon-time-selector.c
762 (update_format_policy): prevent to use hours and minutes unitialized
764 2009-05-15 Alberto Garcia <agarcia@igalia.com>
766 * hildon/hildon-window.c (hildon_window_size_request):
767 Always request the full size of the screen (minus the title bar if
768 not in fullscreen mode).
770 Fixes: NB#107486 (HildonWindow should size itself properly)
772 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
774 * hildon/hildon-note-private.h: Add idle_handler to the private data.
775 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
776 (on_show_cb), (sound_handling): Disconnect the idle handler for
777 the sound when the note is finalized to avoid possible crashes.
779 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
782 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
784 * src/hildon-animation-actor.c,
785 * src/hildon-remote-texture.c:
786 Added proper object cleanup to remove signal handler and object
787 references as HildonAnimationActor and HildonRemoteTexture
788 objects get destroyed.
790 Fixes: NB#116682 (Destroying parented animation actors when
791 parent in unmapped leads to crash)
793 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
795 Based on a patch by Christian Dywan (christian@imendio.com)
797 * doc/hildon-sections.txt:
798 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
799 * hildon/hildon-helper.h: New file size formatting method.
801 * debian/control: Depend on osso-filemanager l10n package for
802 proper localization strings.
804 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
806 * tests/Makefile.am: Include top_srcdir to make possible to build
807 tests in a different builddir.
808 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
809 on a different builddir.
811 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
813 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
814 (hildon_touch_selector_remove): Disconnect model's signal handler
817 Fixes: NB#116289 (Hildon home crashes while adding task
820 2009-05-11 Alberto Garcia <agarcia@igalia.com>
822 * hildon/hildon-button.c
823 (hildon_button_set_title, hildon_button_set_value):
824 Hide labels containing an empty string.
826 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
828 * configure.ac: post release version bump
829 * debian/changelog: post release version bump
831 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
836 * configure.ac: Bump version.
837 * debian/changelog: Updates.
839 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
841 * hildon/hildon-note-private.h: Removed sound_signal_handler
842 * hildon/hildon-note.c
843 (on_show_cb): new callback on note "show" event, this simply adds
844 a idle, with the function sound_handling
845 (sound_handling): removed the sound_signal_handler management
846 (hildon_note_init): connect note "show" event to on_show_cb
847 (hildon_note_realize): remove the connection to "expose-event"
849 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
850 device?' confirmation note)
852 2009-05-08 Alberto Garcia <agarcia@igalia.com>
854 * hildon/hildon-note.c
855 (hildon_note_new_information_with_icon_name)
856 (hildon_note_new_confirmation_with_icon_name):
857 Terminate the list of parameters in g_object_set() calls
859 Fixes: NB#115166 (Formatting memory card is not taking place)
861 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
863 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
864 "dialog-information" role for the sound being played.
866 2009-05-06 Alberto Garcia <agarcia@igalia.com>
868 * hildon/hildon-app-menu.c (hildon_app_menu_init):
869 Don't make the menu a modal window, it causes strange interactions
870 with the pointer grab and it's not really needed.
872 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
874 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
876 * hildon/hildon-touch-selector.[ch]
877 (hildon_touch_selector_optimal_size_request): function added to get a
878 optimal size request from the touch selector, when you want a dialog to
879 show as much of the selector
880 * hildon/hildon-picker-dialog.c:
881 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
882 (hildon_app_menu_class_init):
883 New "max-height-landscape" and "max-height-portrait" style properties
884 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
885 (hildon_picker_dialog_get_max_height): returns the maximum height using
886 the style properties defined and checking the current portrait/landscape
888 (_hildon_picker_dialog_set_selector): removed the set_size_request
890 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
892 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-bread-crumb-trail.c:
895 * hildon/hildon-bread-crumb.c:
896 * hildon/hildon-seekbar.c:
897 Add reference to replacements for these deprecated widgets.
899 Fixes: MB#4461 (Documentation: All deprecations should mention
902 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
904 * examples/hildon-remote-texture-example.c
906 Change the include to the hildon-remote-texture in order to compile
907 properly the examples on the installed libhildon1-examples package
909 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
911 * tests/Makefile.am: Add check for HildonPickerButton.
912 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
913 (START_TEST), (create_hildon_picker_button_suite): Add three simple
914 checks for the HildonPickerButton.
915 * tests/check_test.c (configure_tests): Add the test suite.
916 * tests/test_suites.h: likewise.
918 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
920 * hildon/hildon-touch-selector.c
921 (+on_row_changed): Emit HildonTouchSelector:changed when the
922 contents of a selected row change.
923 (_create_new_column), (_hildon_touch_selector_set_model): connect
924 to GtkTreeModel:row-changed on a newly set model.
926 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
928 2009-05-05 Alberto Garcia <agarcia@igalia.com>
930 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
932 * hildon/hildon-banner.c (hildon_banner_destroy)
933 (hildon_banner_show_progress, hildon_banner_set_fraction):
934 Remove the progress bar from HildonBanner and use a progress
937 Fixes: NB#113761 (Update progress banner to use progress
940 2009-05-04 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-banner.c:
943 Calculate size of the banner label using the actual screen width
944 rather than using a fixed value.
946 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
949 2009-05-04 Alejandro G. Castro <alex@igalia.com>
951 * hildon/hildon-pannable-area.c,
952 (hildon_pannable_area_class_init): Fixed signals documentation
955 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
957 * configure.ac: post release version bump
958 * debian/changelog: post release version bump
960 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
965 * configure.ac: Bump version.
966 * debian/changelog: Updates.
968 2009-05-01 Alberto Garcia <agarcia@igalia.com>
970 * hildon/hildon-edit-toolbar.c
971 (hildon_edit_toolbar_init):
972 Don't let buttons in HildonEditToolbar receive focus.
974 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
975 typing on an HW arrows key)
977 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
979 * doc/Makefile.am: Fix build.
981 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
983 * doc/Makefile.am: Do not redefine content_files.
985 2009-04-30 Alberto Garcia <agarcia@igalia.com>
993 Renamed src/ to hildon/
998 Include <hildon/hildon.h> directly in all examples.
1000 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1002 * src/hildon-sort-dialog.c
1003 (hildon_sort_dialog_add_sort_key_with_sorting)
1007 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1009 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1010 make distcheck passes.
1012 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1014 * Makefile.am: Enable gtk-doc during distcheck.
1016 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1018 * Makefile.am: Do not distribute the debian/ directory.
1020 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1022 * doc/Makefile.am: Add the extra SGML files to content_files,
1023 so that they are distributed properly.
1025 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1027 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1030 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1033 (hildon_note_new_information_with_icon_name): Set the "icon" property
1034 to preserve soundness.
1036 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-font-selection-dialog.c
1039 (hildon_font_selection_dialog_set_property): Fail when the "family"
1040 property is set to NULL.
1042 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1044 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1047 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1049 * src/hildon-time-selector.h:
1050 Added HildonTimeSelectorFormatPolicy
1051 * src/hildon-time-selector.c:
1052 Added PROP_TIME_FORMAT_POLICY
1053 (_check_ampm_format): renamed to check_automatic_ampm_format
1054 (update_format_policy), (update_format_dependant_columns): new functions
1055 (hildon_time_selector_class_init)
1056 (hildon_time_selector_contructor)
1057 (hildon_time_selector_init)
1058 (hildon_time_selector_get_property)
1059 (hildon_time_selector_set_property)
1060 (hildon_time_selector_get_time)
1061 (hildon_time_selector_set_time)
1062 * src/hildon-touch-selector.h: new file
1063 * src/hildon-touch-selector.c
1064 (hildon_touch_selector_emit_changed)
1065 (hildon_touch_selector_block_changed)
1066 (hildon_touch_selector_unblock_changed)
1067 Added functions to allow to block the emission of the "changed" signal
1068 * src/hildon-picker-dialog.c
1069 (hildon_picker_dialog_show): call the parent show before the custom code
1070 * examples/hildon-time-button-example.c
1071 Modified, so now you can configure the time format using the new property
1073 Added a new property "time-format-policy" that allow to choose the time
1074 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1075 case it uses gconf in order to check if the time selector must use
1078 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1081 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1083 * src/hildon-note.c (hildon_note_init):
1084 Label in HildonNote must be left aligned, not centered. This
1085 reverts the last commit in HildonNote.
1087 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1088 is connectivity dialog)
1090 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1095 * doc/hildon-sections.txt:
1096 Added hildon_gtk_window_set_do_not_disturb()
1098 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1100 * src/hildon-note.c (hildon_note_init): Center label.
1102 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1105 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1110 * configure.ac: Bump version.
1111 * debian/changelog: Updates.
1113 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1115 * src/hildon-note-private.h: Add button-width to the private data.
1116 * src/hildon-note.c (+resize_button),
1117 (+hildon_note_orientation_update): methods to repack widgets on orientation
1119 (screen_size_changed): Call above method for confirmation notes.
1120 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1121 (hildon_note_rebuild): Store the original width request from buttons.
1123 Fixes: NB#109635 (Confirmation notes do not support portrait)
1125 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1127 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1128 when it is a progress note.
1130 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1132 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1133 in the note, since there are no horizontally arranged contents.
1135 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-gtk.c (+set_flag): new generic method to
1138 set/delay a flag setting in a window.
1139 (hildon_gtk_window_set_progress_indicator):
1140 (hildon_gtk_window_set_do_not_disturb),
1141 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1142 avoid code redundance.
1144 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1146 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1148 * src/hildon-gtk.c (set_clear_window_flag),
1149 (do_set_progress_indicator), (do_set_do_not_disturb),
1150 (do_set_portrait_flags),
1151 (hildon_gtk_window_set_progress_indicator),
1152 (hildon_gtk_window_set_do_not_disturb),
1153 (hildon_gtk_window_set_portrait_flags):
1154 Allow setting dnd-flag, progress indicator, and portrait flags
1155 when the window is not realized.
1157 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1159 * src/hildon-pannable-area.c,
1160 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1161 the size request policy function and defines.
1163 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1165 * doc/hildon-sections.txt: Add the new API.
1166 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1167 method to set the portrait flags.
1168 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1170 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1172 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1174 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1175 to allow using this method with other flags.
1176 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1177 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1179 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-touch-selector.c
1182 (hildon_touch_selector_append_text_column):
1183 Make the cell renderer use the smallest width possible.
1185 Fixes: NB#108470 (Selected items in multiple selection are either
1186 having a tick that is cut or not visible at all.)
1188 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-touch-selector.c
1191 (hildon_touch_selector_append_text_column):
1194 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1197 Use g_strdup_printf() instead of a fixed size buffer.
1199 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1202 Close banners when a HildonAppMenu is popped up.
1204 Fixes: NB#111027 (Title menu closed immediately if activated when
1205 "Invalid e-mail address" banner is shown)
1207 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1212 * configure.ac: Bump version.
1213 * debian/changelog: Updates.
1215 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-banner.c (hildon_banner_realize):
1218 Mark HildonBanner as supporting portrait mode.
1219 Use GDK to set window properties insetad of direct Xlib calls.
1221 Fixes: NB#111830 (HildonBanner should be marked as supporting
1224 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1226 * src/hildon-note.c (hildon_note_rebuild):
1227 Hide action area in information notes. Prevents text from being
1228 slightly aligned to the left.
1230 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1233 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1235 Patch by Mox Soini (ext-mox.soini@nokia.com)
1237 * src/hildon-banner.c (hildon_banner_create_animation):
1238 Use stylus-sized icons in animation banner.
1240 Fixes: NB#111206 (stylus sized icon for animation banner)
1242 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1246 (+hildon_gtk_window_set_do_not_disturb):
1247 New API to set the do-not-disturb flag.
1249 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1251 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1253 * examples/hildon-progress-indicator-example.c: Fix example
1255 * src/hildon-gtk.c (set_clear_window_flag)
1256 (hildon_gtk_window_set_progress_indicator):
1257 Create a generic function for setting flags to a window.
1258 Use GDK instead of direct Xlib calls.
1260 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-button.c (hildon_button_set_arrangement):
1263 Due to NB#88126, if one of the labels is too long it will be
1264 painted outside the button. The 'value' label is more likely to be
1265 the longest one, so we change its packing options in order to
1266 truncate it if necessary. As a side effect, the 'title' label will
1267 no longer be truncated.
1269 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1271 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1276 * configure.ac: Bump version.
1277 * debian/changelog: Updates.
1279 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1281 Deprecation of the hildon_pannable_area_set_size_request_policy
1282 API, the only policy properly supported in gtk+ nowadays is the
1285 * src/hildon-pannable-area.c,
1286 (hildon_pannable_area_size_request): Added a workaround for the
1287 size_request to avoid the problems of huge pixmaps in case someone
1288 is still using the function.
1289 * src/hildon-pannable-area.h: Deprecated the enum with the
1292 Fixes: NB#110244 (Problems with the
1293 hildon_pannable_area_set_size_request_policy API)
1295 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1297 * src/hildon-pannable-area.c,
1298 (hildon_pannable_area_init),
1299 (hildon_pannable_area_size_request),
1300 (hildon_pannable_area_style_set),
1301 (hildon_pannable_draw_vscroll),
1302 (hildon_pannable_draw_hscroll),
1303 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1304 indicator_width to clarify the use of the attribute.
1306 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1311 * configure.ac: Bump version.
1312 * debian/changelog: Updates.
1314 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1316 * src/hildon-picker-dialog.c
1317 * src/hildon-touch-selector.c
1318 Reverting the change that tried to avoid the hardcoded height on
1319 the picker dialog, as causes problems on the hildon-touch-selector
1322 Fixes: NB#110029 (selectors not scrolling to selected value)
1324 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-touch-selector.c: Fix typos
1328 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1331 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1332 request more motions after using it.
1334 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-calendar.c (hildon_calendar_expose),
1337 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1338 Remove unused variables.
1340 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1342 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1343 variable assignment.
1345 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1348 Check the return value of gtk_tree_selection_get_selected()
1351 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-animation-actor.c
1354 * src/hildon-button.c
1356 * src/hildon-pannable-area.c
1357 * src/hildon-picker-button.c
1358 * src/hildon-program.c
1359 * src/hildon-remote-texture.c
1360 * src/hildon-text-view.c
1361 * src/hildon-touch-selector.c
1362 * src/hildon-window-stack.c
1363 * src/hildon-window.c:
1364 Add missing 'Since: 2.2' tags.
1366 * doc/hildon-sections.txt:
1367 Add some missing symbols.
1369 * doc/hildon-docs.sgml:
1370 New 'Other' section for HildonAnimationActor and
1373 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1375 Patch by Iván Gómez (igomez@igalia.com)
1378 * doc/compiling.sgml
1379 * doc/hildon-docs.sgml
1380 * doc/hildon-sections.txt
1381 * doc/migration.sgml
1382 * doc/resources.sgml
1384 New chapters on using the Hildon library.
1385 Updated the general structure of the reference manual.
1386 Other minor documentation fixes.
1388 * src/hildon-calendar-popup.c
1389 * src/hildon-calendar.c
1390 * src/hildon-controlbar.c
1391 * src/hildon-date-editor.c
1392 * src/hildon-dialog.c
1393 * src/hildon-hvolumebar.c
1394 * src/hildon-number-editor.c
1395 * src/hildon-range-editor.c
1396 * src/hildon-sort-dialog.c
1397 * src/hildon-time-editor.c
1398 * src/hildon-time-picker.c
1399 * src/hildon-volumebar-range.c
1400 * src/hildon-volumebar.c
1401 * src/hildon-vvolumebar.c
1402 * src/hildon-weekday-picker.c:
1403 Add deprecation notes
1405 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1406 Document 'horizontal-movement' and 'vertical-movement' signals.
1408 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1413 * configure.ac: Bump version.
1414 * debian/changelog: Updates.
1416 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1418 * src/hildon-pannable-area.c,
1419 (hildon_pannable_area_class_init): increased the minimum velocity.
1420 (hildon_pannable_area_button_release_cb): Updated the
1421 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1422 setup. Review the code to control that last event.
1424 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1427 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1429 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1431 * src/hildon-get-password-dialog.c
1432 (hildon_get_password_set_property),
1433 (hildon_get_password_get_property), (create_contents):
1434 * src/hildon-login-dialog-private.h:
1435 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1436 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1437 (hildon_login_dialog_get_password):
1438 * src/hildon-set-password-dialog-private.h:
1439 * src/hildon-set-password-dialog.c
1440 (hildon_set_password_set_property),
1441 (hildon_set_password_get_property), (create_contents),
1442 (hildon_set_password_response_change),
1443 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1445 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1446 instead and look more Fremantle style.
1448 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1450 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1452 * doc/hildon-sections.txt
1453 * src/hildon-window-stack.h
1454 * src/hildon-window-stack.c
1455 (+hildon_window_stack_get_windows):
1456 New API to obtain the list of windows on a stack.
1458 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1460 * src/hildon-app-menu.c (hildon_app_menu_popup)
1461 (hildon_app_menu_class_init, -hildon_app_menu_show):
1462 Remove hildon_app_menu_show() and move all its checks to
1463 hildon_app_menu_popup()
1465 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1467 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1468 (_hildon_picker_dialog_set_selector): removed call to
1469 gtk_widget_set_size_request
1470 * src/hildon-touch-selector.c
1471 (_create_new_column): change the pannable size request policy
1473 Avoid to use a hardcoded height for the hildon picker dialog. In order
1474 to get that, we needed to change the hildon pannable size request
1476 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1478 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1481 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1484 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1486 * debian/control: Depend on osso-system-lock localization package.
1487 * src/hildon-code-dialog.c: Obtain the secu_application_title
1488 translation from osso-system-lock.
1489 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1490 for translation the atk related strings, that's not necessary.
1491 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1492 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1493 cancel button, it is not required.
1495 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1497 * src/hildon-pannable-area.c,
1498 (hildon_pannable_area_class_init): Modified the default value of
1499 the overshooting max speed, we have reduced it.
1501 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1503 * doc/hildon-sections.txt
1504 * src/hildon-window-private.h
1505 * src/hildon-window.h
1506 * src/hildon-window.c (hildon_window_class_init)
1507 (hildon_window_init, hildon_window_finalize)
1508 (hildon_window_realize, hildon_window_get_property)
1509 (hildon_window_set_property, hildon_window_update_markup)
1510 (hildon_window_get_markup, hildon_window_set_markup):
1511 New "markup" property and hildon_window_{get,set}_markup() methods.
1513 * examples/hildon-stackable-window-example.c (new_window):
1514 Update example to use hildon_window_set_markup()
1516 Fixes: NB#106375 (Need API to retitle a window with a title
1519 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1521 * src/hildon-pannable-area.c,
1522 (hildon_pannable_area_class_init): Changed the default value of
1523 the initial_hint to TRUE.
1524 (hildon_pannable_area_initial_effect): Changed the initial effect,
1525 not the effect is just the fade-out of the scrollbars.
1527 Fixes: NB#107775 (No scrollbars can be seen when several items are
1528 available in a dialog)
1530 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-program.c (hildon_program_update_top_most):
1535 Fixes: NB#109179 (Memory leak in Hildon program)
1537 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-banner.c (-get_current_app_window):
1540 Remove unused function.
1542 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1544 * src/hildon-pannable-area.c: Modified the documentation of the
1545 get adjustments functions to explain the problem of using the
1546 adjustment directly.
1547 (hildon_pannable_area_class_init): Improved the explanation about
1550 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-app-menu-private.h
1553 * src/hildon-app-menu.c
1554 (hildon_app_menu_class_init):
1555 Bring back the 'external-border' style property
1556 (hildon_app_menu_class_init, hildon_app_menu_init)
1557 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1558 Set a fixed width-request for the menu, independent of the number
1561 Fixes: NB#94957 (Smoothly opened application menu)
1563 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1567 * src/hildon-banner.c
1568 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1570 Make sure that the banner is correctly placed the first time it's
1572 (hildon_banner_check_position, -check_fullscreen_state):
1573 Show the banner in the same place no matter if the window is in
1574 fullscreen mode or not.
1576 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1578 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-touch-selector.c (_default_print_func): reorder
1581 concatenation for clarity.
1583 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1585 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1586 for multicolumn selectors.
1588 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1590 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1595 * configure.ac: Bump version.
1596 * debian/changelog: Updates.
1598 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1600 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1603 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1605 * configure.ac: removed libcangerra-gtk dependency
1606 * debian/control: removed libcanberra-gtk dependency
1607 * src/Makefile.am: removed libcanberra gtk related flags
1608 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1609 context, and manage a global canberra context instead
1611 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1613 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1615 Patch by Daniel Borgmann (danielb@openismus.com)
1617 * src/hildon-edit-toolbar.c:
1618 Adjust the left padding.
1619 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1620 Paint background of the edit toolbar.
1622 Fixes: NB#107897 (Patch to make editmodetoolbar background
1623 themeable and adjust margin)
1625 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1627 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1629 * src/hildon-program.c (hildon_program_update_top_most):
1630 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1632 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1633 change when the user tasks in/out of an application)
1635 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1637 * configure.ac: added libcangerra-gtk dependency
1638 * debian/control: added libcanberra-gtk dependency
1639 * src/Makefile.am: added libcanberra gtk related flags
1640 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1643 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1645 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-program.c (hildon_program_remove_window)
1648 (hildon_program_add_window): Add checks for the window
1649 parameter. Don't decrease the window counter if the window is not
1652 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1654 * src/hildon-pannable-area.c,
1655 (hildon_pannable_area_realize): Fixed position of the event_window
1656 in the realize method.
1658 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1660 * src/hildon-app-menu-private.h
1661 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1662 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1663 (hildon_app_menu_key_press, hildon_app_menu_init)
1664 (hildon_app_menu_finalize):
1665 Make sure that all idle functions are removed when the widget is
1668 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1670 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: Bump version.
1676 * debian/changelog: Updates.
1678 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-entry.c
1681 (+hildon_entry_show_placeholder),
1682 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1683 that replace hildon_entry_update_contents().
1684 (hildon_entry_set_text),
1685 (hildon_entry_set_placeholder),
1686 (hildon_entry_focus_in_event),
1687 (hildon_entry_focus_out_event): Determine when it is needed
1688 either to show or hide the placeholder and call the above methods.
1690 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1691 when the placeholder text is already set)
1693 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1696 simple GdkPixbufAnim using the new icons for the banner.
1697 (hildon_banner_show_animation): Use the above mentioned method to
1698 create the animation widget.
1700 Fixes: NB#103564 (Make hildon animation banner use individual
1701 image files as the animation)
1703 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1705 * src/hildon-pannable-area.c,
1706 (hildon_pannable_leave_notify_event): Check if the child is NULL
1707 to avoid sending the leave.
1709 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1711 * src/hildon-pannable-area.c,
1712 (hildon_pannable_area_class_init),
1713 (hildon_pannable_leave_notify_event): Added a handler of the
1714 leave-notify-signal to consider when no motion notify before
1717 Fixes: NB#107494 (Items stay selected when clicking and moving
1718 away when inside pannable area)
1720 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1725 * configure.ac: Bump version.
1726 * debian/changelog: Updates.
1728 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1730 Patch by Alberto Garcia (agarcia@igalia.com)
1732 * src/hildon-date-button.c,
1733 (hildon_date_button_class_init),
1734 (hildon_date_button_init): Removed the construct property handling
1735 and created a default selector in the init method.
1736 * src/hildon-picker-button.c,
1737 (hildon_picker_button_class_init): Removed the construct flag of the
1740 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-main.c (hildon_init):
1743 Don't allow hildon_init() to be called more than once.
1745 Fixes: NB#106607 (hildon_init should issue error message upon
1748 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1750 * examples/hildon-pannable-area-touch-list-example.c
1751 * examples/hildon-pannagle-area-touch-grid-example.c
1752 * examples/hildon-edit-toolbar-example.c
1753 * examples/hildon-touch-selector-multi-cells-example.c
1754 Removed the call to gtk_rc_parse_string, as it is not required since
1757 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_class_init): Modified the default panning
1761 threshold of the widget to 6px.
1763 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1764 than the threshold value ) within the button is not sending the
1767 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1770 for the treeview in the new column. This way, the touch list will never
1773 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1774 be selected manually for the HW keys to work)
1776 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1779 comparison instead of using strcmp(). Fixes a compiler warning as well.
1781 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1783 * doc/hildon-docs.sgml: Do not set the library version in the
1784 document title, use the releaseinfo tag for that purpose instead.
1786 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1789 Do not jump to the first item if the text in the entry is removed.
1791 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1796 * configure.ac: Bump version.
1797 * debian/changelog: Updates.
1799 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-entry.c (hildon_entry_refresh_contents):
1802 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1803 Use "ReversedSecondaryTextColor" for the placeholder text.
1805 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-text-view.c: Fix compilation warning.
1809 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1811 * src/hildon-button.c (hildon_button_class_init): Don't make
1812 "title" and "value" construction properties, to prevent them from
1813 overwriting labels set from derived classes.
1815 * src/hildon-picker-button.c
1816 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1817 (hildon_picker_button_class_init): Make touch-selector a
1818 construction property.
1820 * src/hildon-date-button.c (hildon_date_button_class_init)
1821 (+hildon_date_button_constructed): Add a default date selector if
1824 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-touch-selector.c: Small documentation fixes.
1828 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1830 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1832 * src/hildon-entry.c (hildon_entry_refresh_contents),
1833 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1834 widget name, set the logical color directly instead and a boolean
1835 showing_placeholder instead.
1836 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1837 use the widget name here either.
1839 Fixes: NB#105678 (HildonTextView should use logical colours
1840 instead of setting widget name)
1842 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1844 Patch by Daniel Elster (danielk@openismus.com)
1846 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1847 Add user_data parameter.
1848 (hildon_touch_selector_set_print_func_full): New function akin
1849 hildon_touch_selector_set_print_func() but with support for user
1850 data and a destroy callback.
1851 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1852 to clean up the print function user data.
1853 (hildon_touch_selector_class_init): Install dispose function.
1854 (HildonTouchSelectorPrivate::print_user_data),
1855 (HildonTouchSelectorPrivate::print_destroy_func): New private
1857 (hildon_touch_selector_init): Initialize new private members.
1858 (hildon_touch_selector_get_current_text): Pass along user data
1859 to the print function.
1860 (_default_print_func): Add dummy user_data to parameter list.
1861 * hildon-date-selector.c (_custom_print_func): ditto,
1862 * hildon-time-selector.c (_custom_print_func): ditto,
1863 * hildon-touch-selector-entry.c
1864 (hildon_touch_selector_entry_print_func): ditto.
1866 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1868 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1870 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1872 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1874 * src/hildon-pannable-area.c,
1875 (hildon_pannable_area_init),
1876 (hildon_pannable_area_button_press_cb),
1877 (hildon_pannable_area_motion_notify_cb): We have added code to
1878 handle the leave and enter events when using the motion events.
1880 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1882 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1884 * src/hildon-date-button.c (hildon_date_button_get_date)
1885 (hildon_date_button_set_date): Make sure that the button has a
1888 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1890 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1892 * src/hildon-pannable-area.c,
1893 (hildon_pannable_area_class_init),
1894 (hildon_pannable_area_calculate_velocity): Modify the use of the
1895 force and adapt the value.
1897 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1900 (hildon_app_menu_class_init): Hide the menu if it receives a
1901 delete-event, but don't destroy it
1903 Fixes: NB#104485 (Not able to address the call when application
1904 menu is opened at background)
1906 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-app-menu.c
1909 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1910 Remove the "external-border" style property, let the menu take its
1911 natural size (or the one set by the window manager)
1912 (hildon_app_menu_repack_items):
1913 Don't reshow the menu, avoid flickers.
1915 Partially fixes NB#94957 (Smoothly opened application menu)
1917 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1922 * configure.ac: Bump version.
1923 * debian/changelog: Updates.
1925 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_motion_notify_cb): We control that the
1929 direction error margin is used just in case the movement is
1930 allowed in the other direction.
1932 Fixes: NB#105012 (buttons inside a pannable area not getting
1933 release event when dragging/releasing)
1935 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_class_init),
1939 (hildon_pannable_area_get_property),
1940 (hildon_pannable_area_set_property),
1941 (hildon_pannable_area_initial_effect),
1942 (hildon_pannable_axis_scroll),
1943 (hildon_pannable_area_button_release_cb): Reviewed the
1944 overshooting effect, now it has its own max
1945 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1946 speed when bouncing.
1948 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1953 * configure.ac: Bump version.
1954 * debian/changelog: Updates.
1956 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1958 * src/hildon-pannable-area.c,
1959 (hildon_pannable_area_class_init): Changed the max speed, now
1960 users can launch the widget very fast. Reduced the default force,
1961 that way it is easier to control the launch speed.
1963 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1965 * src/hildon-pannable-area.c,
1966 (hildon_pannable_area_button_release_cb): Removed this check
1967 because it causes problems when the device is overloaded.
1969 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1971 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1972 add a current_text field to store the text entered in the
1973 touch selector entry.
1974 (_clean_current_selection): clean up the current text as well.
1975 (_save_current_selection), (_restore_current_selection):
1976 Save/restore the text in the entry if the selector is a
1977 HildonTouchSelectorEntry.
1979 Fixes: NB#102541 (value entered in the touch selector entry is not
1980 shown when opened for second time)
1982 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1984 * doc/hildon-sections.txt:
1985 * src/hildon-touch-selector-entry.c
1986 (+hildon_touch_selector_entry_get_entry):
1987 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1989 Fixes: NB#104815 (I need accessor to the entry inside
1990 HildonTouchSelectorEntry)
1992 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1995 (hildon_app_menu_class_init):
1996 New "filter-vertical-spacing" style property.
1998 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2000 * src/hildon-find-toolbar.c
2001 (hildon_find_toolbar_emit_close)
2002 (hildon_find_toolbar_emit_invalid_input)
2003 (hildon_find_toolbar_entry_activate):
2004 Use g_signal_emit() instead of g_signal_emit_by_name()
2006 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2008 Patch by Mox Soini (ext-mox.soini@nokia.com)
2010 * tests/TEST-CASES.txt
2011 * tests/check-hildon-banner.c
2012 * tests/check-hildon-note.c
2013 * src/hildon-banner.c
2014 * src/hildon-code-dialog.c
2015 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2016 * src/hildon-time-editor.c
2017 * examples/hildon-lookup-example.c (main):
2018 Replace obsolete icon names with new ones.
2020 * src/hildon-find-toolbar-private.h:
2021 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2022 (-hildon_find_toolbar_emit_search):
2023 Remove find button and change icon of close button.
2025 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2027 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-time-button.c (hildon_time_button_new_step):
2030 Use the "touch-selector" property to set the selector directly
2031 when creating the object.
2033 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2035 Added a new example application that allows tuning the pannable
2036 area and replaced defines with properties in order to simplify the
2037 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2038 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2039 PROP_DIRECTION_ERROR_MARGIN.
2041 * examples/hildon-pannable-area-tuning-example.c: New example
2043 * src/hildon-pannable-area.c,
2044 (hildon_pannable_area_class_init),
2045 (hildon_pannable_area_init),
2046 (hildon_pannable_area_get_property),
2047 (hildon_pannable_area_set_property),
2048 (hildon_pannable_area_launch_fade_timeout),
2049 (hildon_pannable_area_adjust_value_changed),
2050 (hildon_pannable_axis_scroll),
2051 (hildon_pannable_area_motion_notify_cb),
2052 (hildon_pannable_area_scroll_cb),
2053 (hildon_pannable_area_button_release_cb): We have converted some
2054 of the defines that control the widget to properties to simplify
2057 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-app-menu.c (hildon_app_menu_map)
2060 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2061 so it's closed if a new window appears.
2063 Fixes: NB#104485 (Not able to address the call when application
2064 menu is opened at background)
2066 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2069 missing 'break' statement in in 'case' construct to avoid
2072 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-touch-selector-entry.c
2075 (hildon_touch_selector_entry_get_property),
2076 (hildon_touch_selector_entry_set_property): Add missing 'break'
2077 statements in in 'case' constructs to avoid incorrect warnings.
2079 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-time-editor.c
2082 (hildon_time_editor_get_time_separators): Do not crash if
2083 the first label is NULL.
2085 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-date-selector.c (_month_days): Check for month to be
2088 strictly less than 12, since otherwise we may overrun the array.
2090 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-date-button.c (+hildon_date_button_new_full)
2093 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2094 (hildon_date_button_init): Set the date selector using a
2095 construction property, to make it happen after HildonButton's
2096 "value" property is set.
2098 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2099 current date by default)
2101 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2103 * doc/hildon-sections.txt
2104 * src/hildon-program.c
2105 * src/hildon-stackable-window.c
2106 * src/hildon-window.c:
2107 Documentation updates
2109 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2112 (hildon_window_stack_new, +hildon_window_stack_set_property)
2113 (+hildon_window_stack_get_property)
2114 (hildon_window_stack_class_init)
2115 (+hildon_window_stack_set_window_group)
2116 (+hildon_window_stack_get_window_group):
2117 Make the window group a construction property.
2119 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2121 * doc/hildon-sections.txt
2122 * src/hildon-stackable-window-private.h
2123 * src/hildon-stackable-window.h
2124 * src/hildon-stackable-window.c
2125 (-hildon_stackable_window_set_app_menu)
2126 (-hildon_stackable_window_get_app_menu)
2127 (-hildon_stackable_window_toggle_menu)
2128 (-hildon_stackable_window_finalize)
2129 (hildon_stackable_window_class_init)
2130 (hildon_stackable_window_init)
2131 * src/hildon-window-private.h
2132 * src/hildon-window.h
2133 * src/hildon-window.c (hildon_window_init)
2134 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2135 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2136 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2137 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2138 Moved all HildonAppMenu code to HildonWindow. The menu does not
2139 require a HildonStackableWindow anymore.
2141 * src/hildon-app-menu.c
2142 * src/hildon-program.c
2143 * examples/hildon-app-menu-example.c (main):
2144 Update examples and documentation to reflect HildonAppMenu
2147 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2149 * src/hildon-remote-texture.c
2150 * src/hildon-animation-actor.c:
2151 Don't include unused private headers.
2153 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-program-private.h
2156 * src/hildon-program.c
2157 (hildon_program_set_common_menu)
2158 (hildon_program_get_common_menu)
2159 (hildon_program_set_common_app_menu)
2160 (hildon_program_get_common_app_menu):
2161 Change common menu pointers from GtkWidget* to GtkMenu* and
2162 HildonAppMenu* to avoid unnecessary casts.
2164 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-window.c (hildon_window_set_main_menu):
2167 Removed incorrect 'Since:' tag
2169 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2171 * src/hildon-pannable-area.c,
2172 (hildon_pannable_area_calculate_velocity): We use now the
2173 RATIO_TOLERANCE here to check the distance, fixed typo in the
2175 (hildon_pannable_area_motion_notify_cb): We have to set the type
2176 and time even if we are not sending the motion.
2178 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2180 * doc/hildon-sections.txt
2181 * src/hildon-app-menu.h
2182 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2183 (+hildon_app_menu_get_filters): New methods to get the contents of
2186 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2189 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-app-menu.c (hildon_app_menu_popup):
2194 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-window.h
2197 * src/hildon-window.c (+hildon_window_get_main_menu)
2198 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2199 and deprecated hildon_window_get_menu().
2201 * src/hildon-stackable-window.h
2202 * src/hildon-stackable-window.c
2203 (+hildon_stackable_window_set_app_menu)
2204 (+hildon_stackable_window_get_app_menu)
2205 (hildon_stackable_window_set_main_menu): Created
2206 hildon_stackable_window_{get,set}_app_menu() and deprecated
2207 hildon_stackable_window_set_main_menu().
2209 * doc/hildon-sections.txt
2210 * examples/hildon-app-menu-example.c (main)
2211 * src/hildon-app-menu.c
2212 * src/hildon-program.c:
2213 Updated examples and documentation.
2215 Fixes: NB#103758 (No way to obtain a menu from a
2216 HildonStackableWindow)
2218 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2223 * configure.ac: Bump version.
2224 * debian/changelog: Updates.
2226 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2228 * examples/hildon-remote-texture-example.c: Include
2229 hildon-remote-texture.h explicitely.
2230 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2231 applications not defining _XOPEN_SOURCE which don't require this header.
2233 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2235 * doc/hildon-sections.txt
2236 * src/hildon-app-menu.h
2237 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2238 New function to pop up a HildonAppMenu
2240 * src/hildon-stackable-window.c
2241 (hildon_stackable_window_toggle_menu):
2242 Use hildon_app_menu_popup() to show the menu.
2244 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-app-menu.c (hildon_app_menu_show)
2247 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2248 menu if there's another window between it and its parent window.
2250 Fixes: NB#100468 (Application menu window is launched even when a
2251 new secondary-window/dialog is pending to be shown/realized)
2253 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-window-stack.c (hildon_window_stack_push)
2256 (hildon_window_stack_pop_and_push):
2257 Don't forget to push/pop the first window.
2258 Reverse the window list before calling _push_list()
2260 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-picker-button.h
2263 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2264 Remove "value_changed" slot to avoid ABI breakage
2266 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2268 * src/hildon-pannable-area.c,
2269 (hildon_pannable_area_realize),
2270 (hildon_pannable_area_unrealize),
2271 (hildon_pannable_draw_vscroll),
2272 (hildon_pannable_draw_hscroll): Changed the method to handle the
2273 GC used to draw the transparent scrollbar, this way we avoid
2274 creating the GC all the time when drawing the scrollbars.
2276 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2278 * src/hildon-pannable-area.c,
2279 (hildon_pannable_area_init),
2280 (hildon_pannable_area_remove): Removed some unnecessary casts.
2281 (hildon_pannable_area_dispose): Disconnected some signals before
2282 releasing the adjustments.
2284 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2287 Make sure that all widgets contained in the toolbar are shown.
2289 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2291 * doc/hildon-sections.txt
2292 * src/hildon-picker-button.h
2293 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2294 (_selection_changed, hildon_picker_button_on_dialog_response)
2295 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2296 New hildon_picker_button_value_changed() method.
2299 * src/hildon-picker-button-private.h
2300 * src/hildon-picker-button.c (hildon_picker_button_init)
2301 (+hildon_picker_button_disable_value_changed): Add protected
2302 function for disabling the "value-changed" signal.
2304 * src/hildon-date-button.c (hildon_date_button_set_date):
2305 Don't emit "value-changed" for each one of the three columns.
2307 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2308 before actual change of values)
2310 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2312 * src/hildon-pannable-area.c,
2313 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2314 for the treeview overshooting.
2316 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-banner.c (+hildon_banner_bind_style):
2319 Renamed from hildon_banner_bind_label_style(), now naming the
2320 banner itself as well.
2321 (hildon_banner_show_information),
2322 (hildon_banner_show_information_with_markup),
2323 (hildon_banner_show_animation), (hildon_banner_show_progress):
2324 Name the widgets and labels, based on their type.
2326 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2329 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-note.c (hildon_note_set_property): call
2332 hildon_note_rename() on HildonNote:note-type set.
2333 (hildon_note_rename): Name the note and its label, based on the
2334 HildonNote:note-type property.
2336 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2339 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2341 * src/hildon-pannable-area.c,
2342 (hildon_pannable_area_class_init),
2343 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2344 panning parameters, increased SPS and deceleration factor. Added
2345 also a margin to control fake directions.
2347 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2349 Patch by Sven Herzberg (sven@imendio.com)
2351 * configure.ac: Add missing AM_PROG_CC_C_0
2352 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2354 See NB#101420 (Update unit tests and fix make check)
2356 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2358 This patch was applied before but reverted because it caused
2359 problems, we have changed the main condition and tested the
2360 regressions we detected before and they work ok. We have done a
2361 complete review of the topmost algorithm in order to get a more
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_get_topmost): Added a new parameter to
2366 filter the the windows that do not include those events.
2367 (hildon_pannable_area_button_press_cb),
2368 (hildon_pannable_area_button_release_cb),
2369 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2370 topmost function, we have added the new parameter.
2372 Fixes: NB#97458 (Pannable area prevents propagation of button
2375 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2378 if all columns in the selector have an item selected.
2379 (_on_dialog_response): Stop "response" signal emission if there is
2380 any selector column without selected items.
2382 Fixes: NB#101889 (Picker dialog should not close when nothing is
2383 selected in multiple selection list)
2385 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-font-selection-dialog.c
2388 (hildon_font_selection_dialog_class_init),
2389 (hildon_font_selection_dialog_init): Remove the preview
2390 button and dialog, since previewing with default theming is likely
2391 to be overcomplicated. The :preview property has now no effect.
2392 Update documentation blurbs to inform about this.
2394 Fixes: NB#92297 (Preview content is not clearly visible for
2395 default colour text)
2397 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2399 Reviewed the geometry that handles the children size and
2400 scrollbar, now it tries a size and reviews the results depending
2401 on the scrollbars visibility.
2403 * src/hildon-pannable-area.c,
2404 (hildon_pannable_area_realize): Fixed a typo.
2405 (hildon_pannable_area_child_allocate_calculate): Added this
2406 function to calculate the child allocation.
2407 (hildon_pannable_area_size_allocate): Reviewed the allocation
2409 (hildon_pannable_area_check_scrollbars),
2410 (hildon_pannable_area_refresh): Refactored refresh function, this
2411 way we can call the code handling the scrollbars without causing a
2412 size_request, it is interesting in the allocate.
2413 (hildon_pannable_area_init): Replace the callbacks of the
2414 value_changed and changed signals to propertly deal with the
2416 (hildon_pannable_area_grab_notify),
2417 (hildon_pannable_area_initial_effect),
2418 (hildon_pannable_area_launch_fade_timeout),
2419 (hildon_pannable_area_adjust_changed),
2420 (hildon_pannable_area_adjust_value_changed),
2421 (hildon_pannable_area_redraw),
2422 (hildon_pannable_area_button_press_cb),
2423 (hildon_pannable_area_button_release_cb),
2424 (hildon_pannable_area_scroll_cb),
2425 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2426 code and use the new functions adjust_changed and
2427 adjust_value_changed.
2429 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2430 Contact editor dialog)
2432 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2437 * configure.ac: Bump version.
2438 * debian/changelog: Updates.
2440 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2442 * src/hildon-pannable-area.c,
2443 (hildon_pannable_area_get_topmost),
2444 (hildon_pannable_area_button_press_cb),
2445 (hildon_pannable_area_button_release_cb),
2446 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2447 topmost function adding the event mask. We have to try a
2448 differente approach because it is still causing problems (NB#9745,
2451 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2453 * src/hildon-banner.c:
2454 Update the maximum width of timed banners.
2455 (force_to_wrap_truncated): Enforce the maximum text width if the
2458 Fixes: NB#102413 (The text margins (wrapping) in information
2459 banner should be HILDON_MARGIN_TRIPLE)
2461 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2463 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2465 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2466 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2467 bound when calculating the scroll indicator position.
2469 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2470 treat ->lower correctly)
2472 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2475 expose event handling, since it is not necessary to draw the focus
2478 Fixes: NB#102467 (Do not show highlight on the text in
2481 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2484 full height of the toolbar for the button and the label.
2486 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2489 padding before the label and after the button.
2491 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2495 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2496 Add a GtkVSeparator between the button and the back arrow.
2497 Let the button have automatic size.
2498 Set a name to the widget for theming handling.
2500 Fixes: NB#101793 (Make edit toolbar the same height as window
2501 title bar (use title area theming))
2503 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-helper.c (attach_new_color_element): Fix memory
2508 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2510 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2512 * examples/hildon-button-example.c (common_buttons_window): Don't
2515 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2518 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2520 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-gtk.c: Check that the window is realized.
2524 Fixes: NB#102225 (Crash setting the progress indicator to a non
2527 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2530 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2531 instead of modifying the one in the widget style.
2533 Fixes: NB#101043 (Second row of all the command button are
2534 displayed in transparent mode.)
2536 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-date-button.c
2539 * src/hildon-time-button.c: Add gettext macros
2541 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-date-button.c (hildon_date_button_new):
2544 * src/hildon-time-button.c (hildon_time_button_new_step):
2545 Use new logical strings to set the button default title.
2547 Fixes: NB#99915 (Date and Time options are not localised in Date
2550 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2552 * src/hildon-pannable-area.c
2553 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2554 the PANNING_THRESHOLD.
2556 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2558 * src/hildon-pannable-area.c,
2559 (hildon_pannable_area_class_init): Increased the maximum speed.
2560 (hildon_pannable_area_get_property),
2561 (hildon_pannable_area_set_property),
2562 (hildon_pannable_area_timeout): Added a new low friction mode, it
2563 allows the user avoid friction when launching the widget fast
2564 enough. It is interesting to traverse long lists.
2566 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2569 (+hildon_stackable_window_delete_event): Ignore delete events if
2570 the window is not the topmost one.
2572 Fixes: NB#101698 (Back button long press and delete-event handling)
2574 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2576 * src/hildon-pannable-area.c,
2577 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2578 gtk-dnd-drag-threshold, it was too big. We have defined our own
2579 dnd define and set a smaller value: PANNIG_THRESHOLD.
2581 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2584 user-defined icons, use always the default one.
2586 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2588 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2590 This patch was applied before but reverted because it caused
2591 problems, we have changed the main condition and tested the
2592 regressions we detected before and they work ok.
2594 * src/hildon-pannable-area.c,
2595 (hildon_pannable_area_get_topmost): Added a new parameter to
2596 filter the the windows that do not include those events. Added
2597 also a condition when finding the window to filter windows that do
2598 not ask for those events.
2599 (hildon_pannable_area_button_press_cb),
2600 (hildon_pannable_area_button_release_cb),
2601 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2602 topmost function, we have added the new parameter.
2604 Fixes: NB#97458 (Pannable area prevents propagation of button
2607 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2609 * tests/check-hildon-color-button.c (START_TEST): do not leak
2612 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-font-selection-dialog.c
2615 (hildon_font_selection_dialog_get_preview_text): Return NULL
2616 instead of FALSE on the g_return_val_if_fail().
2618 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2621 * src/hildon-date-selector.c
2622 (hildon_date_selector_select_current_date):
2623 Do not compare unsigned integers to be greater than or equal 0,
2624 because it's always TRUE.
2626 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2629 (hildon_date_selector_constructor): Do not select the current
2630 date until we are handle the "changed" signal, to avoid having bogus
2631 elements in the days model.
2633 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2636 for num_days, since _month_days() can return a negative value.
2638 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-caption.c (hildon_caption_size_allocate):
2641 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2642 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2644 Initialize allocation variables to 0, to avoid eventually using
2645 unitialized variables.
2647 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-bread-crumb-trail.c
2650 (hildon_bread_crumb_trail_size_allocate):
2651 * src/hildon-calendar.c (hildon_calendar_set_background):
2652 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2653 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2654 * src/hildon-seekbar.c (hildon_seekbar_init):
2655 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2656 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2657 * src/hildon-touch-selector-entry.c
2658 (hildon_touch_selector_get_text_from_model):
2659 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2660 * src/hildon-window.c (hildon_window_finalize):
2662 Remove many unused variables.
2664 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-seekbar.c: (hildon_seekbar_init),
2667 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2669 Remove unnecessary g_assert() calls.
2671 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-caption.c: (hildon_caption_expose),
2674 (hildon_caption_set_property), (hildon_caption_init),
2675 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2676 (hildon_caption_size_request), (hildon_caption_size_allocate),
2677 (hildon_caption_forall), (hildon_caption_set_separator),
2678 (hildon_caption_activate), (hildon_caption_set_child_expand),
2679 (hildon_caption_set_label_text),
2680 (hildon_caption_get_label_alignment):
2682 Remove unnecessary g_assert() calls.
2684 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-banner.c
2687 (hildon_banner_map, hildon_banner_init): Make banner temporary
2688 before mapping it to avoid closing other temporary windows, but
2689 make it non-temporary afterwards to avoid being closed by other
2690 non-temporary windows.
2691 (-hildon_banner_client_event, hildon_banner_init):
2692 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2694 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2697 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2699 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2702 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2704 * src/hildon-remote-texture.c
2705 * src/hildon-remote-texture.h
2706 * src/hildon-remote-texture-private.h
2707 * examples/hildon-remote-texture-example.c:
2708 Updates/fixes to remote-texture and its example.
2710 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2712 Patch by Mox Soini (ext-mox.soini@nokia.com)
2714 * src/hildon-code-dialog.c: Update logical id.
2715 * src/hildon-set-password-dialog.c: Update logical id.
2717 Fixes: NB#100646 (Logical strings is shown for ok in set
2718 password,Password needed dialogs)
2720 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2723 * src/hildon-remote-texture.c
2724 * src/hildon-remote-texture.h
2725 * src/hildon-remote-texture-private.h
2727 Added remote texture widget (for Clutter shared memory textures)
2729 * examples/hildon-remote-texture-example.c
2730 * examples/Makefile.am
2731 Added example file for remote texture usage
2733 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2735 * configure.ac: post release version bump.
2736 * debian/changelog: version bump.
2738 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2743 * configure.ac: Bump version.
2744 * debian/changelog: Updates.
2746 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2748 * src/hildon-date-selector.c (hildon_date_selector_init)
2749 (hildon_date_selector_constructor): Don't connect to the "changed"
2750 signal until the selector is completely constructed.
2752 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-touch-selector.c: (_create_new_column),
2755 (hildon_touch_selector_append_column),
2756 (hildon_touch_selector_set_column_selection_mode),
2757 (hildon_touch_selector_set_active),
2758 (hildon_touch_selector_select_iter):
2759 Emit the HildonTouchSelector::changed signal every time selection
2760 is changed in any of the methods above. This behavior was already
2761 documented but not fully functional.
2763 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2764 selection is programmatically changed)
2766 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2768 * doc/hildon-sections.txt: Remove obsolete icon
2769 sizes from here as well.
2771 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2773 * examples/hildon-stackable-window-example.c (add_window): Remove
2776 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-app-menu.c
2779 (hildon_app_menu_show): Check whether the parent window of a menu
2780 is topmost before popping it up.
2782 Fixes: NB#100468 (Application menu window is launched even when a
2783 new secondary-window/dialog is pending to be shown/realized.)
2785 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2787 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2790 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2792 Patch by Mox Soini (ext-mox.soini@nokia.com)
2794 * src/hildon-banner.c: (hildon_banner_show_animation):
2795 use stylus size instead of obsolete note size.
2796 * src/hildon-defines.h: Update icon sizes.
2798 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2800 * src/hildon-touch-selector-entry.c:
2801 (hildon_touch_selector_entry_init): Disable unsupported
2803 (hildon_touch_selector_entry_get_text_column): Emit a warning
2804 if an unsupported input modes is used and explicitile state
2805 these modes in the documentation.
2807 Fixes: NB#99802 (Hildon touch selector entry not working properly
2808 for some of the input modes)
2810 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2812 * src/hildon-pannable-area.c,
2813 (hildon_pannable_area_init): Added the changed signal handlers of
2816 Fixes: NB#100320 (HildonPannableArea does not listen to
2817 GtkAdjustment "change" signals)
2819 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2821 * doc/hildon-sections.txt
2822 * src/hildon-window-private.h
2823 * src/hildon-window.h
2824 * src/hildon-window.c (hildon_window_init)
2825 (hildon_window_realize, hildon_window_unrealize)
2826 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2827 (hildon_window_size_request, hildon_window_size_allocate)
2828 (hildon_window_forall, hildon_window_show_all)
2829 (hildon_window_destroy, +paint_edit_toolbar)
2830 (+hildon_window_set_edit_toolbar):
2831 New hildon_window_set_edit_toolbar() method, to add a
2832 HildonEditToolbar to a window without having to pack it manually.
2834 Reorganize hildon_window_size_allocate()
2836 * src/hildon-edit-toolbar.c: Update documentation.
2838 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2839 example to use the new API.
2841 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2843 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2846 Remove from stack before calling parent's hide.
2848 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2851 window is removed from the middle of the stack, update the
2852 transiency of the previous one.
2854 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2857 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2860 block/unblock the signal handler if it's not actually being used.
2861 Fixes some critical warnings.
2863 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2865 Based on a patch by Iván Gómez (igomez@igalia.com)
2867 * src/hildon-banner.c
2871 * src/hildon-pannable-area.c
2872 * src/hildon-picker-dialog.c
2873 * src/hildon-wizard-dialog.h
2874 * src/hildon-wizard-dialog.c: Documentation updates.
2876 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2877 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2879 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2881 * configure.ac: post release version bump.
2882 * debian/changelog: version bump.
2884 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2889 * configure.ac: Bump version.
2890 * debian/changelog: Updates.
2892 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2895 a stock icon nor change the relief of the back arrow.
2897 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2898 graphics from theme)
2900 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-button.c (hildon_button_set_alignment): Use
2903 priv->alignment if the button has no child yet.
2905 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-button.c: (hildon_button_init): Set the
2908 button style during initialization to give it the proper
2911 Fixes: NB#99713 (HildonButton value label color is wrong)
2913 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-touch-selector.c: Document
2916 hildon_touch_selector_center_on_selected()
2918 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2921 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2922 all menu items, but not the menu itself.
2923 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2924 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2925 items after adding them to the menu so keyboard accelerators work.
2926 (hildon_app_menu_show): Don't show the menu if it contains items
2927 but none of them are visible.
2929 * examples/hildon-app-menu-example.c (create_menu): Use
2930 gtk_widget_show_all() to show all menu items.
2932 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-picker-dialog.c:
2935 (-_update_title_on_selector_changed_cb),
2936 (-_dialog_update_title): Removed.
2937 (_select_on_selector_changed_cb), (_on_dialog_response),
2938 (on_selector_columns_changed): Do not update the dialog title.
2939 (setup_interaction_mode): Do not connect to
2940 HildonTouchSelector::changed signal if there's a "done" button, as
2941 the dialog title doesn't need to be updated.
2943 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2946 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2948 Patch by Kristian Rietveld (kris@imendio.com)
2950 * src/hildon-touch-selector.c: (_create_new_column): Use new
2951 GtkTreeView::hildon-row-tapped signal to react to user interactions
2952 instead of ::changed.
2954 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2955 with some dynamic tree model)
2957 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2960 (+screen_size_changed, +label_size_request)
2961 (hildon_note_class_init): Make the Hildon information note have a
2962 minimum height, and make its text hvae a maximum width.
2964 Fixes: NB#98614 (Hildon information note (background) should have
2965 minimum height and maximum text width)
2967 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-banner.h
2970 * src/hildon-banner.c (hildon_banner_show_information)
2971 (hildon_banner_show_informationf)
2972 (hildon_banner_show_information_with_markup): Update documentation
2973 to reflect that the icon_name parameter is not used anymore.
2974 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2975 Remove all code from these functions and mark them as deprecated.
2976 (hildon_banner_show_progress): Mark as deprecated.
2978 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2980 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2982 * src/hildon-pannable-area.c,
2983 (hildon_pannable_area_class_init),
2984 (tranparency_color),
2985 (hildon_pannable_draw_vscroll),
2986 (hildon_pannable_draw_hscroll),
2987 (hildon_pannable_area_expose_event): Added a new way to render the
2988 scrollbars of the pannable area avoiding using cairo at all. This
2989 way we improve the performance of the pannable area rendering. The
2990 cairo rendering procedure is still in the code, we can control
2991 which one to use changing the value of the define
2992 USE_CAIRO_SCROLLBARS.
2994 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2996 * configure.ac: post release version bump.
2997 * debian/changelog: version bump.
2999 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3004 * configure.ac: Bump version.
3005 * debian/changelog: Updates.
3007 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3010 banners instead of destroying them when they receive a button
3013 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3015 Reverted commit 34028, it was causing regressions, probably the
3016 topmost condition is not correct, we have to check it in more
3017 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3018 propagation of button press events)
3020 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3023 that the selection is not empty before attempting to retrieve the
3024 current ampm selection.
3026 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-picker-button.c:
3029 (hildon_picker_button_on_dialog_response): Directly update the
3030 button contents when required instead of calling _selection_changed.
3032 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-program.c (hildon_program_update_top_most): Update
3035 'is-topmost' property also when wm_hints is not set.
3037 Fixes: NB#98383 (is-topmost signal is not emitted when task
3038 switcher is clicked.)
3040 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3042 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3046 * src/hildon-animation-actor.c,
3047 * src/hildon-animation-actor.h: Added the animation actor class,
3048 this widget represents an animation actor for WM-assisted
3049 animation effects in the Hildon framework.
3051 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-window-stack-private.h
3054 * src/hildon-window-stack.c
3055 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3056 Avoid calling gtk_widget_show() again indirectly from
3057 hildon_stackable_window_show()
3059 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3064 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3067 (hildon_time_selector_init): Move the construction of the hours and
3068 ampm columns to the constructor to preserve the order the columns
3071 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-picker-dialog.c:
3074 (hildon_picker_dialog_class_init): Connect a realize method.
3075 (+hildon_picker_dialog_realize): Setup the interaction mode here
3077 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3078 yet, do it during the realize instead.
3079 (_on_dialog_response):
3080 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3081 if the widget is not realized, to avoid the dialog response before it
3084 Avoid premature responses in the HildonPickerDialog that can cause it
3085 to be hidden before it's even shown.
3087 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3090 (on_selector_columns_changed), (requires_done_button),
3091 (+prepare_action_area), (setup_interaction_mode),
3092 (_hildon_picker_dialog_set_selector):
3094 Split the interaction mode setup into preparation of the
3095 action area (prepare_action_area()) and the connection of
3096 the signals in setup_interaction_mode() and update the code to
3099 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3101 * src/hildon-pannable-area.c,
3102 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3103 per second to 15, we will check if this is ok regarding
3106 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3108 * src/hildon-pannable-area.c,
3109 (hildon_pannable_axis_scroll): Avoid resize if we already have
3110 reached overshoot_max.
3112 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3114 * src/hildon-pannable-area.c,
3115 (hildon_pannable_area_init),
3116 (hildon_pannable_area_realize),
3117 (hildon_pannable_area_size_allocate),
3118 (hildon_pannable_area_map),
3119 (hildon_pannable_area_unmap),
3120 (hildon_pannable_draw_vscroll),
3121 (hildon_pannable_draw_hscroll),
3122 (hildon_pannable_area_expose_event),
3123 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3124 pannable are to avoid the expose events go to the window and
3125 redraw the window. We save this way that part of the stack and the
3126 paint_boxes. We had to change the positions of the elements when
3129 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3132 * src/hildon-color-chooser-dialog.c:
3133 (hildon_color_chooser_dialog_init):
3134 * src/hildon-font-selection-dialog.c:
3135 (hildon_font_selection_dialog_init),
3136 (hildon_font_selection_dialog_show_preview):
3137 * src/hildon-get-password-dialog.c:
3138 * src/hildon-login-dialog.c:
3139 * src/hildon-set-password-dialog.c:
3140 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3141 * src/hildon-time-picker.c: (hildon_time_picker_init):
3143 Remove obsolete logical string IDs and update to the appropriate ones.
3145 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3147 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3150 that happens if the window hasn't been realized yet.
3152 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3153 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3155 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3158 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3161 Fixes: NB#98537 (Device hangs in account settings dialog)
3163 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3165 * configure.ac: post release version bump.
3166 * debian/changelog: version bump
3168 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3173 * configure.ac: Bump version.
3174 * debian/changelog: Updates.
3176 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3178 Added a new function to the HildonTimeButton widget that allows to
3179 change the step of the minutes in the selector associated with the
3180 button: hildon_time_button_new_step
3182 * src/hildon-time-button.c,
3183 (hildon_time_button_init),
3184 (hildon_time_button_new),
3185 (hildon_time_button_new_step):
3186 * src/hildon-time-button.h: Added the new function and refactored
3188 * examples/hildon-time-button-example.c,
3189 (main): We have replaced the function without parameters with the
3190 function with the steps set to 5
3192 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3194 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3196 * src/hildon-time-selector.c,
3197 (hildon_time_selector_class_init),
3198 (hildon_time_selector_constructor),
3199 (hildon_time_selector_get_property),
3200 (hildon_time_selector_set_property),
3201 (_create_minutes_model),
3202 (hildon_time_selector_new_step),
3203 (hildon_time_selector_set_time),
3204 * src/hildon-time-selector.h: Added a new property to the
3205 HildonTimeSelector (minutes-step), we use that property to control
3206 the steps between the minutes in the list of the selector. We have
3207 added a new function to the API to create a widget changing the
3208 step: hildon_time_selector_new_step.
3210 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3212 * src/hildon-time-selector.c,
3213 (hildon_time_selector_class_init),
3214 (hildon_time_selector_constructor),
3215 (hildon_time_selector_init): Overrided the construct function when
3216 creating the time selector object. We have moved the minutes model
3217 handling code from the init to the new construction function:
3218 hildon_time_selector_constructor.
3220 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3222 * examples/hildon-date-button-example.c: (main): Use the new
3223 hildon_date_button_new_with_year_range() method in the example.
3224 * src/hildon-date-button.c:
3225 (+hildon_date_button_new_with_year_range): New public method
3226 to conveniently create a HildonDateButton with a custom year range
3227 in its HildonDateSelector.
3228 * src/hildon-date-button.h: Add the new public method definition.
3230 Fixes: NB#97908 (Not possible to change the year range in
3231 HildonDateSelector/HildonDateButton)
3233 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3235 * src/hildon-date-selector.c:
3236 (+hildon_date_selector_set_property),
3237 (+hildon_date_selector_get_property),
3238 (hildon_date_selector_class_init): Install new properties "min-year"
3239 and "max-year" to define boundaries for the year column.
3240 (_create_year_model): Use the boundary properties to populate the model.
3241 (+hildon_date_selector_new_with_year_range): New public method to
3242 create a HildonDateSelector with a user defined year range.
3243 (hildon_date_selector_select_current_date): Use the new boundaries to
3244 calculate the iterator of current year.
3245 * src/hildon-date-selector.h: Add the new public method definition.
3247 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3250 Install a constructor method.
3251 (+hildon_date_selector_construct_ui): construct the widget.
3252 (+hildon_date_selector_constructor): new constructor.
3253 (+hildon_date_selector_init): move out widget construction code to
3254 the new constructor.
3256 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3259 that there's actually a month or year selected before obtaining them.
3260 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3261 of the HildonTouchSelector::changed signal, as it was emitted on every
3262 single item selection.
3264 Fix some warnings and possible crashers due to the selection restoring.
3266 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3269 the signal handlers only after creating the dialog instead of on every
3272 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-button.c (hildon_button_init)
3275 * src/hildon-check-button.c (hildon_check_button_init)
3276 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3277 focus when clicked by default.
3279 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3284 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3286 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3287 Alejandro G. Castro (alex@igalia.com)
3289 * src/hildon-picker-dialog.c:
3290 (hildon_picker_dialog_class_init): install new "center-on-show"
3292 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3293 (hildon_picker_dialog_set_property): add setter code for the new
3295 (hildon_picker_dialog_get_property): add getter code for the new
3297 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3298 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3301 Fixes: NB#92849 (Selected item is not always visible when
3302 HildonTouchSelector is shown)
3304 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3306 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3307 Alejandro G. Castro (alex@igalia.com)
3309 * src/hildon-touch-selector.c:
3310 (_create_new_column): Do not connect to the "realize" signal of the
3312 (hildon_touch_selector_append_column): center on the selected items
3313 when a new column is appended.
3314 (hildon_touch_selector_select_iter): Factor out the code to select a
3315 column to hildon_touch_selector_scroll_to().
3316 (+search_nearest_element): Method to retrieve the nearest selected
3317 element to the visible area of the pannable area in a column.
3318 (+on_realize_cb): scroll to the initially selected item.
3319 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3320 the pannable area is realized, otherwise delay this until it is.
3321 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3322 selected items of a given column.
3323 (+hildon_touch_selector_center_on_selected): Public method to center
3324 all columns on the nearest selected item.
3325 * src/hildon-touch-selector.h: Add definition for
3326 hildon_touch_selector_center_on_selected().
3328 Implement public API to ensure visibility of all selected items in
3329 a HildonTouchSelector.
3331 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3333 Fixed a problem in the fading when calling the scroll_to API, and
3334 improve scrollbar fading handling.
3336 * src/hildon-pannable-area.c,
3337 (hildon_pannable_area_grab_notify): avoid the timeout when the
3339 (hildon_pannable_area_button_press_cb),
3340 (hildon_pannable_area_motion_notify_cb): Code style changes.
3341 (hildon_pannable_area_button_release_cb): Review the conditions
3342 when releasing the mouse button to avoid unrequired fading
3344 (hildon_pannable_area_scroll_to): Do not calculate and set the
3345 velocity if the scroll is not required.
3347 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3349 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3350 Don't check whether the new selector is NULL: it cannot be.
3351 Hold a reference to the selector while doing the replacement.
3353 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3356 unnecessary size_request in a removed widget.
3358 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3361 an unnecessary reference tracking that was leaking.
3363 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3365 Added delayed motion notify event handling, this way we can
3366 discard redrawing if more than 25 events arrive per second.
3368 * src/hildon-pannable-area.c,
3369 (hildon_pannable_area_init): Initialized the new private atributes
3370 controlling this timeout
3371 (hildon_pannable_area_dispose): Remove the timeout that controls
3372 the motion notify events.
3373 (hildon_pannable_area_scroll): Added a condition to control the
3374 use of the acceleration.
3375 (hildon_pannable_area_motion_event_scroll_timeout),
3376 (hildon_pannable_area_motion_event_scroll): Added this two
3377 functions, they handle the motion notify events inside the
3379 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3380 to the scroll method with the new function.
3381 (hildon_pannable_area_button_release_cb): We have to remove the
3382 timeout handler and move to the last position if the last motion
3383 events were not handled.
3385 Fixes: NB#97028 (Pannable area updates on every motion event)
3387 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3389 * src/hildon-pannable-area.c,
3390 (hildon_pannable_area_get_topmost): Added a new parameter to
3391 filter the the windows that do not include those events. Added
3392 also a condition when finding the window to filter windows that do
3393 not ask for those events.
3394 (hildon_pannable_area_button_press_cb),
3395 (hildon_pannable_area_button_release_cb),
3396 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3397 topmost function, we have added the new parameter.
3399 Fixes: NB#97458 (Pannable area prevents propagation of button
3402 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3404 * src/hildon-pannable-area.c,
3405 (hildon_pannable_area_initial_effect): Added controls before
3406 launching the timeout and the idle functions.
3407 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3408 of the method, in some situations it can return with TRUE and 0 in
3410 (hildon_pannable_area_button_press_cb): We do not need to set
3411 DELAY for fading out here.
3413 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3415 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3418 post-cleaning if the selection is not NULL.
3420 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3422 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3423 all items before restoring the selection.
3425 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-touch-selector.c:
3428 (+hildon_touch_selector_unselect_all):
3429 * src/hildon-touch-selector.h: New API to unselect all items in a
3430 column of the touch selector.
3432 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3434 * src/hildon-pannable-area.c,
3435 (hildon_pannable_area_redraw): Added a call to the refresh
3436 function inside the redraw because apparently in some cases the
3437 change in the adjustment does not imply a size allocate.
3439 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3440 despite the view not being scrollable)
3442 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3445 leak. Check for NULL before attempting to set the window title.
3447 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3450 whether to show or not the 'Done' button each time the dialog is
3451 shown, as it depends on the HildonTouchSelector selection mode.
3453 Fixes: NB#96226 (In multiple selection mode Done button is shown
3454 sometimes in listpicker)
3456 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3459 for the number of columns in the HildonTouchSelector more than once.
3461 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-touch-selector.c: Minor documentation fixes.
3465 * src/hildon-picker-dialog.c (+_dialog_update_title)
3466 (_select_on_selector_changed_cb)
3467 (_update_title_on_selector_changed_cb)
3468 (on_selector_columns_changed): Update dialog title when there's no
3469 'Done' button and also when the number of columns in the selector
3473 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3474 (+_selection_changed, hildon_picker_button_on_dialog_response)
3475 (hildon_picker_button_selector_selection_changed)
3476 (+hildon_picker_button_selector_columns_changed)
3477 (hildon_picker_button_set_selector): Update button value and emit
3478 'value-changed' when the number of columns in the selector
3482 Fixes: NB#96225 (Dialog titles are not shown according to the
3483 values selected in the list picker)
3485 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3487 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3488 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3489 New "arrow-width" and "arrow-height" style properties to set the
3490 size of the arrow button.
3491 Set name of arrow button ("hildon-edit-toolbar-arrow").
3493 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3494 graphics from theme)
3496 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-picker-button.c:
3499 (hildon_picker_button_selector_selection_changed): Use
3500 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3501 the dialog is present.
3503 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3504 the selection is accepted in the dialog)
3506 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-color-chooser.h
3509 * src/hildon-color-chooser-dialog.h:
3510 Added G_BEGIN_DECLS and G_END_DECLS
3512 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3514 (_clean_current_selection): plug a leak in the list.
3516 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3518 * src/hildon-picker-dialog.c:
3519 (+free_path_list): Method to free a GList of GtkTreePaths.
3520 (_clean_current_selection), (_save_current_selection),
3521 (_restore_current_selection): Save the current selection in
3522 as a list of lists, to support multiple selection properly.
3524 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3526 patch by Claudio Saavedra (csaavedra@igalia.com)
3528 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3529 Store the press position.
3530 (+hildon_text_view_button_release_event): If the release position is
3531 close enough to the press position, move the cursor here. Otherwise,
3533 (hildon_text_view_class_init): Override GtkTextView press, release, and
3534 motion event handlers, disabling this way text selection through
3535 pointer interaction, and allowing the container widget to handle the
3538 Fixes: NB#95828 (HildonTextView functionality)
3540 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3542 Based on a patch by Iván Gómez (igomez@igalia.com)
3544 * src/hildon-button.[ch]
3545 * src/hildon-calendar.c
3546 * src/hildon-check-button.c
3547 * src/hildon-date-editor.c
3548 * src/hildon-date-selector.c
3549 * src/hildon-picker-button.c
3550 * src/hildon-time-editor.c
3551 * src/hildon-time-selector.c
3552 * src/hildon-touch-selector.[ch]:
3553 Documentation updates
3555 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3557 * src/hildon-pannable-area.c,
3558 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3559 threshold, it was required due to X events handling.
3561 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3563 * src/hildon-pannable-area.c,
3564 (hildon_pannable_area_grab_notify),
3565 (hildon_pannable_area_initial_effect),
3566 (hildon_pannable_area_button_press_cb),
3567 (hildon_pannable_area_button_release_cb),
3568 (hildon_pannable_area_scroll_cb),
3569 (hildon_pannable_area_scroll_to): Review the timeout management of
3570 the scrollbar, the frecuency was incorrectly set.
3572 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3574 * src/hildon-picker-button.c:
3575 (+hildon_picker_button_on_dialog_response),
3576 (hildon_picker_button_clicked): Present the dialog instead of
3577 running it with gtk_dialog_run().
3579 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3582 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3585 (hildon_app_menu_finalize): When a window is hidden it doesn't
3586 emit notify::is-topmost, so make sure than the menu also
3587 disappears in that case.
3588 (parent_window_topmost_notify): Renamed from parent_window_hidden
3590 Fixes: NB#94460 (stackable window's menu is not closed when its
3593 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-touch-selector-entry.c:
3596 (+hildon_touch_selector_entry_set_input_mode),
3597 (+hildon_touch_selector_entry_get_input_mode):
3598 * src/hildon-touch-selector-entry.h: New methods to access the input
3599 mode in the selector's entry.
3601 Fixes: NB#93410 (API required for setting IM mode in
3602 HildonTouchSelectorEntry)
3604 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3606 * configure.ac: post release version bump.
3607 * debian/changelog: version bump
3609 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3614 * configure.ac: Bump version.
3615 * debian/changelog: Updates.
3617 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3619 * src/hildon-touch-selector.c:
3620 (_hildon_touch_selector_has_multiple_selection): No need
3621 to initialize the variables here.
3623 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3625 * src/hildon-note-private.h
3626 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3627 (hildon_note_finalize, hildon_note_rebuild): Close information
3628 notes when they receive a button press.
3630 Fixes: NB#89890 (Information notes does not get disappeared after
3633 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3636 mark from the wizard title, as it's not really necessary. Also,
3637 do not display the page title if not set.
3639 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3642 (parent_window_hidden): Use the window's "is-topmost" property to
3643 detect when to hide the menu.
3645 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3648 (hildon_app_menu_finalize): If the parent window of the menu is
3649 hidden, hide the menu too.
3651 Fixes: NB#94460 (stackable window's menu is not closed when its
3654 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3657 * debian/libhildon1-examples.install
3659 * examples/Makefile.am:
3660 Use dh_install to install all examples.
3661 Use DEB_SRCDIR instead of defining SOURCE_DIR
3663 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3665 * configure.ac: post release version bump.
3666 * debian/changelog: version bump
3668 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3673 * configure.ac: bump version
3674 * debian/changelog: updates
3675 * debian/control: bump gtk+ dependency
3677 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3679 patch by Christian Dywan (christian@imendio.com)
3681 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3682 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3684 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-check-button.c (hildon_check_button_init)
3687 (hildon_check_button_class_init, hildon_check_button_style_set)
3688 (hildon_check_button_apply_style):
3689 New "checkbox-size" style property.
3691 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3692 larger / configurable size)
3694 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3696 * configure.ac: post release version bump.
3697 * debian/changelog: version bump
3699 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3704 * configure.ac: bump version
3705 * debian/changelog: updates
3707 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3709 * doc/hildon-sections.txt
3710 * src/hildon-pannable-area.c
3711 * src/hildon-program.c
3712 * src/hildon-time-editor.c
3713 * src/hildon-touch-selector-entry.c:
3715 More documentation updates.
3717 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3719 * doc/hildon-sections.txt
3720 * src/hildon-caption.c
3721 * src/hildon-code-dialog.c
3722 * src/hildon-color-button.c
3723 * src/hildon-controlbar.c
3724 * src/hildon-date-editor.c
3725 * src/hildon-date-selector.c
3726 * src/hildon-edit-toolbar.c
3727 * src/hildon-find-toolbar.c
3728 * src/hildon-font-selection-dialog.c
3730 * src/hildon-program.c
3731 * src/hildon-range-editor.c
3732 * src/hildon-seekbar.c
3733 * src/hildon-time-editor.c
3734 * src/hildon-time-selector.c
3735 * src/hildon-volumebar-range.c
3736 * src/hildon-volumebar.c
3737 * src/hildon-vvolumebar.c
3738 * src/hildon-weekday-picker.c
3739 * src/hildon-window.c
3740 * src/hildon-wizard-dialog.c:
3742 Lots of documentation fixes.
3744 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3746 Patch contributed by Iván Gómez (igomez@igalia.com)
3748 * src/hildon-check-button.c:
3749 * src/hildon-date-button.c:
3750 * src/hildon-date-selector.c:
3751 * src/hildon-dialog.c:
3752 * src/hildon-edit-toolbar.c:
3753 * src/hildon-entry.c:
3754 * src/hildon-picker-button.c:
3755 * src/hildon-program.c:
3756 * src/hildon-text-view.c:
3757 * src/hildon-time-button.c:
3758 * src/hildon-touch-selector-entry.c:
3759 * src/hildon-window-stack.c:
3761 Add more "since" tags to the new API.
3763 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3765 * doc/hildon-sections.txt: Add below method.
3766 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3767 version for the hildonized scale.
3768 * src/hildon-gtk.h: Add the definition.
3770 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3772 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3774 * doc/hildon-sections.txt: Add missing entries for new methods.
3776 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3778 Added API to pannable are in order to get its adjustments. We
3779 added two properties to manage the values we had in the private
3782 * src/hildon-pannable-area.c:
3783 (hildon_pannable_area_class_init): Added hadjustment and
3784 vadjustment properties in order to expose horizontal and vertical
3786 (hildon_pannable_area_get_property),
3787 (hildon_pannable_area_set_property): Added code to handle the new
3789 (hildon_pannable_area_get_hadjustment),
3790 (hildon_pannable_area_get_vadjustment): API functions to get the
3792 * src/hildon-pannable-area.h:
3793 (hildon_pannable_area_get_hadjustment),
3794 (hildon_pannable_area_get_vadjustment): API functions to get the
3797 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3799 Fixed some leaks, after valgrinding.
3801 * src/hildon-touch-selector.c:
3802 (_default_print_func): Fixed a leak.
3803 (hildon_touch_selector_append_column): Fixed a leak.
3804 * src/hildon-date-button.c:
3805 (hildon_date_button_init): Fixed a leak.
3806 * src/hildon-date-selector.c
3807 (hildon_date_selector_finalize): Fixed a leak.
3809 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3811 Based on a patch by Christian Dywan (christian@imendio.com)
3813 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3815 * src/hildon-gtk.h: Add definition.
3817 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3819 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3821 * src/hildon-picker-button.c: (hildon_picker_button_init),
3822 (hildon_picker_button_new): Set the HildonButton::style property
3823 in the init method, to propagate the value to the derived classes.
3825 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3827 * src/hildon-button.c: (hildon_button_class_init): Do not make
3828 the "style" property a construct property.
3830 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-wizard-dialog.h
3833 * src/hildon-wizard-dialog.c
3834 (hildon_wizard_dialog_set_forward_page_func)
3835 * src/hildon-pannable-area.h
3836 * src/hildon-pannable-area.c
3837 (hildon_pannable_area_set_size_request_policy):
3838 Documentation fixes.
3840 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3842 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3844 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3846 * doc/hildon-sections.txt: Added sections file.
3848 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3851 * src/*.[ch]: Updates.
3853 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3855 * examples/hildon-progress-indicator-example.c: new file
3856 * examples/Makefile.am: include the new example program
3858 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3862 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3864 * configure.ac: post release version bump
3865 * debian/changelog: version bump
3867 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3872 * configure.ac: bump version
3873 * debian/changelog: updates
3874 * debian/control: bump gtk+ dependency
3876 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3878 * src/hildon-dialog.c: Mark as deprecated.
3879 * src/hildon-dialog.h: Mark as deprecated.
3880 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3881 from HildonDialog and still work, even if
3882 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3883 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3885 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3886 maemo changes) instead)
3888 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3890 * src/hildon-pannable_area.h:
3891 * src/hildon-pannable_area.c:
3892 (hildon_pannable_area_class_init),
3893 (hildon_pannable_area_set_property),
3894 (hildon_pannable_area_get_property),
3895 (hildon_pannable_area_size_request),
3896 (hildon_pannable_area_get_size_request_policy),
3897 (hildon_pannable_area_set_size_request_policy): Added new API
3898 allowing applications to control the request policy. Now they can
3899 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3900 children allocation (HILDON_MOVEMENT_CHILDREN).
3902 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3906 (hildon_gtk_tree_view_set_ui_mode)
3907 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3908 mode of treeviews and iconviews.
3910 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-touch-selector-entry.c:
3913 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3914 of a GtkEntry to get proper theming.
3916 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3917 widget, not GtkEntry)
3919 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3921 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3922 no HildonWizardDialogPageFunc.
3924 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3926 Patch contributed by Iván Gómez (igomez@igalia.com)
3928 * src/hildon-app-menu.c:
3929 * src/hildon-button.c:
3930 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3931 * src/hildon-stackable-window.c:
3932 * src/hildon-time-selector.c:
3933 * src/hildon-touch-selector.c:
3934 * src/hildon-window.c:
3936 Add more "since" tags to the new API in hildon 2.2.
3938 2008-12-05 Tim Janik <timj@imendio.com>
3940 Patch contributed by Christian Dywan (christian@imendio.com)
3942 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3943 HildonSizeType, which are supplied by Gtk+ now.
3945 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3947 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3948 (with maemo changes) instead)
3950 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3952 Patch contributed by Iván Gómez (igomez@igalia.com)
3954 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3957 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3959 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3960 (some_page_func), (main): Update the example to use a
3961 HildonWizardDialogPageFunc function.
3963 * src/hildon-wizard-dialog-private.h: Add private data for
3964 the HildonWizardDialogPageFunc function usage.
3966 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3967 (destroy), (hildon_wizard_dialog_init), (response),
3968 (hildon_wizard_dialog_set_forward_page_func):
3969 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3970 that applications can use to stop a HildonWizardDialog to jump to
3973 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3976 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3978 * src/hildon-program.h
3979 * src/hildon-program-private.h
3980 * src/hildon-program.c (hildon_program_init)
3981 (hildon_program_set_common_app_menu)
3982 (hildon_program_get_common_app_menu):
3983 New API for setting a common HildonAppMenu for all
3984 HildonStackableWindows registered with the HildonProgram.
3986 * src/hildon-stackable-window.c
3987 (hildon_stackable_window_toggle_menu):
3988 Use the common HildonAppMenu if a window doesn't have a specific
3991 * src/hildon-app-menu-private.h
3992 * src/hildon-app-menu.c
3993 (hildon_app_menu_get_parent_window):
3994 Function to obtain the window a HildonAppMenu is attached to.
3995 (hildon_app_menu_set_parent_window):
3996 Hide the menu if the parent window is set to NULL.
3998 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4001 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4002 search widget to popup.
4004 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4006 * configure.ac: post release version bump
4007 * debian/changelog: version bump
4009 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4014 * configure.ac: bump version
4015 * debian/changelog: updates
4017 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4019 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4021 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4022 (hildon_window_stack_window_realized)
4023 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4024 Set the leader GdkWindow when a window is stacked and realized,
4025 unset it when it's unstacked.
4026 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4028 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4030 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4032 * src/hildon-stackable-window.h
4033 * src/hildon-window-stack.h:
4034 Protect definition of HildonWindowStack using the preprocessor.
4036 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4039 Fix warning if all menu items are hidden.
4041 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4043 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4045 * src/hildon-controlbar.c:
4046 * src/hildon-hvolumebar.c:
4047 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4048 Multiple scale size defines updates.
4050 Fixes: NB#94322 (Scale Updates)
4052 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4054 * examples/hildon-app-menu-example.c (create_menu)
4055 Show items after adding them to the menu, as in the future the
4056 menu will no longer call gtk_widget_show() on the added items.
4058 * src/hildon-app-menu.c:
4059 Update example as explained above.
4061 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-app-menu.c
4064 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4065 Make sure that all menu items have finger height.
4067 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4069 * src/hildon-picker-dialog.c:
4070 (_on_dialog_response), (_save_current_selection),
4071 (_restore_current_selection), (_clean_current_selection),
4072 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4073 Defined new functions in order to save the current internal selector
4074 selection previous open the dialog, in case that the use cancel the
4075 interaction, so the widget restores the previous selection.
4077 Fixes: NB#92032 (In calendar application, date values in 'new event'
4080 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4082 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4084 * src/hildon-button.c: Add a reference to the button examples in
4085 hildon-button-example.c
4087 * examples/hildon-button-example.c: Added examples of the most
4088 common button layouts.
4090 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-app-menu.c (hildon_app_menu_show)
4093 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4095 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4097 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-picker-dialog.c:
4100 (hildon_picker_dialog_init): Initialize the signal id for
4101 HildonTouchSelector::columns-changed.
4102 (+on_selector_columns_changed): Set up the interaction mode everytime a
4103 column is added or removed from the HildonTouchSelector.
4104 (_hildon_picker_dialog_set_selector): Connect to
4105 HildonTouchSelector::columns-changed and keep track of it.
4107 Make sure to update the interaction mode of the dialog everytime a
4108 column is added or removed in the HildonTouchSelector.
4110 Fixes: NB#93228 (Done button is not shown always in listpicker)
4112 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4115 a new ::columns-changed signal.
4116 (hildon_touch_selector_append_column): Emit ::columns-changed.
4117 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4119 Add a ::columns-changed signal, emitted when the number of columns in a
4120 HildonTouchSelector changes.
4122 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4125 (_hildon_picker_dialog_set_selector): Factor out the code
4126 to set up the dialog interaction mode.
4128 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4131 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4132 to signal_changed_id.
4134 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4139 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4141 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4142 Updated the logical ids related to ampm format, as now it is required to
4143 show it correctly localized even on languages with no default
4144 abbreviations for am or pm
4145 (_check_am_pm_format): check correctly the 24h format gconf property
4147 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4149 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-button.c: Documentation updates.
4153 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4156 * src/hildon-caption.c: (hildon_caption_class_init):
4157 * src/hildon-color-button.c: (hildon_color_button_class_init):
4158 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4159 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4160 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4161 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4163 Remove deprecated GTK+ marshalers and replace them with the ones
4164 provided by GLib, for those available, add a marshaler for
4165 BOOLEAN:VOID, which is not available in GLib, and use it.
4167 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4170 the text from the previous column if there is no
4171 HildonTouchSelectorColumn::text-property set.
4173 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-button.h
4176 * src/hildon-button.c (hildon_button_set_property)
4177 (hildon_button_get_property, hildon_button_class_init)
4178 (hildon_button_set_style, hildon_button_get_style):
4179 New "style" property to change the visual appearance of the
4182 * src/hildon-picker-button.c (hildon_picker_button_new):
4183 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4185 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4186 HildonButton look like PickerButton)
4188 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4191 column while building the default string.
4193 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4196 scroll indicator by default.
4198 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4200 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4202 * src/hildon-main.c: Fix the documentation for hildon_init()
4204 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4206 * doc/hildon-docs.sgml
4210 * src/hildon-window-stack-private.h
4211 * src/hildon-window-stack.h
4212 * src/hildon-window-stack.c:
4213 New HildonWindowStack object, that adds support for multiple
4214 stacks of windows per process.
4216 * src/hildon-stackable-window-private.h
4217 * src/hildon-stackable-window.h
4218 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4219 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4220 (hildon_stackable_window_show, hildon_stackable_window_hide)
4221 (hildon_stackable_window_class_init)
4222 (hildon_stackable_window_init):
4223 Use HildonWindowStack for stack management.
4225 * src/hildon-program.c (hildon_program_pop_window_stack)
4226 (hildon_program_peek_window_stack)
4227 (hildon_program_go_to_root_window):
4228 Add a fallback implementation to the deprecated functions using
4231 * examples/hildon-stackable-window-example.c:
4232 Use the new HildonWindowStack API.
4234 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4236 * src/hildon-stackable-window-private.h
4237 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4238 (hildon_stackable_window_hide, hildon_stackable_window_init):
4239 Remove all window stack management.
4241 * src/hildon-program-private.h
4242 * src/hildon-program.h
4243 * src/hildon-program.c (hildon_program_init)
4244 (hildon_program_pop_window_stack)
4245 (hildon_program_peek_window_stack)
4246 (hildon_program_go_to_root_window):
4247 Remove all window stack management and mark functions as
4250 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-app-menu.c (hildon_app_menu_realize):
4253 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4255 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4257 * configure.ac: post release version bump
4258 * debian/changelog: version bump
4260 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4265 * configure.ac: bump version
4266 * debian/changelog: updates
4268 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4270 Based on initial code by Christian Dywan (christian@imendio.com)
4272 * doc/hildon-docs.sgml: Add section for hildon-main.
4273 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4274 * src/Makefile.am: Add new hildon-main.[ch]
4275 * src/hildon-defines.h: Update the icon sizes.
4276 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4277 new library initialization files and register icon sizes.
4278 * src/hildon-main.h: New declarations.
4279 * src/hildon.h: Include hildon-main.h
4281 Add new initialization functions to the library. These methods
4282 will register the hildon specific icon sizes and can be used in the
4283 future for other hildon specific bits.
4285 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4287 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-window.c: (hildon_window_realize),
4290 (hildon_window_notify), (-hildon_window_update_title): Do not set
4291 the application name in the window title.
4293 Fixes: NB#89754 (Applications shouldn't display their names in the
4296 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-note-private.h:
4299 * src/hildon-note.c: (hildon_note_set_property),
4300 (hildon_note_get_property), (hildon_note_class_init),
4301 (hildon_note_init), (hildon_note_finalize),
4302 (hildon_note_new_confirmation_with_icon_name),
4303 (hildon_note_new_information_with_icon_name):
4305 No need to mark as deprecated the actual code. Revert
4306 to avoid missing symbols in widgets using deprecated API.
4308 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4310 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4312 * src/hildon-volumebar.h
4313 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4314 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4316 * src/hildon-helper.h
4317 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4318 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4320 * examples/Makefile.am:
4321 Deprecate hildon-insensitive-example
4323 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4325 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4327 * examples/hildon-pannable-area-buttons-scroll-example.c:
4328 Make all buttons finger height
4330 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4332 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4334 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4335 update the day model only if it is really required, and to avoid the
4336 full-reconstruction aproach. Now it only add or remove the required days.
4338 The purpose of this is avoid superfluous HildonTouchSelector::changed
4341 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4342 with strange parameters)
4344 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4346 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4348 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4349 the WINDOW_TYPE property.
4351 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4353 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4356 Fix dependency to allow parallel compilation with make -jX
4358 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4361 color frame and some minor tweaks to make it more consistent with
4364 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4365 highlighted but not visible)
4367 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4369 * examples/Makefile.am: Fixed typo in the Makefile.am.
4371 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4373 Reviewed the use of MAEMO_GTK define, now we add the define in the
4374 compilation line, and we also add it to the pc file.
4376 * configure.ac: Added MAEMO_GTK define to the compilation command
4377 and removed it from the config.h.
4379 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4380 do not have to take care about this define if the library was
4384 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4386 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4388 * examples/Makefile.am,
4389 * examples/hildon-pannable-area-buttons-scroll-example.c,
4390 * examples/hildon-pannable-area-gesture-signals-example.c,
4391 * examples/hildon-pannable-area-scroll-jump-example.c,
4392 * examples/hildon-pannable-area-tree-view-example.c:
4393 Renamed the pannable area examples, now they have more meaningful
4396 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4398 * src/hildon-touch-selector.c:
4399 (hildon_touch_selector_set_column_selection_mode): Used of
4400 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4401 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4402 to avoid re-seting the same selection mode.
4404 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4405 breaks HildonPickerDialog)
4407 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4409 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4410 conditional in the Makefile.am
4412 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4415 Remove unused methods.
4417 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-button.c (hildon_button_init):
4420 Make button images center-aligned by default
4422 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4426 activated, we have to think about how to deal with both defines
4427 MAEMO_GTK and MAEMO_CHANGES.
4429 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4431 * examples/hildon-app-menu-example.c (create_menu): Make all
4432 buttons finger size.
4434 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4436 Fixed the compilation without maemo gtk adding ifdefs with
4437 MAEMO_GTK define to the code, we have to check this version more
4440 * examples/Makefile.am: Added control to avoid some examples that
4441 just make sense with maemo gtk.
4444 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4445 hildon modes with the define.
4447 * examples/hildon-edit-toolbar-example.c,
4448 (create_icon_view): Create the icon view without hildon-gtk
4449 helpers if we are not using maemo gtk.
4451 * src/hildon-touch-selector.c,
4452 (_create_new_column): Create the treeview without hildon-gtk
4453 helpers if we are not using maemo gtk.
4455 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4457 * src/hildon-pnnable-area.c,
4458 (hildon_pannable_area_dispose),
4459 (hildon_pannable_area_button_press_cb),
4460 (hildon_pannable_area_child_mapped),
4461 (hildon_pannable_area_add),
4462 (hildon_pannable_area_remove): Added code to control the position
4463 of the event_window when adding and removing children from the
4464 pannable. We have to raise the event window when the child is
4467 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4468 selection mode using custom widget inside pannable)
4470 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4472 * configure.ac: post release version bump
4473 * debian/changelog: version bump
4475 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4480 * configure.ac: bump version
4481 * debian/changelog: updates
4483 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4485 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4486 search mode, in order to avoid lose the focus on the treeview when
4487 a hw key (like enter) is pressed.
4489 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4490 in HildonDateSelector dialog)
4492 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4494 * debian/rules: Added --enable-maintainer-mode
4495 * Makefile.am: Added ACLOCAL_AMFLAGS
4497 This allows to properly regenerate the Makefiles if you modify the
4498 configure.ac or any Makefile.am.
4500 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4502 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4503 properties, not needed at all.
4505 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4507 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4509 * src/hildon-note.c: (hildon_note_set_property),
4510 (hildon_note_get_property), (hildon_note_class_init),
4511 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4512 (hildon_note_new_confirmation_add_buttons): Remove icons.
4513 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4514 (hildon_note_new_information_with_icon_name): Deprecate.
4515 (hildon_note_new_confirmation): Act directly, without calling
4516 the deprecated constructor.
4517 (hildon_note_new_information): Act directly, without calling
4518 the deprecated constructor.
4519 * src/hildon-note.h: Mark deprecate methods as such.
4520 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4521 not run tests on the deprecated methods if built with deprecation
4524 Fixes: NB#91688 (Never show icons in information notes/confirmation
4527 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4529 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4530 (hildon_app_menu_key_press): Remove leftover usage of the
4531 private structure in HildonAppMenu struct.
4532 * src/hildon-app-menu.h: Remove leftover private structure
4533 from the HildonAppMenu struct.
4535 Fixes a crasher when using the HildonAppMenu.
4537 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-picker-dialog.c: Use appropriate logical id
4540 for the default "Done" text.
4542 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4544 * configure.ac: post release version bump
4545 * debian/changelog: version bump
4547 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4549 Modified the way to scroll to the current selection just when the touch
4550 selector is shown on the screen, avoiding a g_idle. Added too a property
4551 to configure this behaviour. See hildon_pannable_area_jump_to_child
4552 documentation for more information.
4554 * src/hildon-touch-selector.c
4555 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4556 Added 'initial-scroll' property
4557 (hildon_touch_selector_set_property): Added
4558 (hildon_touch_selector_map): Removed as not required anymore
4559 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4560 only a concrete column, instead of iterate along all the columns
4562 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4567 * configure.ac: bump version
4568 * debian/changelog: updates
4570 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4573 compilation time warnings.
4575 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4577 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4578 the default value for HildonPannableArea::mov-mode to
4579 HILDON_PANNABLE_AREA_MODE_VERT.
4581 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4583 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4585 Reverting following commit:
4587 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-app-menu-private.h
4590 * src/hildon-app-menu.[ch]
4591 * src/hildon-button.[ch]
4592 * src/hildon-check-button.[ch]
4593 * src/hildon-entry.[ch]
4594 * src/hildon-pannable-area.[ch]
4595 * src/hildon-text-view.[ch]:
4596 Added private field to the object's structure.
4598 because it causes an ABI breakage. We will need to introduce these
4599 changes later at some point. See NB#91636 for an extensive
4600 explanation and status.
4602 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4604 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4606 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4607 remove special cases that are no longer necessary.
4609 Fixes: NB#91016 (Change toolbar sizes, simplification)
4611 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4613 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4614 is shown in the cancel note.
4616 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4619 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4620 (hildon_seekbar_init): Remove steppers, remove expose event.
4621 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4623 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4625 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4628 label font to "SmallSystemFont" for vertically arranged buttons.
4630 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4633 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-check-button.c
4636 (hildon_check_button_set_active, hildon_check_button_clicked):
4637 Don't access private parts directly, use getters instead.
4639 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-check-button.c (hildon_check_button_new):
4642 Align the contents of the check button to the left.
4644 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4646 * src/hildon-pannable-area.c,
4647 (hildon_pannable_area_scroll_to),
4648 (hildon_pannable_area_jump_to),
4649 (hildon_pannable_area_scroll_to_child),
4650 (hildon_pannable_area_jump_to_child): Replace the mapped
4651 precondition of these functions with the realized, it is the
4652 correct state of the widget in this case. Changed the
4653 documentation according to this modification.
4655 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4657 Added a new EXTRA_CFLAGS option to add the deprecated define to
4658 the compilation command. This way we can avoid using the define in
4659 the documentation compilation.
4661 * configure.ac: Defined EXTRA_CFLAGS.
4663 * examples/Makefile.am:
4665 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4667 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4669 * src/hildon-picker-dialog.c:
4670 Defined a utility macro with the desired touch selector height
4671 Removed currently unused separator, and title_label variables from
4673 (hildon_picker_dialog_init): Removed code related to the creation
4674 of unused private variables title_label and separator.
4675 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4676 to ensure correct visualization of the touch selector inside the dialog.
4677 * src/hildon-touch-selector.c
4678 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4679 ensure a concrete height of the widget.
4681 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4684 * tests/Makefile.am:
4686 Remove spurious whitespaces.
4688 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4691 compilation warning after the cancel button removal.
4693 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4695 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4697 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4698 Makefile.am, that way we can choose not to compile some examples
4699 and tests of the deprecated widgets.
4701 * examples/Makefile.am: Divided the sources in deprecated and
4704 * src/Makefile.am: Added undef statement of the deprecated
4705 symbol to the enums file generation process.
4707 * src/hildon-color-chooser-dialog.c
4708 * src/hildon-color-chooser-dialog.h
4709 * src/hildon-color-button.c
4710 * src/hildon-color-button.h
4711 * src/hildon-color-chooser.c
4712 * src/hildon-color-chooser.h
4713 * src/hildon-controlbar.c
4714 * src/hildon-controlbar.h
4715 * src/hildon-date-editor.c
4716 * src/hildon-date-editor.h
4717 * src/hildon-hvolumebar.c
4718 * src/hildon-hvolumebar.h
4719 * src/hildon-private.c
4720 * src/hildon-private.h
4721 * src/hildon-range-editor.c
4722 * src/hildon-range-editor.h
4723 * src/hildon-seekbar.c
4724 * src/hildon-seekbar.h
4725 * src/hildon-time-editor.c
4726 * src/hildon-time-editor.h
4727 * src/hildon-time-picker.c
4728 * src/hildon-time-picker.h
4729 * src/hildon-volumebar.c
4730 * src/hildon-volumebar.h
4731 * src/hildon-vvolumebar.c
4732 * src/hildon-vvolumebar.h
4733 * src/hildon-bread-crumb-trail.h
4734 * src/hildon-bread-crumb-trail.c
4735 * src/hildon-calendar-popup.c
4736 * src/hildon-calendar-popup.h
4737 * src/hildon-weekday-picker.c:
4738 * src/hildon-weekday-picker.h:
4739 * src/hildon-bread-crumb-widget.c:
4740 * src/hildon-bread-crumb-widget.h:
4741 * src/hildon-bread-crumb.c:
4742 * src/hildon-bread-crumb.h:
4743 * src/hildon-calendar.c:
4744 * src/hildon-calendar.h:
4745 * src/hildon-caption.c:
4746 * src/hildon-code-dialog.c:
4747 * src/hildon-code-dialog.h:
4748 * src/hildon-font-selection-dialog.c:
4749 * src/hildon-font-selection-dialog.h:
4750 * src/hildon-get-password-dialog.c:
4751 * src/hildon-get-password-dialog.h:
4752 * src/hildon-login-dialog.c:
4753 * src/hildon-login-dialog.h:
4754 * src/hildon-number-editor.c:
4755 * src/hildon-number-editor.h:
4756 * src/hildon-set-password-dialog.c:
4757 * src/hildon-set-password-dialog.h:
4758 * src/hildon-sort-dialog.c:
4759 * src/hildon-sort-dialog.h: This is the list of deprecated
4762 * src/hildon-touch-selector.c:
4763 * src/hildon-window.c: Added undef statement to avoid compilation
4766 * tests/Makefile.am: Divided the sources in deprecated and
4769 * tests/check_test.c,
4770 (configure_tests): Marked the deprecated code that was adding
4771 suites with deprecated tests.
4773 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4775 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4777 * src/hildon-touch-selector.c: (_default_print_func): Do not
4778 duplicate a string returned by gtk_tree_model_get(), it is already
4781 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4784 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4786 * src/hildon-pannable-area.c
4787 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4788 method, it had problems when adding a widget with viewport the
4789 second time. Now checks if it already has a viewport and uses it.
4791 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4794 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4796 * src/hildon-pannable-area.c,
4797 (hildon_pannable_area_scroll_to),
4798 (hildon_pannable_area_jump_to),
4799 (hildon_pannable_area_scroll_to_child),
4800 (hildon_pannable_area_jump_to_child): Added a precondition to the
4801 scroll and jump to functions: the widget must be mapped before we
4802 can safely call these functions. We have also added documentation
4803 to the functions to explain how to use them in this situation.
4806 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4808 Reviewed the threading handling of the pannable widget, we have
4809 used the gdk_threads_add_timeout function instead of the usual
4810 glib handlers. This avoids some problems with the threads.
4812 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4813 (hildon_pannable_area_initial_effect),
4814 (hildon_pannable_area_scroll_indicator_fade),
4815 (hildon_pannable_area_button_press_cb),
4816 (hildon_pannable_area_timeout),
4817 (hildon_pannable_area_motion_notify_cb),
4818 (hildon_pannable_area_button_release_cb),
4819 (hildon_pannable_area_scroll_cb),
4820 (hildon_pannable_area_scroll_to): Removed the
4821 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4822 gdk_threads_add_timeout.
4824 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4826 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4831 * configure.ac: bump version
4832 * debian/changelog: updates
4834 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4837 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4838 * src/hildon-color-chooser-dialog.c:
4839 (hildon_color_chooser_dialog_init):
4840 * src/hildon-font-selection-dialog.c:
4841 (hildon_font_selection_dialog_init):
4842 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4844 Remove all cancel/close-like dialogs, as these are not going to be
4847 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4849 * src/hildon-note.c: (hildon_note_rebuild),
4850 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4853 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4855 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4858 sure all buttons are shown, even the Cancel/Close-like ones.
4860 Fixes: NB#90861 (Custom Confirmation dialogs should be
4861 protected from cancel button removal)
4863 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4865 * debian/control: Change libhildon1-examples dependency from libhildon1
4867 * debian/libhildon1-examples.install
4869 * Makefile.am: Modified the final install directory for the examples on
4870 package libhildon1-examples
4871 * Makefile.static: Update clean target in order to remove all the binary
4874 Changes suggested by Claudio after review new libhildon1-examples package
4876 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4879 * src/hildon-touch-selector.c: Ditto.
4881 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4883 * debian/control: Added new package libhildon1-examples, in order to pack
4884 the current hildon examples as documentation
4885 * debian/rules: Not to compress .c files, modify some includes on the
4886 examples (as normally are compiled locally, but when installed it will
4887 require to include the installed libhildon1 library), and rename
4889 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4890 install all the example files on the new example package
4891 * examples/Makefile.static: Added static makefile that can be used to
4892 compile the examples, once installed the new example package
4893 * examples: Most of the examples were modified in order to grant that
4894 all use only '#include "hildon.h"', in order to be easy to prepare
4895 it on the example package
4897 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4900 * debian/libhildon1-dev.install
4901 * debian/libhildon1-doc.install:
4902 Move all gtk-doc files to a separate libhildon1-doc package.
4904 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4906 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4910 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4912 * debian/rules: Fixed a error in order to avoid unnecessary calls
4913 to autogen.sh on package building
4915 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4917 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4919 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4924 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-picker-button.c
4927 (hildon_picker_button_finalize):
4928 Free priv->done_button_text
4930 * src/hildon-time-button.c
4931 (hildon_time_button_set_time)
4932 * src/hildon-picker-button.c
4933 (hildon_picker_button_clicked)
4934 (hildon_picker_button_selector_selection_changed)
4935 (hildon_picker_button_set_selector)
4936 * src/hildon-date-button.c
4937 (hildon_date_button_set_date):
4938 Free strings returned by hildon_touch_selector_get_current_text()
4940 * src/hildon-button.c (hildon_button_construct_child):
4941 Fix leaks in priv->image and priv->label_box
4943 Fixes: NB#90535 (Memory leak in picker button)
4945 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-button.c: (hildon_button_get_property): Do not access
4948 private elements directly, use getters instead.
4950 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-app-menu-private.h
4953 * src/hildon-app-menu.c
4954 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4955 Store the menu's parent window.
4957 * src/hildon-stackable-window.c
4958 (hildon_stackable_window_toggle_menu)
4959 (hildon_stackable_window_finalize):
4960 Set the menu's parent window when the menu is shown, unset it when
4963 * src/hildon-app-menu.c
4964 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4965 (hildon_app_menu_class_init):
4966 Send unhandled keyboard accelerators to the parent window.
4968 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-stackable-window.c
4971 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4973 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4975 * configure.ac: post release version bump
4977 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4980 * configure.ac: Bump version
4981 * debian/changelog: Updates
4982 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4985 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4987 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4990 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4991 GtkMenu with Hildon style.
4993 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-picker-button.c:
4996 (hildon_picker_button_set_done_button_text): Set the dialog's
4997 done button text here as well.
4999 Fixes: NB#90232 (Picker button does not set the label on done button
5000 for the second time)
5002 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5007 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-app-menu.c (hildon_app_menu_insert)
5010 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5011 the HildonAppMenu to be activatable using keyboard accelerators
5012 when the menu is not being shown.
5014 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5016 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5018 * src/hildon-stackable-window.c
5019 (hildon_stackable_window_show):
5020 Don't hide old windows automatically when new windows are shown:
5021 this is now a task for the window manager.
5022 (hildon_stackable_window_class_init)
5023 (hildon_stackable_window_hide):
5024 Remove windows from the stack everytime they're hidden.
5025 (hildon_stackable_window_realize):
5026 Don't change the _NET_WM_WINDOW_TYPE property. Use
5027 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5028 it as a stackable window.
5030 * src/hildon-program.c
5031 (hildon_program_pop_window_stack):
5032 Just hide the window to remove it from the stack.
5033 (hildon_program_go_to_root_window):
5034 Don't call gtk_widget_show(), this is now a task for the window
5037 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5039 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-button.c
5042 (hildon_button_construct_child):
5043 Don't pack anything in the button until text or image are
5044 set. This allows adding a custom child after creating the button
5045 with hildon_button_new().
5046 (hildon_button_finalize, hildon_button_class_init)
5047 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5048 alignment and the label box even when they're not packed in the
5051 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5053 * src/hildon-touch-selector.h:
5054 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5055 currently the type definition was using GTK_TYPE_VBOX
5056 * src/hildon-touch-selector.c:
5057 Added some implementation notes in order to clarify that any other widget
5058 added without the column related API will not be included on the
5059 selection logic, and how the widget is freed, as some people ask about
5061 (hildon_touch_selector_remove): Reimplemented in order to free properly
5062 the column related data when you remove the private hbox.
5063 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5064 to get a proper HildonTouchSelectorColumn documentation
5066 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5068 * src/hildon-touch-selector-entry.c:
5069 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5070 text in the GtkEntry and there is no item selected. Fixes a
5073 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5075 * src/hildon-app-menu-private.h
5076 * src/hildon-app-menu.[ch]
5077 * src/hildon-button.[ch]
5078 * src/hildon-check-button.[ch]
5079 * src/hildon-entry.[ch]
5080 * src/hildon-pannable-area.[ch]
5081 * src/hildon-text-view.[ch]:
5082 Added private field to the object's structure.
5084 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5086 * configure.ac: post-release version bump
5088 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5092 * configure.ac: pre-release version bump
5094 * debian/changelog: updates.
5096 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5098 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5099 Disconnect the handler for HildonTouchSelector::changed.
5101 (hildon_picker_button_selector_selection_changed): Update the button
5102 value if the selection change was not triggered by the
5105 (hildon_picker_button_set_selector): connect to
5106 HildonTouchSelector::changed.
5108 Fixes: NB#89650 (Picker button is not updated, when selection in
5109 selector has changed)
5111 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5113 * src/hildon-picker-dialog.c
5114 (hildon_picker_dialog_realize): Removed as not required
5115 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5116 * src/hildon-picker-button.c
5117 (_current_selector_empty): New function, checks if the selector is empty
5118 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5119 if the current selector is empty, in order to avoid to show the dialog
5120 close the dialog in this case (and shows a g_warning).
5122 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5124 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5126 * src/hildon-pannable-area.c,
5127 (hildon_pannable_area_scroll): Added clause to stop movement when
5128 the child of pannable is smaller than one page.
5129 (hildon_pannable_area_scroll_to): Added conditions to avoid
5130 starting the scrolling movement if the child is smaller than one
5131 page, the complete child is in the screen, we do not have to move.
5133 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5135 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5137 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5138 this is managed automatically by the widget when the size of the
5141 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-picker-button.c
5144 (hildon_picker_button_set_done_button_text): Make a copy of the
5145 text, and free the previous value.
5147 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5149 * src/hildon-touch-selector-entry.c:
5150 (hildon_touch_selector_entry_print_func): Return the selected row's
5151 text if the entry is empty.
5153 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5156 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5158 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5160 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5163 * src/hildon-check-button.h
5164 * src/hildon-check-button.c
5165 * examples/hildon-check-button-example.c:
5166 HildonCheckButton is now a new widget. 'toggled' signal added.
5168 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-program-private.h
5171 * src/hildon-program.c (hildon_program_init)
5172 (hildon_program_finalize): Removed unused variables group_leader
5173 and name from HildonProgramPrivate.
5175 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5177 * src/hildon-check-button.c (hildon_check_button_set_active)
5178 (hildon_check_button_get_active, hildon_check_button_new): Use
5179 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5181 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5183 * src/hildon-touch-selector.h
5184 (hildon_touch_selector_set_column_attributes): added deprecation
5185 guard HILDON_DISABLE_DEPRECATED
5186 * src/hildon-time-selector.c
5187 (hildon_time_selector_set_time)
5188 (hildon_time_selector_get_time): Fixed a typo on documentation
5189 * src/hildon-touch-selector.c: update HildonTouchSelector and
5190 HildonTouchSelectorColumn documentation
5191 * src/hildon-touch-selector-entry.c: update "text-column" property
5193 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5194 to be added to the general documentation.
5196 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5198 * examples/hildon-pannable-area-example-4.c,
5200 * examples/hildon-pannable-area-example.c,
5201 (main): Modified the code in order to use the container add, with
5202 viewport treeviews could have problems if they are really big.
5204 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5206 * src/hildon-weekday-picker.c,
5207 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5208 the agreement regarding deprecation in the library.
5210 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5212 * examples/hildon-picker-button-multicolumn-example.c:
5213 (main): Use custom "done" button text.
5215 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5216 (hildon_picker_button_set_property),
5217 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5218 (hildon_picker_button_init),
5219 (+hildon_picker_button_get_done_button_text),
5220 (+hildon_picker_button_set_done_button_text): New methods to customize
5221 the "done" button label in the launched HildonPickerDialog. Also,
5224 * src/hildon-picker-button.h: add the public API.
5226 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5228 * src/hildon-date-selector.h:
5229 * src/hildon-picker-dialog.h:
5230 * src/hildon-time-selector.h:
5231 * src/hildon-touch-selector-column.h:
5232 * src/hildon-touch-selector.h:
5234 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5235 declarations. Fixes gtk-doc warnings.
5237 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5239 * src/hildon-picker-dialog.h
5240 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5241 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5243 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5244 long text is set as label for done button)
5246 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5248 * src/hildon-dialog.c (hildon_dialog_add_button):
5249 Set fixed width to all buttons in the HildonDialog.
5251 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5253 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5255 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5256 Set widget name using class name plus "-finger" or "-thumb".
5258 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5261 'clicked' when the state of the button is manually changed.
5263 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-app-menu.c (hildon_app_menu_realize)
5266 (hildon_app_menu_unrealize, hildon_app_menu_init)
5267 (hildon_app_menu_class_init, item_visibility_changed):
5268 Change the menu layout when the size of the screen changes.
5269 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5270 Show warning only when changing the number of colums using the
5273 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5275 * debian/compat: Set to 5
5276 * debian/control: Update dependencies.
5277 * debian/libhildon1-dbg.install: Remove.
5278 * debian/libhildon1-dev.install: Update according to cdbs paths.
5279 * debian/libhildon1.install: Update according to cdbs paths.
5280 * debian/rules: Switch to cdbs.
5282 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5285 'item' variable renamed to 'filter'
5287 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-app-menu.c (hildon_app_menu_insert)
5290 (hildon_app_menu_add_filter, remove_item_from_list)
5291 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5292 Don't leak hidden items when the menu is destroyed.
5294 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5296 * src/hildon-app-menu.c (hildon_app_menu_insert)
5297 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5298 (hildon_app_menu_set_columns, item_visibility_changed)
5299 (filter_visibility_changed, hildon_app_menu_repack_filters)
5300 (hildon_app_menu_repack_items):
5301 Repack items and filters separately.
5303 Don't repack all items, change only the ones that are needed to
5306 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5308 * src/Makefile.am: added hildon-touch-selector-column.h
5310 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5312 * src/hildon-touch-selector.c: added the property "text-column" to the
5313 class HildonTouchSelectorColumn, and related get/set functions
5314 (_default_printf_func): updated to use "text-column" property
5315 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5316 "text-column" in his documentation, as this is now included on
5317 HildonTouchSelectorColumn. The get/set_property can still be used,
5318 working as a wrapper to the concrete column "text-column" property
5319 (_text_column_modified): callback added in order to handle the signal
5320 "notify::text-column" of the concrete HildonTouchSelectorColumn
5321 (hildon_touch_selector_entry_get_text_column)
5322 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5323 modified in order to use the HildonTouchSelectorColumn "text-column"
5325 * src/hildon-time-selector.c:
5326 * src/hildon-date-selector.c:
5327 * examples/hildon-touch-selector-example.c
5328 * examples/hildon-touch-selector-multi-cells-example.c
5329 * examples/hildon-picker-button-multicolumn-example.c
5330 Set the right value to "text-column" property on the creation of a new
5331 column using hildon_touch_selector_append_column()
5333 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5335 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-app-menu.c
5338 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5339 updating the layout of the menu, don't create all widgets again,
5340 just repack the items in their new places.
5342 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5344 * src/hildon-time-selector.c
5345 (hildon_time_selector_get_time)
5346 (hildon_time_selector_set_time)
5347 Added documentation of these public methods
5349 * src/hildon-date-button.h
5350 * src/hildon-touch-selector-column.h
5351 * src/hildon-time-button.h
5352 * src/hildon-picker-dialog.h
5353 * src/hildon-time-selector.h
5354 * src/hildon-picker-button.h
5355 * src/hildon-touch-selector.h
5356 * src/hildon-time-picker.h
5357 * src/hildon-date-selector.h
5358 * src/hildon-touch-selector-entry.h
5359 Modified in order to use hildon-widgets code style
5361 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5363 Added deprecated support to the compilation process using
5364 HILDON_DISABLE_DEPRECATED
5366 * configure.ac: Added the --disable-deprecated to the configure
5369 * src/hildon-weekday-picker.c:
5370 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5371 to use the deprecated support. We will update the other deprecated
5372 widgets status in a new patch.
5374 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5376 * configure.ac: Fixed typo with fatal warnings support, the
5377 variable name was not correct
5379 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5381 * src/hildon-app-menu.c
5382 * src/hildon-program.c: Update documentation.
5384 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5386 * configure.ac: Post-release version bump.
5388 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5393 * configure.ac: Pre-release version bump.
5394 * debian/changelog: Updates.
5396 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5398 * NEWS: Update news for previous releases.
5400 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5402 * examples/hildon-touch-selector-multi-cells-example.c:
5403 (create_selector): Update the example to use
5404 hildon_touch_selector_append_column() with a NULL renderer and set
5405 the renderers later.
5406 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5407 passed a NULL renderer. This is documented behavior now.
5409 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5410 This must be used if the developer wants full control on the layout of
5411 the renderers to be added to the column.
5413 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5415 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-touch-selector.c: Documentation fixes.
5419 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-wizard-dialog-private.h: Remove image and box.
5422 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5423 (hildon_wizard_dialog_set_property), (response): Completely remove
5424 image/icon support, and the containers required for the layout.
5426 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5428 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-app-menu.c: Updated documentation.
5432 * src/hildon-stackable-window.c
5433 (hildon_stackable_window_set_main_menu): Unref the old menu after
5434 ref'ing the new one.
5436 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5438 * src/hildon-stackable-window.c
5439 (hildon_stackable_window_set_main_menu): Unref the previous menu
5440 instead of destroying it.
5442 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5443 floating reference and set has_user_ref_count to FALSE to make
5444 HildonAppMenu act like a normal ref-counted widget and not a
5447 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5450 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5452 * src/hildon-touch-selector-column.h: new file
5453 * src/hildon-touch-selector.h
5454 * src/hildon-touch-selector.c
5455 Implemented GtkCellLayout interface, in order to allow to configure
5456 the cell layout on each individual selector column
5457 (hildon_touch_selector_set_column_attributes): marked as deprecated
5458 * examples/hildon-touch-selector-multi-cells-example.c
5459 Example of how to use the GtkCellLayout interface on the selector
5461 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5463 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-app-menu.h
5466 * src/hildon-app-menu.c
5467 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5468 (hildon_app_menu_append, hildon_app_menu_prepend):
5469 New methods to prepend, insert and move items in the menu.
5471 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5473 * src/hildon-wizard-dialog.c:
5475 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5477 (create_title): Update logical IDs and related code.
5478 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5480 * src/hildon-wizard-dialog.h: Note that
5481 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5482 point, as it is not used anymore.
5484 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5486 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-note.c:
5489 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5490 shown. Do not display an icon in confirmation notes nor information
5492 (hildon_note_set_button_text): Update logical ID for cancel button.
5494 Fixes: NB#88850 (Update HildonNote button strings + signals)
5496 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-stackable-window.c
5499 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5501 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5503 * src/hildon-app-menu-private.h
5504 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5505 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5506 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5507 temporary property 'columns' to change the number of columns.
5509 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5511 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5513 * examples/hildon-note-example.c: (on_information_clicked),
5514 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5515 debugging information.
5516 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5518 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5519 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5520 in order to close: this will be handled by the WM from now on.
5522 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5524 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-app-menu-private.h
5527 * src/hildon-app-menu.c
5528 (hildon_app_menu_append, hildon_app_menu_add_filter)
5529 (button_visibility_changed, hildon_app_menu_apply_style)
5530 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5531 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5532 layout everytime a button (item or filter) is shown or hidden.
5534 * src/hildon-stackable-window.c
5535 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5538 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5540 * src/hildon-touch-selector.c:
5541 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5542 that the treeview inside the touch selector is in fremantle hildon mode
5543 * examples/hildon-date-button-example.c
5544 * examples/hildon-picker-button-multicolumn-example.c
5545 * examples/hildon-touch-selector-entry-example.c
5546 * examples/hildon-touch-selector-example.c
5547 * examples/hildon-time-button-example.c
5548 * examples/hildon-picker-button-example.c:
5549 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5551 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5553 * examples/hildon-text-view-example.c: (main): Remove the
5554 gtkrc bits, now handled by the theme.
5556 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5561 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5563 * po/Makefile.am: Install properly the mo files.
5564 * po/en_GB.po: Update translation, to ease testing purposes.
5566 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5568 * examples/hildon-picker-button-example.c: (main): Select an item
5569 in the selector before setting it to the button.
5571 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5573 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5574 Update button's value if the selector has an item active.
5576 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5577 'value' with the selector)
5579 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5581 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5582 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5583 (hildon_picker_button_class_init): Plug the finalize method.
5584 (hildon_picker_button_set_selector): If there's a previously set
5585 selector, unref'it before setting a new one.
5587 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5588 HildonTouchSelector)
5590 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-touch-selector-entry.c:
5593 (hildon_touch_selector_entry_changed): Check if there is no text
5594 selected before setting the entry text.
5597 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-touch-selector.h
5600 * src/hildon-touch-selector.c
5601 (hildon_touch_selector_get_active)
5602 (hildon_touch_selector_set_active): New methods to set/get the
5603 index of the selected item.
5605 * src/hildon-picker-button.h
5606 * src/hildon-picker-button.c
5607 (hildon_picker_button_get_active)
5608 (hildon_picker_button_set_active): New methods to set/get the
5609 index of the selected item.
5611 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5613 * configure.ac: post-release version bump.
5615 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5619 * configure.ac: Pre-release version bump.
5620 * debian/changelog: Updates.
5621 * debian/control: Add myself as maintainer and depend on l10n
5624 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-window.c
5627 (hildon_window_set_main_menu)
5628 * src/hildon-stackable-window.c
5629 (hildon_stackable_window_set_main_menu):
5630 Updated documentation.
5632 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5634 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5635 Don't free selector->priv manually.
5638 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5641 (hildon_gtk_window_set_progress_indicator):
5642 * src/hildon-gtk.h: Added the new API
5643 hildon_gtk_window_set_progress_indicator, it changes the state of
5644 the window progress hint.
5646 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-button.c
5649 * src/hildon-stackable-window.c: Minor documentation updates.
5651 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-stackable-window.c: Updated documentation.
5655 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5657 * src/hildon-defines.h: Update margins definitions
5658 to the Fremantle sizes.
5661 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5663 * src/hildon-touch-selector.c,
5664 (_hildon_touch_selector_set_model): Cleaning the code after
5665 review, removed g_print and #if 0 from the code.
5667 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-edit-toolbar.c: Update documentation.
5671 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5673 * src/hildon-check-button.h
5674 * src/hildon-check-button.c
5675 (hildon_check_button_set_label, hildon_check_button_get_label)
5676 * examples/hildon-check-button-example.c
5677 (button_clicked_cb):
5678 Removed deprecated methods.
5680 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-text-view.c:
5683 Add sample code to the documentation.
5685 * src/hildon-entry.h
5686 * src/hildon-text-view.h:
5687 Minor cosmetic changes.
5689 * src/hildon-entry.c:
5690 Add sample code to the documentation.
5691 (hildon_entry_init, hildon_entry_refresh_contents):
5692 Don't allow NULL values in the placeholder.
5694 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5696 * doc/hildon-docs.sgml
5698 * examples/Makefile.am
5699 * examples/hildon-text-view-example.c
5701 * src/hildon-text-view.c
5702 * src/hildon-text-view.h
5704 New HildonTextView widget, with example.
5706 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5708 * po/POTFILES.in: Add missing files with translatable strings.
5709 Partially fixes NB#88287.
5711 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5713 * examples/hildon-pannable-area-example-2.c: (main): No need to
5714 set the cellrenderer height inside hildon touch lists, the theme does
5717 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5719 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5720 they are integrated in the theme.
5722 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5724 * examples/hildon-entry-example.c: Update the example adding
5725 widgets to modify the text and the placeholder of the HildonEntry.
5727 * src/hildon-entry.c: Show the placeholder everytime the widget
5728 is empty and loses the focus.
5730 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5732 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5734 * src/hildon-pannable-area.c,
5735 (hildon_pannable_area_size_request): Fixed bug in height
5736 requisition, avoid increasing size and add border twice.
5738 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5740 * configure.ac: postrelease version bump.
5742 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5746 * configure.ac: Prerelease version bump.
5747 * debian/changelog: update.
5748 * debian/rules: make -dbg package contain useful debugging symbols.
5750 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-dialog.h
5753 * src/hildon-dialog.c
5754 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5755 New methods to add buttons with finger size.
5756 (hildon_dialog_new_with_buttons):
5757 Create buttons with finger size.
5759 * examples/hildon-dialog-example.c (main): Use HildonDialog
5760 methods to add buttons.
5762 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-entry.c: Updated HildonButton documentation.
5766 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5768 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5769 button value label with (FALSE, FALSE) to prevent NB#88126 from
5772 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5774 * examples/hildon-pannable-area-example.c,
5775 (main): Removed examples panning a vbox inside a pannable
5776 area. Check bug NB#87965
5778 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5780 Patch contributed by Kris Rietveld (kris@imendio.com)
5782 * src/hildon-pannable-area.c,
5783 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5784 get_size and get_position, this saves an X server roundtrip.
5786 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5788 * doc/hildon-docs.sgml
5790 * examples/Makefile.am
5791 * examples/hildon-entry-example.c
5793 * src/hildon-entry.c
5794 * src/hildon-entry.h
5796 New HildonEntry widget, with example.
5798 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-button.c (hildon_button_construct_child): Pack the
5801 image with expand == fill == FALSE. This is a workaround for a bug
5804 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5806 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5807 labels for the text column, to make it more look more dynamic.
5809 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5811 * src/hildon-time-selector.c
5812 Define gettext auxiliar macro N_
5813 (_create_minutes_model)
5814 (_create_hours_model)
5815 (_create_ampm_model): use of strftime in order to fill the model
5816 * src/hildon-date-selector.c
5817 (hildon_date_selector_finalize):
5818 (_locales_init): remove the logic related to get the name of the months
5819 using nl_langinfo, as it is not required anymore
5821 (_create_year_model)
5822 (_create_month_model)
5823 (_update_day_model): use of strftime in order to fill the model properly
5826 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5828 * src/hildon-button.h
5829 * src/hildon-button.c (hildon_button_get_image): New method to
5832 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5834 * src/hildon-touch-selector.c:
5835 (hildon_touch_selector_remove_column): Remove from the correct parent
5836 and also remove the list element and free it.
5839 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5841 * src/hildon-time-selector.c
5842 (_create_hours_model): change the range on 12h ampm format in order to use
5843 a 12-11 range instead of previous 01-12 range
5844 (hildon_time_selector_set_time): change the way to select the current time
5845 on 12h ampm format, due the change on the range
5846 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5849 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5851 * src/hildon-touch-selector.c
5852 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5853 in order to allow use this function on multiple row selection mode if
5854 the column is different that the first one
5857 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5859 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5860 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5862 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5864 * src/hildon-date-selector.h: clean some comments, now on the .c
5865 * src/hildon-date-selector.c
5866 (hildon_date_selector_select_month): first implementation
5867 (hildon_date_selector_select_day): added documentation, reimplemented
5868 using hildon_date_selector_select_current_date to avoid repeat code
5871 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5873 Reviewed interaction logic based on device experiences, refactored
5876 * src/hildon-pannable-area.c,
5877 (hildon_pannable_area_class_init): Updated default vmax speed.
5878 (hildon_pannable_area_calculate_velocity): Added this function, it
5879 avoids duplicate valocity calculation. Adjusted calculation to
5880 avoid problems with zero dist events.
5882 (hildon_pannable_area_motion_notify_cb): Now we use the
5883 calculate_velocity function.
5885 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5887 * src/hildon-date-selector.c
5888 (hildon_date_selector_select_current_date): fix the day range check
5889 as it failed using the last day of the current month
5892 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5894 * src/hildon-touch-selector.c
5895 (hildon_touch_selector_get_num_columns): added a parameter validation
5898 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5900 * examples/Makefile.am
5901 * examples/hildon-edit-toolbar-example.c: Example of the
5902 HildonEditToolbar widget.
5904 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5906 * configure.ac: postrelease version bump.
5908 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5912 * configure.ac: prerelease version bump.
5913 * debian/changelog: update.
5915 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5917 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5918 renderer to display stock icons in the touch list. Also, set the sizes
5919 to the recommended in the style guide.
5921 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5922 * src/hildon-touch-selector.h
5923 (hildon_touch_selector_set_active_iter): renamed, now is
5924 hildon_touch_selector_select_iter
5925 (hildon_touch_selector_get_active_iter): renamed, now is
5926 hildon_touch_selector_get_selected
5927 (hildon_touch_selector_unselect_iter): added
5928 * src/hildon-touch-selector.c
5929 Update after API modification (methods renamed)
5930 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5931 order to avoid problems selecting multiple elements on the column
5932 (hildon_touch_selector_unselect_iter): added the implementation
5933 * src/hildon-time-selector.c
5934 * src/hildon-date-selector.c
5935 * src/hildon-touch-selector-entry.c
5936 Update methods calls after hildon-touch-selector.h API modification (methods
5939 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-stackable-window.c
5942 (hildon_stackable_window_finalize): Call the parent class's finalize.
5944 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5946 * examples/hildon-touch-selector-example.c: (create_selector): Use
5947 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5950 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5952 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5953 set a cell background color, to respect theming.
5955 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5957 * doc/hildon-docs.sgml
5960 * src/hildon-edit-toolbar.c
5961 * src/hildon-edit-toolbar.h
5962 * src/hildon.h: New HildonEditToolbar widget.
5964 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5966 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5969 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5970 * src/hildon-touch-selector.c
5971 (_create_new_column): use g_object_set instead of two g_object_set_property
5973 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5974 * src/hildon-touch-selector.c
5975 (_create_new_column): use of hildon_gtk_tree_view_new to create
5976 the treeview, instead of use directly g_object_new
5977 (_create_new_column): update the property name "vindicator-mode" for the
5978 new one "vscrollbar-policy"
5979 * examples/hildon-date-button-example.c
5980 * examples/hildon-picker-button-multicolumn-example.c
5981 * examples/hildon-touch-selector-entry-example.c
5982 * examples/hildon-touch-selector-example.c
5983 * examples/hildon-time-button-example.c
5984 * examples/hildon-picker-button-example.c
5985 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5986 to all the treeviews inside a pannable area.
5988 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-button.h
5991 * src/hildon-button.c (hildon_button_init)
5992 (hildon_button_set_arrangement, hildon_button_set_alignment)
5993 (hildon_button_set_title_alignment)
5994 (hildon_button_set_value_alignment)
5995 (hildon_button_set_image_alignment)
5996 (hildon_button_construct_child): New methods to set the alignment
5997 of the individual components of the button (title, value,
5998 image). Also, new method to alter the xscale and yscale properties
5999 of the GtkAlignment inside the button, so more complex layouts can
6002 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-button.c (hildon_button_style_set)
6005 (hildon_button_class_init, hildon_button_set_arrangement)
6006 (hildon_button_construct_child): Apply style properties
6007 correctly. Use the 'image-spacing' style property too.
6009 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6012 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6015 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6017 * src/hildon-pannable-area.c,
6018 (hildon_pannable_area_size_request): Fixed problem with
6019 pannable-area size_request.
6021 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6023 Added management for the grab-focus to a child widget, like a
6024 range, we need to fade out the scrollbar when releasing.
6026 * src/hildon-pannable-area.c,
6027 (hildon_pannable_area_init): Connected the grab-focus signal to
6029 (hildon_pannable_area_grab_notify): Added this function in order
6030 to manage the situation when the grab-focus ends. We have to
6031 fade-out the scrollbar.
6033 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6035 * src/hildon-app-menu.c: Minor documentation update.
6037 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6039 * src/hildon-app-menu.c
6040 * examples/hildon-app-menu-example.c (create_menu): Update
6041 examples and documentation to explain how to connect callbacks.
6043 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6045 * examples/hildon-button-example.c
6046 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6047 hildon_stackable_window_new instead of gtk_window_new
6049 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6051 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6052 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6053 (hildon_pannable_area_set_property),
6054 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6055 (hildon_pannable_area_unrealize),
6056 (hildon_pannable_area_size_request),
6057 (hildon_pannable_area_size_allocate),
6058 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6059 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6060 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6061 (hildon_pannable_area_initial_effect),
6062 (hildon_pannable_area_redraw),
6063 (hildon_pannable_area_scroll_indicator_fade),
6064 (hildon_pannable_area_expose_event),
6065 (hildon_pannable_area_get_topmost), (synth_crossing),
6066 (hildon_pannable_area_button_press_cb),
6067 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6068 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6069 (hildon_pannable_area_motion_notify_cb),
6070 (hildon_pannable_area_button_release_cb),
6071 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6072 (hildon_pannable_area_remove),
6073 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6074 chage the code layout to a more GtkWidget like. Review the use of
6077 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6079 * examples/hildon-pannable-area-example-4.c,
6080 (main): Modified the name of the hindicator_mode to
6083 * src/hildon-pannable-area.c,
6084 (hildon_pannable_area_class_init),
6085 (hildon_pannable_area_motion_notify_cb),
6086 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6087 we have reduced the amount of signals and managed reviewed its
6088 rationale. Changed the default decelerate value.
6090 (hildon_pannable_area_add),
6091 (hildon_pannable_area_redraw): Refactored functions.
6093 (hildon_pannable_area_init),
6094 (hildon_pannable_area_get_property),
6095 (hildon_pannable_area_set_property):
6096 (hildon_pannable_draw_vscroll),
6097 (hildon_pannable_draw_hscroll),
6098 (hildon_pannable_area_initial_effect),
6099 (hildon_pannable_area_expose_event),
6100 (hildon_pannable_area_scroll),
6101 (hildon_pannable_area_button_press_cb),
6102 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6103 and vindicator_mode with hscrollbar_policy and
6104 vscrollbar_policy. Replaced hscroll and vscroll with
6105 hscroll_visible and vscroll_visible.
6107 (hildon_pannable_area_refresh): Refactor the function, remove
6108 variables and check the calls to this function, added resize
6109 conditions in case the children change their layout.
6111 (hildon_pannable_area_size_request): Added more detailed
6112 size_request calculation.
6115 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6117 * src/hildon-color-chooser.c
6118 (init_borders): use the correct gtk_border_free instead of g_free, to
6119 avoid a crash when this widget is used (ie: the three color selection
6122 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6124 * src/hildon-check-button.c,
6125 (hildon_check_button_set_active): Fixed problem when setting the
6126 active value, the widget was not redrawn.
6128 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6130 * src/hildon-pannable-area.c,
6131 (hildon_pannable_area_refresh),
6132 (hildon_pannable_area_scroll),
6133 (hildon_pannable_area_motion_notify_cb): Small code style change.
6135 (hildon_pannable_area_class_init): Default initial_hint set to
6136 FALSE, it is not in the specs.
6138 (hildon_pannable_area_initial_effect),
6139 (hildon_pannable_area_expose_event),
6140 (hildon_pannable_area_map),
6141 (hildon_pannable_area_init): Moved the launching point of the
6142 initial effect, it was in map but the sizes where not correct in
6143 that method so we do not know if we have the reproduce it. Now it
6144 is placed in the expose_event method and uses a variable to
6145 reproduce it just once.
6147 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6149 * src/hildon-pannable-area.c,
6150 (hildon_pannable_draw_vscroll),
6151 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6152 position allowed for the scrollbars.
6154 (hildon_pannable_area_size_allocate): Small style change.
6156 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6158 * src/hildon-pannable-area.c,
6159 (hildon_pannable_area_scroll_indicator_fade),
6160 (hildon_pannable_area_button_press_cb),
6161 (hildon_pannable_area_button_release_cb),
6162 (hildon_pannable_area_scroll_cb),
6163 (hildon_pannable_area_expose_event),
6164 (hildon_pannable_area_init): Added the define parameter
6165 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6166 and refactor the fade variable.
6168 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6170 * src/hildon-pannable-area.c,
6171 (hildon_pannable_area_redraw),
6172 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6173 lines, we were reimplemeting the redraw code.
6175 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6177 * src/hildon-pannable-area.c,
6178 (hildon_pannable_area_scroll_cb),
6179 (hildon_pannable_area_realize),
6180 (hildon_pannable_area_class_init): Added scroll_event management
6181 for pannable area, now we can scroll the usual desktop method.
6183 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6184 initialization of the parameters should depend on idle_id.
6186 (hildon_pannable_area_init),
6187 (hildon_pannable_area_map): Small code style modifications
6189 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6191 * src/hildon-pannable-area.c
6192 (hildon_pannable_area_button_press_cb),
6193 (hildon_pannable_area_motion_notify_cb),
6194 (hildon_pannable_area_button_release_cb),
6195 (hildon_pannable_area_size_allocate),
6196 (hildon_pannable_area_scroll_to): Improved the timeouts
6197 management, we avoid creating them each time.
6199 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6201 * src/hildon-pannable-area.c:
6202 (hildon_pannable_area_refresh),
6203 (hildon_pannable_area_motion_notify_cb),
6204 (hildon_pannable_area_class_init):
6205 * src/hildon-pannable-area.h:
6206 * src/hildon-touch-selector.c
6207 (_create_new_column):
6208 * examples/hildon-pannable-area-example-4.c:
6209 (horizontal_movement),
6210 (vertical_movement),
6212 Replaced the names of enums in the HildonPannableArea:
6213 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6214 HILDON_MOVEMENT_MODE_*
6215 - HILDON_PANNABLE_AREA_MOV_* ->
6217 - Removed HildonPannableAreaIndicatorMode, now we
6220 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6222 * examples/hildon-pannable-area-touch-grid-example.c
6223 * examples/hildon-pannable-area-touch-list-example.c: Fix
6224 compilation warnings.
6226 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6228 * src/hildon-gtk.c (hildon_gtk_button_new)
6229 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6230 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6231 images overriding the value of the "gtk-button-images" setting.
6233 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6235 * src/hildon-check-button.c (hildon_check_button_new):
6236 Instead of using a custom container, display the label and the
6237 checkbox using the standard GtkButton API.
6239 * examples/hildon-check-button-example.c (main): Don't use
6240 hildon_check_button_set_label() anymore
6242 * src/hildon-check-button.h
6243 * src/hildon-check-button.c
6244 (hildon_check_button_set_label, hildon_check_button_get_label):
6245 Set as deprecated, now we're using gtk_button_{get,set}_label()
6247 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6249 * src/hildon-pannable-area.c,
6250 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6251 GtkTreeview first line we detected it after the inclusion of the
6252 GtkWindowImpl in gtk+. We now check if the window is visible, not
6253 just if the pointer is over the window.
6254 (hildon_pannable_axis_scroll),
6255 (hildon_pannable_area_expose_event): Small style changes.
6257 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-button.c: Update documentation.
6261 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6263 * examples/hildon-button-example.c: Add a switch to show images in
6266 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6268 * doc/hildon-docs.sgml: Some docs reorganization.
6270 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6272 * examples/hildon-pannable-area-touch-list-example.c
6274 * examples/hildon-pannable-area-touch-grid-example.c
6275 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6276 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6277 Fix memory leak when setting the tree model.
6279 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6283 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6285 * doc/hildon.types: Remove duplicated hildon_window_get_type
6286 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6287 documentation comment.
6289 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6291 * doc/Makefile.am: Complete list of private headers.
6293 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6295 * doc/hildon-docs.sgml
6296 * src/hildon-app-menu.c
6297 * src/hildon-bread-crumb.c
6298 * src/hildon-button.c
6300 * src/hildon-program.c
6301 * src/hildon-stackable-window.c
6302 * src/hildon-window.c: Lots of documentation updates.
6304 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6306 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6308 * configure.ac: Require Gtk+ 2.12.9 at least
6310 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6312 * src/hildon-pannable-area.c
6313 (hildon_pannable_area_scroll_indicator_fade),
6314 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6315 to protect the return of this timeout callbacks, avoiding deadlocks.
6317 2008-08-12 Christian Dywan <christian@imendio.com>
6320 * src/hildon-*.h: Ensure a consistent include order,
6321 include <gtk/gtk.h> instead of particular files and
6322 only include the topmost header in the gtk stack. See NB #39857
6324 2008-08-12 Christian Dywan <christian@imendio.com>
6326 * src/hildon-picker-dialog.c
6327 * src/hildon-touch-selector.c: Fix warnings about unused and
6328 uninitialized variables.
6330 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6332 * examples/Makefile.am
6333 * examples/hildon-check-button-example.c: Example of the hildon
6336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6338 * src/hildon-window.h
6339 * src/hildon-window.c (hildon_window_class_init)
6340 (hildon_window_unset_program): Don't make
6341 hildon_window_unset_program a virtual function anymore.
6343 * src/hildon-stackable-window.c: Update documentation
6345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6348 * doc/hildon-docs.sgml
6349 * doc/visual_index.xml
6350 * src/hildon-defines.c
6352 * src/hildon-helper.c
6353 * src/hildon-range-editor.c: Lots of documentation fixes.
6355 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6357 * examples/hildon-picker-button-multicolumn-example.c
6358 (create_touch_selector): Fix compilation warning.
6360 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6362 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6363 (hildon_pannable_area_button_release_cb)
6364 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6366 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6371 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6373 * src/hildon-bread-crumb-trail.h
6374 * src/hildon-date-editor.c
6375 * src/hildon-date-selector.c
6376 * src/hildon-pannable-area.c
6377 * src/hildon-picker-dialog.c
6378 * src/hildon-time-selector.c
6379 * src/hildon-touch-selector-entry.c
6380 * src/hildon-touch-selector.c
6381 * src/hildon-touch-selector.h: Misc documentation fixes
6383 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6385 * examples/hildon-date-editor-example.c (main): Updated date
6388 * examples/hildon-note-example.c (on_confirmation_clicked):
6389 Updated confirmation note example.
6391 * src/hildon-date-editor.c
6392 * src/hildon-note.c: Updated sample programs in documentation.
6395 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6397 * src/hildon-date-button.h:
6398 * src/hildon-picker-button.h:
6399 * src/hildon-time-button.c:
6400 * src/hildon-time-button.h:
6402 Some declarations changes to allow gtk-doc to document the widgets
6405 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6407 * src/hildon-date-button.c: Document the widget.
6408 * src/hildon-time-button.c: Document the widget.
6410 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6412 * src/hildon-picker-button.c: Document the widget.
6413 * src/hildon-touch-selector-entry.c: Document the widget.
6415 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6417 * doc/hildon-docs.sgml
6420 * src/hildon-check-button.h
6421 * src/hildon-check-button.c: New functions to create the Hildon
6425 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6427 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6429 * src/hildon-button.h
6430 * src/hildon-button.c
6431 (hildon_button_add_title_size_group)
6432 (hildon_button_add_value_size_group)
6433 (hildon_button_add_image_size_group)
6434 (hildon_button_add_size_groups): New functions to set size groups
6435 for the button labels and image.
6436 (hildon_button_new_full): Removed
6438 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6440 * src/hildon-time-selector.c
6441 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6442 in order to avoid a crash if gconf is not available
6444 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6446 * src/hildon-button.c (hildon_button_set_arrangement)
6447 (hildon_button_construct_child): Don't construct the button child
6448 before setting the arrangement.
6450 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6452 * src/hildon-program-private.h
6453 * src/hildon-program.c
6454 * src/hildon-program.h
6455 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6456 (hildon_program_peek_window_stack)
6457 (hildon_program_pop_window_stack)
6458 (hildon_program_go_to_root_window): HildonProgram now has a
6459 separate list for stackable windows. Functions are provided to
6460 manage that list with a stack-like API.
6462 * src/hildon-stackable-window.c: Stackable window management is
6463 now much simpler with the new HildonProgram API. Windows no
6464 longer need to be manually added to the program, they're
6465 automatically pushed to the top of the stack when shown.
6467 * examples/hildon-stackable-window-example.c: Updated example to
6468 reflect the API changes.
6470 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6472 * src/hildon-touch-selector.c: Comment out unimplemented
6473 hildon_touch_selector_insert_column() to avoid a compile warning.
6475 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6477 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6478 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6479 (hildon_touch_selector_set_column_selection_mode),
6480 (_hildon_touch_selector_set_model),
6481 (hildon_touch_selector_set_model):
6483 Complete review of HildonTouchSelector documentation.
6485 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6487 * doc/hildon-docs.sgml
6491 * src/hildon-gtk.c: Convenience functions for standard Gtk
6492 widgets, used to easily perform frequent operations.
6494 * src/hildon-button-helpers.h
6495 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6497 * src/hildon-helper.h
6498 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6499 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6501 * src/hildon-button.h
6502 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6504 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6506 * src/hildon-button.c (hildon_button_init)
6507 (hildon_button_set_arrangement, hildon_button_construct_child):
6508 Pack the image and the labels inside the same GtkAlignment so
6509 gtk_button_set_alignment() can be used
6511 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-button.h
6514 * src/hildon-button.c
6515 (hildon_button_init, hildon_button_set_image)
6516 (hildon_button_set_image_position)
6517 (hildon_button_construct_child): New functions to add an image to
6520 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6522 * src/hildon-date-button.c
6523 * src/hildon-picker-button.c
6524 * src/hildon-time-button.c
6525 * src/hildon-button.c:
6526 (hildon_button_class_init): "size-flags" renamed to "size"
6527 (hildon_button_set_title): Hide the title label if set to NULL.
6529 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6531 HildonButtonFlags split into HildonButtonArrangement (to set the
6532 button layout) and HildonSizeType (which can be used for any
6535 * src/hildon-button.h
6536 * src/hildon-button.c
6537 (hildon_button_class_init)
6538 (hildon_button_set_arrangement)
6539 (hildon_button_set_property): New "size-flags"
6540 property. "arrangement-flags" renamed to "arrangement".
6541 (hildon_button_new, hildon_button_new_with_text)
6542 (hildon_button_new_full): Constructors updated to reflect type changes.
6544 * src/hildon-helper.h
6545 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6546 to set the size of a widget.
6550 * src/hildon-button-helpers.c
6551 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6553 * src/hildon-date-button.c
6554 * src/hildon-date-button.h
6555 * src/hildon-picker-button.c
6556 * src/hildon-picker-button.h
6557 * src/hildon-time-button.c
6558 * src/hildon-time-button.h: Updated widgets to reflect
6559 HildonButton API changes.
6561 * examples/hildon-button-example.c
6562 * examples/hildon-date-button-example.c
6563 * examples/hildon-picker-button-example.c
6564 * examples/hildon-picker-button-multicolumn-example.c
6565 * examples/hildon-time-button-example.c
6566 * examples/hildon-touch-selector-entry-example.c
6567 * examples/hildon-touch-selector-example.c: Updated examples to
6568 reflect HildonButton API changes.
6570 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6572 * doc/hildon-docs.sgml:
6574 * examples/Makefile.am:
6575 * examples/hildon-touch-selector-entry-example.c:
6577 * src/hildon-touch-selector-entry.c:
6578 * src/hildon-touch-selector-entry.h:
6581 Moved HildonTouchSelectorEntry from sandbox. Added its
6582 documentation and examples.
6584 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6586 * src/hildon-touch-selector.h:
6587 * examples/hildon-picker-button-multicolumn-example.c:
6588 (hildon_touch_selector_append_text_column): Add a gboolean
6589 parameter to determine if text must be centered in the column.
6591 * src/hildon-date-selector.c: (hildon_date_selector_init):
6592 * src/hildon-time-selector.c: (hildon_time_selector_init):
6593 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6594 (create_touch_selector): Update widgets and example to reflect
6597 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6599 * src/hildon-touch-selector.c:
6600 (hildon_touch_selector_set_active_iter): Set also the cursor in
6603 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6605 * doc/hildon-docs.sgml
6608 * src/hildon-toggle-button.c
6609 * src/hildon-toggle-button.h
6610 * src/hildon.h: Removed HildonToggleButton widget, a derived
6611 class is not necessary for this.
6613 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6615 * src/hildon-pannable-area.c,
6616 (hildon_pannable_area_realize),
6617 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6620 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6623 "done" button the default widget for the dialog.
6625 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6627 * src/hildon-touch-selector.c:
6628 (hildon_touch_selector_class_init),
6629 (hildon_touch_selector_get_property),
6630 (_hildon_touch_selector_set_model),
6631 (_hildon_touch_selector_has_multiple_selection),
6632 (hildon_touch_selector_has_multiple_selection):
6633 Add a "has-multiple-selection" property with a virtual
6634 has_multiple_selection() method to allow derived classes to
6635 override the default value for it. See the method and property
6636 documentation for details.
6638 * src/hildon-touch-selector.h: Add the new API.
6640 * src/hildon-picker-dialog.c: (requires_done_button): Call
6641 hildon_touch_selector_has_multiple_selection() instead of
6642 determining the need for a button itself.
6644 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6646 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6647 (_hildon_touch_selector_set_model),
6648 (hildon_touch_selector_set_model): Move working code to
6649 _hildon_touch_selector_set_mode(). Call the class method instead.
6651 * src/hildon-touch-selector.h: Add (*set_model) to
6652 HildonTouchSelectorClass.
6654 Make hildon_touch_selector_set_model() a virtual method, so that
6655 derived classes can extend it and do fancy stuff with the model.
6657 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6659 * configure.ac: Set back the tarname in AC_INIT to hildon.
6661 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6665 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6666 instead of libesd (NB#86876). Volume handling is still an open issue.
6668 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6671 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6673 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6674 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6675 derived class to ease placement of an entry widget in
6676 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6677 end, where the selector columns are packed now.
6679 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6681 * src/hildon-picker-button.c: Removed the simple _text() API.
6682 * src/hildon-picker-button.h: Likewise.
6684 * src/hildon-touch-selector.h:
6685 * src/hildon-touch-selector.c:
6686 (hildon_touch_selector_new_text),
6687 (hildon_touch_selector_append_text),
6688 (hildon_touch_selector_prepend_text),
6689 (hildon_touch_selector_insert_text):
6691 Moved the simple _text() API from HildonPickerButton to
6692 HildonTouchPicker, to provide better escalability and not to tie
6693 that API to HildonPickerButton.
6695 * examples/hildon-picker-button-example.c: (main): Example updated.
6697 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6699 * src/hildon-button.c: Updated documentation.
6701 * examples/hildon-button-example.c: Add the posibility to create
6702 the buttons using horizontal layout for title and value.
6704 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-app-menu-private.h
6707 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6708 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6709 GtkSizeGroup for the filters, use the 'homogeneous' property of
6712 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6714 * examples/hildon-button-example.c: Updated example.
6716 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6718 * doc/hildon-docs.sgml:
6721 Update documentation.
6723 * examples/Makefile.am: Update renamed examples.
6725 * examples/hildon-picker-button-multicolumn-example.c:
6726 (create_touch_selector), (main): Update after the rename.
6728 * examples/hildon-touch-picker-example.c: Removed.
6729 * examples/hildon-touch-selector-example.c: (value_changed),
6730 (create_selector), (get_visible_content), (main): Renamed from
6731 hildon-touch-picker-example.c
6733 * src/Makefile.am: Updated renamed files.
6735 * src/hildon-date-button.c: (hildon_date_button_init),
6736 (hildon_date_button_get_date), (hildon_date_button_set_date):
6737 * src/hildon-date-selector.c: (hildon_date_selector_init),
6738 (_custom_print_func), (_update_day_model),
6739 (_manage_selector_change_cb),
6740 (hildon_date_selector_select_current_date),
6741 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6742 * src/hildon-date-selector.h:
6743 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6744 (hildon_picker_button_set_property),
6745 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6746 (hildon_picker_button_init), (hildon_picker_button_new_text),
6747 (hildon_picker_button_append_text),
6748 (hildon_picker_button_prepend_text),
6749 (hildon_picker_button_insert_text),
6750 (hildon_picker_button_set_selector),
6751 (hildon_picker_button_get_selector):
6752 * src/hildon-picker-button.h:
6753 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6754 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6755 (_update_title_on_selector_changed_cb), (requires_done_button),
6756 (_hildon_picker_dialog_set_selector),
6757 (hildon_picker_dialog_set_selector),
6758 (hildon_picker_dialog_get_selector):
6759 * src/hildon-picker-dialog.h:
6760 * src/hildon-time-button.c: (hildon_time_button_init),
6761 (hildon_time_button_get_time), (hildon_time_button_set_time):
6762 * src/hildon-time-selector.c: (hildon_time_selector_init),
6763 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6764 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6765 * src/hildon-time-selector.h:
6768 Massive code updates after the rename.
6770 * src/hildon-touch-picker.c: Removed.
6771 * src/hildon-touch-picker.h: Removed.
6773 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6774 (hildon_touch_selector_init), (hildon_touch_selector_map),
6775 (hildon_touch_selector_remove), (_default_print_func),
6776 (_selection_changed_cb), (_create_new_column),
6777 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6778 (hildon_touch_selector_append_text_column),
6779 (hildon_touch_selector_remove_column),
6780 (hildon_touch_selector_set_column_attributes),
6781 (hildon_touch_selector_insert_column),
6782 (hildon_touch_selector_get_num_columns),
6783 (hildon_touch_selector_get_column_selection_mode),
6784 (hildon_touch_selector_set_column_selection_mode),
6785 (hildon_touch_selector_set_print_func),
6786 (hildon_touch_selector_get_print_func),
6787 (hildon_touch_selector_get_active_iter),
6788 (hildon_touch_selector_set_active_iter),
6789 (hildon_touch_selector_get_selected_rows),
6790 (hildon_touch_selector_get_model),
6791 (hildon_touch_selector_set_model),
6792 (hildon_touch_selector_get_current_text),
6793 (_hildon_touch_selector_center_on_selected_items):
6794 * src/hildon-touch-selector.h: Renamed from
6795 hildon-touch-picker.[ch]
6797 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6798 references, code examples, and related documentation.
6800 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6802 * doc/hildon-docs.sgml
6805 * src/hildon-toggle-button.c
6806 * src/hildon-toggle-button.h
6807 * src/hildon.h: New HildonToggleButton widget.
6809 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6811 * src/hildon-button.c: Add API documentation.
6812 (hildon_button_set_size_groups): Check input parameters
6814 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6816 * src/hildon-pannable-area.c
6817 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6818 effect after reaching the movement thredshold. This way we start
6819 using the distance after passing the thredshold.
6821 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6823 * src/hildon-button.c: (hildon_button_set_property): Use the
6824 appropriate g_value_get_flags() method.
6826 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6828 * doc/hildon-docs.sgml:
6831 Add the touch pickers, picker dialogs, and picker button widgets
6832 to the documentation.
6834 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6836 * src/hildon-button.c: (hildon_button_set_property),
6837 (hildon_button_class_init): Make "arrangement-flags" a proper
6838 G_TYPE_FLAGS derived property.
6840 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6842 * examples/Makefile.am: Add below examples.
6843 * examples/hildon-date-button-example.c:
6844 * examples/hildon-picker-button-example.c:
6845 * examples/hildon-picker-button-multicolumn-example.c:
6846 * examples/hildon-time-button-example.c:
6847 * examples/hildon-touch-picker-example.c:
6849 Add examples for the recently added touch pickers,
6850 picker dialogs, and picker button widgets.
6852 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6854 * src/hildon-button.c: Add some API documentation
6856 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-button.h
6859 * src/hildon-button.c
6861 (hildon_button_new_with_text): New constructor to create a button
6862 with no text at all.
6863 (hildon_button_init, hildon_button_set_arrangement)
6864 (hildon_button_set_title, hildon_button_set_value)
6865 (hildon_button_set_text)
6866 (hildon_button_construct_child): Hide the value when it's not used
6867 so the rest of the text is properly aligned.
6868 Allow creating buttons with arbitrary widgets inside (not just
6869 title/value labels).
6871 * examples/hildon-button-example.c (vertical_buttons_window)
6872 (horizontal_buttons_window): Update example to use new API.
6874 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6876 * src/Makefile.am: Added HildonTimeButton.
6877 * src/hildon-time-button.c: Added missing LGPL header.
6878 * src/hildon-time-button.h: Added missing LGPL header.
6879 * src/hildon.h: Add hildon-time-button.h
6881 Copied HildonTimeButton from sandbox to trunk. Future work on this
6882 widget must take place in trunk.
6884 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6886 * src/Makefile.am: Added HildonDateButton.
6887 * src/hildon-date-button.c: Update includes.
6888 * src/hildon.h: Add hildon-date-button.h
6890 Copied HildonDateButton from sandbox to trunk. Future work on this
6891 widget must take place in trunk.
6893 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6895 * src/Makefile.am: Added HildonPickerButton.
6896 * src/hildon-picker-button.h: Update includes.
6897 * src/hildon.h: Add hildon-picker-button.h
6899 Copied HildonPickerButton from sandbox to trunk. Future work on
6900 this widget must take place in trunk.
6902 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6904 * src/Makefile.am: Added HildonPickerDialog.
6905 * src/hildon-picker-dialog.c: Update includes.
6906 * src/hildon.h: Add hildon-picker-dialog.h
6908 Copied HildonPickerDialog from sandbox to trunk. Future work
6909 on this widget must take place in trunk.
6911 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6913 * src/Makefile.am: Added HildonTimeSelector.
6914 * src/hildon.h: Add hildon-time-selector.h
6916 Copied HildonTimeSelector widget from sandbox to trunk. Future
6917 work on this widget must happen in trunk.
6919 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6921 * src/Makefile.am: Added HildonDateSelector.
6922 * src/hildon.h: Add hildon-date-selector.h
6924 Copied HildonDateSelector widget from sandbox to trunk. Future
6925 work on this widget must happen in trunk.
6927 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6929 * src/Makefile.am: Added HildonTouchPicker.
6930 * src/hildon-touch-picker.c: Update includes.
6931 * src/hildon.h: Add hildon-touch-picker.h
6933 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6934 on this widget must happen in trunk.
6936 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6938 * src/hildon-pannable-area.c:
6939 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6941 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6943 * examples/hildon-app-menu-example.c (main): Let the window
6946 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6948 * src/hildon-pannable-area.c
6949 (hildon_pannable_area_class_init): Set the min value of the
6950 overshoot properties to zero, which points out that not
6951 overshooting allowed.
6953 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6955 Modified the procedure to get the widget at a point inside the
6956 pannable area when using the movement type signals. Now the user
6957 has to call a function to get the child, that way we just
6958 calculate the child in case the user really want to use it and not
6961 * src/hildon-marshalers.list: Modified the marshallers, now we do
6962 not have the widget as a parameter.
6964 * src/hildon-pannable-area.c
6965 (hildon_pannable_area_motion_notify_cb),
6966 (hildon_pannable_area_class_init),
6967 (hildon_pannable_get_child_widget_at): Removed the widget
6968 parameter from the signal callback. We have also refactored the
6969 emission of the signals.
6971 * src/hildon-pannable-area.h: Added a new method to the API to
6972 calculate a widget at a point inside the pannable area,
6973 hildon_pannable_get_child_widget_at.
6975 * examples/hildon-pannable-area-example-4.c
6976 (horizontal_movement): Modified the example to use the new API,
6977 added condition to control which widget is under the event. This
6978 way we can avoid scrolling laterally over other widgets.
6980 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6982 * src/hildon-pannable-area.c
6983 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6984 modes, we stop getting the pointer events due to returning the
6985 callback without properly calling the get pointer again. Fixed
6986 also an error using the hscroll and vscroll.
6988 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6990 * src/hildon-app-menu-private.h
6991 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6992 (hildon_app_menu_button_release, hildon_app_menu_init)
6993 (hildon_app_menu_class_init): Don't hide the menu on button
6994 release if the user didn't press outside first.
6996 * src/hildon-window.h
6997 * src/hildon-window.c (hildon_window_toggle_menu)
6998 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6999 hildon_window_toggle_menu a virtual function for the stackable
7000 window to override it.
7002 * src/hildon-stackable-window.h
7003 * src/hildon-stackable-window-private.h
7004 * src/hildon-stackable-window.c
7005 (hildon_stackable_window_realize)
7006 (hildon_stackable_window_finalize)
7007 (hildon_stackable_window_class_init)
7008 (hildon_stackable_window_init)
7009 (hildon_stackable_window_set_main_menu): New function to set the
7010 app menu of a HildonStackableWindow.
7012 * examples/hildon-app-menu-example.c: Remove the button to show
7013 the app menu, now it'll be shown when clicking on the title bar
7016 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7018 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7019 set the widget name if the arrangement flags do not specify
7022 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7024 * src/hildon-button.c: (hildon_button_set_property),
7025 (hildon_button_class_init), (hildon_button_new_full),
7026 (hildon_button_set_arrangement): Added "arrangement-flags"
7029 Make the HildonButtonFlags a construction-only property, to allow
7030 subclasses to set them properly.
7032 2008-07-21 Tim Janik <timj@imendio.com>
7034 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7035 insertion position after backspace, so additional digits are appended,
7038 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7040 * src/hildon-pannable-area.c,
7041 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7042 TODO list, it was complete and removed the g_debug and g_print
7045 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7047 Added the movement modes to the hildon-pannable-area, with this
7048 modes the developers can control in which directions the widget
7049 can scroll. They can also connect to signals in order to do
7050 something when that happens, allowing applications scroll. There
7051 is an example uploaded showing how to use it.
7053 * examples/Makefile.am:
7054 * examples/hildon-pannable-area-example-4.c: Added this example of
7055 an application using the modes.
7057 * src/hildon-marshalers.list: Added a new marshaller for the new
7060 * src/hildon-pannable-area.h: Added new enumerations and flags in
7061 order to control the movement modes and the new signals to warn
7062 about the movements in the area.
7064 * src/hildon-pannable-area.c:
7065 (hildon_pannable_axis_scroll),
7066 (hildon_pannable_area_scroll),
7067 (hildon_pannable_area_motion_notify_cb),
7068 (hildon_pannable_area_get_property),
7069 (hildon_pannable_area_set_property),
7070 (hildon_pannable_area_map),
7071 (hildon_pannable_area_class_init),
7072 (hildon_pannable_area_init),
7073 (hildon_pannable_area_jump_to): Added the modes to control the
7074 movement in the widget. We have added properties to control it,
7075 signals to warn about the movements and refactored some code.
7077 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7079 Changes required in order to allow vfast_factor set to zero to
7082 * src/hildon-pannable-area.c:
7083 (hildon_pannable_area_button_press_cb): Changed the condition, it
7084 is required for not allowing click when vfast_factor is zero.
7085 (hildon_pannable_area_timeout): Initialized velocity variables
7086 when we stop moving, it was less than 1 but not zero and we need
7087 to check zero in some situations.
7088 (hildon_pannable_area_class_init): Changed the default value of
7089 the speed factor, now the button_press is just sent in case the
7090 speed is 2 per cent of the max speed.
7091 (hildon_pannable_area_init): Initialization with 0.
7093 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7095 * src/hildon-pannable-area.c,
7096 (hildon_pannable_area_get_topmost): replaced
7097 gdk_window_get_children with gdk_window_peek_children, this way we
7098 do not have to free the list because it is not a copy.
7100 (hildon_pannable_axis_scroll),
7101 (hildon_pannable_area_scroll),
7102 (hildon_pannable_area_timeout),
7103 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7104 two parameters that were only used inside the
7105 hildon_pannable_area_scroll function.
7107 * examples/hildon-pannable-area-example.c,
7108 (get_sawtooth_label): Fixed small memory leak.
7110 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7112 More checks for the case where the overshoot is bigger than the
7115 * src/hildon-pannable-area.c:
7116 (hildon_pannable_draw_vscroll),
7117 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7118 to draw the slider of the scrollbar under the other scrollbar.
7119 (hildon_pannable_area_expose_event): added new checks to control
7120 the drawing of the overshooting area rectangle, in case it is too
7121 big for the area of the widget.
7122 (hildon_pannable_area_size_allocate): add more checks to avoid
7123 setting a position to the child widget outside the area.
7125 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7127 * src/hildon-pannable-area.c
7128 (hildon_pannable_area_size_allocate): Added conditions to control
7129 when overshooting is bigger than the allocated space for the
7130 children, this avoids negative allocations.
7132 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7134 * doc/hildon-docs.sgml
7136 * examples/Makefile.am
7137 * examples/hildon-button-example.c
7139 * src/hildon-button.c
7140 * src/hildon-button.h
7141 * src/hildon.h: Initial version of the new HildonButton widget,
7144 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7146 * src/hildon-pannable-area.c:
7147 (hildon_pannable_area_button_press_cb),
7148 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7149 (hildon_pannable_area_motion_notify_cb),
7150 (hildon_pannable_area_button_release_cb),
7151 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7152 (hildon_pannable_area_jump_to_child):
7154 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7156 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7158 * examples/Makefile.am
7159 * examples/hildon-pannable-area-touch-grid-example.c
7160 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7161 the Hildon Touch List and Hildon Touch Grid using the
7162 HildonPannableArea widget.
7164 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7166 * src/hildon-pannable-area.c,
7167 (hildon_pannable_area_button_press_cb),
7168 (hildon_pannable_area_refresh),
7169 (hildon_pannable_area_scroll),
7170 (hildon_pannable_area_motion_notify_cb),
7171 (hildon_pannable_area_button_release_cb),
7172 (hildon_pannable_area_expose_event),
7173 (hildon_pannable_area_add),
7174 (hildon_pannable_area_remove),
7175 (hildon_pannable_area_realize),
7176 (hildon_pannable_area_size_allocate),
7177 (hildon_pannable_area_class_init),
7178 (hildon_pannable_area_init),
7179 (hildon_pannable_area_scroll_to_child),
7180 (hildon_pannable_area_jump_to_child): Fixed the problem of
7181 removing the child from the GtkBin, we have rearranged the widget
7182 hierarchy, now there is no GtkAlignment which was not doing
7183 anything interesting but breaking some of the assumptions of
7184 GtkContainer. Now developers if they want to add a GtkAlignment
7185 they could, but it is not inside the area.
7187 We had to review the whole allocation/expose process, now it is
7188 improved and we save at least three signals which would be saving
7189 some time when rendering the widget. The allocation of the
7190 scrollbars is now made in the allocate method as usual.
7192 We have also added some conditions in order to control when there
7193 is no child of the pannable area. Maybe we will need more work
7196 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7198 * src/hildon-pannable-area.c,
7199 (hildon_pannable_area_dispose): Released the fade-out timeout when
7200 disposing the widget.
7202 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7204 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7205 zero, we are going to use that property in order to deactivate the
7207 (hildon_pannable_axis_scroll),
7208 (hildon_pannable_area_size_allocate): Added conditions to control
7209 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7210 call, now it is called in all situations and we can remove calls
7211 in the allocate method.
7212 (hildon_pannable_area_map): Control the situation when
7213 overshoot_max is zero, we do not need the timeout.
7214 (hildon_pannable_area_class_init): Added documentation in order to
7215 point out that setting zero to overshoot_max means deactivate
7218 NOTE: removed trailing whitespaces from my previous comments of
7221 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7223 * src/hildon-pannable-area.c
7224 (hildon_pannable_area_get_property),
7225 (hildon_pannable_area_set_property),
7226 (hildon_pannable_area_map),
7227 (hildon_pannable_area_class_init),
7228 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7229 to cause the widget give a hint about its panning abilities upon
7232 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7234 * src/hildon-pannable-area.c: Several documentation improvements.
7236 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7238 * src/hildon-program.c
7239 * src/hildon-stackable-window.c: Update documentation.
7241 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-stackable-window.c (get_previous_window_if_last):
7244 Renamed get_last_window()
7245 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7246 (hildon_stackable_window_unset_program):
7248 (get_previous_window_if_last):
7249 Detect if the window hasn't been added to a HildonProgram.
7251 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7253 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7255 * src/hildon-pannable-area.c
7256 (hildon_pannable_area_button_press_cb),
7257 (hildon_pannable_axis_scroll),
7258 (hildon_pannable_area_scroll),
7259 (hildon_pannable_area_timeout),
7260 (hildon_pannable_calculate_vel_factor),
7261 (hildon_pannable_area_get_property),
7262 (hildon_pannable_area_set_property),
7263 (hildon_pannable_area_class_init),
7264 (hildon_pannable_area_init),
7265 (hildon_pannable_area_scroll_to),
7266 (hildon_pannable_area_jump_to),
7267 (hildon_pannable_area_scroll_to_child),
7268 (hildon_pannable_area_jump_to_child):
7269 * src/hildon-pannable-area.h: Added the new API functions:
7270 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7271 hildon_pannable_area_scroll_to_child,
7272 hildon_pannable_area_jump_to_child
7275 * examples/Makefile.am
7276 * examples/hildon-pannable-area-example-2.c
7277 * examples/hildon-pannable-area-example-3.c: Added these two new
7278 examples in order to test and show how the new APIs work.
7280 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7282 * examples/hildon-stackable-window-example.c (new_window):
7283 * src/Makefile.am (noinst_HEADERS):
7284 * src/hildon-program.c (hildon_program_go_to_root_window):
7285 * src/hildon-program.h:
7286 * src/hildon-stackable-window-private.h:
7287 * src/hildon-stackable-window.c:
7288 * src/hildon-stackable-window.h:
7289 Create hildon-stackable-window-private.h
7290 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7292 * examples/hildon-app-menu-example.c (create_menu):
7293 * examples/hildon-hvolumebar-insensitive-example.c (main):
7294 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7295 * examples/hildon-toolbar-seekbar-example.c (main):
7296 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7297 * src/hildon-banner.c (hildon_banner_set_property):
7298 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7299 Fix compilation warnings
7301 * src/hildon-window.c:
7304 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7306 * src/hildon-stackable-window.c
7307 (hildon_stackable_window_unset_program):
7308 Calculate correctly whether to show the previous window if the
7309 last one is removed from the stack.
7310 (hildon_stackable_window_go_to_root_window):
7311 Send delete events starting from the topmost window.
7312 Stop if one of the windows is not destroyed.
7314 (hildon_stackable_window_delete_event)
7315 (hildon_stackable_window_class_init):
7316 Ignore the delete event if the window is not the topmost one.
7318 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7320 * src/hildon-pannable-area.c
7321 (hildon_pannable_area_expose_event): Fixed a problem when
7322 selecting the background color of the scrollbars.
7324 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7326 * examples/hildon-stackable-window-example.c
7327 * src/hildon-stackable-window.c
7328 * src/hildon-stackable-window.h
7329 hildon_stackable_window_go_home() renamed to
7330 hildon_stackable_window_go_to_root_window()
7331 Send delete events to windows rather than closing them with
7332 gtk_widget_destroy()
7334 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7336 * src/hildon-pannable-area.c
7337 (hildon_pannable_area_button_release_cb): Fix overshooting in
7340 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7342 * src/hildon-pannable-area.c
7343 (hildon_pannable_area_init): Initially show the scroll indicators.
7344 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7346 Add initial effect showing the widget is pannable.
7348 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7350 * src/hildon-pannable-area.c
7351 (hildon_pannable_area_class_init)
7352 (hildon_pannable_area_set_property)
7353 (hildon_pannable_area_get_property)
7354 (hildon_pannable_area_button_press_cb):
7355 New 'velocity_fast_factor' property to decide which velocity is
7358 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7360 * src/hildon-pannable-area.c
7361 (hildon_pannable_draw_hscroll)
7362 (hildon_pannable_draw_vscroll):
7363 Use float variables to calculate the size of the scrollbars to
7364 avoid error propagation and resizing during scrolling.
7366 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7368 * src/hildon-pannable-area.c
7369 (hildon_pannable_draw_vscroll)
7370 (hildon_pannable_draw_hscroll):
7371 Define a minimum size for the scroll bars
7373 * src/hildon-stackable-window.c
7374 (hildon_stackable_window_go_home): Fix compilation warning
7375 (get_last_window): Minor optimizations
7376 (hildon_stackable_window_class_init): Fix initialization of
7379 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7381 * src/hildon-stackable-window.c: Fixed typos in doc
7383 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7385 * src/hildon-pannable-area.c
7386 (hildon_pannable_area_scroll):
7387 Calculate here whether we need to scroll instead of using the booleans
7388 that tell us whether to /draw/ the scrolling bars.
7390 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7392 * src/hildon-app-menu.h
7394 * src/hildon-app-menu.c
7395 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7396 multiple filter groups related code and API. Now we support only
7398 * examples/hildon-app-menu-example.c:
7400 Update to reflect API changes.
7402 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7404 * src/hildon-stackable-window.c
7405 (hildon_stackable_window_class_init):
7406 Add hildon_stackable_window_realize.
7407 (hildon_stackable_window_realize):
7408 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7409 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7410 to apply theming and behavior specific to HildonStackableWindow
7413 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7415 * src/hildon-note.c (hildon_note_button_release):
7416 Close information notes also when tapping on them
7418 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7420 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7421 ELASTICITY, refactor and review, fix some issues with drawing
7424 * src/hildon-pannable-area.c:
7425 (hildon_pannable_area_button_press_cb): removed the conditions to
7426 avoid clicks when overshooting. It is not required
7428 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7429 define. Refatored and reviewed the code, now we do not need to
7430 manage velocity in motion_notify.
7432 (hildon_pannable_area_motion_notify_cb): We have moved the code
7433 that controls the area_scroll to the axis_scroll function and get
7434 rid of duplicated code.
7436 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7438 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7440 (hildon_pannable_draw_vscroll),
7441 (hildon_pannable_draw_hscroll): Fixed the problems with the
7442 scrollbar drawing, now we do not use two surfaces, it is easier
7443 and saves resources.
7445 (hildon_pannable_area_get_property): Style modification.
7447 (hildon_pannable_area_class_init): Changed some default values.
7449 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7451 * src/hildon-stackable-window.c: Fix some typos in the
7454 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7456 * src/hildon-dialog.c:
7457 Change indentation style
7460 (hildon_note_button_release):
7461 Use root coordinates to check if the release event happened
7464 * src/hildon-app-menu.c
7465 (hildon_app_menu_button_release):
7466 Remove unnecessary check
7468 * examples/hildon-app-menu-example.c
7470 Add cast to fix warning
7472 * src/hildon-app-menu.c
7473 (hildon_app_menu_class_init):
7474 New inner-border style property.
7475 Set all default spacings to 16
7476 (hildon_app_menu_init):
7477 Use vertical-spacing to set the space between filter buttons and
7478 regular menu buttons.
7479 Set the default container border using the inner-border value.
7481 * examples/hildon-app-menu-example.c
7483 Don't set the menu border explicitly, now we have the inner-border
7484 style property for that.
7486 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7488 * src/hildon-app-menu.c (hildon_app_menu_init):
7489 Make the window modal
7491 * src/hildon-note.c (hildon_note_map)
7492 * src/hildon-app-menu.c (hildon_app_menu_map):
7493 Destroy the grab window if we're unable to grab the pointer
7495 * src/hildon-app-menu-private.h
7496 * src/hildon-app-menu.c
7497 (hildon_app_menu_init, hildon_app_menu_finalize)
7498 (hildon_app_menu_map, hildon_app_menu_unmap)
7499 (hildon_app_menu_button_release)
7500 (grab_transfer_window_get):
7501 Bring back the grab window
7502 (hildon_app_menu_realize):
7503 Decorate the window, set WM hint for Matchbox
7505 * src/hildon-note.c (hildon_note_realize):
7506 * src/hildon-banner.c (hildon_banner_realize):
7507 Add WM hints for Matchbox
7509 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7511 * src/hildon-app-menu-private.h
7512 * src/hildon-app-menu.c
7513 (hildon_app_menu_init, hildon_app_menu_finalize)
7514 (hildon_app_menu_map, hildon_app_menu_unmap)
7515 (hildon_app_menu_button_release):
7516 Remove the grab window, it's not needed anymore
7518 * src/hildon-program.c
7519 Fixed typo in documentation
7521 * src/hildon-app-menu.h
7522 * src/hildon-app-menu.c
7523 * examples/hildon-app-menu-example.c
7524 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7526 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7529 Added new transfer_window and close_if_pressed_outside private
7531 (hildon_note_rebuild):
7532 Don't add a cancel button to the information note. It will be
7533 closed when tapping outside
7534 Remove the comment about the OK button in the documentation
7535 (hildon_note_realize):
7536 Set the notification type hint
7537 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7538 Grab/ungrab pointer and keyboard if the note has to be closed when
7540 (hildon_note_button_release):
7541 Close the note when tapping outside (if applicable)
7543 * src/hildon-app-menu.c
7544 Grab/ungrab pointer and keyboard on map/unmap
7545 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7546 Close the menu on button release, not button press
7548 * src/hildon-banner.c
7549 (hildon_banner_set_property)
7550 (hildon_banner_check_position):
7551 Make the banner use the full width of the screen
7552 (hildon_banner_show_information)
7553 (hildon_banner_show_information_with_markup):
7554 Don't display an icon by default
7556 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7558 Added fading scrollbars and adapted all the overshooting code to
7559 horizontal scrolling. We have also fixed bugs with overshooting
7560 and current fading implementation.
7562 * src/hildon-pannable-area.c
7563 (hildon_pannable_area_scroll_indicator_fade): Time out function
7564 used to change the transparency of the scrollbars.
7566 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7567 control and fixed a problem with fading, we now remove the fade
7568 timeout before adding a new one.
7570 (hildon_pannable_axis_scroll):
7571 (hildon_pannable_area_scroll):
7572 (hildon_pannable_area_timeout): Added this functions so we can use
7573 the scroll code both for vertical and horizontal.
7575 (hildon_pannable_area_motion_notify_cb):
7576 (hildon_pannable_area_button_release_cb): Added the horizontal
7577 scrolling control, fixed a problem with the overshooting timeout.
7579 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7580 painting of the scrolls.
7582 (hildon_pannable_draw_vscroll):
7583 (hildon_pannable_draw_hscroll):
7584 (hildon_pannable_area_expose_event):
7585 Draw both scrollbars and rectangles in the overshooting area.
7587 (hildon_pannable_area_get_property):
7588 (hildon_pannable_area_set_property):
7589 Modified the overshoot property to overshoot_max
7591 (hildon_pannable_area_map):
7592 Replaced the comments symbols.
7594 (hildon_pannable_area_size_allocate):
7595 (hildon_pannable_area_class_init):
7596 (hildon_pannable_area_init): Added horizontal scroll, fading
7597 effect properties, fixed a problem when overshooting in the bottom
7600 * examples/hildon-pannable-area-example.c:
7601 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7602 looks better in the example.
7604 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7606 * src/hildon-window.c
7607 * src/hildon-window.h
7608 (hildon_window_class_init)
7609 (hildon_window_unset_program)
7610 (hildon_window_unset_program_real):
7611 Make unset_program a virtual function
7613 * src/hildon-stackable-window.c
7614 * src/hildon-stackable-window.h
7615 Added hildon_stackable_window_go_home()
7617 * examples/Makefile.am
7618 * examples/hildon-stackable-window-example.c
7619 HildonStackableWindow example
7621 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7623 * hildon-pannable-area.c: Added the overshoot property and removed
7624 the OVERSHOOT define. Fixed an indent style error.
7625 (hildon_pannable_area_motion_notify_cb):
7626 (hildon_pannable_area_get_property):
7627 (hildon_pannable_area_set_property): Add overshoot property.
7629 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7632 (hildon_pannable_area_class_init): Installed the new property.
7634 * hildon-pannable-area-example.c: Added a sawtooth function, this
7635 way it is easier to check the movement in the pannable.
7636 (get_sawtooth_label): Added this function.
7637 (main): Now we get the labels from the new get_sawtooth_label
7640 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7642 * src/hildon-app-menu.h
7643 * src/hildon-app-menu.c
7644 Renamed API variables for consistency
7646 (hildon_app_menu_popup): Use also the default window size to
7647 decide where to place the menu
7649 (hildon_app_menu_init, hildon_app_menu_class_init): New
7650 external-border style property
7652 2008-05-26 Michael Natterer <mitch@imendio.com>
7654 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7655 widget_class->tap_and_hold_setup signal slot doesn't exist any
7656 longer, stop overriding it.
7658 (hildon_time_editor_init): g_signal_connect() to the
7659 tap-and-hold-setup signal instead.
7661 (hildon_time_editor_entry_keypress): add cast to fix warning.
7663 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7665 * doc/hildon-docs.sgml
7667 * examples/Makefile.am
7668 * examples/hildon-app-menu-example.c
7670 * src/hildon-app-menu-private.h
7671 * src/hildon-app-menu.c
7672 * src/hildon-app-menu.h
7674 New HildonAppMenu widget
7676 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7678 Rearranged the inheritance of the pannable area, now it inherits
7679 from GtkBin. This will allow us to control the event_window and
7680 the allocation process of the widget, required for some effects.
7682 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7683 GtkBin structures. * src/hildon-pannable-area.c: Added the
7684 event_window variable.
7685 (hildon_pannable_area_button_press_cb):
7686 (hildon_pannable_area_button_release_cb):
7687 (hildon_pannable_area_motion_notify_cb):
7688 Changed the signature of the method, now we override the event
7689 callback instead of connecting to the signal.
7691 (hildon_pannable_area_realize):
7692 (hildon_pannable_area_unrealize):
7693 (hildon_pannable_area_map):
7694 (hildon_pannable_area_unmap):
7695 (hildon_pannable_area_size_allocate):
7696 Added functions to control the widget construction. We add a
7697 INPUT_ONLY window and we put it over the widgets inside the
7698 container, this event_window handles the events.
7700 (hildon_pannable_area_class_init):
7701 Replaced the signal connections with overrides of the event
7704 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7706 Bouncing effect added when touching the borders, you can change
7707 the elasticity of the border changing the ELASTICITY define.
7709 * src/hildon-pannable-area.c: Added ELASTICITY define.
7710 (hildon_pannable_area_timeout): Added inverse velocity when
7711 touching the border of the child widget, that causes a bounce.
7713 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7715 Improved performance, we now do not go to the X server in order to
7716 get the list of window children. Apparently the effect is the
7717 same, we have to be careful and check if this breaks something in
7720 * src/hildon-pannable-area.c:
7721 (get_ordered_children): Removed this function.
7722 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7723 the children windows function with gdk_window_get_children.
7725 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7727 * src/hildon-pannable-area.c:
7728 (hildon_pannable_area_dispose): Fixed a crash when closing the
7729 window and kinetics is activated.
7731 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7733 * src/hildon-pannable-area.h
7734 * src/hildon-pannable-area.c
7735 Changed indentation style to meet the one used in Hildon
7737 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7739 Reviewed the interaction of the AUTO mode, now we use the time
7740 attribute of the events and calculate the velocity in the motion,
7741 doing a gimp like calculation. The velocity is calculated in each
7742 motion event using the last velocity and the current one, the
7743 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7745 * src/hildon-pannable-area.c: Replaced the time based algorithm
7747 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7748 timeout for the AUTO mode when we are still moving the cursor. We
7749 added also the velocity calculation in this function.
7750 (hildon_pannable_area_button_release_cb): launch the timeout in
7751 case we are in AUTO mode. There are still some constants here that
7752 come from the old implementation that should be reviewed and
7755 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7757 * doc/hildon-docs.sgml
7760 * src/hildon-stackable-window.c
7761 * src/hildon-stackable-window.h
7763 New HildonStackableWindow widget
7765 * examples/hildon-dialog-example.c
7766 * examples/hildon-pannable-area-example.c
7769 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7771 * src/hildon-dialog.c
7772 (hildon_dialog_new_with_buttons): New constructor.
7774 * examples/hildon-dialog-example.c
7775 (main): Update the example to use the new
7776 hildon_dialog_new_with_buttons().
7778 * examples/hildon-pannable-area-example.c
7779 (main): Update example.
7781 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7783 * doc/hildon-docs.sgml
7785 Added HildonPannableArea to the documentation.
7787 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7789 * doc/visual_index.xml
7790 Fix reference to HildonLoginDialog in documentation
7792 * doc/hildon-docs.sgml
7794 * examples/Makefile.am
7795 * examples/hildon-dialog-example.c
7797 * src/hildon-dialog.c
7798 * src/hildon-dialog.h
7800 New HildonDialog widget.
7802 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7804 * src/hildon-pannable-area.c
7805 Merge latest changes (r4318, r4342) from libmokoui trunk
7807 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7809 * examples/Makefile.am
7810 * examples/hildon-pannable-area-example.c
7812 * src/hildon-pannable-area.c
7813 * src/hildon-pannable-area.h
7815 New HildonPannableArea widget.
7817 2008-04-15 18:05:19 <timj@imendio.com>
7819 * src/hildon-banner.c: revert the recent change, that introduced
7820 gtk_window_present() calls. this reopens:
7821 Bug 78481 - [freetest] information banners are hidden under browser menu
7822 But resolves another variant of:
7823 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7825 2008-04-15 13:21:13 <timj@imendio.com>
7827 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7828 recreated its layout, spotted by Kris. this fixes all remaining
7829 artefacts and stability issues with the banner code. in particular:
7830 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7832 2008-04-14 16:52:59 <timj@imendio.com>
7834 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7835 operating on unrealized widgets, fixes:
7836 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7838 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7840 2008-04-09 Kristian Rietveld <kris@imendio.com>
7842 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7843 makes banner disappear.
7844 Fixes: NB#79182: info banner flickering with certain message lengts.
7846 * src/hildon-banner.c (hildon_banner_constructor),
7847 (hildon_banner_init), (hildon_banner_set_text),
7848 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7849 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7850 FALSE, reset size requests of label and banner,
7851 (force_to_wrap_truncated): when the text is too wide, always enforce
7852 the maximum possible width instead of recalculating it from the
7853 layout; enforce the maximum banner height of 3 lines,
7854 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7855 nicer wrapping and no truncated chars if space gets tight.
7857 * src/hildon-banner-private.h: add has_been_wrapped and
7858 has_been_truncated fields.
7860 2008-04-07 Sven Herzberg <sven@imendio.com>
7862 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7863 local values in hildon_date_editor_size_allocate
7865 * src/hildon-date-editor.c: moved the real allocation code into the
7868 2008-04-07 Sven Herzberg <sven@imendio.com>
7870 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7871 local values in hildon_date_editor_size_allocate
7873 * src/hildon-date-editor.c: merged the two if() branches together
7875 2008-04-07 Sven Herzberg <sven@imendio.com>
7877 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7878 local values in hildon_date_editor_size_allocate
7880 * src/hildon-date-editor.c: changed the arguments of the if()
7883 2008-04-07 Sven Herzberg <sven@imendio.com>
7885 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7886 local values in hildon_date_editor_size_allocate
7888 * src/hildon-date-editor.c: split the calculation of the allocation
7889 from the real allocation
7891 2008-03-27 Michael Natterer <mitch@imendio.com>
7893 Fixes: NB#81696: The passcode is not overwritten even after
7896 * src/hildon-code-dialog.c
7897 (hildon_code_dialog_button_clicked)
7898 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7899 because that doesn't overwrite selected text. Instead, emit the
7900 "commit" signal on the entry's im_context so the entry's normal
7901 insert logic is triggered. Set the cursor to the end of the entry
7902 after each insert operation so that we *only* insert in the middle
7903 of the text if something was selected.
7905 2008-03-27 Michael Natterer <mitch@imendio.com>
7907 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7908 selector cannot be opened
7910 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7911 when the popup color selector is created. Please connect to this
7912 signal in order to set the dialog's help ID.
7914 2008-03-25 Sven Herzberg <sven@imendio.com>
7916 Fixes: MB#1212: Hide info banners (infoprints) on click
7918 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7919 extracted the close event simulation into an extra function
7920 (hildon_banner_button_press_event): simulate a close event and destroy
7921 the widget if the event wasn't handled
7922 (hildon_banner_class_init): added the button_press_event handler
7923 (hildon_banner_init): added button-press events to the widget
7925 2008-03-25 Sven Herzberg <sven@imendio.com>
7927 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7928 Patch from: Mohammad Anwari <mdamt@maemo.org>
7930 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7931 instead of the right in RTL mode
7932 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7933 breadcrumb button list in RTL mode
7934 * src/hildon-caption.c: mirror the appearance of the caption widget in
7936 * src/hildon-date-editor.c: mirror appearance of the date editor in
7938 * src/hildon-time-editor.c: mirror appearance of the time editor in
7940 * src/hildon-window.c: fix the position of the popup in RTL mode
7942 2008-03-25 Sven Herzberg <sven@imendio.com>
7944 Amendment to the fix of NB#22072. Fix compilation.
7946 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7948 2008-03-19 Sven Herzberg <sven@imendio.com>
7950 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7953 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7954 timeout id properly when the timeout will disappear this leaves no
7955 artifacts around in the destroy(); there will only be the timeout
7956 created by hildon_banner_ensure_timeout() and adding a new timeout
7957 will also work if the timeout gets removed because the timeout_handler
7960 2008-03-19 Michael Natterer <mitch@imendio.com>
7962 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7964 * src/hildon-volumebar.c
7965 * src/hildon-vvolumebar.c
7966 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7967 the widget becomes focussable at all.
7969 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7970 set the focus to wither the mute button or the volumebar.
7972 Remove own "can-focus" property and instead listen to
7973 notify::can-focus in order to update the widget's state.
7975 Implement GtkWidget::focus() and make sure we can also *leave* the
7976 widget, not only enter it, depending on volumebar orientation and
7977 requested focus direction.
7979 Clean up set_mute() to cooperate nicely with all the above.
7981 2008-03-04 Michael Natterer <mitch@imendio.com>
7983 Fixes: NB#78481: information banners are hidden under browser menu
7985 * src/hildon-banner.c: call gtk_window_present() on the banners so
7986 they are risen if they are already visible.
7988 2008-03-03 Sven Herzberg <sven@imendio.com>
7990 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7992 * examples/hildon-window-menu-example.c: (main): extended the window
7993 menu example to serve as a testcase for automatically added
7994 accelerator groups, too
7995 * src/hildon-window.c: (hildon_window_add_accel_group),
7996 (hildon_window_set_menu): added patch by Tommi Komulainen
7998 2008-03-03 Sven Herzberg <sven@imendio.com>
8000 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8002 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8003 knowledge about the border allocators used within GTK+
8005 2008-02-26 Sven Herzberg <sven@imendio.com>
8007 Fixes: MB#2981: Build with asserts broken
8009 * src/hildon-date-editor.c,
8010 * src/hildon-number-editor.c,
8011 * src/hildon-time-editor.c,
8012 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8013 the proper GType instance check
8015 2008-02-25 Sven Herzberg <sven@imendio.com>
8017 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8019 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8020 * examples/hildon-window-menu-example.c: (main): explicitly show
8022 * src/hildon-window.c:
8023 (hildon_window_set_main_menu): moved most of the code from set_menu()
8024 to this place; skipped the call to gtk_widget_show_all(); also didn't
8025 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8026 (hildon_window_set_menu): removed most of the code, just keep the
8027 questionable gtk_widget_show_all()
8028 * src/hildon-window.h: added the new function and deprecate the old
8031 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8037 * debian/changelog: Updating.
8039 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8042 * pkgconfig/Makefile.am:
8043 * pkgconfig/hildon.pc.in:
8046 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8047 use newly created API_MAJOR_VERSION.
8049 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8055 * debian/changelog: Updating.
8057 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8059 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8061 Add outer_border style property, we use it but don't define it (!).
8065 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8067 * examples/hildon-bread-crumb-trail-example.c (main):
8071 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8073 Fix logic for the bread crumb trail node removal.
8077 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * debian/changelog: Updating.
8085 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8087 Patch by Alejandro to get/set passwords dialogs accesibility.
8089 * hildon-1/src/hildon-get-password-dialog.c:
8090 * hildon-1/src/hildon-set-password-dialog.c:
8091 Set atk_set_name to the passwd entries in order to allow
8092 accessibility by name on this entries.
8094 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * debian/control: Updating gtk dep.
8101 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8103 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8104 USE_MAEMO_GTK is enabled.
8106 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8108 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8109 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8111 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * debian/changelog: Updating.
8119 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * examples/Makefile.am:
8122 * examples/hildon-logical-color-example.c:
8123 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8124 applied + adding a test case. Fixes: NB#71660.
8126 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8128 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8129 to be visible, fixes warning on map for windows without toolbars.
8131 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8133 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8134 2.11.0, add a check for that besides the MAEMO_GTK check.
8136 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * debian/changelog: Updating.
8144 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8147 visibility. Fixes: NB#70842 and MB#615.
8149 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8151 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8152 set the separator as no-show-all so it doesn't unintentionally appear when
8153 someone does a show_all.
8155 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8157 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8158 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8159 toplevel item. Fixes: NB#62031
8161 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8163 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8164 fix the name of the function in the docs.
8166 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8172 * debian/changelog: Updating.
8174 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * examples/hildon-banner-long-example.c: Adding a test-case for long
8179 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8181 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-color-chooser-dialog.c:
8184 * src/hildon-color-chooser.c:
8185 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8186 memory leaks in font selector and color selector. Fixes: NB#70499 and
8189 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8191 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8193 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8196 little bit bigger. Fixes: #NB63694.
8198 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * debian/changelog: Updating.
8206 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8209 * doc/hildon-docs.sgml:
8210 * doc/images/bread-crumb-trail.png:
8211 * doc/images/calendar-popup.png:
8212 * doc/images/caption.png:
8213 * doc/images/code-dialog.png:
8214 * doc/images/color-button.png:
8215 * doc/images/color-chooser-dialog.png:
8216 * doc/images/color-chooser.png:
8217 * doc/images/controlbar.png:
8218 * doc/images/date-editor.png:
8219 * doc/images/font-selection-dialog.png:
8220 * doc/images/get-password-dialog.png:
8221 * doc/images/hvolumebar.png:
8222 * doc/images/login-dialog.png:
8223 * doc/images/note.png:
8224 * doc/images/number-editor.png:
8225 * doc/images/range-editor.png:
8226 * doc/images/seekbar.png:
8227 * doc/images/set-password-dialog.png:
8228 * doc/images/sort-dialog.png:
8229 * doc/images/time-editor.png:
8230 * doc/images/time-picker.png:
8231 * doc/images/vvolumebar.png:
8232 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8233 Adding the bread-crumb-trial and helpers to the documentation.
8235 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * examples/hildon-find-toolbar-example.c:
8238 * src/hildon-find-toolbar.c:
8239 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8240 actually continue firing the other handlers if connected. Adding a new
8242 hildon_find_toolbar_get_last_index that gets the index of the most
8243 recently added (last) item. Fixes: NB#52301.
8245 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8247 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8248 behaviour. Fixes: NB#68610.
8250 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8255 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8258 when realizing the banner. Should make the infonbanner effect a bit more
8261 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * src/hildon-volumebar.c:
8264 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8265 hildon_volumebar_set_range_insensitive_message and
8266 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8268 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 * src/hildon-window.c: Fixing the border freeing on destroy.
8272 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8274 * src/hildon-code-dialog-private.h:
8275 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8276 kw keyboard support in HildonCodeDialog.
8278 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8284 * debian/changelog: Updating.
8286 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * src/hildon-date-editor.c:
8289 * src/hildon-number-editor.c:
8290 * src/hildon-private.c:
8291 * src/hildon-private.h:
8292 * src/hildon-time-editor.c:
8293 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8294 handling in subclassed composite widgets. Fixes: NB#66628.
8296 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8298 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8299 from destroy_ callback as it introduces problems in async dbus signal
8300 handlers. Fixes NB#66673.
8302 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * examples/hildon-hvolumebar-example.c:
8305 * src/hildon-volumebar.c: Improving the focus handling in the
8306 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8307 set_property accessor so that "mute" property can be actually set. I'm
8308 scared that nobody noticed it's totally broken.
8310 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8315 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * src/hildon-calendar.c:
8318 * src/hildon-number-editor.c:
8319 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8320 matches the spec of 6 chars per second. Fixes: NB#60489.
8322 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8325 gtk_style_lookup_color sometime returns FALSE even though color was
8326 found and values were filled properly. Weird. Removing the warning for the
8329 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8332 expand vertically. Adding some extra space to the find toolbar buttons to
8333 make them thumbable. Fixes NB#66060.
8335 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8337 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8338 popup with "Ok" and "Cancel". Fixes NB#59299.
8340 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8342 * src/hildon-calendar.c: Process all window updates before executing next
8343 timeout. Fixes: NB#54146.
8345 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8351 * debian/changelog: Updating.
8353 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8355 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8356 the client event and ignore it, since we use the delete event to close
8359 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-helper.c: Remove the bogus warning about color not being
8362 found. Fixes NB#58352.
8364 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * examples/Makefile.am:
8367 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8368 HildonSeekbar widget inside a toolbar.
8370 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8372 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8373 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8374 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8375 don't want to be closed by non-temporary windows on map.
8377 Also use G_DEFINE_TYPE instead of manually typed code.
8379 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8386 * debian/rules: Updating.
8388 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * examples/Makefile.am:
8391 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8392 bug NB#61128. Strangely it works.
8394 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * src/hildon-date-editor.c: When the date editor entry has been changed
8397 but the numbers of characters < max, turn off the skip validation flag.
8398 Prevents a situation when we enter first a valid year and later re-write
8399 it with an invalid one. Fixes NB#60154.
8401 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8404 code dialog. Fixes NB#64355.
8406 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8409 switching the page. Fixes NB#49374.
8411 * examples/Makefile.am:
8412 * examples/hildon-wizard-dialog-example.c: Adding an example for
8413 HildonWizardDialog that shows how to handle manual sensitivity setting on
8416 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * src/hildon-version.h.in:
8421 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8423 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * src/hildon-volumebar.c: Updating the docs.
8427 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8433 * debian/changelog: Updating.
8435 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * src/hildon-find-toolbar.c:
8438 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8439 selected item: hildon_find_toolbar_set_active,
8440 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8441 hildon_find_toolbar_get_active_iter . They correspond to respective
8442 GtkComboBox functions.
8444 * examples/Makefile.am:
8445 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8448 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * examples/Makefile.am:
8451 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8454 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8455 when font size > 32 and we pack a focusable widget inside. Actually using
8456 the default response would work too, but since we don't show default
8457 response state in any way (no theming) it would not be visible to the
8458 user. Fixes NB#63430.
8460 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * src/hildon-date-editor.c: Adding the missing variable setter in the
8463 set_property handler. Fixes NB#54182.
8465 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-window.h: Changing the long key press time from 1500ms to
8468 800ms as requested in NB#63700. I have a bad feeling about this, let's
8469 see... Fixes NB#63700.
8471 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8473 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8474 hildon_time_picker_map, hildon_time_picker_realize,
8475 hildon_time_picker_style_set): Split the contents of map to more
8476 appropriate functions; set window decorations on realize and update
8477 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8479 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8484 * debian/changelog: Updating.
8486 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8488 * src/Makefile.am: fixed installation of the header files
8490 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * debian/changelog: Updating.
8498 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * configure.ac: Removing some remaining of --enable-xan.
8502 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8504 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8505 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8507 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8508 2.10.12-osso6 because the move-focus signal needs to be available in
8511 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * examples/Makefile.am:
8514 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8515 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8516 fine. Prolly NB#61128 is fixed now.
8518 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-volumebar.c:
8521 * src/hildon-volumebar.h: Adding the
8522 hildon_volumebar_set_range_insensitive_message and
8523 hildon_volumebar_set_range_insensitive_messagef functions to set
8524 insensitive message on the slider of the volumebar. Fixes NB#61129.
8526 * examples/Makefile.am:
8527 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8528 test the new insensitive messsage functionality on HildonVolumebar.
8530 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8532 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8535 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8537 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8538 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8539 button on after clearing the trail.
8541 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8545 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8547 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8548 by splitting the installed headers in generated and non-generated groups. Use
8549 only the non-generated headers to create the hildon-enum-types.h file.
8551 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8553 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * src/hildon-window.c: Hide the window before performing the destroy.
8556 Should make the app closing a little tiny bit more snappy.
8558 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8560 * src/hildon-seekbar.c: add gtkrange.h header
8561 * src/hildon-caption.c: remove unused variable
8563 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8565 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8568 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * debian/changelog: Updating.
8576 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8578 * src/hildon-window.c (hildon_window_window_state_event,
8579 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8580 escape timeout on focus-out-event rather than notify::is-topmost; the
8581 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8583 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8586 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8588 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8590 * src/hildon-window: actually, you need to use the macro always, there's
8591 no private pointer in the instance structure. We should have cleaned this up
8592 when we had the chance...
8594 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8596 * src/hildon-window.c: do not get the private date from HildonWindow before
8597 it passes the g_return_if_fail check. Once it's passed the test, there's no
8598 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8599 if you are only going to access the data once. Whitespace cleanups.
8601 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8603 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8604 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8606 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * debian/changelog: Updating.
8614 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8616 * src/hildon-window.c: When destroying the window, remove (if exists) the
8617 escape timeout handler. Fixes #NB59276.
8619 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * src/hildon-banner.c: When realizing the widget, set the window
8622 transiency. Setting the transiency in the gobject constructor is not
8623 good, as the widget is not realized at that point. Fixes: #NB56624.
8625 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8627 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8628 Add padding for future expansions.
8630 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8632 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8633 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8634 will fake an activation on the previous to the last item of the trail, so
8635 the effect can be overrided by the developer as usual.
8636 Also change the callback for the back button to do the same thing, so its
8637 effect can be overrided too. Fixes: NB#58982
8639 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8642 HildonCaption. Fixes NB#52379.
8644 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8646 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8647 the internal state of the trail after the user has had the chance of executing
8648 his handler for the signal. Specifically, it may happen that the activated button
8649 is removed and the user still lets the default handler run. This would segfault
8652 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8655 scrollbar to the preview dialog. Fixes NB#54147.
8657 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8660 max/min year properties can be altered, so the client can modify it
8661 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8663 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8666 hildonlike by default. Fixing a problem with disappearing arrows when
8667 scrolling through months and years. Fixes NB#54127.
8669 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * examples/hildon-date-editor-example.c: Adding error callback to the date
8674 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * configure.ac: Updating.
8682 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * configure.ac: Adding a special '--enable-xan' configure option that
8685 turns off the -Werror compilation setting. Usefull for development.
8687 * src/hildon-calendar.c:
8688 * src/hildon-number-editor.c:
8689 * src/hildon-time-picker.c: Adding the 5* multiplier to
8692 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8694 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8695 instead of g_object_ref + gtk_object_sink.
8697 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * debian/changelog: Updating.
8705 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * src/hildon-color-chooser-dialog.c:
8708 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8709 straight from Tommi labs.
8711 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * examples/hildon-finger-example.c: Correcting the header file path.
8715 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8716 the changed signal. Fixes a small memory leak.
8718 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-banner.c: Importing several usefull fixes from the
8723 ubuntu-mobile branch.
8725 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * examples/Makefile.am:
8728 * examples/hildon-finger-example.c: Adding a finger-checking code
8731 * src/hildon-font-selection-dialog.c: Do not allocate the color
8732 structure using the g_new. Fixes NB#54061.
8734 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * src/hildon-helper.c: Correcting tabs in file.
8738 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8741 control the visibility of the children.
8743 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8745 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * debian/changelog: Updating.
8753 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8755 * src/hildon-bread-crumb-trail.c:
8756 (hildon_bread_crumb_trail_size_allocate):
8758 Make the back button always a square.
8760 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8762 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8763 from the .c file as it's a private file.
8765 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8768 uses slightly bigger height.
8770 * src/hildon-font-selection-dialog.c: Adding some checks before
8771 freeing memory in the font selection dialog.
8773 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * src/hildon-font-selection-dialog.c: Adding a small check when
8778 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8779 buttons sensitivity on page switching.
8781 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8783 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8784 internal details of adding a bread crumb to the trail.
8786 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * debian/changelog: Updating.
8794 * src/hildon-bread-crumb-trail.h:
8795 * src/hildon-bread-crumb.h: Changing the API guard to
8796 HILDON_ENABLE_UNSTABLE_API.
8798 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * src/hildon-helper.h: Updating.
8808 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8816 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * src/hildon-helper.h: Small fix to make the package actually compile.
8822 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-bread-crumb-trail.h:
8825 * src/hildon-bread-crumb.h:
8827 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8828 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8830 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8832 * examples/hildon-bread-crumb-trail-example.c:
8834 * src/hildon-bread-crumb-trail.c:
8835 * src/hildon-bread-crumb-trail.h:
8836 * src/hildon-bread-crumb.c:
8837 * src/hildon-bread-crumb.h:
8838 * src/hildon-marshalers.list:
8839 * src/hildon-bread-crumb-widget.c:
8840 * src/hildon-bread-crumb-widget.h:
8842 Slight change in the widget design. The bread crumb trail API is
8843 unchanged, but HildonBreadCrumb is now an interface. A *private*
8844 implementation, hildon-bread-crumb-widget, is provided and used
8845 internally by the trail for the push_text/push_icon functions.
8847 The generic push API is still available, so anyone can implement
8848 and use its own bread crumb widget.
8850 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * debian/rules: Fixing the shlibs.
8854 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8856 * src/hildon-banner.c: Fixing a problem with timed banners having
8857 their parrent destroyed before they are.
8859 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8861 * src/hildon-bread-crumb.c:
8862 * src/hildon-bread-crumb.h:
8864 Make the get_natural_size function a vfunc.
8866 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8868 * src/hildon-bread-crumb.c:
8869 * src/hildon-bread-crumb-trail.c:
8873 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * debian/changelog: Updating for release.
8882 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8884 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8885 don't leak the pango layout.
8887 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8890 * examples/hildon-bread-crumb-trail-example.c:
8894 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * debian/changelog: Removing the bug-fixed entries that were actually
8897 resolved as WONTFIX.
8899 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8902 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8904 * src/hildon-bread-crumb-trail.c:
8905 * src/hildon-bread-crumb-trail.h:
8906 * src/hildon-bread-crumb.c:
8907 * src/hildon-bread-crumb.h:
8911 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8913 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8914 until it's passed the type check.
8916 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8918 * examples/hildon-bread-crumb-trail-example.c
8922 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8924 * examples/Makefile.am
8925 * examples/hildon-bread-crumb-trail-example.c
8927 * src/hildon-bread-crumb-trail.c
8928 * src/hildon-bread-crumb-trail.h
8929 * src/hildon-bread-crumb.c
8930 * src/hildon-bread-crumb.h
8932 New HildonBreadCrumbTrail widget.
8934 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8936 * src/hildon-range-editor.c (hildon_range_editor_init),
8937 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8938 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8939 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8940 hildon_time_editor_class_init, hildon_time_editor_init),
8941 src/hildon-get-password-dialog.c (invalid_input,
8942 hildon_get_password_set_property, hildon_get_password_get_property,
8943 create_contents, hildon_get_password_dialog_set_max_characters),
8944 src/hildon-set-password-dialog.c (create_contents),
8945 src/hildon-date-editor.c (hildon_date_editor_init),
8946 src/hildon-login-dialog.c (hildon_login_dialog_init),
8947 src/hildon-number-editor.c (hildon_number_editor_init),
8948 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8949 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8950 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8951 configure option and adding the respective checks in the code.
8952 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8953 hildon_calendar_drag_data_received): fixed some build warnings.
8955 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * debian/changelog: A 1.0.0 release notes.