1 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-note.c (+hildon_note_constructor),
4 (hildon_note_class_init), (+hildon_note_set_padding),
5 (hildon_note_rebuild): Install a constructor where to set the
6 padding properties in the note, so that it actually works fine.
7 Use hildon_note_set_padding() for this, and also to set it during
10 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: Bump GTK+ requirement to 2.14.3.
13 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
14 when using maemo-gtk to define proper margins for the notes.
16 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
19 2009-06-24 Alberto Garcia <agarcia@igalia.com>
21 * hildon/hildon-banner.c
22 (hildon_banner_class_init):
24 (+hildon_banner_size_request):
25 Request always the full width of the screen.
26 (hildon_banner_realize)
27 (-hildon_banner_check_position, hildon_banner_map):
28 hildon_banner_check_position() is not needed in Hildon 2.2.
29 (-hildon_banner_reset_wrap_state)
30 (hildon_banner_constructor, hildon_banner_init):
31 Remove unnecessary calls to hildon_banner_reset_wrap_state()
33 (force_to_wrap_truncated):
34 Remove has_been_wrapped and has_been_truncated attributes.
35 (+reshow_banner, hildon_banner_real_show_information)
36 (hildon_banner_show_information_with_markup)
37 (hildon_banner_show_animation, hildon_banner_show_progress)
38 (hildon_banner_set_text, hildon_banner_set_markup):
39 Refactor code. Shrink banner vertically to use the minimum space
40 necessary everytime the text of the label is updated.
41 (screen_size_changed):
42 Call force_to_wrap_truncated() when the size of the screen
45 Fixes: NB#120500 (only device memory connect mmc in use info
46 banner is left aligned)
48 Fixes: NB#120613 (Size of HildonBanner varies depending on
49 previously opened banners)
51 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
53 * hildon/hildon-color-chooser.c
54 (hildon_color_chooser_pointer_motion): Take the widget allocation
57 Fixes: NB#124385 (Unable to select exact point in color mixing box
58 in color palette dialog)
60 2009-06-23 Alejandro G. Castro <alex@igalia.com>
62 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
63 (hildon_pannable_area_dispose)
64 (hildon_pannable_area_button_press_cb)
65 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
66 (hildon_pannable_area_button_release_cb)
67 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
68 New 'panning-started' and 'panning-finished' signals.
70 Fixes: NB#121732 (New feature request: Signal to pannable area
71 that informs when panning is stopped.)
73 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
75 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
76 instead of hardcoded colon.
78 Fixes: NB#124090 (New calendar wizard title is not using
79 ecdg_ti_caption_separator)
81 2009-06-22 David King <davidk@openismus.com>
83 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
84 constants and functions, as well as correct many typos throughout the
87 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
90 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
92 * configure.ac: postrelease version bump.
93 * debian/changelog: post release version bump
95 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
100 * configure.ac: Bump version.
101 * debian/changelog: Updates.
103 2009-06-18 Alberto Garcia <agarcia@igalia.com>
105 * hildon/hildon-window-stack.c
106 (hildon_window_stack_pop_and_push_list):
107 Prevent windows from having the same stack index
109 2009-06-18 Alberto Garcia <agarcia@igalia.com>
111 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
112 Use the index of the previous window rather than the stack length
113 to calculate the new index.
117 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
119 * hildon/hildon-date-selector.c
120 (hildon_date_selector_select_current_date)
121 (hildon_date_selector_get_date)
122 (hildon_date_selector_select_day):
123 Update the documentation: uses always the range (1-31), as it is obvious
124 that the final one will depend on the month and the year, but globally
125 the range is this, in a similar GtkCalendar approach
126 (hildon_date_selector_get_date):
127 Update the documentation: add NULL as a valid value for the day, month
130 Fix some details, after talk with David King on bug MB#4698
132 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
134 * hildon/hildon-touch-selector-entry.c
135 * hildon/hildon-touch-selector.c
136 Update the documentation of the "text-column" property
138 2009-06-18 David King <davidk@openismus.com>
140 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
141 several typos and errors throughout the documentation.
143 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
146 2009-06-18 Alberto Garcia <agarcia@igalia.com>
148 * hildon/hildon-note.c (hildon_note_realize):
149 Make HildonNote support portrait mode.
151 Fixes: NB#123448 (HildonNote is not portrait-friendly)
153 2009-06-17 Alberto Garcia <agarcia@igalia.com>
155 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
156 Document this function
158 2009-06-17 David King <davidk@openismus.com>
160 * hildon/hildon-date-selector.c
161 (hildon_date_selector_select_current_date)
162 (hildon_date_selector_get_date): Update documentation regarding days,
163 as the day of the month is dependent on both the month and the year.
164 (hildon_date_selector_get_date): Fix documentation of output arguments.
166 Fixes: MB#4698 (DateSelector documentation has bad output argument
167 description, and the day depends on both the month and the year)
169 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
171 * hildon/hildon-caption.c: Other documentation fixes to
174 2009-06-17 David King <davidk@openismus.com>
176 * hildon/hildon-caption.c: Minor documentation updates for
177 HildonCaption. Fixes MB#4697.
179 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
181 * doc/hildon-docs.sgml: Add hildon-version section.
182 * doc/hildon-sections.txt:
183 * hildon/hildon-version.h.in: Document versioning macros and
186 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
188 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
189 from HildonPickerDialog section.
191 2009-06-16 Alberto Garcia <agarcia@igalia.com>
193 * hildon/hildon-banner.c (hildon_banner_bind_style)
194 (screen_size_changed, hildon_banner_init)
195 (hildon_banner_real_show_information)
196 (hildon_banner_show_information_with_markup)
197 (hildon_banner_show_animation, hildon_banner_show_progress):
198 Set a different widget name to banners in portrait mode, for them
199 to be themed correctly.
201 2009-06-16 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
204 Set a different widget name to notes in portrait mode, for them to
207 Partially fixes: NB#118401 (HildonNote causes unnecessary
210 2009-06-16 Alberto Garcia <agarcia@igalia.com>
212 * hildon/hildon-note.c (hildon_note_class_init)
213 (+hildon_note_size_request, screen_size_changed):
214 Always request the full width of the screen.
216 Fixes: NB#118375 (unnecessary rescaling of images)
218 2009-06-16 Alejandro G. Castro <alex@igalia.com>
220 * hildon/hildon-pannable-area.c,
221 (hildon_pannable_area_init),
222 (hildon_pannable_area_realize): Replaced old code adding flags in
223 the object init, now we add it with the other flags in the realize
226 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
228 * hildon/hildon-note.c: (hildon_note_class_init): Several
229 documentation improvements to the HildonNote widget.
231 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
233 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
235 Fixes: MB#4556 (HildonNoteType is undocumented)
237 2009-06-15 Alberto Garcia <agarcia@igalia.com>
239 * hildon/hildon-picker-button.c:
240 Explain how HildonPickerButton sets the title of its dialog
242 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
243 the title of its dialog)
245 2009-06-15 Alberto Garcia <agarcia@igalia.com>
247 * hildon/hildon-check-button.c:
248 Documentation updates
250 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
253 2009-06-15 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-edit-toolbar-private.h
257 * hildon/hildon-edit-toolbar.c
258 (+hildon_edit_toolbar_set_progress_indicator)
259 (hildon_edit_toolbar_init): Add progress indicator to the
262 * hildon/hildon-gtk.c
263 (hildon_gtk_window_set_progress_indicator):
264 If the window contains a HildonEditToolbar, enable the progress
267 * hildon/hildon-private.h
268 * hildon/hildon-private.c
269 (+hildon_private_create_animation)
270 * hildon/hildon-banner.c
271 (-hildon_banner_create_animation):
272 Moved to hildon-private.c
274 Fixes: NB#102373 (Progress indicator also for the Edit mode
277 2009-06-15 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-app-menu-private.h
280 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
281 (hildon_app_menu_add_filter, +menu_item_button_event)
282 (hildon_app_menu_button_release, hildon_app_menu_init):
283 Make sure that buttons receive 'button-release-event' in spite of
284 the grab held by HildonAppMenu
286 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
288 2009-06-15 Alberto Garcia <agarcia@igalia.com>
290 * hildon/hildon-app-menu.c
291 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
292 New style property to set the size of the group of filter buttons.
294 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
296 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
301 * configure.ac: Bump version.
302 * debian/changelog: Updates.
304 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
306 * hildon/hildon-main.c: Minor documentation fixes.
308 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
310 * doc/hildon-sections.txt:
311 * hildon/hildon-defines.h: Document the defines, organize them,
312 and mark deprecations as such.
314 Fixes: MB#4463 (Hildon size #defines are undocumented)
316 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
318 * hildon/hildon-animation-actor.c:
319 * hildon/hildon-app-menu.c:
320 * hildon/hildon-button.c:
321 * hildon/hildon-date-editor.c:
322 * hildon/hildon-dialog.c:
323 * hildon/hildon-edit-toolbar.c:
324 * hildon/hildon-entry.c:
325 * hildon/hildon-program.c:
326 * hildon/hildon-remote-texture.c:
327 * hildon/hildon-stackable-window.c:
328 * hildon/hildon-text-view.c:
329 * hildon/hildon-touch-selector.c:
330 * hildon/hildon-window-stack.c:
331 * hildon/hildon-window.c:
333 Remove redundant "represents" wording from most of the documentation.
335 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
337 2009-06-12 Alberto Garcia <agarcia@igalia.com>
342 * hildon/hildon-banner-private.h
343 * hildon/hildon-banner.c:
344 Move HildonBannerPrivate to hildon-banner.c and remove
345 hildon-banner-private.h
346 Use a bit field to store private booleans.
348 2009-06-12 Alberto Garcia <agarcia@igalia.com>
350 * hildon/hildon-app-menu.c (hildon_app_menu_map):
351 Don't install a new idle function if there's already one
356 2009-06-11 Alberto Garcia <agarcia@igalia.com>
358 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
359 (+legacy_menu_realized, +legacy_menu_unmapped)
360 (+set_legacy_menu_type):
361 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
362 they can be identified by the window manager.
364 Fixes: NB#101437 (Invoking CSM on the left side of page area is
365 displayed in wrong location)
367 Fixes: MB#4563 (Popup menu won't locate at the left side of the
370 2009-06-11 Alberto Garcia <agarcia@igalia.com>
372 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
374 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
377 2009-06-11 Alberto Garcia <agarcia@igalia.com>
379 * hildon/hildon-code-dialog.c
380 * hildon/hildon-date-editor.c
381 * hildon/hildon-number-editor.c
382 * hildon/hildon-seekbar.c
383 * hildon/hildon-stackable-window.c
384 * hildon/hildon-window.c:
385 Misc documentation updates
387 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
389 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
390 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
392 Fixes: NB#117931 (Theming issues in accounts dialogs)
394 2009-06-09 Alejandro G. Castro <alex@igalia.com>
396 * hildon/hildon-pannable-area.c,
397 (hildon_pannable_area_button_release_cb): Changed the coordinates
398 of the original release in case we want to discard the release,
399 some widgets in Fremantle do not handle the leave-notify.
401 2009-06-09 Alejandro G. Castro <alex@igalia.com>
403 * hildon/hildon-pannable-area.c,
404 (hildon_pannable_area_button_release_cb): Reviewed the logic of
405 the release using the last refactored functions and avoiding the
406 movement if an element was selected.
408 2009-06-09 Alejandro G. Castro <alex@igalia.com>
410 * hildon/hildon-pannable-area.c,
411 (hildon_pannable_area_check_move),
412 (hildon_pannable_area_handle_move),
413 (hildon_pannable_area_motion_notify_cb): Refactored the
414 motion_notify method using a couple of new functions.
416 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-date-selector.c:
419 (hildon_date_selector_construct_ui):
420 * hildon/hildon-time-selector.c:
421 (hildon_time_selector_constructor):
422 * hildon/hildon-touch-selector-entry.c:
423 (hildon_touch_selector_entry_set_text_column),
424 (hildon_touch_selector_entry_get_text_column):
425 * hildon/hildon-touch-selector.c: (_default_print_func),
426 (hildon_touch_selector_new_text): Use
427 hildon_touch_selector_set/get_text_column() instead of
428 setting/getting the "text-column" property.
430 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
432 * doc/hildon-sections.txt: Add the new public methods below.
434 * examples/hildon-picker-button-multicolumn-example.c:
435 (create_touch_selector):
436 * examples/hildon-touch-selector-example.c: (create_selector):
437 * examples/hildon-touch-selector-multi-cells-example.c:
439 Use hildon_touch_selector_column_set_text_column()
441 * hildon/hildon-touch-selector-column.h:
442 * hildon/hildon-touch-selector.c:
443 (hildon_touch_selector_column_set_text_column),
444 (hildon_touch_selector_column_get_text_column):
445 Make hildon_touch_selector_column_set/get_column() public, use
446 them in the inline example, document them, and reference to them
449 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
451 * hildon/hildon-time-selector.c: Fix the docs for
452 hildon_time_selector_new_step().
454 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
456 * hildon/hildon-touch-selector.c: Improve the documentation for
457 hildon_touch_selector_append_column().
459 Fixes MB#4641 (Documentation:
460 hildon_touch_selector_append_column() ref-counting)
462 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
464 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
465 Comment out test 5, since the hildon_controlbar_set_range() range
466 check is broken and fixing it would have side effects. Also,
467 this finally fixes make distcheck.
469 Fixes: NB#101420 (Update unit tests and fix make distcheck)
471 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
473 * tests/TEST-CASES.txt: Remove other bogus test.
474 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
475 Remove bogus test that was setting/retrieving a valid value.
477 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
479 * tests/TEST-CASES.txt: Remove bogus tests.
480 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
481 Remove three bogus tests that were actually setting valid colors.
483 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
485 * configure.ac: post release version bump
486 * debian/changelog: post release version bump
488 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
493 * configure.ac: Bump version.
494 * debian/changelog: Updates.
496 2009-06-08 Christian Dywan <christian@lanedo.com>
500 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
501 Correct errors in hildon_format_file-size_for_display and use
502 translations from the hildon-fm package instead of osso-filemanager.
504 2009-06-08 Alejandro G. Castro <alex@igalia.com>
506 * hildon/hildon-pannable-area.c,
507 (hildon_pannable_area_init): Initialized new values to handle the
509 (hildon_pannable_area_adjust_value_changed): Check if the values
510 changed before even call the redraw function.
511 (hildon_pannable_area_size_allocate),
512 (hildon_pannable_axis_scroll),
513 (hildon_pannable_area_scroll),
514 (hildon_pannable_area_jump_to): Improved the diagonal movement
517 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
520 2009-06-08 Alberto Garcia <agarcia@igalia.com>
522 * examples/hildon-banner-example.c:
523 Several style updates
524 (on_animation_clicked, on_animation_idle)
525 (on_progress_clicked, on_progress_idle):
526 Add additional reference for the cases when the parent window is
529 2009-06-08 Alberto Garcia <agarcia@igalia.com>
531 * doc/hildon-sections.txt
532 * hildon/hildon-pannable-area.c
533 * hildon/hildon-banner.h
534 * hildon/hildon-banner.c: Documentation updates.
536 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
539 2009-06-05 Alejandro G. Castro <alex@igalia.com>
541 * hildon/hildon-calendar-popup.h:
542 * hildon/hildon-caption.h:
543 * hildon/hildon-code-dialog.h:
544 * hildon/hildon-controlbar.h:
545 * hildon/hildon-date-editor.h:
546 * hildon/hildon-dialog.h:
547 * hildon/hildon-get-password-dialog.h:
548 * hildon/hildon-hvolumebar.h:
549 * hildon/hildon-login-dialog.h:
550 * hildon/hildon-note.h:
551 * hildon/hildon-number-editor.h:
552 * hildon/hildon-range-editor.h:
553 * hildon/hildon-seekbar.h:
554 * hildon/hildon-set-password-dialog.h:
555 * hildon/hildon-sort-dialog.h:
556 * hildon/hildon-time-editor.h:
557 * hildon/hildon-time-picker.h:
558 * hildon/hildon-volumebar-range.h:
559 * hildon/hildon-volumebar.h:
560 * hildon/hildon-vvolumebar.h:
561 * hildon/hildon-weekday-picker.h:
562 * hildon/hildon-window.h:
563 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
564 macros with the current replacements
566 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
568 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
570 * hildon/hildon-color-button.c (hildon_color_button_init): Use
571 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
572 itself, to make it fit better with Fremantle style.
574 Fixes: NB#109878 (height and width of focus on color icon is not
575 consistent with other item in the application tool bar)
577 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
579 * hildon/hildon-touch-selector.c:
580 (hildon_touch_selector_optimal_size_request): use the current requisition
581 as the base, in order to include any possible extra widget, like the
582 hildon entry on HildonTouchSelectorEntry
584 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
586 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: post release version bump
589 * debian/changelog: post release version bump
591 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: Bump version.
597 * debian/changelog: Updates.
599 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
601 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
603 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
604 to ensure the banner contents are centered, instead of relying on
605 the expand and fill properties in GtkHBox.
606 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
608 Fixes: NB#108265 (Animation banner not properly centered)
610 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
612 * hildon/hildon-pannable-area.c
613 (hildon_pannable_area_initial_effect): Remove the initial_effect
614 management, check initial_hint
615 (hildon_pannable_are_expose_event): Remove the initial_hint management,
616 set initial_effect to FALSE
617 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
618 by launching the fade_timeout if the scrollbars state has changed and are
620 * examples/hildon-pannable-area-initial-hint-example.c
621 Modified to allow to remove rows too. Add and remove rows one by one.
623 2009-05-28 Alberto Garcia <agarcia@igalia.com>
625 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
626 Don't close the menu if there's an animation actor below it.
628 Fixes: NB#117927 (Application menu not usable with animation
631 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
633 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
634 "focus-on-click" from the dialog button, to avoid stealing the
635 focus from the entry.
637 Fixes: NB#118903 (Account setup wizard: Text in Search field
638 should be focused when "Region" touch list picker is reopened
641 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
643 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
644 (prepare_action_area): Completely hide the dialog separator.
646 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
648 * hildon/hildon-touch-selector-entry.c
649 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
650 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
651 now that the entry is exposed.
653 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
655 * hildon/hildon-touch-selector-entry.c
656 (hildon_touch_selector_entry_init): Change the entry's size
657 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
659 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
661 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
662 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
663 avoid unnecessary scaling.
665 2009-05-27 Alberto Garcia <agarcia@igalia.com>
667 * hildon/hildon-app-menu.c (hildon_app_menu_map):
668 Create grab transfer window before calling parent's map function.
670 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
671 "crushed" button(s) in the top left corner)
673 2009-05-26 Alberto Garcia <agarcia@igalia.com>
675 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
676 Check if the window is already realized when pushing it.
678 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
680 * configure.ac: post release version bump
681 * debian/changelog: post release version bump
683 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
688 * configure.ac: Bump version.
689 * debian/changelog: Updates.
691 2009-05-25 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-app-menu.c: Doc updates.
695 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
697 * hildon/hildon-banner.c: Remove leftover macro.
699 2009-05-25 Alejandro G. Castro <alex@igalia.com>
701 * hildon/hildon-pannable-area.c,
702 (hildon_pannable_area_scroll_indicator_fade),
703 (hildon_pannable_area_button_release_cb): Reviewed vmin
704 conditions, it could cause problems in the fadeout procedure.
706 2009-05-25 Alejandro G. Castro <alex@igalia.com>
708 * hildon/hildon-pannable-area.c
709 (hildon_pannable_area_button_release_cb): Added a threshold to
710 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
712 2009-05-25 Alejandro G. Castro <alex@igalia.com>
714 * hildon/hildon-pannable-area.c,
715 (hildon_pannable_area_set_property): Added code to sync the gtk
716 dnd threshold with the panning threshold.
718 2009-05-25 Alejandro G. Castro <alex@igalia.com>
720 * hildon/hildon-pannable-area.c,
721 (hildon_pannable_area_class_init): Changed some of the default
722 values, now it should be less responsive and more accurate.
724 2009-05-25 Alejandro G. Castro <alex@igalia.com>
726 * hildon/hildon-pannable-area.c,
727 (hildon_pannable_area_init),
728 (hildon_pannable_area_scroll_indicator_fade),
729 (hildon_pannable_area_button_press_cb),
730 (hildon_pannable_axis_scroll),
731 (hildon_pannable_area_timeout),
732 (hildon_pannable_area_motion_notify_cb),
733 (hildon_pannable_area_button_release_cb): Changed the name of the
734 clicked attribute to button_pressed, it is more clear about its use.
736 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
738 * src/hildon-pannable-area.c
739 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
741 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
742 vertical scrollbar visibility, and use the data on private section instead,
743 remove the initial_hint check
744 (hildon_pannable_area_expose_event): add the initial_hint check here
746 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
748 * src/hildon-pannable-area.c
749 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
750 if the fadeout effect was used
751 (hildon_pannable_area_expose_event): check if it is required to
752 manage the initial effect on the begining of the function. Previously
753 it was made at the end, but this doesn't ensure that the scrollbars
754 will be painted on the first show. Do not set to FALSE initial_effect,
755 to ensure that the initial hint is showed the first time the pannable
757 * examples/Makefile.am
758 * examples/hildon-pannable-area-initial-hint-example.c:
759 New example, to show that the initial-hint is showed when the widget
762 Fixes: NB#116607 (Pannable area should always have scrollbar visible
763 initially if the application can be scrolled)
765 2009-05-25 Alberto Garcia <agarcia@igalia.com>
767 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
768 Resize table before adding new items to make sure that
769 gtk_table_resize() is called just once.
771 2009-05-25 Alberto Garcia <agarcia@igalia.com>
773 * hildon/hildon-app-menu-private.h
774 * hildon/hildon-app-menu.c (item_visibility_changed)
775 (filter_visibility_changed, hildon_app_menu_show_all)
776 (hildon_app_menu_hide_all, hildon_app_menu_init):
777 Rearrange items just once when gtk_widget_show_all()/hide_all()
780 2009-05-25 Alberto Garcia <agarcia@igalia.com>
782 * hildon/hildon-app-menu.c
783 (hildon_app_menu_insert, hildon_app_menu_add_filter):
784 Don't call gtk_widget_show() on added items.
786 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
787 automatically when they're added)
789 2009-05-20 Alberto Garcia <agarcia@igalia.com>
791 * hildon/hildon-banner.c
792 (hildon_banner_realize, +hildon_banner_unrealize)
793 (+screen_size_changed, hildon_banner_class_init):
794 Redisplay the banner if the screen is rotated.
796 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
797 on transition from landscape to portrait)
799 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
801 * hildon/hildon-banner.[ch]:
802 (hildon_banner_show_information_override_dnd): remove icon_name from the
803 method definition as it is ignored.
804 * examples/hildon-banner-dnd-example.c: updated with the change on
807 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
809 * hildon/hildon-banner-private.h: new require_override_dnd and
810 overrides_dnd variables
811 * hildon/hildon-banner.h:
812 (hildon_banner_show_information_override_dnd): new method, that shows
813 the information but sets the override flag, in order to show important
815 * hildon/hildon-banner.c
816 (hildon_banner_show_information_override_dnd): new method
817 (hildon_banner_set_override_flag): new utility function
818 (hildon_banner_real_show_information): new utility function, in order to
819 generalize the current hildon_banner_show_information_override_dnd and
820 hildon_banner_show_information_override_dnd
821 * examples/Makefile.am
822 * examples/hildon-banner-dnd-example.c: New example that show how to
823 use the new hildon_banner_show_information_override_dnd
825 Fixes: NB#114874 (There is no possibility to show hildon banners with
828 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
830 * hildon/hildon-pannable-area.c: Add a comment explaining the math
831 behind hildon_pannable_calculate_vel_factor().
833 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
835 * hildon/hildon-pannable-area.c
836 (hildon_pannable_calculate_vel_factor): Correct the sum of the
837 deceleration factors.
839 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
841 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
842 Reduce the default value for 'scroll_time' to 1 second, since the
843 current initial scrolling takes too much time.
845 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
847 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
848 calculate velocity factor during initialization, since the properties
851 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
853 * hildon/hildon-pannable-area.c
854 (hildon_pannable_area_set_property): Calculate the velocity factor
855 after setting the deceleration property and not after.
857 2009-05-20 Alberto Garcia <agarcia@igalia.com>
859 * hildon/hildon-entry.c
860 (hildon_entry_class_init, +set_property, hildon_entry_new)
861 * hildon/hildon-check-button.c
862 (hildon_check_button_class_init)
863 (+set_property, hildon_check_button_new):
864 Make the theme size a property.
866 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
867 others) do too much in the _new function)
869 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: post release version bump
872 * debian/changelog: post release version bump
874 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
879 * configure.ac: Bump version.
880 * debian/changelog: Updates.
882 2009-05-15 Alberto Garcia <agarcia@igalia.com>
884 * hildon/hildon-gtk.h
885 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
886 New API function to take a screenshot of a window
888 Fixes: NB#106374 (Need API to take a loading screenshot)
890 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
892 * hildon/hildon-time-selector.c
893 (update_format_policy): prevent to use hours and minutes unitialized
895 2009-05-15 Alberto Garcia <agarcia@igalia.com>
897 * hildon/hildon-window.c (hildon_window_size_request):
898 Always request the full size of the screen (minus the title bar if
899 not in fullscreen mode).
901 Fixes: NB#107486 (HildonWindow should size itself properly)
903 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
905 * hildon/hildon-note-private.h: Add idle_handler to the private data.
906 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
907 (on_show_cb), (sound_handling): Disconnect the idle handler for
908 the sound when the note is finalized to avoid possible crashes.
910 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
913 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
915 * src/hildon-animation-actor.c,
916 * src/hildon-remote-texture.c:
917 Added proper object cleanup to remove signal handler and object
918 references as HildonAnimationActor and HildonRemoteTexture
919 objects get destroyed.
921 Fixes: NB#116682 (Destroying parented animation actors when
922 parent in unmapped leads to crash)
924 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
926 Based on a patch by Christian Dywan (christian@imendio.com)
928 * doc/hildon-sections.txt:
929 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
930 * hildon/hildon-helper.h: New file size formatting method.
932 * debian/control: Depend on osso-filemanager l10n package for
933 proper localization strings.
935 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
937 * tests/Makefile.am: Include top_srcdir to make possible to build
938 tests in a different builddir.
939 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
940 on a different builddir.
942 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
944 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
945 (hildon_touch_selector_remove): Disconnect model's signal handler
948 Fixes: NB#116289 (Hildon home crashes while adding task
951 2009-05-11 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-button.c
954 (hildon_button_set_title, hildon_button_set_value):
955 Hide labels containing an empty string.
957 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
959 * configure.ac: post release version bump
960 * debian/changelog: post release version bump
962 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
967 * configure.ac: Bump version.
968 * debian/changelog: Updates.
970 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
972 * hildon/hildon-note-private.h: Removed sound_signal_handler
973 * hildon/hildon-note.c
974 (on_show_cb): new callback on note "show" event, this simply adds
975 a idle, with the function sound_handling
976 (sound_handling): removed the sound_signal_handler management
977 (hildon_note_init): connect note "show" event to on_show_cb
978 (hildon_note_realize): remove the connection to "expose-event"
980 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
981 device?' confirmation note)
983 2009-05-08 Alberto Garcia <agarcia@igalia.com>
985 * hildon/hildon-note.c
986 (hildon_note_new_information_with_icon_name)
987 (hildon_note_new_confirmation_with_icon_name):
988 Terminate the list of parameters in g_object_set() calls
990 Fixes: NB#115166 (Formatting memory card is not taking place)
992 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
994 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
995 "dialog-information" role for the sound being played.
997 2009-05-06 Alberto Garcia <agarcia@igalia.com>
999 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1000 Don't make the menu a modal window, it causes strange interactions
1001 with the pointer grab and it's not really needed.
1003 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1005 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1007 * hildon/hildon-touch-selector.[ch]
1008 (hildon_touch_selector_optimal_size_request): function added to get a
1009 optimal size request from the touch selector, when you want a dialog to
1010 show as much of the selector
1011 * hildon/hildon-picker-dialog.c:
1012 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1013 (hildon_app_menu_class_init):
1014 New "max-height-landscape" and "max-height-portrait" style properties
1015 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1016 (hildon_picker_dialog_get_max_height): returns the maximum height using
1017 the style properties defined and checking the current portrait/landscape
1019 (_hildon_picker_dialog_set_selector): removed the set_size_request
1021 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1023 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1025 * hildon/hildon-bread-crumb-trail.c:
1026 * hildon/hildon-bread-crumb.c:
1027 * hildon/hildon-seekbar.c:
1028 Add reference to replacements for these deprecated widgets.
1030 Fixes: MB#4461 (Documentation: All deprecations should mention
1033 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1035 * examples/hildon-remote-texture-example.c
1037 Change the include to the hildon-remote-texture in order to compile
1038 properly the examples on the installed libhildon1-examples package
1040 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1042 * tests/Makefile.am: Add check for HildonPickerButton.
1043 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1044 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1045 checks for the HildonPickerButton.
1046 * tests/check_test.c (configure_tests): Add the test suite.
1047 * tests/test_suites.h: likewise.
1049 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1051 * hildon/hildon-touch-selector.c
1052 (+on_row_changed): Emit HildonTouchSelector:changed when the
1053 contents of a selected row change.
1054 (_create_new_column), (_hildon_touch_selector_set_model): connect
1055 to GtkTreeModel:row-changed on a newly set model.
1057 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1059 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1061 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1063 * hildon/hildon-banner.c (hildon_banner_destroy)
1064 (hildon_banner_show_progress, hildon_banner_set_fraction):
1065 Remove the progress bar from HildonBanner and use a progress
1068 Fixes: NB#113761 (Update progress banner to use progress
1071 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1073 * hildon/hildon-banner.c:
1074 Calculate size of the banner label using the actual screen width
1075 rather than using a fixed value.
1077 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1080 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1082 * hildon/hildon-pannable-area.c,
1083 (hildon_pannable_area_class_init): Fixed signals documentation
1086 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1088 * configure.ac: post release version bump
1089 * debian/changelog: post release version bump
1091 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1096 * configure.ac: Bump version.
1097 * debian/changelog: Updates.
1099 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/hildon-edit-toolbar.c
1102 (hildon_edit_toolbar_init):
1103 Don't let buttons in HildonEditToolbar receive focus.
1105 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1106 typing on an HW arrows key)
1108 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1110 * doc/Makefile.am: Fix build.
1112 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1114 * doc/Makefile.am: Do not redefine content_files.
1116 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1124 Renamed src/ to hildon/
1129 Include <hildon/hildon.h> directly in all examples.
1131 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1133 * src/hildon-sort-dialog.c
1134 (hildon_sort_dialog_add_sort_key_with_sorting)
1138 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1141 make distcheck passes.
1143 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1145 * Makefile.am: Enable gtk-doc during distcheck.
1147 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1149 * Makefile.am: Do not distribute the debian/ directory.
1151 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1153 * doc/Makefile.am: Add the extra SGML files to content_files,
1154 so that they are distributed properly.
1156 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1158 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1161 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1164 (hildon_note_new_information_with_icon_name): Set the "icon" property
1165 to preserve soundness.
1167 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1169 * src/hildon-font-selection-dialog.c
1170 (hildon_font_selection_dialog_set_property): Fail when the "family"
1171 property is set to NULL.
1173 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1178 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1180 * src/hildon-time-selector.h:
1181 Added HildonTimeSelectorFormatPolicy
1182 * src/hildon-time-selector.c:
1183 Added PROP_TIME_FORMAT_POLICY
1184 (_check_ampm_format): renamed to check_automatic_ampm_format
1185 (update_format_policy), (update_format_dependant_columns): new functions
1186 (hildon_time_selector_class_init)
1187 (hildon_time_selector_contructor)
1188 (hildon_time_selector_init)
1189 (hildon_time_selector_get_property)
1190 (hildon_time_selector_set_property)
1191 (hildon_time_selector_get_time)
1192 (hildon_time_selector_set_time)
1193 * src/hildon-touch-selector.h: new file
1194 * src/hildon-touch-selector.c
1195 (hildon_touch_selector_emit_changed)
1196 (hildon_touch_selector_block_changed)
1197 (hildon_touch_selector_unblock_changed)
1198 Added functions to allow to block the emission of the "changed" signal
1199 * src/hildon-picker-dialog.c
1200 (hildon_picker_dialog_show): call the parent show before the custom code
1201 * examples/hildon-time-button-example.c
1202 Modified, so now you can configure the time format using the new property
1204 Added a new property "time-format-policy" that allow to choose the time
1205 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1206 case it uses gconf in order to check if the time selector must use
1209 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1212 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1214 * src/hildon-note.c (hildon_note_init):
1215 Label in HildonNote must be left aligned, not centered. This
1216 reverts the last commit in HildonNote.
1218 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1219 is connectivity dialog)
1221 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1226 * doc/hildon-sections.txt:
1227 Added hildon_gtk_window_set_do_not_disturb()
1229 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-note.c (hildon_note_init): Center label.
1233 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1236 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: Bump version.
1242 * debian/changelog: Updates.
1244 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-note-private.h: Add button-width to the private data.
1247 * src/hildon-note.c (+resize_button),
1248 (+hildon_note_orientation_update): methods to repack widgets on orientation
1250 (screen_size_changed): Call above method for confirmation notes.
1251 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1252 (hildon_note_rebuild): Store the original width request from buttons.
1254 Fixes: NB#109635 (Confirmation notes do not support portrait)
1256 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1259 when it is a progress note.
1261 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1263 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1264 in the note, since there are no horizontally arranged contents.
1266 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-gtk.c (+set_flag): new generic method to
1269 set/delay a flag setting in a window.
1270 (hildon_gtk_window_set_progress_indicator):
1271 (hildon_gtk_window_set_do_not_disturb),
1272 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1273 avoid code redundance.
1275 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1277 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1279 * src/hildon-gtk.c (set_clear_window_flag),
1280 (do_set_progress_indicator), (do_set_do_not_disturb),
1281 (do_set_portrait_flags),
1282 (hildon_gtk_window_set_progress_indicator),
1283 (hildon_gtk_window_set_do_not_disturb),
1284 (hildon_gtk_window_set_portrait_flags):
1285 Allow setting dnd-flag, progress indicator, and portrait flags
1286 when the window is not realized.
1288 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1290 * src/hildon-pannable-area.c,
1291 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1292 the size request policy function and defines.
1294 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1296 * doc/hildon-sections.txt: Add the new API.
1297 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1298 method to set the portrait flags.
1299 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1301 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1303 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1305 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1306 to allow using this method with other flags.
1307 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1308 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1310 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1312 * src/hildon-touch-selector.c
1313 (hildon_touch_selector_append_text_column):
1314 Make the cell renderer use the smallest width possible.
1316 Fixes: NB#108470 (Selected items in multiple selection are either
1317 having a tick that is cut or not visible at all.)
1319 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-touch-selector.c
1322 (hildon_touch_selector_append_text_column):
1325 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1328 Use g_strdup_printf() instead of a fixed size buffer.
1330 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1333 Close banners when a HildonAppMenu is popped up.
1335 Fixes: NB#111027 (Title menu closed immediately if activated when
1336 "Invalid e-mail address" banner is shown)
1338 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1343 * configure.ac: Bump version.
1344 * debian/changelog: Updates.
1346 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-banner.c (hildon_banner_realize):
1349 Mark HildonBanner as supporting portrait mode.
1350 Use GDK to set window properties insetad of direct Xlib calls.
1352 Fixes: NB#111830 (HildonBanner should be marked as supporting
1355 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1357 * src/hildon-note.c (hildon_note_rebuild):
1358 Hide action area in information notes. Prevents text from being
1359 slightly aligned to the left.
1361 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1364 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1366 Patch by Mox Soini (ext-mox.soini@nokia.com)
1368 * src/hildon-banner.c (hildon_banner_create_animation):
1369 Use stylus-sized icons in animation banner.
1371 Fixes: NB#111206 (stylus sized icon for animation banner)
1373 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1377 (+hildon_gtk_window_set_do_not_disturb):
1378 New API to set the do-not-disturb flag.
1380 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1382 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1384 * examples/hildon-progress-indicator-example.c: Fix example
1386 * src/hildon-gtk.c (set_clear_window_flag)
1387 (hildon_gtk_window_set_progress_indicator):
1388 Create a generic function for setting flags to a window.
1389 Use GDK instead of direct Xlib calls.
1391 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-button.c (hildon_button_set_arrangement):
1394 Due to NB#88126, if one of the labels is too long it will be
1395 painted outside the button. The 'value' label is more likely to be
1396 the longest one, so we change its packing options in order to
1397 truncate it if necessary. As a side effect, the 'title' label will
1398 no longer be truncated.
1400 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1402 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1407 * configure.ac: Bump version.
1408 * debian/changelog: Updates.
1410 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1412 Deprecation of the hildon_pannable_area_set_size_request_policy
1413 API, the only policy properly supported in gtk+ nowadays is the
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_size_request): Added a workaround for the
1418 size_request to avoid the problems of huge pixmaps in case someone
1419 is still using the function.
1420 * src/hildon-pannable-area.h: Deprecated the enum with the
1423 Fixes: NB#110244 (Problems with the
1424 hildon_pannable_area_set_size_request_policy API)
1426 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1428 * src/hildon-pannable-area.c,
1429 (hildon_pannable_area_init),
1430 (hildon_pannable_area_size_request),
1431 (hildon_pannable_area_style_set),
1432 (hildon_pannable_draw_vscroll),
1433 (hildon_pannable_draw_hscroll),
1434 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1435 indicator_width to clarify the use of the attribute.
1437 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1442 * configure.ac: Bump version.
1443 * debian/changelog: Updates.
1445 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1447 * src/hildon-picker-dialog.c
1448 * src/hildon-touch-selector.c
1449 Reverting the change that tried to avoid the hardcoded height on
1450 the picker dialog, as causes problems on the hildon-touch-selector
1453 Fixes: NB#110029 (selectors not scrolling to selected value)
1455 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1457 * src/hildon-touch-selector.c: Fix typos
1459 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1461 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1462 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1463 request more motions after using it.
1465 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1467 * src/hildon-calendar.c (hildon_calendar_expose),
1468 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1469 Remove unused variables.
1471 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1473 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1474 variable assignment.
1476 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1478 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1479 Check the return value of gtk_tree_selection_get_selected()
1482 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1484 * src/hildon-animation-actor.c
1485 * src/hildon-button.c
1487 * src/hildon-pannable-area.c
1488 * src/hildon-picker-button.c
1489 * src/hildon-program.c
1490 * src/hildon-remote-texture.c
1491 * src/hildon-text-view.c
1492 * src/hildon-touch-selector.c
1493 * src/hildon-window-stack.c
1494 * src/hildon-window.c:
1495 Add missing 'Since: 2.2' tags.
1497 * doc/hildon-sections.txt:
1498 Add some missing symbols.
1500 * doc/hildon-docs.sgml:
1501 New 'Other' section for HildonAnimationActor and
1504 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1506 Patch by Iván Gómez (igomez@igalia.com)
1509 * doc/compiling.sgml
1510 * doc/hildon-docs.sgml
1511 * doc/hildon-sections.txt
1512 * doc/migration.sgml
1513 * doc/resources.sgml
1515 New chapters on using the Hildon library.
1516 Updated the general structure of the reference manual.
1517 Other minor documentation fixes.
1519 * src/hildon-calendar-popup.c
1520 * src/hildon-calendar.c
1521 * src/hildon-controlbar.c
1522 * src/hildon-date-editor.c
1523 * src/hildon-dialog.c
1524 * src/hildon-hvolumebar.c
1525 * src/hildon-number-editor.c
1526 * src/hildon-range-editor.c
1527 * src/hildon-sort-dialog.c
1528 * src/hildon-time-editor.c
1529 * src/hildon-time-picker.c
1530 * src/hildon-volumebar-range.c
1531 * src/hildon-volumebar.c
1532 * src/hildon-vvolumebar.c
1533 * src/hildon-weekday-picker.c:
1534 Add deprecation notes
1536 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1537 Document 'horizontal-movement' and 'vertical-movement' signals.
1539 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1544 * configure.ac: Bump version.
1545 * debian/changelog: Updates.
1547 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_class_init): increased the minimum velocity.
1551 (hildon_pannable_area_button_release_cb): Updated the
1552 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1553 setup. Review the code to control that last event.
1555 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1558 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1560 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1562 * src/hildon-get-password-dialog.c
1563 (hildon_get_password_set_property),
1564 (hildon_get_password_get_property), (create_contents):
1565 * src/hildon-login-dialog-private.h:
1566 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1567 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1568 (hildon_login_dialog_get_password):
1569 * src/hildon-set-password-dialog-private.h:
1570 * src/hildon-set-password-dialog.c
1571 (hildon_set_password_set_property),
1572 (hildon_set_password_get_property), (create_contents),
1573 (hildon_set_password_response_change),
1574 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1576 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1577 instead and look more Fremantle style.
1579 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1581 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1583 * doc/hildon-sections.txt
1584 * src/hildon-window-stack.h
1585 * src/hildon-window-stack.c
1586 (+hildon_window_stack_get_windows):
1587 New API to obtain the list of windows on a stack.
1589 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-app-menu.c (hildon_app_menu_popup)
1592 (hildon_app_menu_class_init, -hildon_app_menu_show):
1593 Remove hildon_app_menu_show() and move all its checks to
1594 hildon_app_menu_popup()
1596 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1598 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1599 (_hildon_picker_dialog_set_selector): removed call to
1600 gtk_widget_set_size_request
1601 * src/hildon-touch-selector.c
1602 (_create_new_column): change the pannable size request policy
1604 Avoid to use a hardcoded height for the hildon picker dialog. In order
1605 to get that, we needed to change the hildon pannable size request
1607 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1609 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1612 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1615 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1617 * debian/control: Depend on osso-system-lock localization package.
1618 * src/hildon-code-dialog.c: Obtain the secu_application_title
1619 translation from osso-system-lock.
1620 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1621 for translation the atk related strings, that's not necessary.
1622 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1623 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1624 cancel button, it is not required.
1626 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1628 * src/hildon-pannable-area.c,
1629 (hildon_pannable_area_class_init): Modified the default value of
1630 the overshooting max speed, we have reduced it.
1632 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1634 * doc/hildon-sections.txt
1635 * src/hildon-window-private.h
1636 * src/hildon-window.h
1637 * src/hildon-window.c (hildon_window_class_init)
1638 (hildon_window_init, hildon_window_finalize)
1639 (hildon_window_realize, hildon_window_get_property)
1640 (hildon_window_set_property, hildon_window_update_markup)
1641 (hildon_window_get_markup, hildon_window_set_markup):
1642 New "markup" property and hildon_window_{get,set}_markup() methods.
1644 * examples/hildon-stackable-window-example.c (new_window):
1645 Update example to use hildon_window_set_markup()
1647 Fixes: NB#106375 (Need API to retitle a window with a title
1650 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1652 * src/hildon-pannable-area.c,
1653 (hildon_pannable_area_class_init): Changed the default value of
1654 the initial_hint to TRUE.
1655 (hildon_pannable_area_initial_effect): Changed the initial effect,
1656 not the effect is just the fade-out of the scrollbars.
1658 Fixes: NB#107775 (No scrollbars can be seen when several items are
1659 available in a dialog)
1661 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-program.c (hildon_program_update_top_most):
1666 Fixes: NB#109179 (Memory leak in Hildon program)
1668 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-banner.c (-get_current_app_window):
1671 Remove unused function.
1673 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1675 * src/hildon-pannable-area.c: Modified the documentation of the
1676 get adjustments functions to explain the problem of using the
1677 adjustment directly.
1678 (hildon_pannable_area_class_init): Improved the explanation about
1681 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-app-menu-private.h
1684 * src/hildon-app-menu.c
1685 (hildon_app_menu_class_init):
1686 Bring back the 'external-border' style property
1687 (hildon_app_menu_class_init, hildon_app_menu_init)
1688 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1689 Set a fixed width-request for the menu, independent of the number
1692 Fixes: NB#94957 (Smoothly opened application menu)
1694 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1698 * src/hildon-banner.c
1699 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1701 Make sure that the banner is correctly placed the first time it's
1703 (hildon_banner_check_position, -check_fullscreen_state):
1704 Show the banner in the same place no matter if the window is in
1705 fullscreen mode or not.
1707 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1709 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1711 * src/hildon-touch-selector.c (_default_print_func): reorder
1712 concatenation for clarity.
1714 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1717 for multicolumn selectors.
1719 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1721 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1726 * configure.ac: Bump version.
1727 * debian/changelog: Updates.
1729 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1731 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1734 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1736 * configure.ac: removed libcangerra-gtk dependency
1737 * debian/control: removed libcanberra-gtk dependency
1738 * src/Makefile.am: removed libcanberra gtk related flags
1739 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1740 context, and manage a global canberra context instead
1742 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1744 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1746 Patch by Daniel Borgmann (danielb@openismus.com)
1748 * src/hildon-edit-toolbar.c:
1749 Adjust the left padding.
1750 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1751 Paint background of the edit toolbar.
1753 Fixes: NB#107897 (Patch to make editmodetoolbar background
1754 themeable and adjust margin)
1756 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1758 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1760 * src/hildon-program.c (hildon_program_update_top_most):
1761 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1763 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1764 change when the user tasks in/out of an application)
1766 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1768 * configure.ac: added libcangerra-gtk dependency
1769 * debian/control: added libcanberra-gtk dependency
1770 * src/Makefile.am: added libcanberra gtk related flags
1771 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1774 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1776 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-program.c (hildon_program_remove_window)
1779 (hildon_program_add_window): Add checks for the window
1780 parameter. Don't decrease the window counter if the window is not
1783 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1785 * src/hildon-pannable-area.c,
1786 (hildon_pannable_area_realize): Fixed position of the event_window
1787 in the realize method.
1789 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-app-menu-private.h
1792 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1793 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1794 (hildon_app_menu_key_press, hildon_app_menu_init)
1795 (hildon_app_menu_finalize):
1796 Make sure that all idle functions are removed when the widget is
1799 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1801 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1806 * configure.ac: Bump version.
1807 * debian/changelog: Updates.
1809 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-entry.c
1812 (+hildon_entry_show_placeholder),
1813 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1814 that replace hildon_entry_update_contents().
1815 (hildon_entry_set_text),
1816 (hildon_entry_set_placeholder),
1817 (hildon_entry_focus_in_event),
1818 (hildon_entry_focus_out_event): Determine when it is needed
1819 either to show or hide the placeholder and call the above methods.
1821 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1822 when the placeholder text is already set)
1824 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1827 simple GdkPixbufAnim using the new icons for the banner.
1828 (hildon_banner_show_animation): Use the above mentioned method to
1829 create the animation widget.
1831 Fixes: NB#103564 (Make hildon animation banner use individual
1832 image files as the animation)
1834 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1836 * src/hildon-pannable-area.c,
1837 (hildon_pannable_leave_notify_event): Check if the child is NULL
1838 to avoid sending the leave.
1840 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_class_init),
1844 (hildon_pannable_leave_notify_event): Added a handler of the
1845 leave-notify-signal to consider when no motion notify before
1848 Fixes: NB#107494 (Items stay selected when clicking and moving
1849 away when inside pannable area)
1851 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1856 * configure.ac: Bump version.
1857 * debian/changelog: Updates.
1859 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1861 Patch by Alberto Garcia (agarcia@igalia.com)
1863 * src/hildon-date-button.c,
1864 (hildon_date_button_class_init),
1865 (hildon_date_button_init): Removed the construct property handling
1866 and created a default selector in the init method.
1867 * src/hildon-picker-button.c,
1868 (hildon_picker_button_class_init): Removed the construct flag of the
1871 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-main.c (hildon_init):
1874 Don't allow hildon_init() to be called more than once.
1876 Fixes: NB#106607 (hildon_init should issue error message upon
1879 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1881 * examples/hildon-pannable-area-touch-list-example.c
1882 * examples/hildon-pannagle-area-touch-grid-example.c
1883 * examples/hildon-edit-toolbar-example.c
1884 * examples/hildon-touch-selector-multi-cells-example.c
1885 Removed the call to gtk_rc_parse_string, as it is not required since
1888 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1890 * src/hildon-pannable-area.c,
1891 (hildon_pannable_area_class_init): Modified the default panning
1892 threshold of the widget to 6px.
1894 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1895 than the threshold value ) within the button is not sending the
1898 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1901 for the treeview in the new column. This way, the touch list will never
1904 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1905 be selected manually for the HW keys to work)
1907 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1910 comparison instead of using strcmp(). Fixes a compiler warning as well.
1912 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1914 * doc/hildon-docs.sgml: Do not set the library version in the
1915 document title, use the releaseinfo tag for that purpose instead.
1917 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1920 Do not jump to the first item if the text in the entry is removed.
1922 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1927 * configure.ac: Bump version.
1928 * debian/changelog: Updates.
1930 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1932 * src/hildon-entry.c (hildon_entry_refresh_contents):
1933 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1934 Use "ReversedSecondaryTextColor" for the placeholder text.
1936 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-text-view.c: Fix compilation warning.
1940 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-button.c (hildon_button_class_init): Don't make
1943 "title" and "value" construction properties, to prevent them from
1944 overwriting labels set from derived classes.
1946 * src/hildon-picker-button.c
1947 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1948 (hildon_picker_button_class_init): Make touch-selector a
1949 construction property.
1951 * src/hildon-date-button.c (hildon_date_button_class_init)
1952 (+hildon_date_button_constructed): Add a default date selector if
1955 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-touch-selector.c: Small documentation fixes.
1959 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1961 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1963 * src/hildon-entry.c (hildon_entry_refresh_contents),
1964 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1965 widget name, set the logical color directly instead and a boolean
1966 showing_placeholder instead.
1967 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1968 use the widget name here either.
1970 Fixes: NB#105678 (HildonTextView should use logical colours
1971 instead of setting widget name)
1973 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1975 Patch by Daniel Elster (danielk@openismus.com)
1977 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1978 Add user_data parameter.
1979 (hildon_touch_selector_set_print_func_full): New function akin
1980 hildon_touch_selector_set_print_func() but with support for user
1981 data and a destroy callback.
1982 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1983 to clean up the print function user data.
1984 (hildon_touch_selector_class_init): Install dispose function.
1985 (HildonTouchSelectorPrivate::print_user_data),
1986 (HildonTouchSelectorPrivate::print_destroy_func): New private
1988 (hildon_touch_selector_init): Initialize new private members.
1989 (hildon_touch_selector_get_current_text): Pass along user data
1990 to the print function.
1991 (_default_print_func): Add dummy user_data to parameter list.
1992 * hildon-date-selector.c (_custom_print_func): ditto,
1993 * hildon-time-selector.c (_custom_print_func): ditto,
1994 * hildon-touch-selector-entry.c
1995 (hildon_touch_selector_entry_print_func): ditto.
1997 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1999 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2001 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2003 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2005 * src/hildon-pannable-area.c,
2006 (hildon_pannable_area_init),
2007 (hildon_pannable_area_button_press_cb),
2008 (hildon_pannable_area_motion_notify_cb): We have added code to
2009 handle the leave and enter events when using the motion events.
2011 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2013 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-date-button.c (hildon_date_button_get_date)
2016 (hildon_date_button_set_date): Make sure that the button has a
2019 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2021 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2023 * src/hildon-pannable-area.c,
2024 (hildon_pannable_area_class_init),
2025 (hildon_pannable_area_calculate_velocity): Modify the use of the
2026 force and adapt the value.
2028 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2031 (hildon_app_menu_class_init): Hide the menu if it receives a
2032 delete-event, but don't destroy it
2034 Fixes: NB#104485 (Not able to address the call when application
2035 menu is opened at background)
2037 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2039 * src/hildon-app-menu.c
2040 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2041 Remove the "external-border" style property, let the menu take its
2042 natural size (or the one set by the window manager)
2043 (hildon_app_menu_repack_items):
2044 Don't reshow the menu, avoid flickers.
2046 Partially fixes NB#94957 (Smoothly opened application menu)
2048 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2053 * configure.ac: Bump version.
2054 * debian/changelog: Updates.
2056 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2058 * src/hildon-pannable-area.c,
2059 (hildon_pannable_area_motion_notify_cb): We control that the
2060 direction error margin is used just in case the movement is
2061 allowed in the other direction.
2063 Fixes: NB#105012 (buttons inside a pannable area not getting
2064 release event when dragging/releasing)
2066 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2068 * src/hildon-pannable-area.c,
2069 (hildon_pannable_area_class_init),
2070 (hildon_pannable_area_get_property),
2071 (hildon_pannable_area_set_property),
2072 (hildon_pannable_area_initial_effect),
2073 (hildon_pannable_axis_scroll),
2074 (hildon_pannable_area_button_release_cb): Reviewed the
2075 overshooting effect, now it has its own max
2076 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2077 speed when bouncing.
2079 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2084 * configure.ac: Bump version.
2085 * debian/changelog: Updates.
2087 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2089 * src/hildon-pannable-area.c,
2090 (hildon_pannable_area_class_init): Changed the max speed, now
2091 users can launch the widget very fast. Reduced the default force,
2092 that way it is easier to control the launch speed.
2094 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_button_release_cb): Removed this check
2098 because it causes problems when the device is overloaded.
2100 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2103 add a current_text field to store the text entered in the
2104 touch selector entry.
2105 (_clean_current_selection): clean up the current text as well.
2106 (_save_current_selection), (_restore_current_selection):
2107 Save/restore the text in the entry if the selector is a
2108 HildonTouchSelectorEntry.
2110 Fixes: NB#102541 (value entered in the touch selector entry is not
2111 shown when opened for second time)
2113 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2115 * doc/hildon-sections.txt:
2116 * src/hildon-touch-selector-entry.c
2117 (+hildon_touch_selector_entry_get_entry):
2118 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2120 Fixes: NB#104815 (I need accessor to the entry inside
2121 HildonTouchSelectorEntry)
2123 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2126 (hildon_app_menu_class_init):
2127 New "filter-vertical-spacing" style property.
2129 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-find-toolbar.c
2132 (hildon_find_toolbar_emit_close)
2133 (hildon_find_toolbar_emit_invalid_input)
2134 (hildon_find_toolbar_entry_activate):
2135 Use g_signal_emit() instead of g_signal_emit_by_name()
2137 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2139 Patch by Mox Soini (ext-mox.soini@nokia.com)
2141 * tests/TEST-CASES.txt
2142 * tests/check-hildon-banner.c
2143 * tests/check-hildon-note.c
2144 * src/hildon-banner.c
2145 * src/hildon-code-dialog.c
2146 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2147 * src/hildon-time-editor.c
2148 * examples/hildon-lookup-example.c (main):
2149 Replace obsolete icon names with new ones.
2151 * src/hildon-find-toolbar-private.h:
2152 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2153 (-hildon_find_toolbar_emit_search):
2154 Remove find button and change icon of close button.
2156 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2158 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-time-button.c (hildon_time_button_new_step):
2161 Use the "touch-selector" property to set the selector directly
2162 when creating the object.
2164 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2166 Added a new example application that allows tuning the pannable
2167 area and replaced defines with properties in order to simplify the
2168 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2169 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2170 PROP_DIRECTION_ERROR_MARGIN.
2172 * examples/hildon-pannable-area-tuning-example.c: New example
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_class_init),
2176 (hildon_pannable_area_init),
2177 (hildon_pannable_area_get_property),
2178 (hildon_pannable_area_set_property),
2179 (hildon_pannable_area_launch_fade_timeout),
2180 (hildon_pannable_area_adjust_value_changed),
2181 (hildon_pannable_axis_scroll),
2182 (hildon_pannable_area_motion_notify_cb),
2183 (hildon_pannable_area_scroll_cb),
2184 (hildon_pannable_area_button_release_cb): We have converted some
2185 of the defines that control the widget to properties to simplify
2188 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2190 * src/hildon-app-menu.c (hildon_app_menu_map)
2191 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2192 so it's closed if a new window appears.
2194 Fixes: NB#104485 (Not able to address the call when application
2195 menu is opened at background)
2197 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2200 missing 'break' statement in in 'case' construct to avoid
2203 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-touch-selector-entry.c
2206 (hildon_touch_selector_entry_get_property),
2207 (hildon_touch_selector_entry_set_property): Add missing 'break'
2208 statements in in 'case' constructs to avoid incorrect warnings.
2210 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2212 * src/hildon-time-editor.c
2213 (hildon_time_editor_get_time_separators): Do not crash if
2214 the first label is NULL.
2216 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-date-selector.c (_month_days): Check for month to be
2219 strictly less than 12, since otherwise we may overrun the array.
2221 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2223 * src/hildon-date-button.c (+hildon_date_button_new_full)
2224 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2225 (hildon_date_button_init): Set the date selector using a
2226 construction property, to make it happen after HildonButton's
2227 "value" property is set.
2229 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2230 current date by default)
2232 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2234 * doc/hildon-sections.txt
2235 * src/hildon-program.c
2236 * src/hildon-stackable-window.c
2237 * src/hildon-window.c:
2238 Documentation updates
2240 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2243 (hildon_window_stack_new, +hildon_window_stack_set_property)
2244 (+hildon_window_stack_get_property)
2245 (hildon_window_stack_class_init)
2246 (+hildon_window_stack_set_window_group)
2247 (+hildon_window_stack_get_window_group):
2248 Make the window group a construction property.
2250 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2252 * doc/hildon-sections.txt
2253 * src/hildon-stackable-window-private.h
2254 * src/hildon-stackable-window.h
2255 * src/hildon-stackable-window.c
2256 (-hildon_stackable_window_set_app_menu)
2257 (-hildon_stackable_window_get_app_menu)
2258 (-hildon_stackable_window_toggle_menu)
2259 (-hildon_stackable_window_finalize)
2260 (hildon_stackable_window_class_init)
2261 (hildon_stackable_window_init)
2262 * src/hildon-window-private.h
2263 * src/hildon-window.h
2264 * src/hildon-window.c (hildon_window_init)
2265 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2266 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2267 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2268 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2269 Moved all HildonAppMenu code to HildonWindow. The menu does not
2270 require a HildonStackableWindow anymore.
2272 * src/hildon-app-menu.c
2273 * src/hildon-program.c
2274 * examples/hildon-app-menu-example.c (main):
2275 Update examples and documentation to reflect HildonAppMenu
2278 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-remote-texture.c
2281 * src/hildon-animation-actor.c:
2282 Don't include unused private headers.
2284 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-program-private.h
2287 * src/hildon-program.c
2288 (hildon_program_set_common_menu)
2289 (hildon_program_get_common_menu)
2290 (hildon_program_set_common_app_menu)
2291 (hildon_program_get_common_app_menu):
2292 Change common menu pointers from GtkWidget* to GtkMenu* and
2293 HildonAppMenu* to avoid unnecessary casts.
2295 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-window.c (hildon_window_set_main_menu):
2298 Removed incorrect 'Since:' tag
2300 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2302 * src/hildon-pannable-area.c,
2303 (hildon_pannable_area_calculate_velocity): We use now the
2304 RATIO_TOLERANCE here to check the distance, fixed typo in the
2306 (hildon_pannable_area_motion_notify_cb): We have to set the type
2307 and time even if we are not sending the motion.
2309 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2311 * doc/hildon-sections.txt
2312 * src/hildon-app-menu.h
2313 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2314 (+hildon_app_menu_get_filters): New methods to get the contents of
2317 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2320 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-app-menu.c (hildon_app_menu_popup):
2325 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-window.h
2328 * src/hildon-window.c (+hildon_window_get_main_menu)
2329 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2330 and deprecated hildon_window_get_menu().
2332 * src/hildon-stackable-window.h
2333 * src/hildon-stackable-window.c
2334 (+hildon_stackable_window_set_app_menu)
2335 (+hildon_stackable_window_get_app_menu)
2336 (hildon_stackable_window_set_main_menu): Created
2337 hildon_stackable_window_{get,set}_app_menu() and deprecated
2338 hildon_stackable_window_set_main_menu().
2340 * doc/hildon-sections.txt
2341 * examples/hildon-app-menu-example.c (main)
2342 * src/hildon-app-menu.c
2343 * src/hildon-program.c:
2344 Updated examples and documentation.
2346 Fixes: NB#103758 (No way to obtain a menu from a
2347 HildonStackableWindow)
2349 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2354 * configure.ac: Bump version.
2355 * debian/changelog: Updates.
2357 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2359 * examples/hildon-remote-texture-example.c: Include
2360 hildon-remote-texture.h explicitely.
2361 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2362 applications not defining _XOPEN_SOURCE which don't require this header.
2364 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2366 * doc/hildon-sections.txt
2367 * src/hildon-app-menu.h
2368 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2369 New function to pop up a HildonAppMenu
2371 * src/hildon-stackable-window.c
2372 (hildon_stackable_window_toggle_menu):
2373 Use hildon_app_menu_popup() to show the menu.
2375 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-app-menu.c (hildon_app_menu_show)
2378 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2379 menu if there's another window between it and its parent window.
2381 Fixes: NB#100468 (Application menu window is launched even when a
2382 new secondary-window/dialog is pending to be shown/realized)
2384 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-window-stack.c (hildon_window_stack_push)
2387 (hildon_window_stack_pop_and_push):
2388 Don't forget to push/pop the first window.
2389 Reverse the window list before calling _push_list()
2391 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-picker-button.h
2394 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2395 Remove "value_changed" slot to avoid ABI breakage
2397 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2399 * src/hildon-pannable-area.c,
2400 (hildon_pannable_area_realize),
2401 (hildon_pannable_area_unrealize),
2402 (hildon_pannable_draw_vscroll),
2403 (hildon_pannable_draw_hscroll): Changed the method to handle the
2404 GC used to draw the transparent scrollbar, this way we avoid
2405 creating the GC all the time when drawing the scrollbars.
2407 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2409 * src/hildon-pannable-area.c,
2410 (hildon_pannable_area_init),
2411 (hildon_pannable_area_remove): Removed some unnecessary casts.
2412 (hildon_pannable_area_dispose): Disconnected some signals before
2413 releasing the adjustments.
2415 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2418 Make sure that all widgets contained in the toolbar are shown.
2420 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2422 * doc/hildon-sections.txt
2423 * src/hildon-picker-button.h
2424 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2425 (_selection_changed, hildon_picker_button_on_dialog_response)
2426 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2427 New hildon_picker_button_value_changed() method.
2430 * src/hildon-picker-button-private.h
2431 * src/hildon-picker-button.c (hildon_picker_button_init)
2432 (+hildon_picker_button_disable_value_changed): Add protected
2433 function for disabling the "value-changed" signal.
2435 * src/hildon-date-button.c (hildon_date_button_set_date):
2436 Don't emit "value-changed" for each one of the three columns.
2438 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2439 before actual change of values)
2441 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2443 * src/hildon-pannable-area.c,
2444 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2445 for the treeview overshooting.
2447 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2449 * src/hildon-banner.c (+hildon_banner_bind_style):
2450 Renamed from hildon_banner_bind_label_style(), now naming the
2451 banner itself as well.
2452 (hildon_banner_show_information),
2453 (hildon_banner_show_information_with_markup),
2454 (hildon_banner_show_animation), (hildon_banner_show_progress):
2455 Name the widgets and labels, based on their type.
2457 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2460 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2462 * src/hildon-note.c (hildon_note_set_property): call
2463 hildon_note_rename() on HildonNote:note-type set.
2464 (hildon_note_rename): Name the note and its label, based on the
2465 HildonNote:note-type property.
2467 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2470 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2472 * src/hildon-pannable-area.c,
2473 (hildon_pannable_area_class_init),
2474 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2475 panning parameters, increased SPS and deceleration factor. Added
2476 also a margin to control fake directions.
2478 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2480 Patch by Sven Herzberg (sven@imendio.com)
2482 * configure.ac: Add missing AM_PROG_CC_C_0
2483 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2485 See NB#101420 (Update unit tests and fix make check)
2487 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2489 This patch was applied before but reverted because it caused
2490 problems, we have changed the main condition and tested the
2491 regressions we detected before and they work ok. We have done a
2492 complete review of the topmost algorithm in order to get a more
2495 * src/hildon-pannable-area.c,
2496 (hildon_pannable_area_get_topmost): Added a new parameter to
2497 filter the the windows that do not include those events.
2498 (hildon_pannable_area_button_press_cb),
2499 (hildon_pannable_area_button_release_cb),
2500 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2501 topmost function, we have added the new parameter.
2503 Fixes: NB#97458 (Pannable area prevents propagation of button
2506 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2509 if all columns in the selector have an item selected.
2510 (_on_dialog_response): Stop "response" signal emission if there is
2511 any selector column without selected items.
2513 Fixes: NB#101889 (Picker dialog should not close when nothing is
2514 selected in multiple selection list)
2516 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-font-selection-dialog.c
2519 (hildon_font_selection_dialog_class_init),
2520 (hildon_font_selection_dialog_init): Remove the preview
2521 button and dialog, since previewing with default theming is likely
2522 to be overcomplicated. The :preview property has now no effect.
2523 Update documentation blurbs to inform about this.
2525 Fixes: NB#92297 (Preview content is not clearly visible for
2526 default colour text)
2528 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2530 Reviewed the geometry that handles the children size and
2531 scrollbar, now it tries a size and reviews the results depending
2532 on the scrollbars visibility.
2534 * src/hildon-pannable-area.c,
2535 (hildon_pannable_area_realize): Fixed a typo.
2536 (hildon_pannable_area_child_allocate_calculate): Added this
2537 function to calculate the child allocation.
2538 (hildon_pannable_area_size_allocate): Reviewed the allocation
2540 (hildon_pannable_area_check_scrollbars),
2541 (hildon_pannable_area_refresh): Refactored refresh function, this
2542 way we can call the code handling the scrollbars without causing a
2543 size_request, it is interesting in the allocate.
2544 (hildon_pannable_area_init): Replace the callbacks of the
2545 value_changed and changed signals to propertly deal with the
2547 (hildon_pannable_area_grab_notify),
2548 (hildon_pannable_area_initial_effect),
2549 (hildon_pannable_area_launch_fade_timeout),
2550 (hildon_pannable_area_adjust_changed),
2551 (hildon_pannable_area_adjust_value_changed),
2552 (hildon_pannable_area_redraw),
2553 (hildon_pannable_area_button_press_cb),
2554 (hildon_pannable_area_button_release_cb),
2555 (hildon_pannable_area_scroll_cb),
2556 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2557 code and use the new functions adjust_changed and
2558 adjust_value_changed.
2560 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2561 Contact editor dialog)
2563 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2568 * configure.ac: Bump version.
2569 * debian/changelog: Updates.
2571 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_get_topmost),
2575 (hildon_pannable_area_button_press_cb),
2576 (hildon_pannable_area_button_release_cb),
2577 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2578 topmost function adding the event mask. We have to try a
2579 differente approach because it is still causing problems (NB#9745,
2582 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-banner.c:
2585 Update the maximum width of timed banners.
2586 (force_to_wrap_truncated): Enforce the maximum text width if the
2589 Fixes: NB#102413 (The text margins (wrapping) in information
2590 banner should be HILDON_MARGIN_TRIPLE)
2592 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2594 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2596 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2597 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2598 bound when calculating the scroll indicator position.
2600 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2601 treat ->lower correctly)
2603 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2605 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2606 expose event handling, since it is not necessary to draw the focus
2609 Fixes: NB#102467 (Do not show highlight on the text in
2612 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2615 full height of the toolbar for the button and the label.
2617 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2620 padding before the label and after the button.
2622 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2626 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2627 Add a GtkVSeparator between the button and the back arrow.
2628 Let the button have automatic size.
2629 Set a name to the widget for theming handling.
2631 Fixes: NB#101793 (Make edit toolbar the same height as window
2632 title bar (use title area theming))
2634 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-helper.c (attach_new_color_element): Fix memory
2639 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2641 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2643 * examples/hildon-button-example.c (common_buttons_window): Don't
2646 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2649 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2651 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2653 * src/hildon-gtk.c: Check that the window is realized.
2655 Fixes: NB#102225 (Crash setting the progress indicator to a non
2658 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2660 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2661 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2662 instead of modifying the one in the widget style.
2664 Fixes: NB#101043 (Second row of all the command button are
2665 displayed in transparent mode.)
2667 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2669 * src/hildon-date-button.c
2670 * src/hildon-time-button.c: Add gettext macros
2672 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2674 * src/hildon-date-button.c (hildon_date_button_new):
2675 * src/hildon-time-button.c (hildon_time_button_new_step):
2676 Use new logical strings to set the button default title.
2678 Fixes: NB#99915 (Date and Time options are not localised in Date
2681 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2683 * src/hildon-pannable-area.c
2684 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2685 the PANNING_THRESHOLD.
2687 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2689 * src/hildon-pannable-area.c,
2690 (hildon_pannable_area_class_init): Increased the maximum speed.
2691 (hildon_pannable_area_get_property),
2692 (hildon_pannable_area_set_property),
2693 (hildon_pannable_area_timeout): Added a new low friction mode, it
2694 allows the user avoid friction when launching the widget fast
2695 enough. It is interesting to traverse long lists.
2697 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2699 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2700 (+hildon_stackable_window_delete_event): Ignore delete events if
2701 the window is not the topmost one.
2703 Fixes: NB#101698 (Back button long press and delete-event handling)
2705 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2707 * src/hildon-pannable-area.c,
2708 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2709 gtk-dnd-drag-threshold, it was too big. We have defined our own
2710 dnd define and set a smaller value: PANNIG_THRESHOLD.
2712 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2715 user-defined icons, use always the default one.
2717 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2719 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2721 This patch was applied before but reverted because it caused
2722 problems, we have changed the main condition and tested the
2723 regressions we detected before and they work ok.
2725 * src/hildon-pannable-area.c,
2726 (hildon_pannable_area_get_topmost): Added a new parameter to
2727 filter the the windows that do not include those events. Added
2728 also a condition when finding the window to filter windows that do
2729 not ask for those events.
2730 (hildon_pannable_area_button_press_cb),
2731 (hildon_pannable_area_button_release_cb),
2732 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2733 topmost function, we have added the new parameter.
2735 Fixes: NB#97458 (Pannable area prevents propagation of button
2738 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2740 * tests/check-hildon-color-button.c (START_TEST): do not leak
2743 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-font-selection-dialog.c
2746 (hildon_font_selection_dialog_get_preview_text): Return NULL
2747 instead of FALSE on the g_return_val_if_fail().
2749 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2752 * src/hildon-date-selector.c
2753 (hildon_date_selector_select_current_date):
2754 Do not compare unsigned integers to be greater than or equal 0,
2755 because it's always TRUE.
2757 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2760 (hildon_date_selector_constructor): Do not select the current
2761 date until we are handle the "changed" signal, to avoid having bogus
2762 elements in the days model.
2764 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2766 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2767 for num_days, since _month_days() can return a negative value.
2769 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-caption.c (hildon_caption_size_allocate):
2772 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2773 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2775 Initialize allocation variables to 0, to avoid eventually using
2776 unitialized variables.
2778 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-bread-crumb-trail.c
2781 (hildon_bread_crumb_trail_size_allocate):
2782 * src/hildon-calendar.c (hildon_calendar_set_background):
2783 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2784 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2785 * src/hildon-seekbar.c (hildon_seekbar_init):
2786 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2787 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2788 * src/hildon-touch-selector-entry.c
2789 (hildon_touch_selector_get_text_from_model):
2790 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2791 * src/hildon-window.c (hildon_window_finalize):
2793 Remove many unused variables.
2795 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-seekbar.c: (hildon_seekbar_init),
2798 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2800 Remove unnecessary g_assert() calls.
2802 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-caption.c: (hildon_caption_expose),
2805 (hildon_caption_set_property), (hildon_caption_init),
2806 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2807 (hildon_caption_size_request), (hildon_caption_size_allocate),
2808 (hildon_caption_forall), (hildon_caption_set_separator),
2809 (hildon_caption_activate), (hildon_caption_set_child_expand),
2810 (hildon_caption_set_label_text),
2811 (hildon_caption_get_label_alignment):
2813 Remove unnecessary g_assert() calls.
2815 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-banner.c
2818 (hildon_banner_map, hildon_banner_init): Make banner temporary
2819 before mapping it to avoid closing other temporary windows, but
2820 make it non-temporary afterwards to avoid being closed by other
2821 non-temporary windows.
2822 (-hildon_banner_client_event, hildon_banner_init):
2823 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2825 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2828 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2833 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2835 * src/hildon-remote-texture.c
2836 * src/hildon-remote-texture.h
2837 * src/hildon-remote-texture-private.h
2838 * examples/hildon-remote-texture-example.c:
2839 Updates/fixes to remote-texture and its example.
2841 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2843 Patch by Mox Soini (ext-mox.soini@nokia.com)
2845 * src/hildon-code-dialog.c: Update logical id.
2846 * src/hildon-set-password-dialog.c: Update logical id.
2848 Fixes: NB#100646 (Logical strings is shown for ok in set
2849 password,Password needed dialogs)
2851 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2854 * src/hildon-remote-texture.c
2855 * src/hildon-remote-texture.h
2856 * src/hildon-remote-texture-private.h
2858 Added remote texture widget (for Clutter shared memory textures)
2860 * examples/hildon-remote-texture-example.c
2861 * examples/Makefile.am
2862 Added example file for remote texture usage
2864 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2866 * configure.ac: post release version bump.
2867 * debian/changelog: version bump.
2869 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2874 * configure.ac: Bump version.
2875 * debian/changelog: Updates.
2877 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2879 * src/hildon-date-selector.c (hildon_date_selector_init)
2880 (hildon_date_selector_constructor): Don't connect to the "changed"
2881 signal until the selector is completely constructed.
2883 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-touch-selector.c: (_create_new_column),
2886 (hildon_touch_selector_append_column),
2887 (hildon_touch_selector_set_column_selection_mode),
2888 (hildon_touch_selector_set_active),
2889 (hildon_touch_selector_select_iter):
2890 Emit the HildonTouchSelector::changed signal every time selection
2891 is changed in any of the methods above. This behavior was already
2892 documented but not fully functional.
2894 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2895 selection is programmatically changed)
2897 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2899 * doc/hildon-sections.txt: Remove obsolete icon
2900 sizes from here as well.
2902 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2904 * examples/hildon-stackable-window-example.c (add_window): Remove
2907 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-app-menu.c
2910 (hildon_app_menu_show): Check whether the parent window of a menu
2911 is topmost before popping it up.
2913 Fixes: NB#100468 (Application menu window is launched even when a
2914 new secondary-window/dialog is pending to be shown/realized.)
2916 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2918 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2921 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2923 Patch by Mox Soini (ext-mox.soini@nokia.com)
2925 * src/hildon-banner.c: (hildon_banner_show_animation):
2926 use stylus size instead of obsolete note size.
2927 * src/hildon-defines.h: Update icon sizes.
2929 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-touch-selector-entry.c:
2932 (hildon_touch_selector_entry_init): Disable unsupported
2934 (hildon_touch_selector_entry_get_text_column): Emit a warning
2935 if an unsupported input modes is used and explicitile state
2936 these modes in the documentation.
2938 Fixes: NB#99802 (Hildon touch selector entry not working properly
2939 for some of the input modes)
2941 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2943 * src/hildon-pannable-area.c,
2944 (hildon_pannable_area_init): Added the changed signal handlers of
2947 Fixes: NB#100320 (HildonPannableArea does not listen to
2948 GtkAdjustment "change" signals)
2950 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2952 * doc/hildon-sections.txt
2953 * src/hildon-window-private.h
2954 * src/hildon-window.h
2955 * src/hildon-window.c (hildon_window_init)
2956 (hildon_window_realize, hildon_window_unrealize)
2957 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2958 (hildon_window_size_request, hildon_window_size_allocate)
2959 (hildon_window_forall, hildon_window_show_all)
2960 (hildon_window_destroy, +paint_edit_toolbar)
2961 (+hildon_window_set_edit_toolbar):
2962 New hildon_window_set_edit_toolbar() method, to add a
2963 HildonEditToolbar to a window without having to pack it manually.
2965 Reorganize hildon_window_size_allocate()
2967 * src/hildon-edit-toolbar.c: Update documentation.
2969 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2970 example to use the new API.
2972 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2974 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2976 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2977 Remove from stack before calling parent's hide.
2979 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2982 window is removed from the middle of the stack, update the
2983 transiency of the previous one.
2985 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2988 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2991 block/unblock the signal handler if it's not actually being used.
2992 Fixes some critical warnings.
2994 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2996 Based on a patch by Iván Gómez (igomez@igalia.com)
2998 * src/hildon-banner.c
3002 * src/hildon-pannable-area.c
3003 * src/hildon-picker-dialog.c
3004 * src/hildon-wizard-dialog.h
3005 * src/hildon-wizard-dialog.c: Documentation updates.
3007 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3008 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3010 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3012 * configure.ac: post release version bump.
3013 * debian/changelog: version bump.
3015 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3020 * configure.ac: Bump version.
3021 * debian/changelog: Updates.
3023 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3025 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3026 a stock icon nor change the relief of the back arrow.
3028 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3029 graphics from theme)
3031 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-button.c (hildon_button_set_alignment): Use
3034 priv->alignment if the button has no child yet.
3036 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-button.c: (hildon_button_init): Set the
3039 button style during initialization to give it the proper
3042 Fixes: NB#99713 (HildonButton value label color is wrong)
3044 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-touch-selector.c: Document
3047 hildon_touch_selector_center_on_selected()
3049 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3052 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3053 all menu items, but not the menu itself.
3054 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3055 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3056 items after adding them to the menu so keyboard accelerators work.
3057 (hildon_app_menu_show): Don't show the menu if it contains items
3058 but none of them are visible.
3060 * examples/hildon-app-menu-example.c (create_menu): Use
3061 gtk_widget_show_all() to show all menu items.
3063 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-picker-dialog.c:
3066 (-_update_title_on_selector_changed_cb),
3067 (-_dialog_update_title): Removed.
3068 (_select_on_selector_changed_cb), (_on_dialog_response),
3069 (on_selector_columns_changed): Do not update the dialog title.
3070 (setup_interaction_mode): Do not connect to
3071 HildonTouchSelector::changed signal if there's a "done" button, as
3072 the dialog title doesn't need to be updated.
3074 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3077 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3079 Patch by Kristian Rietveld (kris@imendio.com)
3081 * src/hildon-touch-selector.c: (_create_new_column): Use new
3082 GtkTreeView::hildon-row-tapped signal to react to user interactions
3083 instead of ::changed.
3085 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3086 with some dynamic tree model)
3088 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3091 (+screen_size_changed, +label_size_request)
3092 (hildon_note_class_init): Make the Hildon information note have a
3093 minimum height, and make its text hvae a maximum width.
3095 Fixes: NB#98614 (Hildon information note (background) should have
3096 minimum height and maximum text width)
3098 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-banner.h
3101 * src/hildon-banner.c (hildon_banner_show_information)
3102 (hildon_banner_show_informationf)
3103 (hildon_banner_show_information_with_markup): Update documentation
3104 to reflect that the icon_name parameter is not used anymore.
3105 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3106 Remove all code from these functions and mark them as deprecated.
3107 (hildon_banner_show_progress): Mark as deprecated.
3109 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3111 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3113 * src/hildon-pannable-area.c,
3114 (hildon_pannable_area_class_init),
3115 (tranparency_color),
3116 (hildon_pannable_draw_vscroll),
3117 (hildon_pannable_draw_hscroll),
3118 (hildon_pannable_area_expose_event): Added a new way to render the
3119 scrollbars of the pannable area avoiding using cairo at all. This
3120 way we improve the performance of the pannable area rendering. The
3121 cairo rendering procedure is still in the code, we can control
3122 which one to use changing the value of the define
3123 USE_CAIRO_SCROLLBARS.
3125 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3127 * configure.ac: post release version bump.
3128 * debian/changelog: version bump.
3130 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3135 * configure.ac: Bump version.
3136 * debian/changelog: Updates.
3138 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3141 banners instead of destroying them when they receive a button
3144 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3146 Reverted commit 34028, it was causing regressions, probably the
3147 topmost condition is not correct, we have to check it in more
3148 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3149 propagation of button press events)
3151 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3154 that the selection is not empty before attempting to retrieve the
3155 current ampm selection.
3157 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-picker-button.c:
3160 (hildon_picker_button_on_dialog_response): Directly update the
3161 button contents when required instead of calling _selection_changed.
3163 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-program.c (hildon_program_update_top_most): Update
3166 'is-topmost' property also when wm_hints is not set.
3168 Fixes: NB#98383 (is-topmost signal is not emitted when task
3169 switcher is clicked.)
3171 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3173 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3177 * src/hildon-animation-actor.c,
3178 * src/hildon-animation-actor.h: Added the animation actor class,
3179 this widget represents an animation actor for WM-assisted
3180 animation effects in the Hildon framework.
3182 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-window-stack-private.h
3185 * src/hildon-window-stack.c
3186 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3187 Avoid calling gtk_widget_show() again indirectly from
3188 hildon_stackable_window_show()
3190 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3192 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3195 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3198 (hildon_time_selector_init): Move the construction of the hours and
3199 ampm columns to the constructor to preserve the order the columns
3202 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-picker-dialog.c:
3205 (hildon_picker_dialog_class_init): Connect a realize method.
3206 (+hildon_picker_dialog_realize): Setup the interaction mode here
3208 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3209 yet, do it during the realize instead.
3210 (_on_dialog_response):
3211 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3212 if the widget is not realized, to avoid the dialog response before it
3215 Avoid premature responses in the HildonPickerDialog that can cause it
3216 to be hidden before it's even shown.
3218 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3221 (on_selector_columns_changed), (requires_done_button),
3222 (+prepare_action_area), (setup_interaction_mode),
3223 (_hildon_picker_dialog_set_selector):
3225 Split the interaction mode setup into preparation of the
3226 action area (prepare_action_area()) and the connection of
3227 the signals in setup_interaction_mode() and update the code to
3230 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3232 * src/hildon-pannable-area.c,
3233 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3234 per second to 15, we will check if this is ok regarding
3237 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3239 * src/hildon-pannable-area.c,
3240 (hildon_pannable_axis_scroll): Avoid resize if we already have
3241 reached overshoot_max.
3243 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3245 * src/hildon-pannable-area.c,
3246 (hildon_pannable_area_init),
3247 (hildon_pannable_area_realize),
3248 (hildon_pannable_area_size_allocate),
3249 (hildon_pannable_area_map),
3250 (hildon_pannable_area_unmap),
3251 (hildon_pannable_draw_vscroll),
3252 (hildon_pannable_draw_hscroll),
3253 (hildon_pannable_area_expose_event),
3254 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3255 pannable are to avoid the expose events go to the window and
3256 redraw the window. We save this way that part of the stack and the
3257 paint_boxes. We had to change the positions of the elements when
3260 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3262 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3263 * src/hildon-color-chooser-dialog.c:
3264 (hildon_color_chooser_dialog_init):
3265 * src/hildon-font-selection-dialog.c:
3266 (hildon_font_selection_dialog_init),
3267 (hildon_font_selection_dialog_show_preview):
3268 * src/hildon-get-password-dialog.c:
3269 * src/hildon-login-dialog.c:
3270 * src/hildon-set-password-dialog.c:
3271 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3272 * src/hildon-time-picker.c: (hildon_time_picker_init):
3274 Remove obsolete logical string IDs and update to the appropriate ones.
3276 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3278 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3281 that happens if the window hasn't been realized yet.
3283 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3284 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3286 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3289 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3292 Fixes: NB#98537 (Device hangs in account settings dialog)
3294 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3296 * configure.ac: post release version bump.
3297 * debian/changelog: version bump
3299 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3304 * configure.ac: Bump version.
3305 * debian/changelog: Updates.
3307 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3309 Added a new function to the HildonTimeButton widget that allows to
3310 change the step of the minutes in the selector associated with the
3311 button: hildon_time_button_new_step
3313 * src/hildon-time-button.c,
3314 (hildon_time_button_init),
3315 (hildon_time_button_new),
3316 (hildon_time_button_new_step):
3317 * src/hildon-time-button.h: Added the new function and refactored
3319 * examples/hildon-time-button-example.c,
3320 (main): We have replaced the function without parameters with the
3321 function with the steps set to 5
3323 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3325 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3327 * src/hildon-time-selector.c,
3328 (hildon_time_selector_class_init),
3329 (hildon_time_selector_constructor),
3330 (hildon_time_selector_get_property),
3331 (hildon_time_selector_set_property),
3332 (_create_minutes_model),
3333 (hildon_time_selector_new_step),
3334 (hildon_time_selector_set_time),
3335 * src/hildon-time-selector.h: Added a new property to the
3336 HildonTimeSelector (minutes-step), we use that property to control
3337 the steps between the minutes in the list of the selector. We have
3338 added a new function to the API to create a widget changing the
3339 step: hildon_time_selector_new_step.
3341 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3343 * src/hildon-time-selector.c,
3344 (hildon_time_selector_class_init),
3345 (hildon_time_selector_constructor),
3346 (hildon_time_selector_init): Overrided the construct function when
3347 creating the time selector object. We have moved the minutes model
3348 handling code from the init to the new construction function:
3349 hildon_time_selector_constructor.
3351 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3353 * examples/hildon-date-button-example.c: (main): Use the new
3354 hildon_date_button_new_with_year_range() method in the example.
3355 * src/hildon-date-button.c:
3356 (+hildon_date_button_new_with_year_range): New public method
3357 to conveniently create a HildonDateButton with a custom year range
3358 in its HildonDateSelector.
3359 * src/hildon-date-button.h: Add the new public method definition.
3361 Fixes: NB#97908 (Not possible to change the year range in
3362 HildonDateSelector/HildonDateButton)
3364 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-date-selector.c:
3367 (+hildon_date_selector_set_property),
3368 (+hildon_date_selector_get_property),
3369 (hildon_date_selector_class_init): Install new properties "min-year"
3370 and "max-year" to define boundaries for the year column.
3371 (_create_year_model): Use the boundary properties to populate the model.
3372 (+hildon_date_selector_new_with_year_range): New public method to
3373 create a HildonDateSelector with a user defined year range.
3374 (hildon_date_selector_select_current_date): Use the new boundaries to
3375 calculate the iterator of current year.
3376 * src/hildon-date-selector.h: Add the new public method definition.
3378 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3381 Install a constructor method.
3382 (+hildon_date_selector_construct_ui): construct the widget.
3383 (+hildon_date_selector_constructor): new constructor.
3384 (+hildon_date_selector_init): move out widget construction code to
3385 the new constructor.
3387 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3390 that there's actually a month or year selected before obtaining them.
3391 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3392 of the HildonTouchSelector::changed signal, as it was emitted on every
3393 single item selection.
3395 Fix some warnings and possible crashers due to the selection restoring.
3397 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3400 the signal handlers only after creating the dialog instead of on every
3403 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3405 * src/hildon-button.c (hildon_button_init)
3406 * src/hildon-check-button.c (hildon_check_button_init)
3407 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3408 focus when clicked by default.
3410 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3412 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3415 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3417 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3418 Alejandro G. Castro (alex@igalia.com)
3420 * src/hildon-picker-dialog.c:
3421 (hildon_picker_dialog_class_init): install new "center-on-show"
3423 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3424 (hildon_picker_dialog_set_property): add setter code for the new
3426 (hildon_picker_dialog_get_property): add getter code for the new
3428 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3429 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3432 Fixes: NB#92849 (Selected item is not always visible when
3433 HildonTouchSelector is shown)
3435 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3437 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3438 Alejandro G. Castro (alex@igalia.com)
3440 * src/hildon-touch-selector.c:
3441 (_create_new_column): Do not connect to the "realize" signal of the
3443 (hildon_touch_selector_append_column): center on the selected items
3444 when a new column is appended.
3445 (hildon_touch_selector_select_iter): Factor out the code to select a
3446 column to hildon_touch_selector_scroll_to().
3447 (+search_nearest_element): Method to retrieve the nearest selected
3448 element to the visible area of the pannable area in a column.
3449 (+on_realize_cb): scroll to the initially selected item.
3450 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3451 the pannable area is realized, otherwise delay this until it is.
3452 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3453 selected items of a given column.
3454 (+hildon_touch_selector_center_on_selected): Public method to center
3455 all columns on the nearest selected item.
3456 * src/hildon-touch-selector.h: Add definition for
3457 hildon_touch_selector_center_on_selected().
3459 Implement public API to ensure visibility of all selected items in
3460 a HildonTouchSelector.
3462 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3464 Fixed a problem in the fading when calling the scroll_to API, and
3465 improve scrollbar fading handling.
3467 * src/hildon-pannable-area.c,
3468 (hildon_pannable_area_grab_notify): avoid the timeout when the
3470 (hildon_pannable_area_button_press_cb),
3471 (hildon_pannable_area_motion_notify_cb): Code style changes.
3472 (hildon_pannable_area_button_release_cb): Review the conditions
3473 when releasing the mouse button to avoid unrequired fading
3475 (hildon_pannable_area_scroll_to): Do not calculate and set the
3476 velocity if the scroll is not required.
3478 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3481 Don't check whether the new selector is NULL: it cannot be.
3482 Hold a reference to the selector while doing the replacement.
3484 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3486 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3487 unnecessary size_request in a removed widget.
3489 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3491 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3492 an unnecessary reference tracking that was leaking.
3494 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3496 Added delayed motion notify event handling, this way we can
3497 discard redrawing if more than 25 events arrive per second.
3499 * src/hildon-pannable-area.c,
3500 (hildon_pannable_area_init): Initialized the new private atributes
3501 controlling this timeout
3502 (hildon_pannable_area_dispose): Remove the timeout that controls
3503 the motion notify events.
3504 (hildon_pannable_area_scroll): Added a condition to control the
3505 use of the acceleration.
3506 (hildon_pannable_area_motion_event_scroll_timeout),
3507 (hildon_pannable_area_motion_event_scroll): Added this two
3508 functions, they handle the motion notify events inside the
3510 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3511 to the scroll method with the new function.
3512 (hildon_pannable_area_button_release_cb): We have to remove the
3513 timeout handler and move to the last position if the last motion
3514 events were not handled.
3516 Fixes: NB#97028 (Pannable area updates on every motion event)
3518 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3520 * src/hildon-pannable-area.c,
3521 (hildon_pannable_area_get_topmost): Added a new parameter to
3522 filter the the windows that do not include those events. Added
3523 also a condition when finding the window to filter windows that do
3524 not ask for those events.
3525 (hildon_pannable_area_button_press_cb),
3526 (hildon_pannable_area_button_release_cb),
3527 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3528 topmost function, we have added the new parameter.
3530 Fixes: NB#97458 (Pannable area prevents propagation of button
3533 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3535 * src/hildon-pannable-area.c,
3536 (hildon_pannable_area_initial_effect): Added controls before
3537 launching the timeout and the idle functions.
3538 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3539 of the method, in some situations it can return with TRUE and 0 in
3541 (hildon_pannable_area_button_press_cb): We do not need to set
3542 DELAY for fading out here.
3544 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3546 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3549 post-cleaning if the selection is not NULL.
3551 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3554 all items before restoring the selection.
3556 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-touch-selector.c:
3559 (+hildon_touch_selector_unselect_all):
3560 * src/hildon-touch-selector.h: New API to unselect all items in a
3561 column of the touch selector.
3563 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3565 * src/hildon-pannable-area.c,
3566 (hildon_pannable_area_redraw): Added a call to the refresh
3567 function inside the redraw because apparently in some cases the
3568 change in the adjustment does not imply a size allocate.
3570 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3571 despite the view not being scrollable)
3573 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3576 leak. Check for NULL before attempting to set the window title.
3578 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3581 whether to show or not the 'Done' button each time the dialog is
3582 shown, as it depends on the HildonTouchSelector selection mode.
3584 Fixes: NB#96226 (In multiple selection mode Done button is shown
3585 sometimes in listpicker)
3587 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3590 for the number of columns in the HildonTouchSelector more than once.
3592 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-touch-selector.c: Minor documentation fixes.
3596 * src/hildon-picker-dialog.c (+_dialog_update_title)
3597 (_select_on_selector_changed_cb)
3598 (_update_title_on_selector_changed_cb)
3599 (on_selector_columns_changed): Update dialog title when there's no
3600 'Done' button and also when the number of columns in the selector
3604 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3605 (+_selection_changed, hildon_picker_button_on_dialog_response)
3606 (hildon_picker_button_selector_selection_changed)
3607 (+hildon_picker_button_selector_columns_changed)
3608 (hildon_picker_button_set_selector): Update button value and emit
3609 'value-changed' when the number of columns in the selector
3613 Fixes: NB#96225 (Dialog titles are not shown according to the
3614 values selected in the list picker)
3616 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3619 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3620 New "arrow-width" and "arrow-height" style properties to set the
3621 size of the arrow button.
3622 Set name of arrow button ("hildon-edit-toolbar-arrow").
3624 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3625 graphics from theme)
3627 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3629 * src/hildon-picker-button.c:
3630 (hildon_picker_button_selector_selection_changed): Use
3631 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3632 the dialog is present.
3634 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3635 the selection is accepted in the dialog)
3637 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-color-chooser.h
3640 * src/hildon-color-chooser-dialog.h:
3641 Added G_BEGIN_DECLS and G_END_DECLS
3643 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3645 (_clean_current_selection): plug a leak in the list.
3647 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-picker-dialog.c:
3650 (+free_path_list): Method to free a GList of GtkTreePaths.
3651 (_clean_current_selection), (_save_current_selection),
3652 (_restore_current_selection): Save the current selection in
3653 as a list of lists, to support multiple selection properly.
3655 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3657 patch by Claudio Saavedra (csaavedra@igalia.com)
3659 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3660 Store the press position.
3661 (+hildon_text_view_button_release_event): If the release position is
3662 close enough to the press position, move the cursor here. Otherwise,
3664 (hildon_text_view_class_init): Override GtkTextView press, release, and
3665 motion event handlers, disabling this way text selection through
3666 pointer interaction, and allowing the container widget to handle the
3669 Fixes: NB#95828 (HildonTextView functionality)
3671 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3673 Based on a patch by Iván Gómez (igomez@igalia.com)
3675 * src/hildon-button.[ch]
3676 * src/hildon-calendar.c
3677 * src/hildon-check-button.c
3678 * src/hildon-date-editor.c
3679 * src/hildon-date-selector.c
3680 * src/hildon-picker-button.c
3681 * src/hildon-time-editor.c
3682 * src/hildon-time-selector.c
3683 * src/hildon-touch-selector.[ch]:
3684 Documentation updates
3686 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3688 * src/hildon-pannable-area.c,
3689 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3690 threshold, it was required due to X events handling.
3692 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3694 * src/hildon-pannable-area.c,
3695 (hildon_pannable_area_grab_notify),
3696 (hildon_pannable_area_initial_effect),
3697 (hildon_pannable_area_button_press_cb),
3698 (hildon_pannable_area_button_release_cb),
3699 (hildon_pannable_area_scroll_cb),
3700 (hildon_pannable_area_scroll_to): Review the timeout management of
3701 the scrollbar, the frecuency was incorrectly set.
3703 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3705 * src/hildon-picker-button.c:
3706 (+hildon_picker_button_on_dialog_response),
3707 (hildon_picker_button_clicked): Present the dialog instead of
3708 running it with gtk_dialog_run().
3710 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3713 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3716 (hildon_app_menu_finalize): When a window is hidden it doesn't
3717 emit notify::is-topmost, so make sure than the menu also
3718 disappears in that case.
3719 (parent_window_topmost_notify): Renamed from parent_window_hidden
3721 Fixes: NB#94460 (stackable window's menu is not closed when its
3724 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-touch-selector-entry.c:
3727 (+hildon_touch_selector_entry_set_input_mode),
3728 (+hildon_touch_selector_entry_get_input_mode):
3729 * src/hildon-touch-selector-entry.h: New methods to access the input
3730 mode in the selector's entry.
3732 Fixes: NB#93410 (API required for setting IM mode in
3733 HildonTouchSelectorEntry)
3735 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3737 * configure.ac: post release version bump.
3738 * debian/changelog: version bump
3740 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3745 * configure.ac: Bump version.
3746 * debian/changelog: Updates.
3748 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3750 * src/hildon-touch-selector.c:
3751 (_hildon_touch_selector_has_multiple_selection): No need
3752 to initialize the variables here.
3754 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-note-private.h
3757 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3758 (hildon_note_finalize, hildon_note_rebuild): Close information
3759 notes when they receive a button press.
3761 Fixes: NB#89890 (Information notes does not get disappeared after
3764 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3767 mark from the wizard title, as it's not really necessary. Also,
3768 do not display the page title if not set.
3770 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3773 (parent_window_hidden): Use the window's "is-topmost" property to
3774 detect when to hide the menu.
3776 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3778 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3779 (hildon_app_menu_finalize): If the parent window of the menu is
3780 hidden, hide the menu too.
3782 Fixes: NB#94460 (stackable window's menu is not closed when its
3785 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3788 * debian/libhildon1-examples.install
3790 * examples/Makefile.am:
3791 Use dh_install to install all examples.
3792 Use DEB_SRCDIR instead of defining SOURCE_DIR
3794 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3796 * configure.ac: post release version bump.
3797 * debian/changelog: version bump
3799 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3804 * configure.ac: bump version
3805 * debian/changelog: updates
3806 * debian/control: bump gtk+ dependency
3808 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3810 patch by Christian Dywan (christian@imendio.com)
3812 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3813 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3815 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3817 * src/hildon-check-button.c (hildon_check_button_init)
3818 (hildon_check_button_class_init, hildon_check_button_style_set)
3819 (hildon_check_button_apply_style):
3820 New "checkbox-size" style property.
3822 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3823 larger / configurable size)
3825 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3827 * configure.ac: post release version bump.
3828 * debian/changelog: version bump
3830 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3835 * configure.ac: bump version
3836 * debian/changelog: updates
3838 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3840 * doc/hildon-sections.txt
3841 * src/hildon-pannable-area.c
3842 * src/hildon-program.c
3843 * src/hildon-time-editor.c
3844 * src/hildon-touch-selector-entry.c:
3846 More documentation updates.
3848 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3850 * doc/hildon-sections.txt
3851 * src/hildon-caption.c
3852 * src/hildon-code-dialog.c
3853 * src/hildon-color-button.c
3854 * src/hildon-controlbar.c
3855 * src/hildon-date-editor.c
3856 * src/hildon-date-selector.c
3857 * src/hildon-edit-toolbar.c
3858 * src/hildon-find-toolbar.c
3859 * src/hildon-font-selection-dialog.c
3861 * src/hildon-program.c
3862 * src/hildon-range-editor.c
3863 * src/hildon-seekbar.c
3864 * src/hildon-time-editor.c
3865 * src/hildon-time-selector.c
3866 * src/hildon-volumebar-range.c
3867 * src/hildon-volumebar.c
3868 * src/hildon-vvolumebar.c
3869 * src/hildon-weekday-picker.c
3870 * src/hildon-window.c
3871 * src/hildon-wizard-dialog.c:
3873 Lots of documentation fixes.
3875 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3877 Patch contributed by Iván Gómez (igomez@igalia.com)
3879 * src/hildon-check-button.c:
3880 * src/hildon-date-button.c:
3881 * src/hildon-date-selector.c:
3882 * src/hildon-dialog.c:
3883 * src/hildon-edit-toolbar.c:
3884 * src/hildon-entry.c:
3885 * src/hildon-picker-button.c:
3886 * src/hildon-program.c:
3887 * src/hildon-text-view.c:
3888 * src/hildon-time-button.c:
3889 * src/hildon-touch-selector-entry.c:
3890 * src/hildon-window-stack.c:
3892 Add more "since" tags to the new API.
3894 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3896 * doc/hildon-sections.txt: Add below method.
3897 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3898 version for the hildonized scale.
3899 * src/hildon-gtk.h: Add the definition.
3901 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3903 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3905 * doc/hildon-sections.txt: Add missing entries for new methods.
3907 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3909 Added API to pannable are in order to get its adjustments. We
3910 added two properties to manage the values we had in the private
3913 * src/hildon-pannable-area.c:
3914 (hildon_pannable_area_class_init): Added hadjustment and
3915 vadjustment properties in order to expose horizontal and vertical
3917 (hildon_pannable_area_get_property),
3918 (hildon_pannable_area_set_property): Added code to handle the new
3920 (hildon_pannable_area_get_hadjustment),
3921 (hildon_pannable_area_get_vadjustment): API functions to get the
3923 * src/hildon-pannable-area.h:
3924 (hildon_pannable_area_get_hadjustment),
3925 (hildon_pannable_area_get_vadjustment): API functions to get the
3928 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3930 Fixed some leaks, after valgrinding.
3932 * src/hildon-touch-selector.c:
3933 (_default_print_func): Fixed a leak.
3934 (hildon_touch_selector_append_column): Fixed a leak.
3935 * src/hildon-date-button.c:
3936 (hildon_date_button_init): Fixed a leak.
3937 * src/hildon-date-selector.c
3938 (hildon_date_selector_finalize): Fixed a leak.
3940 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3942 Based on a patch by Christian Dywan (christian@imendio.com)
3944 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3946 * src/hildon-gtk.h: Add definition.
3948 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3950 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-button.c: (hildon_picker_button_init),
3953 (hildon_picker_button_new): Set the HildonButton::style property
3954 in the init method, to propagate the value to the derived classes.
3956 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-button.c: (hildon_button_class_init): Do not make
3959 the "style" property a construct property.
3961 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-wizard-dialog.h
3964 * src/hildon-wizard-dialog.c
3965 (hildon_wizard_dialog_set_forward_page_func)
3966 * src/hildon-pannable-area.h
3967 * src/hildon-pannable-area.c
3968 (hildon_pannable_area_set_size_request_policy):
3969 Documentation fixes.
3971 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3973 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3975 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3977 * doc/hildon-sections.txt: Added sections file.
3979 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3982 * src/*.[ch]: Updates.
3984 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3986 * examples/hildon-progress-indicator-example.c: new file
3987 * examples/Makefile.am: include the new example program
3989 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3991 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3993 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3995 * configure.ac: post release version bump
3996 * debian/changelog: version bump
3998 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4003 * configure.ac: bump version
4004 * debian/changelog: updates
4005 * debian/control: bump gtk+ dependency
4007 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-dialog.c: Mark as deprecated.
4010 * src/hildon-dialog.h: Mark as deprecated.
4011 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4012 from HildonDialog and still work, even if
4013 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4014 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4016 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4017 maemo changes) instead)
4019 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4021 * src/hildon-pannable_area.h:
4022 * src/hildon-pannable_area.c:
4023 (hildon_pannable_area_class_init),
4024 (hildon_pannable_area_set_property),
4025 (hildon_pannable_area_get_property),
4026 (hildon_pannable_area_size_request),
4027 (hildon_pannable_area_get_size_request_policy),
4028 (hildon_pannable_area_set_size_request_policy): Added new API
4029 allowing applications to control the request policy. Now they can
4030 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4031 children allocation (HILDON_MOVEMENT_CHILDREN).
4033 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4037 (hildon_gtk_tree_view_set_ui_mode)
4038 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4039 mode of treeviews and iconviews.
4041 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4043 * src/hildon-touch-selector-entry.c:
4044 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4045 of a GtkEntry to get proper theming.
4047 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4048 widget, not GtkEntry)
4050 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4053 no HildonWizardDialogPageFunc.
4055 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4057 Patch contributed by Iván Gómez (igomez@igalia.com)
4059 * src/hildon-app-menu.c:
4060 * src/hildon-button.c:
4061 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4062 * src/hildon-stackable-window.c:
4063 * src/hildon-time-selector.c:
4064 * src/hildon-touch-selector.c:
4065 * src/hildon-window.c:
4067 Add more "since" tags to the new API in hildon 2.2.
4069 2008-12-05 Tim Janik <timj@imendio.com>
4071 Patch contributed by Christian Dywan (christian@imendio.com)
4073 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4074 HildonSizeType, which are supplied by Gtk+ now.
4076 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4078 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4079 (with maemo changes) instead)
4081 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4083 Patch contributed by Iván Gómez (igomez@igalia.com)
4085 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4088 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4090 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4091 (some_page_func), (main): Update the example to use a
4092 HildonWizardDialogPageFunc function.
4094 * src/hildon-wizard-dialog-private.h: Add private data for
4095 the HildonWizardDialogPageFunc function usage.
4097 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4098 (destroy), (hildon_wizard_dialog_init), (response),
4099 (hildon_wizard_dialog_set_forward_page_func):
4100 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4101 that applications can use to stop a HildonWizardDialog to jump to
4104 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4107 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4109 * src/hildon-program.h
4110 * src/hildon-program-private.h
4111 * src/hildon-program.c (hildon_program_init)
4112 (hildon_program_set_common_app_menu)
4113 (hildon_program_get_common_app_menu):
4114 New API for setting a common HildonAppMenu for all
4115 HildonStackableWindows registered with the HildonProgram.
4117 * src/hildon-stackable-window.c
4118 (hildon_stackable_window_toggle_menu):
4119 Use the common HildonAppMenu if a window doesn't have a specific
4122 * src/hildon-app-menu-private.h
4123 * src/hildon-app-menu.c
4124 (hildon_app_menu_get_parent_window):
4125 Function to obtain the window a HildonAppMenu is attached to.
4126 (hildon_app_menu_set_parent_window):
4127 Hide the menu if the parent window is set to NULL.
4129 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4131 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4132 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4133 search widget to popup.
4135 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4137 * configure.ac: post release version bump
4138 * debian/changelog: version bump
4140 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4145 * configure.ac: bump version
4146 * debian/changelog: updates
4148 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4150 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4152 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4153 (hildon_window_stack_window_realized)
4154 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4155 Set the leader GdkWindow when a window is stacked and realized,
4156 unset it when it's unstacked.
4157 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4159 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4161 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4163 * src/hildon-stackable-window.h
4164 * src/hildon-window-stack.h:
4165 Protect definition of HildonWindowStack using the preprocessor.
4167 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4169 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4170 Fix warning if all menu items are hidden.
4172 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4174 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4176 * src/hildon-controlbar.c:
4177 * src/hildon-hvolumebar.c:
4178 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4179 Multiple scale size defines updates.
4181 Fixes: NB#94322 (Scale Updates)
4183 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4185 * examples/hildon-app-menu-example.c (create_menu)
4186 Show items after adding them to the menu, as in the future the
4187 menu will no longer call gtk_widget_show() on the added items.
4189 * src/hildon-app-menu.c:
4190 Update example as explained above.
4192 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-app-menu.c
4195 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4196 Make sure that all menu items have finger height.
4198 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4200 * src/hildon-picker-dialog.c:
4201 (_on_dialog_response), (_save_current_selection),
4202 (_restore_current_selection), (_clean_current_selection),
4203 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4204 Defined new functions in order to save the current internal selector
4205 selection previous open the dialog, in case that the use cancel the
4206 interaction, so the widget restores the previous selection.
4208 Fixes: NB#92032 (In calendar application, date values in 'new event'
4211 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4213 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-button.c: Add a reference to the button examples in
4216 hildon-button-example.c
4218 * examples/hildon-button-example.c: Added examples of the most
4219 common button layouts.
4221 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4223 * src/hildon-app-menu.c (hildon_app_menu_show)
4224 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4226 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4228 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-picker-dialog.c:
4231 (hildon_picker_dialog_init): Initialize the signal id for
4232 HildonTouchSelector::columns-changed.
4233 (+on_selector_columns_changed): Set up the interaction mode everytime a
4234 column is added or removed from the HildonTouchSelector.
4235 (_hildon_picker_dialog_set_selector): Connect to
4236 HildonTouchSelector::columns-changed and keep track of it.
4238 Make sure to update the interaction mode of the dialog everytime a
4239 column is added or removed in the HildonTouchSelector.
4241 Fixes: NB#93228 (Done button is not shown always in listpicker)
4243 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4246 a new ::columns-changed signal.
4247 (hildon_touch_selector_append_column): Emit ::columns-changed.
4248 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4250 Add a ::columns-changed signal, emitted when the number of columns in a
4251 HildonTouchSelector changes.
4253 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4256 (_hildon_picker_dialog_set_selector): Factor out the code
4257 to set up the dialog interaction mode.
4259 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4262 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4263 to signal_changed_id.
4265 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4270 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4272 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4273 Updated the logical ids related to ampm format, as now it is required to
4274 show it correctly localized even on languages with no default
4275 abbreviations for am or pm
4276 (_check_am_pm_format): check correctly the 24h format gconf property
4278 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4280 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4282 * src/hildon-button.c: Documentation updates.
4284 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4286 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4287 * src/hildon-caption.c: (hildon_caption_class_init):
4288 * src/hildon-color-button.c: (hildon_color_button_class_init):
4289 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4290 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4291 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4292 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4294 Remove deprecated GTK+ marshalers and replace them with the ones
4295 provided by GLib, for those available, add a marshaler for
4296 BOOLEAN:VOID, which is not available in GLib, and use it.
4298 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4300 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4301 the text from the previous column if there is no
4302 HildonTouchSelectorColumn::text-property set.
4304 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4306 * src/hildon-button.h
4307 * src/hildon-button.c (hildon_button_set_property)
4308 (hildon_button_get_property, hildon_button_class_init)
4309 (hildon_button_set_style, hildon_button_get_style):
4310 New "style" property to change the visual appearance of the
4313 * src/hildon-picker-button.c (hildon_picker_button_new):
4314 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4316 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4317 HildonButton look like PickerButton)
4319 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4321 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4322 column while building the default string.
4324 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4327 scroll indicator by default.
4329 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4331 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-main.c: Fix the documentation for hildon_init()
4335 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4337 * doc/hildon-docs.sgml
4341 * src/hildon-window-stack-private.h
4342 * src/hildon-window-stack.h
4343 * src/hildon-window-stack.c:
4344 New HildonWindowStack object, that adds support for multiple
4345 stacks of windows per process.
4347 * src/hildon-stackable-window-private.h
4348 * src/hildon-stackable-window.h
4349 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4350 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4351 (hildon_stackable_window_show, hildon_stackable_window_hide)
4352 (hildon_stackable_window_class_init)
4353 (hildon_stackable_window_init):
4354 Use HildonWindowStack for stack management.
4356 * src/hildon-program.c (hildon_program_pop_window_stack)
4357 (hildon_program_peek_window_stack)
4358 (hildon_program_go_to_root_window):
4359 Add a fallback implementation to the deprecated functions using
4362 * examples/hildon-stackable-window-example.c:
4363 Use the new HildonWindowStack API.
4365 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-stackable-window-private.h
4368 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4369 (hildon_stackable_window_hide, hildon_stackable_window_init):
4370 Remove all window stack management.
4372 * src/hildon-program-private.h
4373 * src/hildon-program.h
4374 * src/hildon-program.c (hildon_program_init)
4375 (hildon_program_pop_window_stack)
4376 (hildon_program_peek_window_stack)
4377 (hildon_program_go_to_root_window):
4378 Remove all window stack management and mark functions as
4381 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-app-menu.c (hildon_app_menu_realize):
4384 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4386 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: post release version bump
4389 * debian/changelog: version bump
4391 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4396 * configure.ac: bump version
4397 * debian/changelog: updates
4399 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4401 Based on initial code by Christian Dywan (christian@imendio.com)
4403 * doc/hildon-docs.sgml: Add section for hildon-main.
4404 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4405 * src/Makefile.am: Add new hildon-main.[ch]
4406 * src/hildon-defines.h: Update the icon sizes.
4407 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4408 new library initialization files and register icon sizes.
4409 * src/hildon-main.h: New declarations.
4410 * src/hildon.h: Include hildon-main.h
4412 Add new initialization functions to the library. These methods
4413 will register the hildon specific icon sizes and can be used in the
4414 future for other hildon specific bits.
4416 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4418 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4420 * src/hildon-window.c: (hildon_window_realize),
4421 (hildon_window_notify), (-hildon_window_update_title): Do not set
4422 the application name in the window title.
4424 Fixes: NB#89754 (Applications shouldn't display their names in the
4427 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-note-private.h:
4430 * src/hildon-note.c: (hildon_note_set_property),
4431 (hildon_note_get_property), (hildon_note_class_init),
4432 (hildon_note_init), (hildon_note_finalize),
4433 (hildon_note_new_confirmation_with_icon_name),
4434 (hildon_note_new_information_with_icon_name):
4436 No need to mark as deprecated the actual code. Revert
4437 to avoid missing symbols in widgets using deprecated API.
4439 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4441 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4443 * src/hildon-volumebar.h
4444 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4445 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4447 * src/hildon-helper.h
4448 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4449 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4451 * examples/Makefile.am:
4452 Deprecate hildon-insensitive-example
4454 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4456 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4458 * examples/hildon-pannable-area-buttons-scroll-example.c:
4459 Make all buttons finger height
4461 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4463 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4465 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4466 update the day model only if it is really required, and to avoid the
4467 full-reconstruction aproach. Now it only add or remove the required days.
4469 The purpose of this is avoid superfluous HildonTouchSelector::changed
4472 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4473 with strange parameters)
4475 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4477 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4479 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4480 the WINDOW_TYPE property.
4482 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4484 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4487 Fix dependency to allow parallel compilation with make -jX
4489 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4491 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4492 color frame and some minor tweaks to make it more consistent with
4495 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4496 highlighted but not visible)
4498 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4500 * examples/Makefile.am: Fixed typo in the Makefile.am.
4502 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4504 Reviewed the use of MAEMO_GTK define, now we add the define in the
4505 compilation line, and we also add it to the pc file.
4507 * configure.ac: Added MAEMO_GTK define to the compilation command
4508 and removed it from the config.h.
4510 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4511 do not have to take care about this define if the library was
4515 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4517 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4519 * examples/Makefile.am,
4520 * examples/hildon-pannable-area-buttons-scroll-example.c,
4521 * examples/hildon-pannable-area-gesture-signals-example.c,
4522 * examples/hildon-pannable-area-scroll-jump-example.c,
4523 * examples/hildon-pannable-area-tree-view-example.c:
4524 Renamed the pannable area examples, now they have more meaningful
4527 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4529 * src/hildon-touch-selector.c:
4530 (hildon_touch_selector_set_column_selection_mode): Used of
4531 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4532 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4533 to avoid re-seting the same selection mode.
4535 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4536 breaks HildonPickerDialog)
4538 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4540 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4541 conditional in the Makefile.am
4543 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4546 Remove unused methods.
4548 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-button.c (hildon_button_init):
4551 Make button images center-aligned by default
4553 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4556 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4557 activated, we have to think about how to deal with both defines
4558 MAEMO_GTK and MAEMO_CHANGES.
4560 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4562 * examples/hildon-app-menu-example.c (create_menu): Make all
4563 buttons finger size.
4565 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4567 Fixed the compilation without maemo gtk adding ifdefs with
4568 MAEMO_GTK define to the code, we have to check this version more
4571 * examples/Makefile.am: Added control to avoid some examples that
4572 just make sense with maemo gtk.
4575 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4576 hildon modes with the define.
4578 * examples/hildon-edit-toolbar-example.c,
4579 (create_icon_view): Create the icon view without hildon-gtk
4580 helpers if we are not using maemo gtk.
4582 * src/hildon-touch-selector.c,
4583 (_create_new_column): Create the treeview without hildon-gtk
4584 helpers if we are not using maemo gtk.
4586 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4588 * src/hildon-pnnable-area.c,
4589 (hildon_pannable_area_dispose),
4590 (hildon_pannable_area_button_press_cb),
4591 (hildon_pannable_area_child_mapped),
4592 (hildon_pannable_area_add),
4593 (hildon_pannable_area_remove): Added code to control the position
4594 of the event_window when adding and removing children from the
4595 pannable. We have to raise the event window when the child is
4598 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4599 selection mode using custom widget inside pannable)
4601 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4603 * configure.ac: post release version bump
4604 * debian/changelog: version bump
4606 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4611 * configure.ac: bump version
4612 * debian/changelog: updates
4614 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4616 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4617 search mode, in order to avoid lose the focus on the treeview when
4618 a hw key (like enter) is pressed.
4620 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4621 in HildonDateSelector dialog)
4623 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4625 * debian/rules: Added --enable-maintainer-mode
4626 * Makefile.am: Added ACLOCAL_AMFLAGS
4628 This allows to properly regenerate the Makefiles if you modify the
4629 configure.ac or any Makefile.am.
4631 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4633 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4634 properties, not needed at all.
4636 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4638 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4640 * src/hildon-note.c: (hildon_note_set_property),
4641 (hildon_note_get_property), (hildon_note_class_init),
4642 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4643 (hildon_note_new_confirmation_add_buttons): Remove icons.
4644 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4645 (hildon_note_new_information_with_icon_name): Deprecate.
4646 (hildon_note_new_confirmation): Act directly, without calling
4647 the deprecated constructor.
4648 (hildon_note_new_information): Act directly, without calling
4649 the deprecated constructor.
4650 * src/hildon-note.h: Mark deprecate methods as such.
4651 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4652 not run tests on the deprecated methods if built with deprecation
4655 Fixes: NB#91688 (Never show icons in information notes/confirmation
4658 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4660 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4661 (hildon_app_menu_key_press): Remove leftover usage of the
4662 private structure in HildonAppMenu struct.
4663 * src/hildon-app-menu.h: Remove leftover private structure
4664 from the HildonAppMenu struct.
4666 Fixes a crasher when using the HildonAppMenu.
4668 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4670 * src/hildon-picker-dialog.c: Use appropriate logical id
4671 for the default "Done" text.
4673 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4675 * configure.ac: post release version bump
4676 * debian/changelog: version bump
4678 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4680 Modified the way to scroll to the current selection just when the touch
4681 selector is shown on the screen, avoiding a g_idle. Added too a property
4682 to configure this behaviour. See hildon_pannable_area_jump_to_child
4683 documentation for more information.
4685 * src/hildon-touch-selector.c
4686 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4687 Added 'initial-scroll' property
4688 (hildon_touch_selector_set_property): Added
4689 (hildon_touch_selector_map): Removed as not required anymore
4690 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4691 only a concrete column, instead of iterate along all the columns
4693 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4698 * configure.ac: bump version
4699 * debian/changelog: updates
4701 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4703 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4704 compilation time warnings.
4706 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4708 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4709 the default value for HildonPannableArea::mov-mode to
4710 HILDON_PANNABLE_AREA_MODE_VERT.
4712 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4714 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4716 Reverting following commit:
4718 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4720 * src/hildon-app-menu-private.h
4721 * src/hildon-app-menu.[ch]
4722 * src/hildon-button.[ch]
4723 * src/hildon-check-button.[ch]
4724 * src/hildon-entry.[ch]
4725 * src/hildon-pannable-area.[ch]
4726 * src/hildon-text-view.[ch]:
4727 Added private field to the object's structure.
4729 because it causes an ABI breakage. We will need to introduce these
4730 changes later at some point. See NB#91636 for an extensive
4731 explanation and status.
4733 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4735 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4737 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4738 remove special cases that are no longer necessary.
4740 Fixes: NB#91016 (Change toolbar sizes, simplification)
4742 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4744 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4745 is shown in the cancel note.
4747 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4750 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4751 (hildon_seekbar_init): Remove steppers, remove expose event.
4752 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4754 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4756 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4758 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4759 label font to "SmallSystemFont" for vertically arranged buttons.
4761 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4764 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-check-button.c
4767 (hildon_check_button_set_active, hildon_check_button_clicked):
4768 Don't access private parts directly, use getters instead.
4770 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4772 * src/hildon-check-button.c (hildon_check_button_new):
4773 Align the contents of the check button to the left.
4775 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4777 * src/hildon-pannable-area.c,
4778 (hildon_pannable_area_scroll_to),
4779 (hildon_pannable_area_jump_to),
4780 (hildon_pannable_area_scroll_to_child),
4781 (hildon_pannable_area_jump_to_child): Replace the mapped
4782 precondition of these functions with the realized, it is the
4783 correct state of the widget in this case. Changed the
4784 documentation according to this modification.
4786 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4788 Added a new EXTRA_CFLAGS option to add the deprecated define to
4789 the compilation command. This way we can avoid using the define in
4790 the documentation compilation.
4792 * configure.ac: Defined EXTRA_CFLAGS.
4794 * examples/Makefile.am:
4796 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4798 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4800 * src/hildon-picker-dialog.c:
4801 Defined a utility macro with the desired touch selector height
4802 Removed currently unused separator, and title_label variables from
4804 (hildon_picker_dialog_init): Removed code related to the creation
4805 of unused private variables title_label and separator.
4806 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4807 to ensure correct visualization of the touch selector inside the dialog.
4808 * src/hildon-touch-selector.c
4809 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4810 ensure a concrete height of the widget.
4812 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4815 * tests/Makefile.am:
4817 Remove spurious whitespaces.
4819 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4822 compilation warning after the cancel button removal.
4824 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4826 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4828 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4829 Makefile.am, that way we can choose not to compile some examples
4830 and tests of the deprecated widgets.
4832 * examples/Makefile.am: Divided the sources in deprecated and
4835 * src/Makefile.am: Added undef statement of the deprecated
4836 symbol to the enums file generation process.
4838 * src/hildon-color-chooser-dialog.c
4839 * src/hildon-color-chooser-dialog.h
4840 * src/hildon-color-button.c
4841 * src/hildon-color-button.h
4842 * src/hildon-color-chooser.c
4843 * src/hildon-color-chooser.h
4844 * src/hildon-controlbar.c
4845 * src/hildon-controlbar.h
4846 * src/hildon-date-editor.c
4847 * src/hildon-date-editor.h
4848 * src/hildon-hvolumebar.c
4849 * src/hildon-hvolumebar.h
4850 * src/hildon-private.c
4851 * src/hildon-private.h
4852 * src/hildon-range-editor.c
4853 * src/hildon-range-editor.h
4854 * src/hildon-seekbar.c
4855 * src/hildon-seekbar.h
4856 * src/hildon-time-editor.c
4857 * src/hildon-time-editor.h
4858 * src/hildon-time-picker.c
4859 * src/hildon-time-picker.h
4860 * src/hildon-volumebar.c
4861 * src/hildon-volumebar.h
4862 * src/hildon-vvolumebar.c
4863 * src/hildon-vvolumebar.h
4864 * src/hildon-bread-crumb-trail.h
4865 * src/hildon-bread-crumb-trail.c
4866 * src/hildon-calendar-popup.c
4867 * src/hildon-calendar-popup.h
4868 * src/hildon-weekday-picker.c:
4869 * src/hildon-weekday-picker.h:
4870 * src/hildon-bread-crumb-widget.c:
4871 * src/hildon-bread-crumb-widget.h:
4872 * src/hildon-bread-crumb.c:
4873 * src/hildon-bread-crumb.h:
4874 * src/hildon-calendar.c:
4875 * src/hildon-calendar.h:
4876 * src/hildon-caption.c:
4877 * src/hildon-code-dialog.c:
4878 * src/hildon-code-dialog.h:
4879 * src/hildon-font-selection-dialog.c:
4880 * src/hildon-font-selection-dialog.h:
4881 * src/hildon-get-password-dialog.c:
4882 * src/hildon-get-password-dialog.h:
4883 * src/hildon-login-dialog.c:
4884 * src/hildon-login-dialog.h:
4885 * src/hildon-number-editor.c:
4886 * src/hildon-number-editor.h:
4887 * src/hildon-set-password-dialog.c:
4888 * src/hildon-set-password-dialog.h:
4889 * src/hildon-sort-dialog.c:
4890 * src/hildon-sort-dialog.h: This is the list of deprecated
4893 * src/hildon-touch-selector.c:
4894 * src/hildon-window.c: Added undef statement to avoid compilation
4897 * tests/Makefile.am: Divided the sources in deprecated and
4900 * tests/check_test.c,
4901 (configure_tests): Marked the deprecated code that was adding
4902 suites with deprecated tests.
4904 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4906 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-touch-selector.c: (_default_print_func): Do not
4909 duplicate a string returned by gtk_tree_model_get(), it is already
4912 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4915 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4917 * src/hildon-pannable-area.c
4918 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4919 method, it had problems when adding a widget with viewport the
4920 second time. Now checks if it already has a viewport and uses it.
4922 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4925 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4927 * src/hildon-pannable-area.c,
4928 (hildon_pannable_area_scroll_to),
4929 (hildon_pannable_area_jump_to),
4930 (hildon_pannable_area_scroll_to_child),
4931 (hildon_pannable_area_jump_to_child): Added a precondition to the
4932 scroll and jump to functions: the widget must be mapped before we
4933 can safely call these functions. We have also added documentation
4934 to the functions to explain how to use them in this situation.
4937 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4939 Reviewed the threading handling of the pannable widget, we have
4940 used the gdk_threads_add_timeout function instead of the usual
4941 glib handlers. This avoids some problems with the threads.
4943 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4944 (hildon_pannable_area_initial_effect),
4945 (hildon_pannable_area_scroll_indicator_fade),
4946 (hildon_pannable_area_button_press_cb),
4947 (hildon_pannable_area_timeout),
4948 (hildon_pannable_area_motion_notify_cb),
4949 (hildon_pannable_area_button_release_cb),
4950 (hildon_pannable_area_scroll_cb),
4951 (hildon_pannable_area_scroll_to): Removed the
4952 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4953 gdk_threads_add_timeout.
4955 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4957 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4962 * configure.ac: bump version
4963 * debian/changelog: updates
4965 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4968 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4969 * src/hildon-color-chooser-dialog.c:
4970 (hildon_color_chooser_dialog_init):
4971 * src/hildon-font-selection-dialog.c:
4972 (hildon_font_selection_dialog_init):
4973 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4975 Remove all cancel/close-like dialogs, as these are not going to be
4978 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-note.c: (hildon_note_rebuild),
4981 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4984 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4986 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4988 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4989 sure all buttons are shown, even the Cancel/Close-like ones.
4991 Fixes: NB#90861 (Custom Confirmation dialogs should be
4992 protected from cancel button removal)
4994 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4996 * debian/control: Change libhildon1-examples dependency from libhildon1
4998 * debian/libhildon1-examples.install
5000 * Makefile.am: Modified the final install directory for the examples on
5001 package libhildon1-examples
5002 * Makefile.static: Update clean target in order to remove all the binary
5005 Changes suggested by Claudio after review new libhildon1-examples package
5007 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5010 * src/hildon-touch-selector.c: Ditto.
5012 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * debian/control: Added new package libhildon1-examples, in order to pack
5015 the current hildon examples as documentation
5016 * debian/rules: Not to compress .c files, modify some includes on the
5017 examples (as normally are compiled locally, but when installed it will
5018 require to include the installed libhildon1 library), and rename
5020 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5021 install all the example files on the new example package
5022 * examples/Makefile.static: Added static makefile that can be used to
5023 compile the examples, once installed the new example package
5024 * examples: Most of the examples were modified in order to grant that
5025 all use only '#include "hildon.h"', in order to be easy to prepare
5026 it on the example package
5028 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5031 * debian/libhildon1-dev.install
5032 * debian/libhildon1-doc.install:
5033 Move all gtk-doc files to a separate libhildon1-doc package.
5035 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5037 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5041 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5043 * debian/rules: Fixed a error in order to avoid unnecessary calls
5044 to autogen.sh on package building
5046 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5048 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5050 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5055 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-picker-button.c
5058 (hildon_picker_button_finalize):
5059 Free priv->done_button_text
5061 * src/hildon-time-button.c
5062 (hildon_time_button_set_time)
5063 * src/hildon-picker-button.c
5064 (hildon_picker_button_clicked)
5065 (hildon_picker_button_selector_selection_changed)
5066 (hildon_picker_button_set_selector)
5067 * src/hildon-date-button.c
5068 (hildon_date_button_set_date):
5069 Free strings returned by hildon_touch_selector_get_current_text()
5071 * src/hildon-button.c (hildon_button_construct_child):
5072 Fix leaks in priv->image and priv->label_box
5074 Fixes: NB#90535 (Memory leak in picker button)
5076 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-button.c: (hildon_button_get_property): Do not access
5079 private elements directly, use getters instead.
5081 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-app-menu-private.h
5084 * src/hildon-app-menu.c
5085 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5086 Store the menu's parent window.
5088 * src/hildon-stackable-window.c
5089 (hildon_stackable_window_toggle_menu)
5090 (hildon_stackable_window_finalize):
5091 Set the menu's parent window when the menu is shown, unset it when
5094 * src/hildon-app-menu.c
5095 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5096 (hildon_app_menu_class_init):
5097 Send unhandled keyboard accelerators to the parent window.
5099 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-stackable-window.c
5102 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5104 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5106 * configure.ac: post release version bump
5108 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5111 * configure.ac: Bump version
5112 * debian/changelog: Updates
5113 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5116 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5118 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5121 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5122 GtkMenu with Hildon style.
5124 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5126 * src/hildon-picker-button.c:
5127 (hildon_picker_button_set_done_button_text): Set the dialog's
5128 done button text here as well.
5130 Fixes: NB#90232 (Picker button does not set the label on done button
5131 for the second time)
5133 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5138 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-app-menu.c (hildon_app_menu_insert)
5141 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5142 the HildonAppMenu to be activatable using keyboard accelerators
5143 when the menu is not being shown.
5145 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5147 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-stackable-window.c
5150 (hildon_stackable_window_show):
5151 Don't hide old windows automatically when new windows are shown:
5152 this is now a task for the window manager.
5153 (hildon_stackable_window_class_init)
5154 (hildon_stackable_window_hide):
5155 Remove windows from the stack everytime they're hidden.
5156 (hildon_stackable_window_realize):
5157 Don't change the _NET_WM_WINDOW_TYPE property. Use
5158 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5159 it as a stackable window.
5161 * src/hildon-program.c
5162 (hildon_program_pop_window_stack):
5163 Just hide the window to remove it from the stack.
5164 (hildon_program_go_to_root_window):
5165 Don't call gtk_widget_show(), this is now a task for the window
5168 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5170 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5172 * src/hildon-button.c
5173 (hildon_button_construct_child):
5174 Don't pack anything in the button until text or image are
5175 set. This allows adding a custom child after creating the button
5176 with hildon_button_new().
5177 (hildon_button_finalize, hildon_button_class_init)
5178 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5179 alignment and the label box even when they're not packed in the
5182 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5184 * src/hildon-touch-selector.h:
5185 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5186 currently the type definition was using GTK_TYPE_VBOX
5187 * src/hildon-touch-selector.c:
5188 Added some implementation notes in order to clarify that any other widget
5189 added without the column related API will not be included on the
5190 selection logic, and how the widget is freed, as some people ask about
5192 (hildon_touch_selector_remove): Reimplemented in order to free properly
5193 the column related data when you remove the private hbox.
5194 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5195 to get a proper HildonTouchSelectorColumn documentation
5197 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5199 * src/hildon-touch-selector-entry.c:
5200 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5201 text in the GtkEntry and there is no item selected. Fixes a
5204 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-app-menu-private.h
5207 * src/hildon-app-menu.[ch]
5208 * src/hildon-button.[ch]
5209 * src/hildon-check-button.[ch]
5210 * src/hildon-entry.[ch]
5211 * src/hildon-pannable-area.[ch]
5212 * src/hildon-text-view.[ch]:
5213 Added private field to the object's structure.
5215 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5217 * configure.ac: post-release version bump
5219 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5223 * configure.ac: pre-release version bump
5225 * debian/changelog: updates.
5227 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5229 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5230 Disconnect the handler for HildonTouchSelector::changed.
5232 (hildon_picker_button_selector_selection_changed): Update the button
5233 value if the selection change was not triggered by the
5236 (hildon_picker_button_set_selector): connect to
5237 HildonTouchSelector::changed.
5239 Fixes: NB#89650 (Picker button is not updated, when selection in
5240 selector has changed)
5242 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5244 * src/hildon-picker-dialog.c
5245 (hildon_picker_dialog_realize): Removed as not required
5246 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5247 * src/hildon-picker-button.c
5248 (_current_selector_empty): New function, checks if the selector is empty
5249 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5250 if the current selector is empty, in order to avoid to show the dialog
5251 close the dialog in this case (and shows a g_warning).
5253 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5255 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5257 * src/hildon-pannable-area.c,
5258 (hildon_pannable_area_scroll): Added clause to stop movement when
5259 the child of pannable is smaller than one page.
5260 (hildon_pannable_area_scroll_to): Added conditions to avoid
5261 starting the scrolling movement if the child is smaller than one
5262 page, the complete child is in the screen, we do not have to move.
5264 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5266 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5269 this is managed automatically by the widget when the size of the
5272 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-picker-button.c
5275 (hildon_picker_button_set_done_button_text): Make a copy of the
5276 text, and free the previous value.
5278 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5280 * src/hildon-touch-selector-entry.c:
5281 (hildon_touch_selector_entry_print_func): Return the selected row's
5282 text if the entry is empty.
5284 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5287 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5291 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-check-button.h
5295 * src/hildon-check-button.c
5296 * examples/hildon-check-button-example.c:
5297 HildonCheckButton is now a new widget. 'toggled' signal added.
5299 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-program-private.h
5302 * src/hildon-program.c (hildon_program_init)
5303 (hildon_program_finalize): Removed unused variables group_leader
5304 and name from HildonProgramPrivate.
5306 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-check-button.c (hildon_check_button_set_active)
5309 (hildon_check_button_get_active, hildon_check_button_new): Use
5310 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5312 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5314 * src/hildon-touch-selector.h
5315 (hildon_touch_selector_set_column_attributes): added deprecation
5316 guard HILDON_DISABLE_DEPRECATED
5317 * src/hildon-time-selector.c
5318 (hildon_time_selector_set_time)
5319 (hildon_time_selector_get_time): Fixed a typo on documentation
5320 * src/hildon-touch-selector.c: update HildonTouchSelector and
5321 HildonTouchSelectorColumn documentation
5322 * src/hildon-touch-selector-entry.c: update "text-column" property
5324 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5325 to be added to the general documentation.
5327 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5329 * examples/hildon-pannable-area-example-4.c,
5331 * examples/hildon-pannable-area-example.c,
5332 (main): Modified the code in order to use the container add, with
5333 viewport treeviews could have problems if they are really big.
5335 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5337 * src/hildon-weekday-picker.c,
5338 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5339 the agreement regarding deprecation in the library.
5341 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5343 * examples/hildon-picker-button-multicolumn-example.c:
5344 (main): Use custom "done" button text.
5346 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5347 (hildon_picker_button_set_property),
5348 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5349 (hildon_picker_button_init),
5350 (+hildon_picker_button_get_done_button_text),
5351 (+hildon_picker_button_set_done_button_text): New methods to customize
5352 the "done" button label in the launched HildonPickerDialog. Also,
5355 * src/hildon-picker-button.h: add the public API.
5357 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5359 * src/hildon-date-selector.h:
5360 * src/hildon-picker-dialog.h:
5361 * src/hildon-time-selector.h:
5362 * src/hildon-touch-selector-column.h:
5363 * src/hildon-touch-selector.h:
5365 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5366 declarations. Fixes gtk-doc warnings.
5368 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5370 * src/hildon-picker-dialog.h
5371 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5372 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5374 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5375 long text is set as label for done button)
5377 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-dialog.c (hildon_dialog_add_button):
5380 Set fixed width to all buttons in the HildonDialog.
5382 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5384 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5386 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5387 Set widget name using class name plus "-finger" or "-thumb".
5389 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5391 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5392 'clicked' when the state of the button is manually changed.
5394 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu.c (hildon_app_menu_realize)
5397 (hildon_app_menu_unrealize, hildon_app_menu_init)
5398 (hildon_app_menu_class_init, item_visibility_changed):
5399 Change the menu layout when the size of the screen changes.
5400 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5401 Show warning only when changing the number of colums using the
5404 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5406 * debian/compat: Set to 5
5407 * debian/control: Update dependencies.
5408 * debian/libhildon1-dbg.install: Remove.
5409 * debian/libhildon1-dev.install: Update according to cdbs paths.
5410 * debian/libhildon1.install: Update according to cdbs paths.
5411 * debian/rules: Switch to cdbs.
5413 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5415 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5416 'item' variable renamed to 'filter'
5418 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5420 * src/hildon-app-menu.c (hildon_app_menu_insert)
5421 (hildon_app_menu_add_filter, remove_item_from_list)
5422 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5423 Don't leak hidden items when the menu is destroyed.
5425 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-app-menu.c (hildon_app_menu_insert)
5428 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5429 (hildon_app_menu_set_columns, item_visibility_changed)
5430 (filter_visibility_changed, hildon_app_menu_repack_filters)
5431 (hildon_app_menu_repack_items):
5432 Repack items and filters separately.
5434 Don't repack all items, change only the ones that are needed to
5437 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5439 * src/Makefile.am: added hildon-touch-selector-column.h
5441 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5443 * src/hildon-touch-selector.c: added the property "text-column" to the
5444 class HildonTouchSelectorColumn, and related get/set functions
5445 (_default_printf_func): updated to use "text-column" property
5446 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5447 "text-column" in his documentation, as this is now included on
5448 HildonTouchSelectorColumn. The get/set_property can still be used,
5449 working as a wrapper to the concrete column "text-column" property
5450 (_text_column_modified): callback added in order to handle the signal
5451 "notify::text-column" of the concrete HildonTouchSelectorColumn
5452 (hildon_touch_selector_entry_get_text_column)
5453 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5454 modified in order to use the HildonTouchSelectorColumn "text-column"
5456 * src/hildon-time-selector.c:
5457 * src/hildon-date-selector.c:
5458 * examples/hildon-touch-selector-example.c
5459 * examples/hildon-touch-selector-multi-cells-example.c
5460 * examples/hildon-picker-button-multicolumn-example.c
5461 Set the right value to "text-column" property on the creation of a new
5462 column using hildon_touch_selector_append_column()
5464 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5466 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-app-menu.c
5469 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5470 updating the layout of the menu, don't create all widgets again,
5471 just repack the items in their new places.
5473 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5475 * src/hildon-time-selector.c
5476 (hildon_time_selector_get_time)
5477 (hildon_time_selector_set_time)
5478 Added documentation of these public methods
5480 * src/hildon-date-button.h
5481 * src/hildon-touch-selector-column.h
5482 * src/hildon-time-button.h
5483 * src/hildon-picker-dialog.h
5484 * src/hildon-time-selector.h
5485 * src/hildon-picker-button.h
5486 * src/hildon-touch-selector.h
5487 * src/hildon-time-picker.h
5488 * src/hildon-date-selector.h
5489 * src/hildon-touch-selector-entry.h
5490 Modified in order to use hildon-widgets code style
5492 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5494 Added deprecated support to the compilation process using
5495 HILDON_DISABLE_DEPRECATED
5497 * configure.ac: Added the --disable-deprecated to the configure
5500 * src/hildon-weekday-picker.c:
5501 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5502 to use the deprecated support. We will update the other deprecated
5503 widgets status in a new patch.
5505 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5507 * configure.ac: Fixed typo with fatal warnings support, the
5508 variable name was not correct
5510 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5512 * src/hildon-app-menu.c
5513 * src/hildon-program.c: Update documentation.
5515 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5517 * configure.ac: Post-release version bump.
5519 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5524 * configure.ac: Pre-release version bump.
5525 * debian/changelog: Updates.
5527 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5529 * NEWS: Update news for previous releases.
5531 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5533 * examples/hildon-touch-selector-multi-cells-example.c:
5534 (create_selector): Update the example to use
5535 hildon_touch_selector_append_column() with a NULL renderer and set
5536 the renderers later.
5537 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5538 passed a NULL renderer. This is documented behavior now.
5540 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5541 This must be used if the developer wants full control on the layout of
5542 the renderers to be added to the column.
5544 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5546 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5548 * src/hildon-touch-selector.c: Documentation fixes.
5550 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-wizard-dialog-private.h: Remove image and box.
5553 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5554 (hildon_wizard_dialog_set_property), (response): Completely remove
5555 image/icon support, and the containers required for the layout.
5557 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5559 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-app-menu.c: Updated documentation.
5563 * src/hildon-stackable-window.c
5564 (hildon_stackable_window_set_main_menu): Unref the old menu after
5565 ref'ing the new one.
5567 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-stackable-window.c
5570 (hildon_stackable_window_set_main_menu): Unref the previous menu
5571 instead of destroying it.
5573 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5574 floating reference and set has_user_ref_count to FALSE to make
5575 HildonAppMenu act like a normal ref-counted widget and not a
5578 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5581 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5583 * src/hildon-touch-selector-column.h: new file
5584 * src/hildon-touch-selector.h
5585 * src/hildon-touch-selector.c
5586 Implemented GtkCellLayout interface, in order to allow to configure
5587 the cell layout on each individual selector column
5588 (hildon_touch_selector_set_column_attributes): marked as deprecated
5589 * examples/hildon-touch-selector-multi-cells-example.c
5590 Example of how to use the GtkCellLayout interface on the selector
5592 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5594 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-app-menu.h
5597 * src/hildon-app-menu.c
5598 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5599 (hildon_app_menu_append, hildon_app_menu_prepend):
5600 New methods to prepend, insert and move items in the menu.
5602 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-wizard-dialog.c:
5606 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5608 (create_title): Update logical IDs and related code.
5609 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5611 * src/hildon-wizard-dialog.h: Note that
5612 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5613 point, as it is not used anymore.
5615 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5617 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5619 * src/hildon-note.c:
5620 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5621 shown. Do not display an icon in confirmation notes nor information
5623 (hildon_note_set_button_text): Update logical ID for cancel button.
5625 Fixes: NB#88850 (Update HildonNote button strings + signals)
5627 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5629 * src/hildon-stackable-window.c
5630 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5632 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5634 * src/hildon-app-menu-private.h
5635 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5636 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5637 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5638 temporary property 'columns' to change the number of columns.
5640 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5642 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5644 * examples/hildon-note-example.c: (on_information_clicked),
5645 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5646 debugging information.
5647 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5649 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5650 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5651 in order to close: this will be handled by the WM from now on.
5653 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5655 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-app-menu-private.h
5658 * src/hildon-app-menu.c
5659 (hildon_app_menu_append, hildon_app_menu_add_filter)
5660 (button_visibility_changed, hildon_app_menu_apply_style)
5661 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5662 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5663 layout everytime a button (item or filter) is shown or hidden.
5665 * src/hildon-stackable-window.c
5666 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5669 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5671 * src/hildon-touch-selector.c:
5672 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5673 that the treeview inside the touch selector is in fremantle hildon mode
5674 * examples/hildon-date-button-example.c
5675 * examples/hildon-picker-button-multicolumn-example.c
5676 * examples/hildon-touch-selector-entry-example.c
5677 * examples/hildon-touch-selector-example.c
5678 * examples/hildon-time-button-example.c
5679 * examples/hildon-picker-button-example.c:
5680 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5682 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5684 * examples/hildon-text-view-example.c: (main): Remove the
5685 gtkrc bits, now handled by the theme.
5687 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5692 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5694 * po/Makefile.am: Install properly the mo files.
5695 * po/en_GB.po: Update translation, to ease testing purposes.
5697 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5699 * examples/hildon-picker-button-example.c: (main): Select an item
5700 in the selector before setting it to the button.
5702 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5704 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5705 Update button's value if the selector has an item active.
5707 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5708 'value' with the selector)
5710 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5713 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5714 (hildon_picker_button_class_init): Plug the finalize method.
5715 (hildon_picker_button_set_selector): If there's a previously set
5716 selector, unref'it before setting a new one.
5718 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5719 HildonTouchSelector)
5721 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5723 * src/hildon-touch-selector-entry.c:
5724 (hildon_touch_selector_entry_changed): Check if there is no text
5725 selected before setting the entry text.
5728 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5730 * src/hildon-touch-selector.h
5731 * src/hildon-touch-selector.c
5732 (hildon_touch_selector_get_active)
5733 (hildon_touch_selector_set_active): New methods to set/get the
5734 index of the selected item.
5736 * src/hildon-picker-button.h
5737 * src/hildon-picker-button.c
5738 (hildon_picker_button_get_active)
5739 (hildon_picker_button_set_active): New methods to set/get the
5740 index of the selected item.
5742 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5744 * configure.ac: post-release version bump.
5746 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5750 * configure.ac: Pre-release version bump.
5751 * debian/changelog: Updates.
5752 * debian/control: Add myself as maintainer and depend on l10n
5755 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-window.c
5758 (hildon_window_set_main_menu)
5759 * src/hildon-stackable-window.c
5760 (hildon_stackable_window_set_main_menu):
5761 Updated documentation.
5763 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5766 Don't free selector->priv manually.
5769 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5772 (hildon_gtk_window_set_progress_indicator):
5773 * src/hildon-gtk.h: Added the new API
5774 hildon_gtk_window_set_progress_indicator, it changes the state of
5775 the window progress hint.
5777 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-button.c
5780 * src/hildon-stackable-window.c: Minor documentation updates.
5782 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5784 * src/hildon-stackable-window.c: Updated documentation.
5786 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-defines.h: Update margins definitions
5789 to the Fremantle sizes.
5792 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5794 * src/hildon-touch-selector.c,
5795 (_hildon_touch_selector_set_model): Cleaning the code after
5796 review, removed g_print and #if 0 from the code.
5798 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-edit-toolbar.c: Update documentation.
5802 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5804 * src/hildon-check-button.h
5805 * src/hildon-check-button.c
5806 (hildon_check_button_set_label, hildon_check_button_get_label)
5807 * examples/hildon-check-button-example.c
5808 (button_clicked_cb):
5809 Removed deprecated methods.
5811 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-text-view.c:
5814 Add sample code to the documentation.
5816 * src/hildon-entry.h
5817 * src/hildon-text-view.h:
5818 Minor cosmetic changes.
5820 * src/hildon-entry.c:
5821 Add sample code to the documentation.
5822 (hildon_entry_init, hildon_entry_refresh_contents):
5823 Don't allow NULL values in the placeholder.
5825 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5827 * doc/hildon-docs.sgml
5829 * examples/Makefile.am
5830 * examples/hildon-text-view-example.c
5832 * src/hildon-text-view.c
5833 * src/hildon-text-view.h
5835 New HildonTextView widget, with example.
5837 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5839 * po/POTFILES.in: Add missing files with translatable strings.
5840 Partially fixes NB#88287.
5842 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5844 * examples/hildon-pannable-area-example-2.c: (main): No need to
5845 set the cellrenderer height inside hildon touch lists, the theme does
5848 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5850 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5851 they are integrated in the theme.
5853 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5855 * examples/hildon-entry-example.c: Update the example adding
5856 widgets to modify the text and the placeholder of the HildonEntry.
5858 * src/hildon-entry.c: Show the placeholder everytime the widget
5859 is empty and loses the focus.
5861 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5863 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5865 * src/hildon-pannable-area.c,
5866 (hildon_pannable_area_size_request): Fixed bug in height
5867 requisition, avoid increasing size and add border twice.
5869 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5871 * configure.ac: postrelease version bump.
5873 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5877 * configure.ac: Prerelease version bump.
5878 * debian/changelog: update.
5879 * debian/rules: make -dbg package contain useful debugging symbols.
5881 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-dialog.h
5884 * src/hildon-dialog.c
5885 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5886 New methods to add buttons with finger size.
5887 (hildon_dialog_new_with_buttons):
5888 Create buttons with finger size.
5890 * examples/hildon-dialog-example.c (main): Use HildonDialog
5891 methods to add buttons.
5893 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-entry.c: Updated HildonButton documentation.
5897 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5900 button value label with (FALSE, FALSE) to prevent NB#88126 from
5903 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5905 * examples/hildon-pannable-area-example.c,
5906 (main): Removed examples panning a vbox inside a pannable
5907 area. Check bug NB#87965
5909 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5911 Patch contributed by Kris Rietveld (kris@imendio.com)
5913 * src/hildon-pannable-area.c,
5914 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5915 get_size and get_position, this saves an X server roundtrip.
5917 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5919 * doc/hildon-docs.sgml
5921 * examples/Makefile.am
5922 * examples/hildon-entry-example.c
5924 * src/hildon-entry.c
5925 * src/hildon-entry.h
5927 New HildonEntry widget, with example.
5929 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-button.c (hildon_button_construct_child): Pack the
5932 image with expand == fill == FALSE. This is a workaround for a bug
5935 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5937 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5938 labels for the text column, to make it more look more dynamic.
5940 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5942 * src/hildon-time-selector.c
5943 Define gettext auxiliar macro N_
5944 (_create_minutes_model)
5945 (_create_hours_model)
5946 (_create_ampm_model): use of strftime in order to fill the model
5947 * src/hildon-date-selector.c
5948 (hildon_date_selector_finalize):
5949 (_locales_init): remove the logic related to get the name of the months
5950 using nl_langinfo, as it is not required anymore
5952 (_create_year_model)
5953 (_create_month_model)
5954 (_update_day_model): use of strftime in order to fill the model properly
5957 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5959 * src/hildon-button.h
5960 * src/hildon-button.c (hildon_button_get_image): New method to
5963 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5965 * src/hildon-touch-selector.c:
5966 (hildon_touch_selector_remove_column): Remove from the correct parent
5967 and also remove the list element and free it.
5970 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5972 * src/hildon-time-selector.c
5973 (_create_hours_model): change the range on 12h ampm format in order to use
5974 a 12-11 range instead of previous 01-12 range
5975 (hildon_time_selector_set_time): change the way to select the current time
5976 on 12h ampm format, due the change on the range
5977 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5980 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5982 * src/hildon-touch-selector.c
5983 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5984 in order to allow use this function on multiple row selection mode if
5985 the column is different that the first one
5988 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5990 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5991 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5993 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5995 * src/hildon-date-selector.h: clean some comments, now on the .c
5996 * src/hildon-date-selector.c
5997 (hildon_date_selector_select_month): first implementation
5998 (hildon_date_selector_select_day): added documentation, reimplemented
5999 using hildon_date_selector_select_current_date to avoid repeat code
6002 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6004 Reviewed interaction logic based on device experiences, refactored
6007 * src/hildon-pannable-area.c,
6008 (hildon_pannable_area_class_init): Updated default vmax speed.
6009 (hildon_pannable_area_calculate_velocity): Added this function, it
6010 avoids duplicate valocity calculation. Adjusted calculation to
6011 avoid problems with zero dist events.
6013 (hildon_pannable_area_motion_notify_cb): Now we use the
6014 calculate_velocity function.
6016 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6018 * src/hildon-date-selector.c
6019 (hildon_date_selector_select_current_date): fix the day range check
6020 as it failed using the last day of the current month
6023 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6025 * src/hildon-touch-selector.c
6026 (hildon_touch_selector_get_num_columns): added a parameter validation
6029 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6031 * examples/Makefile.am
6032 * examples/hildon-edit-toolbar-example.c: Example of the
6033 HildonEditToolbar widget.
6035 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6037 * configure.ac: postrelease version bump.
6039 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6043 * configure.ac: prerelease version bump.
6044 * debian/changelog: update.
6046 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6048 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6049 renderer to display stock icons in the touch list. Also, set the sizes
6050 to the recommended in the style guide.
6052 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6053 * src/hildon-touch-selector.h
6054 (hildon_touch_selector_set_active_iter): renamed, now is
6055 hildon_touch_selector_select_iter
6056 (hildon_touch_selector_get_active_iter): renamed, now is
6057 hildon_touch_selector_get_selected
6058 (hildon_touch_selector_unselect_iter): added
6059 * src/hildon-touch-selector.c
6060 Update after API modification (methods renamed)
6061 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6062 order to avoid problems selecting multiple elements on the column
6063 (hildon_touch_selector_unselect_iter): added the implementation
6064 * src/hildon-time-selector.c
6065 * src/hildon-date-selector.c
6066 * src/hildon-touch-selector-entry.c
6067 Update methods calls after hildon-touch-selector.h API modification (methods
6070 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6072 * src/hildon-stackable-window.c
6073 (hildon_stackable_window_finalize): Call the parent class's finalize.
6075 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6077 * examples/hildon-touch-selector-example.c: (create_selector): Use
6078 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6081 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6084 set a cell background color, to respect theming.
6086 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6088 * doc/hildon-docs.sgml
6091 * src/hildon-edit-toolbar.c
6092 * src/hildon-edit-toolbar.h
6093 * src/hildon.h: New HildonEditToolbar widget.
6095 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6097 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6100 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6101 * src/hildon-touch-selector.c
6102 (_create_new_column): use g_object_set instead of two g_object_set_property
6104 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6105 * src/hildon-touch-selector.c
6106 (_create_new_column): use of hildon_gtk_tree_view_new to create
6107 the treeview, instead of use directly g_object_new
6108 (_create_new_column): update the property name "vindicator-mode" for the
6109 new one "vscrollbar-policy"
6110 * examples/hildon-date-button-example.c
6111 * examples/hildon-picker-button-multicolumn-example.c
6112 * examples/hildon-touch-selector-entry-example.c
6113 * examples/hildon-touch-selector-example.c
6114 * examples/hildon-time-button-example.c
6115 * examples/hildon-picker-button-example.c
6116 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6117 to all the treeviews inside a pannable area.
6119 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6121 * src/hildon-button.h
6122 * src/hildon-button.c (hildon_button_init)
6123 (hildon_button_set_arrangement, hildon_button_set_alignment)
6124 (hildon_button_set_title_alignment)
6125 (hildon_button_set_value_alignment)
6126 (hildon_button_set_image_alignment)
6127 (hildon_button_construct_child): New methods to set the alignment
6128 of the individual components of the button (title, value,
6129 image). Also, new method to alter the xscale and yscale properties
6130 of the GtkAlignment inside the button, so more complex layouts can
6133 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-button.c (hildon_button_style_set)
6136 (hildon_button_class_init, hildon_button_set_arrangement)
6137 (hildon_button_construct_child): Apply style properties
6138 correctly. Use the 'image-spacing' style property too.
6140 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6143 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6146 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6148 * src/hildon-pannable-area.c,
6149 (hildon_pannable_area_size_request): Fixed problem with
6150 pannable-area size_request.
6152 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6154 Added management for the grab-focus to a child widget, like a
6155 range, we need to fade out the scrollbar when releasing.
6157 * src/hildon-pannable-area.c,
6158 (hildon_pannable_area_init): Connected the grab-focus signal to
6160 (hildon_pannable_area_grab_notify): Added this function in order
6161 to manage the situation when the grab-focus ends. We have to
6162 fade-out the scrollbar.
6164 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-app-menu.c: Minor documentation update.
6168 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6170 * src/hildon-app-menu.c
6171 * examples/hildon-app-menu-example.c (create_menu): Update
6172 examples and documentation to explain how to connect callbacks.
6174 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6176 * examples/hildon-button-example.c
6177 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6178 hildon_stackable_window_new instead of gtk_window_new
6180 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6182 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6183 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6184 (hildon_pannable_area_set_property),
6185 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6186 (hildon_pannable_area_unrealize),
6187 (hildon_pannable_area_size_request),
6188 (hildon_pannable_area_size_allocate),
6189 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6190 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6191 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6192 (hildon_pannable_area_initial_effect),
6193 (hildon_pannable_area_redraw),
6194 (hildon_pannable_area_scroll_indicator_fade),
6195 (hildon_pannable_area_expose_event),
6196 (hildon_pannable_area_get_topmost), (synth_crossing),
6197 (hildon_pannable_area_button_press_cb),
6198 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6199 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6200 (hildon_pannable_area_motion_notify_cb),
6201 (hildon_pannable_area_button_release_cb),
6202 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6203 (hildon_pannable_area_remove),
6204 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6205 chage the code layout to a more GtkWidget like. Review the use of
6208 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6210 * examples/hildon-pannable-area-example-4.c,
6211 (main): Modified the name of the hindicator_mode to
6214 * src/hildon-pannable-area.c,
6215 (hildon_pannable_area_class_init),
6216 (hildon_pannable_area_motion_notify_cb),
6217 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6218 we have reduced the amount of signals and managed reviewed its
6219 rationale. Changed the default decelerate value.
6221 (hildon_pannable_area_add),
6222 (hildon_pannable_area_redraw): Refactored functions.
6224 (hildon_pannable_area_init),
6225 (hildon_pannable_area_get_property),
6226 (hildon_pannable_area_set_property):
6227 (hildon_pannable_draw_vscroll),
6228 (hildon_pannable_draw_hscroll),
6229 (hildon_pannable_area_initial_effect),
6230 (hildon_pannable_area_expose_event),
6231 (hildon_pannable_area_scroll),
6232 (hildon_pannable_area_button_press_cb),
6233 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6234 and vindicator_mode with hscrollbar_policy and
6235 vscrollbar_policy. Replaced hscroll and vscroll with
6236 hscroll_visible and vscroll_visible.
6238 (hildon_pannable_area_refresh): Refactor the function, remove
6239 variables and check the calls to this function, added resize
6240 conditions in case the children change their layout.
6242 (hildon_pannable_area_size_request): Added more detailed
6243 size_request calculation.
6246 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6248 * src/hildon-color-chooser.c
6249 (init_borders): use the correct gtk_border_free instead of g_free, to
6250 avoid a crash when this widget is used (ie: the three color selection
6253 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6255 * src/hildon-check-button.c,
6256 (hildon_check_button_set_active): Fixed problem when setting the
6257 active value, the widget was not redrawn.
6259 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6261 * src/hildon-pannable-area.c,
6262 (hildon_pannable_area_refresh),
6263 (hildon_pannable_area_scroll),
6264 (hildon_pannable_area_motion_notify_cb): Small code style change.
6266 (hildon_pannable_area_class_init): Default initial_hint set to
6267 FALSE, it is not in the specs.
6269 (hildon_pannable_area_initial_effect),
6270 (hildon_pannable_area_expose_event),
6271 (hildon_pannable_area_map),
6272 (hildon_pannable_area_init): Moved the launching point of the
6273 initial effect, it was in map but the sizes where not correct in
6274 that method so we do not know if we have the reproduce it. Now it
6275 is placed in the expose_event method and uses a variable to
6276 reproduce it just once.
6278 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6280 * src/hildon-pannable-area.c,
6281 (hildon_pannable_draw_vscroll),
6282 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6283 position allowed for the scrollbars.
6285 (hildon_pannable_area_size_allocate): Small style change.
6287 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6289 * src/hildon-pannable-area.c,
6290 (hildon_pannable_area_scroll_indicator_fade),
6291 (hildon_pannable_area_button_press_cb),
6292 (hildon_pannable_area_button_release_cb),
6293 (hildon_pannable_area_scroll_cb),
6294 (hildon_pannable_area_expose_event),
6295 (hildon_pannable_area_init): Added the define parameter
6296 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6297 and refactor the fade variable.
6299 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6301 * src/hildon-pannable-area.c,
6302 (hildon_pannable_area_redraw),
6303 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6304 lines, we were reimplemeting the redraw code.
6306 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6308 * src/hildon-pannable-area.c,
6309 (hildon_pannable_area_scroll_cb),
6310 (hildon_pannable_area_realize),
6311 (hildon_pannable_area_class_init): Added scroll_event management
6312 for pannable area, now we can scroll the usual desktop method.
6314 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6315 initialization of the parameters should depend on idle_id.
6317 (hildon_pannable_area_init),
6318 (hildon_pannable_area_map): Small code style modifications
6320 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6322 * src/hildon-pannable-area.c
6323 (hildon_pannable_area_button_press_cb),
6324 (hildon_pannable_area_motion_notify_cb),
6325 (hildon_pannable_area_button_release_cb),
6326 (hildon_pannable_area_size_allocate),
6327 (hildon_pannable_area_scroll_to): Improved the timeouts
6328 management, we avoid creating them each time.
6330 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6332 * src/hildon-pannable-area.c:
6333 (hildon_pannable_area_refresh),
6334 (hildon_pannable_area_motion_notify_cb),
6335 (hildon_pannable_area_class_init):
6336 * src/hildon-pannable-area.h:
6337 * src/hildon-touch-selector.c
6338 (_create_new_column):
6339 * examples/hildon-pannable-area-example-4.c:
6340 (horizontal_movement),
6341 (vertical_movement),
6343 Replaced the names of enums in the HildonPannableArea:
6344 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6345 HILDON_MOVEMENT_MODE_*
6346 - HILDON_PANNABLE_AREA_MOV_* ->
6348 - Removed HildonPannableAreaIndicatorMode, now we
6351 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6353 * examples/hildon-pannable-area-touch-grid-example.c
6354 * examples/hildon-pannable-area-touch-list-example.c: Fix
6355 compilation warnings.
6357 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6359 * src/hildon-gtk.c (hildon_gtk_button_new)
6360 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6361 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6362 images overriding the value of the "gtk-button-images" setting.
6364 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-check-button.c (hildon_check_button_new):
6367 Instead of using a custom container, display the label and the
6368 checkbox using the standard GtkButton API.
6370 * examples/hildon-check-button-example.c (main): Don't use
6371 hildon_check_button_set_label() anymore
6373 * src/hildon-check-button.h
6374 * src/hildon-check-button.c
6375 (hildon_check_button_set_label, hildon_check_button_get_label):
6376 Set as deprecated, now we're using gtk_button_{get,set}_label()
6378 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6380 * src/hildon-pannable-area.c,
6381 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6382 GtkTreeview first line we detected it after the inclusion of the
6383 GtkWindowImpl in gtk+. We now check if the window is visible, not
6384 just if the pointer is over the window.
6385 (hildon_pannable_axis_scroll),
6386 (hildon_pannable_area_expose_event): Small style changes.
6388 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6390 * src/hildon-button.c: Update documentation.
6392 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6394 * examples/hildon-button-example.c: Add a switch to show images in
6397 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6399 * doc/hildon-docs.sgml: Some docs reorganization.
6401 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6403 * examples/hildon-pannable-area-touch-list-example.c
6405 * examples/hildon-pannable-area-touch-grid-example.c
6406 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6407 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6408 Fix memory leak when setting the tree model.
6410 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6414 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6416 * doc/hildon.types: Remove duplicated hildon_window_get_type
6417 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6418 documentation comment.
6420 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6422 * doc/Makefile.am: Complete list of private headers.
6424 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6426 * doc/hildon-docs.sgml
6427 * src/hildon-app-menu.c
6428 * src/hildon-bread-crumb.c
6429 * src/hildon-button.c
6431 * src/hildon-program.c
6432 * src/hildon-stackable-window.c
6433 * src/hildon-window.c: Lots of documentation updates.
6435 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6437 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6439 * configure.ac: Require Gtk+ 2.12.9 at least
6441 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6443 * src/hildon-pannable-area.c
6444 (hildon_pannable_area_scroll_indicator_fade),
6445 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6446 to protect the return of this timeout callbacks, avoiding deadlocks.
6448 2008-08-12 Christian Dywan <christian@imendio.com>
6451 * src/hildon-*.h: Ensure a consistent include order,
6452 include <gtk/gtk.h> instead of particular files and
6453 only include the topmost header in the gtk stack. See NB #39857
6455 2008-08-12 Christian Dywan <christian@imendio.com>
6457 * src/hildon-picker-dialog.c
6458 * src/hildon-touch-selector.c: Fix warnings about unused and
6459 uninitialized variables.
6461 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6463 * examples/Makefile.am
6464 * examples/hildon-check-button-example.c: Example of the hildon
6467 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-window.h
6470 * src/hildon-window.c (hildon_window_class_init)
6471 (hildon_window_unset_program): Don't make
6472 hildon_window_unset_program a virtual function anymore.
6474 * src/hildon-stackable-window.c: Update documentation
6476 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6479 * doc/hildon-docs.sgml
6480 * doc/visual_index.xml
6481 * src/hildon-defines.c
6483 * src/hildon-helper.c
6484 * src/hildon-range-editor.c: Lots of documentation fixes.
6486 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6488 * examples/hildon-picker-button-multicolumn-example.c
6489 (create_touch_selector): Fix compilation warning.
6491 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6494 (hildon_pannable_area_button_release_cb)
6495 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6497 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6499 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6502 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6504 * src/hildon-bread-crumb-trail.h
6505 * src/hildon-date-editor.c
6506 * src/hildon-date-selector.c
6507 * src/hildon-pannable-area.c
6508 * src/hildon-picker-dialog.c
6509 * src/hildon-time-selector.c
6510 * src/hildon-touch-selector-entry.c
6511 * src/hildon-touch-selector.c
6512 * src/hildon-touch-selector.h: Misc documentation fixes
6514 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6516 * examples/hildon-date-editor-example.c (main): Updated date
6519 * examples/hildon-note-example.c (on_confirmation_clicked):
6520 Updated confirmation note example.
6522 * src/hildon-date-editor.c
6523 * src/hildon-note.c: Updated sample programs in documentation.
6526 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6528 * src/hildon-date-button.h:
6529 * src/hildon-picker-button.h:
6530 * src/hildon-time-button.c:
6531 * src/hildon-time-button.h:
6533 Some declarations changes to allow gtk-doc to document the widgets
6536 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6538 * src/hildon-date-button.c: Document the widget.
6539 * src/hildon-time-button.c: Document the widget.
6541 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6543 * src/hildon-picker-button.c: Document the widget.
6544 * src/hildon-touch-selector-entry.c: Document the widget.
6546 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6548 * doc/hildon-docs.sgml
6551 * src/hildon-check-button.h
6552 * src/hildon-check-button.c: New functions to create the Hildon
6556 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6558 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6560 * src/hildon-button.h
6561 * src/hildon-button.c
6562 (hildon_button_add_title_size_group)
6563 (hildon_button_add_value_size_group)
6564 (hildon_button_add_image_size_group)
6565 (hildon_button_add_size_groups): New functions to set size groups
6566 for the button labels and image.
6567 (hildon_button_new_full): Removed
6569 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6571 * src/hildon-time-selector.c
6572 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6573 in order to avoid a crash if gconf is not available
6575 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6577 * src/hildon-button.c (hildon_button_set_arrangement)
6578 (hildon_button_construct_child): Don't construct the button child
6579 before setting the arrangement.
6581 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6583 * src/hildon-program-private.h
6584 * src/hildon-program.c
6585 * src/hildon-program.h
6586 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6587 (hildon_program_peek_window_stack)
6588 (hildon_program_pop_window_stack)
6589 (hildon_program_go_to_root_window): HildonProgram now has a
6590 separate list for stackable windows. Functions are provided to
6591 manage that list with a stack-like API.
6593 * src/hildon-stackable-window.c: Stackable window management is
6594 now much simpler with the new HildonProgram API. Windows no
6595 longer need to be manually added to the program, they're
6596 automatically pushed to the top of the stack when shown.
6598 * examples/hildon-stackable-window-example.c: Updated example to
6599 reflect the API changes.
6601 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6603 * src/hildon-touch-selector.c: Comment out unimplemented
6604 hildon_touch_selector_insert_column() to avoid a compile warning.
6606 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6608 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6609 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6610 (hildon_touch_selector_set_column_selection_mode),
6611 (_hildon_touch_selector_set_model),
6612 (hildon_touch_selector_set_model):
6614 Complete review of HildonTouchSelector documentation.
6616 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6618 * doc/hildon-docs.sgml
6622 * src/hildon-gtk.c: Convenience functions for standard Gtk
6623 widgets, used to easily perform frequent operations.
6625 * src/hildon-button-helpers.h
6626 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6628 * src/hildon-helper.h
6629 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6630 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6632 * src/hildon-button.h
6633 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6635 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6637 * src/hildon-button.c (hildon_button_init)
6638 (hildon_button_set_arrangement, hildon_button_construct_child):
6639 Pack the image and the labels inside the same GtkAlignment so
6640 gtk_button_set_alignment() can be used
6642 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6644 * src/hildon-button.h
6645 * src/hildon-button.c
6646 (hildon_button_init, hildon_button_set_image)
6647 (hildon_button_set_image_position)
6648 (hildon_button_construct_child): New functions to add an image to
6651 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-date-button.c
6654 * src/hildon-picker-button.c
6655 * src/hildon-time-button.c
6656 * src/hildon-button.c:
6657 (hildon_button_class_init): "size-flags" renamed to "size"
6658 (hildon_button_set_title): Hide the title label if set to NULL.
6660 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6662 HildonButtonFlags split into HildonButtonArrangement (to set the
6663 button layout) and HildonSizeType (which can be used for any
6666 * src/hildon-button.h
6667 * src/hildon-button.c
6668 (hildon_button_class_init)
6669 (hildon_button_set_arrangement)
6670 (hildon_button_set_property): New "size-flags"
6671 property. "arrangement-flags" renamed to "arrangement".
6672 (hildon_button_new, hildon_button_new_with_text)
6673 (hildon_button_new_full): Constructors updated to reflect type changes.
6675 * src/hildon-helper.h
6676 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6677 to set the size of a widget.
6681 * src/hildon-button-helpers.c
6682 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6684 * src/hildon-date-button.c
6685 * src/hildon-date-button.h
6686 * src/hildon-picker-button.c
6687 * src/hildon-picker-button.h
6688 * src/hildon-time-button.c
6689 * src/hildon-time-button.h: Updated widgets to reflect
6690 HildonButton API changes.
6692 * examples/hildon-button-example.c
6693 * examples/hildon-date-button-example.c
6694 * examples/hildon-picker-button-example.c
6695 * examples/hildon-picker-button-multicolumn-example.c
6696 * examples/hildon-time-button-example.c
6697 * examples/hildon-touch-selector-entry-example.c
6698 * examples/hildon-touch-selector-example.c: Updated examples to
6699 reflect HildonButton API changes.
6701 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6703 * doc/hildon-docs.sgml:
6705 * examples/Makefile.am:
6706 * examples/hildon-touch-selector-entry-example.c:
6708 * src/hildon-touch-selector-entry.c:
6709 * src/hildon-touch-selector-entry.h:
6712 Moved HildonTouchSelectorEntry from sandbox. Added its
6713 documentation and examples.
6715 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6717 * src/hildon-touch-selector.h:
6718 * examples/hildon-picker-button-multicolumn-example.c:
6719 (hildon_touch_selector_append_text_column): Add a gboolean
6720 parameter to determine if text must be centered in the column.
6722 * src/hildon-date-selector.c: (hildon_date_selector_init):
6723 * src/hildon-time-selector.c: (hildon_time_selector_init):
6724 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6725 (create_touch_selector): Update widgets and example to reflect
6728 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6730 * src/hildon-touch-selector.c:
6731 (hildon_touch_selector_set_active_iter): Set also the cursor in
6734 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6736 * doc/hildon-docs.sgml
6739 * src/hildon-toggle-button.c
6740 * src/hildon-toggle-button.h
6741 * src/hildon.h: Removed HildonToggleButton widget, a derived
6742 class is not necessary for this.
6744 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6746 * src/hildon-pannable-area.c,
6747 (hildon_pannable_area_realize),
6748 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6751 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6753 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6754 "done" button the default widget for the dialog.
6756 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6758 * src/hildon-touch-selector.c:
6759 (hildon_touch_selector_class_init),
6760 (hildon_touch_selector_get_property),
6761 (_hildon_touch_selector_set_model),
6762 (_hildon_touch_selector_has_multiple_selection),
6763 (hildon_touch_selector_has_multiple_selection):
6764 Add a "has-multiple-selection" property with a virtual
6765 has_multiple_selection() method to allow derived classes to
6766 override the default value for it. See the method and property
6767 documentation for details.
6769 * src/hildon-touch-selector.h: Add the new API.
6771 * src/hildon-picker-dialog.c: (requires_done_button): Call
6772 hildon_touch_selector_has_multiple_selection() instead of
6773 determining the need for a button itself.
6775 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6778 (_hildon_touch_selector_set_model),
6779 (hildon_touch_selector_set_model): Move working code to
6780 _hildon_touch_selector_set_mode(). Call the class method instead.
6782 * src/hildon-touch-selector.h: Add (*set_model) to
6783 HildonTouchSelectorClass.
6785 Make hildon_touch_selector_set_model() a virtual method, so that
6786 derived classes can extend it and do fancy stuff with the model.
6788 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6790 * configure.ac: Set back the tarname in AC_INIT to hildon.
6792 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6796 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6797 instead of libesd (NB#86876). Volume handling is still an open issue.
6799 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6802 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6804 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6805 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6806 derived class to ease placement of an entry widget in
6807 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6808 end, where the selector columns are packed now.
6810 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6812 * src/hildon-picker-button.c: Removed the simple _text() API.
6813 * src/hildon-picker-button.h: Likewise.
6815 * src/hildon-touch-selector.h:
6816 * src/hildon-touch-selector.c:
6817 (hildon_touch_selector_new_text),
6818 (hildon_touch_selector_append_text),
6819 (hildon_touch_selector_prepend_text),
6820 (hildon_touch_selector_insert_text):
6822 Moved the simple _text() API from HildonPickerButton to
6823 HildonTouchPicker, to provide better escalability and not to tie
6824 that API to HildonPickerButton.
6826 * examples/hildon-picker-button-example.c: (main): Example updated.
6828 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6830 * src/hildon-button.c: Updated documentation.
6832 * examples/hildon-button-example.c: Add the posibility to create
6833 the buttons using horizontal layout for title and value.
6835 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6837 * src/hildon-app-menu-private.h
6838 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6839 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6840 GtkSizeGroup for the filters, use the 'homogeneous' property of
6843 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6845 * examples/hildon-button-example.c: Updated example.
6847 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6849 * doc/hildon-docs.sgml:
6852 Update documentation.
6854 * examples/Makefile.am: Update renamed examples.
6856 * examples/hildon-picker-button-multicolumn-example.c:
6857 (create_touch_selector), (main): Update after the rename.
6859 * examples/hildon-touch-picker-example.c: Removed.
6860 * examples/hildon-touch-selector-example.c: (value_changed),
6861 (create_selector), (get_visible_content), (main): Renamed from
6862 hildon-touch-picker-example.c
6864 * src/Makefile.am: Updated renamed files.
6866 * src/hildon-date-button.c: (hildon_date_button_init),
6867 (hildon_date_button_get_date), (hildon_date_button_set_date):
6868 * src/hildon-date-selector.c: (hildon_date_selector_init),
6869 (_custom_print_func), (_update_day_model),
6870 (_manage_selector_change_cb),
6871 (hildon_date_selector_select_current_date),
6872 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6873 * src/hildon-date-selector.h:
6874 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6875 (hildon_picker_button_set_property),
6876 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6877 (hildon_picker_button_init), (hildon_picker_button_new_text),
6878 (hildon_picker_button_append_text),
6879 (hildon_picker_button_prepend_text),
6880 (hildon_picker_button_insert_text),
6881 (hildon_picker_button_set_selector),
6882 (hildon_picker_button_get_selector):
6883 * src/hildon-picker-button.h:
6884 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6885 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6886 (_update_title_on_selector_changed_cb), (requires_done_button),
6887 (_hildon_picker_dialog_set_selector),
6888 (hildon_picker_dialog_set_selector),
6889 (hildon_picker_dialog_get_selector):
6890 * src/hildon-picker-dialog.h:
6891 * src/hildon-time-button.c: (hildon_time_button_init),
6892 (hildon_time_button_get_time), (hildon_time_button_set_time):
6893 * src/hildon-time-selector.c: (hildon_time_selector_init),
6894 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6895 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6896 * src/hildon-time-selector.h:
6899 Massive code updates after the rename.
6901 * src/hildon-touch-picker.c: Removed.
6902 * src/hildon-touch-picker.h: Removed.
6904 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6905 (hildon_touch_selector_init), (hildon_touch_selector_map),
6906 (hildon_touch_selector_remove), (_default_print_func),
6907 (_selection_changed_cb), (_create_new_column),
6908 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6909 (hildon_touch_selector_append_text_column),
6910 (hildon_touch_selector_remove_column),
6911 (hildon_touch_selector_set_column_attributes),
6912 (hildon_touch_selector_insert_column),
6913 (hildon_touch_selector_get_num_columns),
6914 (hildon_touch_selector_get_column_selection_mode),
6915 (hildon_touch_selector_set_column_selection_mode),
6916 (hildon_touch_selector_set_print_func),
6917 (hildon_touch_selector_get_print_func),
6918 (hildon_touch_selector_get_active_iter),
6919 (hildon_touch_selector_set_active_iter),
6920 (hildon_touch_selector_get_selected_rows),
6921 (hildon_touch_selector_get_model),
6922 (hildon_touch_selector_set_model),
6923 (hildon_touch_selector_get_current_text),
6924 (_hildon_touch_selector_center_on_selected_items):
6925 * src/hildon-touch-selector.h: Renamed from
6926 hildon-touch-picker.[ch]
6928 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6929 references, code examples, and related documentation.
6931 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6933 * doc/hildon-docs.sgml
6936 * src/hildon-toggle-button.c
6937 * src/hildon-toggle-button.h
6938 * src/hildon.h: New HildonToggleButton widget.
6940 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-button.c: Add API documentation.
6943 (hildon_button_set_size_groups): Check input parameters
6945 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6947 * src/hildon-pannable-area.c
6948 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6949 effect after reaching the movement thredshold. This way we start
6950 using the distance after passing the thredshold.
6952 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6954 * src/hildon-button.c: (hildon_button_set_property): Use the
6955 appropriate g_value_get_flags() method.
6957 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6959 * doc/hildon-docs.sgml:
6962 Add the touch pickers, picker dialogs, and picker button widgets
6963 to the documentation.
6965 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6967 * src/hildon-button.c: (hildon_button_set_property),
6968 (hildon_button_class_init): Make "arrangement-flags" a proper
6969 G_TYPE_FLAGS derived property.
6971 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6973 * examples/Makefile.am: Add below examples.
6974 * examples/hildon-date-button-example.c:
6975 * examples/hildon-picker-button-example.c:
6976 * examples/hildon-picker-button-multicolumn-example.c:
6977 * examples/hildon-time-button-example.c:
6978 * examples/hildon-touch-picker-example.c:
6980 Add examples for the recently added touch pickers,
6981 picker dialogs, and picker button widgets.
6983 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6985 * src/hildon-button.c: Add some API documentation
6987 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6989 * src/hildon-button.h
6990 * src/hildon-button.c
6992 (hildon_button_new_with_text): New constructor to create a button
6993 with no text at all.
6994 (hildon_button_init, hildon_button_set_arrangement)
6995 (hildon_button_set_title, hildon_button_set_value)
6996 (hildon_button_set_text)
6997 (hildon_button_construct_child): Hide the value when it's not used
6998 so the rest of the text is properly aligned.
6999 Allow creating buttons with arbitrary widgets inside (not just
7000 title/value labels).
7002 * examples/hildon-button-example.c (vertical_buttons_window)
7003 (horizontal_buttons_window): Update example to use new API.
7005 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/Makefile.am: Added HildonTimeButton.
7008 * src/hildon-time-button.c: Added missing LGPL header.
7009 * src/hildon-time-button.h: Added missing LGPL header.
7010 * src/hildon.h: Add hildon-time-button.h
7012 Copied HildonTimeButton from sandbox to trunk. Future work on this
7013 widget must take place in trunk.
7015 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7017 * src/Makefile.am: Added HildonDateButton.
7018 * src/hildon-date-button.c: Update includes.
7019 * src/hildon.h: Add hildon-date-button.h
7021 Copied HildonDateButton from sandbox to trunk. Future work on this
7022 widget must take place in trunk.
7024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7026 * src/Makefile.am: Added HildonPickerButton.
7027 * src/hildon-picker-button.h: Update includes.
7028 * src/hildon.h: Add hildon-picker-button.h
7030 Copied HildonPickerButton from sandbox to trunk. Future work on
7031 this widget must take place in trunk.
7033 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7035 * src/Makefile.am: Added HildonPickerDialog.
7036 * src/hildon-picker-dialog.c: Update includes.
7037 * src/hildon.h: Add hildon-picker-dialog.h
7039 Copied HildonPickerDialog from sandbox to trunk. Future work
7040 on this widget must take place in trunk.
7042 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7044 * src/Makefile.am: Added HildonTimeSelector.
7045 * src/hildon.h: Add hildon-time-selector.h
7047 Copied HildonTimeSelector widget from sandbox to trunk. Future
7048 work on this widget must happen in trunk.
7050 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7052 * src/Makefile.am: Added HildonDateSelector.
7053 * src/hildon.h: Add hildon-date-selector.h
7055 Copied HildonDateSelector widget from sandbox to trunk. Future
7056 work on this widget must happen in trunk.
7058 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7060 * src/Makefile.am: Added HildonTouchPicker.
7061 * src/hildon-touch-picker.c: Update includes.
7062 * src/hildon.h: Add hildon-touch-picker.h
7064 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7065 on this widget must happen in trunk.
7067 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7069 * src/hildon-pannable-area.c:
7070 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7072 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7074 * examples/hildon-app-menu-example.c (main): Let the window
7077 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7079 * src/hildon-pannable-area.c
7080 (hildon_pannable_area_class_init): Set the min value of the
7081 overshoot properties to zero, which points out that not
7082 overshooting allowed.
7084 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7086 Modified the procedure to get the widget at a point inside the
7087 pannable area when using the movement type signals. Now the user
7088 has to call a function to get the child, that way we just
7089 calculate the child in case the user really want to use it and not
7092 * src/hildon-marshalers.list: Modified the marshallers, now we do
7093 not have the widget as a parameter.
7095 * src/hildon-pannable-area.c
7096 (hildon_pannable_area_motion_notify_cb),
7097 (hildon_pannable_area_class_init),
7098 (hildon_pannable_get_child_widget_at): Removed the widget
7099 parameter from the signal callback. We have also refactored the
7100 emission of the signals.
7102 * src/hildon-pannable-area.h: Added a new method to the API to
7103 calculate a widget at a point inside the pannable area,
7104 hildon_pannable_get_child_widget_at.
7106 * examples/hildon-pannable-area-example-4.c
7107 (horizontal_movement): Modified the example to use the new API,
7108 added condition to control which widget is under the event. This
7109 way we can avoid scrolling laterally over other widgets.
7111 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7113 * src/hildon-pannable-area.c
7114 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7115 modes, we stop getting the pointer events due to returning the
7116 callback without properly calling the get pointer again. Fixed
7117 also an error using the hscroll and vscroll.
7119 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-app-menu-private.h
7122 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7123 (hildon_app_menu_button_release, hildon_app_menu_init)
7124 (hildon_app_menu_class_init): Don't hide the menu on button
7125 release if the user didn't press outside first.
7127 * src/hildon-window.h
7128 * src/hildon-window.c (hildon_window_toggle_menu)
7129 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7130 hildon_window_toggle_menu a virtual function for the stackable
7131 window to override it.
7133 * src/hildon-stackable-window.h
7134 * src/hildon-stackable-window-private.h
7135 * src/hildon-stackable-window.c
7136 (hildon_stackable_window_realize)
7137 (hildon_stackable_window_finalize)
7138 (hildon_stackable_window_class_init)
7139 (hildon_stackable_window_init)
7140 (hildon_stackable_window_set_main_menu): New function to set the
7141 app menu of a HildonStackableWindow.
7143 * examples/hildon-app-menu-example.c: Remove the button to show
7144 the app menu, now it'll be shown when clicking on the title bar
7147 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7149 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7150 set the widget name if the arrangement flags do not specify
7153 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7155 * src/hildon-button.c: (hildon_button_set_property),
7156 (hildon_button_class_init), (hildon_button_new_full),
7157 (hildon_button_set_arrangement): Added "arrangement-flags"
7160 Make the HildonButtonFlags a construction-only property, to allow
7161 subclasses to set them properly.
7163 2008-07-21 Tim Janik <timj@imendio.com>
7165 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7166 insertion position after backspace, so additional digits are appended,
7169 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7171 * src/hildon-pannable-area.c,
7172 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7173 TODO list, it was complete and removed the g_debug and g_print
7176 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7178 Added the movement modes to the hildon-pannable-area, with this
7179 modes the developers can control in which directions the widget
7180 can scroll. They can also connect to signals in order to do
7181 something when that happens, allowing applications scroll. There
7182 is an example uploaded showing how to use it.
7184 * examples/Makefile.am:
7185 * examples/hildon-pannable-area-example-4.c: Added this example of
7186 an application using the modes.
7188 * src/hildon-marshalers.list: Added a new marshaller for the new
7191 * src/hildon-pannable-area.h: Added new enumerations and flags in
7192 order to control the movement modes and the new signals to warn
7193 about the movements in the area.
7195 * src/hildon-pannable-area.c:
7196 (hildon_pannable_axis_scroll),
7197 (hildon_pannable_area_scroll),
7198 (hildon_pannable_area_motion_notify_cb),
7199 (hildon_pannable_area_get_property),
7200 (hildon_pannable_area_set_property),
7201 (hildon_pannable_area_map),
7202 (hildon_pannable_area_class_init),
7203 (hildon_pannable_area_init),
7204 (hildon_pannable_area_jump_to): Added the modes to control the
7205 movement in the widget. We have added properties to control it,
7206 signals to warn about the movements and refactored some code.
7208 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7210 Changes required in order to allow vfast_factor set to zero to
7213 * src/hildon-pannable-area.c:
7214 (hildon_pannable_area_button_press_cb): Changed the condition, it
7215 is required for not allowing click when vfast_factor is zero.
7216 (hildon_pannable_area_timeout): Initialized velocity variables
7217 when we stop moving, it was less than 1 but not zero and we need
7218 to check zero in some situations.
7219 (hildon_pannable_area_class_init): Changed the default value of
7220 the speed factor, now the button_press is just sent in case the
7221 speed is 2 per cent of the max speed.
7222 (hildon_pannable_area_init): Initialization with 0.
7224 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7226 * src/hildon-pannable-area.c,
7227 (hildon_pannable_area_get_topmost): replaced
7228 gdk_window_get_children with gdk_window_peek_children, this way we
7229 do not have to free the list because it is not a copy.
7231 (hildon_pannable_axis_scroll),
7232 (hildon_pannable_area_scroll),
7233 (hildon_pannable_area_timeout),
7234 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7235 two parameters that were only used inside the
7236 hildon_pannable_area_scroll function.
7238 * examples/hildon-pannable-area-example.c,
7239 (get_sawtooth_label): Fixed small memory leak.
7241 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7243 More checks for the case where the overshoot is bigger than the
7246 * src/hildon-pannable-area.c:
7247 (hildon_pannable_draw_vscroll),
7248 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7249 to draw the slider of the scrollbar under the other scrollbar.
7250 (hildon_pannable_area_expose_event): added new checks to control
7251 the drawing of the overshooting area rectangle, in case it is too
7252 big for the area of the widget.
7253 (hildon_pannable_area_size_allocate): add more checks to avoid
7254 setting a position to the child widget outside the area.
7256 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7258 * src/hildon-pannable-area.c
7259 (hildon_pannable_area_size_allocate): Added conditions to control
7260 when overshooting is bigger than the allocated space for the
7261 children, this avoids negative allocations.
7263 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7265 * doc/hildon-docs.sgml
7267 * examples/Makefile.am
7268 * examples/hildon-button-example.c
7270 * src/hildon-button.c
7271 * src/hildon-button.h
7272 * src/hildon.h: Initial version of the new HildonButton widget,
7275 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7277 * src/hildon-pannable-area.c:
7278 (hildon_pannable_area_button_press_cb),
7279 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7280 (hildon_pannable_area_motion_notify_cb),
7281 (hildon_pannable_area_button_release_cb),
7282 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7283 (hildon_pannable_area_jump_to_child):
7285 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7287 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7289 * examples/Makefile.am
7290 * examples/hildon-pannable-area-touch-grid-example.c
7291 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7292 the Hildon Touch List and Hildon Touch Grid using the
7293 HildonPannableArea widget.
7295 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7297 * src/hildon-pannable-area.c,
7298 (hildon_pannable_area_button_press_cb),
7299 (hildon_pannable_area_refresh),
7300 (hildon_pannable_area_scroll),
7301 (hildon_pannable_area_motion_notify_cb),
7302 (hildon_pannable_area_button_release_cb),
7303 (hildon_pannable_area_expose_event),
7304 (hildon_pannable_area_add),
7305 (hildon_pannable_area_remove),
7306 (hildon_pannable_area_realize),
7307 (hildon_pannable_area_size_allocate),
7308 (hildon_pannable_area_class_init),
7309 (hildon_pannable_area_init),
7310 (hildon_pannable_area_scroll_to_child),
7311 (hildon_pannable_area_jump_to_child): Fixed the problem of
7312 removing the child from the GtkBin, we have rearranged the widget
7313 hierarchy, now there is no GtkAlignment which was not doing
7314 anything interesting but breaking some of the assumptions of
7315 GtkContainer. Now developers if they want to add a GtkAlignment
7316 they could, but it is not inside the area.
7318 We had to review the whole allocation/expose process, now it is
7319 improved and we save at least three signals which would be saving
7320 some time when rendering the widget. The allocation of the
7321 scrollbars is now made in the allocate method as usual.
7323 We have also added some conditions in order to control when there
7324 is no child of the pannable area. Maybe we will need more work
7327 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7329 * src/hildon-pannable-area.c,
7330 (hildon_pannable_area_dispose): Released the fade-out timeout when
7331 disposing the widget.
7333 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7335 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7336 zero, we are going to use that property in order to deactivate the
7338 (hildon_pannable_axis_scroll),
7339 (hildon_pannable_area_size_allocate): Added conditions to control
7340 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7341 call, now it is called in all situations and we can remove calls
7342 in the allocate method.
7343 (hildon_pannable_area_map): Control the situation when
7344 overshoot_max is zero, we do not need the timeout.
7345 (hildon_pannable_area_class_init): Added documentation in order to
7346 point out that setting zero to overshoot_max means deactivate
7349 NOTE: removed trailing whitespaces from my previous comments of
7352 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7354 * src/hildon-pannable-area.c
7355 (hildon_pannable_area_get_property),
7356 (hildon_pannable_area_set_property),
7357 (hildon_pannable_area_map),
7358 (hildon_pannable_area_class_init),
7359 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7360 to cause the widget give a hint about its panning abilities upon
7363 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7365 * src/hildon-pannable-area.c: Several documentation improvements.
7367 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7369 * src/hildon-program.c
7370 * src/hildon-stackable-window.c: Update documentation.
7372 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7374 * src/hildon-stackable-window.c (get_previous_window_if_last):
7375 Renamed get_last_window()
7376 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7377 (hildon_stackable_window_unset_program):
7379 (get_previous_window_if_last):
7380 Detect if the window hasn't been added to a HildonProgram.
7382 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7384 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7386 * src/hildon-pannable-area.c
7387 (hildon_pannable_area_button_press_cb),
7388 (hildon_pannable_axis_scroll),
7389 (hildon_pannable_area_scroll),
7390 (hildon_pannable_area_timeout),
7391 (hildon_pannable_calculate_vel_factor),
7392 (hildon_pannable_area_get_property),
7393 (hildon_pannable_area_set_property),
7394 (hildon_pannable_area_class_init),
7395 (hildon_pannable_area_init),
7396 (hildon_pannable_area_scroll_to),
7397 (hildon_pannable_area_jump_to),
7398 (hildon_pannable_area_scroll_to_child),
7399 (hildon_pannable_area_jump_to_child):
7400 * src/hildon-pannable-area.h: Added the new API functions:
7401 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7402 hildon_pannable_area_scroll_to_child,
7403 hildon_pannable_area_jump_to_child
7406 * examples/Makefile.am
7407 * examples/hildon-pannable-area-example-2.c
7408 * examples/hildon-pannable-area-example-3.c: Added these two new
7409 examples in order to test and show how the new APIs work.
7411 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7413 * examples/hildon-stackable-window-example.c (new_window):
7414 * src/Makefile.am (noinst_HEADERS):
7415 * src/hildon-program.c (hildon_program_go_to_root_window):
7416 * src/hildon-program.h:
7417 * src/hildon-stackable-window-private.h:
7418 * src/hildon-stackable-window.c:
7419 * src/hildon-stackable-window.h:
7420 Create hildon-stackable-window-private.h
7421 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7423 * examples/hildon-app-menu-example.c (create_menu):
7424 * examples/hildon-hvolumebar-insensitive-example.c (main):
7425 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7426 * examples/hildon-toolbar-seekbar-example.c (main):
7427 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7428 * src/hildon-banner.c (hildon_banner_set_property):
7429 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7430 Fix compilation warnings
7432 * src/hildon-window.c:
7435 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7437 * src/hildon-stackable-window.c
7438 (hildon_stackable_window_unset_program):
7439 Calculate correctly whether to show the previous window if the
7440 last one is removed from the stack.
7441 (hildon_stackable_window_go_to_root_window):
7442 Send delete events starting from the topmost window.
7443 Stop if one of the windows is not destroyed.
7445 (hildon_stackable_window_delete_event)
7446 (hildon_stackable_window_class_init):
7447 Ignore the delete event if the window is not the topmost one.
7449 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7451 * src/hildon-pannable-area.c
7452 (hildon_pannable_area_expose_event): Fixed a problem when
7453 selecting the background color of the scrollbars.
7455 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7457 * examples/hildon-stackable-window-example.c
7458 * src/hildon-stackable-window.c
7459 * src/hildon-stackable-window.h
7460 hildon_stackable_window_go_home() renamed to
7461 hildon_stackable_window_go_to_root_window()
7462 Send delete events to windows rather than closing them with
7463 gtk_widget_destroy()
7465 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7467 * src/hildon-pannable-area.c
7468 (hildon_pannable_area_button_release_cb): Fix overshooting in
7471 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7473 * src/hildon-pannable-area.c
7474 (hildon_pannable_area_init): Initially show the scroll indicators.
7475 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7477 Add initial effect showing the widget is pannable.
7479 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7481 * src/hildon-pannable-area.c
7482 (hildon_pannable_area_class_init)
7483 (hildon_pannable_area_set_property)
7484 (hildon_pannable_area_get_property)
7485 (hildon_pannable_area_button_press_cb):
7486 New 'velocity_fast_factor' property to decide which velocity is
7489 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7491 * src/hildon-pannable-area.c
7492 (hildon_pannable_draw_hscroll)
7493 (hildon_pannable_draw_vscroll):
7494 Use float variables to calculate the size of the scrollbars to
7495 avoid error propagation and resizing during scrolling.
7497 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7499 * src/hildon-pannable-area.c
7500 (hildon_pannable_draw_vscroll)
7501 (hildon_pannable_draw_hscroll):
7502 Define a minimum size for the scroll bars
7504 * src/hildon-stackable-window.c
7505 (hildon_stackable_window_go_home): Fix compilation warning
7506 (get_last_window): Minor optimizations
7507 (hildon_stackable_window_class_init): Fix initialization of
7510 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7512 * src/hildon-stackable-window.c: Fixed typos in doc
7514 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7516 * src/hildon-pannable-area.c
7517 (hildon_pannable_area_scroll):
7518 Calculate here whether we need to scroll instead of using the booleans
7519 that tell us whether to /draw/ the scrolling bars.
7521 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7523 * src/hildon-app-menu.h
7525 * src/hildon-app-menu.c
7526 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7527 multiple filter groups related code and API. Now we support only
7529 * examples/hildon-app-menu-example.c:
7531 Update to reflect API changes.
7533 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7535 * src/hildon-stackable-window.c
7536 (hildon_stackable_window_class_init):
7537 Add hildon_stackable_window_realize.
7538 (hildon_stackable_window_realize):
7539 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7540 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7541 to apply theming and behavior specific to HildonStackableWindow
7544 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7546 * src/hildon-note.c (hildon_note_button_release):
7547 Close information notes also when tapping on them
7549 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7551 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7552 ELASTICITY, refactor and review, fix some issues with drawing
7555 * src/hildon-pannable-area.c:
7556 (hildon_pannable_area_button_press_cb): removed the conditions to
7557 avoid clicks when overshooting. It is not required
7559 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7560 define. Refatored and reviewed the code, now we do not need to
7561 manage velocity in motion_notify.
7563 (hildon_pannable_area_motion_notify_cb): We have moved the code
7564 that controls the area_scroll to the axis_scroll function and get
7565 rid of duplicated code.
7567 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7569 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7571 (hildon_pannable_draw_vscroll),
7572 (hildon_pannable_draw_hscroll): Fixed the problems with the
7573 scrollbar drawing, now we do not use two surfaces, it is easier
7574 and saves resources.
7576 (hildon_pannable_area_get_property): Style modification.
7578 (hildon_pannable_area_class_init): Changed some default values.
7580 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7582 * src/hildon-stackable-window.c: Fix some typos in the
7585 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7587 * src/hildon-dialog.c:
7588 Change indentation style
7591 (hildon_note_button_release):
7592 Use root coordinates to check if the release event happened
7595 * src/hildon-app-menu.c
7596 (hildon_app_menu_button_release):
7597 Remove unnecessary check
7599 * examples/hildon-app-menu-example.c
7601 Add cast to fix warning
7603 * src/hildon-app-menu.c
7604 (hildon_app_menu_class_init):
7605 New inner-border style property.
7606 Set all default spacings to 16
7607 (hildon_app_menu_init):
7608 Use vertical-spacing to set the space between filter buttons and
7609 regular menu buttons.
7610 Set the default container border using the inner-border value.
7612 * examples/hildon-app-menu-example.c
7614 Don't set the menu border explicitly, now we have the inner-border
7615 style property for that.
7617 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7619 * src/hildon-app-menu.c (hildon_app_menu_init):
7620 Make the window modal
7622 * src/hildon-note.c (hildon_note_map)
7623 * src/hildon-app-menu.c (hildon_app_menu_map):
7624 Destroy the grab window if we're unable to grab the pointer
7626 * src/hildon-app-menu-private.h
7627 * src/hildon-app-menu.c
7628 (hildon_app_menu_init, hildon_app_menu_finalize)
7629 (hildon_app_menu_map, hildon_app_menu_unmap)
7630 (hildon_app_menu_button_release)
7631 (grab_transfer_window_get):
7632 Bring back the grab window
7633 (hildon_app_menu_realize):
7634 Decorate the window, set WM hint for Matchbox
7636 * src/hildon-note.c (hildon_note_realize):
7637 * src/hildon-banner.c (hildon_banner_realize):
7638 Add WM hints for Matchbox
7640 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7642 * src/hildon-app-menu-private.h
7643 * src/hildon-app-menu.c
7644 (hildon_app_menu_init, hildon_app_menu_finalize)
7645 (hildon_app_menu_map, hildon_app_menu_unmap)
7646 (hildon_app_menu_button_release):
7647 Remove the grab window, it's not needed anymore
7649 * src/hildon-program.c
7650 Fixed typo in documentation
7652 * src/hildon-app-menu.h
7653 * src/hildon-app-menu.c
7654 * examples/hildon-app-menu-example.c
7655 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7657 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7660 Added new transfer_window and close_if_pressed_outside private
7662 (hildon_note_rebuild):
7663 Don't add a cancel button to the information note. It will be
7664 closed when tapping outside
7665 Remove the comment about the OK button in the documentation
7666 (hildon_note_realize):
7667 Set the notification type hint
7668 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7669 Grab/ungrab pointer and keyboard if the note has to be closed when
7671 (hildon_note_button_release):
7672 Close the note when tapping outside (if applicable)
7674 * src/hildon-app-menu.c
7675 Grab/ungrab pointer and keyboard on map/unmap
7676 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7677 Close the menu on button release, not button press
7679 * src/hildon-banner.c
7680 (hildon_banner_set_property)
7681 (hildon_banner_check_position):
7682 Make the banner use the full width of the screen
7683 (hildon_banner_show_information)
7684 (hildon_banner_show_information_with_markup):
7685 Don't display an icon by default
7687 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7689 Added fading scrollbars and adapted all the overshooting code to
7690 horizontal scrolling. We have also fixed bugs with overshooting
7691 and current fading implementation.
7693 * src/hildon-pannable-area.c
7694 (hildon_pannable_area_scroll_indicator_fade): Time out function
7695 used to change the transparency of the scrollbars.
7697 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7698 control and fixed a problem with fading, we now remove the fade
7699 timeout before adding a new one.
7701 (hildon_pannable_axis_scroll):
7702 (hildon_pannable_area_scroll):
7703 (hildon_pannable_area_timeout): Added this functions so we can use
7704 the scroll code both for vertical and horizontal.
7706 (hildon_pannable_area_motion_notify_cb):
7707 (hildon_pannable_area_button_release_cb): Added the horizontal
7708 scrolling control, fixed a problem with the overshooting timeout.
7710 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7711 painting of the scrolls.
7713 (hildon_pannable_draw_vscroll):
7714 (hildon_pannable_draw_hscroll):
7715 (hildon_pannable_area_expose_event):
7716 Draw both scrollbars and rectangles in the overshooting area.
7718 (hildon_pannable_area_get_property):
7719 (hildon_pannable_area_set_property):
7720 Modified the overshoot property to overshoot_max
7722 (hildon_pannable_area_map):
7723 Replaced the comments symbols.
7725 (hildon_pannable_area_size_allocate):
7726 (hildon_pannable_area_class_init):
7727 (hildon_pannable_area_init): Added horizontal scroll, fading
7728 effect properties, fixed a problem when overshooting in the bottom
7731 * examples/hildon-pannable-area-example.c:
7732 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7733 looks better in the example.
7735 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7737 * src/hildon-window.c
7738 * src/hildon-window.h
7739 (hildon_window_class_init)
7740 (hildon_window_unset_program)
7741 (hildon_window_unset_program_real):
7742 Make unset_program a virtual function
7744 * src/hildon-stackable-window.c
7745 * src/hildon-stackable-window.h
7746 Added hildon_stackable_window_go_home()
7748 * examples/Makefile.am
7749 * examples/hildon-stackable-window-example.c
7750 HildonStackableWindow example
7752 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7754 * hildon-pannable-area.c: Added the overshoot property and removed
7755 the OVERSHOOT define. Fixed an indent style error.
7756 (hildon_pannable_area_motion_notify_cb):
7757 (hildon_pannable_area_get_property):
7758 (hildon_pannable_area_set_property): Add overshoot property.
7760 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7763 (hildon_pannable_area_class_init): Installed the new property.
7765 * hildon-pannable-area-example.c: Added a sawtooth function, this
7766 way it is easier to check the movement in the pannable.
7767 (get_sawtooth_label): Added this function.
7768 (main): Now we get the labels from the new get_sawtooth_label
7771 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-app-menu.h
7774 * src/hildon-app-menu.c
7775 Renamed API variables for consistency
7777 (hildon_app_menu_popup): Use also the default window size to
7778 decide where to place the menu
7780 (hildon_app_menu_init, hildon_app_menu_class_init): New
7781 external-border style property
7783 2008-05-26 Michael Natterer <mitch@imendio.com>
7785 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7786 widget_class->tap_and_hold_setup signal slot doesn't exist any
7787 longer, stop overriding it.
7789 (hildon_time_editor_init): g_signal_connect() to the
7790 tap-and-hold-setup signal instead.
7792 (hildon_time_editor_entry_keypress): add cast to fix warning.
7794 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7796 * doc/hildon-docs.sgml
7798 * examples/Makefile.am
7799 * examples/hildon-app-menu-example.c
7801 * src/hildon-app-menu-private.h
7802 * src/hildon-app-menu.c
7803 * src/hildon-app-menu.h
7805 New HildonAppMenu widget
7807 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7809 Rearranged the inheritance of the pannable area, now it inherits
7810 from GtkBin. This will allow us to control the event_window and
7811 the allocation process of the widget, required for some effects.
7813 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7814 GtkBin structures. * src/hildon-pannable-area.c: Added the
7815 event_window variable.
7816 (hildon_pannable_area_button_press_cb):
7817 (hildon_pannable_area_button_release_cb):
7818 (hildon_pannable_area_motion_notify_cb):
7819 Changed the signature of the method, now we override the event
7820 callback instead of connecting to the signal.
7822 (hildon_pannable_area_realize):
7823 (hildon_pannable_area_unrealize):
7824 (hildon_pannable_area_map):
7825 (hildon_pannable_area_unmap):
7826 (hildon_pannable_area_size_allocate):
7827 Added functions to control the widget construction. We add a
7828 INPUT_ONLY window and we put it over the widgets inside the
7829 container, this event_window handles the events.
7831 (hildon_pannable_area_class_init):
7832 Replaced the signal connections with overrides of the event
7835 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7837 Bouncing effect added when touching the borders, you can change
7838 the elasticity of the border changing the ELASTICITY define.
7840 * src/hildon-pannable-area.c: Added ELASTICITY define.
7841 (hildon_pannable_area_timeout): Added inverse velocity when
7842 touching the border of the child widget, that causes a bounce.
7844 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7846 Improved performance, we now do not go to the X server in order to
7847 get the list of window children. Apparently the effect is the
7848 same, we have to be careful and check if this breaks something in
7851 * src/hildon-pannable-area.c:
7852 (get_ordered_children): Removed this function.
7853 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7854 the children windows function with gdk_window_get_children.
7856 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7858 * src/hildon-pannable-area.c:
7859 (hildon_pannable_area_dispose): Fixed a crash when closing the
7860 window and kinetics is activated.
7862 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7864 * src/hildon-pannable-area.h
7865 * src/hildon-pannable-area.c
7866 Changed indentation style to meet the one used in Hildon
7868 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7870 Reviewed the interaction of the AUTO mode, now we use the time
7871 attribute of the events and calculate the velocity in the motion,
7872 doing a gimp like calculation. The velocity is calculated in each
7873 motion event using the last velocity and the current one, the
7874 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7876 * src/hildon-pannable-area.c: Replaced the time based algorithm
7878 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7879 timeout for the AUTO mode when we are still moving the cursor. We
7880 added also the velocity calculation in this function.
7881 (hildon_pannable_area_button_release_cb): launch the timeout in
7882 case we are in AUTO mode. There are still some constants here that
7883 come from the old implementation that should be reviewed and
7886 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7888 * doc/hildon-docs.sgml
7891 * src/hildon-stackable-window.c
7892 * src/hildon-stackable-window.h
7894 New HildonStackableWindow widget
7896 * examples/hildon-dialog-example.c
7897 * examples/hildon-pannable-area-example.c
7900 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7902 * src/hildon-dialog.c
7903 (hildon_dialog_new_with_buttons): New constructor.
7905 * examples/hildon-dialog-example.c
7906 (main): Update the example to use the new
7907 hildon_dialog_new_with_buttons().
7909 * examples/hildon-pannable-area-example.c
7910 (main): Update example.
7912 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7914 * doc/hildon-docs.sgml
7916 Added HildonPannableArea to the documentation.
7918 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7920 * doc/visual_index.xml
7921 Fix reference to HildonLoginDialog in documentation
7923 * doc/hildon-docs.sgml
7925 * examples/Makefile.am
7926 * examples/hildon-dialog-example.c
7928 * src/hildon-dialog.c
7929 * src/hildon-dialog.h
7931 New HildonDialog widget.
7933 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7935 * src/hildon-pannable-area.c
7936 Merge latest changes (r4318, r4342) from libmokoui trunk
7938 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7940 * examples/Makefile.am
7941 * examples/hildon-pannable-area-example.c
7943 * src/hildon-pannable-area.c
7944 * src/hildon-pannable-area.h
7946 New HildonPannableArea widget.
7948 2008-04-15 18:05:19 <timj@imendio.com>
7950 * src/hildon-banner.c: revert the recent change, that introduced
7951 gtk_window_present() calls. this reopens:
7952 Bug 78481 - [freetest] information banners are hidden under browser menu
7953 But resolves another variant of:
7954 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7956 2008-04-15 13:21:13 <timj@imendio.com>
7958 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7959 recreated its layout, spotted by Kris. this fixes all remaining
7960 artefacts and stability issues with the banner code. in particular:
7961 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7963 2008-04-14 16:52:59 <timj@imendio.com>
7965 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7966 operating on unrealized widgets, fixes:
7967 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7969 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7971 2008-04-09 Kristian Rietveld <kris@imendio.com>
7973 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7974 makes banner disappear.
7975 Fixes: NB#79182: info banner flickering with certain message lengts.
7977 * src/hildon-banner.c (hildon_banner_constructor),
7978 (hildon_banner_init), (hildon_banner_set_text),
7979 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7980 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7981 FALSE, reset size requests of label and banner,
7982 (force_to_wrap_truncated): when the text is too wide, always enforce
7983 the maximum possible width instead of recalculating it from the
7984 layout; enforce the maximum banner height of 3 lines,
7985 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7986 nicer wrapping and no truncated chars if space gets tight.
7988 * src/hildon-banner-private.h: add has_been_wrapped and
7989 has_been_truncated fields.
7991 2008-04-07 Sven Herzberg <sven@imendio.com>
7993 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7994 local values in hildon_date_editor_size_allocate
7996 * src/hildon-date-editor.c: moved the real allocation code into the
7999 2008-04-07 Sven Herzberg <sven@imendio.com>
8001 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8002 local values in hildon_date_editor_size_allocate
8004 * src/hildon-date-editor.c: merged the two if() branches together
8006 2008-04-07 Sven Herzberg <sven@imendio.com>
8008 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8009 local values in hildon_date_editor_size_allocate
8011 * src/hildon-date-editor.c: changed the arguments of the if()
8014 2008-04-07 Sven Herzberg <sven@imendio.com>
8016 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8017 local values in hildon_date_editor_size_allocate
8019 * src/hildon-date-editor.c: split the calculation of the allocation
8020 from the real allocation
8022 2008-03-27 Michael Natterer <mitch@imendio.com>
8024 Fixes: NB#81696: The passcode is not overwritten even after
8027 * src/hildon-code-dialog.c
8028 (hildon_code_dialog_button_clicked)
8029 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8030 because that doesn't overwrite selected text. Instead, emit the
8031 "commit" signal on the entry's im_context so the entry's normal
8032 insert logic is triggered. Set the cursor to the end of the entry
8033 after each insert operation so that we *only* insert in the middle
8034 of the text if something was selected.
8036 2008-03-27 Michael Natterer <mitch@imendio.com>
8038 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8039 selector cannot be opened
8041 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8042 when the popup color selector is created. Please connect to this
8043 signal in order to set the dialog's help ID.
8045 2008-03-25 Sven Herzberg <sven@imendio.com>
8047 Fixes: MB#1212: Hide info banners (infoprints) on click
8049 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8050 extracted the close event simulation into an extra function
8051 (hildon_banner_button_press_event): simulate a close event and destroy
8052 the widget if the event wasn't handled
8053 (hildon_banner_class_init): added the button_press_event handler
8054 (hildon_banner_init): added button-press events to the widget
8056 2008-03-25 Sven Herzberg <sven@imendio.com>
8058 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8059 Patch from: Mohammad Anwari <mdamt@maemo.org>
8061 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8062 instead of the right in RTL mode
8063 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8064 breadcrumb button list in RTL mode
8065 * src/hildon-caption.c: mirror the appearance of the caption widget in
8067 * src/hildon-date-editor.c: mirror appearance of the date editor in
8069 * src/hildon-time-editor.c: mirror appearance of the time editor in
8071 * src/hildon-window.c: fix the position of the popup in RTL mode
8073 2008-03-25 Sven Herzberg <sven@imendio.com>
8075 Amendment to the fix of NB#22072. Fix compilation.
8077 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8079 2008-03-19 Sven Herzberg <sven@imendio.com>
8081 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8084 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8085 timeout id properly when the timeout will disappear this leaves no
8086 artifacts around in the destroy(); there will only be the timeout
8087 created by hildon_banner_ensure_timeout() and adding a new timeout
8088 will also work if the timeout gets removed because the timeout_handler
8091 2008-03-19 Michael Natterer <mitch@imendio.com>
8093 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8095 * src/hildon-volumebar.c
8096 * src/hildon-vvolumebar.c
8097 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8098 the widget becomes focussable at all.
8100 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8101 set the focus to wither the mute button or the volumebar.
8103 Remove own "can-focus" property and instead listen to
8104 notify::can-focus in order to update the widget's state.
8106 Implement GtkWidget::focus() and make sure we can also *leave* the
8107 widget, not only enter it, depending on volumebar orientation and
8108 requested focus direction.
8110 Clean up set_mute() to cooperate nicely with all the above.
8112 2008-03-04 Michael Natterer <mitch@imendio.com>
8114 Fixes: NB#78481: information banners are hidden under browser menu
8116 * src/hildon-banner.c: call gtk_window_present() on the banners so
8117 they are risen if they are already visible.
8119 2008-03-03 Sven Herzberg <sven@imendio.com>
8121 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8123 * examples/hildon-window-menu-example.c: (main): extended the window
8124 menu example to serve as a testcase for automatically added
8125 accelerator groups, too
8126 * src/hildon-window.c: (hildon_window_add_accel_group),
8127 (hildon_window_set_menu): added patch by Tommi Komulainen
8129 2008-03-03 Sven Herzberg <sven@imendio.com>
8131 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8133 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8134 knowledge about the border allocators used within GTK+
8136 2008-02-26 Sven Herzberg <sven@imendio.com>
8138 Fixes: MB#2981: Build with asserts broken
8140 * src/hildon-date-editor.c,
8141 * src/hildon-number-editor.c,
8142 * src/hildon-time-editor.c,
8143 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8144 the proper GType instance check
8146 2008-02-25 Sven Herzberg <sven@imendio.com>
8148 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8150 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8151 * examples/hildon-window-menu-example.c: (main): explicitly show
8153 * src/hildon-window.c:
8154 (hildon_window_set_main_menu): moved most of the code from set_menu()
8155 to this place; skipped the call to gtk_widget_show_all(); also didn't
8156 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8157 (hildon_window_set_menu): removed most of the code, just keep the
8158 questionable gtk_widget_show_all()
8159 * src/hildon-window.h: added the new function and deprecate the old
8162 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8168 * debian/changelog: Updating.
8170 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8173 * pkgconfig/Makefile.am:
8174 * pkgconfig/hildon.pc.in:
8177 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8178 use newly created API_MAJOR_VERSION.
8180 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8186 * debian/changelog: Updating.
8188 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8190 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8192 Add outer_border style property, we use it but don't define it (!).
8196 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8198 * examples/hildon-bread-crumb-trail-example.c (main):
8202 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8204 Fix logic for the bread crumb trail node removal.
8208 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * debian/changelog: Updating.
8216 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 Patch by Alejandro to get/set passwords dialogs accesibility.
8220 * hildon-1/src/hildon-get-password-dialog.c:
8221 * hildon-1/src/hildon-set-password-dialog.c:
8222 Set atk_set_name to the passwd entries in order to allow
8223 accessibility by name on this entries.
8225 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * debian/control: Updating gtk dep.
8232 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8234 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8235 USE_MAEMO_GTK is enabled.
8237 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8239 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8240 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8242 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * debian/changelog: Updating.
8250 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * examples/Makefile.am:
8253 * examples/hildon-logical-color-example.c:
8254 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8255 applied + adding a test case. Fixes: NB#71660.
8257 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8259 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8260 to be visible, fixes warning on map for windows without toolbars.
8262 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8264 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8265 2.11.0, add a check for that besides the MAEMO_GTK check.
8267 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8273 * debian/changelog: Updating.
8275 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8278 visibility. Fixes: NB#70842 and MB#615.
8280 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8282 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8283 set the separator as no-show-all so it doesn't unintentionally appear when
8284 someone does a show_all.
8286 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8288 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8289 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8290 toplevel item. Fixes: NB#62031
8292 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8294 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8295 fix the name of the function in the docs.
8297 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * debian/changelog: Updating.
8305 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * examples/hildon-banner-long-example.c: Adding a test-case for long
8310 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8312 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8314 * src/hildon-color-chooser-dialog.c:
8315 * src/hildon-color-chooser.c:
8316 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8317 memory leaks in font selector and color selector. Fixes: NB#70499 and
8320 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8322 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8324 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8326 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8327 little bit bigger. Fixes: #NB63694.
8329 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * debian/changelog: Updating.
8337 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8340 * doc/hildon-docs.sgml:
8341 * doc/images/bread-crumb-trail.png:
8342 * doc/images/calendar-popup.png:
8343 * doc/images/caption.png:
8344 * doc/images/code-dialog.png:
8345 * doc/images/color-button.png:
8346 * doc/images/color-chooser-dialog.png:
8347 * doc/images/color-chooser.png:
8348 * doc/images/controlbar.png:
8349 * doc/images/date-editor.png:
8350 * doc/images/font-selection-dialog.png:
8351 * doc/images/get-password-dialog.png:
8352 * doc/images/hvolumebar.png:
8353 * doc/images/login-dialog.png:
8354 * doc/images/note.png:
8355 * doc/images/number-editor.png:
8356 * doc/images/range-editor.png:
8357 * doc/images/seekbar.png:
8358 * doc/images/set-password-dialog.png:
8359 * doc/images/sort-dialog.png:
8360 * doc/images/time-editor.png:
8361 * doc/images/time-picker.png:
8362 * doc/images/vvolumebar.png:
8363 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8364 Adding the bread-crumb-trial and helpers to the documentation.
8366 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * examples/hildon-find-toolbar-example.c:
8369 * src/hildon-find-toolbar.c:
8370 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8371 actually continue firing the other handlers if connected. Adding a new
8373 hildon_find_toolbar_get_last_index that gets the index of the most
8374 recently added (last) item. Fixes: NB#52301.
8376 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8378 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8379 behaviour. Fixes: NB#68610.
8381 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8386 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8388 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8389 when realizing the banner. Should make the infonbanner effect a bit more
8392 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8394 * src/hildon-volumebar.c:
8395 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8396 hildon_volumebar_set_range_insensitive_message and
8397 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8399 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * src/hildon-window.c: Fixing the border freeing on destroy.
8403 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * src/hildon-code-dialog-private.h:
8406 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8407 kw keyboard support in HildonCodeDialog.
8409 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * debian/changelog: Updating.
8417 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 * src/hildon-date-editor.c:
8420 * src/hildon-number-editor.c:
8421 * src/hildon-private.c:
8422 * src/hildon-private.h:
8423 * src/hildon-time-editor.c:
8424 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8425 handling in subclassed composite widgets. Fixes: NB#66628.
8427 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8430 from destroy_ callback as it introduces problems in async dbus signal
8431 handlers. Fixes NB#66673.
8433 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * examples/hildon-hvolumebar-example.c:
8436 * src/hildon-volumebar.c: Improving the focus handling in the
8437 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8438 set_property accessor so that "mute" property can be actually set. I'm
8439 scared that nobody noticed it's totally broken.
8441 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8446 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * src/hildon-calendar.c:
8449 * src/hildon-number-editor.c:
8450 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8451 matches the spec of 6 chars per second. Fixes: NB#60489.
8453 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8456 gtk_style_lookup_color sometime returns FALSE even though color was
8457 found and values were filled properly. Weird. Removing the warning for the
8460 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8463 expand vertically. Adding some extra space to the find toolbar buttons to
8464 make them thumbable. Fixes NB#66060.
8466 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8469 popup with "Ok" and "Cancel". Fixes NB#59299.
8471 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8473 * src/hildon-calendar.c: Process all window updates before executing next
8474 timeout. Fixes: NB#54146.
8476 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8482 * debian/changelog: Updating.
8484 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8486 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8487 the client event and ignore it, since we use the delete event to close
8490 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * src/hildon-helper.c: Remove the bogus warning about color not being
8493 found. Fixes NB#58352.
8495 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * examples/Makefile.am:
8498 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8499 HildonSeekbar widget inside a toolbar.
8501 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8503 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8504 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8505 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8506 don't want to be closed by non-temporary windows on map.
8508 Also use G_DEFINE_TYPE instead of manually typed code.
8510 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * debian/rules: Updating.
8519 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8521 * examples/Makefile.am:
8522 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8523 bug NB#61128. Strangely it works.
8525 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-date-editor.c: When the date editor entry has been changed
8528 but the numbers of characters < max, turn off the skip validation flag.
8529 Prevents a situation when we enter first a valid year and later re-write
8530 it with an invalid one. Fixes NB#60154.
8532 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8535 code dialog. Fixes NB#64355.
8537 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8540 switching the page. Fixes NB#49374.
8542 * examples/Makefile.am:
8543 * examples/hildon-wizard-dialog-example.c: Adding an example for
8544 HildonWizardDialog that shows how to handle manual sensitivity setting on
8547 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * src/hildon-version.h.in:
8552 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8554 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8556 * src/hildon-volumebar.c: Updating the docs.
8558 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * debian/changelog: Updating.
8566 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-find-toolbar.c:
8569 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8570 selected item: hildon_find_toolbar_set_active,
8571 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8572 hildon_find_toolbar_get_active_iter . They correspond to respective
8573 GtkComboBox functions.
8575 * examples/Makefile.am:
8576 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8579 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * examples/Makefile.am:
8582 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8585 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8586 when font size > 32 and we pack a focusable widget inside. Actually using
8587 the default response would work too, but since we don't show default
8588 response state in any way (no theming) it would not be visible to the
8589 user. Fixes NB#63430.
8591 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8593 * src/hildon-date-editor.c: Adding the missing variable setter in the
8594 set_property handler. Fixes NB#54182.
8596 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * src/hildon-window.h: Changing the long key press time from 1500ms to
8599 800ms as requested in NB#63700. I have a bad feeling about this, let's
8600 see... Fixes NB#63700.
8602 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8604 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8605 hildon_time_picker_map, hildon_time_picker_realize,
8606 hildon_time_picker_style_set): Split the contents of map to more
8607 appropriate functions; set window decorations on realize and update
8608 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8610 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8615 * debian/changelog: Updating.
8617 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8619 * src/Makefile.am: fixed installation of the header files
8621 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * debian/changelog: Updating.
8629 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * configure.ac: Removing some remaining of --enable-xan.
8633 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8636 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8638 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8639 2.10.12-osso6 because the move-focus signal needs to be available in
8642 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * examples/Makefile.am:
8645 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8646 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8647 fine. Prolly NB#61128 is fixed now.
8649 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * src/hildon-volumebar.c:
8652 * src/hildon-volumebar.h: Adding the
8653 hildon_volumebar_set_range_insensitive_message and
8654 hildon_volumebar_set_range_insensitive_messagef functions to set
8655 insensitive message on the slider of the volumebar. Fixes NB#61129.
8657 * examples/Makefile.am:
8658 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8659 test the new insensitive messsage functionality on HildonVolumebar.
8661 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8663 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8666 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8669 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8670 button on after clearing the trail.
8672 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8674 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8676 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8678 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8679 by splitting the installed headers in generated and non-generated groups. Use
8680 only the non-generated headers to create the hildon-enum-types.h file.
8682 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8684 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * src/hildon-window.c: Hide the window before performing the destroy.
8687 Should make the app closing a little tiny bit more snappy.
8689 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8691 * src/hildon-seekbar.c: add gtkrange.h header
8692 * src/hildon-caption.c: remove unused variable
8694 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8696 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8699 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * debian/changelog: Updating.
8707 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8709 * src/hildon-window.c (hildon_window_window_state_event,
8710 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8711 escape timeout on focus-out-event rather than notify::is-topmost; the
8712 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8714 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8717 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8719 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8721 * src/hildon-window: actually, you need to use the macro always, there's
8722 no private pointer in the instance structure. We should have cleaned this up
8723 when we had the chance...
8725 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8727 * src/hildon-window.c: do not get the private date from HildonWindow before
8728 it passes the g_return_if_fail check. Once it's passed the test, there's no
8729 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8730 if you are only going to access the data once. Whitespace cleanups.
8732 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8734 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8735 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8737 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * debian/changelog: Updating.
8745 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-window.c: When destroying the window, remove (if exists) the
8748 escape timeout handler. Fixes #NB59276.
8750 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-banner.c: When realizing the widget, set the window
8753 transiency. Setting the transiency in the gobject constructor is not
8754 good, as the widget is not realized at that point. Fixes: #NB56624.
8756 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8758 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8759 Add padding for future expansions.
8761 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8764 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8765 will fake an activation on the previous to the last item of the trail, so
8766 the effect can be overrided by the developer as usual.
8767 Also change the callback for the back button to do the same thing, so its
8768 effect can be overrided too. Fixes: NB#58982
8770 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8773 HildonCaption. Fixes NB#52379.
8775 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8777 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8778 the internal state of the trail after the user has had the chance of executing
8779 his handler for the signal. Specifically, it may happen that the activated button
8780 is removed and the user still lets the default handler run. This would segfault
8783 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8786 scrollbar to the preview dialog. Fixes NB#54147.
8788 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8791 max/min year properties can be altered, so the client can modify it
8792 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8794 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8797 hildonlike by default. Fixing a problem with disappearing arrows when
8798 scrolling through months and years. Fixes NB#54127.
8800 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * examples/hildon-date-editor-example.c: Adding error callback to the date
8805 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * configure.ac: Updating.
8813 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * configure.ac: Adding a special '--enable-xan' configure option that
8816 turns off the -Werror compilation setting. Usefull for development.
8818 * src/hildon-calendar.c:
8819 * src/hildon-number-editor.c:
8820 * src/hildon-time-picker.c: Adding the 5* multiplier to
8823 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8826 instead of g_object_ref + gtk_object_sink.
8828 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * debian/changelog: Updating.
8836 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8838 * src/hildon-color-chooser-dialog.c:
8839 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8840 straight from Tommi labs.
8842 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * examples/hildon-finger-example.c: Correcting the header file path.
8846 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8847 the changed signal. Fixes a small memory leak.
8849 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-banner.c: Importing several usefull fixes from the
8854 ubuntu-mobile branch.
8856 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * examples/Makefile.am:
8859 * examples/hildon-finger-example.c: Adding a finger-checking code
8862 * src/hildon-font-selection-dialog.c: Do not allocate the color
8863 structure using the g_new. Fixes NB#54061.
8865 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 * src/hildon-helper.c: Correcting tabs in file.
8869 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8871 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8872 control the visibility of the children.
8874 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8876 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * debian/changelog: Updating.
8884 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8886 * src/hildon-bread-crumb-trail.c:
8887 (hildon_bread_crumb_trail_size_allocate):
8889 Make the back button always a square.
8891 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8893 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8894 from the .c file as it's a private file.
8896 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8899 uses slightly bigger height.
8901 * src/hildon-font-selection-dialog.c: Adding some checks before
8902 freeing memory in the font selection dialog.
8904 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * src/hildon-font-selection-dialog.c: Adding a small check when
8909 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8910 buttons sensitivity on page switching.
8912 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8914 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8915 internal details of adding a bread crumb to the trail.
8917 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * debian/changelog: Updating.
8925 * src/hildon-bread-crumb-trail.h:
8926 * src/hildon-bread-crumb.h: Changing the API guard to
8927 HILDON_ENABLE_UNSTABLE_API.
8929 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-helper.h: Updating.
8939 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * src/hildon-helper.h: Small fix to make the package actually compile.
8953 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8955 * src/hildon-bread-crumb-trail.h:
8956 * src/hildon-bread-crumb.h:
8958 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8959 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8961 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8963 * examples/hildon-bread-crumb-trail-example.c:
8965 * src/hildon-bread-crumb-trail.c:
8966 * src/hildon-bread-crumb-trail.h:
8967 * src/hildon-bread-crumb.c:
8968 * src/hildon-bread-crumb.h:
8969 * src/hildon-marshalers.list:
8970 * src/hildon-bread-crumb-widget.c:
8971 * src/hildon-bread-crumb-widget.h:
8973 Slight change in the widget design. The bread crumb trail API is
8974 unchanged, but HildonBreadCrumb is now an interface. A *private*
8975 implementation, hildon-bread-crumb-widget, is provided and used
8976 internally by the trail for the push_text/push_icon functions.
8978 The generic push API is still available, so anyone can implement
8979 and use its own bread crumb widget.
8981 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * debian/rules: Fixing the shlibs.
8985 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 * src/hildon-banner.c: Fixing a problem with timed banners having
8988 their parrent destroyed before they are.
8990 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8992 * src/hildon-bread-crumb.c:
8993 * src/hildon-bread-crumb.h:
8995 Make the get_natural_size function a vfunc.
8997 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8999 * src/hildon-bread-crumb.c:
9000 * src/hildon-bread-crumb-trail.c:
9004 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * debian/changelog: Updating for release.
9013 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9015 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9016 don't leak the pango layout.
9018 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9021 * examples/hildon-bread-crumb-trail-example.c:
9025 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * debian/changelog: Removing the bug-fixed entries that were actually
9028 resolved as WONTFIX.
9030 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9033 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9035 * src/hildon-bread-crumb-trail.c:
9036 * src/hildon-bread-crumb-trail.h:
9037 * src/hildon-bread-crumb.c:
9038 * src/hildon-bread-crumb.h:
9042 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9044 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9045 until it's passed the type check.
9047 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9049 * examples/hildon-bread-crumb-trail-example.c
9053 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9055 * examples/Makefile.am
9056 * examples/hildon-bread-crumb-trail-example.c
9058 * src/hildon-bread-crumb-trail.c
9059 * src/hildon-bread-crumb-trail.h
9060 * src/hildon-bread-crumb.c
9061 * src/hildon-bread-crumb.h
9063 New HildonBreadCrumbTrail widget.
9065 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9067 * src/hildon-range-editor.c (hildon_range_editor_init),
9068 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9069 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9070 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9071 hildon_time_editor_class_init, hildon_time_editor_init),
9072 src/hildon-get-password-dialog.c (invalid_input,
9073 hildon_get_password_set_property, hildon_get_password_get_property,
9074 create_contents, hildon_get_password_dialog_set_max_characters),
9075 src/hildon-set-password-dialog.c (create_contents),
9076 src/hildon-date-editor.c (hildon_date_editor_init),
9077 src/hildon-login-dialog.c (hildon_login_dialog_init),
9078 src/hildon-number-editor.c (hildon_number_editor_init),
9079 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9080 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9081 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9082 configure option and adding the respective checks in the code.
9083 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9084 hildon_calendar_drag_data_received): fixed some build warnings.
9086 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * debian/changelog: A 1.0.0 release notes.