1 2009-06-17 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
6 2009-06-17 David King <davidk@openismus.com>
8 * hildon/hildon-date-selector.c
9 (hildon_date_selector_select_current_date)
10 (hildon_date_selector_get_date): Update documentation regarding days,
11 as the day of the month is dependent on both the month and the year.
12 (hildon_date_selector_get_date): Fix documentation of output arguments.
14 Fixes: MB#4698 (DateSelector documentation has bad output argument
15 description, and the day depends on both the month and the year)
17 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
19 * hildon/hildon-caption.c: Other documentation fixes to
22 2009-06-17 David King <davidk@openismus.com>
24 * hildon/hildon-caption.c: Minor documentation updates for
25 HildonCaption. Fixes MB#4697.
27 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
29 * doc/hildon-docs.sgml: Add hildon-version section.
30 * doc/hildon-sections.txt:
31 * hildon/hildon-version.h.in: Document versioning macros and
34 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
36 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
37 from HildonPickerDialog section.
39 2009-06-16 Alberto Garcia <agarcia@igalia.com>
41 * hildon/hildon-banner.c (hildon_banner_bind_style)
42 (screen_size_changed, hildon_banner_init)
43 (hildon_banner_real_show_information)
44 (hildon_banner_show_information_with_markup)
45 (hildon_banner_show_animation, hildon_banner_show_progress):
46 Set a different widget name to banners in portrait mode, for them
47 to be themed correctly.
49 2009-06-16 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
52 Set a different widget name to notes in portrait mode, for them to
55 Partially fixes: NB#118401 (HildonNote causes unnecessary
58 2009-06-16 Alberto Garcia <agarcia@igalia.com>
60 * hildon/hildon-note.c (hildon_note_class_init)
61 (+hildon_note_size_request, screen_size_changed):
62 Always request the full width of the screen.
64 Fixes: NB#118375 (unnecessary rescaling of images)
66 2009-06-16 Alejandro G. Castro <alex@igalia.com>
68 * hildon/hildon-pannable-area.c,
69 (hildon_pannable_area_init),
70 (hildon_pannable_area_realize): Replaced old code adding flags in
71 the object init, now we add it with the other flags in the realize
74 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-note.c: (hildon_note_class_init): Several
77 documentation improvements to the HildonNote widget.
79 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
81 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
83 Fixes: MB#4556 (HildonNoteType is undocumented)
85 2009-06-15 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-picker-button.c:
88 Explain how HildonPickerButton sets the title of its dialog
90 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
91 the title of its dialog)
93 2009-06-15 Alberto Garcia <agarcia@igalia.com>
95 * hildon/hildon-check-button.c:
98 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
101 2009-06-15 Alberto Garcia <agarcia@igalia.com>
104 * hildon/hildon-edit-toolbar-private.h
105 * hildon/hildon-edit-toolbar.c
106 (+hildon_edit_toolbar_set_progress_indicator)
107 (hildon_edit_toolbar_init): Add progress indicator to the
110 * hildon/hildon-gtk.c
111 (hildon_gtk_window_set_progress_indicator):
112 If the window contains a HildonEditToolbar, enable the progress
115 * hildon/hildon-private.h
116 * hildon/hildon-private.c
117 (+hildon_private_create_animation)
118 * hildon/hildon-banner.c
119 (-hildon_banner_create_animation):
120 Moved to hildon-private.c
122 Fixes: NB#102373 (Progress indicator also for the Edit mode
125 2009-06-15 Alberto Garcia <agarcia@igalia.com>
127 * hildon/hildon-app-menu-private.h
128 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
129 (hildon_app_menu_add_filter, +menu_item_button_event)
130 (hildon_app_menu_button_release, hildon_app_menu_init):
131 Make sure that buttons receive 'button-release-event' in spite of
132 the grab held by HildonAppMenu
134 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
136 2009-06-15 Alberto Garcia <agarcia@igalia.com>
138 * hildon/hildon-app-menu.c
139 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
140 New style property to set the size of the group of filter buttons.
142 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
144 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: Bump version.
150 * debian/changelog: Updates.
152 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
154 * hildon/hildon-main.c: Minor documentation fixes.
156 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
158 * doc/hildon-sections.txt:
159 * hildon/hildon-defines.h: Document the defines, organize them,
160 and mark deprecations as such.
162 Fixes: MB#4463 (Hildon size #defines are undocumented)
164 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
166 * hildon/hildon-animation-actor.c:
167 * hildon/hildon-app-menu.c:
168 * hildon/hildon-button.c:
169 * hildon/hildon-date-editor.c:
170 * hildon/hildon-dialog.c:
171 * hildon/hildon-edit-toolbar.c:
172 * hildon/hildon-entry.c:
173 * hildon/hildon-program.c:
174 * hildon/hildon-remote-texture.c:
175 * hildon/hildon-stackable-window.c:
176 * hildon/hildon-text-view.c:
177 * hildon/hildon-touch-selector.c:
178 * hildon/hildon-window-stack.c:
179 * hildon/hildon-window.c:
181 Remove redundant "represents" wording from most of the documentation.
183 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
185 2009-06-12 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-banner-private.h
191 * hildon/hildon-banner.c:
192 Move HildonBannerPrivate to hildon-banner.c and remove
193 hildon-banner-private.h
194 Use a bit field to store private booleans.
196 2009-06-12 Alberto Garcia <agarcia@igalia.com>
198 * hildon/hildon-app-menu.c (hildon_app_menu_map):
199 Don't install a new idle function if there's already one
204 2009-06-11 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
207 (+legacy_menu_realized, +legacy_menu_unmapped)
208 (+set_legacy_menu_type):
209 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
210 they can be identified by the window manager.
212 Fixes: NB#101437 (Invoking CSM on the left side of page area is
213 displayed in wrong location)
215 Fixes: MB#4563 (Popup menu won't locate at the left side of the
218 2009-06-11 Alberto Garcia <agarcia@igalia.com>
220 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
222 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
225 2009-06-11 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-code-dialog.c
228 * hildon/hildon-date-editor.c
229 * hildon/hildon-number-editor.c
230 * hildon/hildon-seekbar.c
231 * hildon/hildon-stackable-window.c
232 * hildon/hildon-window.c:
233 Misc documentation updates
235 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
237 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
238 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
240 Fixes: NB#117931 (Theming issues in accounts dialogs)
242 2009-06-09 Alejandro G. Castro <alex@igalia.com>
244 * hildon/hildon-pannable-area.c,
245 (hildon_pannable_area_button_release_cb): Changed the coordinates
246 of the original release in case we want to discard the release,
247 some widgets in Fremantle do not handle the leave-notify.
249 2009-06-09 Alejandro G. Castro <alex@igalia.com>
251 * hildon/hildon-pannable-area.c,
252 (hildon_pannable_area_button_release_cb): Reviewed the logic of
253 the release using the last refactored functions and avoiding the
254 movement if an element was selected.
256 2009-06-09 Alejandro G. Castro <alex@igalia.com>
258 * hildon/hildon-pannable-area.c,
259 (hildon_pannable_area_check_move),
260 (hildon_pannable_area_handle_move),
261 (hildon_pannable_area_motion_notify_cb): Refactored the
262 motion_notify method using a couple of new functions.
264 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
266 * hildon/hildon-date-selector.c:
267 (hildon_date_selector_construct_ui):
268 * hildon/hildon-time-selector.c:
269 (hildon_time_selector_constructor):
270 * hildon/hildon-touch-selector-entry.c:
271 (hildon_touch_selector_entry_set_text_column),
272 (hildon_touch_selector_entry_get_text_column):
273 * hildon/hildon-touch-selector.c: (_default_print_func),
274 (hildon_touch_selector_new_text): Use
275 hildon_touch_selector_set/get_text_column() instead of
276 setting/getting the "text-column" property.
278 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
280 * doc/hildon-sections.txt: Add the new public methods below.
282 * examples/hildon-picker-button-multicolumn-example.c:
283 (create_touch_selector):
284 * examples/hildon-touch-selector-example.c: (create_selector):
285 * examples/hildon-touch-selector-multi-cells-example.c:
287 Use hildon_touch_selector_column_set_text_column()
289 * hildon/hildon-touch-selector-column.h:
290 * hildon/hildon-touch-selector.c:
291 (hildon_touch_selector_column_set_text_column),
292 (hildon_touch_selector_column_get_text_column):
293 Make hildon_touch_selector_column_set/get_column() public, use
294 them in the inline example, document them, and reference to them
297 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
299 * hildon/hildon-time-selector.c: Fix the docs for
300 hildon_time_selector_new_step().
302 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
304 * hildon/hildon-touch-selector.c: Improve the documentation for
305 hildon_touch_selector_append_column().
307 Fixes MB#4641 (Documentation:
308 hildon_touch_selector_append_column() ref-counting)
310 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
312 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
313 Comment out test 5, since the hildon_controlbar_set_range() range
314 check is broken and fixing it would have side effects. Also,
315 this finally fixes make distcheck.
317 Fixes: NB#101420 (Update unit tests and fix make distcheck)
319 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
321 * tests/TEST-CASES.txt: Remove other bogus test.
322 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
323 Remove bogus test that was setting/retrieving a valid value.
325 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
327 * tests/TEST-CASES.txt: Remove bogus tests.
328 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
329 Remove three bogus tests that were actually setting valid colors.
331 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
333 * configure.ac: post release version bump
334 * debian/changelog: post release version bump
336 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
341 * configure.ac: Bump version.
342 * debian/changelog: Updates.
344 2009-06-08 Christian Dywan <christian@lanedo.com>
348 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
349 Correct errors in hildon_format_file-size_for_display and use
350 translations from the hildon-fm package instead of osso-filemanager.
352 2009-06-08 Alejandro G. Castro <alex@igalia.com>
354 * hildon/hildon-pannable-area.c,
355 (hildon_pannable_area_init): Initialized new values to handle the
357 (hildon_pannable_area_adjust_value_changed): Check if the values
358 changed before even call the redraw function.
359 (hildon_pannable_area_size_allocate),
360 (hildon_pannable_axis_scroll),
361 (hildon_pannable_area_scroll),
362 (hildon_pannable_area_jump_to): Improved the diagonal movement
365 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
368 2009-06-08 Alberto Garcia <agarcia@igalia.com>
370 * examples/hildon-banner-example.c:
371 Several style updates
372 (on_animation_clicked, on_animation_idle)
373 (on_progress_clicked, on_progress_idle):
374 Add additional reference for the cases when the parent window is
377 2009-06-08 Alberto Garcia <agarcia@igalia.com>
379 * doc/hildon-sections.txt
380 * hildon/hildon-pannable-area.c
381 * hildon/hildon-banner.h
382 * hildon/hildon-banner.c: Documentation updates.
384 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
387 2009-06-05 Alejandro G. Castro <alex@igalia.com>
389 * hildon/hildon-calendar-popup.h:
390 * hildon/hildon-caption.h:
391 * hildon/hildon-code-dialog.h:
392 * hildon/hildon-controlbar.h:
393 * hildon/hildon-date-editor.h:
394 * hildon/hildon-dialog.h:
395 * hildon/hildon-get-password-dialog.h:
396 * hildon/hildon-hvolumebar.h:
397 * hildon/hildon-login-dialog.h:
398 * hildon/hildon-note.h:
399 * hildon/hildon-number-editor.h:
400 * hildon/hildon-range-editor.h:
401 * hildon/hildon-seekbar.h:
402 * hildon/hildon-set-password-dialog.h:
403 * hildon/hildon-sort-dialog.h:
404 * hildon/hildon-time-editor.h:
405 * hildon/hildon-time-picker.h:
406 * hildon/hildon-volumebar-range.h:
407 * hildon/hildon-volumebar.h:
408 * hildon/hildon-vvolumebar.h:
409 * hildon/hildon-weekday-picker.h:
410 * hildon/hildon-window.h:
411 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
412 macros with the current replacements
414 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
416 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-color-button.c (hildon_color_button_init): Use
419 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
420 itself, to make it fit better with Fremantle style.
422 Fixes: NB#109878 (height and width of focus on color icon is not
423 consistent with other item in the application tool bar)
425 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
427 * hildon/hildon-touch-selector.c:
428 (hildon_touch_selector_optimal_size_request): use the current requisition
429 as the base, in order to include any possible extra widget, like the
430 hildon entry on HildonTouchSelectorEntry
432 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
434 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
436 * configure.ac: post release version bump
437 * debian/changelog: post release version bump
439 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
444 * configure.ac: Bump version.
445 * debian/changelog: Updates.
447 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
451 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
452 to ensure the banner contents are centered, instead of relying on
453 the expand and fill properties in GtkHBox.
454 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
456 Fixes: NB#108265 (Animation banner not properly centered)
458 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
460 * hildon/hildon-pannable-area.c
461 (hildon_pannable_area_initial_effect): Remove the initial_effect
462 management, check initial_hint
463 (hildon_pannable_are_expose_event): Remove the initial_hint management,
464 set initial_effect to FALSE
465 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
466 by launching the fade_timeout if the scrollbars state has changed and are
468 * examples/hildon-pannable-area-initial-hint-example.c
469 Modified to allow to remove rows too. Add and remove rows one by one.
471 2009-05-28 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
474 Don't close the menu if there's an animation actor below it.
476 Fixes: NB#117927 (Application menu not usable with animation
479 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
481 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
482 "focus-on-click" from the dialog button, to avoid stealing the
483 focus from the entry.
485 Fixes: NB#118903 (Account setup wizard: Text in Search field
486 should be focused when "Region" touch list picker is reopened
489 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
492 (prepare_action_area): Completely hide the dialog separator.
494 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
496 * hildon/hildon-touch-selector-entry.c
497 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
498 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
499 now that the entry is exposed.
501 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
503 * hildon/hildon-touch-selector-entry.c
504 (hildon_touch_selector_entry_init): Change the entry's size
505 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
507 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
509 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
510 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
511 avoid unnecessary scaling.
513 2009-05-27 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-app-menu.c (hildon_app_menu_map):
516 Create grab transfer window before calling parent's map function.
518 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
519 "crushed" button(s) in the top left corner)
521 2009-05-26 Alberto Garcia <agarcia@igalia.com>
523 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
524 Check if the window is already realized when pushing it.
526 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
528 * configure.ac: post release version bump
529 * debian/changelog: post release version bump
531 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
536 * configure.ac: Bump version.
537 * debian/changelog: Updates.
539 2009-05-25 Alberto Garcia <agarcia@igalia.com>
541 * hildon/hildon-app-menu.c: Doc updates.
543 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
545 * hildon/hildon-banner.c: Remove leftover macro.
547 2009-05-25 Alejandro G. Castro <alex@igalia.com>
549 * hildon/hildon-pannable-area.c,
550 (hildon_pannable_area_scroll_indicator_fade),
551 (hildon_pannable_area_button_release_cb): Reviewed vmin
552 conditions, it could cause problems in the fadeout procedure.
554 2009-05-25 Alejandro G. Castro <alex@igalia.com>
556 * hildon/hildon-pannable-area.c
557 (hildon_pannable_area_button_release_cb): Added a threshold to
558 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
560 2009-05-25 Alejandro G. Castro <alex@igalia.com>
562 * hildon/hildon-pannable-area.c,
563 (hildon_pannable_area_set_property): Added code to sync the gtk
564 dnd threshold with the panning threshold.
566 2009-05-25 Alejandro G. Castro <alex@igalia.com>
568 * hildon/hildon-pannable-area.c,
569 (hildon_pannable_area_class_init): Changed some of the default
570 values, now it should be less responsive and more accurate.
572 2009-05-25 Alejandro G. Castro <alex@igalia.com>
574 * hildon/hildon-pannable-area.c,
575 (hildon_pannable_area_init),
576 (hildon_pannable_area_scroll_indicator_fade),
577 (hildon_pannable_area_button_press_cb),
578 (hildon_pannable_axis_scroll),
579 (hildon_pannable_area_timeout),
580 (hildon_pannable_area_motion_notify_cb),
581 (hildon_pannable_area_button_release_cb): Changed the name of the
582 clicked attribute to button_pressed, it is more clear about its use.
584 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
586 * src/hildon-pannable-area.c
587 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
589 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
590 vertical scrollbar visibility, and use the data on private section instead,
591 remove the initial_hint check
592 (hildon_pannable_area_expose_event): add the initial_hint check here
594 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
596 * src/hildon-pannable-area.c
597 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
598 if the fadeout effect was used
599 (hildon_pannable_area_expose_event): check if it is required to
600 manage the initial effect on the begining of the function. Previously
601 it was made at the end, but this doesn't ensure that the scrollbars
602 will be painted on the first show. Do not set to FALSE initial_effect,
603 to ensure that the initial hint is showed the first time the pannable
605 * examples/Makefile.am
606 * examples/hildon-pannable-area-initial-hint-example.c:
607 New example, to show that the initial-hint is showed when the widget
610 Fixes: NB#116607 (Pannable area should always have scrollbar visible
611 initially if the application can be scrolled)
613 2009-05-25 Alberto Garcia <agarcia@igalia.com>
615 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
616 Resize table before adding new items to make sure that
617 gtk_table_resize() is called just once.
619 2009-05-25 Alberto Garcia <agarcia@igalia.com>
621 * hildon/hildon-app-menu-private.h
622 * hildon/hildon-app-menu.c (item_visibility_changed)
623 (filter_visibility_changed, hildon_app_menu_show_all)
624 (hildon_app_menu_hide_all, hildon_app_menu_init):
625 Rearrange items just once when gtk_widget_show_all()/hide_all()
628 2009-05-25 Alberto Garcia <agarcia@igalia.com>
630 * hildon/hildon-app-menu.c
631 (hildon_app_menu_insert, hildon_app_menu_add_filter):
632 Don't call gtk_widget_show() on added items.
634 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
635 automatically when they're added)
637 2009-05-20 Alberto Garcia <agarcia@igalia.com>
639 * hildon/hildon-banner.c
640 (hildon_banner_realize, +hildon_banner_unrealize)
641 (+screen_size_changed, hildon_banner_class_init):
642 Redisplay the banner if the screen is rotated.
644 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
645 on transition from landscape to portrait)
647 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
649 * hildon/hildon-banner.[ch]:
650 (hildon_banner_show_information_override_dnd): remove icon_name from the
651 method definition as it is ignored.
652 * examples/hildon-banner-dnd-example.c: updated with the change on
655 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
657 * hildon/hildon-banner-private.h: new require_override_dnd and
658 overrides_dnd variables
659 * hildon/hildon-banner.h:
660 (hildon_banner_show_information_override_dnd): new method, that shows
661 the information but sets the override flag, in order to show important
663 * hildon/hildon-banner.c
664 (hildon_banner_show_information_override_dnd): new method
665 (hildon_banner_set_override_flag): new utility function
666 (hildon_banner_real_show_information): new utility function, in order to
667 generalize the current hildon_banner_show_information_override_dnd and
668 hildon_banner_show_information_override_dnd
669 * examples/Makefile.am
670 * examples/hildon-banner-dnd-example.c: New example that show how to
671 use the new hildon_banner_show_information_override_dnd
673 Fixes: NB#114874 (There is no possibility to show hildon banners with
676 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-pannable-area.c: Add a comment explaining the math
679 behind hildon_pannable_calculate_vel_factor().
681 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
683 * hildon/hildon-pannable-area.c
684 (hildon_pannable_calculate_vel_factor): Correct the sum of the
685 deceleration factors.
687 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
689 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
690 Reduce the default value for 'scroll_time' to 1 second, since the
691 current initial scrolling takes too much time.
693 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
695 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
696 calculate velocity factor during initialization, since the properties
699 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-pannable-area.c
702 (hildon_pannable_area_set_property): Calculate the velocity factor
703 after setting the deceleration property and not after.
705 2009-05-20 Alberto Garcia <agarcia@igalia.com>
707 * hildon/hildon-entry.c
708 (hildon_entry_class_init, +set_property, hildon_entry_new)
709 * hildon/hildon-check-button.c
710 (hildon_check_button_class_init)
711 (+set_property, hildon_check_button_new):
712 Make the theme size a property.
714 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
715 others) do too much in the _new function)
717 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: post release version bump
720 * debian/changelog: post release version bump
722 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
727 * configure.ac: Bump version.
728 * debian/changelog: Updates.
730 2009-05-15 Alberto Garcia <agarcia@igalia.com>
732 * hildon/hildon-gtk.h
733 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
734 New API function to take a screenshot of a window
736 Fixes: NB#106374 (Need API to take a loading screenshot)
738 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
740 * hildon/hildon-time-selector.c
741 (update_format_policy): prevent to use hours and minutes unitialized
743 2009-05-15 Alberto Garcia <agarcia@igalia.com>
745 * hildon/hildon-window.c (hildon_window_size_request):
746 Always request the full size of the screen (minus the title bar if
747 not in fullscreen mode).
749 Fixes: NB#107486 (HildonWindow should size itself properly)
751 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
753 * hildon/hildon-note-private.h: Add idle_handler to the private data.
754 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
755 (on_show_cb), (sound_handling): Disconnect the idle handler for
756 the sound when the note is finalized to avoid possible crashes.
758 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
761 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
763 * src/hildon-animation-actor.c,
764 * src/hildon-remote-texture.c:
765 Added proper object cleanup to remove signal handler and object
766 references as HildonAnimationActor and HildonRemoteTexture
767 objects get destroyed.
769 Fixes: NB#116682 (Destroying parented animation actors when
770 parent in unmapped leads to crash)
772 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
774 Based on a patch by Christian Dywan (christian@imendio.com)
776 * doc/hildon-sections.txt:
777 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
778 * hildon/hildon-helper.h: New file size formatting method.
780 * debian/control: Depend on osso-filemanager l10n package for
781 proper localization strings.
783 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
785 * tests/Makefile.am: Include top_srcdir to make possible to build
786 tests in a different builddir.
787 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
788 on a different builddir.
790 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
792 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
793 (hildon_touch_selector_remove): Disconnect model's signal handler
796 Fixes: NB#116289 (Hildon home crashes while adding task
799 2009-05-11 Alberto Garcia <agarcia@igalia.com>
801 * hildon/hildon-button.c
802 (hildon_button_set_title, hildon_button_set_value):
803 Hide labels containing an empty string.
805 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
807 * configure.ac: post release version bump
808 * debian/changelog: post release version bump
810 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: Bump version.
816 * debian/changelog: Updates.
818 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
820 * hildon/hildon-note-private.h: Removed sound_signal_handler
821 * hildon/hildon-note.c
822 (on_show_cb): new callback on note "show" event, this simply adds
823 a idle, with the function sound_handling
824 (sound_handling): removed the sound_signal_handler management
825 (hildon_note_init): connect note "show" event to on_show_cb
826 (hildon_note_realize): remove the connection to "expose-event"
828 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
829 device?' confirmation note)
831 2009-05-08 Alberto Garcia <agarcia@igalia.com>
833 * hildon/hildon-note.c
834 (hildon_note_new_information_with_icon_name)
835 (hildon_note_new_confirmation_with_icon_name):
836 Terminate the list of parameters in g_object_set() calls
838 Fixes: NB#115166 (Formatting memory card is not taking place)
840 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
842 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
843 "dialog-information" role for the sound being played.
845 2009-05-06 Alberto Garcia <agarcia@igalia.com>
847 * hildon/hildon-app-menu.c (hildon_app_menu_init):
848 Don't make the menu a modal window, it causes strange interactions
849 with the pointer grab and it's not really needed.
851 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
853 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
855 * hildon/hildon-touch-selector.[ch]
856 (hildon_touch_selector_optimal_size_request): function added to get a
857 optimal size request from the touch selector, when you want a dialog to
858 show as much of the selector
859 * hildon/hildon-picker-dialog.c:
860 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
861 (hildon_app_menu_class_init):
862 New "max-height-landscape" and "max-height-portrait" style properties
863 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
864 (hildon_picker_dialog_get_max_height): returns the maximum height using
865 the style properties defined and checking the current portrait/landscape
867 (_hildon_picker_dialog_set_selector): removed the set_size_request
869 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
871 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
873 * hildon/hildon-bread-crumb-trail.c:
874 * hildon/hildon-bread-crumb.c:
875 * hildon/hildon-seekbar.c:
876 Add reference to replacements for these deprecated widgets.
878 Fixes: MB#4461 (Documentation: All deprecations should mention
881 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
883 * examples/hildon-remote-texture-example.c
885 Change the include to the hildon-remote-texture in order to compile
886 properly the examples on the installed libhildon1-examples package
888 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
890 * tests/Makefile.am: Add check for HildonPickerButton.
891 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
892 (START_TEST), (create_hildon_picker_button_suite): Add three simple
893 checks for the HildonPickerButton.
894 * tests/check_test.c (configure_tests): Add the test suite.
895 * tests/test_suites.h: likewise.
897 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
899 * hildon/hildon-touch-selector.c
900 (+on_row_changed): Emit HildonTouchSelector:changed when the
901 contents of a selected row change.
902 (_create_new_column), (_hildon_touch_selector_set_model): connect
903 to GtkTreeModel:row-changed on a newly set model.
905 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
907 2009-05-05 Alberto Garcia <agarcia@igalia.com>
909 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
911 * hildon/hildon-banner.c (hildon_banner_destroy)
912 (hildon_banner_show_progress, hildon_banner_set_fraction):
913 Remove the progress bar from HildonBanner and use a progress
916 Fixes: NB#113761 (Update progress banner to use progress
919 2009-05-04 Alberto Garcia <agarcia@igalia.com>
921 * hildon/hildon-banner.c:
922 Calculate size of the banner label using the actual screen width
923 rather than using a fixed value.
925 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
928 2009-05-04 Alejandro G. Castro <alex@igalia.com>
930 * hildon/hildon-pannable-area.c,
931 (hildon_pannable_area_class_init): Fixed signals documentation
934 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
936 * configure.ac: post release version bump
937 * debian/changelog: post release version bump
939 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
944 * configure.ac: Bump version.
945 * debian/changelog: Updates.
947 2009-05-01 Alberto Garcia <agarcia@igalia.com>
949 * hildon/hildon-edit-toolbar.c
950 (hildon_edit_toolbar_init):
951 Don't let buttons in HildonEditToolbar receive focus.
953 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
954 typing on an HW arrows key)
956 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
958 * doc/Makefile.am: Fix build.
960 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
962 * doc/Makefile.am: Do not redefine content_files.
964 2009-04-30 Alberto Garcia <agarcia@igalia.com>
972 Renamed src/ to hildon/
977 Include <hildon/hildon.h> directly in all examples.
979 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
981 * src/hildon-sort-dialog.c
982 (hildon_sort_dialog_add_sort_key_with_sorting)
986 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
988 * src/Makefile.am: Move generated sources to CLEANFILES, so that
989 make distcheck passes.
991 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
993 * Makefile.am: Enable gtk-doc during distcheck.
995 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
997 * Makefile.am: Do not distribute the debian/ directory.
999 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1001 * doc/Makefile.am: Add the extra SGML files to content_files,
1002 so that they are distributed properly.
1004 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1006 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1009 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1011 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1012 (hildon_note_new_information_with_icon_name): Set the "icon" property
1013 to preserve soundness.
1015 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-font-selection-dialog.c
1018 (hildon_font_selection_dialog_set_property): Fail when the "family"
1019 property is set to NULL.
1021 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1023 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1026 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1028 * src/hildon-time-selector.h:
1029 Added HildonTimeSelectorFormatPolicy
1030 * src/hildon-time-selector.c:
1031 Added PROP_TIME_FORMAT_POLICY
1032 (_check_ampm_format): renamed to check_automatic_ampm_format
1033 (update_format_policy), (update_format_dependant_columns): new functions
1034 (hildon_time_selector_class_init)
1035 (hildon_time_selector_contructor)
1036 (hildon_time_selector_init)
1037 (hildon_time_selector_get_property)
1038 (hildon_time_selector_set_property)
1039 (hildon_time_selector_get_time)
1040 (hildon_time_selector_set_time)
1041 * src/hildon-touch-selector.h: new file
1042 * src/hildon-touch-selector.c
1043 (hildon_touch_selector_emit_changed)
1044 (hildon_touch_selector_block_changed)
1045 (hildon_touch_selector_unblock_changed)
1046 Added functions to allow to block the emission of the "changed" signal
1047 * src/hildon-picker-dialog.c
1048 (hildon_picker_dialog_show): call the parent show before the custom code
1049 * examples/hildon-time-button-example.c
1050 Modified, so now you can configure the time format using the new property
1052 Added a new property "time-format-policy" that allow to choose the time
1053 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1054 case it uses gconf in order to check if the time selector must use
1057 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1060 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-note.c (hildon_note_init):
1063 Label in HildonNote must be left aligned, not centered. This
1064 reverts the last commit in HildonNote.
1066 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1067 is connectivity dialog)
1069 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1074 * doc/hildon-sections.txt:
1075 Added hildon_gtk_window_set_do_not_disturb()
1077 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1079 * src/hildon-note.c (hildon_note_init): Center label.
1081 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1084 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1089 * configure.ac: Bump version.
1090 * debian/changelog: Updates.
1092 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-note-private.h: Add button-width to the private data.
1095 * src/hildon-note.c (+resize_button),
1096 (+hildon_note_orientation_update): methods to repack widgets on orientation
1098 (screen_size_changed): Call above method for confirmation notes.
1099 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1100 (hildon_note_rebuild): Store the original width request from buttons.
1102 Fixes: NB#109635 (Confirmation notes do not support portrait)
1104 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1107 when it is a progress note.
1109 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1112 in the note, since there are no horizontally arranged contents.
1114 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1116 * src/hildon-gtk.c (+set_flag): new generic method to
1117 set/delay a flag setting in a window.
1118 (hildon_gtk_window_set_progress_indicator):
1119 (hildon_gtk_window_set_do_not_disturb),
1120 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1121 avoid code redundance.
1123 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1125 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1127 * src/hildon-gtk.c (set_clear_window_flag),
1128 (do_set_progress_indicator), (do_set_do_not_disturb),
1129 (do_set_portrait_flags),
1130 (hildon_gtk_window_set_progress_indicator),
1131 (hildon_gtk_window_set_do_not_disturb),
1132 (hildon_gtk_window_set_portrait_flags):
1133 Allow setting dnd-flag, progress indicator, and portrait flags
1134 when the window is not realized.
1136 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1138 * src/hildon-pannable-area.c,
1139 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1140 the size request policy function and defines.
1142 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1144 * doc/hildon-sections.txt: Add the new API.
1145 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1146 method to set the portrait flags.
1147 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1149 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1151 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1153 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1154 to allow using this method with other flags.
1155 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1156 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1158 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1160 * src/hildon-touch-selector.c
1161 (hildon_touch_selector_append_text_column):
1162 Make the cell renderer use the smallest width possible.
1164 Fixes: NB#108470 (Selected items in multiple selection are either
1165 having a tick that is cut or not visible at all.)
1167 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-touch-selector.c
1170 (hildon_touch_selector_append_text_column):
1173 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1176 Use g_strdup_printf() instead of a fixed size buffer.
1178 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1181 Close banners when a HildonAppMenu is popped up.
1183 Fixes: NB#111027 (Title menu closed immediately if activated when
1184 "Invalid e-mail address" banner is shown)
1186 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1191 * configure.ac: Bump version.
1192 * debian/changelog: Updates.
1194 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1196 * src/hildon-banner.c (hildon_banner_realize):
1197 Mark HildonBanner as supporting portrait mode.
1198 Use GDK to set window properties insetad of direct Xlib calls.
1200 Fixes: NB#111830 (HildonBanner should be marked as supporting
1203 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-note.c (hildon_note_rebuild):
1206 Hide action area in information notes. Prevents text from being
1207 slightly aligned to the left.
1209 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1212 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1214 Patch by Mox Soini (ext-mox.soini@nokia.com)
1216 * src/hildon-banner.c (hildon_banner_create_animation):
1217 Use stylus-sized icons in animation banner.
1219 Fixes: NB#111206 (stylus sized icon for animation banner)
1221 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1225 (+hildon_gtk_window_set_do_not_disturb):
1226 New API to set the do-not-disturb flag.
1228 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1230 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1232 * examples/hildon-progress-indicator-example.c: Fix example
1234 * src/hildon-gtk.c (set_clear_window_flag)
1235 (hildon_gtk_window_set_progress_indicator):
1236 Create a generic function for setting flags to a window.
1237 Use GDK instead of direct Xlib calls.
1239 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-button.c (hildon_button_set_arrangement):
1242 Due to NB#88126, if one of the labels is too long it will be
1243 painted outside the button. The 'value' label is more likely to be
1244 the longest one, so we change its packing options in order to
1245 truncate it if necessary. As a side effect, the 'title' label will
1246 no longer be truncated.
1248 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1250 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1255 * configure.ac: Bump version.
1256 * debian/changelog: Updates.
1258 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1260 Deprecation of the hildon_pannable_area_set_size_request_policy
1261 API, the only policy properly supported in gtk+ nowadays is the
1264 * src/hildon-pannable-area.c,
1265 (hildon_pannable_area_size_request): Added a workaround for the
1266 size_request to avoid the problems of huge pixmaps in case someone
1267 is still using the function.
1268 * src/hildon-pannable-area.h: Deprecated the enum with the
1271 Fixes: NB#110244 (Problems with the
1272 hildon_pannable_area_set_size_request_policy API)
1274 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1276 * src/hildon-pannable-area.c,
1277 (hildon_pannable_area_init),
1278 (hildon_pannable_area_size_request),
1279 (hildon_pannable_area_style_set),
1280 (hildon_pannable_draw_vscroll),
1281 (hildon_pannable_draw_hscroll),
1282 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1283 indicator_width to clarify the use of the attribute.
1285 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1290 * configure.ac: Bump version.
1291 * debian/changelog: Updates.
1293 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1295 * src/hildon-picker-dialog.c
1296 * src/hildon-touch-selector.c
1297 Reverting the change that tried to avoid the hardcoded height on
1298 the picker dialog, as causes problems on the hildon-touch-selector
1301 Fixes: NB#110029 (selectors not scrolling to selected value)
1303 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1305 * src/hildon-touch-selector.c: Fix typos
1307 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1309 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1310 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1311 request more motions after using it.
1313 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-calendar.c (hildon_calendar_expose),
1316 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1317 Remove unused variables.
1319 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1321 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1322 variable assignment.
1324 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1326 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1327 Check the return value of gtk_tree_selection_get_selected()
1330 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-animation-actor.c
1333 * src/hildon-button.c
1335 * src/hildon-pannable-area.c
1336 * src/hildon-picker-button.c
1337 * src/hildon-program.c
1338 * src/hildon-remote-texture.c
1339 * src/hildon-text-view.c
1340 * src/hildon-touch-selector.c
1341 * src/hildon-window-stack.c
1342 * src/hildon-window.c:
1343 Add missing 'Since: 2.2' tags.
1345 * doc/hildon-sections.txt:
1346 Add some missing symbols.
1348 * doc/hildon-docs.sgml:
1349 New 'Other' section for HildonAnimationActor and
1352 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1354 Patch by Iván Gómez (igomez@igalia.com)
1357 * doc/compiling.sgml
1358 * doc/hildon-docs.sgml
1359 * doc/hildon-sections.txt
1360 * doc/migration.sgml
1361 * doc/resources.sgml
1363 New chapters on using the Hildon library.
1364 Updated the general structure of the reference manual.
1365 Other minor documentation fixes.
1367 * src/hildon-calendar-popup.c
1368 * src/hildon-calendar.c
1369 * src/hildon-controlbar.c
1370 * src/hildon-date-editor.c
1371 * src/hildon-dialog.c
1372 * src/hildon-hvolumebar.c
1373 * src/hildon-number-editor.c
1374 * src/hildon-range-editor.c
1375 * src/hildon-sort-dialog.c
1376 * src/hildon-time-editor.c
1377 * src/hildon-time-picker.c
1378 * src/hildon-volumebar-range.c
1379 * src/hildon-volumebar.c
1380 * src/hildon-vvolumebar.c
1381 * src/hildon-weekday-picker.c:
1382 Add deprecation notes
1384 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1385 Document 'horizontal-movement' and 'vertical-movement' signals.
1387 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1392 * configure.ac: Bump version.
1393 * debian/changelog: Updates.
1395 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1397 * src/hildon-pannable-area.c,
1398 (hildon_pannable_area_class_init): increased the minimum velocity.
1399 (hildon_pannable_area_button_release_cb): Updated the
1400 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1401 setup. Review the code to control that last event.
1403 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1406 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1408 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1410 * src/hildon-get-password-dialog.c
1411 (hildon_get_password_set_property),
1412 (hildon_get_password_get_property), (create_contents):
1413 * src/hildon-login-dialog-private.h:
1414 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1415 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1416 (hildon_login_dialog_get_password):
1417 * src/hildon-set-password-dialog-private.h:
1418 * src/hildon-set-password-dialog.c
1419 (hildon_set_password_set_property),
1420 (hildon_set_password_get_property), (create_contents),
1421 (hildon_set_password_response_change),
1422 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1424 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1425 instead and look more Fremantle style.
1427 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1429 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1431 * doc/hildon-sections.txt
1432 * src/hildon-window-stack.h
1433 * src/hildon-window-stack.c
1434 (+hildon_window_stack_get_windows):
1435 New API to obtain the list of windows on a stack.
1437 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1439 * src/hildon-app-menu.c (hildon_app_menu_popup)
1440 (hildon_app_menu_class_init, -hildon_app_menu_show):
1441 Remove hildon_app_menu_show() and move all its checks to
1442 hildon_app_menu_popup()
1444 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1446 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1447 (_hildon_picker_dialog_set_selector): removed call to
1448 gtk_widget_set_size_request
1449 * src/hildon-touch-selector.c
1450 (_create_new_column): change the pannable size request policy
1452 Avoid to use a hardcoded height for the hildon picker dialog. In order
1453 to get that, we needed to change the hildon pannable size request
1455 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1457 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1460 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1463 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1465 * debian/control: Depend on osso-system-lock localization package.
1466 * src/hildon-code-dialog.c: Obtain the secu_application_title
1467 translation from osso-system-lock.
1468 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1469 for translation the atk related strings, that's not necessary.
1470 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1471 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1472 cancel button, it is not required.
1474 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1476 * src/hildon-pannable-area.c,
1477 (hildon_pannable_area_class_init): Modified the default value of
1478 the overshooting max speed, we have reduced it.
1480 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1482 * doc/hildon-sections.txt
1483 * src/hildon-window-private.h
1484 * src/hildon-window.h
1485 * src/hildon-window.c (hildon_window_class_init)
1486 (hildon_window_init, hildon_window_finalize)
1487 (hildon_window_realize, hildon_window_get_property)
1488 (hildon_window_set_property, hildon_window_update_markup)
1489 (hildon_window_get_markup, hildon_window_set_markup):
1490 New "markup" property and hildon_window_{get,set}_markup() methods.
1492 * examples/hildon-stackable-window-example.c (new_window):
1493 Update example to use hildon_window_set_markup()
1495 Fixes: NB#106375 (Need API to retitle a window with a title
1498 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1500 * src/hildon-pannable-area.c,
1501 (hildon_pannable_area_class_init): Changed the default value of
1502 the initial_hint to TRUE.
1503 (hildon_pannable_area_initial_effect): Changed the initial effect,
1504 not the effect is just the fade-out of the scrollbars.
1506 Fixes: NB#107775 (No scrollbars can be seen when several items are
1507 available in a dialog)
1509 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-program.c (hildon_program_update_top_most):
1514 Fixes: NB#109179 (Memory leak in Hildon program)
1516 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-banner.c (-get_current_app_window):
1519 Remove unused function.
1521 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1523 * src/hildon-pannable-area.c: Modified the documentation of the
1524 get adjustments functions to explain the problem of using the
1525 adjustment directly.
1526 (hildon_pannable_area_class_init): Improved the explanation about
1529 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-app-menu-private.h
1532 * src/hildon-app-menu.c
1533 (hildon_app_menu_class_init):
1534 Bring back the 'external-border' style property
1535 (hildon_app_menu_class_init, hildon_app_menu_init)
1536 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1537 Set a fixed width-request for the menu, independent of the number
1540 Fixes: NB#94957 (Smoothly opened application menu)
1542 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1546 * src/hildon-banner.c
1547 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1549 Make sure that the banner is correctly placed the first time it's
1551 (hildon_banner_check_position, -check_fullscreen_state):
1552 Show the banner in the same place no matter if the window is in
1553 fullscreen mode or not.
1555 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1557 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-touch-selector.c (_default_print_func): reorder
1560 concatenation for clarity.
1562 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1565 for multicolumn selectors.
1567 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1569 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1574 * configure.ac: Bump version.
1575 * debian/changelog: Updates.
1577 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1582 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1584 * configure.ac: removed libcangerra-gtk dependency
1585 * debian/control: removed libcanberra-gtk dependency
1586 * src/Makefile.am: removed libcanberra gtk related flags
1587 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1588 context, and manage a global canberra context instead
1590 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1592 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1594 Patch by Daniel Borgmann (danielb@openismus.com)
1596 * src/hildon-edit-toolbar.c:
1597 Adjust the left padding.
1598 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1599 Paint background of the edit toolbar.
1601 Fixes: NB#107897 (Patch to make editmodetoolbar background
1602 themeable and adjust margin)
1604 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1606 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1608 * src/hildon-program.c (hildon_program_update_top_most):
1609 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1611 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1612 change when the user tasks in/out of an application)
1614 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1616 * configure.ac: added libcangerra-gtk dependency
1617 * debian/control: added libcanberra-gtk dependency
1618 * src/Makefile.am: added libcanberra gtk related flags
1619 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1622 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1624 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1626 * src/hildon-program.c (hildon_program_remove_window)
1627 (hildon_program_add_window): Add checks for the window
1628 parameter. Don't decrease the window counter if the window is not
1631 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1633 * src/hildon-pannable-area.c,
1634 (hildon_pannable_area_realize): Fixed position of the event_window
1635 in the realize method.
1637 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-app-menu-private.h
1640 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1641 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1642 (hildon_app_menu_key_press, hildon_app_menu_init)
1643 (hildon_app_menu_finalize):
1644 Make sure that all idle functions are removed when the widget is
1647 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1649 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1654 * configure.ac: Bump version.
1655 * debian/changelog: Updates.
1657 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1659 * src/hildon-entry.c
1660 (+hildon_entry_show_placeholder),
1661 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1662 that replace hildon_entry_update_contents().
1663 (hildon_entry_set_text),
1664 (hildon_entry_set_placeholder),
1665 (hildon_entry_focus_in_event),
1666 (hildon_entry_focus_out_event): Determine when it is needed
1667 either to show or hide the placeholder and call the above methods.
1669 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1670 when the placeholder text is already set)
1672 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1675 simple GdkPixbufAnim using the new icons for the banner.
1676 (hildon_banner_show_animation): Use the above mentioned method to
1677 create the animation widget.
1679 Fixes: NB#103564 (Make hildon animation banner use individual
1680 image files as the animation)
1682 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1684 * src/hildon-pannable-area.c,
1685 (hildon_pannable_leave_notify_event): Check if the child is NULL
1686 to avoid sending the leave.
1688 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1690 * src/hildon-pannable-area.c,
1691 (hildon_pannable_area_class_init),
1692 (hildon_pannable_leave_notify_event): Added a handler of the
1693 leave-notify-signal to consider when no motion notify before
1696 Fixes: NB#107494 (Items stay selected when clicking and moving
1697 away when inside pannable area)
1699 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1704 * configure.ac: Bump version.
1705 * debian/changelog: Updates.
1707 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1709 Patch by Alberto Garcia (agarcia@igalia.com)
1711 * src/hildon-date-button.c,
1712 (hildon_date_button_class_init),
1713 (hildon_date_button_init): Removed the construct property handling
1714 and created a default selector in the init method.
1715 * src/hildon-picker-button.c,
1716 (hildon_picker_button_class_init): Removed the construct flag of the
1719 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1721 * src/hildon-main.c (hildon_init):
1722 Don't allow hildon_init() to be called more than once.
1724 Fixes: NB#106607 (hildon_init should issue error message upon
1727 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1729 * examples/hildon-pannable-area-touch-list-example.c
1730 * examples/hildon-pannagle-area-touch-grid-example.c
1731 * examples/hildon-edit-toolbar-example.c
1732 * examples/hildon-touch-selector-multi-cells-example.c
1733 Removed the call to gtk_rc_parse_string, as it is not required since
1736 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable-area.c,
1739 (hildon_pannable_area_class_init): Modified the default panning
1740 threshold of the widget to 6px.
1742 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1743 than the threshold value ) within the button is not sending the
1746 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1749 for the treeview in the new column. This way, the touch list will never
1752 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1753 be selected manually for the HW keys to work)
1755 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1757 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1758 comparison instead of using strcmp(). Fixes a compiler warning as well.
1760 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1762 * doc/hildon-docs.sgml: Do not set the library version in the
1763 document title, use the releaseinfo tag for that purpose instead.
1765 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1768 Do not jump to the first item if the text in the entry is removed.
1770 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1775 * configure.ac: Bump version.
1776 * debian/changelog: Updates.
1778 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-entry.c (hildon_entry_refresh_contents):
1781 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1782 Use "ReversedSecondaryTextColor" for the placeholder text.
1784 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-text-view.c: Fix compilation warning.
1788 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-button.c (hildon_button_class_init): Don't make
1791 "title" and "value" construction properties, to prevent them from
1792 overwriting labels set from derived classes.
1794 * src/hildon-picker-button.c
1795 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1796 (hildon_picker_button_class_init): Make touch-selector a
1797 construction property.
1799 * src/hildon-date-button.c (hildon_date_button_class_init)
1800 (+hildon_date_button_constructed): Add a default date selector if
1803 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-touch-selector.c: Small documentation fixes.
1807 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1809 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1811 * src/hildon-entry.c (hildon_entry_refresh_contents),
1812 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1813 widget name, set the logical color directly instead and a boolean
1814 showing_placeholder instead.
1815 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1816 use the widget name here either.
1818 Fixes: NB#105678 (HildonTextView should use logical colours
1819 instead of setting widget name)
1821 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1823 Patch by Daniel Elster (danielk@openismus.com)
1825 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1826 Add user_data parameter.
1827 (hildon_touch_selector_set_print_func_full): New function akin
1828 hildon_touch_selector_set_print_func() but with support for user
1829 data and a destroy callback.
1830 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1831 to clean up the print function user data.
1832 (hildon_touch_selector_class_init): Install dispose function.
1833 (HildonTouchSelectorPrivate::print_user_data),
1834 (HildonTouchSelectorPrivate::print_destroy_func): New private
1836 (hildon_touch_selector_init): Initialize new private members.
1837 (hildon_touch_selector_get_current_text): Pass along user data
1838 to the print function.
1839 (_default_print_func): Add dummy user_data to parameter list.
1840 * hildon-date-selector.c (_custom_print_func): ditto,
1841 * hildon-time-selector.c (_custom_print_func): ditto,
1842 * hildon-touch-selector-entry.c
1843 (hildon_touch_selector_entry_print_func): ditto.
1845 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1847 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1849 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1851 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_init),
1855 (hildon_pannable_area_button_press_cb),
1856 (hildon_pannable_area_motion_notify_cb): We have added code to
1857 handle the leave and enter events when using the motion events.
1859 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1861 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-date-button.c (hildon_date_button_get_date)
1864 (hildon_date_button_set_date): Make sure that the button has a
1867 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1869 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_class_init),
1873 (hildon_pannable_area_calculate_velocity): Modify the use of the
1874 force and adapt the value.
1876 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1879 (hildon_app_menu_class_init): Hide the menu if it receives a
1880 delete-event, but don't destroy it
1882 Fixes: NB#104485 (Not able to address the call when application
1883 menu is opened at background)
1885 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-app-menu.c
1888 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1889 Remove the "external-border" style property, let the menu take its
1890 natural size (or the one set by the window manager)
1891 (hildon_app_menu_repack_items):
1892 Don't reshow the menu, avoid flickers.
1894 Partially fixes NB#94957 (Smoothly opened application menu)
1896 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1901 * configure.ac: Bump version.
1902 * debian/changelog: Updates.
1904 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_motion_notify_cb): We control that the
1908 direction error margin is used just in case the movement is
1909 allowed in the other direction.
1911 Fixes: NB#105012 (buttons inside a pannable area not getting
1912 release event when dragging/releasing)
1914 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_area_class_init),
1918 (hildon_pannable_area_get_property),
1919 (hildon_pannable_area_set_property),
1920 (hildon_pannable_area_initial_effect),
1921 (hildon_pannable_axis_scroll),
1922 (hildon_pannable_area_button_release_cb): Reviewed the
1923 overshooting effect, now it has its own max
1924 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1925 speed when bouncing.
1927 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1932 * configure.ac: Bump version.
1933 * debian/changelog: Updates.
1935 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_class_init): Changed the max speed, now
1939 users can launch the widget very fast. Reduced the default force,
1940 that way it is easier to control the launch speed.
1942 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_area_button_release_cb): Removed this check
1946 because it causes problems when the device is overloaded.
1948 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1951 add a current_text field to store the text entered in the
1952 touch selector entry.
1953 (_clean_current_selection): clean up the current text as well.
1954 (_save_current_selection), (_restore_current_selection):
1955 Save/restore the text in the entry if the selector is a
1956 HildonTouchSelectorEntry.
1958 Fixes: NB#102541 (value entered in the touch selector entry is not
1959 shown when opened for second time)
1961 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1963 * doc/hildon-sections.txt:
1964 * src/hildon-touch-selector-entry.c
1965 (+hildon_touch_selector_entry_get_entry):
1966 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1968 Fixes: NB#104815 (I need accessor to the entry inside
1969 HildonTouchSelectorEntry)
1971 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1973 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1974 (hildon_app_menu_class_init):
1975 New "filter-vertical-spacing" style property.
1977 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-find-toolbar.c
1980 (hildon_find_toolbar_emit_close)
1981 (hildon_find_toolbar_emit_invalid_input)
1982 (hildon_find_toolbar_entry_activate):
1983 Use g_signal_emit() instead of g_signal_emit_by_name()
1985 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1987 Patch by Mox Soini (ext-mox.soini@nokia.com)
1989 * tests/TEST-CASES.txt
1990 * tests/check-hildon-banner.c
1991 * tests/check-hildon-note.c
1992 * src/hildon-banner.c
1993 * src/hildon-code-dialog.c
1994 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1995 * src/hildon-time-editor.c
1996 * examples/hildon-lookup-example.c (main):
1997 Replace obsolete icon names with new ones.
1999 * src/hildon-find-toolbar-private.h:
2000 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2001 (-hildon_find_toolbar_emit_search):
2002 Remove find button and change icon of close button.
2004 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2006 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2008 * src/hildon-time-button.c (hildon_time_button_new_step):
2009 Use the "touch-selector" property to set the selector directly
2010 when creating the object.
2012 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2014 Added a new example application that allows tuning the pannable
2015 area and replaced defines with properties in order to simplify the
2016 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2017 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2018 PROP_DIRECTION_ERROR_MARGIN.
2020 * examples/hildon-pannable-area-tuning-example.c: New example
2022 * src/hildon-pannable-area.c,
2023 (hildon_pannable_area_class_init),
2024 (hildon_pannable_area_init),
2025 (hildon_pannable_area_get_property),
2026 (hildon_pannable_area_set_property),
2027 (hildon_pannable_area_launch_fade_timeout),
2028 (hildon_pannable_area_adjust_value_changed),
2029 (hildon_pannable_axis_scroll),
2030 (hildon_pannable_area_motion_notify_cb),
2031 (hildon_pannable_area_scroll_cb),
2032 (hildon_pannable_area_button_release_cb): We have converted some
2033 of the defines that control the widget to properties to simplify
2036 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-app-menu.c (hildon_app_menu_map)
2039 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2040 so it's closed if a new window appears.
2042 Fixes: NB#104485 (Not able to address the call when application
2043 menu is opened at background)
2045 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2048 missing 'break' statement in in 'case' construct to avoid
2051 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-touch-selector-entry.c
2054 (hildon_touch_selector_entry_get_property),
2055 (hildon_touch_selector_entry_set_property): Add missing 'break'
2056 statements in in 'case' constructs to avoid incorrect warnings.
2058 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-time-editor.c
2061 (hildon_time_editor_get_time_separators): Do not crash if
2062 the first label is NULL.
2064 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-date-selector.c (_month_days): Check for month to be
2067 strictly less than 12, since otherwise we may overrun the array.
2069 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-date-button.c (+hildon_date_button_new_full)
2072 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2073 (hildon_date_button_init): Set the date selector using a
2074 construction property, to make it happen after HildonButton's
2075 "value" property is set.
2077 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2078 current date by default)
2080 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2082 * doc/hildon-sections.txt
2083 * src/hildon-program.c
2084 * src/hildon-stackable-window.c
2085 * src/hildon-window.c:
2086 Documentation updates
2088 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2091 (hildon_window_stack_new, +hildon_window_stack_set_property)
2092 (+hildon_window_stack_get_property)
2093 (hildon_window_stack_class_init)
2094 (+hildon_window_stack_set_window_group)
2095 (+hildon_window_stack_get_window_group):
2096 Make the window group a construction property.
2098 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2100 * doc/hildon-sections.txt
2101 * src/hildon-stackable-window-private.h
2102 * src/hildon-stackable-window.h
2103 * src/hildon-stackable-window.c
2104 (-hildon_stackable_window_set_app_menu)
2105 (-hildon_stackable_window_get_app_menu)
2106 (-hildon_stackable_window_toggle_menu)
2107 (-hildon_stackable_window_finalize)
2108 (hildon_stackable_window_class_init)
2109 (hildon_stackable_window_init)
2110 * src/hildon-window-private.h
2111 * src/hildon-window.h
2112 * src/hildon-window.c (hildon_window_init)
2113 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2114 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2115 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2116 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2117 Moved all HildonAppMenu code to HildonWindow. The menu does not
2118 require a HildonStackableWindow anymore.
2120 * src/hildon-app-menu.c
2121 * src/hildon-program.c
2122 * examples/hildon-app-menu-example.c (main):
2123 Update examples and documentation to reflect HildonAppMenu
2126 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-remote-texture.c
2129 * src/hildon-animation-actor.c:
2130 Don't include unused private headers.
2132 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-program-private.h
2135 * src/hildon-program.c
2136 (hildon_program_set_common_menu)
2137 (hildon_program_get_common_menu)
2138 (hildon_program_set_common_app_menu)
2139 (hildon_program_get_common_app_menu):
2140 Change common menu pointers from GtkWidget* to GtkMenu* and
2141 HildonAppMenu* to avoid unnecessary casts.
2143 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-window.c (hildon_window_set_main_menu):
2146 Removed incorrect 'Since:' tag
2148 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2150 * src/hildon-pannable-area.c,
2151 (hildon_pannable_area_calculate_velocity): We use now the
2152 RATIO_TOLERANCE here to check the distance, fixed typo in the
2154 (hildon_pannable_area_motion_notify_cb): We have to set the type
2155 and time even if we are not sending the motion.
2157 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2159 * doc/hildon-sections.txt
2160 * src/hildon-app-menu.h
2161 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2162 (+hildon_app_menu_get_filters): New methods to get the contents of
2165 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2168 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-app-menu.c (hildon_app_menu_popup):
2173 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-window.h
2176 * src/hildon-window.c (+hildon_window_get_main_menu)
2177 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2178 and deprecated hildon_window_get_menu().
2180 * src/hildon-stackable-window.h
2181 * src/hildon-stackable-window.c
2182 (+hildon_stackable_window_set_app_menu)
2183 (+hildon_stackable_window_get_app_menu)
2184 (hildon_stackable_window_set_main_menu): Created
2185 hildon_stackable_window_{get,set}_app_menu() and deprecated
2186 hildon_stackable_window_set_main_menu().
2188 * doc/hildon-sections.txt
2189 * examples/hildon-app-menu-example.c (main)
2190 * src/hildon-app-menu.c
2191 * src/hildon-program.c:
2192 Updated examples and documentation.
2194 Fixes: NB#103758 (No way to obtain a menu from a
2195 HildonStackableWindow)
2197 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: Bump version.
2203 * debian/changelog: Updates.
2205 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2207 * examples/hildon-remote-texture-example.c: Include
2208 hildon-remote-texture.h explicitely.
2209 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2210 applications not defining _XOPEN_SOURCE which don't require this header.
2212 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2214 * doc/hildon-sections.txt
2215 * src/hildon-app-menu.h
2216 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2217 New function to pop up a HildonAppMenu
2219 * src/hildon-stackable-window.c
2220 (hildon_stackable_window_toggle_menu):
2221 Use hildon_app_menu_popup() to show the menu.
2223 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-app-menu.c (hildon_app_menu_show)
2226 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2227 menu if there's another window between it and its parent window.
2229 Fixes: NB#100468 (Application menu window is launched even when a
2230 new secondary-window/dialog is pending to be shown/realized)
2232 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-window-stack.c (hildon_window_stack_push)
2235 (hildon_window_stack_pop_and_push):
2236 Don't forget to push/pop the first window.
2237 Reverse the window list before calling _push_list()
2239 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-picker-button.h
2242 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2243 Remove "value_changed" slot to avoid ABI breakage
2245 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2247 * src/hildon-pannable-area.c,
2248 (hildon_pannable_area_realize),
2249 (hildon_pannable_area_unrealize),
2250 (hildon_pannable_draw_vscroll),
2251 (hildon_pannable_draw_hscroll): Changed the method to handle the
2252 GC used to draw the transparent scrollbar, this way we avoid
2253 creating the GC all the time when drawing the scrollbars.
2255 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_init),
2259 (hildon_pannable_area_remove): Removed some unnecessary casts.
2260 (hildon_pannable_area_dispose): Disconnected some signals before
2261 releasing the adjustments.
2263 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2265 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2266 Make sure that all widgets contained in the toolbar are shown.
2268 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2270 * doc/hildon-sections.txt
2271 * src/hildon-picker-button.h
2272 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2273 (_selection_changed, hildon_picker_button_on_dialog_response)
2274 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2275 New hildon_picker_button_value_changed() method.
2278 * src/hildon-picker-button-private.h
2279 * src/hildon-picker-button.c (hildon_picker_button_init)
2280 (+hildon_picker_button_disable_value_changed): Add protected
2281 function for disabling the "value-changed" signal.
2283 * src/hildon-date-button.c (hildon_date_button_set_date):
2284 Don't emit "value-changed" for each one of the three columns.
2286 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2287 before actual change of values)
2289 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2293 for the treeview overshooting.
2295 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-banner.c (+hildon_banner_bind_style):
2298 Renamed from hildon_banner_bind_label_style(), now naming the
2299 banner itself as well.
2300 (hildon_banner_show_information),
2301 (hildon_banner_show_information_with_markup),
2302 (hildon_banner_show_animation), (hildon_banner_show_progress):
2303 Name the widgets and labels, based on their type.
2305 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2308 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-note.c (hildon_note_set_property): call
2311 hildon_note_rename() on HildonNote:note-type set.
2312 (hildon_note_rename): Name the note and its label, based on the
2313 HildonNote:note-type property.
2315 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2318 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2320 * src/hildon-pannable-area.c,
2321 (hildon_pannable_area_class_init),
2322 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2323 panning parameters, increased SPS and deceleration factor. Added
2324 also a margin to control fake directions.
2326 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2328 Patch by Sven Herzberg (sven@imendio.com)
2330 * configure.ac: Add missing AM_PROG_CC_C_0
2331 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2333 See NB#101420 (Update unit tests and fix make check)
2335 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2337 This patch was applied before but reverted because it caused
2338 problems, we have changed the main condition and tested the
2339 regressions we detected before and they work ok. We have done a
2340 complete review of the topmost algorithm in order to get a more
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_get_topmost): Added a new parameter to
2345 filter the the windows that do not include those events.
2346 (hildon_pannable_area_button_press_cb),
2347 (hildon_pannable_area_button_release_cb),
2348 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2349 topmost function, we have added the new parameter.
2351 Fixes: NB#97458 (Pannable area prevents propagation of button
2354 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2357 if all columns in the selector have an item selected.
2358 (_on_dialog_response): Stop "response" signal emission if there is
2359 any selector column without selected items.
2361 Fixes: NB#101889 (Picker dialog should not close when nothing is
2362 selected in multiple selection list)
2364 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-font-selection-dialog.c
2367 (hildon_font_selection_dialog_class_init),
2368 (hildon_font_selection_dialog_init): Remove the preview
2369 button and dialog, since previewing with default theming is likely
2370 to be overcomplicated. The :preview property has now no effect.
2371 Update documentation blurbs to inform about this.
2373 Fixes: NB#92297 (Preview content is not clearly visible for
2374 default colour text)
2376 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2378 Reviewed the geometry that handles the children size and
2379 scrollbar, now it tries a size and reviews the results depending
2380 on the scrollbars visibility.
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_realize): Fixed a typo.
2384 (hildon_pannable_area_child_allocate_calculate): Added this
2385 function to calculate the child allocation.
2386 (hildon_pannable_area_size_allocate): Reviewed the allocation
2388 (hildon_pannable_area_check_scrollbars),
2389 (hildon_pannable_area_refresh): Refactored refresh function, this
2390 way we can call the code handling the scrollbars without causing a
2391 size_request, it is interesting in the allocate.
2392 (hildon_pannable_area_init): Replace the callbacks of the
2393 value_changed and changed signals to propertly deal with the
2395 (hildon_pannable_area_grab_notify),
2396 (hildon_pannable_area_initial_effect),
2397 (hildon_pannable_area_launch_fade_timeout),
2398 (hildon_pannable_area_adjust_changed),
2399 (hildon_pannable_area_adjust_value_changed),
2400 (hildon_pannable_area_redraw),
2401 (hildon_pannable_area_button_press_cb),
2402 (hildon_pannable_area_button_release_cb),
2403 (hildon_pannable_area_scroll_cb),
2404 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2405 code and use the new functions adjust_changed and
2406 adjust_value_changed.
2408 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2409 Contact editor dialog)
2411 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2416 * configure.ac: Bump version.
2417 * debian/changelog: Updates.
2419 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2421 * src/hildon-pannable-area.c,
2422 (hildon_pannable_area_get_topmost),
2423 (hildon_pannable_area_button_press_cb),
2424 (hildon_pannable_area_button_release_cb),
2425 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2426 topmost function adding the event mask. We have to try a
2427 differente approach because it is still causing problems (NB#9745,
2430 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-banner.c:
2433 Update the maximum width of timed banners.
2434 (force_to_wrap_truncated): Enforce the maximum text width if the
2437 Fixes: NB#102413 (The text margins (wrapping) in information
2438 banner should be HILDON_MARGIN_TRIPLE)
2440 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2442 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2444 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2445 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2446 bound when calculating the scroll indicator position.
2448 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2449 treat ->lower correctly)
2451 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2453 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2454 expose event handling, since it is not necessary to draw the focus
2457 Fixes: NB#102467 (Do not show highlight on the text in
2460 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2462 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2463 full height of the toolbar for the button and the label.
2465 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2468 padding before the label and after the button.
2470 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2472 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2474 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2475 Add a GtkVSeparator between the button and the back arrow.
2476 Let the button have automatic size.
2477 Set a name to the widget for theming handling.
2479 Fixes: NB#101793 (Make edit toolbar the same height as window
2480 title bar (use title area theming))
2482 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-helper.c (attach_new_color_element): Fix memory
2487 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2489 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2491 * examples/hildon-button-example.c (common_buttons_window): Don't
2494 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2497 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2499 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-gtk.c: Check that the window is realized.
2503 Fixes: NB#102225 (Crash setting the progress indicator to a non
2506 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2508 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2509 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2510 instead of modifying the one in the widget style.
2512 Fixes: NB#101043 (Second row of all the command button are
2513 displayed in transparent mode.)
2515 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-date-button.c
2518 * src/hildon-time-button.c: Add gettext macros
2520 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-date-button.c (hildon_date_button_new):
2523 * src/hildon-time-button.c (hildon_time_button_new_step):
2524 Use new logical strings to set the button default title.
2526 Fixes: NB#99915 (Date and Time options are not localised in Date
2529 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2531 * src/hildon-pannable-area.c
2532 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2533 the PANNING_THRESHOLD.
2535 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2537 * src/hildon-pannable-area.c,
2538 (hildon_pannable_area_class_init): Increased the maximum speed.
2539 (hildon_pannable_area_get_property),
2540 (hildon_pannable_area_set_property),
2541 (hildon_pannable_area_timeout): Added a new low friction mode, it
2542 allows the user avoid friction when launching the widget fast
2543 enough. It is interesting to traverse long lists.
2545 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2548 (+hildon_stackable_window_delete_event): Ignore delete events if
2549 the window is not the topmost one.
2551 Fixes: NB#101698 (Back button long press and delete-event handling)
2553 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2557 gtk-dnd-drag-threshold, it was too big. We have defined our own
2558 dnd define and set a smaller value: PANNIG_THRESHOLD.
2560 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2563 user-defined icons, use always the default one.
2565 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2567 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2569 This patch was applied before but reverted because it caused
2570 problems, we have changed the main condition and tested the
2571 regressions we detected before and they work ok.
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_get_topmost): Added a new parameter to
2575 filter the the windows that do not include those events. Added
2576 also a condition when finding the window to filter windows that do
2577 not ask for those events.
2578 (hildon_pannable_area_button_press_cb),
2579 (hildon_pannable_area_button_release_cb),
2580 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2581 topmost function, we have added the new parameter.
2583 Fixes: NB#97458 (Pannable area prevents propagation of button
2586 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2588 * tests/check-hildon-color-button.c (START_TEST): do not leak
2591 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-font-selection-dialog.c
2594 (hildon_font_selection_dialog_get_preview_text): Return NULL
2595 instead of FALSE on the g_return_val_if_fail().
2597 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2599 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2600 * src/hildon-date-selector.c
2601 (hildon_date_selector_select_current_date):
2602 Do not compare unsigned integers to be greater than or equal 0,
2603 because it's always TRUE.
2605 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2607 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2608 (hildon_date_selector_constructor): Do not select the current
2609 date until we are handle the "changed" signal, to avoid having bogus
2610 elements in the days model.
2612 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2615 for num_days, since _month_days() can return a negative value.
2617 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-caption.c (hildon_caption_size_allocate):
2620 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2621 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2623 Initialize allocation variables to 0, to avoid eventually using
2624 unitialized variables.
2626 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-bread-crumb-trail.c
2629 (hildon_bread_crumb_trail_size_allocate):
2630 * src/hildon-calendar.c (hildon_calendar_set_background):
2631 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2632 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2633 * src/hildon-seekbar.c (hildon_seekbar_init):
2634 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2635 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2636 * src/hildon-touch-selector-entry.c
2637 (hildon_touch_selector_get_text_from_model):
2638 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2639 * src/hildon-window.c (hildon_window_finalize):
2641 Remove many unused variables.
2643 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-seekbar.c: (hildon_seekbar_init),
2646 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2648 Remove unnecessary g_assert() calls.
2650 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-caption.c: (hildon_caption_expose),
2653 (hildon_caption_set_property), (hildon_caption_init),
2654 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2655 (hildon_caption_size_request), (hildon_caption_size_allocate),
2656 (hildon_caption_forall), (hildon_caption_set_separator),
2657 (hildon_caption_activate), (hildon_caption_set_child_expand),
2658 (hildon_caption_set_label_text),
2659 (hildon_caption_get_label_alignment):
2661 Remove unnecessary g_assert() calls.
2663 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-banner.c
2666 (hildon_banner_map, hildon_banner_init): Make banner temporary
2667 before mapping it to avoid closing other temporary windows, but
2668 make it non-temporary afterwards to avoid being closed by other
2669 non-temporary windows.
2670 (-hildon_banner_client_event, hildon_banner_init):
2671 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2673 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2676 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2681 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2683 * src/hildon-remote-texture.c
2684 * src/hildon-remote-texture.h
2685 * src/hildon-remote-texture-private.h
2686 * examples/hildon-remote-texture-example.c:
2687 Updates/fixes to remote-texture and its example.
2689 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2691 Patch by Mox Soini (ext-mox.soini@nokia.com)
2693 * src/hildon-code-dialog.c: Update logical id.
2694 * src/hildon-set-password-dialog.c: Update logical id.
2696 Fixes: NB#100646 (Logical strings is shown for ok in set
2697 password,Password needed dialogs)
2699 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2702 * src/hildon-remote-texture.c
2703 * src/hildon-remote-texture.h
2704 * src/hildon-remote-texture-private.h
2706 Added remote texture widget (for Clutter shared memory textures)
2708 * examples/hildon-remote-texture-example.c
2709 * examples/Makefile.am
2710 Added example file for remote texture usage
2712 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2714 * configure.ac: post release version bump.
2715 * debian/changelog: version bump.
2717 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2722 * configure.ac: Bump version.
2723 * debian/changelog: Updates.
2725 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-date-selector.c (hildon_date_selector_init)
2728 (hildon_date_selector_constructor): Don't connect to the "changed"
2729 signal until the selector is completely constructed.
2731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-touch-selector.c: (_create_new_column),
2734 (hildon_touch_selector_append_column),
2735 (hildon_touch_selector_set_column_selection_mode),
2736 (hildon_touch_selector_set_active),
2737 (hildon_touch_selector_select_iter):
2738 Emit the HildonTouchSelector::changed signal every time selection
2739 is changed in any of the methods above. This behavior was already
2740 documented but not fully functional.
2742 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2743 selection is programmatically changed)
2745 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2747 * doc/hildon-sections.txt: Remove obsolete icon
2748 sizes from here as well.
2750 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2752 * examples/hildon-stackable-window-example.c (add_window): Remove
2755 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-app-menu.c
2758 (hildon_app_menu_show): Check whether the parent window of a menu
2759 is topmost before popping it up.
2761 Fixes: NB#100468 (Application menu window is launched even when a
2762 new secondary-window/dialog is pending to be shown/realized.)
2764 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2766 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2769 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2771 Patch by Mox Soini (ext-mox.soini@nokia.com)
2773 * src/hildon-banner.c: (hildon_banner_show_animation):
2774 use stylus size instead of obsolete note size.
2775 * src/hildon-defines.h: Update icon sizes.
2777 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-touch-selector-entry.c:
2780 (hildon_touch_selector_entry_init): Disable unsupported
2782 (hildon_touch_selector_entry_get_text_column): Emit a warning
2783 if an unsupported input modes is used and explicitile state
2784 these modes in the documentation.
2786 Fixes: NB#99802 (Hildon touch selector entry not working properly
2787 for some of the input modes)
2789 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2791 * src/hildon-pannable-area.c,
2792 (hildon_pannable_area_init): Added the changed signal handlers of
2795 Fixes: NB#100320 (HildonPannableArea does not listen to
2796 GtkAdjustment "change" signals)
2798 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2800 * doc/hildon-sections.txt
2801 * src/hildon-window-private.h
2802 * src/hildon-window.h
2803 * src/hildon-window.c (hildon_window_init)
2804 (hildon_window_realize, hildon_window_unrealize)
2805 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2806 (hildon_window_size_request, hildon_window_size_allocate)
2807 (hildon_window_forall, hildon_window_show_all)
2808 (hildon_window_destroy, +paint_edit_toolbar)
2809 (+hildon_window_set_edit_toolbar):
2810 New hildon_window_set_edit_toolbar() method, to add a
2811 HildonEditToolbar to a window without having to pack it manually.
2813 Reorganize hildon_window_size_allocate()
2815 * src/hildon-edit-toolbar.c: Update documentation.
2817 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2818 example to use the new API.
2820 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2822 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2825 Remove from stack before calling parent's hide.
2827 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2830 window is removed from the middle of the stack, update the
2831 transiency of the previous one.
2833 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2836 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2839 block/unblock the signal handler if it's not actually being used.
2840 Fixes some critical warnings.
2842 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2844 Based on a patch by Iván Gómez (igomez@igalia.com)
2846 * src/hildon-banner.c
2850 * src/hildon-pannable-area.c
2851 * src/hildon-picker-dialog.c
2852 * src/hildon-wizard-dialog.h
2853 * src/hildon-wizard-dialog.c: Documentation updates.
2855 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2856 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2858 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2860 * configure.ac: post release version bump.
2861 * debian/changelog: version bump.
2863 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2868 * configure.ac: Bump version.
2869 * debian/changelog: Updates.
2871 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2874 a stock icon nor change the relief of the back arrow.
2876 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2877 graphics from theme)
2879 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2881 * src/hildon-button.c (hildon_button_set_alignment): Use
2882 priv->alignment if the button has no child yet.
2884 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-button.c: (hildon_button_init): Set the
2887 button style during initialization to give it the proper
2890 Fixes: NB#99713 (HildonButton value label color is wrong)
2892 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-touch-selector.c: Document
2895 hildon_touch_selector_center_on_selected()
2897 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2900 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2901 all menu items, but not the menu itself.
2902 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2903 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2904 items after adding them to the menu so keyboard accelerators work.
2905 (hildon_app_menu_show): Don't show the menu if it contains items
2906 but none of them are visible.
2908 * examples/hildon-app-menu-example.c (create_menu): Use
2909 gtk_widget_show_all() to show all menu items.
2911 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-picker-dialog.c:
2914 (-_update_title_on_selector_changed_cb),
2915 (-_dialog_update_title): Removed.
2916 (_select_on_selector_changed_cb), (_on_dialog_response),
2917 (on_selector_columns_changed): Do not update the dialog title.
2918 (setup_interaction_mode): Do not connect to
2919 HildonTouchSelector::changed signal if there's a "done" button, as
2920 the dialog title doesn't need to be updated.
2922 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2925 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2927 Patch by Kristian Rietveld (kris@imendio.com)
2929 * src/hildon-touch-selector.c: (_create_new_column): Use new
2930 GtkTreeView::hildon-row-tapped signal to react to user interactions
2931 instead of ::changed.
2933 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2934 with some dynamic tree model)
2936 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2939 (+screen_size_changed, +label_size_request)
2940 (hildon_note_class_init): Make the Hildon information note have a
2941 minimum height, and make its text hvae a maximum width.
2943 Fixes: NB#98614 (Hildon information note (background) should have
2944 minimum height and maximum text width)
2946 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-banner.h
2949 * src/hildon-banner.c (hildon_banner_show_information)
2950 (hildon_banner_show_informationf)
2951 (hildon_banner_show_information_with_markup): Update documentation
2952 to reflect that the icon_name parameter is not used anymore.
2953 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2954 Remove all code from these functions and mark them as deprecated.
2955 (hildon_banner_show_progress): Mark as deprecated.
2957 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2959 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2961 * src/hildon-pannable-area.c,
2962 (hildon_pannable_area_class_init),
2963 (tranparency_color),
2964 (hildon_pannable_draw_vscroll),
2965 (hildon_pannable_draw_hscroll),
2966 (hildon_pannable_area_expose_event): Added a new way to render the
2967 scrollbars of the pannable area avoiding using cairo at all. This
2968 way we improve the performance of the pannable area rendering. The
2969 cairo rendering procedure is still in the code, we can control
2970 which one to use changing the value of the define
2971 USE_CAIRO_SCROLLBARS.
2973 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2975 * configure.ac: post release version bump.
2976 * debian/changelog: version bump.
2978 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2983 * configure.ac: Bump version.
2984 * debian/changelog: Updates.
2986 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2989 banners instead of destroying them when they receive a button
2992 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2994 Reverted commit 34028, it was causing regressions, probably the
2995 topmost condition is not correct, we have to check it in more
2996 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2997 propagation of button press events)
2999 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3002 that the selection is not empty before attempting to retrieve the
3003 current ampm selection.
3005 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-picker-button.c:
3008 (hildon_picker_button_on_dialog_response): Directly update the
3009 button contents when required instead of calling _selection_changed.
3011 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-program.c (hildon_program_update_top_most): Update
3014 'is-topmost' property also when wm_hints is not set.
3016 Fixes: NB#98383 (is-topmost signal is not emitted when task
3017 switcher is clicked.)
3019 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3021 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3025 * src/hildon-animation-actor.c,
3026 * src/hildon-animation-actor.h: Added the animation actor class,
3027 this widget represents an animation actor for WM-assisted
3028 animation effects in the Hildon framework.
3030 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-window-stack-private.h
3033 * src/hildon-window-stack.c
3034 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3035 Avoid calling gtk_widget_show() again indirectly from
3036 hildon_stackable_window_show()
3038 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3043 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3046 (hildon_time_selector_init): Move the construction of the hours and
3047 ampm columns to the constructor to preserve the order the columns
3050 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-picker-dialog.c:
3053 (hildon_picker_dialog_class_init): Connect a realize method.
3054 (+hildon_picker_dialog_realize): Setup the interaction mode here
3056 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3057 yet, do it during the realize instead.
3058 (_on_dialog_response):
3059 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3060 if the widget is not realized, to avoid the dialog response before it
3063 Avoid premature responses in the HildonPickerDialog that can cause it
3064 to be hidden before it's even shown.
3066 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3069 (on_selector_columns_changed), (requires_done_button),
3070 (+prepare_action_area), (setup_interaction_mode),
3071 (_hildon_picker_dialog_set_selector):
3073 Split the interaction mode setup into preparation of the
3074 action area (prepare_action_area()) and the connection of
3075 the signals in setup_interaction_mode() and update the code to
3078 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3080 * src/hildon-pannable-area.c,
3081 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3082 per second to 15, we will check if this is ok regarding
3085 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3087 * src/hildon-pannable-area.c,
3088 (hildon_pannable_axis_scroll): Avoid resize if we already have
3089 reached overshoot_max.
3091 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3093 * src/hildon-pannable-area.c,
3094 (hildon_pannable_area_init),
3095 (hildon_pannable_area_realize),
3096 (hildon_pannable_area_size_allocate),
3097 (hildon_pannable_area_map),
3098 (hildon_pannable_area_unmap),
3099 (hildon_pannable_draw_vscroll),
3100 (hildon_pannable_draw_hscroll),
3101 (hildon_pannable_area_expose_event),
3102 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3103 pannable are to avoid the expose events go to the window and
3104 redraw the window. We save this way that part of the stack and the
3105 paint_boxes. We had to change the positions of the elements when
3108 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3111 * src/hildon-color-chooser-dialog.c:
3112 (hildon_color_chooser_dialog_init):
3113 * src/hildon-font-selection-dialog.c:
3114 (hildon_font_selection_dialog_init),
3115 (hildon_font_selection_dialog_show_preview):
3116 * src/hildon-get-password-dialog.c:
3117 * src/hildon-login-dialog.c:
3118 * src/hildon-set-password-dialog.c:
3119 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3120 * src/hildon-time-picker.c: (hildon_time_picker_init):
3122 Remove obsolete logical string IDs and update to the appropriate ones.
3124 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3126 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3129 that happens if the window hasn't been realized yet.
3131 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3132 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3134 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3137 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3140 Fixes: NB#98537 (Device hangs in account settings dialog)
3142 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3144 * configure.ac: post release version bump.
3145 * debian/changelog: version bump
3147 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3152 * configure.ac: Bump version.
3153 * debian/changelog: Updates.
3155 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3157 Added a new function to the HildonTimeButton widget that allows to
3158 change the step of the minutes in the selector associated with the
3159 button: hildon_time_button_new_step
3161 * src/hildon-time-button.c,
3162 (hildon_time_button_init),
3163 (hildon_time_button_new),
3164 (hildon_time_button_new_step):
3165 * src/hildon-time-button.h: Added the new function and refactored
3167 * examples/hildon-time-button-example.c,
3168 (main): We have replaced the function without parameters with the
3169 function with the steps set to 5
3171 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3173 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-time-selector.c,
3176 (hildon_time_selector_class_init),
3177 (hildon_time_selector_constructor),
3178 (hildon_time_selector_get_property),
3179 (hildon_time_selector_set_property),
3180 (_create_minutes_model),
3181 (hildon_time_selector_new_step),
3182 (hildon_time_selector_set_time),
3183 * src/hildon-time-selector.h: Added a new property to the
3184 HildonTimeSelector (minutes-step), we use that property to control
3185 the steps between the minutes in the list of the selector. We have
3186 added a new function to the API to create a widget changing the
3187 step: hildon_time_selector_new_step.
3189 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3191 * src/hildon-time-selector.c,
3192 (hildon_time_selector_class_init),
3193 (hildon_time_selector_constructor),
3194 (hildon_time_selector_init): Overrided the construct function when
3195 creating the time selector object. We have moved the minutes model
3196 handling code from the init to the new construction function:
3197 hildon_time_selector_constructor.
3199 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3201 * examples/hildon-date-button-example.c: (main): Use the new
3202 hildon_date_button_new_with_year_range() method in the example.
3203 * src/hildon-date-button.c:
3204 (+hildon_date_button_new_with_year_range): New public method
3205 to conveniently create a HildonDateButton with a custom year range
3206 in its HildonDateSelector.
3207 * src/hildon-date-button.h: Add the new public method definition.
3209 Fixes: NB#97908 (Not possible to change the year range in
3210 HildonDateSelector/HildonDateButton)
3212 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3214 * src/hildon-date-selector.c:
3215 (+hildon_date_selector_set_property),
3216 (+hildon_date_selector_get_property),
3217 (hildon_date_selector_class_init): Install new properties "min-year"
3218 and "max-year" to define boundaries for the year column.
3219 (_create_year_model): Use the boundary properties to populate the model.
3220 (+hildon_date_selector_new_with_year_range): New public method to
3221 create a HildonDateSelector with a user defined year range.
3222 (hildon_date_selector_select_current_date): Use the new boundaries to
3223 calculate the iterator of current year.
3224 * src/hildon-date-selector.h: Add the new public method definition.
3226 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3229 Install a constructor method.
3230 (+hildon_date_selector_construct_ui): construct the widget.
3231 (+hildon_date_selector_constructor): new constructor.
3232 (+hildon_date_selector_init): move out widget construction code to
3233 the new constructor.
3235 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3238 that there's actually a month or year selected before obtaining them.
3239 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3240 of the HildonTouchSelector::changed signal, as it was emitted on every
3241 single item selection.
3243 Fix some warnings and possible crashers due to the selection restoring.
3245 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3248 the signal handlers only after creating the dialog instead of on every
3251 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-button.c (hildon_button_init)
3254 * src/hildon-check-button.c (hildon_check_button_init)
3255 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3256 focus when clicked by default.
3258 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3263 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3265 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3266 Alejandro G. Castro (alex@igalia.com)
3268 * src/hildon-picker-dialog.c:
3269 (hildon_picker_dialog_class_init): install new "center-on-show"
3271 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3272 (hildon_picker_dialog_set_property): add setter code for the new
3274 (hildon_picker_dialog_get_property): add getter code for the new
3276 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3277 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3280 Fixes: NB#92849 (Selected item is not always visible when
3281 HildonTouchSelector is shown)
3283 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3285 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3286 Alejandro G. Castro (alex@igalia.com)
3288 * src/hildon-touch-selector.c:
3289 (_create_new_column): Do not connect to the "realize" signal of the
3291 (hildon_touch_selector_append_column): center on the selected items
3292 when a new column is appended.
3293 (hildon_touch_selector_select_iter): Factor out the code to select a
3294 column to hildon_touch_selector_scroll_to().
3295 (+search_nearest_element): Method to retrieve the nearest selected
3296 element to the visible area of the pannable area in a column.
3297 (+on_realize_cb): scroll to the initially selected item.
3298 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3299 the pannable area is realized, otherwise delay this until it is.
3300 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3301 selected items of a given column.
3302 (+hildon_touch_selector_center_on_selected): Public method to center
3303 all columns on the nearest selected item.
3304 * src/hildon-touch-selector.h: Add definition for
3305 hildon_touch_selector_center_on_selected().
3307 Implement public API to ensure visibility of all selected items in
3308 a HildonTouchSelector.
3310 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3312 Fixed a problem in the fading when calling the scroll_to API, and
3313 improve scrollbar fading handling.
3315 * src/hildon-pannable-area.c,
3316 (hildon_pannable_area_grab_notify): avoid the timeout when the
3318 (hildon_pannable_area_button_press_cb),
3319 (hildon_pannable_area_motion_notify_cb): Code style changes.
3320 (hildon_pannable_area_button_release_cb): Review the conditions
3321 when releasing the mouse button to avoid unrequired fading
3323 (hildon_pannable_area_scroll_to): Do not calculate and set the
3324 velocity if the scroll is not required.
3326 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3329 Don't check whether the new selector is NULL: it cannot be.
3330 Hold a reference to the selector while doing the replacement.
3332 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3334 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3335 unnecessary size_request in a removed widget.
3337 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3339 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3340 an unnecessary reference tracking that was leaking.
3342 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3344 Added delayed motion notify event handling, this way we can
3345 discard redrawing if more than 25 events arrive per second.
3347 * src/hildon-pannable-area.c,
3348 (hildon_pannable_area_init): Initialized the new private atributes
3349 controlling this timeout
3350 (hildon_pannable_area_dispose): Remove the timeout that controls
3351 the motion notify events.
3352 (hildon_pannable_area_scroll): Added a condition to control the
3353 use of the acceleration.
3354 (hildon_pannable_area_motion_event_scroll_timeout),
3355 (hildon_pannable_area_motion_event_scroll): Added this two
3356 functions, they handle the motion notify events inside the
3358 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3359 to the scroll method with the new function.
3360 (hildon_pannable_area_button_release_cb): We have to remove the
3361 timeout handler and move to the last position if the last motion
3362 events were not handled.
3364 Fixes: NB#97028 (Pannable area updates on every motion event)
3366 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3368 * src/hildon-pannable-area.c,
3369 (hildon_pannable_area_get_topmost): Added a new parameter to
3370 filter the the windows that do not include those events. Added
3371 also a condition when finding the window to filter windows that do
3372 not ask for those events.
3373 (hildon_pannable_area_button_press_cb),
3374 (hildon_pannable_area_button_release_cb),
3375 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3376 topmost function, we have added the new parameter.
3378 Fixes: NB#97458 (Pannable area prevents propagation of button
3381 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3383 * src/hildon-pannable-area.c,
3384 (hildon_pannable_area_initial_effect): Added controls before
3385 launching the timeout and the idle functions.
3386 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3387 of the method, in some situations it can return with TRUE and 0 in
3389 (hildon_pannable_area_button_press_cb): We do not need to set
3390 DELAY for fading out here.
3392 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3394 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3397 post-cleaning if the selection is not NULL.
3399 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3401 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3402 all items before restoring the selection.
3404 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-touch-selector.c:
3407 (+hildon_touch_selector_unselect_all):
3408 * src/hildon-touch-selector.h: New API to unselect all items in a
3409 column of the touch selector.
3411 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3413 * src/hildon-pannable-area.c,
3414 (hildon_pannable_area_redraw): Added a call to the refresh
3415 function inside the redraw because apparently in some cases the
3416 change in the adjustment does not imply a size allocate.
3418 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3419 despite the view not being scrollable)
3421 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3424 leak. Check for NULL before attempting to set the window title.
3426 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3429 whether to show or not the 'Done' button each time the dialog is
3430 shown, as it depends on the HildonTouchSelector selection mode.
3432 Fixes: NB#96226 (In multiple selection mode Done button is shown
3433 sometimes in listpicker)
3435 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3438 for the number of columns in the HildonTouchSelector more than once.
3440 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3442 * src/hildon-touch-selector.c: Minor documentation fixes.
3444 * src/hildon-picker-dialog.c (+_dialog_update_title)
3445 (_select_on_selector_changed_cb)
3446 (_update_title_on_selector_changed_cb)
3447 (on_selector_columns_changed): Update dialog title when there's no
3448 'Done' button and also when the number of columns in the selector
3452 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3453 (+_selection_changed, hildon_picker_button_on_dialog_response)
3454 (hildon_picker_button_selector_selection_changed)
3455 (+hildon_picker_button_selector_columns_changed)
3456 (hildon_picker_button_set_selector): Update button value and emit
3457 'value-changed' when the number of columns in the selector
3461 Fixes: NB#96225 (Dialog titles are not shown according to the
3462 values selected in the list picker)
3464 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3466 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3467 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3468 New "arrow-width" and "arrow-height" style properties to set the
3469 size of the arrow button.
3470 Set name of arrow button ("hildon-edit-toolbar-arrow").
3472 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3473 graphics from theme)
3475 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3477 * src/hildon-picker-button.c:
3478 (hildon_picker_button_selector_selection_changed): Use
3479 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3480 the dialog is present.
3482 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3483 the selection is accepted in the dialog)
3485 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3487 * src/hildon-color-chooser.h
3488 * src/hildon-color-chooser-dialog.h:
3489 Added G_BEGIN_DECLS and G_END_DECLS
3491 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3493 (_clean_current_selection): plug a leak in the list.
3495 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-picker-dialog.c:
3498 (+free_path_list): Method to free a GList of GtkTreePaths.
3499 (_clean_current_selection), (_save_current_selection),
3500 (_restore_current_selection): Save the current selection in
3501 as a list of lists, to support multiple selection properly.
3503 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3505 patch by Claudio Saavedra (csaavedra@igalia.com)
3507 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3508 Store the press position.
3509 (+hildon_text_view_button_release_event): If the release position is
3510 close enough to the press position, move the cursor here. Otherwise,
3512 (hildon_text_view_class_init): Override GtkTextView press, release, and
3513 motion event handlers, disabling this way text selection through
3514 pointer interaction, and allowing the container widget to handle the
3517 Fixes: NB#95828 (HildonTextView functionality)
3519 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3521 Based on a patch by Iván Gómez (igomez@igalia.com)
3523 * src/hildon-button.[ch]
3524 * src/hildon-calendar.c
3525 * src/hildon-check-button.c
3526 * src/hildon-date-editor.c
3527 * src/hildon-date-selector.c
3528 * src/hildon-picker-button.c
3529 * src/hildon-time-editor.c
3530 * src/hildon-time-selector.c
3531 * src/hildon-touch-selector.[ch]:
3532 Documentation updates
3534 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3536 * src/hildon-pannable-area.c,
3537 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3538 threshold, it was required due to X events handling.
3540 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3542 * src/hildon-pannable-area.c,
3543 (hildon_pannable_area_grab_notify),
3544 (hildon_pannable_area_initial_effect),
3545 (hildon_pannable_area_button_press_cb),
3546 (hildon_pannable_area_button_release_cb),
3547 (hildon_pannable_area_scroll_cb),
3548 (hildon_pannable_area_scroll_to): Review the timeout management of
3549 the scrollbar, the frecuency was incorrectly set.
3551 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-picker-button.c:
3554 (+hildon_picker_button_on_dialog_response),
3555 (hildon_picker_button_clicked): Present the dialog instead of
3556 running it with gtk_dialog_run().
3558 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3561 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3563 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3564 (hildon_app_menu_finalize): When a window is hidden it doesn't
3565 emit notify::is-topmost, so make sure than the menu also
3566 disappears in that case.
3567 (parent_window_topmost_notify): Renamed from parent_window_hidden
3569 Fixes: NB#94460 (stackable window's menu is not closed when its
3572 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3574 * src/hildon-touch-selector-entry.c:
3575 (+hildon_touch_selector_entry_set_input_mode),
3576 (+hildon_touch_selector_entry_get_input_mode):
3577 * src/hildon-touch-selector-entry.h: New methods to access the input
3578 mode in the selector's entry.
3580 Fixes: NB#93410 (API required for setting IM mode in
3581 HildonTouchSelectorEntry)
3583 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3585 * configure.ac: post release version bump.
3586 * debian/changelog: version bump
3588 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3593 * configure.ac: Bump version.
3594 * debian/changelog: Updates.
3596 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-touch-selector.c:
3599 (_hildon_touch_selector_has_multiple_selection): No need
3600 to initialize the variables here.
3602 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3604 * src/hildon-note-private.h
3605 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3606 (hildon_note_finalize, hildon_note_rebuild): Close information
3607 notes when they receive a button press.
3609 Fixes: NB#89890 (Information notes does not get disappeared after
3612 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3615 mark from the wizard title, as it's not really necessary. Also,
3616 do not display the page title if not set.
3618 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3620 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3621 (parent_window_hidden): Use the window's "is-topmost" property to
3622 detect when to hide the menu.
3624 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3626 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3627 (hildon_app_menu_finalize): If the parent window of the menu is
3628 hidden, hide the menu too.
3630 Fixes: NB#94460 (stackable window's menu is not closed when its
3633 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3636 * debian/libhildon1-examples.install
3638 * examples/Makefile.am:
3639 Use dh_install to install all examples.
3640 Use DEB_SRCDIR instead of defining SOURCE_DIR
3642 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3644 * configure.ac: post release version bump.
3645 * debian/changelog: version bump
3647 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3652 * configure.ac: bump version
3653 * debian/changelog: updates
3654 * debian/control: bump gtk+ dependency
3656 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3658 patch by Christian Dywan (christian@imendio.com)
3660 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3661 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3663 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3665 * src/hildon-check-button.c (hildon_check_button_init)
3666 (hildon_check_button_class_init, hildon_check_button_style_set)
3667 (hildon_check_button_apply_style):
3668 New "checkbox-size" style property.
3670 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3671 larger / configurable size)
3673 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3675 * configure.ac: post release version bump.
3676 * debian/changelog: version bump
3678 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3683 * configure.ac: bump version
3684 * debian/changelog: updates
3686 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3688 * doc/hildon-sections.txt
3689 * src/hildon-pannable-area.c
3690 * src/hildon-program.c
3691 * src/hildon-time-editor.c
3692 * src/hildon-touch-selector-entry.c:
3694 More documentation updates.
3696 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3698 * doc/hildon-sections.txt
3699 * src/hildon-caption.c
3700 * src/hildon-code-dialog.c
3701 * src/hildon-color-button.c
3702 * src/hildon-controlbar.c
3703 * src/hildon-date-editor.c
3704 * src/hildon-date-selector.c
3705 * src/hildon-edit-toolbar.c
3706 * src/hildon-find-toolbar.c
3707 * src/hildon-font-selection-dialog.c
3709 * src/hildon-program.c
3710 * src/hildon-range-editor.c
3711 * src/hildon-seekbar.c
3712 * src/hildon-time-editor.c
3713 * src/hildon-time-selector.c
3714 * src/hildon-volumebar-range.c
3715 * src/hildon-volumebar.c
3716 * src/hildon-vvolumebar.c
3717 * src/hildon-weekday-picker.c
3718 * src/hildon-window.c
3719 * src/hildon-wizard-dialog.c:
3721 Lots of documentation fixes.
3723 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3725 Patch contributed by Iván Gómez (igomez@igalia.com)
3727 * src/hildon-check-button.c:
3728 * src/hildon-date-button.c:
3729 * src/hildon-date-selector.c:
3730 * src/hildon-dialog.c:
3731 * src/hildon-edit-toolbar.c:
3732 * src/hildon-entry.c:
3733 * src/hildon-picker-button.c:
3734 * src/hildon-program.c:
3735 * src/hildon-text-view.c:
3736 * src/hildon-time-button.c:
3737 * src/hildon-touch-selector-entry.c:
3738 * src/hildon-window-stack.c:
3740 Add more "since" tags to the new API.
3742 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3744 * doc/hildon-sections.txt: Add below method.
3745 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3746 version for the hildonized scale.
3747 * src/hildon-gtk.h: Add the definition.
3749 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3751 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3753 * doc/hildon-sections.txt: Add missing entries for new methods.
3755 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3757 Added API to pannable are in order to get its adjustments. We
3758 added two properties to manage the values we had in the private
3761 * src/hildon-pannable-area.c:
3762 (hildon_pannable_area_class_init): Added hadjustment and
3763 vadjustment properties in order to expose horizontal and vertical
3765 (hildon_pannable_area_get_property),
3766 (hildon_pannable_area_set_property): Added code to handle the new
3768 (hildon_pannable_area_get_hadjustment),
3769 (hildon_pannable_area_get_vadjustment): API functions to get the
3771 * src/hildon-pannable-area.h:
3772 (hildon_pannable_area_get_hadjustment),
3773 (hildon_pannable_area_get_vadjustment): API functions to get the
3776 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3778 Fixed some leaks, after valgrinding.
3780 * src/hildon-touch-selector.c:
3781 (_default_print_func): Fixed a leak.
3782 (hildon_touch_selector_append_column): Fixed a leak.
3783 * src/hildon-date-button.c:
3784 (hildon_date_button_init): Fixed a leak.
3785 * src/hildon-date-selector.c
3786 (hildon_date_selector_finalize): Fixed a leak.
3788 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3790 Based on a patch by Christian Dywan (christian@imendio.com)
3792 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3794 * src/hildon-gtk.h: Add definition.
3796 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3798 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3800 * src/hildon-picker-button.c: (hildon_picker_button_init),
3801 (hildon_picker_button_new): Set the HildonButton::style property
3802 in the init method, to propagate the value to the derived classes.
3804 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3806 * src/hildon-button.c: (hildon_button_class_init): Do not make
3807 the "style" property a construct property.
3809 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-wizard-dialog.h
3812 * src/hildon-wizard-dialog.c
3813 (hildon_wizard_dialog_set_forward_page_func)
3814 * src/hildon-pannable-area.h
3815 * src/hildon-pannable-area.c
3816 (hildon_pannable_area_set_size_request_policy):
3817 Documentation fixes.
3819 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3821 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3823 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3825 * doc/hildon-sections.txt: Added sections file.
3827 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/*.[ch]: Updates.
3832 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3834 * examples/hildon-progress-indicator-example.c: new file
3835 * examples/Makefile.am: include the new example program
3837 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3843 * configure.ac: post release version bump
3844 * debian/changelog: version bump
3846 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3851 * configure.ac: bump version
3852 * debian/changelog: updates
3853 * debian/control: bump gtk+ dependency
3855 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-dialog.c: Mark as deprecated.
3858 * src/hildon-dialog.h: Mark as deprecated.
3859 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3860 from HildonDialog and still work, even if
3861 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3862 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3864 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3865 maemo changes) instead)
3867 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3869 * src/hildon-pannable_area.h:
3870 * src/hildon-pannable_area.c:
3871 (hildon_pannable_area_class_init),
3872 (hildon_pannable_area_set_property),
3873 (hildon_pannable_area_get_property),
3874 (hildon_pannable_area_size_request),
3875 (hildon_pannable_area_get_size_request_policy),
3876 (hildon_pannable_area_set_size_request_policy): Added new API
3877 allowing applications to control the request policy. Now they can
3878 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3879 children allocation (HILDON_MOVEMENT_CHILDREN).
3881 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3885 (hildon_gtk_tree_view_set_ui_mode)
3886 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3887 mode of treeviews and iconviews.
3889 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3891 * src/hildon-touch-selector-entry.c:
3892 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3893 of a GtkEntry to get proper theming.
3895 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3896 widget, not GtkEntry)
3898 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3901 no HildonWizardDialogPageFunc.
3903 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3905 Patch contributed by Iván Gómez (igomez@igalia.com)
3907 * src/hildon-app-menu.c:
3908 * src/hildon-button.c:
3909 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3910 * src/hildon-stackable-window.c:
3911 * src/hildon-time-selector.c:
3912 * src/hildon-touch-selector.c:
3913 * src/hildon-window.c:
3915 Add more "since" tags to the new API in hildon 2.2.
3917 2008-12-05 Tim Janik <timj@imendio.com>
3919 Patch contributed by Christian Dywan (christian@imendio.com)
3921 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3922 HildonSizeType, which are supplied by Gtk+ now.
3924 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3926 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3927 (with maemo changes) instead)
3929 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3931 Patch contributed by Iván Gómez (igomez@igalia.com)
3933 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3936 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3938 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3939 (some_page_func), (main): Update the example to use a
3940 HildonWizardDialogPageFunc function.
3942 * src/hildon-wizard-dialog-private.h: Add private data for
3943 the HildonWizardDialogPageFunc function usage.
3945 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3946 (destroy), (hildon_wizard_dialog_init), (response),
3947 (hildon_wizard_dialog_set_forward_page_func):
3948 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3949 that applications can use to stop a HildonWizardDialog to jump to
3952 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3955 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3957 * src/hildon-program.h
3958 * src/hildon-program-private.h
3959 * src/hildon-program.c (hildon_program_init)
3960 (hildon_program_set_common_app_menu)
3961 (hildon_program_get_common_app_menu):
3962 New API for setting a common HildonAppMenu for all
3963 HildonStackableWindows registered with the HildonProgram.
3965 * src/hildon-stackable-window.c
3966 (hildon_stackable_window_toggle_menu):
3967 Use the common HildonAppMenu if a window doesn't have a specific
3970 * src/hildon-app-menu-private.h
3971 * src/hildon-app-menu.c
3972 (hildon_app_menu_get_parent_window):
3973 Function to obtain the window a HildonAppMenu is attached to.
3974 (hildon_app_menu_set_parent_window):
3975 Hide the menu if the parent window is set to NULL.
3977 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3979 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3980 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3981 search widget to popup.
3983 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3985 * configure.ac: post release version bump
3986 * debian/changelog: version bump
3988 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: bump version
3994 * debian/changelog: updates
3996 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3998 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4000 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4001 (hildon_window_stack_window_realized)
4002 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4003 Set the leader GdkWindow when a window is stacked and realized,
4004 unset it when it's unstacked.
4005 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4007 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4009 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-stackable-window.h
4012 * src/hildon-window-stack.h:
4013 Protect definition of HildonWindowStack using the preprocessor.
4015 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4017 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4018 Fix warning if all menu items are hidden.
4020 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4022 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4024 * src/hildon-controlbar.c:
4025 * src/hildon-hvolumebar.c:
4026 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4027 Multiple scale size defines updates.
4029 Fixes: NB#94322 (Scale Updates)
4031 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4033 * examples/hildon-app-menu-example.c (create_menu)
4034 Show items after adding them to the menu, as in the future the
4035 menu will no longer call gtk_widget_show() on the added items.
4037 * src/hildon-app-menu.c:
4038 Update example as explained above.
4040 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-app-menu.c
4043 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4044 Make sure that all menu items have finger height.
4046 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4048 * src/hildon-picker-dialog.c:
4049 (_on_dialog_response), (_save_current_selection),
4050 (_restore_current_selection), (_clean_current_selection),
4051 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4052 Defined new functions in order to save the current internal selector
4053 selection previous open the dialog, in case that the use cancel the
4054 interaction, so the widget restores the previous selection.
4056 Fixes: NB#92032 (In calendar application, date values in 'new event'
4059 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4061 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-button.c: Add a reference to the button examples in
4064 hildon-button-example.c
4066 * examples/hildon-button-example.c: Added examples of the most
4067 common button layouts.
4069 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-app-menu.c (hildon_app_menu_show)
4072 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4074 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4076 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4078 * src/hildon-picker-dialog.c:
4079 (hildon_picker_dialog_init): Initialize the signal id for
4080 HildonTouchSelector::columns-changed.
4081 (+on_selector_columns_changed): Set up the interaction mode everytime a
4082 column is added or removed from the HildonTouchSelector.
4083 (_hildon_picker_dialog_set_selector): Connect to
4084 HildonTouchSelector::columns-changed and keep track of it.
4086 Make sure to update the interaction mode of the dialog everytime a
4087 column is added or removed in the HildonTouchSelector.
4089 Fixes: NB#93228 (Done button is not shown always in listpicker)
4091 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4094 a new ::columns-changed signal.
4095 (hildon_touch_selector_append_column): Emit ::columns-changed.
4096 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4098 Add a ::columns-changed signal, emitted when the number of columns in a
4099 HildonTouchSelector changes.
4101 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4104 (_hildon_picker_dialog_set_selector): Factor out the code
4105 to set up the dialog interaction mode.
4107 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4110 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4111 to signal_changed_id.
4113 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4118 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4120 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4121 Updated the logical ids related to ampm format, as now it is required to
4122 show it correctly localized even on languages with no default
4123 abbreviations for am or pm
4124 (_check_am_pm_format): check correctly the 24h format gconf property
4126 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4128 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4130 * src/hildon-button.c: Documentation updates.
4132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4135 * src/hildon-caption.c: (hildon_caption_class_init):
4136 * src/hildon-color-button.c: (hildon_color_button_class_init):
4137 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4138 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4139 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4140 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4142 Remove deprecated GTK+ marshalers and replace them with the ones
4143 provided by GLib, for those available, add a marshaler for
4144 BOOLEAN:VOID, which is not available in GLib, and use it.
4146 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4149 the text from the previous column if there is no
4150 HildonTouchSelectorColumn::text-property set.
4152 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4154 * src/hildon-button.h
4155 * src/hildon-button.c (hildon_button_set_property)
4156 (hildon_button_get_property, hildon_button_class_init)
4157 (hildon_button_set_style, hildon_button_get_style):
4158 New "style" property to change the visual appearance of the
4161 * src/hildon-picker-button.c (hildon_picker_button_new):
4162 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4164 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4165 HildonButton look like PickerButton)
4167 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4170 column while building the default string.
4172 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4175 scroll indicator by default.
4177 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4179 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4181 * src/hildon-main.c: Fix the documentation for hildon_init()
4183 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4185 * doc/hildon-docs.sgml
4189 * src/hildon-window-stack-private.h
4190 * src/hildon-window-stack.h
4191 * src/hildon-window-stack.c:
4192 New HildonWindowStack object, that adds support for multiple
4193 stacks of windows per process.
4195 * src/hildon-stackable-window-private.h
4196 * src/hildon-stackable-window.h
4197 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4198 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4199 (hildon_stackable_window_show, hildon_stackable_window_hide)
4200 (hildon_stackable_window_class_init)
4201 (hildon_stackable_window_init):
4202 Use HildonWindowStack for stack management.
4204 * src/hildon-program.c (hildon_program_pop_window_stack)
4205 (hildon_program_peek_window_stack)
4206 (hildon_program_go_to_root_window):
4207 Add a fallback implementation to the deprecated functions using
4210 * examples/hildon-stackable-window-example.c:
4211 Use the new HildonWindowStack API.
4213 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-stackable-window-private.h
4216 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4217 (hildon_stackable_window_hide, hildon_stackable_window_init):
4218 Remove all window stack management.
4220 * src/hildon-program-private.h
4221 * src/hildon-program.h
4222 * src/hildon-program.c (hildon_program_init)
4223 (hildon_program_pop_window_stack)
4224 (hildon_program_peek_window_stack)
4225 (hildon_program_go_to_root_window):
4226 Remove all window stack management and mark functions as
4229 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-app-menu.c (hildon_app_menu_realize):
4232 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4234 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4236 * configure.ac: post release version bump
4237 * debian/changelog: version bump
4239 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4244 * configure.ac: bump version
4245 * debian/changelog: updates
4247 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4249 Based on initial code by Christian Dywan (christian@imendio.com)
4251 * doc/hildon-docs.sgml: Add section for hildon-main.
4252 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4253 * src/Makefile.am: Add new hildon-main.[ch]
4254 * src/hildon-defines.h: Update the icon sizes.
4255 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4256 new library initialization files and register icon sizes.
4257 * src/hildon-main.h: New declarations.
4258 * src/hildon.h: Include hildon-main.h
4260 Add new initialization functions to the library. These methods
4261 will register the hildon specific icon sizes and can be used in the
4262 future for other hildon specific bits.
4264 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4266 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4268 * src/hildon-window.c: (hildon_window_realize),
4269 (hildon_window_notify), (-hildon_window_update_title): Do not set
4270 the application name in the window title.
4272 Fixes: NB#89754 (Applications shouldn't display their names in the
4275 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4277 * src/hildon-note-private.h:
4278 * src/hildon-note.c: (hildon_note_set_property),
4279 (hildon_note_get_property), (hildon_note_class_init),
4280 (hildon_note_init), (hildon_note_finalize),
4281 (hildon_note_new_confirmation_with_icon_name),
4282 (hildon_note_new_information_with_icon_name):
4284 No need to mark as deprecated the actual code. Revert
4285 to avoid missing symbols in widgets using deprecated API.
4287 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4289 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4291 * src/hildon-volumebar.h
4292 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4293 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4295 * src/hildon-helper.h
4296 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4297 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4299 * examples/Makefile.am:
4300 Deprecate hildon-insensitive-example
4302 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4304 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4306 * examples/hildon-pannable-area-buttons-scroll-example.c:
4307 Make all buttons finger height
4309 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4311 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4313 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4314 update the day model only if it is really required, and to avoid the
4315 full-reconstruction aproach. Now it only add or remove the required days.
4317 The purpose of this is avoid superfluous HildonTouchSelector::changed
4320 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4321 with strange parameters)
4323 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4325 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4327 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4328 the WINDOW_TYPE property.
4330 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4332 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4335 Fix dependency to allow parallel compilation with make -jX
4337 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4340 color frame and some minor tweaks to make it more consistent with
4343 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4344 highlighted but not visible)
4346 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4348 * examples/Makefile.am: Fixed typo in the Makefile.am.
4350 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4352 Reviewed the use of MAEMO_GTK define, now we add the define in the
4353 compilation line, and we also add it to the pc file.
4355 * configure.ac: Added MAEMO_GTK define to the compilation command
4356 and removed it from the config.h.
4358 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4359 do not have to take care about this define if the library was
4363 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4365 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4367 * examples/Makefile.am,
4368 * examples/hildon-pannable-area-buttons-scroll-example.c,
4369 * examples/hildon-pannable-area-gesture-signals-example.c,
4370 * examples/hildon-pannable-area-scroll-jump-example.c,
4371 * examples/hildon-pannable-area-tree-view-example.c:
4372 Renamed the pannable area examples, now they have more meaningful
4375 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4377 * src/hildon-touch-selector.c:
4378 (hildon_touch_selector_set_column_selection_mode): Used of
4379 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4380 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4381 to avoid re-seting the same selection mode.
4383 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4384 breaks HildonPickerDialog)
4386 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4388 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4389 conditional in the Makefile.am
4391 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4394 Remove unused methods.
4396 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-button.c (hildon_button_init):
4399 Make button images center-aligned by default
4401 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4404 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4405 activated, we have to think about how to deal with both defines
4406 MAEMO_GTK and MAEMO_CHANGES.
4408 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4410 * examples/hildon-app-menu-example.c (create_menu): Make all
4411 buttons finger size.
4413 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4415 Fixed the compilation without maemo gtk adding ifdefs with
4416 MAEMO_GTK define to the code, we have to check this version more
4419 * examples/Makefile.am: Added control to avoid some examples that
4420 just make sense with maemo gtk.
4423 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4424 hildon modes with the define.
4426 * examples/hildon-edit-toolbar-example.c,
4427 (create_icon_view): Create the icon view without hildon-gtk
4428 helpers if we are not using maemo gtk.
4430 * src/hildon-touch-selector.c,
4431 (_create_new_column): Create the treeview without hildon-gtk
4432 helpers if we are not using maemo gtk.
4434 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4436 * src/hildon-pnnable-area.c,
4437 (hildon_pannable_area_dispose),
4438 (hildon_pannable_area_button_press_cb),
4439 (hildon_pannable_area_child_mapped),
4440 (hildon_pannable_area_add),
4441 (hildon_pannable_area_remove): Added code to control the position
4442 of the event_window when adding and removing children from the
4443 pannable. We have to raise the event window when the child is
4446 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4447 selection mode using custom widget inside pannable)
4449 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4451 * configure.ac: post release version bump
4452 * debian/changelog: version bump
4454 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4459 * configure.ac: bump version
4460 * debian/changelog: updates
4462 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4464 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4465 search mode, in order to avoid lose the focus on the treeview when
4466 a hw key (like enter) is pressed.
4468 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4469 in HildonDateSelector dialog)
4471 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4473 * debian/rules: Added --enable-maintainer-mode
4474 * Makefile.am: Added ACLOCAL_AMFLAGS
4476 This allows to properly regenerate the Makefiles if you modify the
4477 configure.ac or any Makefile.am.
4479 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4481 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4482 properties, not needed at all.
4484 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4488 * src/hildon-note.c: (hildon_note_set_property),
4489 (hildon_note_get_property), (hildon_note_class_init),
4490 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4491 (hildon_note_new_confirmation_add_buttons): Remove icons.
4492 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4493 (hildon_note_new_information_with_icon_name): Deprecate.
4494 (hildon_note_new_confirmation): Act directly, without calling
4495 the deprecated constructor.
4496 (hildon_note_new_information): Act directly, without calling
4497 the deprecated constructor.
4498 * src/hildon-note.h: Mark deprecate methods as such.
4499 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4500 not run tests on the deprecated methods if built with deprecation
4503 Fixes: NB#91688 (Never show icons in information notes/confirmation
4506 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4509 (hildon_app_menu_key_press): Remove leftover usage of the
4510 private structure in HildonAppMenu struct.
4511 * src/hildon-app-menu.h: Remove leftover private structure
4512 from the HildonAppMenu struct.
4514 Fixes a crasher when using the HildonAppMenu.
4516 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-picker-dialog.c: Use appropriate logical id
4519 for the default "Done" text.
4521 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4523 * configure.ac: post release version bump
4524 * debian/changelog: version bump
4526 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4528 Modified the way to scroll to the current selection just when the touch
4529 selector is shown on the screen, avoiding a g_idle. Added too a property
4530 to configure this behaviour. See hildon_pannable_area_jump_to_child
4531 documentation for more information.
4533 * src/hildon-touch-selector.c
4534 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4535 Added 'initial-scroll' property
4536 (hildon_touch_selector_set_property): Added
4537 (hildon_touch_selector_map): Removed as not required anymore
4538 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4539 only a concrete column, instead of iterate along all the columns
4541 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4546 * configure.ac: bump version
4547 * debian/changelog: updates
4549 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4552 compilation time warnings.
4554 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4556 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4557 the default value for HildonPannableArea::mov-mode to
4558 HILDON_PANNABLE_AREA_MODE_VERT.
4560 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4562 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4564 Reverting following commit:
4566 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4568 * src/hildon-app-menu-private.h
4569 * src/hildon-app-menu.[ch]
4570 * src/hildon-button.[ch]
4571 * src/hildon-check-button.[ch]
4572 * src/hildon-entry.[ch]
4573 * src/hildon-pannable-area.[ch]
4574 * src/hildon-text-view.[ch]:
4575 Added private field to the object's structure.
4577 because it causes an ABI breakage. We will need to introduce these
4578 changes later at some point. See NB#91636 for an extensive
4579 explanation and status.
4581 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4583 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4585 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4586 remove special cases that are no longer necessary.
4588 Fixes: NB#91016 (Change toolbar sizes, simplification)
4590 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4593 is shown in the cancel note.
4595 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4597 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4598 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4599 (hildon_seekbar_init): Remove steppers, remove expose event.
4600 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4602 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4604 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4606 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4607 label font to "SmallSystemFont" for vertically arranged buttons.
4609 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4612 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4614 * src/hildon-check-button.c
4615 (hildon_check_button_set_active, hildon_check_button_clicked):
4616 Don't access private parts directly, use getters instead.
4618 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4620 * src/hildon-check-button.c (hildon_check_button_new):
4621 Align the contents of the check button to the left.
4623 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4625 * src/hildon-pannable-area.c,
4626 (hildon_pannable_area_scroll_to),
4627 (hildon_pannable_area_jump_to),
4628 (hildon_pannable_area_scroll_to_child),
4629 (hildon_pannable_area_jump_to_child): Replace the mapped
4630 precondition of these functions with the realized, it is the
4631 correct state of the widget in this case. Changed the
4632 documentation according to this modification.
4634 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4636 Added a new EXTRA_CFLAGS option to add the deprecated define to
4637 the compilation command. This way we can avoid using the define in
4638 the documentation compilation.
4640 * configure.ac: Defined EXTRA_CFLAGS.
4642 * examples/Makefile.am:
4644 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4646 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4648 * src/hildon-picker-dialog.c:
4649 Defined a utility macro with the desired touch selector height
4650 Removed currently unused separator, and title_label variables from
4652 (hildon_picker_dialog_init): Removed code related to the creation
4653 of unused private variables title_label and separator.
4654 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4655 to ensure correct visualization of the touch selector inside the dialog.
4656 * src/hildon-touch-selector.c
4657 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4658 ensure a concrete height of the widget.
4660 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4663 * tests/Makefile.am:
4665 Remove spurious whitespaces.
4667 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4670 compilation warning after the cancel button removal.
4672 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4674 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4676 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4677 Makefile.am, that way we can choose not to compile some examples
4678 and tests of the deprecated widgets.
4680 * examples/Makefile.am: Divided the sources in deprecated and
4683 * src/Makefile.am: Added undef statement of the deprecated
4684 symbol to the enums file generation process.
4686 * src/hildon-color-chooser-dialog.c
4687 * src/hildon-color-chooser-dialog.h
4688 * src/hildon-color-button.c
4689 * src/hildon-color-button.h
4690 * src/hildon-color-chooser.c
4691 * src/hildon-color-chooser.h
4692 * src/hildon-controlbar.c
4693 * src/hildon-controlbar.h
4694 * src/hildon-date-editor.c
4695 * src/hildon-date-editor.h
4696 * src/hildon-hvolumebar.c
4697 * src/hildon-hvolumebar.h
4698 * src/hildon-private.c
4699 * src/hildon-private.h
4700 * src/hildon-range-editor.c
4701 * src/hildon-range-editor.h
4702 * src/hildon-seekbar.c
4703 * src/hildon-seekbar.h
4704 * src/hildon-time-editor.c
4705 * src/hildon-time-editor.h
4706 * src/hildon-time-picker.c
4707 * src/hildon-time-picker.h
4708 * src/hildon-volumebar.c
4709 * src/hildon-volumebar.h
4710 * src/hildon-vvolumebar.c
4711 * src/hildon-vvolumebar.h
4712 * src/hildon-bread-crumb-trail.h
4713 * src/hildon-bread-crumb-trail.c
4714 * src/hildon-calendar-popup.c
4715 * src/hildon-calendar-popup.h
4716 * src/hildon-weekday-picker.c:
4717 * src/hildon-weekday-picker.h:
4718 * src/hildon-bread-crumb-widget.c:
4719 * src/hildon-bread-crumb-widget.h:
4720 * src/hildon-bread-crumb.c:
4721 * src/hildon-bread-crumb.h:
4722 * src/hildon-calendar.c:
4723 * src/hildon-calendar.h:
4724 * src/hildon-caption.c:
4725 * src/hildon-code-dialog.c:
4726 * src/hildon-code-dialog.h:
4727 * src/hildon-font-selection-dialog.c:
4728 * src/hildon-font-selection-dialog.h:
4729 * src/hildon-get-password-dialog.c:
4730 * src/hildon-get-password-dialog.h:
4731 * src/hildon-login-dialog.c:
4732 * src/hildon-login-dialog.h:
4733 * src/hildon-number-editor.c:
4734 * src/hildon-number-editor.h:
4735 * src/hildon-set-password-dialog.c:
4736 * src/hildon-set-password-dialog.h:
4737 * src/hildon-sort-dialog.c:
4738 * src/hildon-sort-dialog.h: This is the list of deprecated
4741 * src/hildon-touch-selector.c:
4742 * src/hildon-window.c: Added undef statement to avoid compilation
4745 * tests/Makefile.am: Divided the sources in deprecated and
4748 * tests/check_test.c,
4749 (configure_tests): Marked the deprecated code that was adding
4750 suites with deprecated tests.
4752 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4754 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-touch-selector.c: (_default_print_func): Do not
4757 duplicate a string returned by gtk_tree_model_get(), it is already
4760 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4763 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4765 * src/hildon-pannable-area.c
4766 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4767 method, it had problems when adding a widget with viewport the
4768 second time. Now checks if it already has a viewport and uses it.
4770 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4773 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4775 * src/hildon-pannable-area.c,
4776 (hildon_pannable_area_scroll_to),
4777 (hildon_pannable_area_jump_to),
4778 (hildon_pannable_area_scroll_to_child),
4779 (hildon_pannable_area_jump_to_child): Added a precondition to the
4780 scroll and jump to functions: the widget must be mapped before we
4781 can safely call these functions. We have also added documentation
4782 to the functions to explain how to use them in this situation.
4785 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4787 Reviewed the threading handling of the pannable widget, we have
4788 used the gdk_threads_add_timeout function instead of the usual
4789 glib handlers. This avoids some problems with the threads.
4791 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4792 (hildon_pannable_area_initial_effect),
4793 (hildon_pannable_area_scroll_indicator_fade),
4794 (hildon_pannable_area_button_press_cb),
4795 (hildon_pannable_area_timeout),
4796 (hildon_pannable_area_motion_notify_cb),
4797 (hildon_pannable_area_button_release_cb),
4798 (hildon_pannable_area_scroll_cb),
4799 (hildon_pannable_area_scroll_to): Removed the
4800 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4801 gdk_threads_add_timeout.
4803 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4805 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4810 * configure.ac: bump version
4811 * debian/changelog: updates
4813 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4815 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4816 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4817 * src/hildon-color-chooser-dialog.c:
4818 (hildon_color_chooser_dialog_init):
4819 * src/hildon-font-selection-dialog.c:
4820 (hildon_font_selection_dialog_init):
4821 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4823 Remove all cancel/close-like dialogs, as these are not going to be
4826 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-note.c: (hildon_note_rebuild),
4829 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4832 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4834 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4837 sure all buttons are shown, even the Cancel/Close-like ones.
4839 Fixes: NB#90861 (Custom Confirmation dialogs should be
4840 protected from cancel button removal)
4842 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4844 * debian/control: Change libhildon1-examples dependency from libhildon1
4846 * debian/libhildon1-examples.install
4848 * Makefile.am: Modified the final install directory for the examples on
4849 package libhildon1-examples
4850 * Makefile.static: Update clean target in order to remove all the binary
4853 Changes suggested by Claudio after review new libhildon1-examples package
4855 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4858 * src/hildon-touch-selector.c: Ditto.
4860 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4862 * debian/control: Added new package libhildon1-examples, in order to pack
4863 the current hildon examples as documentation
4864 * debian/rules: Not to compress .c files, modify some includes on the
4865 examples (as normally are compiled locally, but when installed it will
4866 require to include the installed libhildon1 library), and rename
4868 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4869 install all the example files on the new example package
4870 * examples/Makefile.static: Added static makefile that can be used to
4871 compile the examples, once installed the new example package
4872 * examples: Most of the examples were modified in order to grant that
4873 all use only '#include "hildon.h"', in order to be easy to prepare
4874 it on the example package
4876 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4879 * debian/libhildon1-dev.install
4880 * debian/libhildon1-doc.install:
4881 Move all gtk-doc files to a separate libhildon1-doc package.
4883 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4885 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4889 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4891 * debian/rules: Fixed a error in order to avoid unnecessary calls
4892 to autogen.sh on package building
4894 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4896 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4898 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4900 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4903 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-picker-button.c
4906 (hildon_picker_button_finalize):
4907 Free priv->done_button_text
4909 * src/hildon-time-button.c
4910 (hildon_time_button_set_time)
4911 * src/hildon-picker-button.c
4912 (hildon_picker_button_clicked)
4913 (hildon_picker_button_selector_selection_changed)
4914 (hildon_picker_button_set_selector)
4915 * src/hildon-date-button.c
4916 (hildon_date_button_set_date):
4917 Free strings returned by hildon_touch_selector_get_current_text()
4919 * src/hildon-button.c (hildon_button_construct_child):
4920 Fix leaks in priv->image and priv->label_box
4922 Fixes: NB#90535 (Memory leak in picker button)
4924 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-button.c: (hildon_button_get_property): Do not access
4927 private elements directly, use getters instead.
4929 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4931 * src/hildon-app-menu-private.h
4932 * src/hildon-app-menu.c
4933 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4934 Store the menu's parent window.
4936 * src/hildon-stackable-window.c
4937 (hildon_stackable_window_toggle_menu)
4938 (hildon_stackable_window_finalize):
4939 Set the menu's parent window when the menu is shown, unset it when
4942 * src/hildon-app-menu.c
4943 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4944 (hildon_app_menu_class_init):
4945 Send unhandled keyboard accelerators to the parent window.
4947 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-stackable-window.c
4950 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4952 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4954 * configure.ac: post release version bump
4956 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4959 * configure.ac: Bump version
4960 * debian/changelog: Updates
4961 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4964 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4966 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4969 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4970 GtkMenu with Hildon style.
4972 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-picker-button.c:
4975 (hildon_picker_button_set_done_button_text): Set the dialog's
4976 done button text here as well.
4978 Fixes: NB#90232 (Picker button does not set the label on done button
4979 for the second time)
4981 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4983 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4986 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4988 * src/hildon-app-menu.c (hildon_app_menu_insert)
4989 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4990 the HildonAppMenu to be activatable using keyboard accelerators
4991 when the menu is not being shown.
4993 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4995 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4997 * src/hildon-stackable-window.c
4998 (hildon_stackable_window_show):
4999 Don't hide old windows automatically when new windows are shown:
5000 this is now a task for the window manager.
5001 (hildon_stackable_window_class_init)
5002 (hildon_stackable_window_hide):
5003 Remove windows from the stack everytime they're hidden.
5004 (hildon_stackable_window_realize):
5005 Don't change the _NET_WM_WINDOW_TYPE property. Use
5006 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5007 it as a stackable window.
5009 * src/hildon-program.c
5010 (hildon_program_pop_window_stack):
5011 Just hide the window to remove it from the stack.
5012 (hildon_program_go_to_root_window):
5013 Don't call gtk_widget_show(), this is now a task for the window
5016 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5018 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-button.c
5021 (hildon_button_construct_child):
5022 Don't pack anything in the button until text or image are
5023 set. This allows adding a custom child after creating the button
5024 with hildon_button_new().
5025 (hildon_button_finalize, hildon_button_class_init)
5026 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5027 alignment and the label box even when they're not packed in the
5030 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5032 * src/hildon-touch-selector.h:
5033 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5034 currently the type definition was using GTK_TYPE_VBOX
5035 * src/hildon-touch-selector.c:
5036 Added some implementation notes in order to clarify that any other widget
5037 added without the column related API will not be included on the
5038 selection logic, and how the widget is freed, as some people ask about
5040 (hildon_touch_selector_remove): Reimplemented in order to free properly
5041 the column related data when you remove the private hbox.
5042 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5043 to get a proper HildonTouchSelectorColumn documentation
5045 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5047 * src/hildon-touch-selector-entry.c:
5048 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5049 text in the GtkEntry and there is no item selected. Fixes a
5052 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5054 * src/hildon-app-menu-private.h
5055 * src/hildon-app-menu.[ch]
5056 * src/hildon-button.[ch]
5057 * src/hildon-check-button.[ch]
5058 * src/hildon-entry.[ch]
5059 * src/hildon-pannable-area.[ch]
5060 * src/hildon-text-view.[ch]:
5061 Added private field to the object's structure.
5063 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5065 * configure.ac: post-release version bump
5067 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5071 * configure.ac: pre-release version bump
5073 * debian/changelog: updates.
5075 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5077 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5078 Disconnect the handler for HildonTouchSelector::changed.
5080 (hildon_picker_button_selector_selection_changed): Update the button
5081 value if the selection change was not triggered by the
5084 (hildon_picker_button_set_selector): connect to
5085 HildonTouchSelector::changed.
5087 Fixes: NB#89650 (Picker button is not updated, when selection in
5088 selector has changed)
5090 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5092 * src/hildon-picker-dialog.c
5093 (hildon_picker_dialog_realize): Removed as not required
5094 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5095 * src/hildon-picker-button.c
5096 (_current_selector_empty): New function, checks if the selector is empty
5097 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5098 if the current selector is empty, in order to avoid to show the dialog
5099 close the dialog in this case (and shows a g_warning).
5101 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5103 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5105 * src/hildon-pannable-area.c,
5106 (hildon_pannable_area_scroll): Added clause to stop movement when
5107 the child of pannable is smaller than one page.
5108 (hildon_pannable_area_scroll_to): Added conditions to avoid
5109 starting the scrolling movement if the child is smaller than one
5110 page, the complete child is in the screen, we do not have to move.
5112 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5114 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5117 this is managed automatically by the widget when the size of the
5120 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-picker-button.c
5123 (hildon_picker_button_set_done_button_text): Make a copy of the
5124 text, and free the previous value.
5126 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-touch-selector-entry.c:
5129 (hildon_touch_selector_entry_print_func): Return the selected row's
5130 text if the entry is empty.
5132 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5135 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5139 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5142 * src/hildon-check-button.h
5143 * src/hildon-check-button.c
5144 * examples/hildon-check-button-example.c:
5145 HildonCheckButton is now a new widget. 'toggled' signal added.
5147 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-program-private.h
5150 * src/hildon-program.c (hildon_program_init)
5151 (hildon_program_finalize): Removed unused variables group_leader
5152 and name from HildonProgramPrivate.
5154 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5156 * src/hildon-check-button.c (hildon_check_button_set_active)
5157 (hildon_check_button_get_active, hildon_check_button_new): Use
5158 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5160 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5162 * src/hildon-touch-selector.h
5163 (hildon_touch_selector_set_column_attributes): added deprecation
5164 guard HILDON_DISABLE_DEPRECATED
5165 * src/hildon-time-selector.c
5166 (hildon_time_selector_set_time)
5167 (hildon_time_selector_get_time): Fixed a typo on documentation
5168 * src/hildon-touch-selector.c: update HildonTouchSelector and
5169 HildonTouchSelectorColumn documentation
5170 * src/hildon-touch-selector-entry.c: update "text-column" property
5172 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5173 to be added to the general documentation.
5175 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5177 * examples/hildon-pannable-area-example-4.c,
5179 * examples/hildon-pannable-area-example.c,
5180 (main): Modified the code in order to use the container add, with
5181 viewport treeviews could have problems if they are really big.
5183 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5185 * src/hildon-weekday-picker.c,
5186 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5187 the agreement regarding deprecation in the library.
5189 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5191 * examples/hildon-picker-button-multicolumn-example.c:
5192 (main): Use custom "done" button text.
5194 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5195 (hildon_picker_button_set_property),
5196 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5197 (hildon_picker_button_init),
5198 (+hildon_picker_button_get_done_button_text),
5199 (+hildon_picker_button_set_done_button_text): New methods to customize
5200 the "done" button label in the launched HildonPickerDialog. Also,
5203 * src/hildon-picker-button.h: add the public API.
5205 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-date-selector.h:
5208 * src/hildon-picker-dialog.h:
5209 * src/hildon-time-selector.h:
5210 * src/hildon-touch-selector-column.h:
5211 * src/hildon-touch-selector.h:
5213 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5214 declarations. Fixes gtk-doc warnings.
5216 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-picker-dialog.h
5219 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5220 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5222 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5223 long text is set as label for done button)
5225 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-dialog.c (hildon_dialog_add_button):
5228 Set fixed width to all buttons in the HildonDialog.
5230 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5232 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5234 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5235 Set widget name using class name plus "-finger" or "-thumb".
5237 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5239 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5240 'clicked' when the state of the button is manually changed.
5242 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5244 * src/hildon-app-menu.c (hildon_app_menu_realize)
5245 (hildon_app_menu_unrealize, hildon_app_menu_init)
5246 (hildon_app_menu_class_init, item_visibility_changed):
5247 Change the menu layout when the size of the screen changes.
5248 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5249 Show warning only when changing the number of colums using the
5252 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5254 * debian/compat: Set to 5
5255 * debian/control: Update dependencies.
5256 * debian/libhildon1-dbg.install: Remove.
5257 * debian/libhildon1-dev.install: Update according to cdbs paths.
5258 * debian/libhildon1.install: Update according to cdbs paths.
5259 * debian/rules: Switch to cdbs.
5261 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5264 'item' variable renamed to 'filter'
5266 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-app-menu.c (hildon_app_menu_insert)
5269 (hildon_app_menu_add_filter, remove_item_from_list)
5270 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5271 Don't leak hidden items when the menu is destroyed.
5273 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-app-menu.c (hildon_app_menu_insert)
5276 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5277 (hildon_app_menu_set_columns, item_visibility_changed)
5278 (filter_visibility_changed, hildon_app_menu_repack_filters)
5279 (hildon_app_menu_repack_items):
5280 Repack items and filters separately.
5282 Don't repack all items, change only the ones that are needed to
5285 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5287 * src/Makefile.am: added hildon-touch-selector-column.h
5289 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5291 * src/hildon-touch-selector.c: added the property "text-column" to the
5292 class HildonTouchSelectorColumn, and related get/set functions
5293 (_default_printf_func): updated to use "text-column" property
5294 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5295 "text-column" in his documentation, as this is now included on
5296 HildonTouchSelectorColumn. The get/set_property can still be used,
5297 working as a wrapper to the concrete column "text-column" property
5298 (_text_column_modified): callback added in order to handle the signal
5299 "notify::text-column" of the concrete HildonTouchSelectorColumn
5300 (hildon_touch_selector_entry_get_text_column)
5301 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5302 modified in order to use the HildonTouchSelectorColumn "text-column"
5304 * src/hildon-time-selector.c:
5305 * src/hildon-date-selector.c:
5306 * examples/hildon-touch-selector-example.c
5307 * examples/hildon-touch-selector-multi-cells-example.c
5308 * examples/hildon-picker-button-multicolumn-example.c
5309 Set the right value to "text-column" property on the creation of a new
5310 column using hildon_touch_selector_append_column()
5312 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5314 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5316 * src/hildon-app-menu.c
5317 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5318 updating the layout of the menu, don't create all widgets again,
5319 just repack the items in their new places.
5321 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5323 * src/hildon-time-selector.c
5324 (hildon_time_selector_get_time)
5325 (hildon_time_selector_set_time)
5326 Added documentation of these public methods
5328 * src/hildon-date-button.h
5329 * src/hildon-touch-selector-column.h
5330 * src/hildon-time-button.h
5331 * src/hildon-picker-dialog.h
5332 * src/hildon-time-selector.h
5333 * src/hildon-picker-button.h
5334 * src/hildon-touch-selector.h
5335 * src/hildon-time-picker.h
5336 * src/hildon-date-selector.h
5337 * src/hildon-touch-selector-entry.h
5338 Modified in order to use hildon-widgets code style
5340 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5342 Added deprecated support to the compilation process using
5343 HILDON_DISABLE_DEPRECATED
5345 * configure.ac: Added the --disable-deprecated to the configure
5348 * src/hildon-weekday-picker.c:
5349 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5350 to use the deprecated support. We will update the other deprecated
5351 widgets status in a new patch.
5353 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5355 * configure.ac: Fixed typo with fatal warnings support, the
5356 variable name was not correct
5358 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-app-menu.c
5361 * src/hildon-program.c: Update documentation.
5363 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5365 * configure.ac: Post-release version bump.
5367 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5372 * configure.ac: Pre-release version bump.
5373 * debian/changelog: Updates.
5375 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5377 * NEWS: Update news for previous releases.
5379 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5381 * examples/hildon-touch-selector-multi-cells-example.c:
5382 (create_selector): Update the example to use
5383 hildon_touch_selector_append_column() with a NULL renderer and set
5384 the renderers later.
5385 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5386 passed a NULL renderer. This is documented behavior now.
5388 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5389 This must be used if the developer wants full control on the layout of
5390 the renderers to be added to the column.
5392 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5394 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5396 * src/hildon-touch-selector.c: Documentation fixes.
5398 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5400 * src/hildon-wizard-dialog-private.h: Remove image and box.
5401 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5402 (hildon_wizard_dialog_set_property), (response): Completely remove
5403 image/icon support, and the containers required for the layout.
5405 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5407 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-app-menu.c: Updated documentation.
5411 * src/hildon-stackable-window.c
5412 (hildon_stackable_window_set_main_menu): Unref the old menu after
5413 ref'ing the new one.
5415 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-stackable-window.c
5418 (hildon_stackable_window_set_main_menu): Unref the previous menu
5419 instead of destroying it.
5421 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5422 floating reference and set has_user_ref_count to FALSE to make
5423 HildonAppMenu act like a normal ref-counted widget and not a
5426 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5429 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5431 * src/hildon-touch-selector-column.h: new file
5432 * src/hildon-touch-selector.h
5433 * src/hildon-touch-selector.c
5434 Implemented GtkCellLayout interface, in order to allow to configure
5435 the cell layout on each individual selector column
5436 (hildon_touch_selector_set_column_attributes): marked as deprecated
5437 * examples/hildon-touch-selector-multi-cells-example.c
5438 Example of how to use the GtkCellLayout interface on the selector
5440 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5442 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-app-menu.h
5445 * src/hildon-app-menu.c
5446 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5447 (hildon_app_menu_append, hildon_app_menu_prepend):
5448 New methods to prepend, insert and move items in the menu.
5450 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5452 * src/hildon-wizard-dialog.c:
5454 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5456 (create_title): Update logical IDs and related code.
5457 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5459 * src/hildon-wizard-dialog.h: Note that
5460 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5461 point, as it is not used anymore.
5463 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5465 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-note.c:
5468 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5469 shown. Do not display an icon in confirmation notes nor information
5471 (hildon_note_set_button_text): Update logical ID for cancel button.
5473 Fixes: NB#88850 (Update HildonNote button strings + signals)
5475 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-stackable-window.c
5478 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5480 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-app-menu-private.h
5483 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5484 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5485 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5486 temporary property 'columns' to change the number of columns.
5488 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5490 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5492 * examples/hildon-note-example.c: (on_information_clicked),
5493 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5494 debugging information.
5495 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5497 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5498 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5499 in order to close: this will be handled by the WM from now on.
5501 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5503 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-app-menu-private.h
5506 * src/hildon-app-menu.c
5507 (hildon_app_menu_append, hildon_app_menu_add_filter)
5508 (button_visibility_changed, hildon_app_menu_apply_style)
5509 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5510 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5511 layout everytime a button (item or filter) is shown or hidden.
5513 * src/hildon-stackable-window.c
5514 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5517 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5519 * src/hildon-touch-selector.c:
5520 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5521 that the treeview inside the touch selector is in fremantle hildon mode
5522 * examples/hildon-date-button-example.c
5523 * examples/hildon-picker-button-multicolumn-example.c
5524 * examples/hildon-touch-selector-entry-example.c
5525 * examples/hildon-touch-selector-example.c
5526 * examples/hildon-time-button-example.c
5527 * examples/hildon-picker-button-example.c:
5528 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5530 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5532 * examples/hildon-text-view-example.c: (main): Remove the
5533 gtkrc bits, now handled by the theme.
5535 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5540 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5542 * po/Makefile.am: Install properly the mo files.
5543 * po/en_GB.po: Update translation, to ease testing purposes.
5545 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5547 * examples/hildon-picker-button-example.c: (main): Select an item
5548 in the selector before setting it to the button.
5550 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5553 Update button's value if the selector has an item active.
5555 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5556 'value' with the selector)
5558 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5561 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5562 (hildon_picker_button_class_init): Plug the finalize method.
5563 (hildon_picker_button_set_selector): If there's a previously set
5564 selector, unref'it before setting a new one.
5566 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5567 HildonTouchSelector)
5569 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5571 * src/hildon-touch-selector-entry.c:
5572 (hildon_touch_selector_entry_changed): Check if there is no text
5573 selected before setting the entry text.
5576 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5578 * src/hildon-touch-selector.h
5579 * src/hildon-touch-selector.c
5580 (hildon_touch_selector_get_active)
5581 (hildon_touch_selector_set_active): New methods to set/get the
5582 index of the selected item.
5584 * src/hildon-picker-button.h
5585 * src/hildon-picker-button.c
5586 (hildon_picker_button_get_active)
5587 (hildon_picker_button_set_active): New methods to set/get the
5588 index of the selected item.
5590 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5592 * configure.ac: post-release version bump.
5594 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5598 * configure.ac: Pre-release version bump.
5599 * debian/changelog: Updates.
5600 * debian/control: Add myself as maintainer and depend on l10n
5603 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-window.c
5606 (hildon_window_set_main_menu)
5607 * src/hildon-stackable-window.c
5608 (hildon_stackable_window_set_main_menu):
5609 Updated documentation.
5611 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5613 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5614 Don't free selector->priv manually.
5617 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5620 (hildon_gtk_window_set_progress_indicator):
5621 * src/hildon-gtk.h: Added the new API
5622 hildon_gtk_window_set_progress_indicator, it changes the state of
5623 the window progress hint.
5625 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-button.c
5628 * src/hildon-stackable-window.c: Minor documentation updates.
5630 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-stackable-window.c: Updated documentation.
5634 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5636 * src/hildon-defines.h: Update margins definitions
5637 to the Fremantle sizes.
5640 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5642 * src/hildon-touch-selector.c,
5643 (_hildon_touch_selector_set_model): Cleaning the code after
5644 review, removed g_print and #if 0 from the code.
5646 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-edit-toolbar.c: Update documentation.
5650 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-check-button.h
5653 * src/hildon-check-button.c
5654 (hildon_check_button_set_label, hildon_check_button_get_label)
5655 * examples/hildon-check-button-example.c
5656 (button_clicked_cb):
5657 Removed deprecated methods.
5659 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-text-view.c:
5662 Add sample code to the documentation.
5664 * src/hildon-entry.h
5665 * src/hildon-text-view.h:
5666 Minor cosmetic changes.
5668 * src/hildon-entry.c:
5669 Add sample code to the documentation.
5670 (hildon_entry_init, hildon_entry_refresh_contents):
5671 Don't allow NULL values in the placeholder.
5673 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5675 * doc/hildon-docs.sgml
5677 * examples/Makefile.am
5678 * examples/hildon-text-view-example.c
5680 * src/hildon-text-view.c
5681 * src/hildon-text-view.h
5683 New HildonTextView widget, with example.
5685 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5687 * po/POTFILES.in: Add missing files with translatable strings.
5688 Partially fixes NB#88287.
5690 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5692 * examples/hildon-pannable-area-example-2.c: (main): No need to
5693 set the cellrenderer height inside hildon touch lists, the theme does
5696 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5698 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5699 they are integrated in the theme.
5701 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5703 * examples/hildon-entry-example.c: Update the example adding
5704 widgets to modify the text and the placeholder of the HildonEntry.
5706 * src/hildon-entry.c: Show the placeholder everytime the widget
5707 is empty and loses the focus.
5709 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5711 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5713 * src/hildon-pannable-area.c,
5714 (hildon_pannable_area_size_request): Fixed bug in height
5715 requisition, avoid increasing size and add border twice.
5717 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5719 * configure.ac: postrelease version bump.
5721 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5725 * configure.ac: Prerelease version bump.
5726 * debian/changelog: update.
5727 * debian/rules: make -dbg package contain useful debugging symbols.
5729 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5731 * src/hildon-dialog.h
5732 * src/hildon-dialog.c
5733 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5734 New methods to add buttons with finger size.
5735 (hildon_dialog_new_with_buttons):
5736 Create buttons with finger size.
5738 * examples/hildon-dialog-example.c (main): Use HildonDialog
5739 methods to add buttons.
5741 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-entry.c: Updated HildonButton documentation.
5745 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5747 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5748 button value label with (FALSE, FALSE) to prevent NB#88126 from
5751 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5753 * examples/hildon-pannable-area-example.c,
5754 (main): Removed examples panning a vbox inside a pannable
5755 area. Check bug NB#87965
5757 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5759 Patch contributed by Kris Rietveld (kris@imendio.com)
5761 * src/hildon-pannable-area.c,
5762 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5763 get_size and get_position, this saves an X server roundtrip.
5765 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5767 * doc/hildon-docs.sgml
5769 * examples/Makefile.am
5770 * examples/hildon-entry-example.c
5772 * src/hildon-entry.c
5773 * src/hildon-entry.h
5775 New HildonEntry widget, with example.
5777 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-button.c (hildon_button_construct_child): Pack the
5780 image with expand == fill == FALSE. This is a workaround for a bug
5783 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5785 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5786 labels for the text column, to make it more look more dynamic.
5788 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5790 * src/hildon-time-selector.c
5791 Define gettext auxiliar macro N_
5792 (_create_minutes_model)
5793 (_create_hours_model)
5794 (_create_ampm_model): use of strftime in order to fill the model
5795 * src/hildon-date-selector.c
5796 (hildon_date_selector_finalize):
5797 (_locales_init): remove the logic related to get the name of the months
5798 using nl_langinfo, as it is not required anymore
5800 (_create_year_model)
5801 (_create_month_model)
5802 (_update_day_model): use of strftime in order to fill the model properly
5805 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5807 * src/hildon-button.h
5808 * src/hildon-button.c (hildon_button_get_image): New method to
5811 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5813 * src/hildon-touch-selector.c:
5814 (hildon_touch_selector_remove_column): Remove from the correct parent
5815 and also remove the list element and free it.
5818 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5820 * src/hildon-time-selector.c
5821 (_create_hours_model): change the range on 12h ampm format in order to use
5822 a 12-11 range instead of previous 01-12 range
5823 (hildon_time_selector_set_time): change the way to select the current time
5824 on 12h ampm format, due the change on the range
5825 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5828 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5830 * src/hildon-touch-selector.c
5831 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5832 in order to allow use this function on multiple row selection mode if
5833 the column is different that the first one
5836 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5838 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5839 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5841 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5843 * src/hildon-date-selector.h: clean some comments, now on the .c
5844 * src/hildon-date-selector.c
5845 (hildon_date_selector_select_month): first implementation
5846 (hildon_date_selector_select_day): added documentation, reimplemented
5847 using hildon_date_selector_select_current_date to avoid repeat code
5850 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5852 Reviewed interaction logic based on device experiences, refactored
5855 * src/hildon-pannable-area.c,
5856 (hildon_pannable_area_class_init): Updated default vmax speed.
5857 (hildon_pannable_area_calculate_velocity): Added this function, it
5858 avoids duplicate valocity calculation. Adjusted calculation to
5859 avoid problems with zero dist events.
5861 (hildon_pannable_area_motion_notify_cb): Now we use the
5862 calculate_velocity function.
5864 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5866 * src/hildon-date-selector.c
5867 (hildon_date_selector_select_current_date): fix the day range check
5868 as it failed using the last day of the current month
5871 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5873 * src/hildon-touch-selector.c
5874 (hildon_touch_selector_get_num_columns): added a parameter validation
5877 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5879 * examples/Makefile.am
5880 * examples/hildon-edit-toolbar-example.c: Example of the
5881 HildonEditToolbar widget.
5883 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5885 * configure.ac: postrelease version bump.
5887 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5891 * configure.ac: prerelease version bump.
5892 * debian/changelog: update.
5894 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5896 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5897 renderer to display stock icons in the touch list. Also, set the sizes
5898 to the recommended in the style guide.
5900 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5901 * src/hildon-touch-selector.h
5902 (hildon_touch_selector_set_active_iter): renamed, now is
5903 hildon_touch_selector_select_iter
5904 (hildon_touch_selector_get_active_iter): renamed, now is
5905 hildon_touch_selector_get_selected
5906 (hildon_touch_selector_unselect_iter): added
5907 * src/hildon-touch-selector.c
5908 Update after API modification (methods renamed)
5909 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5910 order to avoid problems selecting multiple elements on the column
5911 (hildon_touch_selector_unselect_iter): added the implementation
5912 * src/hildon-time-selector.c
5913 * src/hildon-date-selector.c
5914 * src/hildon-touch-selector-entry.c
5915 Update methods calls after hildon-touch-selector.h API modification (methods
5918 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-stackable-window.c
5921 (hildon_stackable_window_finalize): Call the parent class's finalize.
5923 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5925 * examples/hildon-touch-selector-example.c: (create_selector): Use
5926 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5929 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5931 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5932 set a cell background color, to respect theming.
5934 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5936 * doc/hildon-docs.sgml
5939 * src/hildon-edit-toolbar.c
5940 * src/hildon-edit-toolbar.h
5941 * src/hildon.h: New HildonEditToolbar widget.
5943 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5945 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5948 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5949 * src/hildon-touch-selector.c
5950 (_create_new_column): use g_object_set instead of two g_object_set_property
5952 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5953 * src/hildon-touch-selector.c
5954 (_create_new_column): use of hildon_gtk_tree_view_new to create
5955 the treeview, instead of use directly g_object_new
5956 (_create_new_column): update the property name "vindicator-mode" for the
5957 new one "vscrollbar-policy"
5958 * examples/hildon-date-button-example.c
5959 * examples/hildon-picker-button-multicolumn-example.c
5960 * examples/hildon-touch-selector-entry-example.c
5961 * examples/hildon-touch-selector-example.c
5962 * examples/hildon-time-button-example.c
5963 * examples/hildon-picker-button-example.c
5964 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5965 to all the treeviews inside a pannable area.
5967 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5969 * src/hildon-button.h
5970 * src/hildon-button.c (hildon_button_init)
5971 (hildon_button_set_arrangement, hildon_button_set_alignment)
5972 (hildon_button_set_title_alignment)
5973 (hildon_button_set_value_alignment)
5974 (hildon_button_set_image_alignment)
5975 (hildon_button_construct_child): New methods to set the alignment
5976 of the individual components of the button (title, value,
5977 image). Also, new method to alter the xscale and yscale properties
5978 of the GtkAlignment inside the button, so more complex layouts can
5981 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-button.c (hildon_button_style_set)
5984 (hildon_button_class_init, hildon_button_set_arrangement)
5985 (hildon_button_construct_child): Apply style properties
5986 correctly. Use the 'image-spacing' style property too.
5988 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5991 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5994 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5996 * src/hildon-pannable-area.c,
5997 (hildon_pannable_area_size_request): Fixed problem with
5998 pannable-area size_request.
6000 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6002 Added management for the grab-focus to a child widget, like a
6003 range, we need to fade out the scrollbar when releasing.
6005 * src/hildon-pannable-area.c,
6006 (hildon_pannable_area_init): Connected the grab-focus signal to
6008 (hildon_pannable_area_grab_notify): Added this function in order
6009 to manage the situation when the grab-focus ends. We have to
6010 fade-out the scrollbar.
6012 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-app-menu.c: Minor documentation update.
6016 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6018 * src/hildon-app-menu.c
6019 * examples/hildon-app-menu-example.c (create_menu): Update
6020 examples and documentation to explain how to connect callbacks.
6022 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6024 * examples/hildon-button-example.c
6025 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6026 hildon_stackable_window_new instead of gtk_window_new
6028 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6030 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6031 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6032 (hildon_pannable_area_set_property),
6033 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6034 (hildon_pannable_area_unrealize),
6035 (hildon_pannable_area_size_request),
6036 (hildon_pannable_area_size_allocate),
6037 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6038 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6039 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6040 (hildon_pannable_area_initial_effect),
6041 (hildon_pannable_area_redraw),
6042 (hildon_pannable_area_scroll_indicator_fade),
6043 (hildon_pannable_area_expose_event),
6044 (hildon_pannable_area_get_topmost), (synth_crossing),
6045 (hildon_pannable_area_button_press_cb),
6046 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6047 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6048 (hildon_pannable_area_motion_notify_cb),
6049 (hildon_pannable_area_button_release_cb),
6050 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6051 (hildon_pannable_area_remove),
6052 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6053 chage the code layout to a more GtkWidget like. Review the use of
6056 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6058 * examples/hildon-pannable-area-example-4.c,
6059 (main): Modified the name of the hindicator_mode to
6062 * src/hildon-pannable-area.c,
6063 (hildon_pannable_area_class_init),
6064 (hildon_pannable_area_motion_notify_cb),
6065 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6066 we have reduced the amount of signals and managed reviewed its
6067 rationale. Changed the default decelerate value.
6069 (hildon_pannable_area_add),
6070 (hildon_pannable_area_redraw): Refactored functions.
6072 (hildon_pannable_area_init),
6073 (hildon_pannable_area_get_property),
6074 (hildon_pannable_area_set_property):
6075 (hildon_pannable_draw_vscroll),
6076 (hildon_pannable_draw_hscroll),
6077 (hildon_pannable_area_initial_effect),
6078 (hildon_pannable_area_expose_event),
6079 (hildon_pannable_area_scroll),
6080 (hildon_pannable_area_button_press_cb),
6081 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6082 and vindicator_mode with hscrollbar_policy and
6083 vscrollbar_policy. Replaced hscroll and vscroll with
6084 hscroll_visible and vscroll_visible.
6086 (hildon_pannable_area_refresh): Refactor the function, remove
6087 variables and check the calls to this function, added resize
6088 conditions in case the children change their layout.
6090 (hildon_pannable_area_size_request): Added more detailed
6091 size_request calculation.
6094 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6096 * src/hildon-color-chooser.c
6097 (init_borders): use the correct gtk_border_free instead of g_free, to
6098 avoid a crash when this widget is used (ie: the three color selection
6101 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6103 * src/hildon-check-button.c,
6104 (hildon_check_button_set_active): Fixed problem when setting the
6105 active value, the widget was not redrawn.
6107 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6109 * src/hildon-pannable-area.c,
6110 (hildon_pannable_area_refresh),
6111 (hildon_pannable_area_scroll),
6112 (hildon_pannable_area_motion_notify_cb): Small code style change.
6114 (hildon_pannable_area_class_init): Default initial_hint set to
6115 FALSE, it is not in the specs.
6117 (hildon_pannable_area_initial_effect),
6118 (hildon_pannable_area_expose_event),
6119 (hildon_pannable_area_map),
6120 (hildon_pannable_area_init): Moved the launching point of the
6121 initial effect, it was in map but the sizes where not correct in
6122 that method so we do not know if we have the reproduce it. Now it
6123 is placed in the expose_event method and uses a variable to
6124 reproduce it just once.
6126 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6128 * src/hildon-pannable-area.c,
6129 (hildon_pannable_draw_vscroll),
6130 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6131 position allowed for the scrollbars.
6133 (hildon_pannable_area_size_allocate): Small style change.
6135 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6137 * src/hildon-pannable-area.c,
6138 (hildon_pannable_area_scroll_indicator_fade),
6139 (hildon_pannable_area_button_press_cb),
6140 (hildon_pannable_area_button_release_cb),
6141 (hildon_pannable_area_scroll_cb),
6142 (hildon_pannable_area_expose_event),
6143 (hildon_pannable_area_init): Added the define parameter
6144 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6145 and refactor the fade variable.
6147 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6149 * src/hildon-pannable-area.c,
6150 (hildon_pannable_area_redraw),
6151 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6152 lines, we were reimplemeting the redraw code.
6154 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6156 * src/hildon-pannable-area.c,
6157 (hildon_pannable_area_scroll_cb),
6158 (hildon_pannable_area_realize),
6159 (hildon_pannable_area_class_init): Added scroll_event management
6160 for pannable area, now we can scroll the usual desktop method.
6162 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6163 initialization of the parameters should depend on idle_id.
6165 (hildon_pannable_area_init),
6166 (hildon_pannable_area_map): Small code style modifications
6168 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6170 * src/hildon-pannable-area.c
6171 (hildon_pannable_area_button_press_cb),
6172 (hildon_pannable_area_motion_notify_cb),
6173 (hildon_pannable_area_button_release_cb),
6174 (hildon_pannable_area_size_allocate),
6175 (hildon_pannable_area_scroll_to): Improved the timeouts
6176 management, we avoid creating them each time.
6178 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6180 * src/hildon-pannable-area.c:
6181 (hildon_pannable_area_refresh),
6182 (hildon_pannable_area_motion_notify_cb),
6183 (hildon_pannable_area_class_init):
6184 * src/hildon-pannable-area.h:
6185 * src/hildon-touch-selector.c
6186 (_create_new_column):
6187 * examples/hildon-pannable-area-example-4.c:
6188 (horizontal_movement),
6189 (vertical_movement),
6191 Replaced the names of enums in the HildonPannableArea:
6192 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6193 HILDON_MOVEMENT_MODE_*
6194 - HILDON_PANNABLE_AREA_MOV_* ->
6196 - Removed HildonPannableAreaIndicatorMode, now we
6199 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6201 * examples/hildon-pannable-area-touch-grid-example.c
6202 * examples/hildon-pannable-area-touch-list-example.c: Fix
6203 compilation warnings.
6205 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-gtk.c (hildon_gtk_button_new)
6208 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6209 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6210 images overriding the value of the "gtk-button-images" setting.
6212 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6214 * src/hildon-check-button.c (hildon_check_button_new):
6215 Instead of using a custom container, display the label and the
6216 checkbox using the standard GtkButton API.
6218 * examples/hildon-check-button-example.c (main): Don't use
6219 hildon_check_button_set_label() anymore
6221 * src/hildon-check-button.h
6222 * src/hildon-check-button.c
6223 (hildon_check_button_set_label, hildon_check_button_get_label):
6224 Set as deprecated, now we're using gtk_button_{get,set}_label()
6226 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6228 * src/hildon-pannable-area.c,
6229 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6230 GtkTreeview first line we detected it after the inclusion of the
6231 GtkWindowImpl in gtk+. We now check if the window is visible, not
6232 just if the pointer is over the window.
6233 (hildon_pannable_axis_scroll),
6234 (hildon_pannable_area_expose_event): Small style changes.
6236 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-button.c: Update documentation.
6240 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6242 * examples/hildon-button-example.c: Add a switch to show images in
6245 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6247 * doc/hildon-docs.sgml: Some docs reorganization.
6249 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6251 * examples/hildon-pannable-area-touch-list-example.c
6253 * examples/hildon-pannable-area-touch-grid-example.c
6254 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6255 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6256 Fix memory leak when setting the tree model.
6258 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6262 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6264 * doc/hildon.types: Remove duplicated hildon_window_get_type
6265 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6266 documentation comment.
6268 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6270 * doc/Makefile.am: Complete list of private headers.
6272 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6274 * doc/hildon-docs.sgml
6275 * src/hildon-app-menu.c
6276 * src/hildon-bread-crumb.c
6277 * src/hildon-button.c
6279 * src/hildon-program.c
6280 * src/hildon-stackable-window.c
6281 * src/hildon-window.c: Lots of documentation updates.
6283 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6285 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6287 * configure.ac: Require Gtk+ 2.12.9 at least
6289 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6291 * src/hildon-pannable-area.c
6292 (hildon_pannable_area_scroll_indicator_fade),
6293 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6294 to protect the return of this timeout callbacks, avoiding deadlocks.
6296 2008-08-12 Christian Dywan <christian@imendio.com>
6299 * src/hildon-*.h: Ensure a consistent include order,
6300 include <gtk/gtk.h> instead of particular files and
6301 only include the topmost header in the gtk stack. See NB #39857
6303 2008-08-12 Christian Dywan <christian@imendio.com>
6305 * src/hildon-picker-dialog.c
6306 * src/hildon-touch-selector.c: Fix warnings about unused and
6307 uninitialized variables.
6309 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6311 * examples/Makefile.am
6312 * examples/hildon-check-button-example.c: Example of the hildon
6315 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6317 * src/hildon-window.h
6318 * src/hildon-window.c (hildon_window_class_init)
6319 (hildon_window_unset_program): Don't make
6320 hildon_window_unset_program a virtual function anymore.
6322 * src/hildon-stackable-window.c: Update documentation
6324 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6327 * doc/hildon-docs.sgml
6328 * doc/visual_index.xml
6329 * src/hildon-defines.c
6331 * src/hildon-helper.c
6332 * src/hildon-range-editor.c: Lots of documentation fixes.
6334 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6336 * examples/hildon-picker-button-multicolumn-example.c
6337 (create_touch_selector): Fix compilation warning.
6339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6342 (hildon_pannable_area_button_release_cb)
6343 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6350 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-bread-crumb-trail.h
6353 * src/hildon-date-editor.c
6354 * src/hildon-date-selector.c
6355 * src/hildon-pannable-area.c
6356 * src/hildon-picker-dialog.c
6357 * src/hildon-time-selector.c
6358 * src/hildon-touch-selector-entry.c
6359 * src/hildon-touch-selector.c
6360 * src/hildon-touch-selector.h: Misc documentation fixes
6362 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6364 * examples/hildon-date-editor-example.c (main): Updated date
6367 * examples/hildon-note-example.c (on_confirmation_clicked):
6368 Updated confirmation note example.
6370 * src/hildon-date-editor.c
6371 * src/hildon-note.c: Updated sample programs in documentation.
6374 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6376 * src/hildon-date-button.h:
6377 * src/hildon-picker-button.h:
6378 * src/hildon-time-button.c:
6379 * src/hildon-time-button.h:
6381 Some declarations changes to allow gtk-doc to document the widgets
6384 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-date-button.c: Document the widget.
6387 * src/hildon-time-button.c: Document the widget.
6389 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6391 * src/hildon-picker-button.c: Document the widget.
6392 * src/hildon-touch-selector-entry.c: Document the widget.
6394 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6396 * doc/hildon-docs.sgml
6399 * src/hildon-check-button.h
6400 * src/hildon-check-button.c: New functions to create the Hildon
6404 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6406 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6408 * src/hildon-button.h
6409 * src/hildon-button.c
6410 (hildon_button_add_title_size_group)
6411 (hildon_button_add_value_size_group)
6412 (hildon_button_add_image_size_group)
6413 (hildon_button_add_size_groups): New functions to set size groups
6414 for the button labels and image.
6415 (hildon_button_new_full): Removed
6417 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6419 * src/hildon-time-selector.c
6420 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6421 in order to avoid a crash if gconf is not available
6423 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6425 * src/hildon-button.c (hildon_button_set_arrangement)
6426 (hildon_button_construct_child): Don't construct the button child
6427 before setting the arrangement.
6429 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6431 * src/hildon-program-private.h
6432 * src/hildon-program.c
6433 * src/hildon-program.h
6434 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6435 (hildon_program_peek_window_stack)
6436 (hildon_program_pop_window_stack)
6437 (hildon_program_go_to_root_window): HildonProgram now has a
6438 separate list for stackable windows. Functions are provided to
6439 manage that list with a stack-like API.
6441 * src/hildon-stackable-window.c: Stackable window management is
6442 now much simpler with the new HildonProgram API. Windows no
6443 longer need to be manually added to the program, they're
6444 automatically pushed to the top of the stack when shown.
6446 * examples/hildon-stackable-window-example.c: Updated example to
6447 reflect the API changes.
6449 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-touch-selector.c: Comment out unimplemented
6452 hildon_touch_selector_insert_column() to avoid a compile warning.
6454 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6456 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6457 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6458 (hildon_touch_selector_set_column_selection_mode),
6459 (_hildon_touch_selector_set_model),
6460 (hildon_touch_selector_set_model):
6462 Complete review of HildonTouchSelector documentation.
6464 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6466 * doc/hildon-docs.sgml
6470 * src/hildon-gtk.c: Convenience functions for standard Gtk
6471 widgets, used to easily perform frequent operations.
6473 * src/hildon-button-helpers.h
6474 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6476 * src/hildon-helper.h
6477 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6478 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6480 * src/hildon-button.h
6481 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6483 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6485 * src/hildon-button.c (hildon_button_init)
6486 (hildon_button_set_arrangement, hildon_button_construct_child):
6487 Pack the image and the labels inside the same GtkAlignment so
6488 gtk_button_set_alignment() can be used
6490 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6492 * src/hildon-button.h
6493 * src/hildon-button.c
6494 (hildon_button_init, hildon_button_set_image)
6495 (hildon_button_set_image_position)
6496 (hildon_button_construct_child): New functions to add an image to
6499 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-date-button.c
6502 * src/hildon-picker-button.c
6503 * src/hildon-time-button.c
6504 * src/hildon-button.c:
6505 (hildon_button_class_init): "size-flags" renamed to "size"
6506 (hildon_button_set_title): Hide the title label if set to NULL.
6508 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6510 HildonButtonFlags split into HildonButtonArrangement (to set the
6511 button layout) and HildonSizeType (which can be used for any
6514 * src/hildon-button.h
6515 * src/hildon-button.c
6516 (hildon_button_class_init)
6517 (hildon_button_set_arrangement)
6518 (hildon_button_set_property): New "size-flags"
6519 property. "arrangement-flags" renamed to "arrangement".
6520 (hildon_button_new, hildon_button_new_with_text)
6521 (hildon_button_new_full): Constructors updated to reflect type changes.
6523 * src/hildon-helper.h
6524 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6525 to set the size of a widget.
6529 * src/hildon-button-helpers.c
6530 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6532 * src/hildon-date-button.c
6533 * src/hildon-date-button.h
6534 * src/hildon-picker-button.c
6535 * src/hildon-picker-button.h
6536 * src/hildon-time-button.c
6537 * src/hildon-time-button.h: Updated widgets to reflect
6538 HildonButton API changes.
6540 * examples/hildon-button-example.c
6541 * examples/hildon-date-button-example.c
6542 * examples/hildon-picker-button-example.c
6543 * examples/hildon-picker-button-multicolumn-example.c
6544 * examples/hildon-time-button-example.c
6545 * examples/hildon-touch-selector-entry-example.c
6546 * examples/hildon-touch-selector-example.c: Updated examples to
6547 reflect HildonButton API changes.
6549 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6551 * doc/hildon-docs.sgml:
6553 * examples/Makefile.am:
6554 * examples/hildon-touch-selector-entry-example.c:
6556 * src/hildon-touch-selector-entry.c:
6557 * src/hildon-touch-selector-entry.h:
6560 Moved HildonTouchSelectorEntry from sandbox. Added its
6561 documentation and examples.
6563 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6565 * src/hildon-touch-selector.h:
6566 * examples/hildon-picker-button-multicolumn-example.c:
6567 (hildon_touch_selector_append_text_column): Add a gboolean
6568 parameter to determine if text must be centered in the column.
6570 * src/hildon-date-selector.c: (hildon_date_selector_init):
6571 * src/hildon-time-selector.c: (hildon_time_selector_init):
6572 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6573 (create_touch_selector): Update widgets and example to reflect
6576 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6578 * src/hildon-touch-selector.c:
6579 (hildon_touch_selector_set_active_iter): Set also the cursor in
6582 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6584 * doc/hildon-docs.sgml
6587 * src/hildon-toggle-button.c
6588 * src/hildon-toggle-button.h
6589 * src/hildon.h: Removed HildonToggleButton widget, a derived
6590 class is not necessary for this.
6592 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6594 * src/hildon-pannable-area.c,
6595 (hildon_pannable_area_realize),
6596 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6599 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6602 "done" button the default widget for the dialog.
6604 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6606 * src/hildon-touch-selector.c:
6607 (hildon_touch_selector_class_init),
6608 (hildon_touch_selector_get_property),
6609 (_hildon_touch_selector_set_model),
6610 (_hildon_touch_selector_has_multiple_selection),
6611 (hildon_touch_selector_has_multiple_selection):
6612 Add a "has-multiple-selection" property with a virtual
6613 has_multiple_selection() method to allow derived classes to
6614 override the default value for it. See the method and property
6615 documentation for details.
6617 * src/hildon-touch-selector.h: Add the new API.
6619 * src/hildon-picker-dialog.c: (requires_done_button): Call
6620 hildon_touch_selector_has_multiple_selection() instead of
6621 determining the need for a button itself.
6623 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6625 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6626 (_hildon_touch_selector_set_model),
6627 (hildon_touch_selector_set_model): Move working code to
6628 _hildon_touch_selector_set_mode(). Call the class method instead.
6630 * src/hildon-touch-selector.h: Add (*set_model) to
6631 HildonTouchSelectorClass.
6633 Make hildon_touch_selector_set_model() a virtual method, so that
6634 derived classes can extend it and do fancy stuff with the model.
6636 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6638 * configure.ac: Set back the tarname in AC_INIT to hildon.
6640 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6644 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6645 instead of libesd (NB#86876). Volume handling is still an open issue.
6647 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6650 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6652 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6653 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6654 derived class to ease placement of an entry widget in
6655 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6656 end, where the selector columns are packed now.
6658 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-picker-button.c: Removed the simple _text() API.
6661 * src/hildon-picker-button.h: Likewise.
6663 * src/hildon-touch-selector.h:
6664 * src/hildon-touch-selector.c:
6665 (hildon_touch_selector_new_text),
6666 (hildon_touch_selector_append_text),
6667 (hildon_touch_selector_prepend_text),
6668 (hildon_touch_selector_insert_text):
6670 Moved the simple _text() API from HildonPickerButton to
6671 HildonTouchPicker, to provide better escalability and not to tie
6672 that API to HildonPickerButton.
6674 * examples/hildon-picker-button-example.c: (main): Example updated.
6676 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6678 * src/hildon-button.c: Updated documentation.
6680 * examples/hildon-button-example.c: Add the posibility to create
6681 the buttons using horizontal layout for title and value.
6683 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6685 * src/hildon-app-menu-private.h
6686 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6687 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6688 GtkSizeGroup for the filters, use the 'homogeneous' property of
6691 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6693 * examples/hildon-button-example.c: Updated example.
6695 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6697 * doc/hildon-docs.sgml:
6700 Update documentation.
6702 * examples/Makefile.am: Update renamed examples.
6704 * examples/hildon-picker-button-multicolumn-example.c:
6705 (create_touch_selector), (main): Update after the rename.
6707 * examples/hildon-touch-picker-example.c: Removed.
6708 * examples/hildon-touch-selector-example.c: (value_changed),
6709 (create_selector), (get_visible_content), (main): Renamed from
6710 hildon-touch-picker-example.c
6712 * src/Makefile.am: Updated renamed files.
6714 * src/hildon-date-button.c: (hildon_date_button_init),
6715 (hildon_date_button_get_date), (hildon_date_button_set_date):
6716 * src/hildon-date-selector.c: (hildon_date_selector_init),
6717 (_custom_print_func), (_update_day_model),
6718 (_manage_selector_change_cb),
6719 (hildon_date_selector_select_current_date),
6720 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6721 * src/hildon-date-selector.h:
6722 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6723 (hildon_picker_button_set_property),
6724 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6725 (hildon_picker_button_init), (hildon_picker_button_new_text),
6726 (hildon_picker_button_append_text),
6727 (hildon_picker_button_prepend_text),
6728 (hildon_picker_button_insert_text),
6729 (hildon_picker_button_set_selector),
6730 (hildon_picker_button_get_selector):
6731 * src/hildon-picker-button.h:
6732 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6733 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6734 (_update_title_on_selector_changed_cb), (requires_done_button),
6735 (_hildon_picker_dialog_set_selector),
6736 (hildon_picker_dialog_set_selector),
6737 (hildon_picker_dialog_get_selector):
6738 * src/hildon-picker-dialog.h:
6739 * src/hildon-time-button.c: (hildon_time_button_init),
6740 (hildon_time_button_get_time), (hildon_time_button_set_time):
6741 * src/hildon-time-selector.c: (hildon_time_selector_init),
6742 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6743 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6744 * src/hildon-time-selector.h:
6747 Massive code updates after the rename.
6749 * src/hildon-touch-picker.c: Removed.
6750 * src/hildon-touch-picker.h: Removed.
6752 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6753 (hildon_touch_selector_init), (hildon_touch_selector_map),
6754 (hildon_touch_selector_remove), (_default_print_func),
6755 (_selection_changed_cb), (_create_new_column),
6756 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6757 (hildon_touch_selector_append_text_column),
6758 (hildon_touch_selector_remove_column),
6759 (hildon_touch_selector_set_column_attributes),
6760 (hildon_touch_selector_insert_column),
6761 (hildon_touch_selector_get_num_columns),
6762 (hildon_touch_selector_get_column_selection_mode),
6763 (hildon_touch_selector_set_column_selection_mode),
6764 (hildon_touch_selector_set_print_func),
6765 (hildon_touch_selector_get_print_func),
6766 (hildon_touch_selector_get_active_iter),
6767 (hildon_touch_selector_set_active_iter),
6768 (hildon_touch_selector_get_selected_rows),
6769 (hildon_touch_selector_get_model),
6770 (hildon_touch_selector_set_model),
6771 (hildon_touch_selector_get_current_text),
6772 (_hildon_touch_selector_center_on_selected_items):
6773 * src/hildon-touch-selector.h: Renamed from
6774 hildon-touch-picker.[ch]
6776 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6777 references, code examples, and related documentation.
6779 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6781 * doc/hildon-docs.sgml
6784 * src/hildon-toggle-button.c
6785 * src/hildon-toggle-button.h
6786 * src/hildon.h: New HildonToggleButton widget.
6788 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6790 * src/hildon-button.c: Add API documentation.
6791 (hildon_button_set_size_groups): Check input parameters
6793 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6795 * src/hildon-pannable-area.c
6796 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6797 effect after reaching the movement thredshold. This way we start
6798 using the distance after passing the thredshold.
6800 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6802 * src/hildon-button.c: (hildon_button_set_property): Use the
6803 appropriate g_value_get_flags() method.
6805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6807 * doc/hildon-docs.sgml:
6810 Add the touch pickers, picker dialogs, and picker button widgets
6811 to the documentation.
6813 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6815 * src/hildon-button.c: (hildon_button_set_property),
6816 (hildon_button_class_init): Make "arrangement-flags" a proper
6817 G_TYPE_FLAGS derived property.
6819 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6821 * examples/Makefile.am: Add below examples.
6822 * examples/hildon-date-button-example.c:
6823 * examples/hildon-picker-button-example.c:
6824 * examples/hildon-picker-button-multicolumn-example.c:
6825 * examples/hildon-time-button-example.c:
6826 * examples/hildon-touch-picker-example.c:
6828 Add examples for the recently added touch pickers,
6829 picker dialogs, and picker button widgets.
6831 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6833 * src/hildon-button.c: Add some API documentation
6835 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6837 * src/hildon-button.h
6838 * src/hildon-button.c
6840 (hildon_button_new_with_text): New constructor to create a button
6841 with no text at all.
6842 (hildon_button_init, hildon_button_set_arrangement)
6843 (hildon_button_set_title, hildon_button_set_value)
6844 (hildon_button_set_text)
6845 (hildon_button_construct_child): Hide the value when it's not used
6846 so the rest of the text is properly aligned.
6847 Allow creating buttons with arbitrary widgets inside (not just
6848 title/value labels).
6850 * examples/hildon-button-example.c (vertical_buttons_window)
6851 (horizontal_buttons_window): Update example to use new API.
6853 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6855 * src/Makefile.am: Added HildonTimeButton.
6856 * src/hildon-time-button.c: Added missing LGPL header.
6857 * src/hildon-time-button.h: Added missing LGPL header.
6858 * src/hildon.h: Add hildon-time-button.h
6860 Copied HildonTimeButton from sandbox to trunk. Future work on this
6861 widget must take place in trunk.
6863 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6865 * src/Makefile.am: Added HildonDateButton.
6866 * src/hildon-date-button.c: Update includes.
6867 * src/hildon.h: Add hildon-date-button.h
6869 Copied HildonDateButton from sandbox to trunk. Future work on this
6870 widget must take place in trunk.
6872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6874 * src/Makefile.am: Added HildonPickerButton.
6875 * src/hildon-picker-button.h: Update includes.
6876 * src/hildon.h: Add hildon-picker-button.h
6878 Copied HildonPickerButton from sandbox to trunk. Future work on
6879 this widget must take place in trunk.
6881 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6883 * src/Makefile.am: Added HildonPickerDialog.
6884 * src/hildon-picker-dialog.c: Update includes.
6885 * src/hildon.h: Add hildon-picker-dialog.h
6887 Copied HildonPickerDialog from sandbox to trunk. Future work
6888 on this widget must take place in trunk.
6890 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6892 * src/Makefile.am: Added HildonTimeSelector.
6893 * src/hildon.h: Add hildon-time-selector.h
6895 Copied HildonTimeSelector widget from sandbox to trunk. Future
6896 work on this widget must happen in trunk.
6898 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6900 * src/Makefile.am: Added HildonDateSelector.
6901 * src/hildon.h: Add hildon-date-selector.h
6903 Copied HildonDateSelector widget from sandbox to trunk. Future
6904 work on this widget must happen in trunk.
6906 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6908 * src/Makefile.am: Added HildonTouchPicker.
6909 * src/hildon-touch-picker.c: Update includes.
6910 * src/hildon.h: Add hildon-touch-picker.h
6912 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6913 on this widget must happen in trunk.
6915 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6917 * src/hildon-pannable-area.c:
6918 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6920 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6922 * examples/hildon-app-menu-example.c (main): Let the window
6925 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6927 * src/hildon-pannable-area.c
6928 (hildon_pannable_area_class_init): Set the min value of the
6929 overshoot properties to zero, which points out that not
6930 overshooting allowed.
6932 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6934 Modified the procedure to get the widget at a point inside the
6935 pannable area when using the movement type signals. Now the user
6936 has to call a function to get the child, that way we just
6937 calculate the child in case the user really want to use it and not
6940 * src/hildon-marshalers.list: Modified the marshallers, now we do
6941 not have the widget as a parameter.
6943 * src/hildon-pannable-area.c
6944 (hildon_pannable_area_motion_notify_cb),
6945 (hildon_pannable_area_class_init),
6946 (hildon_pannable_get_child_widget_at): Removed the widget
6947 parameter from the signal callback. We have also refactored the
6948 emission of the signals.
6950 * src/hildon-pannable-area.h: Added a new method to the API to
6951 calculate a widget at a point inside the pannable area,
6952 hildon_pannable_get_child_widget_at.
6954 * examples/hildon-pannable-area-example-4.c
6955 (horizontal_movement): Modified the example to use the new API,
6956 added condition to control which widget is under the event. This
6957 way we can avoid scrolling laterally over other widgets.
6959 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6961 * src/hildon-pannable-area.c
6962 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6963 modes, we stop getting the pointer events due to returning the
6964 callback without properly calling the get pointer again. Fixed
6965 also an error using the hscroll and vscroll.
6967 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6969 * src/hildon-app-menu-private.h
6970 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6971 (hildon_app_menu_button_release, hildon_app_menu_init)
6972 (hildon_app_menu_class_init): Don't hide the menu on button
6973 release if the user didn't press outside first.
6975 * src/hildon-window.h
6976 * src/hildon-window.c (hildon_window_toggle_menu)
6977 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6978 hildon_window_toggle_menu a virtual function for the stackable
6979 window to override it.
6981 * src/hildon-stackable-window.h
6982 * src/hildon-stackable-window-private.h
6983 * src/hildon-stackable-window.c
6984 (hildon_stackable_window_realize)
6985 (hildon_stackable_window_finalize)
6986 (hildon_stackable_window_class_init)
6987 (hildon_stackable_window_init)
6988 (hildon_stackable_window_set_main_menu): New function to set the
6989 app menu of a HildonStackableWindow.
6991 * examples/hildon-app-menu-example.c: Remove the button to show
6992 the app menu, now it'll be shown when clicking on the title bar
6995 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6997 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6998 set the widget name if the arrangement flags do not specify
7001 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7003 * src/hildon-button.c: (hildon_button_set_property),
7004 (hildon_button_class_init), (hildon_button_new_full),
7005 (hildon_button_set_arrangement): Added "arrangement-flags"
7008 Make the HildonButtonFlags a construction-only property, to allow
7009 subclasses to set them properly.
7011 2008-07-21 Tim Janik <timj@imendio.com>
7013 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7014 insertion position after backspace, so additional digits are appended,
7017 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7019 * src/hildon-pannable-area.c,
7020 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7021 TODO list, it was complete and removed the g_debug and g_print
7024 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7026 Added the movement modes to the hildon-pannable-area, with this
7027 modes the developers can control in which directions the widget
7028 can scroll. They can also connect to signals in order to do
7029 something when that happens, allowing applications scroll. There
7030 is an example uploaded showing how to use it.
7032 * examples/Makefile.am:
7033 * examples/hildon-pannable-area-example-4.c: Added this example of
7034 an application using the modes.
7036 * src/hildon-marshalers.list: Added a new marshaller for the new
7039 * src/hildon-pannable-area.h: Added new enumerations and flags in
7040 order to control the movement modes and the new signals to warn
7041 about the movements in the area.
7043 * src/hildon-pannable-area.c:
7044 (hildon_pannable_axis_scroll),
7045 (hildon_pannable_area_scroll),
7046 (hildon_pannable_area_motion_notify_cb),
7047 (hildon_pannable_area_get_property),
7048 (hildon_pannable_area_set_property),
7049 (hildon_pannable_area_map),
7050 (hildon_pannable_area_class_init),
7051 (hildon_pannable_area_init),
7052 (hildon_pannable_area_jump_to): Added the modes to control the
7053 movement in the widget. We have added properties to control it,
7054 signals to warn about the movements and refactored some code.
7056 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7058 Changes required in order to allow vfast_factor set to zero to
7061 * src/hildon-pannable-area.c:
7062 (hildon_pannable_area_button_press_cb): Changed the condition, it
7063 is required for not allowing click when vfast_factor is zero.
7064 (hildon_pannable_area_timeout): Initialized velocity variables
7065 when we stop moving, it was less than 1 but not zero and we need
7066 to check zero in some situations.
7067 (hildon_pannable_area_class_init): Changed the default value of
7068 the speed factor, now the button_press is just sent in case the
7069 speed is 2 per cent of the max speed.
7070 (hildon_pannable_area_init): Initialization with 0.
7072 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7074 * src/hildon-pannable-area.c,
7075 (hildon_pannable_area_get_topmost): replaced
7076 gdk_window_get_children with gdk_window_peek_children, this way we
7077 do not have to free the list because it is not a copy.
7079 (hildon_pannable_axis_scroll),
7080 (hildon_pannable_area_scroll),
7081 (hildon_pannable_area_timeout),
7082 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7083 two parameters that were only used inside the
7084 hildon_pannable_area_scroll function.
7086 * examples/hildon-pannable-area-example.c,
7087 (get_sawtooth_label): Fixed small memory leak.
7089 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7091 More checks for the case where the overshoot is bigger than the
7094 * src/hildon-pannable-area.c:
7095 (hildon_pannable_draw_vscroll),
7096 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7097 to draw the slider of the scrollbar under the other scrollbar.
7098 (hildon_pannable_area_expose_event): added new checks to control
7099 the drawing of the overshooting area rectangle, in case it is too
7100 big for the area of the widget.
7101 (hildon_pannable_area_size_allocate): add more checks to avoid
7102 setting a position to the child widget outside the area.
7104 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7106 * src/hildon-pannable-area.c
7107 (hildon_pannable_area_size_allocate): Added conditions to control
7108 when overshooting is bigger than the allocated space for the
7109 children, this avoids negative allocations.
7111 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7113 * doc/hildon-docs.sgml
7115 * examples/Makefile.am
7116 * examples/hildon-button-example.c
7118 * src/hildon-button.c
7119 * src/hildon-button.h
7120 * src/hildon.h: Initial version of the new HildonButton widget,
7123 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7125 * src/hildon-pannable-area.c:
7126 (hildon_pannable_area_button_press_cb),
7127 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7128 (hildon_pannable_area_motion_notify_cb),
7129 (hildon_pannable_area_button_release_cb),
7130 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7131 (hildon_pannable_area_jump_to_child):
7133 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7135 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7137 * examples/Makefile.am
7138 * examples/hildon-pannable-area-touch-grid-example.c
7139 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7140 the Hildon Touch List and Hildon Touch Grid using the
7141 HildonPannableArea widget.
7143 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7145 * src/hildon-pannable-area.c,
7146 (hildon_pannable_area_button_press_cb),
7147 (hildon_pannable_area_refresh),
7148 (hildon_pannable_area_scroll),
7149 (hildon_pannable_area_motion_notify_cb),
7150 (hildon_pannable_area_button_release_cb),
7151 (hildon_pannable_area_expose_event),
7152 (hildon_pannable_area_add),
7153 (hildon_pannable_area_remove),
7154 (hildon_pannable_area_realize),
7155 (hildon_pannable_area_size_allocate),
7156 (hildon_pannable_area_class_init),
7157 (hildon_pannable_area_init),
7158 (hildon_pannable_area_scroll_to_child),
7159 (hildon_pannable_area_jump_to_child): Fixed the problem of
7160 removing the child from the GtkBin, we have rearranged the widget
7161 hierarchy, now there is no GtkAlignment which was not doing
7162 anything interesting but breaking some of the assumptions of
7163 GtkContainer. Now developers if they want to add a GtkAlignment
7164 they could, but it is not inside the area.
7166 We had to review the whole allocation/expose process, now it is
7167 improved and we save at least three signals which would be saving
7168 some time when rendering the widget. The allocation of the
7169 scrollbars is now made in the allocate method as usual.
7171 We have also added some conditions in order to control when there
7172 is no child of the pannable area. Maybe we will need more work
7175 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7177 * src/hildon-pannable-area.c,
7178 (hildon_pannable_area_dispose): Released the fade-out timeout when
7179 disposing the widget.
7181 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7183 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7184 zero, we are going to use that property in order to deactivate the
7186 (hildon_pannable_axis_scroll),
7187 (hildon_pannable_area_size_allocate): Added conditions to control
7188 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7189 call, now it is called in all situations and we can remove calls
7190 in the allocate method.
7191 (hildon_pannable_area_map): Control the situation when
7192 overshoot_max is zero, we do not need the timeout.
7193 (hildon_pannable_area_class_init): Added documentation in order to
7194 point out that setting zero to overshoot_max means deactivate
7197 NOTE: removed trailing whitespaces from my previous comments of
7200 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7202 * src/hildon-pannable-area.c
7203 (hildon_pannable_area_get_property),
7204 (hildon_pannable_area_set_property),
7205 (hildon_pannable_area_map),
7206 (hildon_pannable_area_class_init),
7207 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7208 to cause the widget give a hint about its panning abilities upon
7211 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/hildon-pannable-area.c: Several documentation improvements.
7215 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7217 * src/hildon-program.c
7218 * src/hildon-stackable-window.c: Update documentation.
7220 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7222 * src/hildon-stackable-window.c (get_previous_window_if_last):
7223 Renamed get_last_window()
7224 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7225 (hildon_stackable_window_unset_program):
7227 (get_previous_window_if_last):
7228 Detect if the window hasn't been added to a HildonProgram.
7230 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7232 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7234 * src/hildon-pannable-area.c
7235 (hildon_pannable_area_button_press_cb),
7236 (hildon_pannable_axis_scroll),
7237 (hildon_pannable_area_scroll),
7238 (hildon_pannable_area_timeout),
7239 (hildon_pannable_calculate_vel_factor),
7240 (hildon_pannable_area_get_property),
7241 (hildon_pannable_area_set_property),
7242 (hildon_pannable_area_class_init),
7243 (hildon_pannable_area_init),
7244 (hildon_pannable_area_scroll_to),
7245 (hildon_pannable_area_jump_to),
7246 (hildon_pannable_area_scroll_to_child),
7247 (hildon_pannable_area_jump_to_child):
7248 * src/hildon-pannable-area.h: Added the new API functions:
7249 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7250 hildon_pannable_area_scroll_to_child,
7251 hildon_pannable_area_jump_to_child
7254 * examples/Makefile.am
7255 * examples/hildon-pannable-area-example-2.c
7256 * examples/hildon-pannable-area-example-3.c: Added these two new
7257 examples in order to test and show how the new APIs work.
7259 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7261 * examples/hildon-stackable-window-example.c (new_window):
7262 * src/Makefile.am (noinst_HEADERS):
7263 * src/hildon-program.c (hildon_program_go_to_root_window):
7264 * src/hildon-program.h:
7265 * src/hildon-stackable-window-private.h:
7266 * src/hildon-stackable-window.c:
7267 * src/hildon-stackable-window.h:
7268 Create hildon-stackable-window-private.h
7269 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7271 * examples/hildon-app-menu-example.c (create_menu):
7272 * examples/hildon-hvolumebar-insensitive-example.c (main):
7273 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7274 * examples/hildon-toolbar-seekbar-example.c (main):
7275 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7276 * src/hildon-banner.c (hildon_banner_set_property):
7277 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7278 Fix compilation warnings
7280 * src/hildon-window.c:
7283 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7285 * src/hildon-stackable-window.c
7286 (hildon_stackable_window_unset_program):
7287 Calculate correctly whether to show the previous window if the
7288 last one is removed from the stack.
7289 (hildon_stackable_window_go_to_root_window):
7290 Send delete events starting from the topmost window.
7291 Stop if one of the windows is not destroyed.
7293 (hildon_stackable_window_delete_event)
7294 (hildon_stackable_window_class_init):
7295 Ignore the delete event if the window is not the topmost one.
7297 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7299 * src/hildon-pannable-area.c
7300 (hildon_pannable_area_expose_event): Fixed a problem when
7301 selecting the background color of the scrollbars.
7303 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7305 * examples/hildon-stackable-window-example.c
7306 * src/hildon-stackable-window.c
7307 * src/hildon-stackable-window.h
7308 hildon_stackable_window_go_home() renamed to
7309 hildon_stackable_window_go_to_root_window()
7310 Send delete events to windows rather than closing them with
7311 gtk_widget_destroy()
7313 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7315 * src/hildon-pannable-area.c
7316 (hildon_pannable_area_button_release_cb): Fix overshooting in
7319 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7321 * src/hildon-pannable-area.c
7322 (hildon_pannable_area_init): Initially show the scroll indicators.
7323 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7325 Add initial effect showing the widget is pannable.
7327 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7329 * src/hildon-pannable-area.c
7330 (hildon_pannable_area_class_init)
7331 (hildon_pannable_area_set_property)
7332 (hildon_pannable_area_get_property)
7333 (hildon_pannable_area_button_press_cb):
7334 New 'velocity_fast_factor' property to decide which velocity is
7337 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7339 * src/hildon-pannable-area.c
7340 (hildon_pannable_draw_hscroll)
7341 (hildon_pannable_draw_vscroll):
7342 Use float variables to calculate the size of the scrollbars to
7343 avoid error propagation and resizing during scrolling.
7345 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7347 * src/hildon-pannable-area.c
7348 (hildon_pannable_draw_vscroll)
7349 (hildon_pannable_draw_hscroll):
7350 Define a minimum size for the scroll bars
7352 * src/hildon-stackable-window.c
7353 (hildon_stackable_window_go_home): Fix compilation warning
7354 (get_last_window): Minor optimizations
7355 (hildon_stackable_window_class_init): Fix initialization of
7358 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7360 * src/hildon-stackable-window.c: Fixed typos in doc
7362 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7364 * src/hildon-pannable-area.c
7365 (hildon_pannable_area_scroll):
7366 Calculate here whether we need to scroll instead of using the booleans
7367 that tell us whether to /draw/ the scrolling bars.
7369 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7371 * src/hildon-app-menu.h
7373 * src/hildon-app-menu.c
7374 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7375 multiple filter groups related code and API. Now we support only
7377 * examples/hildon-app-menu-example.c:
7379 Update to reflect API changes.
7381 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/hildon-stackable-window.c
7384 (hildon_stackable_window_class_init):
7385 Add hildon_stackable_window_realize.
7386 (hildon_stackable_window_realize):
7387 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7388 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7389 to apply theming and behavior specific to HildonStackableWindow
7392 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7394 * src/hildon-note.c (hildon_note_button_release):
7395 Close information notes also when tapping on them
7397 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7399 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7400 ELASTICITY, refactor and review, fix some issues with drawing
7403 * src/hildon-pannable-area.c:
7404 (hildon_pannable_area_button_press_cb): removed the conditions to
7405 avoid clicks when overshooting. It is not required
7407 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7408 define. Refatored and reviewed the code, now we do not need to
7409 manage velocity in motion_notify.
7411 (hildon_pannable_area_motion_notify_cb): We have moved the code
7412 that controls the area_scroll to the axis_scroll function and get
7413 rid of duplicated code.
7415 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7417 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7419 (hildon_pannable_draw_vscroll),
7420 (hildon_pannable_draw_hscroll): Fixed the problems with the
7421 scrollbar drawing, now we do not use two surfaces, it is easier
7422 and saves resources.
7424 (hildon_pannable_area_get_property): Style modification.
7426 (hildon_pannable_area_class_init): Changed some default values.
7428 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/hildon-stackable-window.c: Fix some typos in the
7433 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7435 * src/hildon-dialog.c:
7436 Change indentation style
7439 (hildon_note_button_release):
7440 Use root coordinates to check if the release event happened
7443 * src/hildon-app-menu.c
7444 (hildon_app_menu_button_release):
7445 Remove unnecessary check
7447 * examples/hildon-app-menu-example.c
7449 Add cast to fix warning
7451 * src/hildon-app-menu.c
7452 (hildon_app_menu_class_init):
7453 New inner-border style property.
7454 Set all default spacings to 16
7455 (hildon_app_menu_init):
7456 Use vertical-spacing to set the space between filter buttons and
7457 regular menu buttons.
7458 Set the default container border using the inner-border value.
7460 * examples/hildon-app-menu-example.c
7462 Don't set the menu border explicitly, now we have the inner-border
7463 style property for that.
7465 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7467 * src/hildon-app-menu.c (hildon_app_menu_init):
7468 Make the window modal
7470 * src/hildon-note.c (hildon_note_map)
7471 * src/hildon-app-menu.c (hildon_app_menu_map):
7472 Destroy the grab window if we're unable to grab the pointer
7474 * src/hildon-app-menu-private.h
7475 * src/hildon-app-menu.c
7476 (hildon_app_menu_init, hildon_app_menu_finalize)
7477 (hildon_app_menu_map, hildon_app_menu_unmap)
7478 (hildon_app_menu_button_release)
7479 (grab_transfer_window_get):
7480 Bring back the grab window
7481 (hildon_app_menu_realize):
7482 Decorate the window, set WM hint for Matchbox
7484 * src/hildon-note.c (hildon_note_realize):
7485 * src/hildon-banner.c (hildon_banner_realize):
7486 Add WM hints for Matchbox
7488 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7490 * src/hildon-app-menu-private.h
7491 * src/hildon-app-menu.c
7492 (hildon_app_menu_init, hildon_app_menu_finalize)
7493 (hildon_app_menu_map, hildon_app_menu_unmap)
7494 (hildon_app_menu_button_release):
7495 Remove the grab window, it's not needed anymore
7497 * src/hildon-program.c
7498 Fixed typo in documentation
7500 * src/hildon-app-menu.h
7501 * src/hildon-app-menu.c
7502 * examples/hildon-app-menu-example.c
7503 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7505 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7508 Added new transfer_window and close_if_pressed_outside private
7510 (hildon_note_rebuild):
7511 Don't add a cancel button to the information note. It will be
7512 closed when tapping outside
7513 Remove the comment about the OK button in the documentation
7514 (hildon_note_realize):
7515 Set the notification type hint
7516 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7517 Grab/ungrab pointer and keyboard if the note has to be closed when
7519 (hildon_note_button_release):
7520 Close the note when tapping outside (if applicable)
7522 * src/hildon-app-menu.c
7523 Grab/ungrab pointer and keyboard on map/unmap
7524 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7525 Close the menu on button release, not button press
7527 * src/hildon-banner.c
7528 (hildon_banner_set_property)
7529 (hildon_banner_check_position):
7530 Make the banner use the full width of the screen
7531 (hildon_banner_show_information)
7532 (hildon_banner_show_information_with_markup):
7533 Don't display an icon by default
7535 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7537 Added fading scrollbars and adapted all the overshooting code to
7538 horizontal scrolling. We have also fixed bugs with overshooting
7539 and current fading implementation.
7541 * src/hildon-pannable-area.c
7542 (hildon_pannable_area_scroll_indicator_fade): Time out function
7543 used to change the transparency of the scrollbars.
7545 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7546 control and fixed a problem with fading, we now remove the fade
7547 timeout before adding a new one.
7549 (hildon_pannable_axis_scroll):
7550 (hildon_pannable_area_scroll):
7551 (hildon_pannable_area_timeout): Added this functions so we can use
7552 the scroll code both for vertical and horizontal.
7554 (hildon_pannable_area_motion_notify_cb):
7555 (hildon_pannable_area_button_release_cb): Added the horizontal
7556 scrolling control, fixed a problem with the overshooting timeout.
7558 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7559 painting of the scrolls.
7561 (hildon_pannable_draw_vscroll):
7562 (hildon_pannable_draw_hscroll):
7563 (hildon_pannable_area_expose_event):
7564 Draw both scrollbars and rectangles in the overshooting area.
7566 (hildon_pannable_area_get_property):
7567 (hildon_pannable_area_set_property):
7568 Modified the overshoot property to overshoot_max
7570 (hildon_pannable_area_map):
7571 Replaced the comments symbols.
7573 (hildon_pannable_area_size_allocate):
7574 (hildon_pannable_area_class_init):
7575 (hildon_pannable_area_init): Added horizontal scroll, fading
7576 effect properties, fixed a problem when overshooting in the bottom
7579 * examples/hildon-pannable-area-example.c:
7580 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7581 looks better in the example.
7583 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7585 * src/hildon-window.c
7586 * src/hildon-window.h
7587 (hildon_window_class_init)
7588 (hildon_window_unset_program)
7589 (hildon_window_unset_program_real):
7590 Make unset_program a virtual function
7592 * src/hildon-stackable-window.c
7593 * src/hildon-stackable-window.h
7594 Added hildon_stackable_window_go_home()
7596 * examples/Makefile.am
7597 * examples/hildon-stackable-window-example.c
7598 HildonStackableWindow example
7600 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7602 * hildon-pannable-area.c: Added the overshoot property and removed
7603 the OVERSHOOT define. Fixed an indent style error.
7604 (hildon_pannable_area_motion_notify_cb):
7605 (hildon_pannable_area_get_property):
7606 (hildon_pannable_area_set_property): Add overshoot property.
7608 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7611 (hildon_pannable_area_class_init): Installed the new property.
7613 * hildon-pannable-area-example.c: Added a sawtooth function, this
7614 way it is easier to check the movement in the pannable.
7615 (get_sawtooth_label): Added this function.
7616 (main): Now we get the labels from the new get_sawtooth_label
7619 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7621 * src/hildon-app-menu.h
7622 * src/hildon-app-menu.c
7623 Renamed API variables for consistency
7625 (hildon_app_menu_popup): Use also the default window size to
7626 decide where to place the menu
7628 (hildon_app_menu_init, hildon_app_menu_class_init): New
7629 external-border style property
7631 2008-05-26 Michael Natterer <mitch@imendio.com>
7633 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7634 widget_class->tap_and_hold_setup signal slot doesn't exist any
7635 longer, stop overriding it.
7637 (hildon_time_editor_init): g_signal_connect() to the
7638 tap-and-hold-setup signal instead.
7640 (hildon_time_editor_entry_keypress): add cast to fix warning.
7642 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7644 * doc/hildon-docs.sgml
7646 * examples/Makefile.am
7647 * examples/hildon-app-menu-example.c
7649 * src/hildon-app-menu-private.h
7650 * src/hildon-app-menu.c
7651 * src/hildon-app-menu.h
7653 New HildonAppMenu widget
7655 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7657 Rearranged the inheritance of the pannable area, now it inherits
7658 from GtkBin. This will allow us to control the event_window and
7659 the allocation process of the widget, required for some effects.
7661 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7662 GtkBin structures. * src/hildon-pannable-area.c: Added the
7663 event_window variable.
7664 (hildon_pannable_area_button_press_cb):
7665 (hildon_pannable_area_button_release_cb):
7666 (hildon_pannable_area_motion_notify_cb):
7667 Changed the signature of the method, now we override the event
7668 callback instead of connecting to the signal.
7670 (hildon_pannable_area_realize):
7671 (hildon_pannable_area_unrealize):
7672 (hildon_pannable_area_map):
7673 (hildon_pannable_area_unmap):
7674 (hildon_pannable_area_size_allocate):
7675 Added functions to control the widget construction. We add a
7676 INPUT_ONLY window and we put it over the widgets inside the
7677 container, this event_window handles the events.
7679 (hildon_pannable_area_class_init):
7680 Replaced the signal connections with overrides of the event
7683 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7685 Bouncing effect added when touching the borders, you can change
7686 the elasticity of the border changing the ELASTICITY define.
7688 * src/hildon-pannable-area.c: Added ELASTICITY define.
7689 (hildon_pannable_area_timeout): Added inverse velocity when
7690 touching the border of the child widget, that causes a bounce.
7692 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7694 Improved performance, we now do not go to the X server in order to
7695 get the list of window children. Apparently the effect is the
7696 same, we have to be careful and check if this breaks something in
7699 * src/hildon-pannable-area.c:
7700 (get_ordered_children): Removed this function.
7701 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7702 the children windows function with gdk_window_get_children.
7704 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7706 * src/hildon-pannable-area.c:
7707 (hildon_pannable_area_dispose): Fixed a crash when closing the
7708 window and kinetics is activated.
7710 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7712 * src/hildon-pannable-area.h
7713 * src/hildon-pannable-area.c
7714 Changed indentation style to meet the one used in Hildon
7716 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7718 Reviewed the interaction of the AUTO mode, now we use the time
7719 attribute of the events and calculate the velocity in the motion,
7720 doing a gimp like calculation. The velocity is calculated in each
7721 motion event using the last velocity and the current one, the
7722 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7724 * src/hildon-pannable-area.c: Replaced the time based algorithm
7726 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7727 timeout for the AUTO mode when we are still moving the cursor. We
7728 added also the velocity calculation in this function.
7729 (hildon_pannable_area_button_release_cb): launch the timeout in
7730 case we are in AUTO mode. There are still some constants here that
7731 come from the old implementation that should be reviewed and
7734 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7736 * doc/hildon-docs.sgml
7739 * src/hildon-stackable-window.c
7740 * src/hildon-stackable-window.h
7742 New HildonStackableWindow widget
7744 * examples/hildon-dialog-example.c
7745 * examples/hildon-pannable-area-example.c
7748 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7750 * src/hildon-dialog.c
7751 (hildon_dialog_new_with_buttons): New constructor.
7753 * examples/hildon-dialog-example.c
7754 (main): Update the example to use the new
7755 hildon_dialog_new_with_buttons().
7757 * examples/hildon-pannable-area-example.c
7758 (main): Update example.
7760 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7762 * doc/hildon-docs.sgml
7764 Added HildonPannableArea to the documentation.
7766 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7768 * doc/visual_index.xml
7769 Fix reference to HildonLoginDialog in documentation
7771 * doc/hildon-docs.sgml
7773 * examples/Makefile.am
7774 * examples/hildon-dialog-example.c
7776 * src/hildon-dialog.c
7777 * src/hildon-dialog.h
7779 New HildonDialog widget.
7781 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7783 * src/hildon-pannable-area.c
7784 Merge latest changes (r4318, r4342) from libmokoui trunk
7786 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7788 * examples/Makefile.am
7789 * examples/hildon-pannable-area-example.c
7791 * src/hildon-pannable-area.c
7792 * src/hildon-pannable-area.h
7794 New HildonPannableArea widget.
7796 2008-04-15 18:05:19 <timj@imendio.com>
7798 * src/hildon-banner.c: revert the recent change, that introduced
7799 gtk_window_present() calls. this reopens:
7800 Bug 78481 - [freetest] information banners are hidden under browser menu
7801 But resolves another variant of:
7802 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7804 2008-04-15 13:21:13 <timj@imendio.com>
7806 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7807 recreated its layout, spotted by Kris. this fixes all remaining
7808 artefacts and stability issues with the banner code. in particular:
7809 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7811 2008-04-14 16:52:59 <timj@imendio.com>
7813 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7814 operating on unrealized widgets, fixes:
7815 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7817 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7819 2008-04-09 Kristian Rietveld <kris@imendio.com>
7821 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7822 makes banner disappear.
7823 Fixes: NB#79182: info banner flickering with certain message lengts.
7825 * src/hildon-banner.c (hildon_banner_constructor),
7826 (hildon_banner_init), (hildon_banner_set_text),
7827 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7828 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7829 FALSE, reset size requests of label and banner,
7830 (force_to_wrap_truncated): when the text is too wide, always enforce
7831 the maximum possible width instead of recalculating it from the
7832 layout; enforce the maximum banner height of 3 lines,
7833 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7834 nicer wrapping and no truncated chars if space gets tight.
7836 * src/hildon-banner-private.h: add has_been_wrapped and
7837 has_been_truncated fields.
7839 2008-04-07 Sven Herzberg <sven@imendio.com>
7841 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7842 local values in hildon_date_editor_size_allocate
7844 * src/hildon-date-editor.c: moved the real allocation code into the
7847 2008-04-07 Sven Herzberg <sven@imendio.com>
7849 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7850 local values in hildon_date_editor_size_allocate
7852 * src/hildon-date-editor.c: merged the two if() branches together
7854 2008-04-07 Sven Herzberg <sven@imendio.com>
7856 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7857 local values in hildon_date_editor_size_allocate
7859 * src/hildon-date-editor.c: changed the arguments of the if()
7862 2008-04-07 Sven Herzberg <sven@imendio.com>
7864 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7865 local values in hildon_date_editor_size_allocate
7867 * src/hildon-date-editor.c: split the calculation of the allocation
7868 from the real allocation
7870 2008-03-27 Michael Natterer <mitch@imendio.com>
7872 Fixes: NB#81696: The passcode is not overwritten even after
7875 * src/hildon-code-dialog.c
7876 (hildon_code_dialog_button_clicked)
7877 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7878 because that doesn't overwrite selected text. Instead, emit the
7879 "commit" signal on the entry's im_context so the entry's normal
7880 insert logic is triggered. Set the cursor to the end of the entry
7881 after each insert operation so that we *only* insert in the middle
7882 of the text if something was selected.
7884 2008-03-27 Michael Natterer <mitch@imendio.com>
7886 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7887 selector cannot be opened
7889 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7890 when the popup color selector is created. Please connect to this
7891 signal in order to set the dialog's help ID.
7893 2008-03-25 Sven Herzberg <sven@imendio.com>
7895 Fixes: MB#1212: Hide info banners (infoprints) on click
7897 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7898 extracted the close event simulation into an extra function
7899 (hildon_banner_button_press_event): simulate a close event and destroy
7900 the widget if the event wasn't handled
7901 (hildon_banner_class_init): added the button_press_event handler
7902 (hildon_banner_init): added button-press events to the widget
7904 2008-03-25 Sven Herzberg <sven@imendio.com>
7906 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7907 Patch from: Mohammad Anwari <mdamt@maemo.org>
7909 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7910 instead of the right in RTL mode
7911 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7912 breadcrumb button list in RTL mode
7913 * src/hildon-caption.c: mirror the appearance of the caption widget in
7915 * src/hildon-date-editor.c: mirror appearance of the date editor in
7917 * src/hildon-time-editor.c: mirror appearance of the time editor in
7919 * src/hildon-window.c: fix the position of the popup in RTL mode
7921 2008-03-25 Sven Herzberg <sven@imendio.com>
7923 Amendment to the fix of NB#22072. Fix compilation.
7925 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7927 2008-03-19 Sven Herzberg <sven@imendio.com>
7929 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7932 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7933 timeout id properly when the timeout will disappear this leaves no
7934 artifacts around in the destroy(); there will only be the timeout
7935 created by hildon_banner_ensure_timeout() and adding a new timeout
7936 will also work if the timeout gets removed because the timeout_handler
7939 2008-03-19 Michael Natterer <mitch@imendio.com>
7941 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7943 * src/hildon-volumebar.c
7944 * src/hildon-vvolumebar.c
7945 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7946 the widget becomes focussable at all.
7948 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7949 set the focus to wither the mute button or the volumebar.
7951 Remove own "can-focus" property and instead listen to
7952 notify::can-focus in order to update the widget's state.
7954 Implement GtkWidget::focus() and make sure we can also *leave* the
7955 widget, not only enter it, depending on volumebar orientation and
7956 requested focus direction.
7958 Clean up set_mute() to cooperate nicely with all the above.
7960 2008-03-04 Michael Natterer <mitch@imendio.com>
7962 Fixes: NB#78481: information banners are hidden under browser menu
7964 * src/hildon-banner.c: call gtk_window_present() on the banners so
7965 they are risen if they are already visible.
7967 2008-03-03 Sven Herzberg <sven@imendio.com>
7969 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7971 * examples/hildon-window-menu-example.c: (main): extended the window
7972 menu example to serve as a testcase for automatically added
7973 accelerator groups, too
7974 * src/hildon-window.c: (hildon_window_add_accel_group),
7975 (hildon_window_set_menu): added patch by Tommi Komulainen
7977 2008-03-03 Sven Herzberg <sven@imendio.com>
7979 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7981 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7982 knowledge about the border allocators used within GTK+
7984 2008-02-26 Sven Herzberg <sven@imendio.com>
7986 Fixes: MB#2981: Build with asserts broken
7988 * src/hildon-date-editor.c,
7989 * src/hildon-number-editor.c,
7990 * src/hildon-time-editor.c,
7991 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7992 the proper GType instance check
7994 2008-02-25 Sven Herzberg <sven@imendio.com>
7996 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7998 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7999 * examples/hildon-window-menu-example.c: (main): explicitly show
8001 * src/hildon-window.c:
8002 (hildon_window_set_main_menu): moved most of the code from set_menu()
8003 to this place; skipped the call to gtk_widget_show_all(); also didn't
8004 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8005 (hildon_window_set_menu): removed most of the code, just keep the
8006 questionable gtk_widget_show_all()
8007 * src/hildon-window.h: added the new function and deprecate the old
8010 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8016 * debian/changelog: Updating.
8018 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8021 * pkgconfig/Makefile.am:
8022 * pkgconfig/hildon.pc.in:
8025 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8026 use newly created API_MAJOR_VERSION.
8028 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8034 * debian/changelog: Updating.
8036 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8038 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8040 Add outer_border style property, we use it but don't define it (!).
8044 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8046 * examples/hildon-bread-crumb-trail-example.c (main):
8050 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8052 Fix logic for the bread crumb trail node removal.
8056 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * debian/changelog: Updating.
8064 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 Patch by Alejandro to get/set passwords dialogs accesibility.
8068 * hildon-1/src/hildon-get-password-dialog.c:
8069 * hildon-1/src/hildon-set-password-dialog.c:
8070 Set atk_set_name to the passwd entries in order to allow
8071 accessibility by name on this entries.
8073 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8078 * debian/control: Updating gtk dep.
8080 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8082 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8083 USE_MAEMO_GTK is enabled.
8085 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8087 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8088 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8090 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * debian/changelog: Updating.
8098 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8100 * examples/Makefile.am:
8101 * examples/hildon-logical-color-example.c:
8102 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8103 applied + adding a test case. Fixes: NB#71660.
8105 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8107 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8108 to be visible, fixes warning on map for windows without toolbars.
8110 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8112 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8113 2.11.0, add a check for that besides the MAEMO_GTK check.
8115 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * debian/changelog: Updating.
8123 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8125 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8126 visibility. Fixes: NB#70842 and MB#615.
8128 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8130 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8131 set the separator as no-show-all so it doesn't unintentionally appear when
8132 someone does a show_all.
8134 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8136 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8137 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8138 toplevel item. Fixes: NB#62031
8140 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8142 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8143 fix the name of the function in the docs.
8145 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8151 * debian/changelog: Updating.
8153 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * examples/hildon-banner-long-example.c: Adding a test-case for long
8158 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8160 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8162 * src/hildon-color-chooser-dialog.c:
8163 * src/hildon-color-chooser.c:
8164 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8165 memory leaks in font selector and color selector. Fixes: NB#70499 and
8168 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8170 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8172 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8174 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8175 little bit bigger. Fixes: #NB63694.
8177 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * debian/changelog: Updating.
8185 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * doc/hildon-docs.sgml:
8189 * doc/images/bread-crumb-trail.png:
8190 * doc/images/calendar-popup.png:
8191 * doc/images/caption.png:
8192 * doc/images/code-dialog.png:
8193 * doc/images/color-button.png:
8194 * doc/images/color-chooser-dialog.png:
8195 * doc/images/color-chooser.png:
8196 * doc/images/controlbar.png:
8197 * doc/images/date-editor.png:
8198 * doc/images/font-selection-dialog.png:
8199 * doc/images/get-password-dialog.png:
8200 * doc/images/hvolumebar.png:
8201 * doc/images/login-dialog.png:
8202 * doc/images/note.png:
8203 * doc/images/number-editor.png:
8204 * doc/images/range-editor.png:
8205 * doc/images/seekbar.png:
8206 * doc/images/set-password-dialog.png:
8207 * doc/images/sort-dialog.png:
8208 * doc/images/time-editor.png:
8209 * doc/images/time-picker.png:
8210 * doc/images/vvolumebar.png:
8211 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8212 Adding the bread-crumb-trial and helpers to the documentation.
8214 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * examples/hildon-find-toolbar-example.c:
8217 * src/hildon-find-toolbar.c:
8218 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8219 actually continue firing the other handlers if connected. Adding a new
8221 hildon_find_toolbar_get_last_index that gets the index of the most
8222 recently added (last) item. Fixes: NB#52301.
8224 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8227 behaviour. Fixes: NB#68610.
8229 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8234 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8236 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8237 when realizing the banner. Should make the infonbanner effect a bit more
8240 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8242 * src/hildon-volumebar.c:
8243 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8244 hildon_volumebar_set_range_insensitive_message and
8245 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8247 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8249 * src/hildon-window.c: Fixing the border freeing on destroy.
8251 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-code-dialog-private.h:
8254 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8255 kw keyboard support in HildonCodeDialog.
8257 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * debian/changelog: Updating.
8265 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * src/hildon-date-editor.c:
8268 * src/hildon-number-editor.c:
8269 * src/hildon-private.c:
8270 * src/hildon-private.h:
8271 * src/hildon-time-editor.c:
8272 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8273 handling in subclassed composite widgets. Fixes: NB#66628.
8275 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8278 from destroy_ callback as it introduces problems in async dbus signal
8279 handlers. Fixes NB#66673.
8281 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * examples/hildon-hvolumebar-example.c:
8284 * src/hildon-volumebar.c: Improving the focus handling in the
8285 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8286 set_property accessor so that "mute" property can be actually set. I'm
8287 scared that nobody noticed it's totally broken.
8289 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8294 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8296 * src/hildon-calendar.c:
8297 * src/hildon-number-editor.c:
8298 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8299 matches the spec of 6 chars per second. Fixes: NB#60489.
8301 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8304 gtk_style_lookup_color sometime returns FALSE even though color was
8305 found and values were filled properly. Weird. Removing the warning for the
8308 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8310 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8311 expand vertically. Adding some extra space to the find toolbar buttons to
8312 make them thumbable. Fixes NB#66060.
8314 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8317 popup with "Ok" and "Cancel". Fixes NB#59299.
8319 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-calendar.c: Process all window updates before executing next
8322 timeout. Fixes: NB#54146.
8324 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8330 * debian/changelog: Updating.
8332 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8334 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8335 the client event and ignore it, since we use the delete event to close
8338 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8340 * src/hildon-helper.c: Remove the bogus warning about color not being
8341 found. Fixes NB#58352.
8343 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8345 * examples/Makefile.am:
8346 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8347 HildonSeekbar widget inside a toolbar.
8349 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8351 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8352 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8353 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8354 don't want to be closed by non-temporary windows on map.
8356 Also use G_DEFINE_TYPE instead of manually typed code.
8358 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8365 * debian/rules: Updating.
8367 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8369 * examples/Makefile.am:
8370 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8371 bug NB#61128. Strangely it works.
8373 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * src/hildon-date-editor.c: When the date editor entry has been changed
8376 but the numbers of characters < max, turn off the skip validation flag.
8377 Prevents a situation when we enter first a valid year and later re-write
8378 it with an invalid one. Fixes NB#60154.
8380 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8382 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8383 code dialog. Fixes NB#64355.
8385 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8388 switching the page. Fixes NB#49374.
8390 * examples/Makefile.am:
8391 * examples/hildon-wizard-dialog-example.c: Adding an example for
8392 HildonWizardDialog that shows how to handle manual sensitivity setting on
8395 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * src/hildon-version.h.in:
8400 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8402 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * src/hildon-volumebar.c: Updating the docs.
8406 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8412 * debian/changelog: Updating.
8414 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * src/hildon-find-toolbar.c:
8417 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8418 selected item: hildon_find_toolbar_set_active,
8419 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8420 hildon_find_toolbar_get_active_iter . They correspond to respective
8421 GtkComboBox functions.
8423 * examples/Makefile.am:
8424 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8427 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * examples/Makefile.am:
8430 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8433 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8434 when font size > 32 and we pack a focusable widget inside. Actually using
8435 the default response would work too, but since we don't show default
8436 response state in any way (no theming) it would not be visible to the
8437 user. Fixes NB#63430.
8439 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * src/hildon-date-editor.c: Adding the missing variable setter in the
8442 set_property handler. Fixes NB#54182.
8444 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8446 * src/hildon-window.h: Changing the long key press time from 1500ms to
8447 800ms as requested in NB#63700. I have a bad feeling about this, let's
8448 see... Fixes NB#63700.
8450 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8452 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8453 hildon_time_picker_map, hildon_time_picker_realize,
8454 hildon_time_picker_style_set): Split the contents of map to more
8455 appropriate functions; set window decorations on realize and update
8456 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8458 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8463 * debian/changelog: Updating.
8465 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8467 * src/Makefile.am: fixed installation of the header files
8469 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * debian/changelog: Updating.
8477 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * configure.ac: Removing some remaining of --enable-xan.
8481 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8483 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8484 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8486 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8487 2.10.12-osso6 because the move-focus signal needs to be available in
8490 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * examples/Makefile.am:
8493 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8494 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8495 fine. Prolly NB#61128 is fixed now.
8497 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * src/hildon-volumebar.c:
8500 * src/hildon-volumebar.h: Adding the
8501 hildon_volumebar_set_range_insensitive_message and
8502 hildon_volumebar_set_range_insensitive_messagef functions to set
8503 insensitive message on the slider of the volumebar. Fixes NB#61129.
8505 * examples/Makefile.am:
8506 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8507 test the new insensitive messsage functionality on HildonVolumebar.
8509 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8511 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8514 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8516 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8517 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8518 button on after clearing the trail.
8520 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8524 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8526 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8527 by splitting the installed headers in generated and non-generated groups. Use
8528 only the non-generated headers to create the hildon-enum-types.h file.
8530 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8532 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * src/hildon-window.c: Hide the window before performing the destroy.
8535 Should make the app closing a little tiny bit more snappy.
8537 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8539 * src/hildon-seekbar.c: add gtkrange.h header
8540 * src/hildon-caption.c: remove unused variable
8542 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8544 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8547 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8553 * debian/changelog: Updating.
8555 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8557 * src/hildon-window.c (hildon_window_window_state_event,
8558 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8559 escape timeout on focus-out-event rather than notify::is-topmost; the
8560 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8562 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8565 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8567 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8569 * src/hildon-window: actually, you need to use the macro always, there's
8570 no private pointer in the instance structure. We should have cleaned this up
8571 when we had the chance...
8573 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8575 * src/hildon-window.c: do not get the private date from HildonWindow before
8576 it passes the g_return_if_fail check. Once it's passed the test, there's no
8577 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8578 if you are only going to access the data once. Whitespace cleanups.
8580 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8582 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8583 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8585 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * debian/changelog: Updating.
8593 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * src/hildon-window.c: When destroying the window, remove (if exists) the
8596 escape timeout handler. Fixes #NB59276.
8598 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-banner.c: When realizing the widget, set the window
8601 transiency. Setting the transiency in the gobject constructor is not
8602 good, as the widget is not realized at that point. Fixes: #NB56624.
8604 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8607 Add padding for future expansions.
8609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8612 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8613 will fake an activation on the previous to the last item of the trail, so
8614 the effect can be overrided by the developer as usual.
8615 Also change the callback for the back button to do the same thing, so its
8616 effect can be overrided too. Fixes: NB#58982
8618 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8620 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8621 HildonCaption. Fixes NB#52379.
8623 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8625 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8626 the internal state of the trail after the user has had the chance of executing
8627 his handler for the signal. Specifically, it may happen that the activated button
8628 is removed and the user still lets the default handler run. This would segfault
8631 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8634 scrollbar to the preview dialog. Fixes NB#54147.
8636 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8639 max/min year properties can be altered, so the client can modify it
8640 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8642 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8645 hildonlike by default. Fixing a problem with disappearing arrows when
8646 scrolling through months and years. Fixes NB#54127.
8648 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8650 * examples/hildon-date-editor-example.c: Adding error callback to the date
8653 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * configure.ac: Updating.
8661 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * configure.ac: Adding a special '--enable-xan' configure option that
8664 turns off the -Werror compilation setting. Usefull for development.
8666 * src/hildon-calendar.c:
8667 * src/hildon-number-editor.c:
8668 * src/hildon-time-picker.c: Adding the 5* multiplier to
8671 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8673 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8674 instead of g_object_ref + gtk_object_sink.
8676 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * debian/changelog: Updating.
8684 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * src/hildon-color-chooser-dialog.c:
8687 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8688 straight from Tommi labs.
8690 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * examples/hildon-finger-example.c: Correcting the header file path.
8694 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8695 the changed signal. Fixes a small memory leak.
8697 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-banner.c: Importing several usefull fixes from the
8702 ubuntu-mobile branch.
8704 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * examples/Makefile.am:
8707 * examples/hildon-finger-example.c: Adding a finger-checking code
8710 * src/hildon-font-selection-dialog.c: Do not allocate the color
8711 structure using the g_new. Fixes NB#54061.
8713 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8715 * src/hildon-helper.c: Correcting tabs in file.
8717 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8719 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8720 control the visibility of the children.
8722 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8724 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * debian/changelog: Updating.
8732 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8734 * src/hildon-bread-crumb-trail.c:
8735 (hildon_bread_crumb_trail_size_allocate):
8737 Make the back button always a square.
8739 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8741 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8742 from the .c file as it's a private file.
8744 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8747 uses slightly bigger height.
8749 * src/hildon-font-selection-dialog.c: Adding some checks before
8750 freeing memory in the font selection dialog.
8752 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-font-selection-dialog.c: Adding a small check when
8757 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8758 buttons sensitivity on page switching.
8760 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8762 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8763 internal details of adding a bread crumb to the trail.
8765 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * debian/changelog: Updating.
8773 * src/hildon-bread-crumb-trail.h:
8774 * src/hildon-bread-crumb.h: Changing the API guard to
8775 HILDON_ENABLE_UNSTABLE_API.
8777 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-helper.h: Updating.
8787 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8795 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * src/hildon-helper.h: Small fix to make the package actually compile.
8801 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8803 * src/hildon-bread-crumb-trail.h:
8804 * src/hildon-bread-crumb.h:
8806 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8807 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8809 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8811 * examples/hildon-bread-crumb-trail-example.c:
8813 * src/hildon-bread-crumb-trail.c:
8814 * src/hildon-bread-crumb-trail.h:
8815 * src/hildon-bread-crumb.c:
8816 * src/hildon-bread-crumb.h:
8817 * src/hildon-marshalers.list:
8818 * src/hildon-bread-crumb-widget.c:
8819 * src/hildon-bread-crumb-widget.h:
8821 Slight change in the widget design. The bread crumb trail API is
8822 unchanged, but HildonBreadCrumb is now an interface. A *private*
8823 implementation, hildon-bread-crumb-widget, is provided and used
8824 internally by the trail for the push_text/push_icon functions.
8826 The generic push API is still available, so anyone can implement
8827 and use its own bread crumb widget.
8829 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8831 * debian/rules: Fixing the shlibs.
8833 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-banner.c: Fixing a problem with timed banners having
8836 their parrent destroyed before they are.
8838 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8840 * src/hildon-bread-crumb.c:
8841 * src/hildon-bread-crumb.h:
8843 Make the get_natural_size function a vfunc.
8845 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8847 * src/hildon-bread-crumb.c:
8848 * src/hildon-bread-crumb-trail.c:
8852 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * debian/changelog: Updating for release.
8861 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8863 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8864 don't leak the pango layout.
8866 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8869 * examples/hildon-bread-crumb-trail-example.c:
8873 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * debian/changelog: Removing the bug-fixed entries that were actually
8876 resolved as WONTFIX.
8878 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8881 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8883 * src/hildon-bread-crumb-trail.c:
8884 * src/hildon-bread-crumb-trail.h:
8885 * src/hildon-bread-crumb.c:
8886 * src/hildon-bread-crumb.h:
8890 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8892 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8893 until it's passed the type check.
8895 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8897 * examples/hildon-bread-crumb-trail-example.c
8901 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8903 * examples/Makefile.am
8904 * examples/hildon-bread-crumb-trail-example.c
8906 * src/hildon-bread-crumb-trail.c
8907 * src/hildon-bread-crumb-trail.h
8908 * src/hildon-bread-crumb.c
8909 * src/hildon-bread-crumb.h
8911 New HildonBreadCrumbTrail widget.
8913 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8915 * src/hildon-range-editor.c (hildon_range_editor_init),
8916 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8917 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8918 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8919 hildon_time_editor_class_init, hildon_time_editor_init),
8920 src/hildon-get-password-dialog.c (invalid_input,
8921 hildon_get_password_set_property, hildon_get_password_get_property,
8922 create_contents, hildon_get_password_dialog_set_max_characters),
8923 src/hildon-set-password-dialog.c (create_contents),
8924 src/hildon-date-editor.c (hildon_date_editor_init),
8925 src/hildon-login-dialog.c (hildon_login_dialog_init),
8926 src/hildon-number-editor.c (hildon_number_editor_init),
8927 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8928 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8929 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8930 configure option and adding the respective checks in the code.
8931 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8932 hildon_calendar_drag_data_received): fixed some build warnings.
8934 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8936 * debian/changelog: A 1.0.0 release notes.