1 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-picker-dialog.c:
4 (selection_completed): take into account HILDON_UI_MODE_NORMAL
5 * hildon/hildon-touch-selector.c
6 (hildon_touch_selector_init): Initialize hildon-ui-mode
7 (hildon_touch_selector_row_activated): new callback for the
8 "row-activated" signal, in order to save the last activated
9 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
10 if the current hildon-ui-mode is coherent with the touch selector
11 (hildon_touch_selector_class_init)
12 (hildon_touch_selector_get_property)
13 (hildon_touch_selector_set_property)
14 Added "hildon-ui-mode" property
15 (disconnect_model_handlers): renamed to clean_column
16 (hildon_touch_selector_remove): use clean_column function
17 (_create_new_column): use the hildon-ui-mode to create the treeview, and
18 only select the first element on HILDON_UI_MODE_EDIT
19 (hildon_touch_selector_column_init): Initialize last_activate
20 (hildon_touch_selector_append_column): check that the touch selector
21 is coherent with the current hildon-ui-mode
22 (hildon_touch_selector_get_hildon_ui_mode)
23 (hildon_touch_selector_set_hildon_ui_mode)
24 Added a getter/setter for the hildon-ui-mode property
25 (hildon_touch_selector_get_last_activated_row): Added this method in
26 order to get the last activated row.
27 * examples/hildon-touch-selector-normal-mode-example.c
28 New example, that shows how to use the HildonTouchSelector in
31 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
32 Kristian Rietveld <kris@lanedo.com> advices
34 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
36 * hildon/hildon-time-selector.c: (update_format_policy): Do
37 not call update_format_dependant_columns() if not necessary.
38 (update_format_dependant_columns): Remove unnecessary check for
39 the number of columns.
41 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-note.c (+hildon_note_constructor),
44 (hildon_note_class_init), (+hildon_note_set_padding),
45 (hildon_note_rebuild): Install a constructor where to set the
46 padding properties in the note, so that it actually works fine.
47 Use hildon_note_set_padding() for this, and also to set it during
50 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
52 * configure.ac: Bump GTK+ requirement to 2.14.3.
53 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
54 when using maemo-gtk to define proper margins for the notes.
56 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
59 2009-06-24 Alberto Garcia <agarcia@igalia.com>
61 * hildon/hildon-banner.c
62 (hildon_banner_class_init):
64 (+hildon_banner_size_request):
65 Request always the full width of the screen.
66 (hildon_banner_realize)
67 (-hildon_banner_check_position, hildon_banner_map):
68 hildon_banner_check_position() is not needed in Hildon 2.2.
69 (-hildon_banner_reset_wrap_state)
70 (hildon_banner_constructor, hildon_banner_init):
71 Remove unnecessary calls to hildon_banner_reset_wrap_state()
73 (force_to_wrap_truncated):
74 Remove has_been_wrapped and has_been_truncated attributes.
75 (+reshow_banner, hildon_banner_real_show_information)
76 (hildon_banner_show_information_with_markup)
77 (hildon_banner_show_animation, hildon_banner_show_progress)
78 (hildon_banner_set_text, hildon_banner_set_markup):
79 Refactor code. Shrink banner vertically to use the minimum space
80 necessary everytime the text of the label is updated.
81 (screen_size_changed):
82 Call force_to_wrap_truncated() when the size of the screen
85 Fixes: NB#120500 (only device memory connect mmc in use info
86 banner is left aligned)
88 Fixes: NB#120613 (Size of HildonBanner varies depending on
89 previously opened banners)
91 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
93 * hildon/hildon-color-chooser.c
94 (hildon_color_chooser_pointer_motion): Take the widget allocation
97 Fixes: NB#124385 (Unable to select exact point in color mixing box
98 in color palette dialog)
100 2009-06-23 Alejandro G. Castro <alex@igalia.com>
102 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
103 (hildon_pannable_area_dispose)
104 (hildon_pannable_area_button_press_cb)
105 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
106 (hildon_pannable_area_button_release_cb)
107 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
108 New 'panning-started' and 'panning-finished' signals.
110 Fixes: NB#121732 (New feature request: Signal to pannable area
111 that informs when panning is stopped.)
113 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
115 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
116 instead of hardcoded colon.
118 Fixes: NB#124090 (New calendar wizard title is not using
119 ecdg_ti_caption_separator)
121 2009-06-22 David King <davidk@openismus.com>
123 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
124 constants and functions, as well as correct many typos throughout the
127 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
130 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
132 * configure.ac: postrelease version bump.
133 * debian/changelog: post release version bump
135 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
140 * configure.ac: Bump version.
141 * debian/changelog: Updates.
143 2009-06-18 Alberto Garcia <agarcia@igalia.com>
145 * hildon/hildon-window-stack.c
146 (hildon_window_stack_pop_and_push_list):
147 Prevent windows from having the same stack index
149 2009-06-18 Alberto Garcia <agarcia@igalia.com>
151 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
152 Use the index of the previous window rather than the stack length
153 to calculate the new index.
157 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
159 * hildon/hildon-date-selector.c
160 (hildon_date_selector_select_current_date)
161 (hildon_date_selector_get_date)
162 (hildon_date_selector_select_day):
163 Update the documentation: uses always the range (1-31), as it is obvious
164 that the final one will depend on the month and the year, but globally
165 the range is this, in a similar GtkCalendar approach
166 (hildon_date_selector_get_date):
167 Update the documentation: add NULL as a valid value for the day, month
170 Fix some details, after talk with David King on bug MB#4698
172 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
174 * hildon/hildon-touch-selector-entry.c
175 * hildon/hildon-touch-selector.c
176 Update the documentation of the "text-column" property
178 2009-06-18 David King <davidk@openismus.com>
180 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
181 several typos and errors throughout the documentation.
183 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
186 2009-06-18 Alberto Garcia <agarcia@igalia.com>
188 * hildon/hildon-note.c (hildon_note_realize):
189 Make HildonNote support portrait mode.
191 Fixes: NB#123448 (HildonNote is not portrait-friendly)
193 2009-06-17 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
196 Document this function
198 2009-06-17 David King <davidk@openismus.com>
200 * hildon/hildon-date-selector.c
201 (hildon_date_selector_select_current_date)
202 (hildon_date_selector_get_date): Update documentation regarding days,
203 as the day of the month is dependent on both the month and the year.
204 (hildon_date_selector_get_date): Fix documentation of output arguments.
206 Fixes: MB#4698 (DateSelector documentation has bad output argument
207 description, and the day depends on both the month and the year)
209 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
211 * hildon/hildon-caption.c: Other documentation fixes to
214 2009-06-17 David King <davidk@openismus.com>
216 * hildon/hildon-caption.c: Minor documentation updates for
217 HildonCaption. Fixes MB#4697.
219 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
221 * doc/hildon-docs.sgml: Add hildon-version section.
222 * doc/hildon-sections.txt:
223 * hildon/hildon-version.h.in: Document versioning macros and
226 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
228 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
229 from HildonPickerDialog section.
231 2009-06-16 Alberto Garcia <agarcia@igalia.com>
233 * hildon/hildon-banner.c (hildon_banner_bind_style)
234 (screen_size_changed, hildon_banner_init)
235 (hildon_banner_real_show_information)
236 (hildon_banner_show_information_with_markup)
237 (hildon_banner_show_animation, hildon_banner_show_progress):
238 Set a different widget name to banners in portrait mode, for them
239 to be themed correctly.
241 2009-06-16 Alberto Garcia <agarcia@igalia.com>
243 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
244 Set a different widget name to notes in portrait mode, for them to
247 Partially fixes: NB#118401 (HildonNote causes unnecessary
250 2009-06-16 Alberto Garcia <agarcia@igalia.com>
252 * hildon/hildon-note.c (hildon_note_class_init)
253 (+hildon_note_size_request, screen_size_changed):
254 Always request the full width of the screen.
256 Fixes: NB#118375 (unnecessary rescaling of images)
258 2009-06-16 Alejandro G. Castro <alex@igalia.com>
260 * hildon/hildon-pannable-area.c,
261 (hildon_pannable_area_init),
262 (hildon_pannable_area_realize): Replaced old code adding flags in
263 the object init, now we add it with the other flags in the realize
266 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
268 * hildon/hildon-note.c: (hildon_note_class_init): Several
269 documentation improvements to the HildonNote widget.
271 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
273 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
275 Fixes: MB#4556 (HildonNoteType is undocumented)
277 2009-06-15 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-picker-button.c:
280 Explain how HildonPickerButton sets the title of its dialog
282 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
283 the title of its dialog)
285 2009-06-15 Alberto Garcia <agarcia@igalia.com>
287 * hildon/hildon-check-button.c:
288 Documentation updates
290 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
293 2009-06-15 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-edit-toolbar-private.h
297 * hildon/hildon-edit-toolbar.c
298 (+hildon_edit_toolbar_set_progress_indicator)
299 (hildon_edit_toolbar_init): Add progress indicator to the
302 * hildon/hildon-gtk.c
303 (hildon_gtk_window_set_progress_indicator):
304 If the window contains a HildonEditToolbar, enable the progress
307 * hildon/hildon-private.h
308 * hildon/hildon-private.c
309 (+hildon_private_create_animation)
310 * hildon/hildon-banner.c
311 (-hildon_banner_create_animation):
312 Moved to hildon-private.c
314 Fixes: NB#102373 (Progress indicator also for the Edit mode
317 2009-06-15 Alberto Garcia <agarcia@igalia.com>
319 * hildon/hildon-app-menu-private.h
320 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
321 (hildon_app_menu_add_filter, +menu_item_button_event)
322 (hildon_app_menu_button_release, hildon_app_menu_init):
323 Make sure that buttons receive 'button-release-event' in spite of
324 the grab held by HildonAppMenu
326 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
328 2009-06-15 Alberto Garcia <agarcia@igalia.com>
330 * hildon/hildon-app-menu.c
331 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
332 New style property to set the size of the group of filter buttons.
334 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
336 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
341 * configure.ac: Bump version.
342 * debian/changelog: Updates.
344 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-main.c: Minor documentation fixes.
348 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
350 * doc/hildon-sections.txt:
351 * hildon/hildon-defines.h: Document the defines, organize them,
352 and mark deprecations as such.
354 Fixes: MB#4463 (Hildon size #defines are undocumented)
356 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
358 * hildon/hildon-animation-actor.c:
359 * hildon/hildon-app-menu.c:
360 * hildon/hildon-button.c:
361 * hildon/hildon-date-editor.c:
362 * hildon/hildon-dialog.c:
363 * hildon/hildon-edit-toolbar.c:
364 * hildon/hildon-entry.c:
365 * hildon/hildon-program.c:
366 * hildon/hildon-remote-texture.c:
367 * hildon/hildon-stackable-window.c:
368 * hildon/hildon-text-view.c:
369 * hildon/hildon-touch-selector.c:
370 * hildon/hildon-window-stack.c:
371 * hildon/hildon-window.c:
373 Remove redundant "represents" wording from most of the documentation.
375 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
377 2009-06-12 Alberto Garcia <agarcia@igalia.com>
382 * hildon/hildon-banner-private.h
383 * hildon/hildon-banner.c:
384 Move HildonBannerPrivate to hildon-banner.c and remove
385 hildon-banner-private.h
386 Use a bit field to store private booleans.
388 2009-06-12 Alberto Garcia <agarcia@igalia.com>
390 * hildon/hildon-app-menu.c (hildon_app_menu_map):
391 Don't install a new idle function if there's already one
396 2009-06-11 Alberto Garcia <agarcia@igalia.com>
398 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
399 (+legacy_menu_realized, +legacy_menu_unmapped)
400 (+set_legacy_menu_type):
401 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
402 they can be identified by the window manager.
404 Fixes: NB#101437 (Invoking CSM on the left side of page area is
405 displayed in wrong location)
407 Fixes: MB#4563 (Popup menu won't locate at the left side of the
410 2009-06-11 Alberto Garcia <agarcia@igalia.com>
412 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
414 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
417 2009-06-11 Alberto Garcia <agarcia@igalia.com>
419 * hildon/hildon-code-dialog.c
420 * hildon/hildon-date-editor.c
421 * hildon/hildon-number-editor.c
422 * hildon/hildon-seekbar.c
423 * hildon/hildon-stackable-window.c
424 * hildon/hildon-window.c:
425 Misc documentation updates
427 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
429 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
430 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
432 Fixes: NB#117931 (Theming issues in accounts dialogs)
434 2009-06-09 Alejandro G. Castro <alex@igalia.com>
436 * hildon/hildon-pannable-area.c,
437 (hildon_pannable_area_button_release_cb): Changed the coordinates
438 of the original release in case we want to discard the release,
439 some widgets in Fremantle do not handle the leave-notify.
441 2009-06-09 Alejandro G. Castro <alex@igalia.com>
443 * hildon/hildon-pannable-area.c,
444 (hildon_pannable_area_button_release_cb): Reviewed the logic of
445 the release using the last refactored functions and avoiding the
446 movement if an element was selected.
448 2009-06-09 Alejandro G. Castro <alex@igalia.com>
450 * hildon/hildon-pannable-area.c,
451 (hildon_pannable_area_check_move),
452 (hildon_pannable_area_handle_move),
453 (hildon_pannable_area_motion_notify_cb): Refactored the
454 motion_notify method using a couple of new functions.
456 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
458 * hildon/hildon-date-selector.c:
459 (hildon_date_selector_construct_ui):
460 * hildon/hildon-time-selector.c:
461 (hildon_time_selector_constructor):
462 * hildon/hildon-touch-selector-entry.c:
463 (hildon_touch_selector_entry_set_text_column),
464 (hildon_touch_selector_entry_get_text_column):
465 * hildon/hildon-touch-selector.c: (_default_print_func),
466 (hildon_touch_selector_new_text): Use
467 hildon_touch_selector_set/get_text_column() instead of
468 setting/getting the "text-column" property.
470 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
472 * doc/hildon-sections.txt: Add the new public methods below.
474 * examples/hildon-picker-button-multicolumn-example.c:
475 (create_touch_selector):
476 * examples/hildon-touch-selector-example.c: (create_selector):
477 * examples/hildon-touch-selector-multi-cells-example.c:
479 Use hildon_touch_selector_column_set_text_column()
481 * hildon/hildon-touch-selector-column.h:
482 * hildon/hildon-touch-selector.c:
483 (hildon_touch_selector_column_set_text_column),
484 (hildon_touch_selector_column_get_text_column):
485 Make hildon_touch_selector_column_set/get_column() public, use
486 them in the inline example, document them, and reference to them
489 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-time-selector.c: Fix the docs for
492 hildon_time_selector_new_step().
494 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
496 * hildon/hildon-touch-selector.c: Improve the documentation for
497 hildon_touch_selector_append_column().
499 Fixes MB#4641 (Documentation:
500 hildon_touch_selector_append_column() ref-counting)
502 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
504 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
505 Comment out test 5, since the hildon_controlbar_set_range() range
506 check is broken and fixing it would have side effects. Also,
507 this finally fixes make distcheck.
509 Fixes: NB#101420 (Update unit tests and fix make distcheck)
511 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
513 * tests/TEST-CASES.txt: Remove other bogus test.
514 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
515 Remove bogus test that was setting/retrieving a valid value.
517 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
519 * tests/TEST-CASES.txt: Remove bogus tests.
520 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
521 Remove three bogus tests that were actually setting valid colors.
523 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
525 * configure.ac: post release version bump
526 * debian/changelog: post release version bump
528 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
533 * configure.ac: Bump version.
534 * debian/changelog: Updates.
536 2009-06-08 Christian Dywan <christian@lanedo.com>
540 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
541 Correct errors in hildon_format_file-size_for_display and use
542 translations from the hildon-fm package instead of osso-filemanager.
544 2009-06-08 Alejandro G. Castro <alex@igalia.com>
546 * hildon/hildon-pannable-area.c,
547 (hildon_pannable_area_init): Initialized new values to handle the
549 (hildon_pannable_area_adjust_value_changed): Check if the values
550 changed before even call the redraw function.
551 (hildon_pannable_area_size_allocate),
552 (hildon_pannable_axis_scroll),
553 (hildon_pannable_area_scroll),
554 (hildon_pannable_area_jump_to): Improved the diagonal movement
557 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
560 2009-06-08 Alberto Garcia <agarcia@igalia.com>
562 * examples/hildon-banner-example.c:
563 Several style updates
564 (on_animation_clicked, on_animation_idle)
565 (on_progress_clicked, on_progress_idle):
566 Add additional reference for the cases when the parent window is
569 2009-06-08 Alberto Garcia <agarcia@igalia.com>
571 * doc/hildon-sections.txt
572 * hildon/hildon-pannable-area.c
573 * hildon/hildon-banner.h
574 * hildon/hildon-banner.c: Documentation updates.
576 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
579 2009-06-05 Alejandro G. Castro <alex@igalia.com>
581 * hildon/hildon-calendar-popup.h:
582 * hildon/hildon-caption.h:
583 * hildon/hildon-code-dialog.h:
584 * hildon/hildon-controlbar.h:
585 * hildon/hildon-date-editor.h:
586 * hildon/hildon-dialog.h:
587 * hildon/hildon-get-password-dialog.h:
588 * hildon/hildon-hvolumebar.h:
589 * hildon/hildon-login-dialog.h:
590 * hildon/hildon-note.h:
591 * hildon/hildon-number-editor.h:
592 * hildon/hildon-range-editor.h:
593 * hildon/hildon-seekbar.h:
594 * hildon/hildon-set-password-dialog.h:
595 * hildon/hildon-sort-dialog.h:
596 * hildon/hildon-time-editor.h:
597 * hildon/hildon-time-picker.h:
598 * hildon/hildon-volumebar-range.h:
599 * hildon/hildon-volumebar.h:
600 * hildon/hildon-vvolumebar.h:
601 * hildon/hildon-weekday-picker.h:
602 * hildon/hildon-window.h:
603 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
604 macros with the current replacements
606 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
608 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
610 * hildon/hildon-color-button.c (hildon_color_button_init): Use
611 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
612 itself, to make it fit better with Fremantle style.
614 Fixes: NB#109878 (height and width of focus on color icon is not
615 consistent with other item in the application tool bar)
617 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
619 * hildon/hildon-touch-selector.c:
620 (hildon_touch_selector_optimal_size_request): use the current requisition
621 as the base, in order to include any possible extra widget, like the
622 hildon entry on HildonTouchSelectorEntry
624 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
626 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
628 * configure.ac: post release version bump
629 * debian/changelog: post release version bump
631 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
636 * configure.ac: Bump version.
637 * debian/changelog: Updates.
639 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
641 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
643 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
644 to ensure the banner contents are centered, instead of relying on
645 the expand and fill properties in GtkHBox.
646 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
648 Fixes: NB#108265 (Animation banner not properly centered)
650 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
652 * hildon/hildon-pannable-area.c
653 (hildon_pannable_area_initial_effect): Remove the initial_effect
654 management, check initial_hint
655 (hildon_pannable_are_expose_event): Remove the initial_hint management,
656 set initial_effect to FALSE
657 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
658 by launching the fade_timeout if the scrollbars state has changed and are
660 * examples/hildon-pannable-area-initial-hint-example.c
661 Modified to allow to remove rows too. Add and remove rows one by one.
663 2009-05-28 Alberto Garcia <agarcia@igalia.com>
665 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
666 Don't close the menu if there's an animation actor below it.
668 Fixes: NB#117927 (Application menu not usable with animation
671 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
674 "focus-on-click" from the dialog button, to avoid stealing the
675 focus from the entry.
677 Fixes: NB#118903 (Account setup wizard: Text in Search field
678 should be focused when "Region" touch list picker is reopened
681 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
683 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
684 (prepare_action_area): Completely hide the dialog separator.
686 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
688 * hildon/hildon-touch-selector-entry.c
689 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
690 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
691 now that the entry is exposed.
693 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
695 * hildon/hildon-touch-selector-entry.c
696 (hildon_touch_selector_entry_init): Change the entry's size
697 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
699 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
702 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
703 avoid unnecessary scaling.
705 2009-05-27 Alberto Garcia <agarcia@igalia.com>
707 * hildon/hildon-app-menu.c (hildon_app_menu_map):
708 Create grab transfer window before calling parent's map function.
710 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
711 "crushed" button(s) in the top left corner)
713 2009-05-26 Alberto Garcia <agarcia@igalia.com>
715 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
716 Check if the window is already realized when pushing it.
718 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
720 * configure.ac: post release version bump
721 * debian/changelog: post release version bump
723 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
728 * configure.ac: Bump version.
729 * debian/changelog: Updates.
731 2009-05-25 Alberto Garcia <agarcia@igalia.com>
733 * hildon/hildon-app-menu.c: Doc updates.
735 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
737 * hildon/hildon-banner.c: Remove leftover macro.
739 2009-05-25 Alejandro G. Castro <alex@igalia.com>
741 * hildon/hildon-pannable-area.c,
742 (hildon_pannable_area_scroll_indicator_fade),
743 (hildon_pannable_area_button_release_cb): Reviewed vmin
744 conditions, it could cause problems in the fadeout procedure.
746 2009-05-25 Alejandro G. Castro <alex@igalia.com>
748 * hildon/hildon-pannable-area.c
749 (hildon_pannable_area_button_release_cb): Added a threshold to
750 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
752 2009-05-25 Alejandro G. Castro <alex@igalia.com>
754 * hildon/hildon-pannable-area.c,
755 (hildon_pannable_area_set_property): Added code to sync the gtk
756 dnd threshold with the panning threshold.
758 2009-05-25 Alejandro G. Castro <alex@igalia.com>
760 * hildon/hildon-pannable-area.c,
761 (hildon_pannable_area_class_init): Changed some of the default
762 values, now it should be less responsive and more accurate.
764 2009-05-25 Alejandro G. Castro <alex@igalia.com>
766 * hildon/hildon-pannable-area.c,
767 (hildon_pannable_area_init),
768 (hildon_pannable_area_scroll_indicator_fade),
769 (hildon_pannable_area_button_press_cb),
770 (hildon_pannable_axis_scroll),
771 (hildon_pannable_area_timeout),
772 (hildon_pannable_area_motion_notify_cb),
773 (hildon_pannable_area_button_release_cb): Changed the name of the
774 clicked attribute to button_pressed, it is more clear about its use.
776 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
778 * src/hildon-pannable-area.c
779 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
781 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
782 vertical scrollbar visibility, and use the data on private section instead,
783 remove the initial_hint check
784 (hildon_pannable_area_expose_event): add the initial_hint check here
786 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
788 * src/hildon-pannable-area.c
789 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
790 if the fadeout effect was used
791 (hildon_pannable_area_expose_event): check if it is required to
792 manage the initial effect on the begining of the function. Previously
793 it was made at the end, but this doesn't ensure that the scrollbars
794 will be painted on the first show. Do not set to FALSE initial_effect,
795 to ensure that the initial hint is showed the first time the pannable
797 * examples/Makefile.am
798 * examples/hildon-pannable-area-initial-hint-example.c:
799 New example, to show that the initial-hint is showed when the widget
802 Fixes: NB#116607 (Pannable area should always have scrollbar visible
803 initially if the application can be scrolled)
805 2009-05-25 Alberto Garcia <agarcia@igalia.com>
807 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
808 Resize table before adding new items to make sure that
809 gtk_table_resize() is called just once.
811 2009-05-25 Alberto Garcia <agarcia@igalia.com>
813 * hildon/hildon-app-menu-private.h
814 * hildon/hildon-app-menu.c (item_visibility_changed)
815 (filter_visibility_changed, hildon_app_menu_show_all)
816 (hildon_app_menu_hide_all, hildon_app_menu_init):
817 Rearrange items just once when gtk_widget_show_all()/hide_all()
820 2009-05-25 Alberto Garcia <agarcia@igalia.com>
822 * hildon/hildon-app-menu.c
823 (hildon_app_menu_insert, hildon_app_menu_add_filter):
824 Don't call gtk_widget_show() on added items.
826 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
827 automatically when they're added)
829 2009-05-20 Alberto Garcia <agarcia@igalia.com>
831 * hildon/hildon-banner.c
832 (hildon_banner_realize, +hildon_banner_unrealize)
833 (+screen_size_changed, hildon_banner_class_init):
834 Redisplay the banner if the screen is rotated.
836 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
837 on transition from landscape to portrait)
839 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
841 * hildon/hildon-banner.[ch]:
842 (hildon_banner_show_information_override_dnd): remove icon_name from the
843 method definition as it is ignored.
844 * examples/hildon-banner-dnd-example.c: updated with the change on
847 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
849 * hildon/hildon-banner-private.h: new require_override_dnd and
850 overrides_dnd variables
851 * hildon/hildon-banner.h:
852 (hildon_banner_show_information_override_dnd): new method, that shows
853 the information but sets the override flag, in order to show important
855 * hildon/hildon-banner.c
856 (hildon_banner_show_information_override_dnd): new method
857 (hildon_banner_set_override_flag): new utility function
858 (hildon_banner_real_show_information): new utility function, in order to
859 generalize the current hildon_banner_show_information_override_dnd and
860 hildon_banner_show_information_override_dnd
861 * examples/Makefile.am
862 * examples/hildon-banner-dnd-example.c: New example that show how to
863 use the new hildon_banner_show_information_override_dnd
865 Fixes: NB#114874 (There is no possibility to show hildon banners with
868 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
870 * hildon/hildon-pannable-area.c: Add a comment explaining the math
871 behind hildon_pannable_calculate_vel_factor().
873 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
875 * hildon/hildon-pannable-area.c
876 (hildon_pannable_calculate_vel_factor): Correct the sum of the
877 deceleration factors.
879 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
881 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
882 Reduce the default value for 'scroll_time' to 1 second, since the
883 current initial scrolling takes too much time.
885 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
888 calculate velocity factor during initialization, since the properties
891 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
893 * hildon/hildon-pannable-area.c
894 (hildon_pannable_area_set_property): Calculate the velocity factor
895 after setting the deceleration property and not after.
897 2009-05-20 Alberto Garcia <agarcia@igalia.com>
899 * hildon/hildon-entry.c
900 (hildon_entry_class_init, +set_property, hildon_entry_new)
901 * hildon/hildon-check-button.c
902 (hildon_check_button_class_init)
903 (+set_property, hildon_check_button_new):
904 Make the theme size a property.
906 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
907 others) do too much in the _new function)
909 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
911 * configure.ac: post release version bump
912 * debian/changelog: post release version bump
914 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
919 * configure.ac: Bump version.
920 * debian/changelog: Updates.
922 2009-05-15 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-gtk.h
925 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
926 New API function to take a screenshot of a window
928 Fixes: NB#106374 (Need API to take a loading screenshot)
930 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
932 * hildon/hildon-time-selector.c
933 (update_format_policy): prevent to use hours and minutes unitialized
935 2009-05-15 Alberto Garcia <agarcia@igalia.com>
937 * hildon/hildon-window.c (hildon_window_size_request):
938 Always request the full size of the screen (minus the title bar if
939 not in fullscreen mode).
941 Fixes: NB#107486 (HildonWindow should size itself properly)
943 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
945 * hildon/hildon-note-private.h: Add idle_handler to the private data.
946 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
947 (on_show_cb), (sound_handling): Disconnect the idle handler for
948 the sound when the note is finalized to avoid possible crashes.
950 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
953 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
955 * src/hildon-animation-actor.c,
956 * src/hildon-remote-texture.c:
957 Added proper object cleanup to remove signal handler and object
958 references as HildonAnimationActor and HildonRemoteTexture
959 objects get destroyed.
961 Fixes: NB#116682 (Destroying parented animation actors when
962 parent in unmapped leads to crash)
964 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
966 Based on a patch by Christian Dywan (christian@imendio.com)
968 * doc/hildon-sections.txt:
969 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
970 * hildon/hildon-helper.h: New file size formatting method.
972 * debian/control: Depend on osso-filemanager l10n package for
973 proper localization strings.
975 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
977 * tests/Makefile.am: Include top_srcdir to make possible to build
978 tests in a different builddir.
979 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
980 on a different builddir.
982 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
985 (hildon_touch_selector_remove): Disconnect model's signal handler
988 Fixes: NB#116289 (Hildon home crashes while adding task
991 2009-05-11 Alberto Garcia <agarcia@igalia.com>
993 * hildon/hildon-button.c
994 (hildon_button_set_title, hildon_button_set_value):
995 Hide labels containing an empty string.
997 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
999 * configure.ac: post release version bump
1000 * debian/changelog: post release version bump
1002 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1007 * configure.ac: Bump version.
1008 * debian/changelog: Updates.
1010 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1012 * hildon/hildon-note-private.h: Removed sound_signal_handler
1013 * hildon/hildon-note.c
1014 (on_show_cb): new callback on note "show" event, this simply adds
1015 a idle, with the function sound_handling
1016 (sound_handling): removed the sound_signal_handler management
1017 (hildon_note_init): connect note "show" event to on_show_cb
1018 (hildon_note_realize): remove the connection to "expose-event"
1020 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1021 device?' confirmation note)
1023 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1025 * hildon/hildon-note.c
1026 (hildon_note_new_information_with_icon_name)
1027 (hildon_note_new_confirmation_with_icon_name):
1028 Terminate the list of parameters in g_object_set() calls
1030 Fixes: NB#115166 (Formatting memory card is not taking place)
1032 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1034 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1035 "dialog-information" role for the sound being played.
1037 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1039 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1040 Don't make the menu a modal window, it causes strange interactions
1041 with the pointer grab and it's not really needed.
1043 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1045 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1047 * hildon/hildon-touch-selector.[ch]
1048 (hildon_touch_selector_optimal_size_request): function added to get a
1049 optimal size request from the touch selector, when you want a dialog to
1050 show as much of the selector
1051 * hildon/hildon-picker-dialog.c:
1052 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1053 (hildon_app_menu_class_init):
1054 New "max-height-landscape" and "max-height-portrait" style properties
1055 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1056 (hildon_picker_dialog_get_max_height): returns the maximum height using
1057 the style properties defined and checking the current portrait/landscape
1059 (_hildon_picker_dialog_set_selector): removed the set_size_request
1061 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1063 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1065 * hildon/hildon-bread-crumb-trail.c:
1066 * hildon/hildon-bread-crumb.c:
1067 * hildon/hildon-seekbar.c:
1068 Add reference to replacements for these deprecated widgets.
1070 Fixes: MB#4461 (Documentation: All deprecations should mention
1073 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1075 * examples/hildon-remote-texture-example.c
1077 Change the include to the hildon-remote-texture in order to compile
1078 properly the examples on the installed libhildon1-examples package
1080 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1082 * tests/Makefile.am: Add check for HildonPickerButton.
1083 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1084 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1085 checks for the HildonPickerButton.
1086 * tests/check_test.c (configure_tests): Add the test suite.
1087 * tests/test_suites.h: likewise.
1089 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1091 * hildon/hildon-touch-selector.c
1092 (+on_row_changed): Emit HildonTouchSelector:changed when the
1093 contents of a selected row change.
1094 (_create_new_column), (_hildon_touch_selector_set_model): connect
1095 to GtkTreeModel:row-changed on a newly set model.
1097 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1099 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1101 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1103 * hildon/hildon-banner.c (hildon_banner_destroy)
1104 (hildon_banner_show_progress, hildon_banner_set_fraction):
1105 Remove the progress bar from HildonBanner and use a progress
1108 Fixes: NB#113761 (Update progress banner to use progress
1111 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1113 * hildon/hildon-banner.c:
1114 Calculate size of the banner label using the actual screen width
1115 rather than using a fixed value.
1117 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1120 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1122 * hildon/hildon-pannable-area.c,
1123 (hildon_pannable_area_class_init): Fixed signals documentation
1126 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1128 * configure.ac: post release version bump
1129 * debian/changelog: post release version bump
1131 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1136 * configure.ac: Bump version.
1137 * debian/changelog: Updates.
1139 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1141 * hildon/hildon-edit-toolbar.c
1142 (hildon_edit_toolbar_init):
1143 Don't let buttons in HildonEditToolbar receive focus.
1145 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1146 typing on an HW arrows key)
1148 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1150 * doc/Makefile.am: Fix build.
1152 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1154 * doc/Makefile.am: Do not redefine content_files.
1156 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1164 Renamed src/ to hildon/
1169 Include <hildon/hildon.h> directly in all examples.
1171 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1173 * src/hildon-sort-dialog.c
1174 (hildon_sort_dialog_add_sort_key_with_sorting)
1178 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1180 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1181 make distcheck passes.
1183 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1185 * Makefile.am: Enable gtk-doc during distcheck.
1187 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1189 * Makefile.am: Do not distribute the debian/ directory.
1191 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1193 * doc/Makefile.am: Add the extra SGML files to content_files,
1194 so that they are distributed properly.
1196 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1198 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1201 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1204 (hildon_note_new_information_with_icon_name): Set the "icon" property
1205 to preserve soundness.
1207 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-font-selection-dialog.c
1210 (hildon_font_selection_dialog_set_property): Fail when the "family"
1211 property is set to NULL.
1213 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1218 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1220 * src/hildon-time-selector.h:
1221 Added HildonTimeSelectorFormatPolicy
1222 * src/hildon-time-selector.c:
1223 Added PROP_TIME_FORMAT_POLICY
1224 (_check_ampm_format): renamed to check_automatic_ampm_format
1225 (update_format_policy), (update_format_dependant_columns): new functions
1226 (hildon_time_selector_class_init)
1227 (hildon_time_selector_contructor)
1228 (hildon_time_selector_init)
1229 (hildon_time_selector_get_property)
1230 (hildon_time_selector_set_property)
1231 (hildon_time_selector_get_time)
1232 (hildon_time_selector_set_time)
1233 * src/hildon-touch-selector.h: new file
1234 * src/hildon-touch-selector.c
1235 (hildon_touch_selector_emit_changed)
1236 (hildon_touch_selector_block_changed)
1237 (hildon_touch_selector_unblock_changed)
1238 Added functions to allow to block the emission of the "changed" signal
1239 * src/hildon-picker-dialog.c
1240 (hildon_picker_dialog_show): call the parent show before the custom code
1241 * examples/hildon-time-button-example.c
1242 Modified, so now you can configure the time format using the new property
1244 Added a new property "time-format-policy" that allow to choose the time
1245 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1246 case it uses gconf in order to check if the time selector must use
1249 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1252 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-note.c (hildon_note_init):
1255 Label in HildonNote must be left aligned, not centered. This
1256 reverts the last commit in HildonNote.
1258 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1259 is connectivity dialog)
1261 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1266 * doc/hildon-sections.txt:
1267 Added hildon_gtk_window_set_do_not_disturb()
1269 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1271 * src/hildon-note.c (hildon_note_init): Center label.
1273 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1276 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1281 * configure.ac: Bump version.
1282 * debian/changelog: Updates.
1284 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1286 * src/hildon-note-private.h: Add button-width to the private data.
1287 * src/hildon-note.c (+resize_button),
1288 (+hildon_note_orientation_update): methods to repack widgets on orientation
1290 (screen_size_changed): Call above method for confirmation notes.
1291 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1292 (hildon_note_rebuild): Store the original width request from buttons.
1294 Fixes: NB#109635 (Confirmation notes do not support portrait)
1296 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1298 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1299 when it is a progress note.
1301 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1303 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1304 in the note, since there are no horizontally arranged contents.
1306 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-gtk.c (+set_flag): new generic method to
1309 set/delay a flag setting in a window.
1310 (hildon_gtk_window_set_progress_indicator):
1311 (hildon_gtk_window_set_do_not_disturb),
1312 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1313 avoid code redundance.
1315 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1317 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1319 * src/hildon-gtk.c (set_clear_window_flag),
1320 (do_set_progress_indicator), (do_set_do_not_disturb),
1321 (do_set_portrait_flags),
1322 (hildon_gtk_window_set_progress_indicator),
1323 (hildon_gtk_window_set_do_not_disturb),
1324 (hildon_gtk_window_set_portrait_flags):
1325 Allow setting dnd-flag, progress indicator, and portrait flags
1326 when the window is not realized.
1328 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1330 * src/hildon-pannable-area.c,
1331 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1332 the size request policy function and defines.
1334 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1336 * doc/hildon-sections.txt: Add the new API.
1337 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1338 method to set the portrait flags.
1339 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1341 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1343 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1345 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1346 to allow using this method with other flags.
1347 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1348 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1350 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-touch-selector.c
1353 (hildon_touch_selector_append_text_column):
1354 Make the cell renderer use the smallest width possible.
1356 Fixes: NB#108470 (Selected items in multiple selection are either
1357 having a tick that is cut or not visible at all.)
1359 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-touch-selector.c
1362 (hildon_touch_selector_append_text_column):
1365 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1368 Use g_strdup_printf() instead of a fixed size buffer.
1370 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1373 Close banners when a HildonAppMenu is popped up.
1375 Fixes: NB#111027 (Title menu closed immediately if activated when
1376 "Invalid e-mail address" banner is shown)
1378 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1383 * configure.ac: Bump version.
1384 * debian/changelog: Updates.
1386 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1388 * src/hildon-banner.c (hildon_banner_realize):
1389 Mark HildonBanner as supporting portrait mode.
1390 Use GDK to set window properties insetad of direct Xlib calls.
1392 Fixes: NB#111830 (HildonBanner should be marked as supporting
1395 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1397 * src/hildon-note.c (hildon_note_rebuild):
1398 Hide action area in information notes. Prevents text from being
1399 slightly aligned to the left.
1401 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1404 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1406 Patch by Mox Soini (ext-mox.soini@nokia.com)
1408 * src/hildon-banner.c (hildon_banner_create_animation):
1409 Use stylus-sized icons in animation banner.
1411 Fixes: NB#111206 (stylus sized icon for animation banner)
1413 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1417 (+hildon_gtk_window_set_do_not_disturb):
1418 New API to set the do-not-disturb flag.
1420 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1422 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1424 * examples/hildon-progress-indicator-example.c: Fix example
1426 * src/hildon-gtk.c (set_clear_window_flag)
1427 (hildon_gtk_window_set_progress_indicator):
1428 Create a generic function for setting flags to a window.
1429 Use GDK instead of direct Xlib calls.
1431 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-button.c (hildon_button_set_arrangement):
1434 Due to NB#88126, if one of the labels is too long it will be
1435 painted outside the button. The 'value' label is more likely to be
1436 the longest one, so we change its packing options in order to
1437 truncate it if necessary. As a side effect, the 'title' label will
1438 no longer be truncated.
1440 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1442 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: Bump version.
1448 * debian/changelog: Updates.
1450 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1452 Deprecation of the hildon_pannable_area_set_size_request_policy
1453 API, the only policy properly supported in gtk+ nowadays is the
1456 * src/hildon-pannable-area.c,
1457 (hildon_pannable_area_size_request): Added a workaround for the
1458 size_request to avoid the problems of huge pixmaps in case someone
1459 is still using the function.
1460 * src/hildon-pannable-area.h: Deprecated the enum with the
1463 Fixes: NB#110244 (Problems with the
1464 hildon_pannable_area_set_size_request_policy API)
1466 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1468 * src/hildon-pannable-area.c,
1469 (hildon_pannable_area_init),
1470 (hildon_pannable_area_size_request),
1471 (hildon_pannable_area_style_set),
1472 (hildon_pannable_draw_vscroll),
1473 (hildon_pannable_draw_hscroll),
1474 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1475 indicator_width to clarify the use of the attribute.
1477 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1482 * configure.ac: Bump version.
1483 * debian/changelog: Updates.
1485 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1487 * src/hildon-picker-dialog.c
1488 * src/hildon-touch-selector.c
1489 Reverting the change that tried to avoid the hardcoded height on
1490 the picker dialog, as causes problems on the hildon-touch-selector
1493 Fixes: NB#110029 (selectors not scrolling to selected value)
1495 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-touch-selector.c: Fix typos
1499 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1502 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1503 request more motions after using it.
1505 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/hildon-calendar.c (hildon_calendar_expose),
1508 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1509 Remove unused variables.
1511 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1513 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1514 variable assignment.
1516 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1518 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1519 Check the return value of gtk_tree_selection_get_selected()
1522 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1524 * src/hildon-animation-actor.c
1525 * src/hildon-button.c
1527 * src/hildon-pannable-area.c
1528 * src/hildon-picker-button.c
1529 * src/hildon-program.c
1530 * src/hildon-remote-texture.c
1531 * src/hildon-text-view.c
1532 * src/hildon-touch-selector.c
1533 * src/hildon-window-stack.c
1534 * src/hildon-window.c:
1535 Add missing 'Since: 2.2' tags.
1537 * doc/hildon-sections.txt:
1538 Add some missing symbols.
1540 * doc/hildon-docs.sgml:
1541 New 'Other' section for HildonAnimationActor and
1544 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1546 Patch by Iván Gómez (igomez@igalia.com)
1549 * doc/compiling.sgml
1550 * doc/hildon-docs.sgml
1551 * doc/hildon-sections.txt
1552 * doc/migration.sgml
1553 * doc/resources.sgml
1555 New chapters on using the Hildon library.
1556 Updated the general structure of the reference manual.
1557 Other minor documentation fixes.
1559 * src/hildon-calendar-popup.c
1560 * src/hildon-calendar.c
1561 * src/hildon-controlbar.c
1562 * src/hildon-date-editor.c
1563 * src/hildon-dialog.c
1564 * src/hildon-hvolumebar.c
1565 * src/hildon-number-editor.c
1566 * src/hildon-range-editor.c
1567 * src/hildon-sort-dialog.c
1568 * src/hildon-time-editor.c
1569 * src/hildon-time-picker.c
1570 * src/hildon-volumebar-range.c
1571 * src/hildon-volumebar.c
1572 * src/hildon-vvolumebar.c
1573 * src/hildon-weekday-picker.c:
1574 Add deprecation notes
1576 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1577 Document 'horizontal-movement' and 'vertical-movement' signals.
1579 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Bump version.
1585 * debian/changelog: Updates.
1587 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_class_init): increased the minimum velocity.
1591 (hildon_pannable_area_button_release_cb): Updated the
1592 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1593 setup. Review the code to control that last event.
1595 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1598 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1600 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1602 * src/hildon-get-password-dialog.c
1603 (hildon_get_password_set_property),
1604 (hildon_get_password_get_property), (create_contents):
1605 * src/hildon-login-dialog-private.h:
1606 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1607 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1608 (hildon_login_dialog_get_password):
1609 * src/hildon-set-password-dialog-private.h:
1610 * src/hildon-set-password-dialog.c
1611 (hildon_set_password_set_property),
1612 (hildon_set_password_get_property), (create_contents),
1613 (hildon_set_password_response_change),
1614 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1616 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1617 instead and look more Fremantle style.
1619 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1621 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1623 * doc/hildon-sections.txt
1624 * src/hildon-window-stack.h
1625 * src/hildon-window-stack.c
1626 (+hildon_window_stack_get_windows):
1627 New API to obtain the list of windows on a stack.
1629 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1631 * src/hildon-app-menu.c (hildon_app_menu_popup)
1632 (hildon_app_menu_class_init, -hildon_app_menu_show):
1633 Remove hildon_app_menu_show() and move all its checks to
1634 hildon_app_menu_popup()
1636 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1638 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1639 (_hildon_picker_dialog_set_selector): removed call to
1640 gtk_widget_set_size_request
1641 * src/hildon-touch-selector.c
1642 (_create_new_column): change the pannable size request policy
1644 Avoid to use a hardcoded height for the hildon picker dialog. In order
1645 to get that, we needed to change the hildon pannable size request
1647 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1649 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1652 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1655 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1657 * debian/control: Depend on osso-system-lock localization package.
1658 * src/hildon-code-dialog.c: Obtain the secu_application_title
1659 translation from osso-system-lock.
1660 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1661 for translation the atk related strings, that's not necessary.
1662 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1663 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1664 cancel button, it is not required.
1666 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pannable-area.c,
1669 (hildon_pannable_area_class_init): Modified the default value of
1670 the overshooting max speed, we have reduced it.
1672 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1674 * doc/hildon-sections.txt
1675 * src/hildon-window-private.h
1676 * src/hildon-window.h
1677 * src/hildon-window.c (hildon_window_class_init)
1678 (hildon_window_init, hildon_window_finalize)
1679 (hildon_window_realize, hildon_window_get_property)
1680 (hildon_window_set_property, hildon_window_update_markup)
1681 (hildon_window_get_markup, hildon_window_set_markup):
1682 New "markup" property and hildon_window_{get,set}_markup() methods.
1684 * examples/hildon-stackable-window-example.c (new_window):
1685 Update example to use hildon_window_set_markup()
1687 Fixes: NB#106375 (Need API to retitle a window with a title
1690 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1692 * src/hildon-pannable-area.c,
1693 (hildon_pannable_area_class_init): Changed the default value of
1694 the initial_hint to TRUE.
1695 (hildon_pannable_area_initial_effect): Changed the initial effect,
1696 not the effect is just the fade-out of the scrollbars.
1698 Fixes: NB#107775 (No scrollbars can be seen when several items are
1699 available in a dialog)
1701 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-program.c (hildon_program_update_top_most):
1706 Fixes: NB#109179 (Memory leak in Hildon program)
1708 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-banner.c (-get_current_app_window):
1711 Remove unused function.
1713 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1715 * src/hildon-pannable-area.c: Modified the documentation of the
1716 get adjustments functions to explain the problem of using the
1717 adjustment directly.
1718 (hildon_pannable_area_class_init): Improved the explanation about
1721 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-app-menu-private.h
1724 * src/hildon-app-menu.c
1725 (hildon_app_menu_class_init):
1726 Bring back the 'external-border' style property
1727 (hildon_app_menu_class_init, hildon_app_menu_init)
1728 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1729 Set a fixed width-request for the menu, independent of the number
1732 Fixes: NB#94957 (Smoothly opened application menu)
1734 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1738 * src/hildon-banner.c
1739 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1741 Make sure that the banner is correctly placed the first time it's
1743 (hildon_banner_check_position, -check_fullscreen_state):
1744 Show the banner in the same place no matter if the window is in
1745 fullscreen mode or not.
1747 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1749 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-touch-selector.c (_default_print_func): reorder
1752 concatenation for clarity.
1754 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1756 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1757 for multicolumn selectors.
1759 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1761 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1766 * configure.ac: Bump version.
1767 * debian/changelog: Updates.
1769 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1774 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1776 * configure.ac: removed libcangerra-gtk dependency
1777 * debian/control: removed libcanberra-gtk dependency
1778 * src/Makefile.am: removed libcanberra gtk related flags
1779 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1780 context, and manage a global canberra context instead
1782 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1784 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1786 Patch by Daniel Borgmann (danielb@openismus.com)
1788 * src/hildon-edit-toolbar.c:
1789 Adjust the left padding.
1790 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1791 Paint background of the edit toolbar.
1793 Fixes: NB#107897 (Patch to make editmodetoolbar background
1794 themeable and adjust margin)
1796 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1798 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1800 * src/hildon-program.c (hildon_program_update_top_most):
1801 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1803 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1804 change when the user tasks in/out of an application)
1806 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1808 * configure.ac: added libcangerra-gtk dependency
1809 * debian/control: added libcanberra-gtk dependency
1810 * src/Makefile.am: added libcanberra gtk related flags
1811 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1814 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1816 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-program.c (hildon_program_remove_window)
1819 (hildon_program_add_window): Add checks for the window
1820 parameter. Don't decrease the window counter if the window is not
1823 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1825 * src/hildon-pannable-area.c,
1826 (hildon_pannable_area_realize): Fixed position of the event_window
1827 in the realize method.
1829 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-app-menu-private.h
1832 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1833 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1834 (hildon_app_menu_key_press, hildon_app_menu_init)
1835 (hildon_app_menu_finalize):
1836 Make sure that all idle functions are removed when the widget is
1839 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1841 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1846 * configure.ac: Bump version.
1847 * debian/changelog: Updates.
1849 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1851 * src/hildon-entry.c
1852 (+hildon_entry_show_placeholder),
1853 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1854 that replace hildon_entry_update_contents().
1855 (hildon_entry_set_text),
1856 (hildon_entry_set_placeholder),
1857 (hildon_entry_focus_in_event),
1858 (hildon_entry_focus_out_event): Determine when it is needed
1859 either to show or hide the placeholder and call the above methods.
1861 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1862 when the placeholder text is already set)
1864 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1867 simple GdkPixbufAnim using the new icons for the banner.
1868 (hildon_banner_show_animation): Use the above mentioned method to
1869 create the animation widget.
1871 Fixes: NB#103564 (Make hildon animation banner use individual
1872 image files as the animation)
1874 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_leave_notify_event): Check if the child is NULL
1878 to avoid sending the leave.
1880 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 (hildon_pannable_area_class_init),
1884 (hildon_pannable_leave_notify_event): Added a handler of the
1885 leave-notify-signal to consider when no motion notify before
1888 Fixes: NB#107494 (Items stay selected when clicking and moving
1889 away when inside pannable area)
1891 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: Bump version.
1897 * debian/changelog: Updates.
1899 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1901 Patch by Alberto Garcia (agarcia@igalia.com)
1903 * src/hildon-date-button.c,
1904 (hildon_date_button_class_init),
1905 (hildon_date_button_init): Removed the construct property handling
1906 and created a default selector in the init method.
1907 * src/hildon-picker-button.c,
1908 (hildon_picker_button_class_init): Removed the construct flag of the
1911 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-main.c (hildon_init):
1914 Don't allow hildon_init() to be called more than once.
1916 Fixes: NB#106607 (hildon_init should issue error message upon
1919 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1921 * examples/hildon-pannable-area-touch-list-example.c
1922 * examples/hildon-pannagle-area-touch-grid-example.c
1923 * examples/hildon-edit-toolbar-example.c
1924 * examples/hildon-touch-selector-multi-cells-example.c
1925 Removed the call to gtk_rc_parse_string, as it is not required since
1928 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1930 * src/hildon-pannable-area.c,
1931 (hildon_pannable_area_class_init): Modified the default panning
1932 threshold of the widget to 6px.
1934 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1935 than the threshold value ) within the button is not sending the
1938 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1941 for the treeview in the new column. This way, the touch list will never
1944 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1945 be selected manually for the HW keys to work)
1947 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1949 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1950 comparison instead of using strcmp(). Fixes a compiler warning as well.
1952 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1954 * doc/hildon-docs.sgml: Do not set the library version in the
1955 document title, use the releaseinfo tag for that purpose instead.
1957 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1960 Do not jump to the first item if the text in the entry is removed.
1962 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1967 * configure.ac: Bump version.
1968 * debian/changelog: Updates.
1970 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-entry.c (hildon_entry_refresh_contents):
1973 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1974 Use "ReversedSecondaryTextColor" for the placeholder text.
1976 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-text-view.c: Fix compilation warning.
1980 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1982 * src/hildon-button.c (hildon_button_class_init): Don't make
1983 "title" and "value" construction properties, to prevent them from
1984 overwriting labels set from derived classes.
1986 * src/hildon-picker-button.c
1987 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1988 (hildon_picker_button_class_init): Make touch-selector a
1989 construction property.
1991 * src/hildon-date-button.c (hildon_date_button_class_init)
1992 (+hildon_date_button_constructed): Add a default date selector if
1995 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-touch-selector.c: Small documentation fixes.
1999 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2001 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2003 * src/hildon-entry.c (hildon_entry_refresh_contents),
2004 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2005 widget name, set the logical color directly instead and a boolean
2006 showing_placeholder instead.
2007 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2008 use the widget name here either.
2010 Fixes: NB#105678 (HildonTextView should use logical colours
2011 instead of setting widget name)
2013 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2015 Patch by Daniel Elster (danielk@openismus.com)
2017 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2018 Add user_data parameter.
2019 (hildon_touch_selector_set_print_func_full): New function akin
2020 hildon_touch_selector_set_print_func() but with support for user
2021 data and a destroy callback.
2022 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2023 to clean up the print function user data.
2024 (hildon_touch_selector_class_init): Install dispose function.
2025 (HildonTouchSelectorPrivate::print_user_data),
2026 (HildonTouchSelectorPrivate::print_destroy_func): New private
2028 (hildon_touch_selector_init): Initialize new private members.
2029 (hildon_touch_selector_get_current_text): Pass along user data
2030 to the print function.
2031 (_default_print_func): Add dummy user_data to parameter list.
2032 * hildon-date-selector.c (_custom_print_func): ditto,
2033 * hildon-time-selector.c (_custom_print_func): ditto,
2034 * hildon-touch-selector-entry.c
2035 (hildon_touch_selector_entry_print_func): ditto.
2037 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2039 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2041 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2043 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2045 * src/hildon-pannable-area.c,
2046 (hildon_pannable_area_init),
2047 (hildon_pannable_area_button_press_cb),
2048 (hildon_pannable_area_motion_notify_cb): We have added code to
2049 handle the leave and enter events when using the motion events.
2051 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2053 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-date-button.c (hildon_date_button_get_date)
2056 (hildon_date_button_set_date): Make sure that the button has a
2059 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2061 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-pannable-area.c,
2064 (hildon_pannable_area_class_init),
2065 (hildon_pannable_area_calculate_velocity): Modify the use of the
2066 force and adapt the value.
2068 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2071 (hildon_app_menu_class_init): Hide the menu if it receives a
2072 delete-event, but don't destroy it
2074 Fixes: NB#104485 (Not able to address the call when application
2075 menu is opened at background)
2077 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-app-menu.c
2080 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2081 Remove the "external-border" style property, let the menu take its
2082 natural size (or the one set by the window manager)
2083 (hildon_app_menu_repack_items):
2084 Don't reshow the menu, avoid flickers.
2086 Partially fixes NB#94957 (Smoothly opened application menu)
2088 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2093 * configure.ac: Bump version.
2094 * debian/changelog: Updates.
2096 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2098 * src/hildon-pannable-area.c,
2099 (hildon_pannable_area_motion_notify_cb): We control that the
2100 direction error margin is used just in case the movement is
2101 allowed in the other direction.
2103 Fixes: NB#105012 (buttons inside a pannable area not getting
2104 release event when dragging/releasing)
2106 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-pannable-area.c,
2109 (hildon_pannable_area_class_init),
2110 (hildon_pannable_area_get_property),
2111 (hildon_pannable_area_set_property),
2112 (hildon_pannable_area_initial_effect),
2113 (hildon_pannable_axis_scroll),
2114 (hildon_pannable_area_button_release_cb): Reviewed the
2115 overshooting effect, now it has its own max
2116 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2117 speed when bouncing.
2119 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2124 * configure.ac: Bump version.
2125 * debian/changelog: Updates.
2127 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2129 * src/hildon-pannable-area.c,
2130 (hildon_pannable_area_class_init): Changed the max speed, now
2131 users can launch the widget very fast. Reduced the default force,
2132 that way it is easier to control the launch speed.
2134 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_button_release_cb): Removed this check
2138 because it causes problems when the device is overloaded.
2140 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2142 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2143 add a current_text field to store the text entered in the
2144 touch selector entry.
2145 (_clean_current_selection): clean up the current text as well.
2146 (_save_current_selection), (_restore_current_selection):
2147 Save/restore the text in the entry if the selector is a
2148 HildonTouchSelectorEntry.
2150 Fixes: NB#102541 (value entered in the touch selector entry is not
2151 shown when opened for second time)
2153 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2155 * doc/hildon-sections.txt:
2156 * src/hildon-touch-selector-entry.c
2157 (+hildon_touch_selector_entry_get_entry):
2158 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2160 Fixes: NB#104815 (I need accessor to the entry inside
2161 HildonTouchSelectorEntry)
2163 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2166 (hildon_app_menu_class_init):
2167 New "filter-vertical-spacing" style property.
2169 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-find-toolbar.c
2172 (hildon_find_toolbar_emit_close)
2173 (hildon_find_toolbar_emit_invalid_input)
2174 (hildon_find_toolbar_entry_activate):
2175 Use g_signal_emit() instead of g_signal_emit_by_name()
2177 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2179 Patch by Mox Soini (ext-mox.soini@nokia.com)
2181 * tests/TEST-CASES.txt
2182 * tests/check-hildon-banner.c
2183 * tests/check-hildon-note.c
2184 * src/hildon-banner.c
2185 * src/hildon-code-dialog.c
2186 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2187 * src/hildon-time-editor.c
2188 * examples/hildon-lookup-example.c (main):
2189 Replace obsolete icon names with new ones.
2191 * src/hildon-find-toolbar-private.h:
2192 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2193 (-hildon_find_toolbar_emit_search):
2194 Remove find button and change icon of close button.
2196 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2198 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-time-button.c (hildon_time_button_new_step):
2201 Use the "touch-selector" property to set the selector directly
2202 when creating the object.
2204 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2206 Added a new example application that allows tuning the pannable
2207 area and replaced defines with properties in order to simplify the
2208 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2209 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2210 PROP_DIRECTION_ERROR_MARGIN.
2212 * examples/hildon-pannable-area-tuning-example.c: New example
2214 * src/hildon-pannable-area.c,
2215 (hildon_pannable_area_class_init),
2216 (hildon_pannable_area_init),
2217 (hildon_pannable_area_get_property),
2218 (hildon_pannable_area_set_property),
2219 (hildon_pannable_area_launch_fade_timeout),
2220 (hildon_pannable_area_adjust_value_changed),
2221 (hildon_pannable_axis_scroll),
2222 (hildon_pannable_area_motion_notify_cb),
2223 (hildon_pannable_area_scroll_cb),
2224 (hildon_pannable_area_button_release_cb): We have converted some
2225 of the defines that control the widget to properties to simplify
2228 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-app-menu.c (hildon_app_menu_map)
2231 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2232 so it's closed if a new window appears.
2234 Fixes: NB#104485 (Not able to address the call when application
2235 menu is opened at background)
2237 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2239 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2240 missing 'break' statement in in 'case' construct to avoid
2243 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-touch-selector-entry.c
2246 (hildon_touch_selector_entry_get_property),
2247 (hildon_touch_selector_entry_set_property): Add missing 'break'
2248 statements in in 'case' constructs to avoid incorrect warnings.
2250 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-time-editor.c
2253 (hildon_time_editor_get_time_separators): Do not crash if
2254 the first label is NULL.
2256 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-date-selector.c (_month_days): Check for month to be
2259 strictly less than 12, since otherwise we may overrun the array.
2261 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-date-button.c (+hildon_date_button_new_full)
2264 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2265 (hildon_date_button_init): Set the date selector using a
2266 construction property, to make it happen after HildonButton's
2267 "value" property is set.
2269 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2270 current date by default)
2272 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2274 * doc/hildon-sections.txt
2275 * src/hildon-program.c
2276 * src/hildon-stackable-window.c
2277 * src/hildon-window.c:
2278 Documentation updates
2280 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2283 (hildon_window_stack_new, +hildon_window_stack_set_property)
2284 (+hildon_window_stack_get_property)
2285 (hildon_window_stack_class_init)
2286 (+hildon_window_stack_set_window_group)
2287 (+hildon_window_stack_get_window_group):
2288 Make the window group a construction property.
2290 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2292 * doc/hildon-sections.txt
2293 * src/hildon-stackable-window-private.h
2294 * src/hildon-stackable-window.h
2295 * src/hildon-stackable-window.c
2296 (-hildon_stackable_window_set_app_menu)
2297 (-hildon_stackable_window_get_app_menu)
2298 (-hildon_stackable_window_toggle_menu)
2299 (-hildon_stackable_window_finalize)
2300 (hildon_stackable_window_class_init)
2301 (hildon_stackable_window_init)
2302 * src/hildon-window-private.h
2303 * src/hildon-window.h
2304 * src/hildon-window.c (hildon_window_init)
2305 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2306 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2307 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2308 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2309 Moved all HildonAppMenu code to HildonWindow. The menu does not
2310 require a HildonStackableWindow anymore.
2312 * src/hildon-app-menu.c
2313 * src/hildon-program.c
2314 * examples/hildon-app-menu-example.c (main):
2315 Update examples and documentation to reflect HildonAppMenu
2318 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-remote-texture.c
2321 * src/hildon-animation-actor.c:
2322 Don't include unused private headers.
2324 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2326 * src/hildon-program-private.h
2327 * src/hildon-program.c
2328 (hildon_program_set_common_menu)
2329 (hildon_program_get_common_menu)
2330 (hildon_program_set_common_app_menu)
2331 (hildon_program_get_common_app_menu):
2332 Change common menu pointers from GtkWidget* to GtkMenu* and
2333 HildonAppMenu* to avoid unnecessary casts.
2335 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-window.c (hildon_window_set_main_menu):
2338 Removed incorrect 'Since:' tag
2340 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2342 * src/hildon-pannable-area.c,
2343 (hildon_pannable_area_calculate_velocity): We use now the
2344 RATIO_TOLERANCE here to check the distance, fixed typo in the
2346 (hildon_pannable_area_motion_notify_cb): We have to set the type
2347 and time even if we are not sending the motion.
2349 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2351 * doc/hildon-sections.txt
2352 * src/hildon-app-menu.h
2353 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2354 (+hildon_app_menu_get_filters): New methods to get the contents of
2357 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2360 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-app-menu.c (hildon_app_menu_popup):
2365 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-window.h
2368 * src/hildon-window.c (+hildon_window_get_main_menu)
2369 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2370 and deprecated hildon_window_get_menu().
2372 * src/hildon-stackable-window.h
2373 * src/hildon-stackable-window.c
2374 (+hildon_stackable_window_set_app_menu)
2375 (+hildon_stackable_window_get_app_menu)
2376 (hildon_stackable_window_set_main_menu): Created
2377 hildon_stackable_window_{get,set}_app_menu() and deprecated
2378 hildon_stackable_window_set_main_menu().
2380 * doc/hildon-sections.txt
2381 * examples/hildon-app-menu-example.c (main)
2382 * src/hildon-app-menu.c
2383 * src/hildon-program.c:
2384 Updated examples and documentation.
2386 Fixes: NB#103758 (No way to obtain a menu from a
2387 HildonStackableWindow)
2389 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2394 * configure.ac: Bump version.
2395 * debian/changelog: Updates.
2397 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2399 * examples/hildon-remote-texture-example.c: Include
2400 hildon-remote-texture.h explicitely.
2401 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2402 applications not defining _XOPEN_SOURCE which don't require this header.
2404 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2406 * doc/hildon-sections.txt
2407 * src/hildon-app-menu.h
2408 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2409 New function to pop up a HildonAppMenu
2411 * src/hildon-stackable-window.c
2412 (hildon_stackable_window_toggle_menu):
2413 Use hildon_app_menu_popup() to show the menu.
2415 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-app-menu.c (hildon_app_menu_show)
2418 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2419 menu if there's another window between it and its parent window.
2421 Fixes: NB#100468 (Application menu window is launched even when a
2422 new secondary-window/dialog is pending to be shown/realized)
2424 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-window-stack.c (hildon_window_stack_push)
2427 (hildon_window_stack_pop_and_push):
2428 Don't forget to push/pop the first window.
2429 Reverse the window list before calling _push_list()
2431 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-picker-button.h
2434 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2435 Remove "value_changed" slot to avoid ABI breakage
2437 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2439 * src/hildon-pannable-area.c,
2440 (hildon_pannable_area_realize),
2441 (hildon_pannable_area_unrealize),
2442 (hildon_pannable_draw_vscroll),
2443 (hildon_pannable_draw_hscroll): Changed the method to handle the
2444 GC used to draw the transparent scrollbar, this way we avoid
2445 creating the GC all the time when drawing the scrollbars.
2447 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2449 * src/hildon-pannable-area.c,
2450 (hildon_pannable_area_init),
2451 (hildon_pannable_area_remove): Removed some unnecessary casts.
2452 (hildon_pannable_area_dispose): Disconnected some signals before
2453 releasing the adjustments.
2455 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2458 Make sure that all widgets contained in the toolbar are shown.
2460 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2462 * doc/hildon-sections.txt
2463 * src/hildon-picker-button.h
2464 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2465 (_selection_changed, hildon_picker_button_on_dialog_response)
2466 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2467 New hildon_picker_button_value_changed() method.
2470 * src/hildon-picker-button-private.h
2471 * src/hildon-picker-button.c (hildon_picker_button_init)
2472 (+hildon_picker_button_disable_value_changed): Add protected
2473 function for disabling the "value-changed" signal.
2475 * src/hildon-date-button.c (hildon_date_button_set_date):
2476 Don't emit "value-changed" for each one of the three columns.
2478 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2479 before actual change of values)
2481 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2483 * src/hildon-pannable-area.c,
2484 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2485 for the treeview overshooting.
2487 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-banner.c (+hildon_banner_bind_style):
2490 Renamed from hildon_banner_bind_label_style(), now naming the
2491 banner itself as well.
2492 (hildon_banner_show_information),
2493 (hildon_banner_show_information_with_markup),
2494 (hildon_banner_show_animation), (hildon_banner_show_progress):
2495 Name the widgets and labels, based on their type.
2497 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2500 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-note.c (hildon_note_set_property): call
2503 hildon_note_rename() on HildonNote:note-type set.
2504 (hildon_note_rename): Name the note and its label, based on the
2505 HildonNote:note-type property.
2507 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2510 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2512 * src/hildon-pannable-area.c,
2513 (hildon_pannable_area_class_init),
2514 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2515 panning parameters, increased SPS and deceleration factor. Added
2516 also a margin to control fake directions.
2518 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2520 Patch by Sven Herzberg (sven@imendio.com)
2522 * configure.ac: Add missing AM_PROG_CC_C_0
2523 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2525 See NB#101420 (Update unit tests and fix make check)
2527 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2529 This patch was applied before but reverted because it caused
2530 problems, we have changed the main condition and tested the
2531 regressions we detected before and they work ok. We have done a
2532 complete review of the topmost algorithm in order to get a more
2535 * src/hildon-pannable-area.c,
2536 (hildon_pannable_area_get_topmost): Added a new parameter to
2537 filter the the windows that do not include those events.
2538 (hildon_pannable_area_button_press_cb),
2539 (hildon_pannable_area_button_release_cb),
2540 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2541 topmost function, we have added the new parameter.
2543 Fixes: NB#97458 (Pannable area prevents propagation of button
2546 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2548 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2549 if all columns in the selector have an item selected.
2550 (_on_dialog_response): Stop "response" signal emission if there is
2551 any selector column without selected items.
2553 Fixes: NB#101889 (Picker dialog should not close when nothing is
2554 selected in multiple selection list)
2556 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2558 * src/hildon-font-selection-dialog.c
2559 (hildon_font_selection_dialog_class_init),
2560 (hildon_font_selection_dialog_init): Remove the preview
2561 button and dialog, since previewing with default theming is likely
2562 to be overcomplicated. The :preview property has now no effect.
2563 Update documentation blurbs to inform about this.
2565 Fixes: NB#92297 (Preview content is not clearly visible for
2566 default colour text)
2568 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2570 Reviewed the geometry that handles the children size and
2571 scrollbar, now it tries a size and reviews the results depending
2572 on the scrollbars visibility.
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_realize): Fixed a typo.
2576 (hildon_pannable_area_child_allocate_calculate): Added this
2577 function to calculate the child allocation.
2578 (hildon_pannable_area_size_allocate): Reviewed the allocation
2580 (hildon_pannable_area_check_scrollbars),
2581 (hildon_pannable_area_refresh): Refactored refresh function, this
2582 way we can call the code handling the scrollbars without causing a
2583 size_request, it is interesting in the allocate.
2584 (hildon_pannable_area_init): Replace the callbacks of the
2585 value_changed and changed signals to propertly deal with the
2587 (hildon_pannable_area_grab_notify),
2588 (hildon_pannable_area_initial_effect),
2589 (hildon_pannable_area_launch_fade_timeout),
2590 (hildon_pannable_area_adjust_changed),
2591 (hildon_pannable_area_adjust_value_changed),
2592 (hildon_pannable_area_redraw),
2593 (hildon_pannable_area_button_press_cb),
2594 (hildon_pannable_area_button_release_cb),
2595 (hildon_pannable_area_scroll_cb),
2596 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2597 code and use the new functions adjust_changed and
2598 adjust_value_changed.
2600 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2601 Contact editor dialog)
2603 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2608 * configure.ac: Bump version.
2609 * debian/changelog: Updates.
2611 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2613 * src/hildon-pannable-area.c,
2614 (hildon_pannable_area_get_topmost),
2615 (hildon_pannable_area_button_press_cb),
2616 (hildon_pannable_area_button_release_cb),
2617 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2618 topmost function adding the event mask. We have to try a
2619 differente approach because it is still causing problems (NB#9745,
2622 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-banner.c:
2625 Update the maximum width of timed banners.
2626 (force_to_wrap_truncated): Enforce the maximum text width if the
2629 Fixes: NB#102413 (The text margins (wrapping) in information
2630 banner should be HILDON_MARGIN_TRIPLE)
2632 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2634 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2636 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2637 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2638 bound when calculating the scroll indicator position.
2640 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2641 treat ->lower correctly)
2643 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2646 expose event handling, since it is not necessary to draw the focus
2649 Fixes: NB#102467 (Do not show highlight on the text in
2652 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2655 full height of the toolbar for the button and the label.
2657 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2659 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2660 padding before the label and after the button.
2662 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2666 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2667 Add a GtkVSeparator between the button and the back arrow.
2668 Let the button have automatic size.
2669 Set a name to the widget for theming handling.
2671 Fixes: NB#101793 (Make edit toolbar the same height as window
2672 title bar (use title area theming))
2674 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-helper.c (attach_new_color_element): Fix memory
2679 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2681 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2683 * examples/hildon-button-example.c (common_buttons_window): Don't
2686 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2688 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2689 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2691 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-gtk.c: Check that the window is realized.
2695 Fixes: NB#102225 (Crash setting the progress indicator to a non
2698 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2701 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2702 instead of modifying the one in the widget style.
2704 Fixes: NB#101043 (Second row of all the command button are
2705 displayed in transparent mode.)
2707 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-date-button.c
2710 * src/hildon-time-button.c: Add gettext macros
2712 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-date-button.c (hildon_date_button_new):
2715 * src/hildon-time-button.c (hildon_time_button_new_step):
2716 Use new logical strings to set the button default title.
2718 Fixes: NB#99915 (Date and Time options are not localised in Date
2721 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2723 * src/hildon-pannable-area.c
2724 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2725 the PANNING_THRESHOLD.
2727 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2729 * src/hildon-pannable-area.c,
2730 (hildon_pannable_area_class_init): Increased the maximum speed.
2731 (hildon_pannable_area_get_property),
2732 (hildon_pannable_area_set_property),
2733 (hildon_pannable_area_timeout): Added a new low friction mode, it
2734 allows the user avoid friction when launching the widget fast
2735 enough. It is interesting to traverse long lists.
2737 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2740 (+hildon_stackable_window_delete_event): Ignore delete events if
2741 the window is not the topmost one.
2743 Fixes: NB#101698 (Back button long press and delete-event handling)
2745 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2747 * src/hildon-pannable-area.c,
2748 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2749 gtk-dnd-drag-threshold, it was too big. We have defined our own
2750 dnd define and set a smaller value: PANNIG_THRESHOLD.
2752 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2755 user-defined icons, use always the default one.
2757 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2759 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2761 This patch was applied before but reverted because it caused
2762 problems, we have changed the main condition and tested the
2763 regressions we detected before and they work ok.
2765 * src/hildon-pannable-area.c,
2766 (hildon_pannable_area_get_topmost): Added a new parameter to
2767 filter the the windows that do not include those events. Added
2768 also a condition when finding the window to filter windows that do
2769 not ask for those events.
2770 (hildon_pannable_area_button_press_cb),
2771 (hildon_pannable_area_button_release_cb),
2772 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2773 topmost function, we have added the new parameter.
2775 Fixes: NB#97458 (Pannable area prevents propagation of button
2778 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2780 * tests/check-hildon-color-button.c (START_TEST): do not leak
2783 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2785 * src/hildon-font-selection-dialog.c
2786 (hildon_font_selection_dialog_get_preview_text): Return NULL
2787 instead of FALSE on the g_return_val_if_fail().
2789 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2792 * src/hildon-date-selector.c
2793 (hildon_date_selector_select_current_date):
2794 Do not compare unsigned integers to be greater than or equal 0,
2795 because it's always TRUE.
2797 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2800 (hildon_date_selector_constructor): Do not select the current
2801 date until we are handle the "changed" signal, to avoid having bogus
2802 elements in the days model.
2804 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2806 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2807 for num_days, since _month_days() can return a negative value.
2809 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-caption.c (hildon_caption_size_allocate):
2812 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2813 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2815 Initialize allocation variables to 0, to avoid eventually using
2816 unitialized variables.
2818 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-bread-crumb-trail.c
2821 (hildon_bread_crumb_trail_size_allocate):
2822 * src/hildon-calendar.c (hildon_calendar_set_background):
2823 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2824 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2825 * src/hildon-seekbar.c (hildon_seekbar_init):
2826 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2827 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2828 * src/hildon-touch-selector-entry.c
2829 (hildon_touch_selector_get_text_from_model):
2830 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2831 * src/hildon-window.c (hildon_window_finalize):
2833 Remove many unused variables.
2835 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-seekbar.c: (hildon_seekbar_init),
2838 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2840 Remove unnecessary g_assert() calls.
2842 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2844 * src/hildon-caption.c: (hildon_caption_expose),
2845 (hildon_caption_set_property), (hildon_caption_init),
2846 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2847 (hildon_caption_size_request), (hildon_caption_size_allocate),
2848 (hildon_caption_forall), (hildon_caption_set_separator),
2849 (hildon_caption_activate), (hildon_caption_set_child_expand),
2850 (hildon_caption_set_label_text),
2851 (hildon_caption_get_label_alignment):
2853 Remove unnecessary g_assert() calls.
2855 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-banner.c
2858 (hildon_banner_map, hildon_banner_init): Make banner temporary
2859 before mapping it to avoid closing other temporary windows, but
2860 make it non-temporary afterwards to avoid being closed by other
2861 non-temporary windows.
2862 (-hildon_banner_client_event, hildon_banner_init):
2863 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2865 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2868 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2873 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2875 * src/hildon-remote-texture.c
2876 * src/hildon-remote-texture.h
2877 * src/hildon-remote-texture-private.h
2878 * examples/hildon-remote-texture-example.c:
2879 Updates/fixes to remote-texture and its example.
2881 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2883 Patch by Mox Soini (ext-mox.soini@nokia.com)
2885 * src/hildon-code-dialog.c: Update logical id.
2886 * src/hildon-set-password-dialog.c: Update logical id.
2888 Fixes: NB#100646 (Logical strings is shown for ok in set
2889 password,Password needed dialogs)
2891 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2894 * src/hildon-remote-texture.c
2895 * src/hildon-remote-texture.h
2896 * src/hildon-remote-texture-private.h
2898 Added remote texture widget (for Clutter shared memory textures)
2900 * examples/hildon-remote-texture-example.c
2901 * examples/Makefile.am
2902 Added example file for remote texture usage
2904 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2906 * configure.ac: post release version bump.
2907 * debian/changelog: version bump.
2909 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2914 * configure.ac: Bump version.
2915 * debian/changelog: Updates.
2917 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-date-selector.c (hildon_date_selector_init)
2920 (hildon_date_selector_constructor): Don't connect to the "changed"
2921 signal until the selector is completely constructed.
2923 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2925 * src/hildon-touch-selector.c: (_create_new_column),
2926 (hildon_touch_selector_append_column),
2927 (hildon_touch_selector_set_column_selection_mode),
2928 (hildon_touch_selector_set_active),
2929 (hildon_touch_selector_select_iter):
2930 Emit the HildonTouchSelector::changed signal every time selection
2931 is changed in any of the methods above. This behavior was already
2932 documented but not fully functional.
2934 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2935 selection is programmatically changed)
2937 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2939 * doc/hildon-sections.txt: Remove obsolete icon
2940 sizes from here as well.
2942 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2944 * examples/hildon-stackable-window-example.c (add_window): Remove
2947 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-app-menu.c
2950 (hildon_app_menu_show): Check whether the parent window of a menu
2951 is topmost before popping it up.
2953 Fixes: NB#100468 (Application menu window is launched even when a
2954 new secondary-window/dialog is pending to be shown/realized.)
2956 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2958 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2961 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2963 Patch by Mox Soini (ext-mox.soini@nokia.com)
2965 * src/hildon-banner.c: (hildon_banner_show_animation):
2966 use stylus size instead of obsolete note size.
2967 * src/hildon-defines.h: Update icon sizes.
2969 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-touch-selector-entry.c:
2972 (hildon_touch_selector_entry_init): Disable unsupported
2974 (hildon_touch_selector_entry_get_text_column): Emit a warning
2975 if an unsupported input modes is used and explicitile state
2976 these modes in the documentation.
2978 Fixes: NB#99802 (Hildon touch selector entry not working properly
2979 for some of the input modes)
2981 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2983 * src/hildon-pannable-area.c,
2984 (hildon_pannable_area_init): Added the changed signal handlers of
2987 Fixes: NB#100320 (HildonPannableArea does not listen to
2988 GtkAdjustment "change" signals)
2990 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2992 * doc/hildon-sections.txt
2993 * src/hildon-window-private.h
2994 * src/hildon-window.h
2995 * src/hildon-window.c (hildon_window_init)
2996 (hildon_window_realize, hildon_window_unrealize)
2997 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2998 (hildon_window_size_request, hildon_window_size_allocate)
2999 (hildon_window_forall, hildon_window_show_all)
3000 (hildon_window_destroy, +paint_edit_toolbar)
3001 (+hildon_window_set_edit_toolbar):
3002 New hildon_window_set_edit_toolbar() method, to add a
3003 HildonEditToolbar to a window without having to pack it manually.
3005 Reorganize hildon_window_size_allocate()
3007 * src/hildon-edit-toolbar.c: Update documentation.
3009 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3010 example to use the new API.
3012 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3014 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3016 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3017 Remove from stack before calling parent's hide.
3019 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3022 window is removed from the middle of the stack, update the
3023 transiency of the previous one.
3025 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3028 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3031 block/unblock the signal handler if it's not actually being used.
3032 Fixes some critical warnings.
3034 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3036 Based on a patch by Iván Gómez (igomez@igalia.com)
3038 * src/hildon-banner.c
3042 * src/hildon-pannable-area.c
3043 * src/hildon-picker-dialog.c
3044 * src/hildon-wizard-dialog.h
3045 * src/hildon-wizard-dialog.c: Documentation updates.
3047 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3048 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3050 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3052 * configure.ac: post release version bump.
3053 * debian/changelog: version bump.
3055 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3060 * configure.ac: Bump version.
3061 * debian/changelog: Updates.
3063 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3066 a stock icon nor change the relief of the back arrow.
3068 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3069 graphics from theme)
3071 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-button.c (hildon_button_set_alignment): Use
3074 priv->alignment if the button has no child yet.
3076 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3078 * src/hildon-button.c: (hildon_button_init): Set the
3079 button style during initialization to give it the proper
3082 Fixes: NB#99713 (HildonButton value label color is wrong)
3084 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3086 * src/hildon-touch-selector.c: Document
3087 hildon_touch_selector_center_on_selected()
3089 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3092 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3093 all menu items, but not the menu itself.
3094 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3095 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3096 items after adding them to the menu so keyboard accelerators work.
3097 (hildon_app_menu_show): Don't show the menu if it contains items
3098 but none of them are visible.
3100 * examples/hildon-app-menu-example.c (create_menu): Use
3101 gtk_widget_show_all() to show all menu items.
3103 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-picker-dialog.c:
3106 (-_update_title_on_selector_changed_cb),
3107 (-_dialog_update_title): Removed.
3108 (_select_on_selector_changed_cb), (_on_dialog_response),
3109 (on_selector_columns_changed): Do not update the dialog title.
3110 (setup_interaction_mode): Do not connect to
3111 HildonTouchSelector::changed signal if there's a "done" button, as
3112 the dialog title doesn't need to be updated.
3114 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3117 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3119 Patch by Kristian Rietveld (kris@imendio.com)
3121 * src/hildon-touch-selector.c: (_create_new_column): Use new
3122 GtkTreeView::hildon-row-tapped signal to react to user interactions
3123 instead of ::changed.
3125 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3126 with some dynamic tree model)
3128 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3131 (+screen_size_changed, +label_size_request)
3132 (hildon_note_class_init): Make the Hildon information note have a
3133 minimum height, and make its text hvae a maximum width.
3135 Fixes: NB#98614 (Hildon information note (background) should have
3136 minimum height and maximum text width)
3138 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-banner.h
3141 * src/hildon-banner.c (hildon_banner_show_information)
3142 (hildon_banner_show_informationf)
3143 (hildon_banner_show_information_with_markup): Update documentation
3144 to reflect that the icon_name parameter is not used anymore.
3145 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3146 Remove all code from these functions and mark them as deprecated.
3147 (hildon_banner_show_progress): Mark as deprecated.
3149 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3151 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-pannable-area.c,
3154 (hildon_pannable_area_class_init),
3155 (tranparency_color),
3156 (hildon_pannable_draw_vscroll),
3157 (hildon_pannable_draw_hscroll),
3158 (hildon_pannable_area_expose_event): Added a new way to render the
3159 scrollbars of the pannable area avoiding using cairo at all. This
3160 way we improve the performance of the pannable area rendering. The
3161 cairo rendering procedure is still in the code, we can control
3162 which one to use changing the value of the define
3163 USE_CAIRO_SCROLLBARS.
3165 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3167 * configure.ac: post release version bump.
3168 * debian/changelog: version bump.
3170 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3175 * configure.ac: Bump version.
3176 * debian/changelog: Updates.
3178 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3181 banners instead of destroying them when they receive a button
3184 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3186 Reverted commit 34028, it was causing regressions, probably the
3187 topmost condition is not correct, we have to check it in more
3188 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3189 propagation of button press events)
3191 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3194 that the selection is not empty before attempting to retrieve the
3195 current ampm selection.
3197 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-picker-button.c:
3200 (hildon_picker_button_on_dialog_response): Directly update the
3201 button contents when required instead of calling _selection_changed.
3203 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-program.c (hildon_program_update_top_most): Update
3206 'is-topmost' property also when wm_hints is not set.
3208 Fixes: NB#98383 (is-topmost signal is not emitted when task
3209 switcher is clicked.)
3211 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3213 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3217 * src/hildon-animation-actor.c,
3218 * src/hildon-animation-actor.h: Added the animation actor class,
3219 this widget represents an animation actor for WM-assisted
3220 animation effects in the Hildon framework.
3222 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-window-stack-private.h
3225 * src/hildon-window-stack.c
3226 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3227 Avoid calling gtk_widget_show() again indirectly from
3228 hildon_stackable_window_show()
3230 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3235 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3238 (hildon_time_selector_init): Move the construction of the hours and
3239 ampm columns to the constructor to preserve the order the columns
3242 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-picker-dialog.c:
3245 (hildon_picker_dialog_class_init): Connect a realize method.
3246 (+hildon_picker_dialog_realize): Setup the interaction mode here
3248 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3249 yet, do it during the realize instead.
3250 (_on_dialog_response):
3251 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3252 if the widget is not realized, to avoid the dialog response before it
3255 Avoid premature responses in the HildonPickerDialog that can cause it
3256 to be hidden before it's even shown.
3258 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3261 (on_selector_columns_changed), (requires_done_button),
3262 (+prepare_action_area), (setup_interaction_mode),
3263 (_hildon_picker_dialog_set_selector):
3265 Split the interaction mode setup into preparation of the
3266 action area (prepare_action_area()) and the connection of
3267 the signals in setup_interaction_mode() and update the code to
3270 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3272 * src/hildon-pannable-area.c,
3273 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3274 per second to 15, we will check if this is ok regarding
3277 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_axis_scroll): Avoid resize if we already have
3281 reached overshoot_max.
3283 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3285 * src/hildon-pannable-area.c,
3286 (hildon_pannable_area_init),
3287 (hildon_pannable_area_realize),
3288 (hildon_pannable_area_size_allocate),
3289 (hildon_pannable_area_map),
3290 (hildon_pannable_area_unmap),
3291 (hildon_pannable_draw_vscroll),
3292 (hildon_pannable_draw_hscroll),
3293 (hildon_pannable_area_expose_event),
3294 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3295 pannable are to avoid the expose events go to the window and
3296 redraw the window. We save this way that part of the stack and the
3297 paint_boxes. We had to change the positions of the elements when
3300 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3303 * src/hildon-color-chooser-dialog.c:
3304 (hildon_color_chooser_dialog_init):
3305 * src/hildon-font-selection-dialog.c:
3306 (hildon_font_selection_dialog_init),
3307 (hildon_font_selection_dialog_show_preview):
3308 * src/hildon-get-password-dialog.c:
3309 * src/hildon-login-dialog.c:
3310 * src/hildon-set-password-dialog.c:
3311 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3312 * src/hildon-time-picker.c: (hildon_time_picker_init):
3314 Remove obsolete logical string IDs and update to the appropriate ones.
3316 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3318 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3321 that happens if the window hasn't been realized yet.
3323 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3324 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3326 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3329 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3332 Fixes: NB#98537 (Device hangs in account settings dialog)
3334 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3336 * configure.ac: post release version bump.
3337 * debian/changelog: version bump
3339 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3344 * configure.ac: Bump version.
3345 * debian/changelog: Updates.
3347 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3349 Added a new function to the HildonTimeButton widget that allows to
3350 change the step of the minutes in the selector associated with the
3351 button: hildon_time_button_new_step
3353 * src/hildon-time-button.c,
3354 (hildon_time_button_init),
3355 (hildon_time_button_new),
3356 (hildon_time_button_new_step):
3357 * src/hildon-time-button.h: Added the new function and refactored
3359 * examples/hildon-time-button-example.c,
3360 (main): We have replaced the function without parameters with the
3361 function with the steps set to 5
3363 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3365 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3367 * src/hildon-time-selector.c,
3368 (hildon_time_selector_class_init),
3369 (hildon_time_selector_constructor),
3370 (hildon_time_selector_get_property),
3371 (hildon_time_selector_set_property),
3372 (_create_minutes_model),
3373 (hildon_time_selector_new_step),
3374 (hildon_time_selector_set_time),
3375 * src/hildon-time-selector.h: Added a new property to the
3376 HildonTimeSelector (minutes-step), we use that property to control
3377 the steps between the minutes in the list of the selector. We have
3378 added a new function to the API to create a widget changing the
3379 step: hildon_time_selector_new_step.
3381 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3383 * src/hildon-time-selector.c,
3384 (hildon_time_selector_class_init),
3385 (hildon_time_selector_constructor),
3386 (hildon_time_selector_init): Overrided the construct function when
3387 creating the time selector object. We have moved the minutes model
3388 handling code from the init to the new construction function:
3389 hildon_time_selector_constructor.
3391 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3393 * examples/hildon-date-button-example.c: (main): Use the new
3394 hildon_date_button_new_with_year_range() method in the example.
3395 * src/hildon-date-button.c:
3396 (+hildon_date_button_new_with_year_range): New public method
3397 to conveniently create a HildonDateButton with a custom year range
3398 in its HildonDateSelector.
3399 * src/hildon-date-button.h: Add the new public method definition.
3401 Fixes: NB#97908 (Not possible to change the year range in
3402 HildonDateSelector/HildonDateButton)
3404 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-date-selector.c:
3407 (+hildon_date_selector_set_property),
3408 (+hildon_date_selector_get_property),
3409 (hildon_date_selector_class_init): Install new properties "min-year"
3410 and "max-year" to define boundaries for the year column.
3411 (_create_year_model): Use the boundary properties to populate the model.
3412 (+hildon_date_selector_new_with_year_range): New public method to
3413 create a HildonDateSelector with a user defined year range.
3414 (hildon_date_selector_select_current_date): Use the new boundaries to
3415 calculate the iterator of current year.
3416 * src/hildon-date-selector.h: Add the new public method definition.
3418 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3420 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3421 Install a constructor method.
3422 (+hildon_date_selector_construct_ui): construct the widget.
3423 (+hildon_date_selector_constructor): new constructor.
3424 (+hildon_date_selector_init): move out widget construction code to
3425 the new constructor.
3427 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3430 that there's actually a month or year selected before obtaining them.
3431 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3432 of the HildonTouchSelector::changed signal, as it was emitted on every
3433 single item selection.
3435 Fix some warnings and possible crashers due to the selection restoring.
3437 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3440 the signal handlers only after creating the dialog instead of on every
3443 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-button.c (hildon_button_init)
3446 * src/hildon-check-button.c (hildon_check_button_init)
3447 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3448 focus when clicked by default.
3450 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3455 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3457 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3458 Alejandro G. Castro (alex@igalia.com)
3460 * src/hildon-picker-dialog.c:
3461 (hildon_picker_dialog_class_init): install new "center-on-show"
3463 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3464 (hildon_picker_dialog_set_property): add setter code for the new
3466 (hildon_picker_dialog_get_property): add getter code for the new
3468 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3469 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3472 Fixes: NB#92849 (Selected item is not always visible when
3473 HildonTouchSelector is shown)
3475 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3477 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3478 Alejandro G. Castro (alex@igalia.com)
3480 * src/hildon-touch-selector.c:
3481 (_create_new_column): Do not connect to the "realize" signal of the
3483 (hildon_touch_selector_append_column): center on the selected items
3484 when a new column is appended.
3485 (hildon_touch_selector_select_iter): Factor out the code to select a
3486 column to hildon_touch_selector_scroll_to().
3487 (+search_nearest_element): Method to retrieve the nearest selected
3488 element to the visible area of the pannable area in a column.
3489 (+on_realize_cb): scroll to the initially selected item.
3490 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3491 the pannable area is realized, otherwise delay this until it is.
3492 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3493 selected items of a given column.
3494 (+hildon_touch_selector_center_on_selected): Public method to center
3495 all columns on the nearest selected item.
3496 * src/hildon-touch-selector.h: Add definition for
3497 hildon_touch_selector_center_on_selected().
3499 Implement public API to ensure visibility of all selected items in
3500 a HildonTouchSelector.
3502 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3504 Fixed a problem in the fading when calling the scroll_to API, and
3505 improve scrollbar fading handling.
3507 * src/hildon-pannable-area.c,
3508 (hildon_pannable_area_grab_notify): avoid the timeout when the
3510 (hildon_pannable_area_button_press_cb),
3511 (hildon_pannable_area_motion_notify_cb): Code style changes.
3512 (hildon_pannable_area_button_release_cb): Review the conditions
3513 when releasing the mouse button to avoid unrequired fading
3515 (hildon_pannable_area_scroll_to): Do not calculate and set the
3516 velocity if the scroll is not required.
3518 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3521 Don't check whether the new selector is NULL: it cannot be.
3522 Hold a reference to the selector while doing the replacement.
3524 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3527 unnecessary size_request in a removed widget.
3529 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3532 an unnecessary reference tracking that was leaking.
3534 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3536 Added delayed motion notify event handling, this way we can
3537 discard redrawing if more than 25 events arrive per second.
3539 * src/hildon-pannable-area.c,
3540 (hildon_pannable_area_init): Initialized the new private atributes
3541 controlling this timeout
3542 (hildon_pannable_area_dispose): Remove the timeout that controls
3543 the motion notify events.
3544 (hildon_pannable_area_scroll): Added a condition to control the
3545 use of the acceleration.
3546 (hildon_pannable_area_motion_event_scroll_timeout),
3547 (hildon_pannable_area_motion_event_scroll): Added this two
3548 functions, they handle the motion notify events inside the
3550 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3551 to the scroll method with the new function.
3552 (hildon_pannable_area_button_release_cb): We have to remove the
3553 timeout handler and move to the last position if the last motion
3554 events were not handled.
3556 Fixes: NB#97028 (Pannable area updates on every motion event)
3558 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3560 * src/hildon-pannable-area.c,
3561 (hildon_pannable_area_get_topmost): Added a new parameter to
3562 filter the the windows that do not include those events. Added
3563 also a condition when finding the window to filter windows that do
3564 not ask for those events.
3565 (hildon_pannable_area_button_press_cb),
3566 (hildon_pannable_area_button_release_cb),
3567 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3568 topmost function, we have added the new parameter.
3570 Fixes: NB#97458 (Pannable area prevents propagation of button
3573 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3575 * src/hildon-pannable-area.c,
3576 (hildon_pannable_area_initial_effect): Added controls before
3577 launching the timeout and the idle functions.
3578 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3579 of the method, in some situations it can return with TRUE and 0 in
3581 (hildon_pannable_area_button_press_cb): We do not need to set
3582 DELAY for fading out here.
3584 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3586 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3589 post-cleaning if the selection is not NULL.
3591 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3594 all items before restoring the selection.
3596 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-touch-selector.c:
3599 (+hildon_touch_selector_unselect_all):
3600 * src/hildon-touch-selector.h: New API to unselect all items in a
3601 column of the touch selector.
3603 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3605 * src/hildon-pannable-area.c,
3606 (hildon_pannable_area_redraw): Added a call to the refresh
3607 function inside the redraw because apparently in some cases the
3608 change in the adjustment does not imply a size allocate.
3610 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3611 despite the view not being scrollable)
3613 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3616 leak. Check for NULL before attempting to set the window title.
3618 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3620 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3621 whether to show or not the 'Done' button each time the dialog is
3622 shown, as it depends on the HildonTouchSelector selection mode.
3624 Fixes: NB#96226 (In multiple selection mode Done button is shown
3625 sometimes in listpicker)
3627 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3629 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3630 for the number of columns in the HildonTouchSelector more than once.
3632 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-touch-selector.c: Minor documentation fixes.
3636 * src/hildon-picker-dialog.c (+_dialog_update_title)
3637 (_select_on_selector_changed_cb)
3638 (_update_title_on_selector_changed_cb)
3639 (on_selector_columns_changed): Update dialog title when there's no
3640 'Done' button and also when the number of columns in the selector
3644 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3645 (+_selection_changed, hildon_picker_button_on_dialog_response)
3646 (hildon_picker_button_selector_selection_changed)
3647 (+hildon_picker_button_selector_columns_changed)
3648 (hildon_picker_button_set_selector): Update button value and emit
3649 'value-changed' when the number of columns in the selector
3653 Fixes: NB#96225 (Dialog titles are not shown according to the
3654 values selected in the list picker)
3656 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3658 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3659 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3660 New "arrow-width" and "arrow-height" style properties to set the
3661 size of the arrow button.
3662 Set name of arrow button ("hildon-edit-toolbar-arrow").
3664 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3665 graphics from theme)
3667 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-picker-button.c:
3670 (hildon_picker_button_selector_selection_changed): Use
3671 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3672 the dialog is present.
3674 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3675 the selection is accepted in the dialog)
3677 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3679 * src/hildon-color-chooser.h
3680 * src/hildon-color-chooser-dialog.h:
3681 Added G_BEGIN_DECLS and G_END_DECLS
3683 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3685 (_clean_current_selection): plug a leak in the list.
3687 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-picker-dialog.c:
3690 (+free_path_list): Method to free a GList of GtkTreePaths.
3691 (_clean_current_selection), (_save_current_selection),
3692 (_restore_current_selection): Save the current selection in
3693 as a list of lists, to support multiple selection properly.
3695 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3697 patch by Claudio Saavedra (csaavedra@igalia.com)
3699 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3700 Store the press position.
3701 (+hildon_text_view_button_release_event): If the release position is
3702 close enough to the press position, move the cursor here. Otherwise,
3704 (hildon_text_view_class_init): Override GtkTextView press, release, and
3705 motion event handlers, disabling this way text selection through
3706 pointer interaction, and allowing the container widget to handle the
3709 Fixes: NB#95828 (HildonTextView functionality)
3711 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3713 Based on a patch by Iván Gómez (igomez@igalia.com)
3715 * src/hildon-button.[ch]
3716 * src/hildon-calendar.c
3717 * src/hildon-check-button.c
3718 * src/hildon-date-editor.c
3719 * src/hildon-date-selector.c
3720 * src/hildon-picker-button.c
3721 * src/hildon-time-editor.c
3722 * src/hildon-time-selector.c
3723 * src/hildon-touch-selector.[ch]:
3724 Documentation updates
3726 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3728 * src/hildon-pannable-area.c,
3729 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3730 threshold, it was required due to X events handling.
3732 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3734 * src/hildon-pannable-area.c,
3735 (hildon_pannable_area_grab_notify),
3736 (hildon_pannable_area_initial_effect),
3737 (hildon_pannable_area_button_press_cb),
3738 (hildon_pannable_area_button_release_cb),
3739 (hildon_pannable_area_scroll_cb),
3740 (hildon_pannable_area_scroll_to): Review the timeout management of
3741 the scrollbar, the frecuency was incorrectly set.
3743 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-picker-button.c:
3746 (+hildon_picker_button_on_dialog_response),
3747 (hildon_picker_button_clicked): Present the dialog instead of
3748 running it with gtk_dialog_run().
3750 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3753 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3756 (hildon_app_menu_finalize): When a window is hidden it doesn't
3757 emit notify::is-topmost, so make sure than the menu also
3758 disappears in that case.
3759 (parent_window_topmost_notify): Renamed from parent_window_hidden
3761 Fixes: NB#94460 (stackable window's menu is not closed when its
3764 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-touch-selector-entry.c:
3767 (+hildon_touch_selector_entry_set_input_mode),
3768 (+hildon_touch_selector_entry_get_input_mode):
3769 * src/hildon-touch-selector-entry.h: New methods to access the input
3770 mode in the selector's entry.
3772 Fixes: NB#93410 (API required for setting IM mode in
3773 HildonTouchSelectorEntry)
3775 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3777 * configure.ac: post release version bump.
3778 * debian/changelog: version bump
3780 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3785 * configure.ac: Bump version.
3786 * debian/changelog: Updates.
3788 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-touch-selector.c:
3791 (_hildon_touch_selector_has_multiple_selection): No need
3792 to initialize the variables here.
3794 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-note-private.h
3797 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3798 (hildon_note_finalize, hildon_note_rebuild): Close information
3799 notes when they receive a button press.
3801 Fixes: NB#89890 (Information notes does not get disappeared after
3804 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3806 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3807 mark from the wizard title, as it's not really necessary. Also,
3808 do not display the page title if not set.
3810 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3812 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3813 (parent_window_hidden): Use the window's "is-topmost" property to
3814 detect when to hide the menu.
3816 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3819 (hildon_app_menu_finalize): If the parent window of the menu is
3820 hidden, hide the menu too.
3822 Fixes: NB#94460 (stackable window's menu is not closed when its
3825 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3828 * debian/libhildon1-examples.install
3830 * examples/Makefile.am:
3831 Use dh_install to install all examples.
3832 Use DEB_SRCDIR instead of defining SOURCE_DIR
3834 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3836 * configure.ac: post release version bump.
3837 * debian/changelog: version bump
3839 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3844 * configure.ac: bump version
3845 * debian/changelog: updates
3846 * debian/control: bump gtk+ dependency
3848 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3850 patch by Christian Dywan (christian@imendio.com)
3852 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3853 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3855 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3857 * src/hildon-check-button.c (hildon_check_button_init)
3858 (hildon_check_button_class_init, hildon_check_button_style_set)
3859 (hildon_check_button_apply_style):
3860 New "checkbox-size" style property.
3862 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3863 larger / configurable size)
3865 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3867 * configure.ac: post release version bump.
3868 * debian/changelog: version bump
3870 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3875 * configure.ac: bump version
3876 * debian/changelog: updates
3878 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3880 * doc/hildon-sections.txt
3881 * src/hildon-pannable-area.c
3882 * src/hildon-program.c
3883 * src/hildon-time-editor.c
3884 * src/hildon-touch-selector-entry.c:
3886 More documentation updates.
3888 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3890 * doc/hildon-sections.txt
3891 * src/hildon-caption.c
3892 * src/hildon-code-dialog.c
3893 * src/hildon-color-button.c
3894 * src/hildon-controlbar.c
3895 * src/hildon-date-editor.c
3896 * src/hildon-date-selector.c
3897 * src/hildon-edit-toolbar.c
3898 * src/hildon-find-toolbar.c
3899 * src/hildon-font-selection-dialog.c
3901 * src/hildon-program.c
3902 * src/hildon-range-editor.c
3903 * src/hildon-seekbar.c
3904 * src/hildon-time-editor.c
3905 * src/hildon-time-selector.c
3906 * src/hildon-volumebar-range.c
3907 * src/hildon-volumebar.c
3908 * src/hildon-vvolumebar.c
3909 * src/hildon-weekday-picker.c
3910 * src/hildon-window.c
3911 * src/hildon-wizard-dialog.c:
3913 Lots of documentation fixes.
3915 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3917 Patch contributed by Iván Gómez (igomez@igalia.com)
3919 * src/hildon-check-button.c:
3920 * src/hildon-date-button.c:
3921 * src/hildon-date-selector.c:
3922 * src/hildon-dialog.c:
3923 * src/hildon-edit-toolbar.c:
3924 * src/hildon-entry.c:
3925 * src/hildon-picker-button.c:
3926 * src/hildon-program.c:
3927 * src/hildon-text-view.c:
3928 * src/hildon-time-button.c:
3929 * src/hildon-touch-selector-entry.c:
3930 * src/hildon-window-stack.c:
3932 Add more "since" tags to the new API.
3934 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3936 * doc/hildon-sections.txt: Add below method.
3937 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3938 version for the hildonized scale.
3939 * src/hildon-gtk.h: Add the definition.
3941 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3943 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3945 * doc/hildon-sections.txt: Add missing entries for new methods.
3947 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3949 Added API to pannable are in order to get its adjustments. We
3950 added two properties to manage the values we had in the private
3953 * src/hildon-pannable-area.c:
3954 (hildon_pannable_area_class_init): Added hadjustment and
3955 vadjustment properties in order to expose horizontal and vertical
3957 (hildon_pannable_area_get_property),
3958 (hildon_pannable_area_set_property): Added code to handle the new
3960 (hildon_pannable_area_get_hadjustment),
3961 (hildon_pannable_area_get_vadjustment): API functions to get the
3963 * src/hildon-pannable-area.h:
3964 (hildon_pannable_area_get_hadjustment),
3965 (hildon_pannable_area_get_vadjustment): API functions to get the
3968 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3970 Fixed some leaks, after valgrinding.
3972 * src/hildon-touch-selector.c:
3973 (_default_print_func): Fixed a leak.
3974 (hildon_touch_selector_append_column): Fixed a leak.
3975 * src/hildon-date-button.c:
3976 (hildon_date_button_init): Fixed a leak.
3977 * src/hildon-date-selector.c
3978 (hildon_date_selector_finalize): Fixed a leak.
3980 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3982 Based on a patch by Christian Dywan (christian@imendio.com)
3984 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3986 * src/hildon-gtk.h: Add definition.
3988 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3990 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-picker-button.c: (hildon_picker_button_init),
3993 (hildon_picker_button_new): Set the HildonButton::style property
3994 in the init method, to propagate the value to the derived classes.
3996 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-button.c: (hildon_button_class_init): Do not make
3999 the "style" property a construct property.
4001 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-wizard-dialog.h
4004 * src/hildon-wizard-dialog.c
4005 (hildon_wizard_dialog_set_forward_page_func)
4006 * src/hildon-pannable-area.h
4007 * src/hildon-pannable-area.c
4008 (hildon_pannable_area_set_size_request_policy):
4009 Documentation fixes.
4011 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4013 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4015 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4017 * doc/hildon-sections.txt: Added sections file.
4019 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4022 * src/*.[ch]: Updates.
4024 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4026 * examples/hildon-progress-indicator-example.c: new file
4027 * examples/Makefile.am: include the new example program
4029 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4033 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4035 * configure.ac: post release version bump
4036 * debian/changelog: version bump
4038 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4043 * configure.ac: bump version
4044 * debian/changelog: updates
4045 * debian/control: bump gtk+ dependency
4047 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4049 * src/hildon-dialog.c: Mark as deprecated.
4050 * src/hildon-dialog.h: Mark as deprecated.
4051 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4052 from HildonDialog and still work, even if
4053 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4054 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4056 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4057 maemo changes) instead)
4059 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-pannable_area.h:
4062 * src/hildon-pannable_area.c:
4063 (hildon_pannable_area_class_init),
4064 (hildon_pannable_area_set_property),
4065 (hildon_pannable_area_get_property),
4066 (hildon_pannable_area_size_request),
4067 (hildon_pannable_area_get_size_request_policy),
4068 (hildon_pannable_area_set_size_request_policy): Added new API
4069 allowing applications to control the request policy. Now they can
4070 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4071 children allocation (HILDON_MOVEMENT_CHILDREN).
4073 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4077 (hildon_gtk_tree_view_set_ui_mode)
4078 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4079 mode of treeviews and iconviews.
4081 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-touch-selector-entry.c:
4084 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4085 of a GtkEntry to get proper theming.
4087 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4088 widget, not GtkEntry)
4090 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4092 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4093 no HildonWizardDialogPageFunc.
4095 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4097 Patch contributed by Iván Gómez (igomez@igalia.com)
4099 * src/hildon-app-menu.c:
4100 * src/hildon-button.c:
4101 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4102 * src/hildon-stackable-window.c:
4103 * src/hildon-time-selector.c:
4104 * src/hildon-touch-selector.c:
4105 * src/hildon-window.c:
4107 Add more "since" tags to the new API in hildon 2.2.
4109 2008-12-05 Tim Janik <timj@imendio.com>
4111 Patch contributed by Christian Dywan (christian@imendio.com)
4113 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4114 HildonSizeType, which are supplied by Gtk+ now.
4116 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4118 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4119 (with maemo changes) instead)
4121 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4123 Patch contributed by Iván Gómez (igomez@igalia.com)
4125 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4128 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4130 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4131 (some_page_func), (main): Update the example to use a
4132 HildonWizardDialogPageFunc function.
4134 * src/hildon-wizard-dialog-private.h: Add private data for
4135 the HildonWizardDialogPageFunc function usage.
4137 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4138 (destroy), (hildon_wizard_dialog_init), (response),
4139 (hildon_wizard_dialog_set_forward_page_func):
4140 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4141 that applications can use to stop a HildonWizardDialog to jump to
4144 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4147 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-program.h
4150 * src/hildon-program-private.h
4151 * src/hildon-program.c (hildon_program_init)
4152 (hildon_program_set_common_app_menu)
4153 (hildon_program_get_common_app_menu):
4154 New API for setting a common HildonAppMenu for all
4155 HildonStackableWindows registered with the HildonProgram.
4157 * src/hildon-stackable-window.c
4158 (hildon_stackable_window_toggle_menu):
4159 Use the common HildonAppMenu if a window doesn't have a specific
4162 * src/hildon-app-menu-private.h
4163 * src/hildon-app-menu.c
4164 (hildon_app_menu_get_parent_window):
4165 Function to obtain the window a HildonAppMenu is attached to.
4166 (hildon_app_menu_set_parent_window):
4167 Hide the menu if the parent window is set to NULL.
4169 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4172 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4173 search widget to popup.
4175 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4177 * configure.ac: post release version bump
4178 * debian/changelog: version bump
4180 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4185 * configure.ac: bump version
4186 * debian/changelog: updates
4188 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4190 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4192 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4193 (hildon_window_stack_window_realized)
4194 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4195 Set the leader GdkWindow when a window is stacked and realized,
4196 unset it when it's unstacked.
4197 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4199 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4201 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-stackable-window.h
4204 * src/hildon-window-stack.h:
4205 Protect definition of HildonWindowStack using the preprocessor.
4207 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4209 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4210 Fix warning if all menu items are hidden.
4212 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4214 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4216 * src/hildon-controlbar.c:
4217 * src/hildon-hvolumebar.c:
4218 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4219 Multiple scale size defines updates.
4221 Fixes: NB#94322 (Scale Updates)
4223 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4225 * examples/hildon-app-menu-example.c (create_menu)
4226 Show items after adding them to the menu, as in the future the
4227 menu will no longer call gtk_widget_show() on the added items.
4229 * src/hildon-app-menu.c:
4230 Update example as explained above.
4232 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4234 * src/hildon-app-menu.c
4235 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4236 Make sure that all menu items have finger height.
4238 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4240 * src/hildon-picker-dialog.c:
4241 (_on_dialog_response), (_save_current_selection),
4242 (_restore_current_selection), (_clean_current_selection),
4243 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4244 Defined new functions in order to save the current internal selector
4245 selection previous open the dialog, in case that the use cancel the
4246 interaction, so the widget restores the previous selection.
4248 Fixes: NB#92032 (In calendar application, date values in 'new event'
4251 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4253 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-button.c: Add a reference to the button examples in
4256 hildon-button-example.c
4258 * examples/hildon-button-example.c: Added examples of the most
4259 common button layouts.
4261 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4263 * src/hildon-app-menu.c (hildon_app_menu_show)
4264 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4266 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4268 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-picker-dialog.c:
4271 (hildon_picker_dialog_init): Initialize the signal id for
4272 HildonTouchSelector::columns-changed.
4273 (+on_selector_columns_changed): Set up the interaction mode everytime a
4274 column is added or removed from the HildonTouchSelector.
4275 (_hildon_picker_dialog_set_selector): Connect to
4276 HildonTouchSelector::columns-changed and keep track of it.
4278 Make sure to update the interaction mode of the dialog everytime a
4279 column is added or removed in the HildonTouchSelector.
4281 Fixes: NB#93228 (Done button is not shown always in listpicker)
4283 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4286 a new ::columns-changed signal.
4287 (hildon_touch_selector_append_column): Emit ::columns-changed.
4288 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4290 Add a ::columns-changed signal, emitted when the number of columns in a
4291 HildonTouchSelector changes.
4293 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4296 (_hildon_picker_dialog_set_selector): Factor out the code
4297 to set up the dialog interaction mode.
4299 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4302 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4303 to signal_changed_id.
4305 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4307 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4310 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4312 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4313 Updated the logical ids related to ampm format, as now it is required to
4314 show it correctly localized even on languages with no default
4315 abbreviations for am or pm
4316 (_check_am_pm_format): check correctly the 24h format gconf property
4318 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4320 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-button.c: Documentation updates.
4324 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4327 * src/hildon-caption.c: (hildon_caption_class_init):
4328 * src/hildon-color-button.c: (hildon_color_button_class_init):
4329 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4330 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4331 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4332 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4334 Remove deprecated GTK+ marshalers and replace them with the ones
4335 provided by GLib, for those available, add a marshaler for
4336 BOOLEAN:VOID, which is not available in GLib, and use it.
4338 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4340 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4341 the text from the previous column if there is no
4342 HildonTouchSelectorColumn::text-property set.
4344 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-button.h
4347 * src/hildon-button.c (hildon_button_set_property)
4348 (hildon_button_get_property, hildon_button_class_init)
4349 (hildon_button_set_style, hildon_button_get_style):
4350 New "style" property to change the visual appearance of the
4353 * src/hildon-picker-button.c (hildon_picker_button_new):
4354 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4356 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4357 HildonButton look like PickerButton)
4359 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4362 column while building the default string.
4364 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4366 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4367 scroll indicator by default.
4369 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4371 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-main.c: Fix the documentation for hildon_init()
4375 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4377 * doc/hildon-docs.sgml
4381 * src/hildon-window-stack-private.h
4382 * src/hildon-window-stack.h
4383 * src/hildon-window-stack.c:
4384 New HildonWindowStack object, that adds support for multiple
4385 stacks of windows per process.
4387 * src/hildon-stackable-window-private.h
4388 * src/hildon-stackable-window.h
4389 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4390 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4391 (hildon_stackable_window_show, hildon_stackable_window_hide)
4392 (hildon_stackable_window_class_init)
4393 (hildon_stackable_window_init):
4394 Use HildonWindowStack for stack management.
4396 * src/hildon-program.c (hildon_program_pop_window_stack)
4397 (hildon_program_peek_window_stack)
4398 (hildon_program_go_to_root_window):
4399 Add a fallback implementation to the deprecated functions using
4402 * examples/hildon-stackable-window-example.c:
4403 Use the new HildonWindowStack API.
4405 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4407 * src/hildon-stackable-window-private.h
4408 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4409 (hildon_stackable_window_hide, hildon_stackable_window_init):
4410 Remove all window stack management.
4412 * src/hildon-program-private.h
4413 * src/hildon-program.h
4414 * src/hildon-program.c (hildon_program_init)
4415 (hildon_program_pop_window_stack)
4416 (hildon_program_peek_window_stack)
4417 (hildon_program_go_to_root_window):
4418 Remove all window stack management and mark functions as
4421 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-app-menu.c (hildon_app_menu_realize):
4424 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4426 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4428 * configure.ac: post release version bump
4429 * debian/changelog: version bump
4431 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4436 * configure.ac: bump version
4437 * debian/changelog: updates
4439 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4441 Based on initial code by Christian Dywan (christian@imendio.com)
4443 * doc/hildon-docs.sgml: Add section for hildon-main.
4444 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4445 * src/Makefile.am: Add new hildon-main.[ch]
4446 * src/hildon-defines.h: Update the icon sizes.
4447 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4448 new library initialization files and register icon sizes.
4449 * src/hildon-main.h: New declarations.
4450 * src/hildon.h: Include hildon-main.h
4452 Add new initialization functions to the library. These methods
4453 will register the hildon specific icon sizes and can be used in the
4454 future for other hildon specific bits.
4456 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4458 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-window.c: (hildon_window_realize),
4461 (hildon_window_notify), (-hildon_window_update_title): Do not set
4462 the application name in the window title.
4464 Fixes: NB#89754 (Applications shouldn't display their names in the
4467 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4469 * src/hildon-note-private.h:
4470 * src/hildon-note.c: (hildon_note_set_property),
4471 (hildon_note_get_property), (hildon_note_class_init),
4472 (hildon_note_init), (hildon_note_finalize),
4473 (hildon_note_new_confirmation_with_icon_name),
4474 (hildon_note_new_information_with_icon_name):
4476 No need to mark as deprecated the actual code. Revert
4477 to avoid missing symbols in widgets using deprecated API.
4479 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4481 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4483 * src/hildon-volumebar.h
4484 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4485 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4487 * src/hildon-helper.h
4488 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4489 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4491 * examples/Makefile.am:
4492 Deprecate hildon-insensitive-example
4494 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4496 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4498 * examples/hildon-pannable-area-buttons-scroll-example.c:
4499 Make all buttons finger height
4501 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4503 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4505 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4506 update the day model only if it is really required, and to avoid the
4507 full-reconstruction aproach. Now it only add or remove the required days.
4509 The purpose of this is avoid superfluous HildonTouchSelector::changed
4512 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4513 with strange parameters)
4515 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4517 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4519 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4520 the WINDOW_TYPE property.
4522 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4524 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4527 Fix dependency to allow parallel compilation with make -jX
4529 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4531 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4532 color frame and some minor tweaks to make it more consistent with
4535 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4536 highlighted but not visible)
4538 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4540 * examples/Makefile.am: Fixed typo in the Makefile.am.
4542 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4544 Reviewed the use of MAEMO_GTK define, now we add the define in the
4545 compilation line, and we also add it to the pc file.
4547 * configure.ac: Added MAEMO_GTK define to the compilation command
4548 and removed it from the config.h.
4550 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4551 do not have to take care about this define if the library was
4555 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4557 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4559 * examples/Makefile.am,
4560 * examples/hildon-pannable-area-buttons-scroll-example.c,
4561 * examples/hildon-pannable-area-gesture-signals-example.c,
4562 * examples/hildon-pannable-area-scroll-jump-example.c,
4563 * examples/hildon-pannable-area-tree-view-example.c:
4564 Renamed the pannable area examples, now they have more meaningful
4567 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4569 * src/hildon-touch-selector.c:
4570 (hildon_touch_selector_set_column_selection_mode): Used of
4571 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4572 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4573 to avoid re-seting the same selection mode.
4575 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4576 breaks HildonPickerDialog)
4578 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4580 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4581 conditional in the Makefile.am
4583 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4586 Remove unused methods.
4588 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-button.c (hildon_button_init):
4591 Make button images center-aligned by default
4593 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4596 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4597 activated, we have to think about how to deal with both defines
4598 MAEMO_GTK and MAEMO_CHANGES.
4600 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4602 * examples/hildon-app-menu-example.c (create_menu): Make all
4603 buttons finger size.
4605 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4607 Fixed the compilation without maemo gtk adding ifdefs with
4608 MAEMO_GTK define to the code, we have to check this version more
4611 * examples/Makefile.am: Added control to avoid some examples that
4612 just make sense with maemo gtk.
4615 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4616 hildon modes with the define.
4618 * examples/hildon-edit-toolbar-example.c,
4619 (create_icon_view): Create the icon view without hildon-gtk
4620 helpers if we are not using maemo gtk.
4622 * src/hildon-touch-selector.c,
4623 (_create_new_column): Create the treeview without hildon-gtk
4624 helpers if we are not using maemo gtk.
4626 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4628 * src/hildon-pnnable-area.c,
4629 (hildon_pannable_area_dispose),
4630 (hildon_pannable_area_button_press_cb),
4631 (hildon_pannable_area_child_mapped),
4632 (hildon_pannable_area_add),
4633 (hildon_pannable_area_remove): Added code to control the position
4634 of the event_window when adding and removing children from the
4635 pannable. We have to raise the event window when the child is
4638 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4639 selection mode using custom widget inside pannable)
4641 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4643 * configure.ac: post release version bump
4644 * debian/changelog: version bump
4646 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4651 * configure.ac: bump version
4652 * debian/changelog: updates
4654 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4656 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4657 search mode, in order to avoid lose the focus on the treeview when
4658 a hw key (like enter) is pressed.
4660 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4661 in HildonDateSelector dialog)
4663 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4665 * debian/rules: Added --enable-maintainer-mode
4666 * Makefile.am: Added ACLOCAL_AMFLAGS
4668 This allows to properly regenerate the Makefiles if you modify the
4669 configure.ac or any Makefile.am.
4671 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4673 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4674 properties, not needed at all.
4676 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4680 * src/hildon-note.c: (hildon_note_set_property),
4681 (hildon_note_get_property), (hildon_note_class_init),
4682 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4683 (hildon_note_new_confirmation_add_buttons): Remove icons.
4684 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4685 (hildon_note_new_information_with_icon_name): Deprecate.
4686 (hildon_note_new_confirmation): Act directly, without calling
4687 the deprecated constructor.
4688 (hildon_note_new_information): Act directly, without calling
4689 the deprecated constructor.
4690 * src/hildon-note.h: Mark deprecate methods as such.
4691 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4692 not run tests on the deprecated methods if built with deprecation
4695 Fixes: NB#91688 (Never show icons in information notes/confirmation
4698 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4700 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4701 (hildon_app_menu_key_press): Remove leftover usage of the
4702 private structure in HildonAppMenu struct.
4703 * src/hildon-app-menu.h: Remove leftover private structure
4704 from the HildonAppMenu struct.
4706 Fixes a crasher when using the HildonAppMenu.
4708 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4710 * src/hildon-picker-dialog.c: Use appropriate logical id
4711 for the default "Done" text.
4713 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4715 * configure.ac: post release version bump
4716 * debian/changelog: version bump
4718 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4720 Modified the way to scroll to the current selection just when the touch
4721 selector is shown on the screen, avoiding a g_idle. Added too a property
4722 to configure this behaviour. See hildon_pannable_area_jump_to_child
4723 documentation for more information.
4725 * src/hildon-touch-selector.c
4726 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4727 Added 'initial-scroll' property
4728 (hildon_touch_selector_set_property): Added
4729 (hildon_touch_selector_map): Removed as not required anymore
4730 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4731 only a concrete column, instead of iterate along all the columns
4733 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4738 * configure.ac: bump version
4739 * debian/changelog: updates
4741 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4744 compilation time warnings.
4746 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4749 the default value for HildonPannableArea::mov-mode to
4750 HILDON_PANNABLE_AREA_MODE_VERT.
4752 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4754 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4756 Reverting following commit:
4758 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-app-menu-private.h
4761 * src/hildon-app-menu.[ch]
4762 * src/hildon-button.[ch]
4763 * src/hildon-check-button.[ch]
4764 * src/hildon-entry.[ch]
4765 * src/hildon-pannable-area.[ch]
4766 * src/hildon-text-view.[ch]:
4767 Added private field to the object's structure.
4769 because it causes an ABI breakage. We will need to introduce these
4770 changes later at some point. See NB#91636 for an extensive
4771 explanation and status.
4773 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4775 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4777 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4778 remove special cases that are no longer necessary.
4780 Fixes: NB#91016 (Change toolbar sizes, simplification)
4782 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4785 is shown in the cancel note.
4787 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4789 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4790 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4791 (hildon_seekbar_init): Remove steppers, remove expose event.
4792 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4794 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4796 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4799 label font to "SmallSystemFont" for vertically arranged buttons.
4801 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4804 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-check-button.c
4807 (hildon_check_button_set_active, hildon_check_button_clicked):
4808 Don't access private parts directly, use getters instead.
4810 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4812 * src/hildon-check-button.c (hildon_check_button_new):
4813 Align the contents of the check button to the left.
4815 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4817 * src/hildon-pannable-area.c,
4818 (hildon_pannable_area_scroll_to),
4819 (hildon_pannable_area_jump_to),
4820 (hildon_pannable_area_scroll_to_child),
4821 (hildon_pannable_area_jump_to_child): Replace the mapped
4822 precondition of these functions with the realized, it is the
4823 correct state of the widget in this case. Changed the
4824 documentation according to this modification.
4826 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4828 Added a new EXTRA_CFLAGS option to add the deprecated define to
4829 the compilation command. This way we can avoid using the define in
4830 the documentation compilation.
4832 * configure.ac: Defined EXTRA_CFLAGS.
4834 * examples/Makefile.am:
4836 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4838 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4840 * src/hildon-picker-dialog.c:
4841 Defined a utility macro with the desired touch selector height
4842 Removed currently unused separator, and title_label variables from
4844 (hildon_picker_dialog_init): Removed code related to the creation
4845 of unused private variables title_label and separator.
4846 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4847 to ensure correct visualization of the touch selector inside the dialog.
4848 * src/hildon-touch-selector.c
4849 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4850 ensure a concrete height of the widget.
4852 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4855 * tests/Makefile.am:
4857 Remove spurious whitespaces.
4859 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4862 compilation warning after the cancel button removal.
4864 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4866 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4868 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4869 Makefile.am, that way we can choose not to compile some examples
4870 and tests of the deprecated widgets.
4872 * examples/Makefile.am: Divided the sources in deprecated and
4875 * src/Makefile.am: Added undef statement of the deprecated
4876 symbol to the enums file generation process.
4878 * src/hildon-color-chooser-dialog.c
4879 * src/hildon-color-chooser-dialog.h
4880 * src/hildon-color-button.c
4881 * src/hildon-color-button.h
4882 * src/hildon-color-chooser.c
4883 * src/hildon-color-chooser.h
4884 * src/hildon-controlbar.c
4885 * src/hildon-controlbar.h
4886 * src/hildon-date-editor.c
4887 * src/hildon-date-editor.h
4888 * src/hildon-hvolumebar.c
4889 * src/hildon-hvolumebar.h
4890 * src/hildon-private.c
4891 * src/hildon-private.h
4892 * src/hildon-range-editor.c
4893 * src/hildon-range-editor.h
4894 * src/hildon-seekbar.c
4895 * src/hildon-seekbar.h
4896 * src/hildon-time-editor.c
4897 * src/hildon-time-editor.h
4898 * src/hildon-time-picker.c
4899 * src/hildon-time-picker.h
4900 * src/hildon-volumebar.c
4901 * src/hildon-volumebar.h
4902 * src/hildon-vvolumebar.c
4903 * src/hildon-vvolumebar.h
4904 * src/hildon-bread-crumb-trail.h
4905 * src/hildon-bread-crumb-trail.c
4906 * src/hildon-calendar-popup.c
4907 * src/hildon-calendar-popup.h
4908 * src/hildon-weekday-picker.c:
4909 * src/hildon-weekday-picker.h:
4910 * src/hildon-bread-crumb-widget.c:
4911 * src/hildon-bread-crumb-widget.h:
4912 * src/hildon-bread-crumb.c:
4913 * src/hildon-bread-crumb.h:
4914 * src/hildon-calendar.c:
4915 * src/hildon-calendar.h:
4916 * src/hildon-caption.c:
4917 * src/hildon-code-dialog.c:
4918 * src/hildon-code-dialog.h:
4919 * src/hildon-font-selection-dialog.c:
4920 * src/hildon-font-selection-dialog.h:
4921 * src/hildon-get-password-dialog.c:
4922 * src/hildon-get-password-dialog.h:
4923 * src/hildon-login-dialog.c:
4924 * src/hildon-login-dialog.h:
4925 * src/hildon-number-editor.c:
4926 * src/hildon-number-editor.h:
4927 * src/hildon-set-password-dialog.c:
4928 * src/hildon-set-password-dialog.h:
4929 * src/hildon-sort-dialog.c:
4930 * src/hildon-sort-dialog.h: This is the list of deprecated
4933 * src/hildon-touch-selector.c:
4934 * src/hildon-window.c: Added undef statement to avoid compilation
4937 * tests/Makefile.am: Divided the sources in deprecated and
4940 * tests/check_test.c,
4941 (configure_tests): Marked the deprecated code that was adding
4942 suites with deprecated tests.
4944 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4946 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4948 * src/hildon-touch-selector.c: (_default_print_func): Do not
4949 duplicate a string returned by gtk_tree_model_get(), it is already
4952 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4955 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4957 * src/hildon-pannable-area.c
4958 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4959 method, it had problems when adding a widget with viewport the
4960 second time. Now checks if it already has a viewport and uses it.
4962 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4965 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4967 * src/hildon-pannable-area.c,
4968 (hildon_pannable_area_scroll_to),
4969 (hildon_pannable_area_jump_to),
4970 (hildon_pannable_area_scroll_to_child),
4971 (hildon_pannable_area_jump_to_child): Added a precondition to the
4972 scroll and jump to functions: the widget must be mapped before we
4973 can safely call these functions. We have also added documentation
4974 to the functions to explain how to use them in this situation.
4977 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4979 Reviewed the threading handling of the pannable widget, we have
4980 used the gdk_threads_add_timeout function instead of the usual
4981 glib handlers. This avoids some problems with the threads.
4983 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4984 (hildon_pannable_area_initial_effect),
4985 (hildon_pannable_area_scroll_indicator_fade),
4986 (hildon_pannable_area_button_press_cb),
4987 (hildon_pannable_area_timeout),
4988 (hildon_pannable_area_motion_notify_cb),
4989 (hildon_pannable_area_button_release_cb),
4990 (hildon_pannable_area_scroll_cb),
4991 (hildon_pannable_area_scroll_to): Removed the
4992 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4993 gdk_threads_add_timeout.
4995 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4997 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5002 * configure.ac: bump version
5003 * debian/changelog: updates
5005 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5007 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5008 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5009 * src/hildon-color-chooser-dialog.c:
5010 (hildon_color_chooser_dialog_init):
5011 * src/hildon-font-selection-dialog.c:
5012 (hildon_font_selection_dialog_init):
5013 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5015 Remove all cancel/close-like dialogs, as these are not going to be
5018 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-note.c: (hildon_note_rebuild),
5021 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5024 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5026 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5029 sure all buttons are shown, even the Cancel/Close-like ones.
5031 Fixes: NB#90861 (Custom Confirmation dialogs should be
5032 protected from cancel button removal)
5034 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5036 * debian/control: Change libhildon1-examples dependency from libhildon1
5038 * debian/libhildon1-examples.install
5040 * Makefile.am: Modified the final install directory for the examples on
5041 package libhildon1-examples
5042 * Makefile.static: Update clean target in order to remove all the binary
5045 Changes suggested by Claudio after review new libhildon1-examples package
5047 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5050 * src/hildon-touch-selector.c: Ditto.
5052 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5054 * debian/control: Added new package libhildon1-examples, in order to pack
5055 the current hildon examples as documentation
5056 * debian/rules: Not to compress .c files, modify some includes on the
5057 examples (as normally are compiled locally, but when installed it will
5058 require to include the installed libhildon1 library), and rename
5060 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5061 install all the example files on the new example package
5062 * examples/Makefile.static: Added static makefile that can be used to
5063 compile the examples, once installed the new example package
5064 * examples: Most of the examples were modified in order to grant that
5065 all use only '#include "hildon.h"', in order to be easy to prepare
5066 it on the example package
5068 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5071 * debian/libhildon1-dev.install
5072 * debian/libhildon1-doc.install:
5073 Move all gtk-doc files to a separate libhildon1-doc package.
5075 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5077 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5079 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5081 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5083 * debian/rules: Fixed a error in order to avoid unnecessary calls
5084 to autogen.sh on package building
5086 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5088 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5090 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5092 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5095 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-picker-button.c
5098 (hildon_picker_button_finalize):
5099 Free priv->done_button_text
5101 * src/hildon-time-button.c
5102 (hildon_time_button_set_time)
5103 * src/hildon-picker-button.c
5104 (hildon_picker_button_clicked)
5105 (hildon_picker_button_selector_selection_changed)
5106 (hildon_picker_button_set_selector)
5107 * src/hildon-date-button.c
5108 (hildon_date_button_set_date):
5109 Free strings returned by hildon_touch_selector_get_current_text()
5111 * src/hildon-button.c (hildon_button_construct_child):
5112 Fix leaks in priv->image and priv->label_box
5114 Fixes: NB#90535 (Memory leak in picker button)
5116 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5118 * src/hildon-button.c: (hildon_button_get_property): Do not access
5119 private elements directly, use getters instead.
5121 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5123 * src/hildon-app-menu-private.h
5124 * src/hildon-app-menu.c
5125 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5126 Store the menu's parent window.
5128 * src/hildon-stackable-window.c
5129 (hildon_stackable_window_toggle_menu)
5130 (hildon_stackable_window_finalize):
5131 Set the menu's parent window when the menu is shown, unset it when
5134 * src/hildon-app-menu.c
5135 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5136 (hildon_app_menu_class_init):
5137 Send unhandled keyboard accelerators to the parent window.
5139 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5141 * src/hildon-stackable-window.c
5142 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5144 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5146 * configure.ac: post release version bump
5148 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5151 * configure.ac: Bump version
5152 * debian/changelog: Updates
5153 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5156 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5158 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5161 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5162 GtkMenu with Hildon style.
5164 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5166 * src/hildon-picker-button.c:
5167 (hildon_picker_button_set_done_button_text): Set the dialog's
5168 done button text here as well.
5170 Fixes: NB#90232 (Picker button does not set the label on done button
5171 for the second time)
5173 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5178 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5180 * src/hildon-app-menu.c (hildon_app_menu_insert)
5181 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5182 the HildonAppMenu to be activatable using keyboard accelerators
5183 when the menu is not being shown.
5185 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5187 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-stackable-window.c
5190 (hildon_stackable_window_show):
5191 Don't hide old windows automatically when new windows are shown:
5192 this is now a task for the window manager.
5193 (hildon_stackable_window_class_init)
5194 (hildon_stackable_window_hide):
5195 Remove windows from the stack everytime they're hidden.
5196 (hildon_stackable_window_realize):
5197 Don't change the _NET_WM_WINDOW_TYPE property. Use
5198 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5199 it as a stackable window.
5201 * src/hildon-program.c
5202 (hildon_program_pop_window_stack):
5203 Just hide the window to remove it from the stack.
5204 (hildon_program_go_to_root_window):
5205 Don't call gtk_widget_show(), this is now a task for the window
5208 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5210 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5212 * src/hildon-button.c
5213 (hildon_button_construct_child):
5214 Don't pack anything in the button until text or image are
5215 set. This allows adding a custom child after creating the button
5216 with hildon_button_new().
5217 (hildon_button_finalize, hildon_button_class_init)
5218 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5219 alignment and the label box even when they're not packed in the
5222 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5224 * src/hildon-touch-selector.h:
5225 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5226 currently the type definition was using GTK_TYPE_VBOX
5227 * src/hildon-touch-selector.c:
5228 Added some implementation notes in order to clarify that any other widget
5229 added without the column related API will not be included on the
5230 selection logic, and how the widget is freed, as some people ask about
5232 (hildon_touch_selector_remove): Reimplemented in order to free properly
5233 the column related data when you remove the private hbox.
5234 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5235 to get a proper HildonTouchSelectorColumn documentation
5237 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5239 * src/hildon-touch-selector-entry.c:
5240 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5241 text in the GtkEntry and there is no item selected. Fixes a
5244 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-app-menu-private.h
5247 * src/hildon-app-menu.[ch]
5248 * src/hildon-button.[ch]
5249 * src/hildon-check-button.[ch]
5250 * src/hildon-entry.[ch]
5251 * src/hildon-pannable-area.[ch]
5252 * src/hildon-text-view.[ch]:
5253 Added private field to the object's structure.
5255 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5257 * configure.ac: post-release version bump
5259 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5263 * configure.ac: pre-release version bump
5265 * debian/changelog: updates.
5267 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5270 Disconnect the handler for HildonTouchSelector::changed.
5272 (hildon_picker_button_selector_selection_changed): Update the button
5273 value if the selection change was not triggered by the
5276 (hildon_picker_button_set_selector): connect to
5277 HildonTouchSelector::changed.
5279 Fixes: NB#89650 (Picker button is not updated, when selection in
5280 selector has changed)
5282 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5284 * src/hildon-picker-dialog.c
5285 (hildon_picker_dialog_realize): Removed as not required
5286 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5287 * src/hildon-picker-button.c
5288 (_current_selector_empty): New function, checks if the selector is empty
5289 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5290 if the current selector is empty, in order to avoid to show the dialog
5291 close the dialog in this case (and shows a g_warning).
5293 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5295 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5297 * src/hildon-pannable-area.c,
5298 (hildon_pannable_area_scroll): Added clause to stop movement when
5299 the child of pannable is smaller than one page.
5300 (hildon_pannable_area_scroll_to): Added conditions to avoid
5301 starting the scrolling movement if the child is smaller than one
5302 page, the complete child is in the screen, we do not have to move.
5304 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5306 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5309 this is managed automatically by the widget when the size of the
5312 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-picker-button.c
5315 (hildon_picker_button_set_done_button_text): Make a copy of the
5316 text, and free the previous value.
5318 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-touch-selector-entry.c:
5321 (hildon_touch_selector_entry_print_func): Return the selected row's
5322 text if the entry is empty.
5324 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5327 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5331 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-check-button.h
5335 * src/hildon-check-button.c
5336 * examples/hildon-check-button-example.c:
5337 HildonCheckButton is now a new widget. 'toggled' signal added.
5339 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-program-private.h
5342 * src/hildon-program.c (hildon_program_init)
5343 (hildon_program_finalize): Removed unused variables group_leader
5344 and name from HildonProgramPrivate.
5346 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5348 * src/hildon-check-button.c (hildon_check_button_set_active)
5349 (hildon_check_button_get_active, hildon_check_button_new): Use
5350 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5352 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5354 * src/hildon-touch-selector.h
5355 (hildon_touch_selector_set_column_attributes): added deprecation
5356 guard HILDON_DISABLE_DEPRECATED
5357 * src/hildon-time-selector.c
5358 (hildon_time_selector_set_time)
5359 (hildon_time_selector_get_time): Fixed a typo on documentation
5360 * src/hildon-touch-selector.c: update HildonTouchSelector and
5361 HildonTouchSelectorColumn documentation
5362 * src/hildon-touch-selector-entry.c: update "text-column" property
5364 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5365 to be added to the general documentation.
5367 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5369 * examples/hildon-pannable-area-example-4.c,
5371 * examples/hildon-pannable-area-example.c,
5372 (main): Modified the code in order to use the container add, with
5373 viewport treeviews could have problems if they are really big.
5375 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5377 * src/hildon-weekday-picker.c,
5378 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5379 the agreement regarding deprecation in the library.
5381 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5383 * examples/hildon-picker-button-multicolumn-example.c:
5384 (main): Use custom "done" button text.
5386 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5387 (hildon_picker_button_set_property),
5388 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5389 (hildon_picker_button_init),
5390 (+hildon_picker_button_get_done_button_text),
5391 (+hildon_picker_button_set_done_button_text): New methods to customize
5392 the "done" button label in the launched HildonPickerDialog. Also,
5395 * src/hildon-picker-button.h: add the public API.
5397 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5399 * src/hildon-date-selector.h:
5400 * src/hildon-picker-dialog.h:
5401 * src/hildon-time-selector.h:
5402 * src/hildon-touch-selector-column.h:
5403 * src/hildon-touch-selector.h:
5405 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5406 declarations. Fixes gtk-doc warnings.
5408 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-picker-dialog.h
5411 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5412 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5414 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5415 long text is set as label for done button)
5417 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5419 * src/hildon-dialog.c (hildon_dialog_add_button):
5420 Set fixed width to all buttons in the HildonDialog.
5422 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5424 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5426 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5427 Set widget name using class name plus "-finger" or "-thumb".
5429 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5431 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5432 'clicked' when the state of the button is manually changed.
5434 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5436 * src/hildon-app-menu.c (hildon_app_menu_realize)
5437 (hildon_app_menu_unrealize, hildon_app_menu_init)
5438 (hildon_app_menu_class_init, item_visibility_changed):
5439 Change the menu layout when the size of the screen changes.
5440 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5441 Show warning only when changing the number of colums using the
5444 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5446 * debian/compat: Set to 5
5447 * debian/control: Update dependencies.
5448 * debian/libhildon1-dbg.install: Remove.
5449 * debian/libhildon1-dev.install: Update according to cdbs paths.
5450 * debian/libhildon1.install: Update according to cdbs paths.
5451 * debian/rules: Switch to cdbs.
5453 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5455 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5456 'item' variable renamed to 'filter'
5458 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-app-menu.c (hildon_app_menu_insert)
5461 (hildon_app_menu_add_filter, remove_item_from_list)
5462 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5463 Don't leak hidden items when the menu is destroyed.
5465 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-app-menu.c (hildon_app_menu_insert)
5468 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5469 (hildon_app_menu_set_columns, item_visibility_changed)
5470 (filter_visibility_changed, hildon_app_menu_repack_filters)
5471 (hildon_app_menu_repack_items):
5472 Repack items and filters separately.
5474 Don't repack all items, change only the ones that are needed to
5477 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5479 * src/Makefile.am: added hildon-touch-selector-column.h
5481 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5483 * src/hildon-touch-selector.c: added the property "text-column" to the
5484 class HildonTouchSelectorColumn, and related get/set functions
5485 (_default_printf_func): updated to use "text-column" property
5486 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5487 "text-column" in his documentation, as this is now included on
5488 HildonTouchSelectorColumn. The get/set_property can still be used,
5489 working as a wrapper to the concrete column "text-column" property
5490 (_text_column_modified): callback added in order to handle the signal
5491 "notify::text-column" of the concrete HildonTouchSelectorColumn
5492 (hildon_touch_selector_entry_get_text_column)
5493 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5494 modified in order to use the HildonTouchSelectorColumn "text-column"
5496 * src/hildon-time-selector.c:
5497 * src/hildon-date-selector.c:
5498 * examples/hildon-touch-selector-example.c
5499 * examples/hildon-touch-selector-multi-cells-example.c
5500 * examples/hildon-picker-button-multicolumn-example.c
5501 Set the right value to "text-column" property on the creation of a new
5502 column using hildon_touch_selector_append_column()
5504 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5506 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-app-menu.c
5509 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5510 updating the layout of the menu, don't create all widgets again,
5511 just repack the items in their new places.
5513 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5515 * src/hildon-time-selector.c
5516 (hildon_time_selector_get_time)
5517 (hildon_time_selector_set_time)
5518 Added documentation of these public methods
5520 * src/hildon-date-button.h
5521 * src/hildon-touch-selector-column.h
5522 * src/hildon-time-button.h
5523 * src/hildon-picker-dialog.h
5524 * src/hildon-time-selector.h
5525 * src/hildon-picker-button.h
5526 * src/hildon-touch-selector.h
5527 * src/hildon-time-picker.h
5528 * src/hildon-date-selector.h
5529 * src/hildon-touch-selector-entry.h
5530 Modified in order to use hildon-widgets code style
5532 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5534 Added deprecated support to the compilation process using
5535 HILDON_DISABLE_DEPRECATED
5537 * configure.ac: Added the --disable-deprecated to the configure
5540 * src/hildon-weekday-picker.c:
5541 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5542 to use the deprecated support. We will update the other deprecated
5543 widgets status in a new patch.
5545 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5547 * configure.ac: Fixed typo with fatal warnings support, the
5548 variable name was not correct
5550 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-app-menu.c
5553 * src/hildon-program.c: Update documentation.
5555 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5557 * configure.ac: Post-release version bump.
5559 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5564 * configure.ac: Pre-release version bump.
5565 * debian/changelog: Updates.
5567 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5569 * NEWS: Update news for previous releases.
5571 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5573 * examples/hildon-touch-selector-multi-cells-example.c:
5574 (create_selector): Update the example to use
5575 hildon_touch_selector_append_column() with a NULL renderer and set
5576 the renderers later.
5577 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5578 passed a NULL renderer. This is documented behavior now.
5580 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5581 This must be used if the developer wants full control on the layout of
5582 the renderers to be added to the column.
5584 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5586 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5588 * src/hildon-touch-selector.c: Documentation fixes.
5590 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-wizard-dialog-private.h: Remove image and box.
5593 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5594 (hildon_wizard_dialog_set_property), (response): Completely remove
5595 image/icon support, and the containers required for the layout.
5597 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5599 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5601 * src/hildon-app-menu.c: Updated documentation.
5603 * src/hildon-stackable-window.c
5604 (hildon_stackable_window_set_main_menu): Unref the old menu after
5605 ref'ing the new one.
5607 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5609 * src/hildon-stackable-window.c
5610 (hildon_stackable_window_set_main_menu): Unref the previous menu
5611 instead of destroying it.
5613 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5614 floating reference and set has_user_ref_count to FALSE to make
5615 HildonAppMenu act like a normal ref-counted widget and not a
5618 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5621 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5623 * src/hildon-touch-selector-column.h: new file
5624 * src/hildon-touch-selector.h
5625 * src/hildon-touch-selector.c
5626 Implemented GtkCellLayout interface, in order to allow to configure
5627 the cell layout on each individual selector column
5628 (hildon_touch_selector_set_column_attributes): marked as deprecated
5629 * examples/hildon-touch-selector-multi-cells-example.c
5630 Example of how to use the GtkCellLayout interface on the selector
5632 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5634 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5636 * src/hildon-app-menu.h
5637 * src/hildon-app-menu.c
5638 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5639 (hildon_app_menu_append, hildon_app_menu_prepend):
5640 New methods to prepend, insert and move items in the menu.
5642 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5644 * src/hildon-wizard-dialog.c:
5646 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5648 (create_title): Update logical IDs and related code.
5649 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5651 * src/hildon-wizard-dialog.h: Note that
5652 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5653 point, as it is not used anymore.
5655 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5657 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5659 * src/hildon-note.c:
5660 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5661 shown. Do not display an icon in confirmation notes nor information
5663 (hildon_note_set_button_text): Update logical ID for cancel button.
5665 Fixes: NB#88850 (Update HildonNote button strings + signals)
5667 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-stackable-window.c
5670 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5672 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-app-menu-private.h
5675 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5676 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5677 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5678 temporary property 'columns' to change the number of columns.
5680 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5682 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5684 * examples/hildon-note-example.c: (on_information_clicked),
5685 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5686 debugging information.
5687 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5689 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5690 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5691 in order to close: this will be handled by the WM from now on.
5693 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5695 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5697 * src/hildon-app-menu-private.h
5698 * src/hildon-app-menu.c
5699 (hildon_app_menu_append, hildon_app_menu_add_filter)
5700 (button_visibility_changed, hildon_app_menu_apply_style)
5701 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5702 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5703 layout everytime a button (item or filter) is shown or hidden.
5705 * src/hildon-stackable-window.c
5706 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5709 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5711 * src/hildon-touch-selector.c:
5712 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5713 that the treeview inside the touch selector is in fremantle hildon mode
5714 * examples/hildon-date-button-example.c
5715 * examples/hildon-picker-button-multicolumn-example.c
5716 * examples/hildon-touch-selector-entry-example.c
5717 * examples/hildon-touch-selector-example.c
5718 * examples/hildon-time-button-example.c
5719 * examples/hildon-picker-button-example.c:
5720 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5722 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5724 * examples/hildon-text-view-example.c: (main): Remove the
5725 gtkrc bits, now handled by the theme.
5727 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5732 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5734 * po/Makefile.am: Install properly the mo files.
5735 * po/en_GB.po: Update translation, to ease testing purposes.
5737 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5739 * examples/hildon-picker-button-example.c: (main): Select an item
5740 in the selector before setting it to the button.
5742 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5744 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5745 Update button's value if the selector has an item active.
5747 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5748 'value' with the selector)
5750 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5752 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5753 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5754 (hildon_picker_button_class_init): Plug the finalize method.
5755 (hildon_picker_button_set_selector): If there's a previously set
5756 selector, unref'it before setting a new one.
5758 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5759 HildonTouchSelector)
5761 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5763 * src/hildon-touch-selector-entry.c:
5764 (hildon_touch_selector_entry_changed): Check if there is no text
5765 selected before setting the entry text.
5768 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-touch-selector.h
5771 * src/hildon-touch-selector.c
5772 (hildon_touch_selector_get_active)
5773 (hildon_touch_selector_set_active): New methods to set/get the
5774 index of the selected item.
5776 * src/hildon-picker-button.h
5777 * src/hildon-picker-button.c
5778 (hildon_picker_button_get_active)
5779 (hildon_picker_button_set_active): New methods to set/get the
5780 index of the selected item.
5782 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5784 * configure.ac: post-release version bump.
5786 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5790 * configure.ac: Pre-release version bump.
5791 * debian/changelog: Updates.
5792 * debian/control: Add myself as maintainer and depend on l10n
5795 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-window.c
5798 (hildon_window_set_main_menu)
5799 * src/hildon-stackable-window.c
5800 (hildon_stackable_window_set_main_menu):
5801 Updated documentation.
5803 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5806 Don't free selector->priv manually.
5809 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5812 (hildon_gtk_window_set_progress_indicator):
5813 * src/hildon-gtk.h: Added the new API
5814 hildon_gtk_window_set_progress_indicator, it changes the state of
5815 the window progress hint.
5817 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-button.c
5820 * src/hildon-stackable-window.c: Minor documentation updates.
5822 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5824 * src/hildon-stackable-window.c: Updated documentation.
5826 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5828 * src/hildon-defines.h: Update margins definitions
5829 to the Fremantle sizes.
5832 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5834 * src/hildon-touch-selector.c,
5835 (_hildon_touch_selector_set_model): Cleaning the code after
5836 review, removed g_print and #if 0 from the code.
5838 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-edit-toolbar.c: Update documentation.
5842 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5844 * src/hildon-check-button.h
5845 * src/hildon-check-button.c
5846 (hildon_check_button_set_label, hildon_check_button_get_label)
5847 * examples/hildon-check-button-example.c
5848 (button_clicked_cb):
5849 Removed deprecated methods.
5851 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-text-view.c:
5854 Add sample code to the documentation.
5856 * src/hildon-entry.h
5857 * src/hildon-text-view.h:
5858 Minor cosmetic changes.
5860 * src/hildon-entry.c:
5861 Add sample code to the documentation.
5862 (hildon_entry_init, hildon_entry_refresh_contents):
5863 Don't allow NULL values in the placeholder.
5865 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5867 * doc/hildon-docs.sgml
5869 * examples/Makefile.am
5870 * examples/hildon-text-view-example.c
5872 * src/hildon-text-view.c
5873 * src/hildon-text-view.h
5875 New HildonTextView widget, with example.
5877 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5879 * po/POTFILES.in: Add missing files with translatable strings.
5880 Partially fixes NB#88287.
5882 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5884 * examples/hildon-pannable-area-example-2.c: (main): No need to
5885 set the cellrenderer height inside hildon touch lists, the theme does
5888 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5890 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5891 they are integrated in the theme.
5893 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5895 * examples/hildon-entry-example.c: Update the example adding
5896 widgets to modify the text and the placeholder of the HildonEntry.
5898 * src/hildon-entry.c: Show the placeholder everytime the widget
5899 is empty and loses the focus.
5901 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5903 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5905 * src/hildon-pannable-area.c,
5906 (hildon_pannable_area_size_request): Fixed bug in height
5907 requisition, avoid increasing size and add border twice.
5909 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5911 * configure.ac: postrelease version bump.
5913 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5917 * configure.ac: Prerelease version bump.
5918 * debian/changelog: update.
5919 * debian/rules: make -dbg package contain useful debugging symbols.
5921 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-dialog.h
5924 * src/hildon-dialog.c
5925 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5926 New methods to add buttons with finger size.
5927 (hildon_dialog_new_with_buttons):
5928 Create buttons with finger size.
5930 * examples/hildon-dialog-example.c (main): Use HildonDialog
5931 methods to add buttons.
5933 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-entry.c: Updated HildonButton documentation.
5937 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5940 button value label with (FALSE, FALSE) to prevent NB#88126 from
5943 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5945 * examples/hildon-pannable-area-example.c,
5946 (main): Removed examples panning a vbox inside a pannable
5947 area. Check bug NB#87965
5949 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5951 Patch contributed by Kris Rietveld (kris@imendio.com)
5953 * src/hildon-pannable-area.c,
5954 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5955 get_size and get_position, this saves an X server roundtrip.
5957 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5959 * doc/hildon-docs.sgml
5961 * examples/Makefile.am
5962 * examples/hildon-entry-example.c
5964 * src/hildon-entry.c
5965 * src/hildon-entry.h
5967 New HildonEntry widget, with example.
5969 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-button.c (hildon_button_construct_child): Pack the
5972 image with expand == fill == FALSE. This is a workaround for a bug
5975 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5977 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5978 labels for the text column, to make it more look more dynamic.
5980 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5982 * src/hildon-time-selector.c
5983 Define gettext auxiliar macro N_
5984 (_create_minutes_model)
5985 (_create_hours_model)
5986 (_create_ampm_model): use of strftime in order to fill the model
5987 * src/hildon-date-selector.c
5988 (hildon_date_selector_finalize):
5989 (_locales_init): remove the logic related to get the name of the months
5990 using nl_langinfo, as it is not required anymore
5992 (_create_year_model)
5993 (_create_month_model)
5994 (_update_day_model): use of strftime in order to fill the model properly
5997 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-button.h
6000 * src/hildon-button.c (hildon_button_get_image): New method to
6003 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6005 * src/hildon-touch-selector.c:
6006 (hildon_touch_selector_remove_column): Remove from the correct parent
6007 and also remove the list element and free it.
6010 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6012 * src/hildon-time-selector.c
6013 (_create_hours_model): change the range on 12h ampm format in order to use
6014 a 12-11 range instead of previous 01-12 range
6015 (hildon_time_selector_set_time): change the way to select the current time
6016 on 12h ampm format, due the change on the range
6017 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6020 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6022 * src/hildon-touch-selector.c
6023 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6024 in order to allow use this function on multiple row selection mode if
6025 the column is different that the first one
6028 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6031 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6033 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6035 * src/hildon-date-selector.h: clean some comments, now on the .c
6036 * src/hildon-date-selector.c
6037 (hildon_date_selector_select_month): first implementation
6038 (hildon_date_selector_select_day): added documentation, reimplemented
6039 using hildon_date_selector_select_current_date to avoid repeat code
6042 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6044 Reviewed interaction logic based on device experiences, refactored
6047 * src/hildon-pannable-area.c,
6048 (hildon_pannable_area_class_init): Updated default vmax speed.
6049 (hildon_pannable_area_calculate_velocity): Added this function, it
6050 avoids duplicate valocity calculation. Adjusted calculation to
6051 avoid problems with zero dist events.
6053 (hildon_pannable_area_motion_notify_cb): Now we use the
6054 calculate_velocity function.
6056 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6058 * src/hildon-date-selector.c
6059 (hildon_date_selector_select_current_date): fix the day range check
6060 as it failed using the last day of the current month
6063 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6065 * src/hildon-touch-selector.c
6066 (hildon_touch_selector_get_num_columns): added a parameter validation
6069 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6071 * examples/Makefile.am
6072 * examples/hildon-edit-toolbar-example.c: Example of the
6073 HildonEditToolbar widget.
6075 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6077 * configure.ac: postrelease version bump.
6079 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * configure.ac: prerelease version bump.
6084 * debian/changelog: update.
6086 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6088 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6089 renderer to display stock icons in the touch list. Also, set the sizes
6090 to the recommended in the style guide.
6092 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6093 * src/hildon-touch-selector.h
6094 (hildon_touch_selector_set_active_iter): renamed, now is
6095 hildon_touch_selector_select_iter
6096 (hildon_touch_selector_get_active_iter): renamed, now is
6097 hildon_touch_selector_get_selected
6098 (hildon_touch_selector_unselect_iter): added
6099 * src/hildon-touch-selector.c
6100 Update after API modification (methods renamed)
6101 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6102 order to avoid problems selecting multiple elements on the column
6103 (hildon_touch_selector_unselect_iter): added the implementation
6104 * src/hildon-time-selector.c
6105 * src/hildon-date-selector.c
6106 * src/hildon-touch-selector-entry.c
6107 Update methods calls after hildon-touch-selector.h API modification (methods
6110 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-stackable-window.c
6113 (hildon_stackable_window_finalize): Call the parent class's finalize.
6115 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6117 * examples/hildon-touch-selector-example.c: (create_selector): Use
6118 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6121 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6124 set a cell background color, to respect theming.
6126 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6128 * doc/hildon-docs.sgml
6131 * src/hildon-edit-toolbar.c
6132 * src/hildon-edit-toolbar.h
6133 * src/hildon.h: New HildonEditToolbar widget.
6135 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6137 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6140 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6141 * src/hildon-touch-selector.c
6142 (_create_new_column): use g_object_set instead of two g_object_set_property
6144 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6145 * src/hildon-touch-selector.c
6146 (_create_new_column): use of hildon_gtk_tree_view_new to create
6147 the treeview, instead of use directly g_object_new
6148 (_create_new_column): update the property name "vindicator-mode" for the
6149 new one "vscrollbar-policy"
6150 * examples/hildon-date-button-example.c
6151 * examples/hildon-picker-button-multicolumn-example.c
6152 * examples/hildon-touch-selector-entry-example.c
6153 * examples/hildon-touch-selector-example.c
6154 * examples/hildon-time-button-example.c
6155 * examples/hildon-picker-button-example.c
6156 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6157 to all the treeviews inside a pannable area.
6159 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-button.h
6162 * src/hildon-button.c (hildon_button_init)
6163 (hildon_button_set_arrangement, hildon_button_set_alignment)
6164 (hildon_button_set_title_alignment)
6165 (hildon_button_set_value_alignment)
6166 (hildon_button_set_image_alignment)
6167 (hildon_button_construct_child): New methods to set the alignment
6168 of the individual components of the button (title, value,
6169 image). Also, new method to alter the xscale and yscale properties
6170 of the GtkAlignment inside the button, so more complex layouts can
6173 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-button.c (hildon_button_style_set)
6176 (hildon_button_class_init, hildon_button_set_arrangement)
6177 (hildon_button_construct_child): Apply style properties
6178 correctly. Use the 'image-spacing' style property too.
6180 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6183 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6186 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6188 * src/hildon-pannable-area.c,
6189 (hildon_pannable_area_size_request): Fixed problem with
6190 pannable-area size_request.
6192 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6194 Added management for the grab-focus to a child widget, like a
6195 range, we need to fade out the scrollbar when releasing.
6197 * src/hildon-pannable-area.c,
6198 (hildon_pannable_area_init): Connected the grab-focus signal to
6200 (hildon_pannable_area_grab_notify): Added this function in order
6201 to manage the situation when the grab-focus ends. We have to
6202 fade-out the scrollbar.
6204 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-app-menu.c: Minor documentation update.
6208 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6210 * src/hildon-app-menu.c
6211 * examples/hildon-app-menu-example.c (create_menu): Update
6212 examples and documentation to explain how to connect callbacks.
6214 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6216 * examples/hildon-button-example.c
6217 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6218 hildon_stackable_window_new instead of gtk_window_new
6220 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6222 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6223 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6224 (hildon_pannable_area_set_property),
6225 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6226 (hildon_pannable_area_unrealize),
6227 (hildon_pannable_area_size_request),
6228 (hildon_pannable_area_size_allocate),
6229 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6230 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6231 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6232 (hildon_pannable_area_initial_effect),
6233 (hildon_pannable_area_redraw),
6234 (hildon_pannable_area_scroll_indicator_fade),
6235 (hildon_pannable_area_expose_event),
6236 (hildon_pannable_area_get_topmost), (synth_crossing),
6237 (hildon_pannable_area_button_press_cb),
6238 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6239 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6240 (hildon_pannable_area_motion_notify_cb),
6241 (hildon_pannable_area_button_release_cb),
6242 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6243 (hildon_pannable_area_remove),
6244 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6245 chage the code layout to a more GtkWidget like. Review the use of
6248 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6250 * examples/hildon-pannable-area-example-4.c,
6251 (main): Modified the name of the hindicator_mode to
6254 * src/hildon-pannable-area.c,
6255 (hildon_pannable_area_class_init),
6256 (hildon_pannable_area_motion_notify_cb),
6257 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6258 we have reduced the amount of signals and managed reviewed its
6259 rationale. Changed the default decelerate value.
6261 (hildon_pannable_area_add),
6262 (hildon_pannable_area_redraw): Refactored functions.
6264 (hildon_pannable_area_init),
6265 (hildon_pannable_area_get_property),
6266 (hildon_pannable_area_set_property):
6267 (hildon_pannable_draw_vscroll),
6268 (hildon_pannable_draw_hscroll),
6269 (hildon_pannable_area_initial_effect),
6270 (hildon_pannable_area_expose_event),
6271 (hildon_pannable_area_scroll),
6272 (hildon_pannable_area_button_press_cb),
6273 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6274 and vindicator_mode with hscrollbar_policy and
6275 vscrollbar_policy. Replaced hscroll and vscroll with
6276 hscroll_visible and vscroll_visible.
6278 (hildon_pannable_area_refresh): Refactor the function, remove
6279 variables and check the calls to this function, added resize
6280 conditions in case the children change their layout.
6282 (hildon_pannable_area_size_request): Added more detailed
6283 size_request calculation.
6286 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6288 * src/hildon-color-chooser.c
6289 (init_borders): use the correct gtk_border_free instead of g_free, to
6290 avoid a crash when this widget is used (ie: the three color selection
6293 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6295 * src/hildon-check-button.c,
6296 (hildon_check_button_set_active): Fixed problem when setting the
6297 active value, the widget was not redrawn.
6299 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6301 * src/hildon-pannable-area.c,
6302 (hildon_pannable_area_refresh),
6303 (hildon_pannable_area_scroll),
6304 (hildon_pannable_area_motion_notify_cb): Small code style change.
6306 (hildon_pannable_area_class_init): Default initial_hint set to
6307 FALSE, it is not in the specs.
6309 (hildon_pannable_area_initial_effect),
6310 (hildon_pannable_area_expose_event),
6311 (hildon_pannable_area_map),
6312 (hildon_pannable_area_init): Moved the launching point of the
6313 initial effect, it was in map but the sizes where not correct in
6314 that method so we do not know if we have the reproduce it. Now it
6315 is placed in the expose_event method and uses a variable to
6316 reproduce it just once.
6318 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6320 * src/hildon-pannable-area.c,
6321 (hildon_pannable_draw_vscroll),
6322 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6323 position allowed for the scrollbars.
6325 (hildon_pannable_area_size_allocate): Small style change.
6327 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6329 * src/hildon-pannable-area.c,
6330 (hildon_pannable_area_scroll_indicator_fade),
6331 (hildon_pannable_area_button_press_cb),
6332 (hildon_pannable_area_button_release_cb),
6333 (hildon_pannable_area_scroll_cb),
6334 (hildon_pannable_area_expose_event),
6335 (hildon_pannable_area_init): Added the define parameter
6336 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6337 and refactor the fade variable.
6339 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6341 * src/hildon-pannable-area.c,
6342 (hildon_pannable_area_redraw),
6343 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6344 lines, we were reimplemeting the redraw code.
6346 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6348 * src/hildon-pannable-area.c,
6349 (hildon_pannable_area_scroll_cb),
6350 (hildon_pannable_area_realize),
6351 (hildon_pannable_area_class_init): Added scroll_event management
6352 for pannable area, now we can scroll the usual desktop method.
6354 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6355 initialization of the parameters should depend on idle_id.
6357 (hildon_pannable_area_init),
6358 (hildon_pannable_area_map): Small code style modifications
6360 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6362 * src/hildon-pannable-area.c
6363 (hildon_pannable_area_button_press_cb),
6364 (hildon_pannable_area_motion_notify_cb),
6365 (hildon_pannable_area_button_release_cb),
6366 (hildon_pannable_area_size_allocate),
6367 (hildon_pannable_area_scroll_to): Improved the timeouts
6368 management, we avoid creating them each time.
6370 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6372 * src/hildon-pannable-area.c:
6373 (hildon_pannable_area_refresh),
6374 (hildon_pannable_area_motion_notify_cb),
6375 (hildon_pannable_area_class_init):
6376 * src/hildon-pannable-area.h:
6377 * src/hildon-touch-selector.c
6378 (_create_new_column):
6379 * examples/hildon-pannable-area-example-4.c:
6380 (horizontal_movement),
6381 (vertical_movement),
6383 Replaced the names of enums in the HildonPannableArea:
6384 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6385 HILDON_MOVEMENT_MODE_*
6386 - HILDON_PANNABLE_AREA_MOV_* ->
6388 - Removed HildonPannableAreaIndicatorMode, now we
6391 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6393 * examples/hildon-pannable-area-touch-grid-example.c
6394 * examples/hildon-pannable-area-touch-list-example.c: Fix
6395 compilation warnings.
6397 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6399 * src/hildon-gtk.c (hildon_gtk_button_new)
6400 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6401 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6402 images overriding the value of the "gtk-button-images" setting.
6404 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-check-button.c (hildon_check_button_new):
6407 Instead of using a custom container, display the label and the
6408 checkbox using the standard GtkButton API.
6410 * examples/hildon-check-button-example.c (main): Don't use
6411 hildon_check_button_set_label() anymore
6413 * src/hildon-check-button.h
6414 * src/hildon-check-button.c
6415 (hildon_check_button_set_label, hildon_check_button_get_label):
6416 Set as deprecated, now we're using gtk_button_{get,set}_label()
6418 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6420 * src/hildon-pannable-area.c,
6421 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6422 GtkTreeview first line we detected it after the inclusion of the
6423 GtkWindowImpl in gtk+. We now check if the window is visible, not
6424 just if the pointer is over the window.
6425 (hildon_pannable_axis_scroll),
6426 (hildon_pannable_area_expose_event): Small style changes.
6428 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-button.c: Update documentation.
6432 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6434 * examples/hildon-button-example.c: Add a switch to show images in
6437 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6439 * doc/hildon-docs.sgml: Some docs reorganization.
6441 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6443 * examples/hildon-pannable-area-touch-list-example.c
6445 * examples/hildon-pannable-area-touch-grid-example.c
6446 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6447 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6448 Fix memory leak when setting the tree model.
6450 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6454 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6456 * doc/hildon.types: Remove duplicated hildon_window_get_type
6457 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6458 documentation comment.
6460 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6462 * doc/Makefile.am: Complete list of private headers.
6464 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6466 * doc/hildon-docs.sgml
6467 * src/hildon-app-menu.c
6468 * src/hildon-bread-crumb.c
6469 * src/hildon-button.c
6471 * src/hildon-program.c
6472 * src/hildon-stackable-window.c
6473 * src/hildon-window.c: Lots of documentation updates.
6475 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6477 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6479 * configure.ac: Require Gtk+ 2.12.9 at least
6481 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6483 * src/hildon-pannable-area.c
6484 (hildon_pannable_area_scroll_indicator_fade),
6485 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6486 to protect the return of this timeout callbacks, avoiding deadlocks.
6488 2008-08-12 Christian Dywan <christian@imendio.com>
6491 * src/hildon-*.h: Ensure a consistent include order,
6492 include <gtk/gtk.h> instead of particular files and
6493 only include the topmost header in the gtk stack. See NB #39857
6495 2008-08-12 Christian Dywan <christian@imendio.com>
6497 * src/hildon-picker-dialog.c
6498 * src/hildon-touch-selector.c: Fix warnings about unused and
6499 uninitialized variables.
6501 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6503 * examples/Makefile.am
6504 * examples/hildon-check-button-example.c: Example of the hildon
6507 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6509 * src/hildon-window.h
6510 * src/hildon-window.c (hildon_window_class_init)
6511 (hildon_window_unset_program): Don't make
6512 hildon_window_unset_program a virtual function anymore.
6514 * src/hildon-stackable-window.c: Update documentation
6516 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6519 * doc/hildon-docs.sgml
6520 * doc/visual_index.xml
6521 * src/hildon-defines.c
6523 * src/hildon-helper.c
6524 * src/hildon-range-editor.c: Lots of documentation fixes.
6526 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6528 * examples/hildon-picker-button-multicolumn-example.c
6529 (create_touch_selector): Fix compilation warning.
6531 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6533 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6534 (hildon_pannable_area_button_release_cb)
6535 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6537 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6542 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-bread-crumb-trail.h
6545 * src/hildon-date-editor.c
6546 * src/hildon-date-selector.c
6547 * src/hildon-pannable-area.c
6548 * src/hildon-picker-dialog.c
6549 * src/hildon-time-selector.c
6550 * src/hildon-touch-selector-entry.c
6551 * src/hildon-touch-selector.c
6552 * src/hildon-touch-selector.h: Misc documentation fixes
6554 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6556 * examples/hildon-date-editor-example.c (main): Updated date
6559 * examples/hildon-note-example.c (on_confirmation_clicked):
6560 Updated confirmation note example.
6562 * src/hildon-date-editor.c
6563 * src/hildon-note.c: Updated sample programs in documentation.
6566 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6568 * src/hildon-date-button.h:
6569 * src/hildon-picker-button.h:
6570 * src/hildon-time-button.c:
6571 * src/hildon-time-button.h:
6573 Some declarations changes to allow gtk-doc to document the widgets
6576 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6578 * src/hildon-date-button.c: Document the widget.
6579 * src/hildon-time-button.c: Document the widget.
6581 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6583 * src/hildon-picker-button.c: Document the widget.
6584 * src/hildon-touch-selector-entry.c: Document the widget.
6586 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6588 * doc/hildon-docs.sgml
6591 * src/hildon-check-button.h
6592 * src/hildon-check-button.c: New functions to create the Hildon
6596 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6598 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-button.h
6601 * src/hildon-button.c
6602 (hildon_button_add_title_size_group)
6603 (hildon_button_add_value_size_group)
6604 (hildon_button_add_image_size_group)
6605 (hildon_button_add_size_groups): New functions to set size groups
6606 for the button labels and image.
6607 (hildon_button_new_full): Removed
6609 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6611 * src/hildon-time-selector.c
6612 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6613 in order to avoid a crash if gconf is not available
6615 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-button.c (hildon_button_set_arrangement)
6618 (hildon_button_construct_child): Don't construct the button child
6619 before setting the arrangement.
6621 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6623 * src/hildon-program-private.h
6624 * src/hildon-program.c
6625 * src/hildon-program.h
6626 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6627 (hildon_program_peek_window_stack)
6628 (hildon_program_pop_window_stack)
6629 (hildon_program_go_to_root_window): HildonProgram now has a
6630 separate list for stackable windows. Functions are provided to
6631 manage that list with a stack-like API.
6633 * src/hildon-stackable-window.c: Stackable window management is
6634 now much simpler with the new HildonProgram API. Windows no
6635 longer need to be manually added to the program, they're
6636 automatically pushed to the top of the stack when shown.
6638 * examples/hildon-stackable-window-example.c: Updated example to
6639 reflect the API changes.
6641 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6643 * src/hildon-touch-selector.c: Comment out unimplemented
6644 hildon_touch_selector_insert_column() to avoid a compile warning.
6646 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6648 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6649 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6650 (hildon_touch_selector_set_column_selection_mode),
6651 (_hildon_touch_selector_set_model),
6652 (hildon_touch_selector_set_model):
6654 Complete review of HildonTouchSelector documentation.
6656 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6658 * doc/hildon-docs.sgml
6662 * src/hildon-gtk.c: Convenience functions for standard Gtk
6663 widgets, used to easily perform frequent operations.
6665 * src/hildon-button-helpers.h
6666 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6668 * src/hildon-helper.h
6669 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6670 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6672 * src/hildon-button.h
6673 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6675 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6677 * src/hildon-button.c (hildon_button_init)
6678 (hildon_button_set_arrangement, hildon_button_construct_child):
6679 Pack the image and the labels inside the same GtkAlignment so
6680 gtk_button_set_alignment() can be used
6682 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6684 * src/hildon-button.h
6685 * src/hildon-button.c
6686 (hildon_button_init, hildon_button_set_image)
6687 (hildon_button_set_image_position)
6688 (hildon_button_construct_child): New functions to add an image to
6691 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-date-button.c
6694 * src/hildon-picker-button.c
6695 * src/hildon-time-button.c
6696 * src/hildon-button.c:
6697 (hildon_button_class_init): "size-flags" renamed to "size"
6698 (hildon_button_set_title): Hide the title label if set to NULL.
6700 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6702 HildonButtonFlags split into HildonButtonArrangement (to set the
6703 button layout) and HildonSizeType (which can be used for any
6706 * src/hildon-button.h
6707 * src/hildon-button.c
6708 (hildon_button_class_init)
6709 (hildon_button_set_arrangement)
6710 (hildon_button_set_property): New "size-flags"
6711 property. "arrangement-flags" renamed to "arrangement".
6712 (hildon_button_new, hildon_button_new_with_text)
6713 (hildon_button_new_full): Constructors updated to reflect type changes.
6715 * src/hildon-helper.h
6716 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6717 to set the size of a widget.
6721 * src/hildon-button-helpers.c
6722 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6724 * src/hildon-date-button.c
6725 * src/hildon-date-button.h
6726 * src/hildon-picker-button.c
6727 * src/hildon-picker-button.h
6728 * src/hildon-time-button.c
6729 * src/hildon-time-button.h: Updated widgets to reflect
6730 HildonButton API changes.
6732 * examples/hildon-button-example.c
6733 * examples/hildon-date-button-example.c
6734 * examples/hildon-picker-button-example.c
6735 * examples/hildon-picker-button-multicolumn-example.c
6736 * examples/hildon-time-button-example.c
6737 * examples/hildon-touch-selector-entry-example.c
6738 * examples/hildon-touch-selector-example.c: Updated examples to
6739 reflect HildonButton API changes.
6741 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6743 * doc/hildon-docs.sgml:
6745 * examples/Makefile.am:
6746 * examples/hildon-touch-selector-entry-example.c:
6748 * src/hildon-touch-selector-entry.c:
6749 * src/hildon-touch-selector-entry.h:
6752 Moved HildonTouchSelectorEntry from sandbox. Added its
6753 documentation and examples.
6755 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6757 * src/hildon-touch-selector.h:
6758 * examples/hildon-picker-button-multicolumn-example.c:
6759 (hildon_touch_selector_append_text_column): Add a gboolean
6760 parameter to determine if text must be centered in the column.
6762 * src/hildon-date-selector.c: (hildon_date_selector_init):
6763 * src/hildon-time-selector.c: (hildon_time_selector_init):
6764 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6765 (create_touch_selector): Update widgets and example to reflect
6768 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6770 * src/hildon-touch-selector.c:
6771 (hildon_touch_selector_set_active_iter): Set also the cursor in
6774 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6776 * doc/hildon-docs.sgml
6779 * src/hildon-toggle-button.c
6780 * src/hildon-toggle-button.h
6781 * src/hildon.h: Removed HildonToggleButton widget, a derived
6782 class is not necessary for this.
6784 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6786 * src/hildon-pannable-area.c,
6787 (hildon_pannable_area_realize),
6788 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6791 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6793 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6794 "done" button the default widget for the dialog.
6796 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6798 * src/hildon-touch-selector.c:
6799 (hildon_touch_selector_class_init),
6800 (hildon_touch_selector_get_property),
6801 (_hildon_touch_selector_set_model),
6802 (_hildon_touch_selector_has_multiple_selection),
6803 (hildon_touch_selector_has_multiple_selection):
6804 Add a "has-multiple-selection" property with a virtual
6805 has_multiple_selection() method to allow derived classes to
6806 override the default value for it. See the method and property
6807 documentation for details.
6809 * src/hildon-touch-selector.h: Add the new API.
6811 * src/hildon-picker-dialog.c: (requires_done_button): Call
6812 hildon_touch_selector_has_multiple_selection() instead of
6813 determining the need for a button itself.
6815 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6817 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6818 (_hildon_touch_selector_set_model),
6819 (hildon_touch_selector_set_model): Move working code to
6820 _hildon_touch_selector_set_mode(). Call the class method instead.
6822 * src/hildon-touch-selector.h: Add (*set_model) to
6823 HildonTouchSelectorClass.
6825 Make hildon_touch_selector_set_model() a virtual method, so that
6826 derived classes can extend it and do fancy stuff with the model.
6828 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6830 * configure.ac: Set back the tarname in AC_INIT to hildon.
6832 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6836 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6837 instead of libesd (NB#86876). Volume handling is still an open issue.
6839 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6842 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6844 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6845 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6846 derived class to ease placement of an entry widget in
6847 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6848 end, where the selector columns are packed now.
6850 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-picker-button.c: Removed the simple _text() API.
6853 * src/hildon-picker-button.h: Likewise.
6855 * src/hildon-touch-selector.h:
6856 * src/hildon-touch-selector.c:
6857 (hildon_touch_selector_new_text),
6858 (hildon_touch_selector_append_text),
6859 (hildon_touch_selector_prepend_text),
6860 (hildon_touch_selector_insert_text):
6862 Moved the simple _text() API from HildonPickerButton to
6863 HildonTouchPicker, to provide better escalability and not to tie
6864 that API to HildonPickerButton.
6866 * examples/hildon-picker-button-example.c: (main): Example updated.
6868 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-button.c: Updated documentation.
6872 * examples/hildon-button-example.c: Add the posibility to create
6873 the buttons using horizontal layout for title and value.
6875 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-app-menu-private.h
6878 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6879 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6880 GtkSizeGroup for the filters, use the 'homogeneous' property of
6883 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6885 * examples/hildon-button-example.c: Updated example.
6887 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6889 * doc/hildon-docs.sgml:
6892 Update documentation.
6894 * examples/Makefile.am: Update renamed examples.
6896 * examples/hildon-picker-button-multicolumn-example.c:
6897 (create_touch_selector), (main): Update after the rename.
6899 * examples/hildon-touch-picker-example.c: Removed.
6900 * examples/hildon-touch-selector-example.c: (value_changed),
6901 (create_selector), (get_visible_content), (main): Renamed from
6902 hildon-touch-picker-example.c
6904 * src/Makefile.am: Updated renamed files.
6906 * src/hildon-date-button.c: (hildon_date_button_init),
6907 (hildon_date_button_get_date), (hildon_date_button_set_date):
6908 * src/hildon-date-selector.c: (hildon_date_selector_init),
6909 (_custom_print_func), (_update_day_model),
6910 (_manage_selector_change_cb),
6911 (hildon_date_selector_select_current_date),
6912 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6913 * src/hildon-date-selector.h:
6914 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6915 (hildon_picker_button_set_property),
6916 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6917 (hildon_picker_button_init), (hildon_picker_button_new_text),
6918 (hildon_picker_button_append_text),
6919 (hildon_picker_button_prepend_text),
6920 (hildon_picker_button_insert_text),
6921 (hildon_picker_button_set_selector),
6922 (hildon_picker_button_get_selector):
6923 * src/hildon-picker-button.h:
6924 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6925 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6926 (_update_title_on_selector_changed_cb), (requires_done_button),
6927 (_hildon_picker_dialog_set_selector),
6928 (hildon_picker_dialog_set_selector),
6929 (hildon_picker_dialog_get_selector):
6930 * src/hildon-picker-dialog.h:
6931 * src/hildon-time-button.c: (hildon_time_button_init),
6932 (hildon_time_button_get_time), (hildon_time_button_set_time):
6933 * src/hildon-time-selector.c: (hildon_time_selector_init),
6934 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6935 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6936 * src/hildon-time-selector.h:
6939 Massive code updates after the rename.
6941 * src/hildon-touch-picker.c: Removed.
6942 * src/hildon-touch-picker.h: Removed.
6944 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6945 (hildon_touch_selector_init), (hildon_touch_selector_map),
6946 (hildon_touch_selector_remove), (_default_print_func),
6947 (_selection_changed_cb), (_create_new_column),
6948 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6949 (hildon_touch_selector_append_text_column),
6950 (hildon_touch_selector_remove_column),
6951 (hildon_touch_selector_set_column_attributes),
6952 (hildon_touch_selector_insert_column),
6953 (hildon_touch_selector_get_num_columns),
6954 (hildon_touch_selector_get_column_selection_mode),
6955 (hildon_touch_selector_set_column_selection_mode),
6956 (hildon_touch_selector_set_print_func),
6957 (hildon_touch_selector_get_print_func),
6958 (hildon_touch_selector_get_active_iter),
6959 (hildon_touch_selector_set_active_iter),
6960 (hildon_touch_selector_get_selected_rows),
6961 (hildon_touch_selector_get_model),
6962 (hildon_touch_selector_set_model),
6963 (hildon_touch_selector_get_current_text),
6964 (_hildon_touch_selector_center_on_selected_items):
6965 * src/hildon-touch-selector.h: Renamed from
6966 hildon-touch-picker.[ch]
6968 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6969 references, code examples, and related documentation.
6971 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6973 * doc/hildon-docs.sgml
6976 * src/hildon-toggle-button.c
6977 * src/hildon-toggle-button.h
6978 * src/hildon.h: New HildonToggleButton widget.
6980 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6982 * src/hildon-button.c: Add API documentation.
6983 (hildon_button_set_size_groups): Check input parameters
6985 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6987 * src/hildon-pannable-area.c
6988 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6989 effect after reaching the movement thredshold. This way we start
6990 using the distance after passing the thredshold.
6992 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6994 * src/hildon-button.c: (hildon_button_set_property): Use the
6995 appropriate g_value_get_flags() method.
6997 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6999 * doc/hildon-docs.sgml:
7002 Add the touch pickers, picker dialogs, and picker button widgets
7003 to the documentation.
7005 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/hildon-button.c: (hildon_button_set_property),
7008 (hildon_button_class_init): Make "arrangement-flags" a proper
7009 G_TYPE_FLAGS derived property.
7011 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7013 * examples/Makefile.am: Add below examples.
7014 * examples/hildon-date-button-example.c:
7015 * examples/hildon-picker-button-example.c:
7016 * examples/hildon-picker-button-multicolumn-example.c:
7017 * examples/hildon-time-button-example.c:
7018 * examples/hildon-touch-picker-example.c:
7020 Add examples for the recently added touch pickers,
7021 picker dialogs, and picker button widgets.
7023 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7025 * src/hildon-button.c: Add some API documentation
7027 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7029 * src/hildon-button.h
7030 * src/hildon-button.c
7032 (hildon_button_new_with_text): New constructor to create a button
7033 with no text at all.
7034 (hildon_button_init, hildon_button_set_arrangement)
7035 (hildon_button_set_title, hildon_button_set_value)
7036 (hildon_button_set_text)
7037 (hildon_button_construct_child): Hide the value when it's not used
7038 so the rest of the text is properly aligned.
7039 Allow creating buttons with arbitrary widgets inside (not just
7040 title/value labels).
7042 * examples/hildon-button-example.c (vertical_buttons_window)
7043 (horizontal_buttons_window): Update example to use new API.
7045 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7047 * src/Makefile.am: Added HildonTimeButton.
7048 * src/hildon-time-button.c: Added missing LGPL header.
7049 * src/hildon-time-button.h: Added missing LGPL header.
7050 * src/hildon.h: Add hildon-time-button.h
7052 Copied HildonTimeButton from sandbox to trunk. Future work on this
7053 widget must take place in trunk.
7055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7057 * src/Makefile.am: Added HildonDateButton.
7058 * src/hildon-date-button.c: Update includes.
7059 * src/hildon.h: Add hildon-date-button.h
7061 Copied HildonDateButton from sandbox to trunk. Future work on this
7062 widget must take place in trunk.
7064 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7066 * src/Makefile.am: Added HildonPickerButton.
7067 * src/hildon-picker-button.h: Update includes.
7068 * src/hildon.h: Add hildon-picker-button.h
7070 Copied HildonPickerButton from sandbox to trunk. Future work on
7071 this widget must take place in trunk.
7073 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7075 * src/Makefile.am: Added HildonPickerDialog.
7076 * src/hildon-picker-dialog.c: Update includes.
7077 * src/hildon.h: Add hildon-picker-dialog.h
7079 Copied HildonPickerDialog from sandbox to trunk. Future work
7080 on this widget must take place in trunk.
7082 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7084 * src/Makefile.am: Added HildonTimeSelector.
7085 * src/hildon.h: Add hildon-time-selector.h
7087 Copied HildonTimeSelector widget from sandbox to trunk. Future
7088 work on this widget must happen in trunk.
7090 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7092 * src/Makefile.am: Added HildonDateSelector.
7093 * src/hildon.h: Add hildon-date-selector.h
7095 Copied HildonDateSelector widget from sandbox to trunk. Future
7096 work on this widget must happen in trunk.
7098 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7100 * src/Makefile.am: Added HildonTouchPicker.
7101 * src/hildon-touch-picker.c: Update includes.
7102 * src/hildon.h: Add hildon-touch-picker.h
7104 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7105 on this widget must happen in trunk.
7107 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7109 * src/hildon-pannable-area.c:
7110 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7112 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7114 * examples/hildon-app-menu-example.c (main): Let the window
7117 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7119 * src/hildon-pannable-area.c
7120 (hildon_pannable_area_class_init): Set the min value of the
7121 overshoot properties to zero, which points out that not
7122 overshooting allowed.
7124 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7126 Modified the procedure to get the widget at a point inside the
7127 pannable area when using the movement type signals. Now the user
7128 has to call a function to get the child, that way we just
7129 calculate the child in case the user really want to use it and not
7132 * src/hildon-marshalers.list: Modified the marshallers, now we do
7133 not have the widget as a parameter.
7135 * src/hildon-pannable-area.c
7136 (hildon_pannable_area_motion_notify_cb),
7137 (hildon_pannable_area_class_init),
7138 (hildon_pannable_get_child_widget_at): Removed the widget
7139 parameter from the signal callback. We have also refactored the
7140 emission of the signals.
7142 * src/hildon-pannable-area.h: Added a new method to the API to
7143 calculate a widget at a point inside the pannable area,
7144 hildon_pannable_get_child_widget_at.
7146 * examples/hildon-pannable-area-example-4.c
7147 (horizontal_movement): Modified the example to use the new API,
7148 added condition to control which widget is under the event. This
7149 way we can avoid scrolling laterally over other widgets.
7151 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7153 * src/hildon-pannable-area.c
7154 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7155 modes, we stop getting the pointer events due to returning the
7156 callback without properly calling the get pointer again. Fixed
7157 also an error using the hscroll and vscroll.
7159 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7161 * src/hildon-app-menu-private.h
7162 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7163 (hildon_app_menu_button_release, hildon_app_menu_init)
7164 (hildon_app_menu_class_init): Don't hide the menu on button
7165 release if the user didn't press outside first.
7167 * src/hildon-window.h
7168 * src/hildon-window.c (hildon_window_toggle_menu)
7169 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7170 hildon_window_toggle_menu a virtual function for the stackable
7171 window to override it.
7173 * src/hildon-stackable-window.h
7174 * src/hildon-stackable-window-private.h
7175 * src/hildon-stackable-window.c
7176 (hildon_stackable_window_realize)
7177 (hildon_stackable_window_finalize)
7178 (hildon_stackable_window_class_init)
7179 (hildon_stackable_window_init)
7180 (hildon_stackable_window_set_main_menu): New function to set the
7181 app menu of a HildonStackableWindow.
7183 * examples/hildon-app-menu-example.c: Remove the button to show
7184 the app menu, now it'll be shown when clicking on the title bar
7187 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7189 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7190 set the widget name if the arrangement flags do not specify
7193 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7195 * src/hildon-button.c: (hildon_button_set_property),
7196 (hildon_button_class_init), (hildon_button_new_full),
7197 (hildon_button_set_arrangement): Added "arrangement-flags"
7200 Make the HildonButtonFlags a construction-only property, to allow
7201 subclasses to set them properly.
7203 2008-07-21 Tim Janik <timj@imendio.com>
7205 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7206 insertion position after backspace, so additional digits are appended,
7209 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7211 * src/hildon-pannable-area.c,
7212 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7213 TODO list, it was complete and removed the g_debug and g_print
7216 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7218 Added the movement modes to the hildon-pannable-area, with this
7219 modes the developers can control in which directions the widget
7220 can scroll. They can also connect to signals in order to do
7221 something when that happens, allowing applications scroll. There
7222 is an example uploaded showing how to use it.
7224 * examples/Makefile.am:
7225 * examples/hildon-pannable-area-example-4.c: Added this example of
7226 an application using the modes.
7228 * src/hildon-marshalers.list: Added a new marshaller for the new
7231 * src/hildon-pannable-area.h: Added new enumerations and flags in
7232 order to control the movement modes and the new signals to warn
7233 about the movements in the area.
7235 * src/hildon-pannable-area.c:
7236 (hildon_pannable_axis_scroll),
7237 (hildon_pannable_area_scroll),
7238 (hildon_pannable_area_motion_notify_cb),
7239 (hildon_pannable_area_get_property),
7240 (hildon_pannable_area_set_property),
7241 (hildon_pannable_area_map),
7242 (hildon_pannable_area_class_init),
7243 (hildon_pannable_area_init),
7244 (hildon_pannable_area_jump_to): Added the modes to control the
7245 movement in the widget. We have added properties to control it,
7246 signals to warn about the movements and refactored some code.
7248 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7250 Changes required in order to allow vfast_factor set to zero to
7253 * src/hildon-pannable-area.c:
7254 (hildon_pannable_area_button_press_cb): Changed the condition, it
7255 is required for not allowing click when vfast_factor is zero.
7256 (hildon_pannable_area_timeout): Initialized velocity variables
7257 when we stop moving, it was less than 1 but not zero and we need
7258 to check zero in some situations.
7259 (hildon_pannable_area_class_init): Changed the default value of
7260 the speed factor, now the button_press is just sent in case the
7261 speed is 2 per cent of the max speed.
7262 (hildon_pannable_area_init): Initialization with 0.
7264 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7266 * src/hildon-pannable-area.c,
7267 (hildon_pannable_area_get_topmost): replaced
7268 gdk_window_get_children with gdk_window_peek_children, this way we
7269 do not have to free the list because it is not a copy.
7271 (hildon_pannable_axis_scroll),
7272 (hildon_pannable_area_scroll),
7273 (hildon_pannable_area_timeout),
7274 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7275 two parameters that were only used inside the
7276 hildon_pannable_area_scroll function.
7278 * examples/hildon-pannable-area-example.c,
7279 (get_sawtooth_label): Fixed small memory leak.
7281 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7283 More checks for the case where the overshoot is bigger than the
7286 * src/hildon-pannable-area.c:
7287 (hildon_pannable_draw_vscroll),
7288 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7289 to draw the slider of the scrollbar under the other scrollbar.
7290 (hildon_pannable_area_expose_event): added new checks to control
7291 the drawing of the overshooting area rectangle, in case it is too
7292 big for the area of the widget.
7293 (hildon_pannable_area_size_allocate): add more checks to avoid
7294 setting a position to the child widget outside the area.
7296 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7298 * src/hildon-pannable-area.c
7299 (hildon_pannable_area_size_allocate): Added conditions to control
7300 when overshooting is bigger than the allocated space for the
7301 children, this avoids negative allocations.
7303 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7305 * doc/hildon-docs.sgml
7307 * examples/Makefile.am
7308 * examples/hildon-button-example.c
7310 * src/hildon-button.c
7311 * src/hildon-button.h
7312 * src/hildon.h: Initial version of the new HildonButton widget,
7315 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7317 * src/hildon-pannable-area.c:
7318 (hildon_pannable_area_button_press_cb),
7319 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7320 (hildon_pannable_area_motion_notify_cb),
7321 (hildon_pannable_area_button_release_cb),
7322 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7323 (hildon_pannable_area_jump_to_child):
7325 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7327 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7329 * examples/Makefile.am
7330 * examples/hildon-pannable-area-touch-grid-example.c
7331 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7332 the Hildon Touch List and Hildon Touch Grid using the
7333 HildonPannableArea widget.
7335 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7337 * src/hildon-pannable-area.c,
7338 (hildon_pannable_area_button_press_cb),
7339 (hildon_pannable_area_refresh),
7340 (hildon_pannable_area_scroll),
7341 (hildon_pannable_area_motion_notify_cb),
7342 (hildon_pannable_area_button_release_cb),
7343 (hildon_pannable_area_expose_event),
7344 (hildon_pannable_area_add),
7345 (hildon_pannable_area_remove),
7346 (hildon_pannable_area_realize),
7347 (hildon_pannable_area_size_allocate),
7348 (hildon_pannable_area_class_init),
7349 (hildon_pannable_area_init),
7350 (hildon_pannable_area_scroll_to_child),
7351 (hildon_pannable_area_jump_to_child): Fixed the problem of
7352 removing the child from the GtkBin, we have rearranged the widget
7353 hierarchy, now there is no GtkAlignment which was not doing
7354 anything interesting but breaking some of the assumptions of
7355 GtkContainer. Now developers if they want to add a GtkAlignment
7356 they could, but it is not inside the area.
7358 We had to review the whole allocation/expose process, now it is
7359 improved and we save at least three signals which would be saving
7360 some time when rendering the widget. The allocation of the
7361 scrollbars is now made in the allocate method as usual.
7363 We have also added some conditions in order to control when there
7364 is no child of the pannable area. Maybe we will need more work
7367 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7369 * src/hildon-pannable-area.c,
7370 (hildon_pannable_area_dispose): Released the fade-out timeout when
7371 disposing the widget.
7373 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7375 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7376 zero, we are going to use that property in order to deactivate the
7378 (hildon_pannable_axis_scroll),
7379 (hildon_pannable_area_size_allocate): Added conditions to control
7380 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7381 call, now it is called in all situations and we can remove calls
7382 in the allocate method.
7383 (hildon_pannable_area_map): Control the situation when
7384 overshoot_max is zero, we do not need the timeout.
7385 (hildon_pannable_area_class_init): Added documentation in order to
7386 point out that setting zero to overshoot_max means deactivate
7389 NOTE: removed trailing whitespaces from my previous comments of
7392 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7394 * src/hildon-pannable-area.c
7395 (hildon_pannable_area_get_property),
7396 (hildon_pannable_area_set_property),
7397 (hildon_pannable_area_map),
7398 (hildon_pannable_area_class_init),
7399 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7400 to cause the widget give a hint about its panning abilities upon
7403 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7405 * src/hildon-pannable-area.c: Several documentation improvements.
7407 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7409 * src/hildon-program.c
7410 * src/hildon-stackable-window.c: Update documentation.
7412 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7414 * src/hildon-stackable-window.c (get_previous_window_if_last):
7415 Renamed get_last_window()
7416 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7417 (hildon_stackable_window_unset_program):
7419 (get_previous_window_if_last):
7420 Detect if the window hasn't been added to a HildonProgram.
7422 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7424 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7426 * src/hildon-pannable-area.c
7427 (hildon_pannable_area_button_press_cb),
7428 (hildon_pannable_axis_scroll),
7429 (hildon_pannable_area_scroll),
7430 (hildon_pannable_area_timeout),
7431 (hildon_pannable_calculate_vel_factor),
7432 (hildon_pannable_area_get_property),
7433 (hildon_pannable_area_set_property),
7434 (hildon_pannable_area_class_init),
7435 (hildon_pannable_area_init),
7436 (hildon_pannable_area_scroll_to),
7437 (hildon_pannable_area_jump_to),
7438 (hildon_pannable_area_scroll_to_child),
7439 (hildon_pannable_area_jump_to_child):
7440 * src/hildon-pannable-area.h: Added the new API functions:
7441 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7442 hildon_pannable_area_scroll_to_child,
7443 hildon_pannable_area_jump_to_child
7446 * examples/Makefile.am
7447 * examples/hildon-pannable-area-example-2.c
7448 * examples/hildon-pannable-area-example-3.c: Added these two new
7449 examples in order to test and show how the new APIs work.
7451 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7453 * examples/hildon-stackable-window-example.c (new_window):
7454 * src/Makefile.am (noinst_HEADERS):
7455 * src/hildon-program.c (hildon_program_go_to_root_window):
7456 * src/hildon-program.h:
7457 * src/hildon-stackable-window-private.h:
7458 * src/hildon-stackable-window.c:
7459 * src/hildon-stackable-window.h:
7460 Create hildon-stackable-window-private.h
7461 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7463 * examples/hildon-app-menu-example.c (create_menu):
7464 * examples/hildon-hvolumebar-insensitive-example.c (main):
7465 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7466 * examples/hildon-toolbar-seekbar-example.c (main):
7467 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7468 * src/hildon-banner.c (hildon_banner_set_property):
7469 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7470 Fix compilation warnings
7472 * src/hildon-window.c:
7475 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7477 * src/hildon-stackable-window.c
7478 (hildon_stackable_window_unset_program):
7479 Calculate correctly whether to show the previous window if the
7480 last one is removed from the stack.
7481 (hildon_stackable_window_go_to_root_window):
7482 Send delete events starting from the topmost window.
7483 Stop if one of the windows is not destroyed.
7485 (hildon_stackable_window_delete_event)
7486 (hildon_stackable_window_class_init):
7487 Ignore the delete event if the window is not the topmost one.
7489 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7491 * src/hildon-pannable-area.c
7492 (hildon_pannable_area_expose_event): Fixed a problem when
7493 selecting the background color of the scrollbars.
7495 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7497 * examples/hildon-stackable-window-example.c
7498 * src/hildon-stackable-window.c
7499 * src/hildon-stackable-window.h
7500 hildon_stackable_window_go_home() renamed to
7501 hildon_stackable_window_go_to_root_window()
7502 Send delete events to windows rather than closing them with
7503 gtk_widget_destroy()
7505 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7507 * src/hildon-pannable-area.c
7508 (hildon_pannable_area_button_release_cb): Fix overshooting in
7511 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7513 * src/hildon-pannable-area.c
7514 (hildon_pannable_area_init): Initially show the scroll indicators.
7515 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7517 Add initial effect showing the widget is pannable.
7519 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7521 * src/hildon-pannable-area.c
7522 (hildon_pannable_area_class_init)
7523 (hildon_pannable_area_set_property)
7524 (hildon_pannable_area_get_property)
7525 (hildon_pannable_area_button_press_cb):
7526 New 'velocity_fast_factor' property to decide which velocity is
7529 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7531 * src/hildon-pannable-area.c
7532 (hildon_pannable_draw_hscroll)
7533 (hildon_pannable_draw_vscroll):
7534 Use float variables to calculate the size of the scrollbars to
7535 avoid error propagation and resizing during scrolling.
7537 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7539 * src/hildon-pannable-area.c
7540 (hildon_pannable_draw_vscroll)
7541 (hildon_pannable_draw_hscroll):
7542 Define a minimum size for the scroll bars
7544 * src/hildon-stackable-window.c
7545 (hildon_stackable_window_go_home): Fix compilation warning
7546 (get_last_window): Minor optimizations
7547 (hildon_stackable_window_class_init): Fix initialization of
7550 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7552 * src/hildon-stackable-window.c: Fixed typos in doc
7554 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7556 * src/hildon-pannable-area.c
7557 (hildon_pannable_area_scroll):
7558 Calculate here whether we need to scroll instead of using the booleans
7559 that tell us whether to /draw/ the scrolling bars.
7561 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/hildon-app-menu.h
7565 * src/hildon-app-menu.c
7566 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7567 multiple filter groups related code and API. Now we support only
7569 * examples/hildon-app-menu-example.c:
7571 Update to reflect API changes.
7573 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7575 * src/hildon-stackable-window.c
7576 (hildon_stackable_window_class_init):
7577 Add hildon_stackable_window_realize.
7578 (hildon_stackable_window_realize):
7579 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7580 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7581 to apply theming and behavior specific to HildonStackableWindow
7584 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7586 * src/hildon-note.c (hildon_note_button_release):
7587 Close information notes also when tapping on them
7589 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7591 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7592 ELASTICITY, refactor and review, fix some issues with drawing
7595 * src/hildon-pannable-area.c:
7596 (hildon_pannable_area_button_press_cb): removed the conditions to
7597 avoid clicks when overshooting. It is not required
7599 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7600 define. Refatored and reviewed the code, now we do not need to
7601 manage velocity in motion_notify.
7603 (hildon_pannable_area_motion_notify_cb): We have moved the code
7604 that controls the area_scroll to the axis_scroll function and get
7605 rid of duplicated code.
7607 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7609 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7611 (hildon_pannable_draw_vscroll),
7612 (hildon_pannable_draw_hscroll): Fixed the problems with the
7613 scrollbar drawing, now we do not use two surfaces, it is easier
7614 and saves resources.
7616 (hildon_pannable_area_get_property): Style modification.
7618 (hildon_pannable_area_class_init): Changed some default values.
7620 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7622 * src/hildon-stackable-window.c: Fix some typos in the
7625 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7627 * src/hildon-dialog.c:
7628 Change indentation style
7631 (hildon_note_button_release):
7632 Use root coordinates to check if the release event happened
7635 * src/hildon-app-menu.c
7636 (hildon_app_menu_button_release):
7637 Remove unnecessary check
7639 * examples/hildon-app-menu-example.c
7641 Add cast to fix warning
7643 * src/hildon-app-menu.c
7644 (hildon_app_menu_class_init):
7645 New inner-border style property.
7646 Set all default spacings to 16
7647 (hildon_app_menu_init):
7648 Use vertical-spacing to set the space between filter buttons and
7649 regular menu buttons.
7650 Set the default container border using the inner-border value.
7652 * examples/hildon-app-menu-example.c
7654 Don't set the menu border explicitly, now we have the inner-border
7655 style property for that.
7657 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7659 * src/hildon-app-menu.c (hildon_app_menu_init):
7660 Make the window modal
7662 * src/hildon-note.c (hildon_note_map)
7663 * src/hildon-app-menu.c (hildon_app_menu_map):
7664 Destroy the grab window if we're unable to grab the pointer
7666 * src/hildon-app-menu-private.h
7667 * src/hildon-app-menu.c
7668 (hildon_app_menu_init, hildon_app_menu_finalize)
7669 (hildon_app_menu_map, hildon_app_menu_unmap)
7670 (hildon_app_menu_button_release)
7671 (grab_transfer_window_get):
7672 Bring back the grab window
7673 (hildon_app_menu_realize):
7674 Decorate the window, set WM hint for Matchbox
7676 * src/hildon-note.c (hildon_note_realize):
7677 * src/hildon-banner.c (hildon_banner_realize):
7678 Add WM hints for Matchbox
7680 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7682 * src/hildon-app-menu-private.h
7683 * src/hildon-app-menu.c
7684 (hildon_app_menu_init, hildon_app_menu_finalize)
7685 (hildon_app_menu_map, hildon_app_menu_unmap)
7686 (hildon_app_menu_button_release):
7687 Remove the grab window, it's not needed anymore
7689 * src/hildon-program.c
7690 Fixed typo in documentation
7692 * src/hildon-app-menu.h
7693 * src/hildon-app-menu.c
7694 * examples/hildon-app-menu-example.c
7695 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7697 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7700 Added new transfer_window and close_if_pressed_outside private
7702 (hildon_note_rebuild):
7703 Don't add a cancel button to the information note. It will be
7704 closed when tapping outside
7705 Remove the comment about the OK button in the documentation
7706 (hildon_note_realize):
7707 Set the notification type hint
7708 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7709 Grab/ungrab pointer and keyboard if the note has to be closed when
7711 (hildon_note_button_release):
7712 Close the note when tapping outside (if applicable)
7714 * src/hildon-app-menu.c
7715 Grab/ungrab pointer and keyboard on map/unmap
7716 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7717 Close the menu on button release, not button press
7719 * src/hildon-banner.c
7720 (hildon_banner_set_property)
7721 (hildon_banner_check_position):
7722 Make the banner use the full width of the screen
7723 (hildon_banner_show_information)
7724 (hildon_banner_show_information_with_markup):
7725 Don't display an icon by default
7727 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7729 Added fading scrollbars and adapted all the overshooting code to
7730 horizontal scrolling. We have also fixed bugs with overshooting
7731 and current fading implementation.
7733 * src/hildon-pannable-area.c
7734 (hildon_pannable_area_scroll_indicator_fade): Time out function
7735 used to change the transparency of the scrollbars.
7737 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7738 control and fixed a problem with fading, we now remove the fade
7739 timeout before adding a new one.
7741 (hildon_pannable_axis_scroll):
7742 (hildon_pannable_area_scroll):
7743 (hildon_pannable_area_timeout): Added this functions so we can use
7744 the scroll code both for vertical and horizontal.
7746 (hildon_pannable_area_motion_notify_cb):
7747 (hildon_pannable_area_button_release_cb): Added the horizontal
7748 scrolling control, fixed a problem with the overshooting timeout.
7750 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7751 painting of the scrolls.
7753 (hildon_pannable_draw_vscroll):
7754 (hildon_pannable_draw_hscroll):
7755 (hildon_pannable_area_expose_event):
7756 Draw both scrollbars and rectangles in the overshooting area.
7758 (hildon_pannable_area_get_property):
7759 (hildon_pannable_area_set_property):
7760 Modified the overshoot property to overshoot_max
7762 (hildon_pannable_area_map):
7763 Replaced the comments symbols.
7765 (hildon_pannable_area_size_allocate):
7766 (hildon_pannable_area_class_init):
7767 (hildon_pannable_area_init): Added horizontal scroll, fading
7768 effect properties, fixed a problem when overshooting in the bottom
7771 * examples/hildon-pannable-area-example.c:
7772 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7773 looks better in the example.
7775 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7777 * src/hildon-window.c
7778 * src/hildon-window.h
7779 (hildon_window_class_init)
7780 (hildon_window_unset_program)
7781 (hildon_window_unset_program_real):
7782 Make unset_program a virtual function
7784 * src/hildon-stackable-window.c
7785 * src/hildon-stackable-window.h
7786 Added hildon_stackable_window_go_home()
7788 * examples/Makefile.am
7789 * examples/hildon-stackable-window-example.c
7790 HildonStackableWindow example
7792 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7794 * hildon-pannable-area.c: Added the overshoot property and removed
7795 the OVERSHOOT define. Fixed an indent style error.
7796 (hildon_pannable_area_motion_notify_cb):
7797 (hildon_pannable_area_get_property):
7798 (hildon_pannable_area_set_property): Add overshoot property.
7800 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7803 (hildon_pannable_area_class_init): Installed the new property.
7805 * hildon-pannable-area-example.c: Added a sawtooth function, this
7806 way it is easier to check the movement in the pannable.
7807 (get_sawtooth_label): Added this function.
7808 (main): Now we get the labels from the new get_sawtooth_label
7811 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7813 * src/hildon-app-menu.h
7814 * src/hildon-app-menu.c
7815 Renamed API variables for consistency
7817 (hildon_app_menu_popup): Use also the default window size to
7818 decide where to place the menu
7820 (hildon_app_menu_init, hildon_app_menu_class_init): New
7821 external-border style property
7823 2008-05-26 Michael Natterer <mitch@imendio.com>
7825 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7826 widget_class->tap_and_hold_setup signal slot doesn't exist any
7827 longer, stop overriding it.
7829 (hildon_time_editor_init): g_signal_connect() to the
7830 tap-and-hold-setup signal instead.
7832 (hildon_time_editor_entry_keypress): add cast to fix warning.
7834 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7836 * doc/hildon-docs.sgml
7838 * examples/Makefile.am
7839 * examples/hildon-app-menu-example.c
7841 * src/hildon-app-menu-private.h
7842 * src/hildon-app-menu.c
7843 * src/hildon-app-menu.h
7845 New HildonAppMenu widget
7847 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7849 Rearranged the inheritance of the pannable area, now it inherits
7850 from GtkBin. This will allow us to control the event_window and
7851 the allocation process of the widget, required for some effects.
7853 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7854 GtkBin structures. * src/hildon-pannable-area.c: Added the
7855 event_window variable.
7856 (hildon_pannable_area_button_press_cb):
7857 (hildon_pannable_area_button_release_cb):
7858 (hildon_pannable_area_motion_notify_cb):
7859 Changed the signature of the method, now we override the event
7860 callback instead of connecting to the signal.
7862 (hildon_pannable_area_realize):
7863 (hildon_pannable_area_unrealize):
7864 (hildon_pannable_area_map):
7865 (hildon_pannable_area_unmap):
7866 (hildon_pannable_area_size_allocate):
7867 Added functions to control the widget construction. We add a
7868 INPUT_ONLY window and we put it over the widgets inside the
7869 container, this event_window handles the events.
7871 (hildon_pannable_area_class_init):
7872 Replaced the signal connections with overrides of the event
7875 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7877 Bouncing effect added when touching the borders, you can change
7878 the elasticity of the border changing the ELASTICITY define.
7880 * src/hildon-pannable-area.c: Added ELASTICITY define.
7881 (hildon_pannable_area_timeout): Added inverse velocity when
7882 touching the border of the child widget, that causes a bounce.
7884 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7886 Improved performance, we now do not go to the X server in order to
7887 get the list of window children. Apparently the effect is the
7888 same, we have to be careful and check if this breaks something in
7891 * src/hildon-pannable-area.c:
7892 (get_ordered_children): Removed this function.
7893 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7894 the children windows function with gdk_window_get_children.
7896 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7898 * src/hildon-pannable-area.c:
7899 (hildon_pannable_area_dispose): Fixed a crash when closing the
7900 window and kinetics is activated.
7902 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7904 * src/hildon-pannable-area.h
7905 * src/hildon-pannable-area.c
7906 Changed indentation style to meet the one used in Hildon
7908 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7910 Reviewed the interaction of the AUTO mode, now we use the time
7911 attribute of the events and calculate the velocity in the motion,
7912 doing a gimp like calculation. The velocity is calculated in each
7913 motion event using the last velocity and the current one, the
7914 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7916 * src/hildon-pannable-area.c: Replaced the time based algorithm
7918 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7919 timeout for the AUTO mode when we are still moving the cursor. We
7920 added also the velocity calculation in this function.
7921 (hildon_pannable_area_button_release_cb): launch the timeout in
7922 case we are in AUTO mode. There are still some constants here that
7923 come from the old implementation that should be reviewed and
7926 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7928 * doc/hildon-docs.sgml
7931 * src/hildon-stackable-window.c
7932 * src/hildon-stackable-window.h
7934 New HildonStackableWindow widget
7936 * examples/hildon-dialog-example.c
7937 * examples/hildon-pannable-area-example.c
7940 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7942 * src/hildon-dialog.c
7943 (hildon_dialog_new_with_buttons): New constructor.
7945 * examples/hildon-dialog-example.c
7946 (main): Update the example to use the new
7947 hildon_dialog_new_with_buttons().
7949 * examples/hildon-pannable-area-example.c
7950 (main): Update example.
7952 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7954 * doc/hildon-docs.sgml
7956 Added HildonPannableArea to the documentation.
7958 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7960 * doc/visual_index.xml
7961 Fix reference to HildonLoginDialog in documentation
7963 * doc/hildon-docs.sgml
7965 * examples/Makefile.am
7966 * examples/hildon-dialog-example.c
7968 * src/hildon-dialog.c
7969 * src/hildon-dialog.h
7971 New HildonDialog widget.
7973 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7975 * src/hildon-pannable-area.c
7976 Merge latest changes (r4318, r4342) from libmokoui trunk
7978 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7980 * examples/Makefile.am
7981 * examples/hildon-pannable-area-example.c
7983 * src/hildon-pannable-area.c
7984 * src/hildon-pannable-area.h
7986 New HildonPannableArea widget.
7988 2008-04-15 18:05:19 <timj@imendio.com>
7990 * src/hildon-banner.c: revert the recent change, that introduced
7991 gtk_window_present() calls. this reopens:
7992 Bug 78481 - [freetest] information banners are hidden under browser menu
7993 But resolves another variant of:
7994 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7996 2008-04-15 13:21:13 <timj@imendio.com>
7998 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7999 recreated its layout, spotted by Kris. this fixes all remaining
8000 artefacts and stability issues with the banner code. in particular:
8001 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8003 2008-04-14 16:52:59 <timj@imendio.com>
8005 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8006 operating on unrealized widgets, fixes:
8007 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8009 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8011 2008-04-09 Kristian Rietveld <kris@imendio.com>
8013 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8014 makes banner disappear.
8015 Fixes: NB#79182: info banner flickering with certain message lengts.
8017 * src/hildon-banner.c (hildon_banner_constructor),
8018 (hildon_banner_init), (hildon_banner_set_text),
8019 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8020 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8021 FALSE, reset size requests of label and banner,
8022 (force_to_wrap_truncated): when the text is too wide, always enforce
8023 the maximum possible width instead of recalculating it from the
8024 layout; enforce the maximum banner height of 3 lines,
8025 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8026 nicer wrapping and no truncated chars if space gets tight.
8028 * src/hildon-banner-private.h: add has_been_wrapped and
8029 has_been_truncated fields.
8031 2008-04-07 Sven Herzberg <sven@imendio.com>
8033 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8034 local values in hildon_date_editor_size_allocate
8036 * src/hildon-date-editor.c: moved the real allocation code into the
8039 2008-04-07 Sven Herzberg <sven@imendio.com>
8041 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8042 local values in hildon_date_editor_size_allocate
8044 * src/hildon-date-editor.c: merged the two if() branches together
8046 2008-04-07 Sven Herzberg <sven@imendio.com>
8048 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8049 local values in hildon_date_editor_size_allocate
8051 * src/hildon-date-editor.c: changed the arguments of the if()
8054 2008-04-07 Sven Herzberg <sven@imendio.com>
8056 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8057 local values in hildon_date_editor_size_allocate
8059 * src/hildon-date-editor.c: split the calculation of the allocation
8060 from the real allocation
8062 2008-03-27 Michael Natterer <mitch@imendio.com>
8064 Fixes: NB#81696: The passcode is not overwritten even after
8067 * src/hildon-code-dialog.c
8068 (hildon_code_dialog_button_clicked)
8069 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8070 because that doesn't overwrite selected text. Instead, emit the
8071 "commit" signal on the entry's im_context so the entry's normal
8072 insert logic is triggered. Set the cursor to the end of the entry
8073 after each insert operation so that we *only* insert in the middle
8074 of the text if something was selected.
8076 2008-03-27 Michael Natterer <mitch@imendio.com>
8078 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8079 selector cannot be opened
8081 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8082 when the popup color selector is created. Please connect to this
8083 signal in order to set the dialog's help ID.
8085 2008-03-25 Sven Herzberg <sven@imendio.com>
8087 Fixes: MB#1212: Hide info banners (infoprints) on click
8089 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8090 extracted the close event simulation into an extra function
8091 (hildon_banner_button_press_event): simulate a close event and destroy
8092 the widget if the event wasn't handled
8093 (hildon_banner_class_init): added the button_press_event handler
8094 (hildon_banner_init): added button-press events to the widget
8096 2008-03-25 Sven Herzberg <sven@imendio.com>
8098 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8099 Patch from: Mohammad Anwari <mdamt@maemo.org>
8101 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8102 instead of the right in RTL mode
8103 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8104 breadcrumb button list in RTL mode
8105 * src/hildon-caption.c: mirror the appearance of the caption widget in
8107 * src/hildon-date-editor.c: mirror appearance of the date editor in
8109 * src/hildon-time-editor.c: mirror appearance of the time editor in
8111 * src/hildon-window.c: fix the position of the popup in RTL mode
8113 2008-03-25 Sven Herzberg <sven@imendio.com>
8115 Amendment to the fix of NB#22072. Fix compilation.
8117 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8119 2008-03-19 Sven Herzberg <sven@imendio.com>
8121 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8124 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8125 timeout id properly when the timeout will disappear this leaves no
8126 artifacts around in the destroy(); there will only be the timeout
8127 created by hildon_banner_ensure_timeout() and adding a new timeout
8128 will also work if the timeout gets removed because the timeout_handler
8131 2008-03-19 Michael Natterer <mitch@imendio.com>
8133 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8135 * src/hildon-volumebar.c
8136 * src/hildon-vvolumebar.c
8137 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8138 the widget becomes focussable at all.
8140 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8141 set the focus to wither the mute button or the volumebar.
8143 Remove own "can-focus" property and instead listen to
8144 notify::can-focus in order to update the widget's state.
8146 Implement GtkWidget::focus() and make sure we can also *leave* the
8147 widget, not only enter it, depending on volumebar orientation and
8148 requested focus direction.
8150 Clean up set_mute() to cooperate nicely with all the above.
8152 2008-03-04 Michael Natterer <mitch@imendio.com>
8154 Fixes: NB#78481: information banners are hidden under browser menu
8156 * src/hildon-banner.c: call gtk_window_present() on the banners so
8157 they are risen if they are already visible.
8159 2008-03-03 Sven Herzberg <sven@imendio.com>
8161 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8163 * examples/hildon-window-menu-example.c: (main): extended the window
8164 menu example to serve as a testcase for automatically added
8165 accelerator groups, too
8166 * src/hildon-window.c: (hildon_window_add_accel_group),
8167 (hildon_window_set_menu): added patch by Tommi Komulainen
8169 2008-03-03 Sven Herzberg <sven@imendio.com>
8171 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8173 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8174 knowledge about the border allocators used within GTK+
8176 2008-02-26 Sven Herzberg <sven@imendio.com>
8178 Fixes: MB#2981: Build with asserts broken
8180 * src/hildon-date-editor.c,
8181 * src/hildon-number-editor.c,
8182 * src/hildon-time-editor.c,
8183 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8184 the proper GType instance check
8186 2008-02-25 Sven Herzberg <sven@imendio.com>
8188 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8190 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8191 * examples/hildon-window-menu-example.c: (main): explicitly show
8193 * src/hildon-window.c:
8194 (hildon_window_set_main_menu): moved most of the code from set_menu()
8195 to this place; skipped the call to gtk_widget_show_all(); also didn't
8196 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8197 (hildon_window_set_menu): removed most of the code, just keep the
8198 questionable gtk_widget_show_all()
8199 * src/hildon-window.h: added the new function and deprecate the old
8202 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8208 * debian/changelog: Updating.
8210 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8213 * pkgconfig/Makefile.am:
8214 * pkgconfig/hildon.pc.in:
8217 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8218 use newly created API_MAJOR_VERSION.
8220 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8226 * debian/changelog: Updating.
8228 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8230 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8232 Add outer_border style property, we use it but don't define it (!).
8236 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8238 * examples/hildon-bread-crumb-trail-example.c (main):
8242 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8244 Fix logic for the bread crumb trail node removal.
8248 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8254 * debian/changelog: Updating.
8256 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 Patch by Alejandro to get/set passwords dialogs accesibility.
8260 * hildon-1/src/hildon-get-password-dialog.c:
8261 * hildon-1/src/hildon-set-password-dialog.c:
8262 Set atk_set_name to the passwd entries in order to allow
8263 accessibility by name on this entries.
8265 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 * debian/control: Updating gtk dep.
8272 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8274 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8275 USE_MAEMO_GTK is enabled.
8277 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8279 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8280 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8282 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * debian/changelog: Updating.
8290 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * examples/Makefile.am:
8293 * examples/hildon-logical-color-example.c:
8294 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8295 applied + adding a test case. Fixes: NB#71660.
8297 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8299 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8300 to be visible, fixes warning on map for windows without toolbars.
8302 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8304 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8305 2.11.0, add a check for that besides the MAEMO_GTK check.
8307 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8313 * debian/changelog: Updating.
8315 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8318 visibility. Fixes: NB#70842 and MB#615.
8320 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8322 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8323 set the separator as no-show-all so it doesn't unintentionally appear when
8324 someone does a show_all.
8326 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8328 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8329 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8330 toplevel item. Fixes: NB#62031
8332 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8335 fix the name of the function in the docs.
8337 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * debian/changelog: Updating.
8345 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * examples/hildon-banner-long-example.c: Adding a test-case for long
8350 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8352 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8354 * src/hildon-color-chooser-dialog.c:
8355 * src/hildon-color-chooser.c:
8356 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8357 memory leaks in font selector and color selector. Fixes: NB#70499 and
8360 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8362 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8364 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8367 little bit bigger. Fixes: #NB63694.
8369 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * debian/changelog: Updating.
8377 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8380 * doc/hildon-docs.sgml:
8381 * doc/images/bread-crumb-trail.png:
8382 * doc/images/calendar-popup.png:
8383 * doc/images/caption.png:
8384 * doc/images/code-dialog.png:
8385 * doc/images/color-button.png:
8386 * doc/images/color-chooser-dialog.png:
8387 * doc/images/color-chooser.png:
8388 * doc/images/controlbar.png:
8389 * doc/images/date-editor.png:
8390 * doc/images/font-selection-dialog.png:
8391 * doc/images/get-password-dialog.png:
8392 * doc/images/hvolumebar.png:
8393 * doc/images/login-dialog.png:
8394 * doc/images/note.png:
8395 * doc/images/number-editor.png:
8396 * doc/images/range-editor.png:
8397 * doc/images/seekbar.png:
8398 * doc/images/set-password-dialog.png:
8399 * doc/images/sort-dialog.png:
8400 * doc/images/time-editor.png:
8401 * doc/images/time-picker.png:
8402 * doc/images/vvolumebar.png:
8403 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8404 Adding the bread-crumb-trial and helpers to the documentation.
8406 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * examples/hildon-find-toolbar-example.c:
8409 * src/hildon-find-toolbar.c:
8410 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8411 actually continue firing the other handlers if connected. Adding a new
8413 hildon_find_toolbar_get_last_index that gets the index of the most
8414 recently added (last) item. Fixes: NB#52301.
8416 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8418 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8419 behaviour. Fixes: NB#68610.
8421 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8423 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8426 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8428 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8429 when realizing the banner. Should make the infonbanner effect a bit more
8432 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * src/hildon-volumebar.c:
8435 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8436 hildon_volumebar_set_range_insensitive_message and
8437 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8439 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * src/hildon-window.c: Fixing the border freeing on destroy.
8443 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 * src/hildon-code-dialog-private.h:
8446 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8447 kw keyboard support in HildonCodeDialog.
8449 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * debian/changelog: Updating.
8457 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8459 * src/hildon-date-editor.c:
8460 * src/hildon-number-editor.c:
8461 * src/hildon-private.c:
8462 * src/hildon-private.h:
8463 * src/hildon-time-editor.c:
8464 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8465 handling in subclassed composite widgets. Fixes: NB#66628.
8467 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8470 from destroy_ callback as it introduces problems in async dbus signal
8471 handlers. Fixes NB#66673.
8473 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * examples/hildon-hvolumebar-example.c:
8476 * src/hildon-volumebar.c: Improving the focus handling in the
8477 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8478 set_property accessor so that "mute" property can be actually set. I'm
8479 scared that nobody noticed it's totally broken.
8481 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8486 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * src/hildon-calendar.c:
8489 * src/hildon-number-editor.c:
8490 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8491 matches the spec of 6 chars per second. Fixes: NB#60489.
8493 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8496 gtk_style_lookup_color sometime returns FALSE even though color was
8497 found and values were filled properly. Weird. Removing the warning for the
8500 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8503 expand vertically. Adding some extra space to the find toolbar buttons to
8504 make them thumbable. Fixes NB#66060.
8506 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8509 popup with "Ok" and "Cancel". Fixes NB#59299.
8511 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * src/hildon-calendar.c: Process all window updates before executing next
8514 timeout. Fixes: NB#54146.
8516 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * debian/changelog: Updating.
8524 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8526 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8527 the client event and ignore it, since we use the delete event to close
8530 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-helper.c: Remove the bogus warning about color not being
8533 found. Fixes NB#58352.
8535 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * examples/Makefile.am:
8538 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8539 HildonSeekbar widget inside a toolbar.
8541 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8543 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8544 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8545 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8546 don't want to be closed by non-temporary windows on map.
8548 Also use G_DEFINE_TYPE instead of manually typed code.
8550 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * debian/rules: Updating.
8559 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 * examples/Makefile.am:
8562 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8563 bug NB#61128. Strangely it works.
8565 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8567 * src/hildon-date-editor.c: When the date editor entry has been changed
8568 but the numbers of characters < max, turn off the skip validation flag.
8569 Prevents a situation when we enter first a valid year and later re-write
8570 it with an invalid one. Fixes NB#60154.
8572 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8575 code dialog. Fixes NB#64355.
8577 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8580 switching the page. Fixes NB#49374.
8582 * examples/Makefile.am:
8583 * examples/hildon-wizard-dialog-example.c: Adding an example for
8584 HildonWizardDialog that shows how to handle manual sensitivity setting on
8587 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * src/hildon-version.h.in:
8592 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8594 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * src/hildon-volumebar.c: Updating the docs.
8598 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * debian/changelog: Updating.
8606 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * src/hildon-find-toolbar.c:
8609 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8610 selected item: hildon_find_toolbar_set_active,
8611 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8612 hildon_find_toolbar_get_active_iter . They correspond to respective
8613 GtkComboBox functions.
8615 * examples/Makefile.am:
8616 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8619 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * examples/Makefile.am:
8622 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8625 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8626 when font size > 32 and we pack a focusable widget inside. Actually using
8627 the default response would work too, but since we don't show default
8628 response state in any way (no theming) it would not be visible to the
8629 user. Fixes NB#63430.
8631 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * src/hildon-date-editor.c: Adding the missing variable setter in the
8634 set_property handler. Fixes NB#54182.
8636 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * src/hildon-window.h: Changing the long key press time from 1500ms to
8639 800ms as requested in NB#63700. I have a bad feeling about this, let's
8640 see... Fixes NB#63700.
8642 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8644 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8645 hildon_time_picker_map, hildon_time_picker_realize,
8646 hildon_time_picker_style_set): Split the contents of map to more
8647 appropriate functions; set window decorations on realize and update
8648 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8650 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8655 * debian/changelog: Updating.
8657 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8659 * src/Makefile.am: fixed installation of the header files
8661 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * debian/changelog: Updating.
8669 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * configure.ac: Removing some remaining of --enable-xan.
8673 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8675 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8676 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8678 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8679 2.10.12-osso6 because the move-focus signal needs to be available in
8682 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * examples/Makefile.am:
8685 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8686 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8687 fine. Prolly NB#61128 is fixed now.
8689 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * src/hildon-volumebar.c:
8692 * src/hildon-volumebar.h: Adding the
8693 hildon_volumebar_set_range_insensitive_message and
8694 hildon_volumebar_set_range_insensitive_messagef functions to set
8695 insensitive message on the slider of the volumebar. Fixes NB#61129.
8697 * examples/Makefile.am:
8698 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8699 test the new insensitive messsage functionality on HildonVolumebar.
8701 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8703 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8706 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8708 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8709 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8710 button on after clearing the trail.
8712 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8714 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8716 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8718 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8719 by splitting the installed headers in generated and non-generated groups. Use
8720 only the non-generated headers to create the hildon-enum-types.h file.
8722 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8724 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8726 * src/hildon-window.c: Hide the window before performing the destroy.
8727 Should make the app closing a little tiny bit more snappy.
8729 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8731 * src/hildon-seekbar.c: add gtkrange.h header
8732 * src/hildon-caption.c: remove unused variable
8734 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8736 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8739 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8745 * debian/changelog: Updating.
8747 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8749 * src/hildon-window.c (hildon_window_window_state_event,
8750 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8751 escape timeout on focus-out-event rather than notify::is-topmost; the
8752 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8754 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8757 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8759 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8761 * src/hildon-window: actually, you need to use the macro always, there's
8762 no private pointer in the instance structure. We should have cleaned this up
8763 when we had the chance...
8765 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8767 * src/hildon-window.c: do not get the private date from HildonWindow before
8768 it passes the g_return_if_fail check. Once it's passed the test, there's no
8769 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8770 if you are only going to access the data once. Whitespace cleanups.
8772 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8774 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8775 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8777 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * debian/changelog: Updating.
8785 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * src/hildon-window.c: When destroying the window, remove (if exists) the
8788 escape timeout handler. Fixes #NB59276.
8790 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * src/hildon-banner.c: When realizing the widget, set the window
8793 transiency. Setting the transiency in the gobject constructor is not
8794 good, as the widget is not realized at that point. Fixes: #NB56624.
8796 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8798 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8799 Add padding for future expansions.
8801 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8803 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8804 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8805 will fake an activation on the previous to the last item of the trail, so
8806 the effect can be overrided by the developer as usual.
8807 Also change the callback for the back button to do the same thing, so its
8808 effect can be overrided too. Fixes: NB#58982
8810 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8812 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8813 HildonCaption. Fixes NB#52379.
8815 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8817 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8818 the internal state of the trail after the user has had the chance of executing
8819 his handler for the signal. Specifically, it may happen that the activated button
8820 is removed and the user still lets the default handler run. This would segfault
8823 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8826 scrollbar to the preview dialog. Fixes NB#54147.
8828 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8830 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8831 max/min year properties can be altered, so the client can modify it
8832 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8834 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8837 hildonlike by default. Fixing a problem with disappearing arrows when
8838 scrolling through months and years. Fixes NB#54127.
8840 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * examples/hildon-date-editor-example.c: Adding error callback to the date
8845 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * configure.ac: Updating.
8853 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8855 * configure.ac: Adding a special '--enable-xan' configure option that
8856 turns off the -Werror compilation setting. Usefull for development.
8858 * src/hildon-calendar.c:
8859 * src/hildon-number-editor.c:
8860 * src/hildon-time-picker.c: Adding the 5* multiplier to
8863 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8865 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8866 instead of g_object_ref + gtk_object_sink.
8868 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * debian/changelog: Updating.
8876 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * src/hildon-color-chooser-dialog.c:
8879 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8880 straight from Tommi labs.
8882 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * examples/hildon-finger-example.c: Correcting the header file path.
8886 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8887 the changed signal. Fixes a small memory leak.
8889 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-banner.c: Importing several usefull fixes from the
8894 ubuntu-mobile branch.
8896 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * examples/Makefile.am:
8899 * examples/hildon-finger-example.c: Adding a finger-checking code
8902 * src/hildon-font-selection-dialog.c: Do not allocate the color
8903 structure using the g_new. Fixes NB#54061.
8905 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-helper.c: Correcting tabs in file.
8909 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8911 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8912 control the visibility of the children.
8914 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8916 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8922 * debian/changelog: Updating.
8924 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8926 * src/hildon-bread-crumb-trail.c:
8927 (hildon_bread_crumb_trail_size_allocate):
8929 Make the back button always a square.
8931 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8934 from the .c file as it's a private file.
8936 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8938 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8939 uses slightly bigger height.
8941 * src/hildon-font-selection-dialog.c: Adding some checks before
8942 freeing memory in the font selection dialog.
8944 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-font-selection-dialog.c: Adding a small check when
8949 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8950 buttons sensitivity on page switching.
8952 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8954 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8955 internal details of adding a bread crumb to the trail.
8957 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8963 * debian/changelog: Updating.
8965 * src/hildon-bread-crumb-trail.h:
8966 * src/hildon-bread-crumb.h: Changing the API guard to
8967 HILDON_ENABLE_UNSTABLE_API.
8969 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8977 * src/hildon-helper.h: Updating.
8979 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * src/hildon-helper.h: Small fix to make the package actually compile.
8993 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8995 * src/hildon-bread-crumb-trail.h:
8996 * src/hildon-bread-crumb.h:
8998 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8999 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9001 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9003 * examples/hildon-bread-crumb-trail-example.c:
9005 * src/hildon-bread-crumb-trail.c:
9006 * src/hildon-bread-crumb-trail.h:
9007 * src/hildon-bread-crumb.c:
9008 * src/hildon-bread-crumb.h:
9009 * src/hildon-marshalers.list:
9010 * src/hildon-bread-crumb-widget.c:
9011 * src/hildon-bread-crumb-widget.h:
9013 Slight change in the widget design. The bread crumb trail API is
9014 unchanged, but HildonBreadCrumb is now an interface. A *private*
9015 implementation, hildon-bread-crumb-widget, is provided and used
9016 internally by the trail for the push_text/push_icon functions.
9018 The generic push API is still available, so anyone can implement
9019 and use its own bread crumb widget.
9021 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * debian/rules: Fixing the shlibs.
9025 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-banner.c: Fixing a problem with timed banners having
9028 their parrent destroyed before they are.
9030 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9032 * src/hildon-bread-crumb.c:
9033 * src/hildon-bread-crumb.h:
9035 Make the get_natural_size function a vfunc.
9037 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9039 * src/hildon-bread-crumb.c:
9040 * src/hildon-bread-crumb-trail.c:
9044 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * debian/changelog: Updating for release.
9053 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9055 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9056 don't leak the pango layout.
9058 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9061 * examples/hildon-bread-crumb-trail-example.c:
9065 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * debian/changelog: Removing the bug-fixed entries that were actually
9068 resolved as WONTFIX.
9070 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9073 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9075 * src/hildon-bread-crumb-trail.c:
9076 * src/hildon-bread-crumb-trail.h:
9077 * src/hildon-bread-crumb.c:
9078 * src/hildon-bread-crumb.h:
9082 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9084 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9085 until it's passed the type check.
9087 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9089 * examples/hildon-bread-crumb-trail-example.c
9093 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9095 * examples/Makefile.am
9096 * examples/hildon-bread-crumb-trail-example.c
9098 * src/hildon-bread-crumb-trail.c
9099 * src/hildon-bread-crumb-trail.h
9100 * src/hildon-bread-crumb.c
9101 * src/hildon-bread-crumb.h
9103 New HildonBreadCrumbTrail widget.
9105 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9107 * src/hildon-range-editor.c (hildon_range_editor_init),
9108 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9109 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9110 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9111 hildon_time_editor_class_init, hildon_time_editor_init),
9112 src/hildon-get-password-dialog.c (invalid_input,
9113 hildon_get_password_set_property, hildon_get_password_get_property,
9114 create_contents, hildon_get_password_dialog_set_max_characters),
9115 src/hildon-set-password-dialog.c (create_contents),
9116 src/hildon-date-editor.c (hildon_date_editor_init),
9117 src/hildon-login-dialog.c (hildon_login_dialog_init),
9118 src/hildon-number-editor.c (hildon_number_editor_init),
9119 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9120 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9121 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9122 configure option and adding the respective checks in the code.
9123 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9124 hildon_calendar_drag_data_received): fixed some build warnings.
9126 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * debian/changelog: A 1.0.0 release notes.