1 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
4 (hildon_pannable_draw_hscroll),
5 (hildon_pannable_area_expose_event): Fix the panning indicator color,
6 so that it's "SecondaryTextColor", as desired.
8 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
10 * hildon/hildon-picker-dialog.c:
11 (selection_completed): take into account HILDON_UI_MODE_NORMAL
12 * hildon/hildon-touch-selector.c
13 (hildon_touch_selector_init): Initialize hildon-ui-mode
14 (hildon_touch_selector_row_activated): new callback for the
15 "row-activated" signal, in order to save the last activated
16 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
17 if the current hildon-ui-mode is coherent with the touch selector
18 (hildon_touch_selector_class_init)
19 (hildon_touch_selector_get_property)
20 (hildon_touch_selector_set_property)
21 Added "hildon-ui-mode" property
22 (disconnect_model_handlers): renamed to clean_column
23 (hildon_touch_selector_remove): use clean_column function
24 (_create_new_column): use the hildon-ui-mode to create the treeview, and
25 only select the first element on HILDON_UI_MODE_EDIT
26 (hildon_touch_selector_column_init): Initialize last_activate
27 (hildon_touch_selector_append_column): check that the touch selector
28 is coherent with the current hildon-ui-mode
29 (hildon_touch_selector_get_hildon_ui_mode)
30 (hildon_touch_selector_set_hildon_ui_mode)
31 Added a getter/setter for the hildon-ui-mode property
32 (hildon_touch_selector_get_last_activated_row): Added this method in
33 order to get the last activated row.
34 * examples/hildon-touch-selector-normal-mode-example.c
35 New example, that shows how to use the HildonTouchSelector in
38 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
39 Kristian Rietveld <kris@lanedo.com> advices
41 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-time-selector.c: (update_format_policy): Do
44 not call update_format_dependant_columns() if not necessary.
45 (update_format_dependant_columns): Remove unnecessary check for
46 the number of columns.
48 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
50 * hildon/hildon-note.c (+hildon_note_constructor),
51 (hildon_note_class_init), (+hildon_note_set_padding),
52 (hildon_note_rebuild): Install a constructor where to set the
53 padding properties in the note, so that it actually works fine.
54 Use hildon_note_set_padding() for this, and also to set it during
57 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
59 * configure.ac: Bump GTK+ requirement to 2.14.3.
60 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
61 when using maemo-gtk to define proper margins for the notes.
63 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
66 2009-06-24 Alberto Garcia <agarcia@igalia.com>
68 * hildon/hildon-banner.c
69 (hildon_banner_class_init):
71 (+hildon_banner_size_request):
72 Request always the full width of the screen.
73 (hildon_banner_realize)
74 (-hildon_banner_check_position, hildon_banner_map):
75 hildon_banner_check_position() is not needed in Hildon 2.2.
76 (-hildon_banner_reset_wrap_state)
77 (hildon_banner_constructor, hildon_banner_init):
78 Remove unnecessary calls to hildon_banner_reset_wrap_state()
80 (force_to_wrap_truncated):
81 Remove has_been_wrapped and has_been_truncated attributes.
82 (+reshow_banner, hildon_banner_real_show_information)
83 (hildon_banner_show_information_with_markup)
84 (hildon_banner_show_animation, hildon_banner_show_progress)
85 (hildon_banner_set_text, hildon_banner_set_markup):
86 Refactor code. Shrink banner vertically to use the minimum space
87 necessary everytime the text of the label is updated.
88 (screen_size_changed):
89 Call force_to_wrap_truncated() when the size of the screen
92 Fixes: NB#120500 (only device memory connect mmc in use info
93 banner is left aligned)
95 Fixes: NB#120613 (Size of HildonBanner varies depending on
96 previously opened banners)
98 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-color-chooser.c
101 (hildon_color_chooser_pointer_motion): Take the widget allocation
104 Fixes: NB#124385 (Unable to select exact point in color mixing box
105 in color palette dialog)
107 2009-06-23 Alejandro G. Castro <alex@igalia.com>
109 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
110 (hildon_pannable_area_dispose)
111 (hildon_pannable_area_button_press_cb)
112 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
113 (hildon_pannable_area_button_release_cb)
114 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
115 New 'panning-started' and 'panning-finished' signals.
117 Fixes: NB#121732 (New feature request: Signal to pannable area
118 that informs when panning is stopped.)
120 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
122 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
123 instead of hardcoded colon.
125 Fixes: NB#124090 (New calendar wizard title is not using
126 ecdg_ti_caption_separator)
128 2009-06-22 David King <davidk@openismus.com>
130 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
131 constants and functions, as well as correct many typos throughout the
134 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
137 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
139 * configure.ac: postrelease version bump.
140 * debian/changelog: post release version bump
142 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
147 * configure.ac: Bump version.
148 * debian/changelog: Updates.
150 2009-06-18 Alberto Garcia <agarcia@igalia.com>
152 * hildon/hildon-window-stack.c
153 (hildon_window_stack_pop_and_push_list):
154 Prevent windows from having the same stack index
156 2009-06-18 Alberto Garcia <agarcia@igalia.com>
158 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
159 Use the index of the previous window rather than the stack length
160 to calculate the new index.
164 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
166 * hildon/hildon-date-selector.c
167 (hildon_date_selector_select_current_date)
168 (hildon_date_selector_get_date)
169 (hildon_date_selector_select_day):
170 Update the documentation: uses always the range (1-31), as it is obvious
171 that the final one will depend on the month and the year, but globally
172 the range is this, in a similar GtkCalendar approach
173 (hildon_date_selector_get_date):
174 Update the documentation: add NULL as a valid value for the day, month
177 Fix some details, after talk with David King on bug MB#4698
179 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
181 * hildon/hildon-touch-selector-entry.c
182 * hildon/hildon-touch-selector.c
183 Update the documentation of the "text-column" property
185 2009-06-18 David King <davidk@openismus.com>
187 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
188 several typos and errors throughout the documentation.
190 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
193 2009-06-18 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-note.c (hildon_note_realize):
196 Make HildonNote support portrait mode.
198 Fixes: NB#123448 (HildonNote is not portrait-friendly)
200 2009-06-17 Alberto Garcia <agarcia@igalia.com>
202 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
203 Document this function
205 2009-06-17 David King <davidk@openismus.com>
207 * hildon/hildon-date-selector.c
208 (hildon_date_selector_select_current_date)
209 (hildon_date_selector_get_date): Update documentation regarding days,
210 as the day of the month is dependent on both the month and the year.
211 (hildon_date_selector_get_date): Fix documentation of output arguments.
213 Fixes: MB#4698 (DateSelector documentation has bad output argument
214 description, and the day depends on both the month and the year)
216 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
218 * hildon/hildon-caption.c: Other documentation fixes to
221 2009-06-17 David King <davidk@openismus.com>
223 * hildon/hildon-caption.c: Minor documentation updates for
224 HildonCaption. Fixes MB#4697.
226 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
228 * doc/hildon-docs.sgml: Add hildon-version section.
229 * doc/hildon-sections.txt:
230 * hildon/hildon-version.h.in: Document versioning macros and
233 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
235 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
236 from HildonPickerDialog section.
238 2009-06-16 Alberto Garcia <agarcia@igalia.com>
240 * hildon/hildon-banner.c (hildon_banner_bind_style)
241 (screen_size_changed, hildon_banner_init)
242 (hildon_banner_real_show_information)
243 (hildon_banner_show_information_with_markup)
244 (hildon_banner_show_animation, hildon_banner_show_progress):
245 Set a different widget name to banners in portrait mode, for them
246 to be themed correctly.
248 2009-06-16 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
251 Set a different widget name to notes in portrait mode, for them to
254 Partially fixes: NB#118401 (HildonNote causes unnecessary
257 2009-06-16 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-note.c (hildon_note_class_init)
260 (+hildon_note_size_request, screen_size_changed):
261 Always request the full width of the screen.
263 Fixes: NB#118375 (unnecessary rescaling of images)
265 2009-06-16 Alejandro G. Castro <alex@igalia.com>
267 * hildon/hildon-pannable-area.c,
268 (hildon_pannable_area_init),
269 (hildon_pannable_area_realize): Replaced old code adding flags in
270 the object init, now we add it with the other flags in the realize
273 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
275 * hildon/hildon-note.c: (hildon_note_class_init): Several
276 documentation improvements to the HildonNote widget.
278 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
282 Fixes: MB#4556 (HildonNoteType is undocumented)
284 2009-06-15 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-picker-button.c:
287 Explain how HildonPickerButton sets the title of its dialog
289 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
290 the title of its dialog)
292 2009-06-15 Alberto Garcia <agarcia@igalia.com>
294 * hildon/hildon-check-button.c:
295 Documentation updates
297 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
300 2009-06-15 Alberto Garcia <agarcia@igalia.com>
303 * hildon/hildon-edit-toolbar-private.h
304 * hildon/hildon-edit-toolbar.c
305 (+hildon_edit_toolbar_set_progress_indicator)
306 (hildon_edit_toolbar_init): Add progress indicator to the
309 * hildon/hildon-gtk.c
310 (hildon_gtk_window_set_progress_indicator):
311 If the window contains a HildonEditToolbar, enable the progress
314 * hildon/hildon-private.h
315 * hildon/hildon-private.c
316 (+hildon_private_create_animation)
317 * hildon/hildon-banner.c
318 (-hildon_banner_create_animation):
319 Moved to hildon-private.c
321 Fixes: NB#102373 (Progress indicator also for the Edit mode
324 2009-06-15 Alberto Garcia <agarcia@igalia.com>
326 * hildon/hildon-app-menu-private.h
327 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
328 (hildon_app_menu_add_filter, +menu_item_button_event)
329 (hildon_app_menu_button_release, hildon_app_menu_init):
330 Make sure that buttons receive 'button-release-event' in spite of
331 the grab held by HildonAppMenu
333 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
335 2009-06-15 Alberto Garcia <agarcia@igalia.com>
337 * hildon/hildon-app-menu.c
338 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
339 New style property to set the size of the group of filter buttons.
341 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
343 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
348 * configure.ac: Bump version.
349 * debian/changelog: Updates.
351 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
353 * hildon/hildon-main.c: Minor documentation fixes.
355 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
357 * doc/hildon-sections.txt:
358 * hildon/hildon-defines.h: Document the defines, organize them,
359 and mark deprecations as such.
361 Fixes: MB#4463 (Hildon size #defines are undocumented)
363 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
365 * hildon/hildon-animation-actor.c:
366 * hildon/hildon-app-menu.c:
367 * hildon/hildon-button.c:
368 * hildon/hildon-date-editor.c:
369 * hildon/hildon-dialog.c:
370 * hildon/hildon-edit-toolbar.c:
371 * hildon/hildon-entry.c:
372 * hildon/hildon-program.c:
373 * hildon/hildon-remote-texture.c:
374 * hildon/hildon-stackable-window.c:
375 * hildon/hildon-text-view.c:
376 * hildon/hildon-touch-selector.c:
377 * hildon/hildon-window-stack.c:
378 * hildon/hildon-window.c:
380 Remove redundant "represents" wording from most of the documentation.
382 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
384 2009-06-12 Alberto Garcia <agarcia@igalia.com>
389 * hildon/hildon-banner-private.h
390 * hildon/hildon-banner.c:
391 Move HildonBannerPrivate to hildon-banner.c and remove
392 hildon-banner-private.h
393 Use a bit field to store private booleans.
395 2009-06-12 Alberto Garcia <agarcia@igalia.com>
397 * hildon/hildon-app-menu.c (hildon_app_menu_map):
398 Don't install a new idle function if there's already one
403 2009-06-11 Alberto Garcia <agarcia@igalia.com>
405 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
406 (+legacy_menu_realized, +legacy_menu_unmapped)
407 (+set_legacy_menu_type):
408 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
409 they can be identified by the window manager.
411 Fixes: NB#101437 (Invoking CSM on the left side of page area is
412 displayed in wrong location)
414 Fixes: MB#4563 (Popup menu won't locate at the left side of the
417 2009-06-11 Alberto Garcia <agarcia@igalia.com>
419 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
421 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
424 2009-06-11 Alberto Garcia <agarcia@igalia.com>
426 * hildon/hildon-code-dialog.c
427 * hildon/hildon-date-editor.c
428 * hildon/hildon-number-editor.c
429 * hildon/hildon-seekbar.c
430 * hildon/hildon-stackable-window.c
431 * hildon/hildon-window.c:
432 Misc documentation updates
434 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
436 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
437 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
439 Fixes: NB#117931 (Theming issues in accounts dialogs)
441 2009-06-09 Alejandro G. Castro <alex@igalia.com>
443 * hildon/hildon-pannable-area.c,
444 (hildon_pannable_area_button_release_cb): Changed the coordinates
445 of the original release in case we want to discard the release,
446 some widgets in Fremantle do not handle the leave-notify.
448 2009-06-09 Alejandro G. Castro <alex@igalia.com>
450 * hildon/hildon-pannable-area.c,
451 (hildon_pannable_area_button_release_cb): Reviewed the logic of
452 the release using the last refactored functions and avoiding the
453 movement if an element was selected.
455 2009-06-09 Alejandro G. Castro <alex@igalia.com>
457 * hildon/hildon-pannable-area.c,
458 (hildon_pannable_area_check_move),
459 (hildon_pannable_area_handle_move),
460 (hildon_pannable_area_motion_notify_cb): Refactored the
461 motion_notify method using a couple of new functions.
463 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
465 * hildon/hildon-date-selector.c:
466 (hildon_date_selector_construct_ui):
467 * hildon/hildon-time-selector.c:
468 (hildon_time_selector_constructor):
469 * hildon/hildon-touch-selector-entry.c:
470 (hildon_touch_selector_entry_set_text_column),
471 (hildon_touch_selector_entry_get_text_column):
472 * hildon/hildon-touch-selector.c: (_default_print_func),
473 (hildon_touch_selector_new_text): Use
474 hildon_touch_selector_set/get_text_column() instead of
475 setting/getting the "text-column" property.
477 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
479 * doc/hildon-sections.txt: Add the new public methods below.
481 * examples/hildon-picker-button-multicolumn-example.c:
482 (create_touch_selector):
483 * examples/hildon-touch-selector-example.c: (create_selector):
484 * examples/hildon-touch-selector-multi-cells-example.c:
486 Use hildon_touch_selector_column_set_text_column()
488 * hildon/hildon-touch-selector-column.h:
489 * hildon/hildon-touch-selector.c:
490 (hildon_touch_selector_column_set_text_column),
491 (hildon_touch_selector_column_get_text_column):
492 Make hildon_touch_selector_column_set/get_column() public, use
493 them in the inline example, document them, and reference to them
496 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
498 * hildon/hildon-time-selector.c: Fix the docs for
499 hildon_time_selector_new_step().
501 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
503 * hildon/hildon-touch-selector.c: Improve the documentation for
504 hildon_touch_selector_append_column().
506 Fixes MB#4641 (Documentation:
507 hildon_touch_selector_append_column() ref-counting)
509 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
511 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
512 Comment out test 5, since the hildon_controlbar_set_range() range
513 check is broken and fixing it would have side effects. Also,
514 this finally fixes make distcheck.
516 Fixes: NB#101420 (Update unit tests and fix make distcheck)
518 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
520 * tests/TEST-CASES.txt: Remove other bogus test.
521 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
522 Remove bogus test that was setting/retrieving a valid value.
524 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
526 * tests/TEST-CASES.txt: Remove bogus tests.
527 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
528 Remove three bogus tests that were actually setting valid colors.
530 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: post release version bump
533 * debian/changelog: post release version bump
535 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
540 * configure.ac: Bump version.
541 * debian/changelog: Updates.
543 2009-06-08 Christian Dywan <christian@lanedo.com>
547 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
548 Correct errors in hildon_format_file-size_for_display and use
549 translations from the hildon-fm package instead of osso-filemanager.
551 2009-06-08 Alejandro G. Castro <alex@igalia.com>
553 * hildon/hildon-pannable-area.c,
554 (hildon_pannable_area_init): Initialized new values to handle the
556 (hildon_pannable_area_adjust_value_changed): Check if the values
557 changed before even call the redraw function.
558 (hildon_pannable_area_size_allocate),
559 (hildon_pannable_axis_scroll),
560 (hildon_pannable_area_scroll),
561 (hildon_pannable_area_jump_to): Improved the diagonal movement
564 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
567 2009-06-08 Alberto Garcia <agarcia@igalia.com>
569 * examples/hildon-banner-example.c:
570 Several style updates
571 (on_animation_clicked, on_animation_idle)
572 (on_progress_clicked, on_progress_idle):
573 Add additional reference for the cases when the parent window is
576 2009-06-08 Alberto Garcia <agarcia@igalia.com>
578 * doc/hildon-sections.txt
579 * hildon/hildon-pannable-area.c
580 * hildon/hildon-banner.h
581 * hildon/hildon-banner.c: Documentation updates.
583 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
586 2009-06-05 Alejandro G. Castro <alex@igalia.com>
588 * hildon/hildon-calendar-popup.h:
589 * hildon/hildon-caption.h:
590 * hildon/hildon-code-dialog.h:
591 * hildon/hildon-controlbar.h:
592 * hildon/hildon-date-editor.h:
593 * hildon/hildon-dialog.h:
594 * hildon/hildon-get-password-dialog.h:
595 * hildon/hildon-hvolumebar.h:
596 * hildon/hildon-login-dialog.h:
597 * hildon/hildon-note.h:
598 * hildon/hildon-number-editor.h:
599 * hildon/hildon-range-editor.h:
600 * hildon/hildon-seekbar.h:
601 * hildon/hildon-set-password-dialog.h:
602 * hildon/hildon-sort-dialog.h:
603 * hildon/hildon-time-editor.h:
604 * hildon/hildon-time-picker.h:
605 * hildon/hildon-volumebar-range.h:
606 * hildon/hildon-volumebar.h:
607 * hildon/hildon-vvolumebar.h:
608 * hildon/hildon-weekday-picker.h:
609 * hildon/hildon-window.h:
610 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
611 macros with the current replacements
613 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
615 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-color-button.c (hildon_color_button_init): Use
618 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
619 itself, to make it fit better with Fremantle style.
621 Fixes: NB#109878 (height and width of focus on color icon is not
622 consistent with other item in the application tool bar)
624 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
626 * hildon/hildon-touch-selector.c:
627 (hildon_touch_selector_optimal_size_request): use the current requisition
628 as the base, in order to include any possible extra widget, like the
629 hildon entry on HildonTouchSelectorEntry
631 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
633 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
635 * configure.ac: post release version bump
636 * debian/changelog: post release version bump
638 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
648 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
650 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
651 to ensure the banner contents are centered, instead of relying on
652 the expand and fill properties in GtkHBox.
653 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
655 Fixes: NB#108265 (Animation banner not properly centered)
657 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
659 * hildon/hildon-pannable-area.c
660 (hildon_pannable_area_initial_effect): Remove the initial_effect
661 management, check initial_hint
662 (hildon_pannable_are_expose_event): Remove the initial_hint management,
663 set initial_effect to FALSE
664 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
665 by launching the fade_timeout if the scrollbars state has changed and are
667 * examples/hildon-pannable-area-initial-hint-example.c
668 Modified to allow to remove rows too. Add and remove rows one by one.
670 2009-05-28 Alberto Garcia <agarcia@igalia.com>
672 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
673 Don't close the menu if there's an animation actor below it.
675 Fixes: NB#117927 (Application menu not usable with animation
678 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
680 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
681 "focus-on-click" from the dialog button, to avoid stealing the
682 focus from the entry.
684 Fixes: NB#118903 (Account setup wizard: Text in Search field
685 should be focused when "Region" touch list picker is reopened
688 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
690 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
691 (prepare_action_area): Completely hide the dialog separator.
693 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
695 * hildon/hildon-touch-selector-entry.c
696 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
697 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
698 now that the entry is exposed.
700 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
702 * hildon/hildon-touch-selector-entry.c
703 (hildon_touch_selector_entry_init): Change the entry's size
704 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
706 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
708 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
709 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
710 avoid unnecessary scaling.
712 2009-05-27 Alberto Garcia <agarcia@igalia.com>
714 * hildon/hildon-app-menu.c (hildon_app_menu_map):
715 Create grab transfer window before calling parent's map function.
717 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
718 "crushed" button(s) in the top left corner)
720 2009-05-26 Alberto Garcia <agarcia@igalia.com>
722 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
723 Check if the window is already realized when pushing it.
725 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
727 * configure.ac: post release version bump
728 * debian/changelog: post release version bump
730 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump version.
736 * debian/changelog: Updates.
738 2009-05-25 Alberto Garcia <agarcia@igalia.com>
740 * hildon/hildon-app-menu.c: Doc updates.
742 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
744 * hildon/hildon-banner.c: Remove leftover macro.
746 2009-05-25 Alejandro G. Castro <alex@igalia.com>
748 * hildon/hildon-pannable-area.c,
749 (hildon_pannable_area_scroll_indicator_fade),
750 (hildon_pannable_area_button_release_cb): Reviewed vmin
751 conditions, it could cause problems in the fadeout procedure.
753 2009-05-25 Alejandro G. Castro <alex@igalia.com>
755 * hildon/hildon-pannable-area.c
756 (hildon_pannable_area_button_release_cb): Added a threshold to
757 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
759 2009-05-25 Alejandro G. Castro <alex@igalia.com>
761 * hildon/hildon-pannable-area.c,
762 (hildon_pannable_area_set_property): Added code to sync the gtk
763 dnd threshold with the panning threshold.
765 2009-05-25 Alejandro G. Castro <alex@igalia.com>
767 * hildon/hildon-pannable-area.c,
768 (hildon_pannable_area_class_init): Changed some of the default
769 values, now it should be less responsive and more accurate.
771 2009-05-25 Alejandro G. Castro <alex@igalia.com>
773 * hildon/hildon-pannable-area.c,
774 (hildon_pannable_area_init),
775 (hildon_pannable_area_scroll_indicator_fade),
776 (hildon_pannable_area_button_press_cb),
777 (hildon_pannable_axis_scroll),
778 (hildon_pannable_area_timeout),
779 (hildon_pannable_area_motion_notify_cb),
780 (hildon_pannable_area_button_release_cb): Changed the name of the
781 clicked attribute to button_pressed, it is more clear about its use.
783 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
785 * src/hildon-pannable-area.c
786 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
788 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
789 vertical scrollbar visibility, and use the data on private section instead,
790 remove the initial_hint check
791 (hildon_pannable_area_expose_event): add the initial_hint check here
793 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
795 * src/hildon-pannable-area.c
796 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
797 if the fadeout effect was used
798 (hildon_pannable_area_expose_event): check if it is required to
799 manage the initial effect on the begining of the function. Previously
800 it was made at the end, but this doesn't ensure that the scrollbars
801 will be painted on the first show. Do not set to FALSE initial_effect,
802 to ensure that the initial hint is showed the first time the pannable
804 * examples/Makefile.am
805 * examples/hildon-pannable-area-initial-hint-example.c:
806 New example, to show that the initial-hint is showed when the widget
809 Fixes: NB#116607 (Pannable area should always have scrollbar visible
810 initially if the application can be scrolled)
812 2009-05-25 Alberto Garcia <agarcia@igalia.com>
814 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
815 Resize table before adding new items to make sure that
816 gtk_table_resize() is called just once.
818 2009-05-25 Alberto Garcia <agarcia@igalia.com>
820 * hildon/hildon-app-menu-private.h
821 * hildon/hildon-app-menu.c (item_visibility_changed)
822 (filter_visibility_changed, hildon_app_menu_show_all)
823 (hildon_app_menu_hide_all, hildon_app_menu_init):
824 Rearrange items just once when gtk_widget_show_all()/hide_all()
827 2009-05-25 Alberto Garcia <agarcia@igalia.com>
829 * hildon/hildon-app-menu.c
830 (hildon_app_menu_insert, hildon_app_menu_add_filter):
831 Don't call gtk_widget_show() on added items.
833 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
834 automatically when they're added)
836 2009-05-20 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-banner.c
839 (hildon_banner_realize, +hildon_banner_unrealize)
840 (+screen_size_changed, hildon_banner_class_init):
841 Redisplay the banner if the screen is rotated.
843 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
844 on transition from landscape to portrait)
846 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
848 * hildon/hildon-banner.[ch]:
849 (hildon_banner_show_information_override_dnd): remove icon_name from the
850 method definition as it is ignored.
851 * examples/hildon-banner-dnd-example.c: updated with the change on
854 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
856 * hildon/hildon-banner-private.h: new require_override_dnd and
857 overrides_dnd variables
858 * hildon/hildon-banner.h:
859 (hildon_banner_show_information_override_dnd): new method, that shows
860 the information but sets the override flag, in order to show important
862 * hildon/hildon-banner.c
863 (hildon_banner_show_information_override_dnd): new method
864 (hildon_banner_set_override_flag): new utility function
865 (hildon_banner_real_show_information): new utility function, in order to
866 generalize the current hildon_banner_show_information_override_dnd and
867 hildon_banner_show_information_override_dnd
868 * examples/Makefile.am
869 * examples/hildon-banner-dnd-example.c: New example that show how to
870 use the new hildon_banner_show_information_override_dnd
872 Fixes: NB#114874 (There is no possibility to show hildon banners with
875 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
877 * hildon/hildon-pannable-area.c: Add a comment explaining the math
878 behind hildon_pannable_calculate_vel_factor().
880 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
882 * hildon/hildon-pannable-area.c
883 (hildon_pannable_calculate_vel_factor): Correct the sum of the
884 deceleration factors.
886 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
888 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
889 Reduce the default value for 'scroll_time' to 1 second, since the
890 current initial scrolling takes too much time.
892 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
895 calculate velocity factor during initialization, since the properties
898 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
900 * hildon/hildon-pannable-area.c
901 (hildon_pannable_area_set_property): Calculate the velocity factor
902 after setting the deceleration property and not after.
904 2009-05-20 Alberto Garcia <agarcia@igalia.com>
906 * hildon/hildon-entry.c
907 (hildon_entry_class_init, +set_property, hildon_entry_new)
908 * hildon/hildon-check-button.c
909 (hildon_check_button_class_init)
910 (+set_property, hildon_check_button_new):
911 Make the theme size a property.
913 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
914 others) do too much in the _new function)
916 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
918 * configure.ac: post release version bump
919 * debian/changelog: post release version bump
921 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
926 * configure.ac: Bump version.
927 * debian/changelog: Updates.
929 2009-05-15 Alberto Garcia <agarcia@igalia.com>
931 * hildon/hildon-gtk.h
932 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
933 New API function to take a screenshot of a window
935 Fixes: NB#106374 (Need API to take a loading screenshot)
937 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
939 * hildon/hildon-time-selector.c
940 (update_format_policy): prevent to use hours and minutes unitialized
942 2009-05-15 Alberto Garcia <agarcia@igalia.com>
944 * hildon/hildon-window.c (hildon_window_size_request):
945 Always request the full size of the screen (minus the title bar if
946 not in fullscreen mode).
948 Fixes: NB#107486 (HildonWindow should size itself properly)
950 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
952 * hildon/hildon-note-private.h: Add idle_handler to the private data.
953 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
954 (on_show_cb), (sound_handling): Disconnect the idle handler for
955 the sound when the note is finalized to avoid possible crashes.
957 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
960 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
962 * src/hildon-animation-actor.c,
963 * src/hildon-remote-texture.c:
964 Added proper object cleanup to remove signal handler and object
965 references as HildonAnimationActor and HildonRemoteTexture
966 objects get destroyed.
968 Fixes: NB#116682 (Destroying parented animation actors when
969 parent in unmapped leads to crash)
971 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
973 Based on a patch by Christian Dywan (christian@imendio.com)
975 * doc/hildon-sections.txt:
976 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
977 * hildon/hildon-helper.h: New file size formatting method.
979 * debian/control: Depend on osso-filemanager l10n package for
980 proper localization strings.
982 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
984 * tests/Makefile.am: Include top_srcdir to make possible to build
985 tests in a different builddir.
986 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
987 on a different builddir.
989 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
991 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
992 (hildon_touch_selector_remove): Disconnect model's signal handler
995 Fixes: NB#116289 (Hildon home crashes while adding task
998 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1000 * hildon/hildon-button.c
1001 (hildon_button_set_title, hildon_button_set_value):
1002 Hide labels containing an empty string.
1004 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1006 * configure.ac: post release version bump
1007 * debian/changelog: post release version bump
1009 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1014 * configure.ac: Bump version.
1015 * debian/changelog: Updates.
1017 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1019 * hildon/hildon-note-private.h: Removed sound_signal_handler
1020 * hildon/hildon-note.c
1021 (on_show_cb): new callback on note "show" event, this simply adds
1022 a idle, with the function sound_handling
1023 (sound_handling): removed the sound_signal_handler management
1024 (hildon_note_init): connect note "show" event to on_show_cb
1025 (hildon_note_realize): remove the connection to "expose-event"
1027 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1028 device?' confirmation note)
1030 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1032 * hildon/hildon-note.c
1033 (hildon_note_new_information_with_icon_name)
1034 (hildon_note_new_confirmation_with_icon_name):
1035 Terminate the list of parameters in g_object_set() calls
1037 Fixes: NB#115166 (Formatting memory card is not taking place)
1039 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1041 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1042 "dialog-information" role for the sound being played.
1044 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1047 Don't make the menu a modal window, it causes strange interactions
1048 with the pointer grab and it's not really needed.
1050 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1052 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1054 * hildon/hildon-touch-selector.[ch]
1055 (hildon_touch_selector_optimal_size_request): function added to get a
1056 optimal size request from the touch selector, when you want a dialog to
1057 show as much of the selector
1058 * hildon/hildon-picker-dialog.c:
1059 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1060 (hildon_app_menu_class_init):
1061 New "max-height-landscape" and "max-height-portrait" style properties
1062 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1063 (hildon_picker_dialog_get_max_height): returns the maximum height using
1064 the style properties defined and checking the current portrait/landscape
1066 (_hildon_picker_dialog_set_selector): removed the set_size_request
1068 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1070 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1072 * hildon/hildon-bread-crumb-trail.c:
1073 * hildon/hildon-bread-crumb.c:
1074 * hildon/hildon-seekbar.c:
1075 Add reference to replacements for these deprecated widgets.
1077 Fixes: MB#4461 (Documentation: All deprecations should mention
1080 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1082 * examples/hildon-remote-texture-example.c
1084 Change the include to the hildon-remote-texture in order to compile
1085 properly the examples on the installed libhildon1-examples package
1087 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1089 * tests/Makefile.am: Add check for HildonPickerButton.
1090 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1091 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1092 checks for the HildonPickerButton.
1093 * tests/check_test.c (configure_tests): Add the test suite.
1094 * tests/test_suites.h: likewise.
1096 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1098 * hildon/hildon-touch-selector.c
1099 (+on_row_changed): Emit HildonTouchSelector:changed when the
1100 contents of a selected row change.
1101 (_create_new_column), (_hildon_touch_selector_set_model): connect
1102 to GtkTreeModel:row-changed on a newly set model.
1104 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1106 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1108 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1110 * hildon/hildon-banner.c (hildon_banner_destroy)
1111 (hildon_banner_show_progress, hildon_banner_set_fraction):
1112 Remove the progress bar from HildonBanner and use a progress
1115 Fixes: NB#113761 (Update progress banner to use progress
1118 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1120 * hildon/hildon-banner.c:
1121 Calculate size of the banner label using the actual screen width
1122 rather than using a fixed value.
1124 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1127 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1129 * hildon/hildon-pannable-area.c,
1130 (hildon_pannable_area_class_init): Fixed signals documentation
1133 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1135 * configure.ac: post release version bump
1136 * debian/changelog: post release version bump
1138 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1143 * configure.ac: Bump version.
1144 * debian/changelog: Updates.
1146 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1148 * hildon/hildon-edit-toolbar.c
1149 (hildon_edit_toolbar_init):
1150 Don't let buttons in HildonEditToolbar receive focus.
1152 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1153 typing on an HW arrows key)
1155 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1157 * doc/Makefile.am: Fix build.
1159 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1161 * doc/Makefile.am: Do not redefine content_files.
1163 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1171 Renamed src/ to hildon/
1176 Include <hildon/hildon.h> directly in all examples.
1178 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1180 * src/hildon-sort-dialog.c
1181 (hildon_sort_dialog_add_sort_key_with_sorting)
1185 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1188 make distcheck passes.
1190 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1192 * Makefile.am: Enable gtk-doc during distcheck.
1194 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1196 * Makefile.am: Do not distribute the debian/ directory.
1198 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1200 * doc/Makefile.am: Add the extra SGML files to content_files,
1201 so that they are distributed properly.
1203 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1205 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1208 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1210 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1211 (hildon_note_new_information_with_icon_name): Set the "icon" property
1212 to preserve soundness.
1214 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-font-selection-dialog.c
1217 (hildon_font_selection_dialog_set_property): Fail when the "family"
1218 property is set to NULL.
1220 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1222 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1225 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1227 * src/hildon-time-selector.h:
1228 Added HildonTimeSelectorFormatPolicy
1229 * src/hildon-time-selector.c:
1230 Added PROP_TIME_FORMAT_POLICY
1231 (_check_ampm_format): renamed to check_automatic_ampm_format
1232 (update_format_policy), (update_format_dependant_columns): new functions
1233 (hildon_time_selector_class_init)
1234 (hildon_time_selector_contructor)
1235 (hildon_time_selector_init)
1236 (hildon_time_selector_get_property)
1237 (hildon_time_selector_set_property)
1238 (hildon_time_selector_get_time)
1239 (hildon_time_selector_set_time)
1240 * src/hildon-touch-selector.h: new file
1241 * src/hildon-touch-selector.c
1242 (hildon_touch_selector_emit_changed)
1243 (hildon_touch_selector_block_changed)
1244 (hildon_touch_selector_unblock_changed)
1245 Added functions to allow to block the emission of the "changed" signal
1246 * src/hildon-picker-dialog.c
1247 (hildon_picker_dialog_show): call the parent show before the custom code
1248 * examples/hildon-time-button-example.c
1249 Modified, so now you can configure the time format using the new property
1251 Added a new property "time-format-policy" that allow to choose the time
1252 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1253 case it uses gconf in order to check if the time selector must use
1256 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1259 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-note.c (hildon_note_init):
1262 Label in HildonNote must be left aligned, not centered. This
1263 reverts the last commit in HildonNote.
1265 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1266 is connectivity dialog)
1268 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1273 * doc/hildon-sections.txt:
1274 Added hildon_gtk_window_set_do_not_disturb()
1276 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1278 * src/hildon-note.c (hildon_note_init): Center label.
1280 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1283 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1288 * configure.ac: Bump version.
1289 * debian/changelog: Updates.
1291 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-note-private.h: Add button-width to the private data.
1294 * src/hildon-note.c (+resize_button),
1295 (+hildon_note_orientation_update): methods to repack widgets on orientation
1297 (screen_size_changed): Call above method for confirmation notes.
1298 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1299 (hildon_note_rebuild): Store the original width request from buttons.
1301 Fixes: NB#109635 (Confirmation notes do not support portrait)
1303 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1305 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1306 when it is a progress note.
1308 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1311 in the note, since there are no horizontally arranged contents.
1313 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-gtk.c (+set_flag): new generic method to
1316 set/delay a flag setting in a window.
1317 (hildon_gtk_window_set_progress_indicator):
1318 (hildon_gtk_window_set_do_not_disturb),
1319 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1320 avoid code redundance.
1322 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1324 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1326 * src/hildon-gtk.c (set_clear_window_flag),
1327 (do_set_progress_indicator), (do_set_do_not_disturb),
1328 (do_set_portrait_flags),
1329 (hildon_gtk_window_set_progress_indicator),
1330 (hildon_gtk_window_set_do_not_disturb),
1331 (hildon_gtk_window_set_portrait_flags):
1332 Allow setting dnd-flag, progress indicator, and portrait flags
1333 when the window is not realized.
1335 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1337 * src/hildon-pannable-area.c,
1338 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1339 the size request policy function and defines.
1341 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1343 * doc/hildon-sections.txt: Add the new API.
1344 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1345 method to set the portrait flags.
1346 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1348 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1350 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1352 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1353 to allow using this method with other flags.
1354 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1355 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1357 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-touch-selector.c
1360 (hildon_touch_selector_append_text_column):
1361 Make the cell renderer use the smallest width possible.
1363 Fixes: NB#108470 (Selected items in multiple selection are either
1364 having a tick that is cut or not visible at all.)
1366 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-touch-selector.c
1369 (hildon_touch_selector_append_text_column):
1372 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1375 Use g_strdup_printf() instead of a fixed size buffer.
1377 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1379 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1380 Close banners when a HildonAppMenu is popped up.
1382 Fixes: NB#111027 (Title menu closed immediately if activated when
1383 "Invalid e-mail address" banner is shown)
1385 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1390 * configure.ac: Bump version.
1391 * debian/changelog: Updates.
1393 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-banner.c (hildon_banner_realize):
1396 Mark HildonBanner as supporting portrait mode.
1397 Use GDK to set window properties insetad of direct Xlib calls.
1399 Fixes: NB#111830 (HildonBanner should be marked as supporting
1402 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-note.c (hildon_note_rebuild):
1405 Hide action area in information notes. Prevents text from being
1406 slightly aligned to the left.
1408 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1411 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1413 Patch by Mox Soini (ext-mox.soini@nokia.com)
1415 * src/hildon-banner.c (hildon_banner_create_animation):
1416 Use stylus-sized icons in animation banner.
1418 Fixes: NB#111206 (stylus sized icon for animation banner)
1420 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1424 (+hildon_gtk_window_set_do_not_disturb):
1425 New API to set the do-not-disturb flag.
1427 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1429 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1431 * examples/hildon-progress-indicator-example.c: Fix example
1433 * src/hildon-gtk.c (set_clear_window_flag)
1434 (hildon_gtk_window_set_progress_indicator):
1435 Create a generic function for setting flags to a window.
1436 Use GDK instead of direct Xlib calls.
1438 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-button.c (hildon_button_set_arrangement):
1441 Due to NB#88126, if one of the labels is too long it will be
1442 painted outside the button. The 'value' label is more likely to be
1443 the longest one, so we change its packing options in order to
1444 truncate it if necessary. As a side effect, the 'title' label will
1445 no longer be truncated.
1447 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1449 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1454 * configure.ac: Bump version.
1455 * debian/changelog: Updates.
1457 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1459 Deprecation of the hildon_pannable_area_set_size_request_policy
1460 API, the only policy properly supported in gtk+ nowadays is the
1463 * src/hildon-pannable-area.c,
1464 (hildon_pannable_area_size_request): Added a workaround for the
1465 size_request to avoid the problems of huge pixmaps in case someone
1466 is still using the function.
1467 * src/hildon-pannable-area.h: Deprecated the enum with the
1470 Fixes: NB#110244 (Problems with the
1471 hildon_pannable_area_set_size_request_policy API)
1473 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1475 * src/hildon-pannable-area.c,
1476 (hildon_pannable_area_init),
1477 (hildon_pannable_area_size_request),
1478 (hildon_pannable_area_style_set),
1479 (hildon_pannable_draw_vscroll),
1480 (hildon_pannable_draw_hscroll),
1481 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1482 indicator_width to clarify the use of the attribute.
1484 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1489 * configure.ac: Bump version.
1490 * debian/changelog: Updates.
1492 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1494 * src/hildon-picker-dialog.c
1495 * src/hildon-touch-selector.c
1496 Reverting the change that tried to avoid the hardcoded height on
1497 the picker dialog, as causes problems on the hildon-touch-selector
1500 Fixes: NB#110029 (selectors not scrolling to selected value)
1502 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-touch-selector.c: Fix typos
1506 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1508 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1509 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1510 request more motions after using it.
1512 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-calendar.c (hildon_calendar_expose),
1515 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1516 Remove unused variables.
1518 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1520 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1521 variable assignment.
1523 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1525 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1526 Check the return value of gtk_tree_selection_get_selected()
1529 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-animation-actor.c
1532 * src/hildon-button.c
1534 * src/hildon-pannable-area.c
1535 * src/hildon-picker-button.c
1536 * src/hildon-program.c
1537 * src/hildon-remote-texture.c
1538 * src/hildon-text-view.c
1539 * src/hildon-touch-selector.c
1540 * src/hildon-window-stack.c
1541 * src/hildon-window.c:
1542 Add missing 'Since: 2.2' tags.
1544 * doc/hildon-sections.txt:
1545 Add some missing symbols.
1547 * doc/hildon-docs.sgml:
1548 New 'Other' section for HildonAnimationActor and
1551 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1553 Patch by Iván Gómez (igomez@igalia.com)
1556 * doc/compiling.sgml
1557 * doc/hildon-docs.sgml
1558 * doc/hildon-sections.txt
1559 * doc/migration.sgml
1560 * doc/resources.sgml
1562 New chapters on using the Hildon library.
1563 Updated the general structure of the reference manual.
1564 Other minor documentation fixes.
1566 * src/hildon-calendar-popup.c
1567 * src/hildon-calendar.c
1568 * src/hildon-controlbar.c
1569 * src/hildon-date-editor.c
1570 * src/hildon-dialog.c
1571 * src/hildon-hvolumebar.c
1572 * src/hildon-number-editor.c
1573 * src/hildon-range-editor.c
1574 * src/hildon-sort-dialog.c
1575 * src/hildon-time-editor.c
1576 * src/hildon-time-picker.c
1577 * src/hildon-volumebar-range.c
1578 * src/hildon-volumebar.c
1579 * src/hildon-vvolumebar.c
1580 * src/hildon-weekday-picker.c:
1581 Add deprecation notes
1583 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1584 Document 'horizontal-movement' and 'vertical-movement' signals.
1586 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1591 * configure.ac: Bump version.
1592 * debian/changelog: Updates.
1594 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_class_init): increased the minimum velocity.
1598 (hildon_pannable_area_button_release_cb): Updated the
1599 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1600 setup. Review the code to control that last event.
1602 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1605 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1607 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1609 * src/hildon-get-password-dialog.c
1610 (hildon_get_password_set_property),
1611 (hildon_get_password_get_property), (create_contents):
1612 * src/hildon-login-dialog-private.h:
1613 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1614 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1615 (hildon_login_dialog_get_password):
1616 * src/hildon-set-password-dialog-private.h:
1617 * src/hildon-set-password-dialog.c
1618 (hildon_set_password_set_property),
1619 (hildon_set_password_get_property), (create_contents),
1620 (hildon_set_password_response_change),
1621 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1623 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1624 instead and look more Fremantle style.
1626 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1628 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1630 * doc/hildon-sections.txt
1631 * src/hildon-window-stack.h
1632 * src/hildon-window-stack.c
1633 (+hildon_window_stack_get_windows):
1634 New API to obtain the list of windows on a stack.
1636 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-app-menu.c (hildon_app_menu_popup)
1639 (hildon_app_menu_class_init, -hildon_app_menu_show):
1640 Remove hildon_app_menu_show() and move all its checks to
1641 hildon_app_menu_popup()
1643 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1645 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1646 (_hildon_picker_dialog_set_selector): removed call to
1647 gtk_widget_set_size_request
1648 * src/hildon-touch-selector.c
1649 (_create_new_column): change the pannable size request policy
1651 Avoid to use a hardcoded height for the hildon picker dialog. In order
1652 to get that, we needed to change the hildon pannable size request
1654 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1656 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1658 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1659 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1662 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1664 * debian/control: Depend on osso-system-lock localization package.
1665 * src/hildon-code-dialog.c: Obtain the secu_application_title
1666 translation from osso-system-lock.
1667 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1668 for translation the atk related strings, that's not necessary.
1669 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1670 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1671 cancel button, it is not required.
1673 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1675 * src/hildon-pannable-area.c,
1676 (hildon_pannable_area_class_init): Modified the default value of
1677 the overshooting max speed, we have reduced it.
1679 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1681 * doc/hildon-sections.txt
1682 * src/hildon-window-private.h
1683 * src/hildon-window.h
1684 * src/hildon-window.c (hildon_window_class_init)
1685 (hildon_window_init, hildon_window_finalize)
1686 (hildon_window_realize, hildon_window_get_property)
1687 (hildon_window_set_property, hildon_window_update_markup)
1688 (hildon_window_get_markup, hildon_window_set_markup):
1689 New "markup" property and hildon_window_{get,set}_markup() methods.
1691 * examples/hildon-stackable-window-example.c (new_window):
1692 Update example to use hildon_window_set_markup()
1694 Fixes: NB#106375 (Need API to retitle a window with a title
1697 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1699 * src/hildon-pannable-area.c,
1700 (hildon_pannable_area_class_init): Changed the default value of
1701 the initial_hint to TRUE.
1702 (hildon_pannable_area_initial_effect): Changed the initial effect,
1703 not the effect is just the fade-out of the scrollbars.
1705 Fixes: NB#107775 (No scrollbars can be seen when several items are
1706 available in a dialog)
1708 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-program.c (hildon_program_update_top_most):
1713 Fixes: NB#109179 (Memory leak in Hildon program)
1715 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-banner.c (-get_current_app_window):
1718 Remove unused function.
1720 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c: Modified the documentation of the
1723 get adjustments functions to explain the problem of using the
1724 adjustment directly.
1725 (hildon_pannable_area_class_init): Improved the explanation about
1728 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-app-menu-private.h
1731 * src/hildon-app-menu.c
1732 (hildon_app_menu_class_init):
1733 Bring back the 'external-border' style property
1734 (hildon_app_menu_class_init, hildon_app_menu_init)
1735 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1736 Set a fixed width-request for the menu, independent of the number
1739 Fixes: NB#94957 (Smoothly opened application menu)
1741 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1743 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1745 * src/hildon-banner.c
1746 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1748 Make sure that the banner is correctly placed the first time it's
1750 (hildon_banner_check_position, -check_fullscreen_state):
1751 Show the banner in the same place no matter if the window is in
1752 fullscreen mode or not.
1754 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1756 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1758 * src/hildon-touch-selector.c (_default_print_func): reorder
1759 concatenation for clarity.
1761 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1763 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1764 for multicolumn selectors.
1766 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1768 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1773 * configure.ac: Bump version.
1774 * debian/changelog: Updates.
1776 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1781 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1783 * configure.ac: removed libcangerra-gtk dependency
1784 * debian/control: removed libcanberra-gtk dependency
1785 * src/Makefile.am: removed libcanberra gtk related flags
1786 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1787 context, and manage a global canberra context instead
1789 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1791 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1793 Patch by Daniel Borgmann (danielb@openismus.com)
1795 * src/hildon-edit-toolbar.c:
1796 Adjust the left padding.
1797 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1798 Paint background of the edit toolbar.
1800 Fixes: NB#107897 (Patch to make editmodetoolbar background
1801 themeable and adjust margin)
1803 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1805 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1807 * src/hildon-program.c (hildon_program_update_top_most):
1808 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1810 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1811 change when the user tasks in/out of an application)
1813 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1815 * configure.ac: added libcangerra-gtk dependency
1816 * debian/control: added libcanberra-gtk dependency
1817 * src/Makefile.am: added libcanberra gtk related flags
1818 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1821 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1823 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1825 * src/hildon-program.c (hildon_program_remove_window)
1826 (hildon_program_add_window): Add checks for the window
1827 parameter. Don't decrease the window counter if the window is not
1830 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_realize): Fixed position of the event_window
1834 in the realize method.
1836 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-app-menu-private.h
1839 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1840 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1841 (hildon_app_menu_key_press, hildon_app_menu_init)
1842 (hildon_app_menu_finalize):
1843 Make sure that all idle functions are removed when the widget is
1846 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1848 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: Bump version.
1854 * debian/changelog: Updates.
1856 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1858 * src/hildon-entry.c
1859 (+hildon_entry_show_placeholder),
1860 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1861 that replace hildon_entry_update_contents().
1862 (hildon_entry_set_text),
1863 (hildon_entry_set_placeholder),
1864 (hildon_entry_focus_in_event),
1865 (hildon_entry_focus_out_event): Determine when it is needed
1866 either to show or hide the placeholder and call the above methods.
1868 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1869 when the placeholder text is already set)
1871 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1874 simple GdkPixbufAnim using the new icons for the banner.
1875 (hildon_banner_show_animation): Use the above mentioned method to
1876 create the animation widget.
1878 Fixes: NB#103564 (Make hildon animation banner use individual
1879 image files as the animation)
1881 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-pannable-area.c,
1884 (hildon_pannable_leave_notify_event): Check if the child is NULL
1885 to avoid sending the leave.
1887 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1889 * src/hildon-pannable-area.c,
1890 (hildon_pannable_area_class_init),
1891 (hildon_pannable_leave_notify_event): Added a handler of the
1892 leave-notify-signal to consider when no motion notify before
1895 Fixes: NB#107494 (Items stay selected when clicking and moving
1896 away when inside pannable area)
1898 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1903 * configure.ac: Bump version.
1904 * debian/changelog: Updates.
1906 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1908 Patch by Alberto Garcia (agarcia@igalia.com)
1910 * src/hildon-date-button.c,
1911 (hildon_date_button_class_init),
1912 (hildon_date_button_init): Removed the construct property handling
1913 and created a default selector in the init method.
1914 * src/hildon-picker-button.c,
1915 (hildon_picker_button_class_init): Removed the construct flag of the
1918 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-main.c (hildon_init):
1921 Don't allow hildon_init() to be called more than once.
1923 Fixes: NB#106607 (hildon_init should issue error message upon
1926 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1928 * examples/hildon-pannable-area-touch-list-example.c
1929 * examples/hildon-pannagle-area-touch-grid-example.c
1930 * examples/hildon-edit-toolbar-example.c
1931 * examples/hildon-touch-selector-multi-cells-example.c
1932 Removed the call to gtk_rc_parse_string, as it is not required since
1935 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_class_init): Modified the default panning
1939 threshold of the widget to 6px.
1941 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1942 than the threshold value ) within the button is not sending the
1945 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1948 for the treeview in the new column. This way, the touch list will never
1951 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1952 be selected manually for the HW keys to work)
1954 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1956 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1957 comparison instead of using strcmp(). Fixes a compiler warning as well.
1959 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1961 * doc/hildon-docs.sgml: Do not set the library version in the
1962 document title, use the releaseinfo tag for that purpose instead.
1964 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1967 Do not jump to the first item if the text in the entry is removed.
1969 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1974 * configure.ac: Bump version.
1975 * debian/changelog: Updates.
1977 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1979 * src/hildon-entry.c (hildon_entry_refresh_contents):
1980 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1981 Use "ReversedSecondaryTextColor" for the placeholder text.
1983 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-text-view.c: Fix compilation warning.
1987 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-button.c (hildon_button_class_init): Don't make
1990 "title" and "value" construction properties, to prevent them from
1991 overwriting labels set from derived classes.
1993 * src/hildon-picker-button.c
1994 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1995 (hildon_picker_button_class_init): Make touch-selector a
1996 construction property.
1998 * src/hildon-date-button.c (hildon_date_button_class_init)
1999 (+hildon_date_button_constructed): Add a default date selector if
2002 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-touch-selector.c: Small documentation fixes.
2006 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2008 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2010 * src/hildon-entry.c (hildon_entry_refresh_contents),
2011 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2012 widget name, set the logical color directly instead and a boolean
2013 showing_placeholder instead.
2014 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2015 use the widget name here either.
2017 Fixes: NB#105678 (HildonTextView should use logical colours
2018 instead of setting widget name)
2020 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2022 Patch by Daniel Elster (danielk@openismus.com)
2024 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2025 Add user_data parameter.
2026 (hildon_touch_selector_set_print_func_full): New function akin
2027 hildon_touch_selector_set_print_func() but with support for user
2028 data and a destroy callback.
2029 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2030 to clean up the print function user data.
2031 (hildon_touch_selector_class_init): Install dispose function.
2032 (HildonTouchSelectorPrivate::print_user_data),
2033 (HildonTouchSelectorPrivate::print_destroy_func): New private
2035 (hildon_touch_selector_init): Initialize new private members.
2036 (hildon_touch_selector_get_current_text): Pass along user data
2037 to the print function.
2038 (_default_print_func): Add dummy user_data to parameter list.
2039 * hildon-date-selector.c (_custom_print_func): ditto,
2040 * hildon-time-selector.c (_custom_print_func): ditto,
2041 * hildon-touch-selector-entry.c
2042 (hildon_touch_selector_entry_print_func): ditto.
2044 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2046 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2048 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2050 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2052 * src/hildon-pannable-area.c,
2053 (hildon_pannable_area_init),
2054 (hildon_pannable_area_button_press_cb),
2055 (hildon_pannable_area_motion_notify_cb): We have added code to
2056 handle the leave and enter events when using the motion events.
2058 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2060 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-date-button.c (hildon_date_button_get_date)
2063 (hildon_date_button_set_date): Make sure that the button has a
2066 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2068 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2070 * src/hildon-pannable-area.c,
2071 (hildon_pannable_area_class_init),
2072 (hildon_pannable_area_calculate_velocity): Modify the use of the
2073 force and adapt the value.
2075 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2078 (hildon_app_menu_class_init): Hide the menu if it receives a
2079 delete-event, but don't destroy it
2081 Fixes: NB#104485 (Not able to address the call when application
2082 menu is opened at background)
2084 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2086 * src/hildon-app-menu.c
2087 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2088 Remove the "external-border" style property, let the menu take its
2089 natural size (or the one set by the window manager)
2090 (hildon_app_menu_repack_items):
2091 Don't reshow the menu, avoid flickers.
2093 Partially fixes NB#94957 (Smoothly opened application menu)
2095 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2100 * configure.ac: Bump version.
2101 * debian/changelog: Updates.
2103 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2105 * src/hildon-pannable-area.c,
2106 (hildon_pannable_area_motion_notify_cb): We control that the
2107 direction error margin is used just in case the movement is
2108 allowed in the other direction.
2110 Fixes: NB#105012 (buttons inside a pannable area not getting
2111 release event when dragging/releasing)
2113 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2115 * src/hildon-pannable-area.c,
2116 (hildon_pannable_area_class_init),
2117 (hildon_pannable_area_get_property),
2118 (hildon_pannable_area_set_property),
2119 (hildon_pannable_area_initial_effect),
2120 (hildon_pannable_axis_scroll),
2121 (hildon_pannable_area_button_release_cb): Reviewed the
2122 overshooting effect, now it has its own max
2123 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2124 speed when bouncing.
2126 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: Bump version.
2132 * debian/changelog: Updates.
2134 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_class_init): Changed the max speed, now
2138 users can launch the widget very fast. Reduced the default force,
2139 that way it is easier to control the launch speed.
2141 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2143 * src/hildon-pannable-area.c,
2144 (hildon_pannable_area_button_release_cb): Removed this check
2145 because it causes problems when the device is overloaded.
2147 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2150 add a current_text field to store the text entered in the
2151 touch selector entry.
2152 (_clean_current_selection): clean up the current text as well.
2153 (_save_current_selection), (_restore_current_selection):
2154 Save/restore the text in the entry if the selector is a
2155 HildonTouchSelectorEntry.
2157 Fixes: NB#102541 (value entered in the touch selector entry is not
2158 shown when opened for second time)
2160 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2162 * doc/hildon-sections.txt:
2163 * src/hildon-touch-selector-entry.c
2164 (+hildon_touch_selector_entry_get_entry):
2165 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2167 Fixes: NB#104815 (I need accessor to the entry inside
2168 HildonTouchSelectorEntry)
2170 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2172 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2173 (hildon_app_menu_class_init):
2174 New "filter-vertical-spacing" style property.
2176 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-find-toolbar.c
2179 (hildon_find_toolbar_emit_close)
2180 (hildon_find_toolbar_emit_invalid_input)
2181 (hildon_find_toolbar_entry_activate):
2182 Use g_signal_emit() instead of g_signal_emit_by_name()
2184 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2186 Patch by Mox Soini (ext-mox.soini@nokia.com)
2188 * tests/TEST-CASES.txt
2189 * tests/check-hildon-banner.c
2190 * tests/check-hildon-note.c
2191 * src/hildon-banner.c
2192 * src/hildon-code-dialog.c
2193 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2194 * src/hildon-time-editor.c
2195 * examples/hildon-lookup-example.c (main):
2196 Replace obsolete icon names with new ones.
2198 * src/hildon-find-toolbar-private.h:
2199 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2200 (-hildon_find_toolbar_emit_search):
2201 Remove find button and change icon of close button.
2203 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2205 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-time-button.c (hildon_time_button_new_step):
2208 Use the "touch-selector" property to set the selector directly
2209 when creating the object.
2211 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2213 Added a new example application that allows tuning the pannable
2214 area and replaced defines with properties in order to simplify the
2215 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2216 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2217 PROP_DIRECTION_ERROR_MARGIN.
2219 * examples/hildon-pannable-area-tuning-example.c: New example
2221 * src/hildon-pannable-area.c,
2222 (hildon_pannable_area_class_init),
2223 (hildon_pannable_area_init),
2224 (hildon_pannable_area_get_property),
2225 (hildon_pannable_area_set_property),
2226 (hildon_pannable_area_launch_fade_timeout),
2227 (hildon_pannable_area_adjust_value_changed),
2228 (hildon_pannable_axis_scroll),
2229 (hildon_pannable_area_motion_notify_cb),
2230 (hildon_pannable_area_scroll_cb),
2231 (hildon_pannable_area_button_release_cb): We have converted some
2232 of the defines that control the widget to properties to simplify
2235 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-app-menu.c (hildon_app_menu_map)
2238 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2239 so it's closed if a new window appears.
2241 Fixes: NB#104485 (Not able to address the call when application
2242 menu is opened at background)
2244 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2246 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2247 missing 'break' statement in in 'case' construct to avoid
2250 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-touch-selector-entry.c
2253 (hildon_touch_selector_entry_get_property),
2254 (hildon_touch_selector_entry_set_property): Add missing 'break'
2255 statements in in 'case' constructs to avoid incorrect warnings.
2257 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-time-editor.c
2260 (hildon_time_editor_get_time_separators): Do not crash if
2261 the first label is NULL.
2263 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-date-selector.c (_month_days): Check for month to be
2266 strictly less than 12, since otherwise we may overrun the array.
2268 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-date-button.c (+hildon_date_button_new_full)
2271 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2272 (hildon_date_button_init): Set the date selector using a
2273 construction property, to make it happen after HildonButton's
2274 "value" property is set.
2276 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2277 current date by default)
2279 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2281 * doc/hildon-sections.txt
2282 * src/hildon-program.c
2283 * src/hildon-stackable-window.c
2284 * src/hildon-window.c:
2285 Documentation updates
2287 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2290 (hildon_window_stack_new, +hildon_window_stack_set_property)
2291 (+hildon_window_stack_get_property)
2292 (hildon_window_stack_class_init)
2293 (+hildon_window_stack_set_window_group)
2294 (+hildon_window_stack_get_window_group):
2295 Make the window group a construction property.
2297 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2299 * doc/hildon-sections.txt
2300 * src/hildon-stackable-window-private.h
2301 * src/hildon-stackable-window.h
2302 * src/hildon-stackable-window.c
2303 (-hildon_stackable_window_set_app_menu)
2304 (-hildon_stackable_window_get_app_menu)
2305 (-hildon_stackable_window_toggle_menu)
2306 (-hildon_stackable_window_finalize)
2307 (hildon_stackable_window_class_init)
2308 (hildon_stackable_window_init)
2309 * src/hildon-window-private.h
2310 * src/hildon-window.h
2311 * src/hildon-window.c (hildon_window_init)
2312 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2313 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2314 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2315 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2316 Moved all HildonAppMenu code to HildonWindow. The menu does not
2317 require a HildonStackableWindow anymore.
2319 * src/hildon-app-menu.c
2320 * src/hildon-program.c
2321 * examples/hildon-app-menu-example.c (main):
2322 Update examples and documentation to reflect HildonAppMenu
2325 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-remote-texture.c
2328 * src/hildon-animation-actor.c:
2329 Don't include unused private headers.
2331 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-program-private.h
2334 * src/hildon-program.c
2335 (hildon_program_set_common_menu)
2336 (hildon_program_get_common_menu)
2337 (hildon_program_set_common_app_menu)
2338 (hildon_program_get_common_app_menu):
2339 Change common menu pointers from GtkWidget* to GtkMenu* and
2340 HildonAppMenu* to avoid unnecessary casts.
2342 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2344 * src/hildon-window.c (hildon_window_set_main_menu):
2345 Removed incorrect 'Since:' tag
2347 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_calculate_velocity): We use now the
2351 RATIO_TOLERANCE here to check the distance, fixed typo in the
2353 (hildon_pannable_area_motion_notify_cb): We have to set the type
2354 and time even if we are not sending the motion.
2356 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2358 * doc/hildon-sections.txt
2359 * src/hildon-app-menu.h
2360 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2361 (+hildon_app_menu_get_filters): New methods to get the contents of
2364 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2367 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-app-menu.c (hildon_app_menu_popup):
2372 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2374 * src/hildon-window.h
2375 * src/hildon-window.c (+hildon_window_get_main_menu)
2376 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2377 and deprecated hildon_window_get_menu().
2379 * src/hildon-stackable-window.h
2380 * src/hildon-stackable-window.c
2381 (+hildon_stackable_window_set_app_menu)
2382 (+hildon_stackable_window_get_app_menu)
2383 (hildon_stackable_window_set_main_menu): Created
2384 hildon_stackable_window_{get,set}_app_menu() and deprecated
2385 hildon_stackable_window_set_main_menu().
2387 * doc/hildon-sections.txt
2388 * examples/hildon-app-menu-example.c (main)
2389 * src/hildon-app-menu.c
2390 * src/hildon-program.c:
2391 Updated examples and documentation.
2393 Fixes: NB#103758 (No way to obtain a menu from a
2394 HildonStackableWindow)
2396 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2401 * configure.ac: Bump version.
2402 * debian/changelog: Updates.
2404 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2406 * examples/hildon-remote-texture-example.c: Include
2407 hildon-remote-texture.h explicitely.
2408 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2409 applications not defining _XOPEN_SOURCE which don't require this header.
2411 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2413 * doc/hildon-sections.txt
2414 * src/hildon-app-menu.h
2415 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2416 New function to pop up a HildonAppMenu
2418 * src/hildon-stackable-window.c
2419 (hildon_stackable_window_toggle_menu):
2420 Use hildon_app_menu_popup() to show the menu.
2422 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-app-menu.c (hildon_app_menu_show)
2425 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2426 menu if there's another window between it and its parent window.
2428 Fixes: NB#100468 (Application menu window is launched even when a
2429 new secondary-window/dialog is pending to be shown/realized)
2431 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-window-stack.c (hildon_window_stack_push)
2434 (hildon_window_stack_pop_and_push):
2435 Don't forget to push/pop the first window.
2436 Reverse the window list before calling _push_list()
2438 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-picker-button.h
2441 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2442 Remove "value_changed" slot to avoid ABI breakage
2444 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2446 * src/hildon-pannable-area.c,
2447 (hildon_pannable_area_realize),
2448 (hildon_pannable_area_unrealize),
2449 (hildon_pannable_draw_vscroll),
2450 (hildon_pannable_draw_hscroll): Changed the method to handle the
2451 GC used to draw the transparent scrollbar, this way we avoid
2452 creating the GC all the time when drawing the scrollbars.
2454 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_init),
2458 (hildon_pannable_area_remove): Removed some unnecessary casts.
2459 (hildon_pannable_area_dispose): Disconnected some signals before
2460 releasing the adjustments.
2462 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2465 Make sure that all widgets contained in the toolbar are shown.
2467 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2469 * doc/hildon-sections.txt
2470 * src/hildon-picker-button.h
2471 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2472 (_selection_changed, hildon_picker_button_on_dialog_response)
2473 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2474 New hildon_picker_button_value_changed() method.
2477 * src/hildon-picker-button-private.h
2478 * src/hildon-picker-button.c (hildon_picker_button_init)
2479 (+hildon_picker_button_disable_value_changed): Add protected
2480 function for disabling the "value-changed" signal.
2482 * src/hildon-date-button.c (hildon_date_button_set_date):
2483 Don't emit "value-changed" for each one of the three columns.
2485 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2486 before actual change of values)
2488 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2490 * src/hildon-pannable-area.c,
2491 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2492 for the treeview overshooting.
2494 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2496 * src/hildon-banner.c (+hildon_banner_bind_style):
2497 Renamed from hildon_banner_bind_label_style(), now naming the
2498 banner itself as well.
2499 (hildon_banner_show_information),
2500 (hildon_banner_show_information_with_markup),
2501 (hildon_banner_show_animation), (hildon_banner_show_progress):
2502 Name the widgets and labels, based on their type.
2504 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2507 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-note.c (hildon_note_set_property): call
2510 hildon_note_rename() on HildonNote:note-type set.
2511 (hildon_note_rename): Name the note and its label, based on the
2512 HildonNote:note-type property.
2514 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2517 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2519 * src/hildon-pannable-area.c,
2520 (hildon_pannable_area_class_init),
2521 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2522 panning parameters, increased SPS and deceleration factor. Added
2523 also a margin to control fake directions.
2525 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2527 Patch by Sven Herzberg (sven@imendio.com)
2529 * configure.ac: Add missing AM_PROG_CC_C_0
2530 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2532 See NB#101420 (Update unit tests and fix make check)
2534 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2536 This patch was applied before but reverted because it caused
2537 problems, we have changed the main condition and tested the
2538 regressions we detected before and they work ok. We have done a
2539 complete review of the topmost algorithm in order to get a more
2542 * src/hildon-pannable-area.c,
2543 (hildon_pannable_area_get_topmost): Added a new parameter to
2544 filter the the windows that do not include those events.
2545 (hildon_pannable_area_button_press_cb),
2546 (hildon_pannable_area_button_release_cb),
2547 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2548 topmost function, we have added the new parameter.
2550 Fixes: NB#97458 (Pannable area prevents propagation of button
2553 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2556 if all columns in the selector have an item selected.
2557 (_on_dialog_response): Stop "response" signal emission if there is
2558 any selector column without selected items.
2560 Fixes: NB#101889 (Picker dialog should not close when nothing is
2561 selected in multiple selection list)
2563 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-font-selection-dialog.c
2566 (hildon_font_selection_dialog_class_init),
2567 (hildon_font_selection_dialog_init): Remove the preview
2568 button and dialog, since previewing with default theming is likely
2569 to be overcomplicated. The :preview property has now no effect.
2570 Update documentation blurbs to inform about this.
2572 Fixes: NB#92297 (Preview content is not clearly visible for
2573 default colour text)
2575 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2577 Reviewed the geometry that handles the children size and
2578 scrollbar, now it tries a size and reviews the results depending
2579 on the scrollbars visibility.
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_realize): Fixed a typo.
2583 (hildon_pannable_area_child_allocate_calculate): Added this
2584 function to calculate the child allocation.
2585 (hildon_pannable_area_size_allocate): Reviewed the allocation
2587 (hildon_pannable_area_check_scrollbars),
2588 (hildon_pannable_area_refresh): Refactored refresh function, this
2589 way we can call the code handling the scrollbars without causing a
2590 size_request, it is interesting in the allocate.
2591 (hildon_pannable_area_init): Replace the callbacks of the
2592 value_changed and changed signals to propertly deal with the
2594 (hildon_pannable_area_grab_notify),
2595 (hildon_pannable_area_initial_effect),
2596 (hildon_pannable_area_launch_fade_timeout),
2597 (hildon_pannable_area_adjust_changed),
2598 (hildon_pannable_area_adjust_value_changed),
2599 (hildon_pannable_area_redraw),
2600 (hildon_pannable_area_button_press_cb),
2601 (hildon_pannable_area_button_release_cb),
2602 (hildon_pannable_area_scroll_cb),
2603 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2604 code and use the new functions adjust_changed and
2605 adjust_value_changed.
2607 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2608 Contact editor dialog)
2610 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2615 * configure.ac: Bump version.
2616 * debian/changelog: Updates.
2618 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2620 * src/hildon-pannable-area.c,
2621 (hildon_pannable_area_get_topmost),
2622 (hildon_pannable_area_button_press_cb),
2623 (hildon_pannable_area_button_release_cb),
2624 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2625 topmost function adding the event mask. We have to try a
2626 differente approach because it is still causing problems (NB#9745,
2629 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2631 * src/hildon-banner.c:
2632 Update the maximum width of timed banners.
2633 (force_to_wrap_truncated): Enforce the maximum text width if the
2636 Fixes: NB#102413 (The text margins (wrapping) in information
2637 banner should be HILDON_MARGIN_TRIPLE)
2639 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2641 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2643 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2644 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2645 bound when calculating the scroll indicator position.
2647 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2648 treat ->lower correctly)
2650 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2653 expose event handling, since it is not necessary to draw the focus
2656 Fixes: NB#102467 (Do not show highlight on the text in
2659 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2662 full height of the toolbar for the button and the label.
2664 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2666 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2667 padding before the label and after the button.
2669 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2673 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2674 Add a GtkVSeparator between the button and the back arrow.
2675 Let the button have automatic size.
2676 Set a name to the widget for theming handling.
2678 Fixes: NB#101793 (Make edit toolbar the same height as window
2679 title bar (use title area theming))
2681 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2683 * src/hildon-helper.c (attach_new_color_element): Fix memory
2686 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2688 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2690 * examples/hildon-button-example.c (common_buttons_window): Don't
2693 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2696 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2698 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-gtk.c: Check that the window is realized.
2702 Fixes: NB#102225 (Crash setting the progress indicator to a non
2705 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2708 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2709 instead of modifying the one in the widget style.
2711 Fixes: NB#101043 (Second row of all the command button are
2712 displayed in transparent mode.)
2714 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-date-button.c
2717 * src/hildon-time-button.c: Add gettext macros
2719 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-date-button.c (hildon_date_button_new):
2722 * src/hildon-time-button.c (hildon_time_button_new_step):
2723 Use new logical strings to set the button default title.
2725 Fixes: NB#99915 (Date and Time options are not localised in Date
2728 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2730 * src/hildon-pannable-area.c
2731 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2732 the PANNING_THRESHOLD.
2734 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2736 * src/hildon-pannable-area.c,
2737 (hildon_pannable_area_class_init): Increased the maximum speed.
2738 (hildon_pannable_area_get_property),
2739 (hildon_pannable_area_set_property),
2740 (hildon_pannable_area_timeout): Added a new low friction mode, it
2741 allows the user avoid friction when launching the widget fast
2742 enough. It is interesting to traverse long lists.
2744 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2747 (+hildon_stackable_window_delete_event): Ignore delete events if
2748 the window is not the topmost one.
2750 Fixes: NB#101698 (Back button long press and delete-event handling)
2752 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2754 * src/hildon-pannable-area.c,
2755 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2756 gtk-dnd-drag-threshold, it was too big. We have defined our own
2757 dnd define and set a smaller value: PANNIG_THRESHOLD.
2759 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2762 user-defined icons, use always the default one.
2764 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2766 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2768 This patch was applied before but reverted because it caused
2769 problems, we have changed the main condition and tested the
2770 regressions we detected before and they work ok.
2772 * src/hildon-pannable-area.c,
2773 (hildon_pannable_area_get_topmost): Added a new parameter to
2774 filter the the windows that do not include those events. Added
2775 also a condition when finding the window to filter windows that do
2776 not ask for those events.
2777 (hildon_pannable_area_button_press_cb),
2778 (hildon_pannable_area_button_release_cb),
2779 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2780 topmost function, we have added the new parameter.
2782 Fixes: NB#97458 (Pannable area prevents propagation of button
2785 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2787 * tests/check-hildon-color-button.c (START_TEST): do not leak
2790 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-font-selection-dialog.c
2793 (hildon_font_selection_dialog_get_preview_text): Return NULL
2794 instead of FALSE on the g_return_val_if_fail().
2796 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2798 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2799 * src/hildon-date-selector.c
2800 (hildon_date_selector_select_current_date):
2801 Do not compare unsigned integers to be greater than or equal 0,
2802 because it's always TRUE.
2804 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2806 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2807 (hildon_date_selector_constructor): Do not select the current
2808 date until we are handle the "changed" signal, to avoid having bogus
2809 elements in the days model.
2811 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2814 for num_days, since _month_days() can return a negative value.
2816 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-caption.c (hildon_caption_size_allocate):
2819 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2820 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2822 Initialize allocation variables to 0, to avoid eventually using
2823 unitialized variables.
2825 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-bread-crumb-trail.c
2828 (hildon_bread_crumb_trail_size_allocate):
2829 * src/hildon-calendar.c (hildon_calendar_set_background):
2830 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2831 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2832 * src/hildon-seekbar.c (hildon_seekbar_init):
2833 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2834 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2835 * src/hildon-touch-selector-entry.c
2836 (hildon_touch_selector_get_text_from_model):
2837 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2838 * src/hildon-window.c (hildon_window_finalize):
2840 Remove many unused variables.
2842 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2844 * src/hildon-seekbar.c: (hildon_seekbar_init),
2845 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2847 Remove unnecessary g_assert() calls.
2849 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-caption.c: (hildon_caption_expose),
2852 (hildon_caption_set_property), (hildon_caption_init),
2853 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2854 (hildon_caption_size_request), (hildon_caption_size_allocate),
2855 (hildon_caption_forall), (hildon_caption_set_separator),
2856 (hildon_caption_activate), (hildon_caption_set_child_expand),
2857 (hildon_caption_set_label_text),
2858 (hildon_caption_get_label_alignment):
2860 Remove unnecessary g_assert() calls.
2862 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-banner.c
2865 (hildon_banner_map, hildon_banner_init): Make banner temporary
2866 before mapping it to avoid closing other temporary windows, but
2867 make it non-temporary afterwards to avoid being closed by other
2868 non-temporary windows.
2869 (-hildon_banner_client_event, hildon_banner_init):
2870 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2872 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2875 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2880 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2882 * src/hildon-remote-texture.c
2883 * src/hildon-remote-texture.h
2884 * src/hildon-remote-texture-private.h
2885 * examples/hildon-remote-texture-example.c:
2886 Updates/fixes to remote-texture and its example.
2888 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2890 Patch by Mox Soini (ext-mox.soini@nokia.com)
2892 * src/hildon-code-dialog.c: Update logical id.
2893 * src/hildon-set-password-dialog.c: Update logical id.
2895 Fixes: NB#100646 (Logical strings is shown for ok in set
2896 password,Password needed dialogs)
2898 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2901 * src/hildon-remote-texture.c
2902 * src/hildon-remote-texture.h
2903 * src/hildon-remote-texture-private.h
2905 Added remote texture widget (for Clutter shared memory textures)
2907 * examples/hildon-remote-texture-example.c
2908 * examples/Makefile.am
2909 Added example file for remote texture usage
2911 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2913 * configure.ac: post release version bump.
2914 * debian/changelog: version bump.
2916 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2921 * configure.ac: Bump version.
2922 * debian/changelog: Updates.
2924 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-date-selector.c (hildon_date_selector_init)
2927 (hildon_date_selector_constructor): Don't connect to the "changed"
2928 signal until the selector is completely constructed.
2930 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-touch-selector.c: (_create_new_column),
2933 (hildon_touch_selector_append_column),
2934 (hildon_touch_selector_set_column_selection_mode),
2935 (hildon_touch_selector_set_active),
2936 (hildon_touch_selector_select_iter):
2937 Emit the HildonTouchSelector::changed signal every time selection
2938 is changed in any of the methods above. This behavior was already
2939 documented but not fully functional.
2941 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2942 selection is programmatically changed)
2944 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2946 * doc/hildon-sections.txt: Remove obsolete icon
2947 sizes from here as well.
2949 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2951 * examples/hildon-stackable-window-example.c (add_window): Remove
2954 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-app-menu.c
2957 (hildon_app_menu_show): Check whether the parent window of a menu
2958 is topmost before popping it up.
2960 Fixes: NB#100468 (Application menu window is launched even when a
2961 new secondary-window/dialog is pending to be shown/realized.)
2963 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2965 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2968 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2970 Patch by Mox Soini (ext-mox.soini@nokia.com)
2972 * src/hildon-banner.c: (hildon_banner_show_animation):
2973 use stylus size instead of obsolete note size.
2974 * src/hildon-defines.h: Update icon sizes.
2976 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-touch-selector-entry.c:
2979 (hildon_touch_selector_entry_init): Disable unsupported
2981 (hildon_touch_selector_entry_get_text_column): Emit a warning
2982 if an unsupported input modes is used and explicitile state
2983 these modes in the documentation.
2985 Fixes: NB#99802 (Hildon touch selector entry not working properly
2986 for some of the input modes)
2988 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2990 * src/hildon-pannable-area.c,
2991 (hildon_pannable_area_init): Added the changed signal handlers of
2994 Fixes: NB#100320 (HildonPannableArea does not listen to
2995 GtkAdjustment "change" signals)
2997 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2999 * doc/hildon-sections.txt
3000 * src/hildon-window-private.h
3001 * src/hildon-window.h
3002 * src/hildon-window.c (hildon_window_init)
3003 (hildon_window_realize, hildon_window_unrealize)
3004 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3005 (hildon_window_size_request, hildon_window_size_allocate)
3006 (hildon_window_forall, hildon_window_show_all)
3007 (hildon_window_destroy, +paint_edit_toolbar)
3008 (+hildon_window_set_edit_toolbar):
3009 New hildon_window_set_edit_toolbar() method, to add a
3010 HildonEditToolbar to a window without having to pack it manually.
3012 Reorganize hildon_window_size_allocate()
3014 * src/hildon-edit-toolbar.c: Update documentation.
3016 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3017 example to use the new API.
3019 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3021 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3024 Remove from stack before calling parent's hide.
3026 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3029 window is removed from the middle of the stack, update the
3030 transiency of the previous one.
3032 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3035 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3037 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3038 block/unblock the signal handler if it's not actually being used.
3039 Fixes some critical warnings.
3041 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3043 Based on a patch by Iván Gómez (igomez@igalia.com)
3045 * src/hildon-banner.c
3049 * src/hildon-pannable-area.c
3050 * src/hildon-picker-dialog.c
3051 * src/hildon-wizard-dialog.h
3052 * src/hildon-wizard-dialog.c: Documentation updates.
3054 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3055 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3057 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3059 * configure.ac: post release version bump.
3060 * debian/changelog: version bump.
3062 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3067 * configure.ac: Bump version.
3068 * debian/changelog: Updates.
3070 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3073 a stock icon nor change the relief of the back arrow.
3075 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3076 graphics from theme)
3078 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-button.c (hildon_button_set_alignment): Use
3081 priv->alignment if the button has no child yet.
3083 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3085 * src/hildon-button.c: (hildon_button_init): Set the
3086 button style during initialization to give it the proper
3089 Fixes: NB#99713 (HildonButton value label color is wrong)
3091 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-touch-selector.c: Document
3094 hildon_touch_selector_center_on_selected()
3096 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3099 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3100 all menu items, but not the menu itself.
3101 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3102 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3103 items after adding them to the menu so keyboard accelerators work.
3104 (hildon_app_menu_show): Don't show the menu if it contains items
3105 but none of them are visible.
3107 * examples/hildon-app-menu-example.c (create_menu): Use
3108 gtk_widget_show_all() to show all menu items.
3110 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-picker-dialog.c:
3113 (-_update_title_on_selector_changed_cb),
3114 (-_dialog_update_title): Removed.
3115 (_select_on_selector_changed_cb), (_on_dialog_response),
3116 (on_selector_columns_changed): Do not update the dialog title.
3117 (setup_interaction_mode): Do not connect to
3118 HildonTouchSelector::changed signal if there's a "done" button, as
3119 the dialog title doesn't need to be updated.
3121 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3124 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3126 Patch by Kristian Rietveld (kris@imendio.com)
3128 * src/hildon-touch-selector.c: (_create_new_column): Use new
3129 GtkTreeView::hildon-row-tapped signal to react to user interactions
3130 instead of ::changed.
3132 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3133 with some dynamic tree model)
3135 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3138 (+screen_size_changed, +label_size_request)
3139 (hildon_note_class_init): Make the Hildon information note have a
3140 minimum height, and make its text hvae a maximum width.
3142 Fixes: NB#98614 (Hildon information note (background) should have
3143 minimum height and maximum text width)
3145 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-banner.h
3148 * src/hildon-banner.c (hildon_banner_show_information)
3149 (hildon_banner_show_informationf)
3150 (hildon_banner_show_information_with_markup): Update documentation
3151 to reflect that the icon_name parameter is not used anymore.
3152 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3153 Remove all code from these functions and mark them as deprecated.
3154 (hildon_banner_show_progress): Mark as deprecated.
3156 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3158 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3160 * src/hildon-pannable-area.c,
3161 (hildon_pannable_area_class_init),
3162 (tranparency_color),
3163 (hildon_pannable_draw_vscroll),
3164 (hildon_pannable_draw_hscroll),
3165 (hildon_pannable_area_expose_event): Added a new way to render the
3166 scrollbars of the pannable area avoiding using cairo at all. This
3167 way we improve the performance of the pannable area rendering. The
3168 cairo rendering procedure is still in the code, we can control
3169 which one to use changing the value of the define
3170 USE_CAIRO_SCROLLBARS.
3172 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3174 * configure.ac: post release version bump.
3175 * debian/changelog: version bump.
3177 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3182 * configure.ac: Bump version.
3183 * debian/changelog: Updates.
3185 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3188 banners instead of destroying them when they receive a button
3191 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3193 Reverted commit 34028, it was causing regressions, probably the
3194 topmost condition is not correct, we have to check it in more
3195 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3196 propagation of button press events)
3198 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3201 that the selection is not empty before attempting to retrieve the
3202 current ampm selection.
3204 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-picker-button.c:
3207 (hildon_picker_button_on_dialog_response): Directly update the
3208 button contents when required instead of calling _selection_changed.
3210 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-program.c (hildon_program_update_top_most): Update
3213 'is-topmost' property also when wm_hints is not set.
3215 Fixes: NB#98383 (is-topmost signal is not emitted when task
3216 switcher is clicked.)
3218 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3220 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3224 * src/hildon-animation-actor.c,
3225 * src/hildon-animation-actor.h: Added the animation actor class,
3226 this widget represents an animation actor for WM-assisted
3227 animation effects in the Hildon framework.
3229 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-window-stack-private.h
3232 * src/hildon-window-stack.c
3233 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3234 Avoid calling gtk_widget_show() again indirectly from
3235 hildon_stackable_window_show()
3237 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3242 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3245 (hildon_time_selector_init): Move the construction of the hours and
3246 ampm columns to the constructor to preserve the order the columns
3249 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3251 * src/hildon-picker-dialog.c:
3252 (hildon_picker_dialog_class_init): Connect a realize method.
3253 (+hildon_picker_dialog_realize): Setup the interaction mode here
3255 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3256 yet, do it during the realize instead.
3257 (_on_dialog_response):
3258 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3259 if the widget is not realized, to avoid the dialog response before it
3262 Avoid premature responses in the HildonPickerDialog that can cause it
3263 to be hidden before it's even shown.
3265 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3267 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3268 (on_selector_columns_changed), (requires_done_button),
3269 (+prepare_action_area), (setup_interaction_mode),
3270 (_hildon_picker_dialog_set_selector):
3272 Split the interaction mode setup into preparation of the
3273 action area (prepare_action_area()) and the connection of
3274 the signals in setup_interaction_mode() and update the code to
3277 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3281 per second to 15, we will check if this is ok regarding
3284 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3286 * src/hildon-pannable-area.c,
3287 (hildon_pannable_axis_scroll): Avoid resize if we already have
3288 reached overshoot_max.
3290 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3292 * src/hildon-pannable-area.c,
3293 (hildon_pannable_area_init),
3294 (hildon_pannable_area_realize),
3295 (hildon_pannable_area_size_allocate),
3296 (hildon_pannable_area_map),
3297 (hildon_pannable_area_unmap),
3298 (hildon_pannable_draw_vscroll),
3299 (hildon_pannable_draw_hscroll),
3300 (hildon_pannable_area_expose_event),
3301 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3302 pannable are to avoid the expose events go to the window and
3303 redraw the window. We save this way that part of the stack and the
3304 paint_boxes. We had to change the positions of the elements when
3307 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3310 * src/hildon-color-chooser-dialog.c:
3311 (hildon_color_chooser_dialog_init):
3312 * src/hildon-font-selection-dialog.c:
3313 (hildon_font_selection_dialog_init),
3314 (hildon_font_selection_dialog_show_preview):
3315 * src/hildon-get-password-dialog.c:
3316 * src/hildon-login-dialog.c:
3317 * src/hildon-set-password-dialog.c:
3318 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3319 * src/hildon-time-picker.c: (hildon_time_picker_init):
3321 Remove obsolete logical string IDs and update to the appropriate ones.
3323 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3325 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3327 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3328 that happens if the window hasn't been realized yet.
3330 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3331 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3333 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3336 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3339 Fixes: NB#98537 (Device hangs in account settings dialog)
3341 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3343 * configure.ac: post release version bump.
3344 * debian/changelog: version bump
3346 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3351 * configure.ac: Bump version.
3352 * debian/changelog: Updates.
3354 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3356 Added a new function to the HildonTimeButton widget that allows to
3357 change the step of the minutes in the selector associated with the
3358 button: hildon_time_button_new_step
3360 * src/hildon-time-button.c,
3361 (hildon_time_button_init),
3362 (hildon_time_button_new),
3363 (hildon_time_button_new_step):
3364 * src/hildon-time-button.h: Added the new function and refactored
3366 * examples/hildon-time-button-example.c,
3367 (main): We have replaced the function without parameters with the
3368 function with the steps set to 5
3370 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3372 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3374 * src/hildon-time-selector.c,
3375 (hildon_time_selector_class_init),
3376 (hildon_time_selector_constructor),
3377 (hildon_time_selector_get_property),
3378 (hildon_time_selector_set_property),
3379 (_create_minutes_model),
3380 (hildon_time_selector_new_step),
3381 (hildon_time_selector_set_time),
3382 * src/hildon-time-selector.h: Added a new property to the
3383 HildonTimeSelector (minutes-step), we use that property to control
3384 the steps between the minutes in the list of the selector. We have
3385 added a new function to the API to create a widget changing the
3386 step: hildon_time_selector_new_step.
3388 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3390 * src/hildon-time-selector.c,
3391 (hildon_time_selector_class_init),
3392 (hildon_time_selector_constructor),
3393 (hildon_time_selector_init): Overrided the construct function when
3394 creating the time selector object. We have moved the minutes model
3395 handling code from the init to the new construction function:
3396 hildon_time_selector_constructor.
3398 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3400 * examples/hildon-date-button-example.c: (main): Use the new
3401 hildon_date_button_new_with_year_range() method in the example.
3402 * src/hildon-date-button.c:
3403 (+hildon_date_button_new_with_year_range): New public method
3404 to conveniently create a HildonDateButton with a custom year range
3405 in its HildonDateSelector.
3406 * src/hildon-date-button.h: Add the new public method definition.
3408 Fixes: NB#97908 (Not possible to change the year range in
3409 HildonDateSelector/HildonDateButton)
3411 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-date-selector.c:
3414 (+hildon_date_selector_set_property),
3415 (+hildon_date_selector_get_property),
3416 (hildon_date_selector_class_init): Install new properties "min-year"
3417 and "max-year" to define boundaries for the year column.
3418 (_create_year_model): Use the boundary properties to populate the model.
3419 (+hildon_date_selector_new_with_year_range): New public method to
3420 create a HildonDateSelector with a user defined year range.
3421 (hildon_date_selector_select_current_date): Use the new boundaries to
3422 calculate the iterator of current year.
3423 * src/hildon-date-selector.h: Add the new public method definition.
3425 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3428 Install a constructor method.
3429 (+hildon_date_selector_construct_ui): construct the widget.
3430 (+hildon_date_selector_constructor): new constructor.
3431 (+hildon_date_selector_init): move out widget construction code to
3432 the new constructor.
3434 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3436 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3437 that there's actually a month or year selected before obtaining them.
3438 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3439 of the HildonTouchSelector::changed signal, as it was emitted on every
3440 single item selection.
3442 Fix some warnings and possible crashers due to the selection restoring.
3444 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3447 the signal handlers only after creating the dialog instead of on every
3450 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-button.c (hildon_button_init)
3453 * src/hildon-check-button.c (hildon_check_button_init)
3454 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3455 focus when clicked by default.
3457 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3462 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3464 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3465 Alejandro G. Castro (alex@igalia.com)
3467 * src/hildon-picker-dialog.c:
3468 (hildon_picker_dialog_class_init): install new "center-on-show"
3470 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3471 (hildon_picker_dialog_set_property): add setter code for the new
3473 (hildon_picker_dialog_get_property): add getter code for the new
3475 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3476 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3479 Fixes: NB#92849 (Selected item is not always visible when
3480 HildonTouchSelector is shown)
3482 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3484 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3485 Alejandro G. Castro (alex@igalia.com)
3487 * src/hildon-touch-selector.c:
3488 (_create_new_column): Do not connect to the "realize" signal of the
3490 (hildon_touch_selector_append_column): center on the selected items
3491 when a new column is appended.
3492 (hildon_touch_selector_select_iter): Factor out the code to select a
3493 column to hildon_touch_selector_scroll_to().
3494 (+search_nearest_element): Method to retrieve the nearest selected
3495 element to the visible area of the pannable area in a column.
3496 (+on_realize_cb): scroll to the initially selected item.
3497 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3498 the pannable area is realized, otherwise delay this until it is.
3499 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3500 selected items of a given column.
3501 (+hildon_touch_selector_center_on_selected): Public method to center
3502 all columns on the nearest selected item.
3503 * src/hildon-touch-selector.h: Add definition for
3504 hildon_touch_selector_center_on_selected().
3506 Implement public API to ensure visibility of all selected items in
3507 a HildonTouchSelector.
3509 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3511 Fixed a problem in the fading when calling the scroll_to API, and
3512 improve scrollbar fading handling.
3514 * src/hildon-pannable-area.c,
3515 (hildon_pannable_area_grab_notify): avoid the timeout when the
3517 (hildon_pannable_area_button_press_cb),
3518 (hildon_pannable_area_motion_notify_cb): Code style changes.
3519 (hildon_pannable_area_button_release_cb): Review the conditions
3520 when releasing the mouse button to avoid unrequired fading
3522 (hildon_pannable_area_scroll_to): Do not calculate and set the
3523 velocity if the scroll is not required.
3525 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3527 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3528 Don't check whether the new selector is NULL: it cannot be.
3529 Hold a reference to the selector while doing the replacement.
3531 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3534 unnecessary size_request in a removed widget.
3536 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3539 an unnecessary reference tracking that was leaking.
3541 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3543 Added delayed motion notify event handling, this way we can
3544 discard redrawing if more than 25 events arrive per second.
3546 * src/hildon-pannable-area.c,
3547 (hildon_pannable_area_init): Initialized the new private atributes
3548 controlling this timeout
3549 (hildon_pannable_area_dispose): Remove the timeout that controls
3550 the motion notify events.
3551 (hildon_pannable_area_scroll): Added a condition to control the
3552 use of the acceleration.
3553 (hildon_pannable_area_motion_event_scroll_timeout),
3554 (hildon_pannable_area_motion_event_scroll): Added this two
3555 functions, they handle the motion notify events inside the
3557 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3558 to the scroll method with the new function.
3559 (hildon_pannable_area_button_release_cb): We have to remove the
3560 timeout handler and move to the last position if the last motion
3561 events were not handled.
3563 Fixes: NB#97028 (Pannable area updates on every motion event)
3565 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3567 * src/hildon-pannable-area.c,
3568 (hildon_pannable_area_get_topmost): Added a new parameter to
3569 filter the the windows that do not include those events. Added
3570 also a condition when finding the window to filter windows that do
3571 not ask for those events.
3572 (hildon_pannable_area_button_press_cb),
3573 (hildon_pannable_area_button_release_cb),
3574 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3575 topmost function, we have added the new parameter.
3577 Fixes: NB#97458 (Pannable area prevents propagation of button
3580 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3582 * src/hildon-pannable-area.c,
3583 (hildon_pannable_area_initial_effect): Added controls before
3584 launching the timeout and the idle functions.
3585 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3586 of the method, in some situations it can return with TRUE and 0 in
3588 (hildon_pannable_area_button_press_cb): We do not need to set
3589 DELAY for fading out here.
3591 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3593 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3596 post-cleaning if the selection is not NULL.
3598 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3601 all items before restoring the selection.
3603 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-touch-selector.c:
3606 (+hildon_touch_selector_unselect_all):
3607 * src/hildon-touch-selector.h: New API to unselect all items in a
3608 column of the touch selector.
3610 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3612 * src/hildon-pannable-area.c,
3613 (hildon_pannable_area_redraw): Added a call to the refresh
3614 function inside the redraw because apparently in some cases the
3615 change in the adjustment does not imply a size allocate.
3617 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3618 despite the view not being scrollable)
3620 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3622 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3623 leak. Check for NULL before attempting to set the window title.
3625 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3628 whether to show or not the 'Done' button each time the dialog is
3629 shown, as it depends on the HildonTouchSelector selection mode.
3631 Fixes: NB#96226 (In multiple selection mode Done button is shown
3632 sometimes in listpicker)
3634 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3636 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3637 for the number of columns in the HildonTouchSelector more than once.
3639 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-touch-selector.c: Minor documentation fixes.
3643 * src/hildon-picker-dialog.c (+_dialog_update_title)
3644 (_select_on_selector_changed_cb)
3645 (_update_title_on_selector_changed_cb)
3646 (on_selector_columns_changed): Update dialog title when there's no
3647 'Done' button and also when the number of columns in the selector
3651 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3652 (+_selection_changed, hildon_picker_button_on_dialog_response)
3653 (hildon_picker_button_selector_selection_changed)
3654 (+hildon_picker_button_selector_columns_changed)
3655 (hildon_picker_button_set_selector): Update button value and emit
3656 'value-changed' when the number of columns in the selector
3660 Fixes: NB#96225 (Dialog titles are not shown according to the
3661 values selected in the list picker)
3663 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3665 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3666 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3667 New "arrow-width" and "arrow-height" style properties to set the
3668 size of the arrow button.
3669 Set name of arrow button ("hildon-edit-toolbar-arrow").
3671 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3672 graphics from theme)
3674 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-picker-button.c:
3677 (hildon_picker_button_selector_selection_changed): Use
3678 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3679 the dialog is present.
3681 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3682 the selection is accepted in the dialog)
3684 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-color-chooser.h
3687 * src/hildon-color-chooser-dialog.h:
3688 Added G_BEGIN_DECLS and G_END_DECLS
3690 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3692 (_clean_current_selection): plug a leak in the list.
3694 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-picker-dialog.c:
3697 (+free_path_list): Method to free a GList of GtkTreePaths.
3698 (_clean_current_selection), (_save_current_selection),
3699 (_restore_current_selection): Save the current selection in
3700 as a list of lists, to support multiple selection properly.
3702 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3704 patch by Claudio Saavedra (csaavedra@igalia.com)
3706 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3707 Store the press position.
3708 (+hildon_text_view_button_release_event): If the release position is
3709 close enough to the press position, move the cursor here. Otherwise,
3711 (hildon_text_view_class_init): Override GtkTextView press, release, and
3712 motion event handlers, disabling this way text selection through
3713 pointer interaction, and allowing the container widget to handle the
3716 Fixes: NB#95828 (HildonTextView functionality)
3718 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3720 Based on a patch by Iván Gómez (igomez@igalia.com)
3722 * src/hildon-button.[ch]
3723 * src/hildon-calendar.c
3724 * src/hildon-check-button.c
3725 * src/hildon-date-editor.c
3726 * src/hildon-date-selector.c
3727 * src/hildon-picker-button.c
3728 * src/hildon-time-editor.c
3729 * src/hildon-time-selector.c
3730 * src/hildon-touch-selector.[ch]:
3731 Documentation updates
3733 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3735 * src/hildon-pannable-area.c,
3736 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3737 threshold, it was required due to X events handling.
3739 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3741 * src/hildon-pannable-area.c,
3742 (hildon_pannable_area_grab_notify),
3743 (hildon_pannable_area_initial_effect),
3744 (hildon_pannable_area_button_press_cb),
3745 (hildon_pannable_area_button_release_cb),
3746 (hildon_pannable_area_scroll_cb),
3747 (hildon_pannable_area_scroll_to): Review the timeout management of
3748 the scrollbar, the frecuency was incorrectly set.
3750 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-picker-button.c:
3753 (+hildon_picker_button_on_dialog_response),
3754 (hildon_picker_button_clicked): Present the dialog instead of
3755 running it with gtk_dialog_run().
3757 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3760 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3763 (hildon_app_menu_finalize): When a window is hidden it doesn't
3764 emit notify::is-topmost, so make sure than the menu also
3765 disappears in that case.
3766 (parent_window_topmost_notify): Renamed from parent_window_hidden
3768 Fixes: NB#94460 (stackable window's menu is not closed when its
3771 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3773 * src/hildon-touch-selector-entry.c:
3774 (+hildon_touch_selector_entry_set_input_mode),
3775 (+hildon_touch_selector_entry_get_input_mode):
3776 * src/hildon-touch-selector-entry.h: New methods to access the input
3777 mode in the selector's entry.
3779 Fixes: NB#93410 (API required for setting IM mode in
3780 HildonTouchSelectorEntry)
3782 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3784 * configure.ac: post release version bump.
3785 * debian/changelog: version bump
3787 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3792 * configure.ac: Bump version.
3793 * debian/changelog: Updates.
3795 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-touch-selector.c:
3798 (_hildon_touch_selector_has_multiple_selection): No need
3799 to initialize the variables here.
3801 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-note-private.h
3804 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3805 (hildon_note_finalize, hildon_note_rebuild): Close information
3806 notes when they receive a button press.
3808 Fixes: NB#89890 (Information notes does not get disappeared after
3811 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3814 mark from the wizard title, as it's not really necessary. Also,
3815 do not display the page title if not set.
3817 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3819 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3820 (parent_window_hidden): Use the window's "is-topmost" property to
3821 detect when to hide the menu.
3823 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3826 (hildon_app_menu_finalize): If the parent window of the menu is
3827 hidden, hide the menu too.
3829 Fixes: NB#94460 (stackable window's menu is not closed when its
3832 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3835 * debian/libhildon1-examples.install
3837 * examples/Makefile.am:
3838 Use dh_install to install all examples.
3839 Use DEB_SRCDIR instead of defining SOURCE_DIR
3841 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3843 * configure.ac: post release version bump.
3844 * debian/changelog: version bump
3846 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3851 * configure.ac: bump version
3852 * debian/changelog: updates
3853 * debian/control: bump gtk+ dependency
3855 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3857 patch by Christian Dywan (christian@imendio.com)
3859 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3860 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3862 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-check-button.c (hildon_check_button_init)
3865 (hildon_check_button_class_init, hildon_check_button_style_set)
3866 (hildon_check_button_apply_style):
3867 New "checkbox-size" style property.
3869 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3870 larger / configurable size)
3872 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3874 * configure.ac: post release version bump.
3875 * debian/changelog: version bump
3877 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3882 * configure.ac: bump version
3883 * debian/changelog: updates
3885 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3887 * doc/hildon-sections.txt
3888 * src/hildon-pannable-area.c
3889 * src/hildon-program.c
3890 * src/hildon-time-editor.c
3891 * src/hildon-touch-selector-entry.c:
3893 More documentation updates.
3895 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3897 * doc/hildon-sections.txt
3898 * src/hildon-caption.c
3899 * src/hildon-code-dialog.c
3900 * src/hildon-color-button.c
3901 * src/hildon-controlbar.c
3902 * src/hildon-date-editor.c
3903 * src/hildon-date-selector.c
3904 * src/hildon-edit-toolbar.c
3905 * src/hildon-find-toolbar.c
3906 * src/hildon-font-selection-dialog.c
3908 * src/hildon-program.c
3909 * src/hildon-range-editor.c
3910 * src/hildon-seekbar.c
3911 * src/hildon-time-editor.c
3912 * src/hildon-time-selector.c
3913 * src/hildon-volumebar-range.c
3914 * src/hildon-volumebar.c
3915 * src/hildon-vvolumebar.c
3916 * src/hildon-weekday-picker.c
3917 * src/hildon-window.c
3918 * src/hildon-wizard-dialog.c:
3920 Lots of documentation fixes.
3922 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3924 Patch contributed by Iván Gómez (igomez@igalia.com)
3926 * src/hildon-check-button.c:
3927 * src/hildon-date-button.c:
3928 * src/hildon-date-selector.c:
3929 * src/hildon-dialog.c:
3930 * src/hildon-edit-toolbar.c:
3931 * src/hildon-entry.c:
3932 * src/hildon-picker-button.c:
3933 * src/hildon-program.c:
3934 * src/hildon-text-view.c:
3935 * src/hildon-time-button.c:
3936 * src/hildon-touch-selector-entry.c:
3937 * src/hildon-window-stack.c:
3939 Add more "since" tags to the new API.
3941 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3943 * doc/hildon-sections.txt: Add below method.
3944 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3945 version for the hildonized scale.
3946 * src/hildon-gtk.h: Add the definition.
3948 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3950 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3952 * doc/hildon-sections.txt: Add missing entries for new methods.
3954 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3956 Added API to pannable are in order to get its adjustments. We
3957 added two properties to manage the values we had in the private
3960 * src/hildon-pannable-area.c:
3961 (hildon_pannable_area_class_init): Added hadjustment and
3962 vadjustment properties in order to expose horizontal and vertical
3964 (hildon_pannable_area_get_property),
3965 (hildon_pannable_area_set_property): Added code to handle the new
3967 (hildon_pannable_area_get_hadjustment),
3968 (hildon_pannable_area_get_vadjustment): API functions to get the
3970 * src/hildon-pannable-area.h:
3971 (hildon_pannable_area_get_hadjustment),
3972 (hildon_pannable_area_get_vadjustment): API functions to get the
3975 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3977 Fixed some leaks, after valgrinding.
3979 * src/hildon-touch-selector.c:
3980 (_default_print_func): Fixed a leak.
3981 (hildon_touch_selector_append_column): Fixed a leak.
3982 * src/hildon-date-button.c:
3983 (hildon_date_button_init): Fixed a leak.
3984 * src/hildon-date-selector.c
3985 (hildon_date_selector_finalize): Fixed a leak.
3987 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3989 Based on a patch by Christian Dywan (christian@imendio.com)
3991 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3993 * src/hildon-gtk.h: Add definition.
3995 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3997 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3999 * src/hildon-picker-button.c: (hildon_picker_button_init),
4000 (hildon_picker_button_new): Set the HildonButton::style property
4001 in the init method, to propagate the value to the derived classes.
4003 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-button.c: (hildon_button_class_init): Do not make
4006 the "style" property a construct property.
4008 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-wizard-dialog.h
4011 * src/hildon-wizard-dialog.c
4012 (hildon_wizard_dialog_set_forward_page_func)
4013 * src/hildon-pannable-area.h
4014 * src/hildon-pannable-area.c
4015 (hildon_pannable_area_set_size_request_policy):
4016 Documentation fixes.
4018 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4020 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4022 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4024 * doc/hildon-sections.txt: Added sections file.
4026 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4029 * src/*.[ch]: Updates.
4031 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4033 * examples/hildon-progress-indicator-example.c: new file
4034 * examples/Makefile.am: include the new example program
4036 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4040 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4042 * configure.ac: post release version bump
4043 * debian/changelog: version bump
4045 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4050 * configure.ac: bump version
4051 * debian/changelog: updates
4052 * debian/control: bump gtk+ dependency
4054 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-dialog.c: Mark as deprecated.
4057 * src/hildon-dialog.h: Mark as deprecated.
4058 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4059 from HildonDialog and still work, even if
4060 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4061 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4063 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4064 maemo changes) instead)
4066 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4068 * src/hildon-pannable_area.h:
4069 * src/hildon-pannable_area.c:
4070 (hildon_pannable_area_class_init),
4071 (hildon_pannable_area_set_property),
4072 (hildon_pannable_area_get_property),
4073 (hildon_pannable_area_size_request),
4074 (hildon_pannable_area_get_size_request_policy),
4075 (hildon_pannable_area_set_size_request_policy): Added new API
4076 allowing applications to control the request policy. Now they can
4077 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4078 children allocation (HILDON_MOVEMENT_CHILDREN).
4080 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4084 (hildon_gtk_tree_view_set_ui_mode)
4085 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4086 mode of treeviews and iconviews.
4088 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-touch-selector-entry.c:
4091 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4092 of a GtkEntry to get proper theming.
4094 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4095 widget, not GtkEntry)
4097 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4100 no HildonWizardDialogPageFunc.
4102 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4104 Patch contributed by Iván Gómez (igomez@igalia.com)
4106 * src/hildon-app-menu.c:
4107 * src/hildon-button.c:
4108 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4109 * src/hildon-stackable-window.c:
4110 * src/hildon-time-selector.c:
4111 * src/hildon-touch-selector.c:
4112 * src/hildon-window.c:
4114 Add more "since" tags to the new API in hildon 2.2.
4116 2008-12-05 Tim Janik <timj@imendio.com>
4118 Patch contributed by Christian Dywan (christian@imendio.com)
4120 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4121 HildonSizeType, which are supplied by Gtk+ now.
4123 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4125 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4126 (with maemo changes) instead)
4128 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4130 Patch contributed by Iván Gómez (igomez@igalia.com)
4132 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4135 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4137 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4138 (some_page_func), (main): Update the example to use a
4139 HildonWizardDialogPageFunc function.
4141 * src/hildon-wizard-dialog-private.h: Add private data for
4142 the HildonWizardDialogPageFunc function usage.
4144 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4145 (destroy), (hildon_wizard_dialog_init), (response),
4146 (hildon_wizard_dialog_set_forward_page_func):
4147 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4148 that applications can use to stop a HildonWizardDialog to jump to
4151 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4154 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4156 * src/hildon-program.h
4157 * src/hildon-program-private.h
4158 * src/hildon-program.c (hildon_program_init)
4159 (hildon_program_set_common_app_menu)
4160 (hildon_program_get_common_app_menu):
4161 New API for setting a common HildonAppMenu for all
4162 HildonStackableWindows registered with the HildonProgram.
4164 * src/hildon-stackable-window.c
4165 (hildon_stackable_window_toggle_menu):
4166 Use the common HildonAppMenu if a window doesn't have a specific
4169 * src/hildon-app-menu-private.h
4170 * src/hildon-app-menu.c
4171 (hildon_app_menu_get_parent_window):
4172 Function to obtain the window a HildonAppMenu is attached to.
4173 (hildon_app_menu_set_parent_window):
4174 Hide the menu if the parent window is set to NULL.
4176 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4178 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4179 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4180 search widget to popup.
4182 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4184 * configure.ac: post release version bump
4185 * debian/changelog: version bump
4187 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4192 * configure.ac: bump version
4193 * debian/changelog: updates
4195 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4197 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4199 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4200 (hildon_window_stack_window_realized)
4201 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4202 Set the leader GdkWindow when a window is stacked and realized,
4203 unset it when it's unstacked.
4204 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4206 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4208 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-stackable-window.h
4211 * src/hildon-window-stack.h:
4212 Protect definition of HildonWindowStack using the preprocessor.
4214 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4217 Fix warning if all menu items are hidden.
4219 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4221 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4223 * src/hildon-controlbar.c:
4224 * src/hildon-hvolumebar.c:
4225 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4226 Multiple scale size defines updates.
4228 Fixes: NB#94322 (Scale Updates)
4230 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4232 * examples/hildon-app-menu-example.c (create_menu)
4233 Show items after adding them to the menu, as in the future the
4234 menu will no longer call gtk_widget_show() on the added items.
4236 * src/hildon-app-menu.c:
4237 Update example as explained above.
4239 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-app-menu.c
4242 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4243 Make sure that all menu items have finger height.
4245 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4247 * src/hildon-picker-dialog.c:
4248 (_on_dialog_response), (_save_current_selection),
4249 (_restore_current_selection), (_clean_current_selection),
4250 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4251 Defined new functions in order to save the current internal selector
4252 selection previous open the dialog, in case that the use cancel the
4253 interaction, so the widget restores the previous selection.
4255 Fixes: NB#92032 (In calendar application, date values in 'new event'
4258 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4260 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-button.c: Add a reference to the button examples in
4263 hildon-button-example.c
4265 * examples/hildon-button-example.c: Added examples of the most
4266 common button layouts.
4268 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4270 * src/hildon-app-menu.c (hildon_app_menu_show)
4271 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4273 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4275 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4277 * src/hildon-picker-dialog.c:
4278 (hildon_picker_dialog_init): Initialize the signal id for
4279 HildonTouchSelector::columns-changed.
4280 (+on_selector_columns_changed): Set up the interaction mode everytime a
4281 column is added or removed from the HildonTouchSelector.
4282 (_hildon_picker_dialog_set_selector): Connect to
4283 HildonTouchSelector::columns-changed and keep track of it.
4285 Make sure to update the interaction mode of the dialog everytime a
4286 column is added or removed in the HildonTouchSelector.
4288 Fixes: NB#93228 (Done button is not shown always in listpicker)
4290 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4293 a new ::columns-changed signal.
4294 (hildon_touch_selector_append_column): Emit ::columns-changed.
4295 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4297 Add a ::columns-changed signal, emitted when the number of columns in a
4298 HildonTouchSelector changes.
4300 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4303 (_hildon_picker_dialog_set_selector): Factor out the code
4304 to set up the dialog interaction mode.
4306 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4309 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4310 to signal_changed_id.
4312 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4314 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4317 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4319 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4320 Updated the logical ids related to ampm format, as now it is required to
4321 show it correctly localized even on languages with no default
4322 abbreviations for am or pm
4323 (_check_am_pm_format): check correctly the 24h format gconf property
4325 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4327 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4329 * src/hildon-button.c: Documentation updates.
4331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4334 * src/hildon-caption.c: (hildon_caption_class_init):
4335 * src/hildon-color-button.c: (hildon_color_button_class_init):
4336 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4337 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4338 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4339 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4341 Remove deprecated GTK+ marshalers and replace them with the ones
4342 provided by GLib, for those available, add a marshaler for
4343 BOOLEAN:VOID, which is not available in GLib, and use it.
4345 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4347 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4348 the text from the previous column if there is no
4349 HildonTouchSelectorColumn::text-property set.
4351 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-button.h
4354 * src/hildon-button.c (hildon_button_set_property)
4355 (hildon_button_get_property, hildon_button_class_init)
4356 (hildon_button_set_style, hildon_button_get_style):
4357 New "style" property to change the visual appearance of the
4360 * src/hildon-picker-button.c (hildon_picker_button_new):
4361 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4363 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4364 HildonButton look like PickerButton)
4366 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4369 column while building the default string.
4371 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4374 scroll indicator by default.
4376 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4378 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-main.c: Fix the documentation for hildon_init()
4382 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4384 * doc/hildon-docs.sgml
4388 * src/hildon-window-stack-private.h
4389 * src/hildon-window-stack.h
4390 * src/hildon-window-stack.c:
4391 New HildonWindowStack object, that adds support for multiple
4392 stacks of windows per process.
4394 * src/hildon-stackable-window-private.h
4395 * src/hildon-stackable-window.h
4396 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4397 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4398 (hildon_stackable_window_show, hildon_stackable_window_hide)
4399 (hildon_stackable_window_class_init)
4400 (hildon_stackable_window_init):
4401 Use HildonWindowStack for stack management.
4403 * src/hildon-program.c (hildon_program_pop_window_stack)
4404 (hildon_program_peek_window_stack)
4405 (hildon_program_go_to_root_window):
4406 Add a fallback implementation to the deprecated functions using
4409 * examples/hildon-stackable-window-example.c:
4410 Use the new HildonWindowStack API.
4412 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-stackable-window-private.h
4415 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4416 (hildon_stackable_window_hide, hildon_stackable_window_init):
4417 Remove all window stack management.
4419 * src/hildon-program-private.h
4420 * src/hildon-program.h
4421 * src/hildon-program.c (hildon_program_init)
4422 (hildon_program_pop_window_stack)
4423 (hildon_program_peek_window_stack)
4424 (hildon_program_go_to_root_window):
4425 Remove all window stack management and mark functions as
4428 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-app-menu.c (hildon_app_menu_realize):
4431 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4433 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4435 * configure.ac: post release version bump
4436 * debian/changelog: version bump
4438 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4443 * configure.ac: bump version
4444 * debian/changelog: updates
4446 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4448 Based on initial code by Christian Dywan (christian@imendio.com)
4450 * doc/hildon-docs.sgml: Add section for hildon-main.
4451 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4452 * src/Makefile.am: Add new hildon-main.[ch]
4453 * src/hildon-defines.h: Update the icon sizes.
4454 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4455 new library initialization files and register icon sizes.
4456 * src/hildon-main.h: New declarations.
4457 * src/hildon.h: Include hildon-main.h
4459 Add new initialization functions to the library. These methods
4460 will register the hildon specific icon sizes and can be used in the
4461 future for other hildon specific bits.
4463 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4465 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-window.c: (hildon_window_realize),
4468 (hildon_window_notify), (-hildon_window_update_title): Do not set
4469 the application name in the window title.
4471 Fixes: NB#89754 (Applications shouldn't display their names in the
4474 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4476 * src/hildon-note-private.h:
4477 * src/hildon-note.c: (hildon_note_set_property),
4478 (hildon_note_get_property), (hildon_note_class_init),
4479 (hildon_note_init), (hildon_note_finalize),
4480 (hildon_note_new_confirmation_with_icon_name),
4481 (hildon_note_new_information_with_icon_name):
4483 No need to mark as deprecated the actual code. Revert
4484 to avoid missing symbols in widgets using deprecated API.
4486 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4488 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4490 * src/hildon-volumebar.h
4491 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4492 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4494 * src/hildon-helper.h
4495 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4496 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4498 * examples/Makefile.am:
4499 Deprecate hildon-insensitive-example
4501 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4503 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4505 * examples/hildon-pannable-area-buttons-scroll-example.c:
4506 Make all buttons finger height
4508 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4510 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4512 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4513 update the day model only if it is really required, and to avoid the
4514 full-reconstruction aproach. Now it only add or remove the required days.
4516 The purpose of this is avoid superfluous HildonTouchSelector::changed
4519 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4520 with strange parameters)
4522 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4524 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4526 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4527 the WINDOW_TYPE property.
4529 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4531 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4534 Fix dependency to allow parallel compilation with make -jX
4536 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4539 color frame and some minor tweaks to make it more consistent with
4542 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4543 highlighted but not visible)
4545 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4547 * examples/Makefile.am: Fixed typo in the Makefile.am.
4549 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4551 Reviewed the use of MAEMO_GTK define, now we add the define in the
4552 compilation line, and we also add it to the pc file.
4554 * configure.ac: Added MAEMO_GTK define to the compilation command
4555 and removed it from the config.h.
4557 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4558 do not have to take care about this define if the library was
4562 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4564 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4566 * examples/Makefile.am,
4567 * examples/hildon-pannable-area-buttons-scroll-example.c,
4568 * examples/hildon-pannable-area-gesture-signals-example.c,
4569 * examples/hildon-pannable-area-scroll-jump-example.c,
4570 * examples/hildon-pannable-area-tree-view-example.c:
4571 Renamed the pannable area examples, now they have more meaningful
4574 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4576 * src/hildon-touch-selector.c:
4577 (hildon_touch_selector_set_column_selection_mode): Used of
4578 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4579 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4580 to avoid re-seting the same selection mode.
4582 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4583 breaks HildonPickerDialog)
4585 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4587 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4588 conditional in the Makefile.am
4590 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4593 Remove unused methods.
4595 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-button.c (hildon_button_init):
4598 Make button images center-aligned by default
4600 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4603 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4604 activated, we have to think about how to deal with both defines
4605 MAEMO_GTK and MAEMO_CHANGES.
4607 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4609 * examples/hildon-app-menu-example.c (create_menu): Make all
4610 buttons finger size.
4612 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4614 Fixed the compilation without maemo gtk adding ifdefs with
4615 MAEMO_GTK define to the code, we have to check this version more
4618 * examples/Makefile.am: Added control to avoid some examples that
4619 just make sense with maemo gtk.
4622 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4623 hildon modes with the define.
4625 * examples/hildon-edit-toolbar-example.c,
4626 (create_icon_view): Create the icon view without hildon-gtk
4627 helpers if we are not using maemo gtk.
4629 * src/hildon-touch-selector.c,
4630 (_create_new_column): Create the treeview without hildon-gtk
4631 helpers if we are not using maemo gtk.
4633 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4635 * src/hildon-pnnable-area.c,
4636 (hildon_pannable_area_dispose),
4637 (hildon_pannable_area_button_press_cb),
4638 (hildon_pannable_area_child_mapped),
4639 (hildon_pannable_area_add),
4640 (hildon_pannable_area_remove): Added code to control the position
4641 of the event_window when adding and removing children from the
4642 pannable. We have to raise the event window when the child is
4645 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4646 selection mode using custom widget inside pannable)
4648 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4650 * configure.ac: post release version bump
4651 * debian/changelog: version bump
4653 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4658 * configure.ac: bump version
4659 * debian/changelog: updates
4661 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4663 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4664 search mode, in order to avoid lose the focus on the treeview when
4665 a hw key (like enter) is pressed.
4667 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4668 in HildonDateSelector dialog)
4670 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4672 * debian/rules: Added --enable-maintainer-mode
4673 * Makefile.am: Added ACLOCAL_AMFLAGS
4675 This allows to properly regenerate the Makefiles if you modify the
4676 configure.ac or any Makefile.am.
4678 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4680 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4681 properties, not needed at all.
4683 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4687 * src/hildon-note.c: (hildon_note_set_property),
4688 (hildon_note_get_property), (hildon_note_class_init),
4689 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4690 (hildon_note_new_confirmation_add_buttons): Remove icons.
4691 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4692 (hildon_note_new_information_with_icon_name): Deprecate.
4693 (hildon_note_new_confirmation): Act directly, without calling
4694 the deprecated constructor.
4695 (hildon_note_new_information): Act directly, without calling
4696 the deprecated constructor.
4697 * src/hildon-note.h: Mark deprecate methods as such.
4698 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4699 not run tests on the deprecated methods if built with deprecation
4702 Fixes: NB#91688 (Never show icons in information notes/confirmation
4705 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4708 (hildon_app_menu_key_press): Remove leftover usage of the
4709 private structure in HildonAppMenu struct.
4710 * src/hildon-app-menu.h: Remove leftover private structure
4711 from the HildonAppMenu struct.
4713 Fixes a crasher when using the HildonAppMenu.
4715 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4717 * src/hildon-picker-dialog.c: Use appropriate logical id
4718 for the default "Done" text.
4720 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4722 * configure.ac: post release version bump
4723 * debian/changelog: version bump
4725 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4727 Modified the way to scroll to the current selection just when the touch
4728 selector is shown on the screen, avoiding a g_idle. Added too a property
4729 to configure this behaviour. See hildon_pannable_area_jump_to_child
4730 documentation for more information.
4732 * src/hildon-touch-selector.c
4733 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4734 Added 'initial-scroll' property
4735 (hildon_touch_selector_set_property): Added
4736 (hildon_touch_selector_map): Removed as not required anymore
4737 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4738 only a concrete column, instead of iterate along all the columns
4740 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4745 * configure.ac: bump version
4746 * debian/changelog: updates
4748 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4751 compilation time warnings.
4753 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4755 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4756 the default value for HildonPannableArea::mov-mode to
4757 HILDON_PANNABLE_AREA_MODE_VERT.
4759 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4761 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4763 Reverting following commit:
4765 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4767 * src/hildon-app-menu-private.h
4768 * src/hildon-app-menu.[ch]
4769 * src/hildon-button.[ch]
4770 * src/hildon-check-button.[ch]
4771 * src/hildon-entry.[ch]
4772 * src/hildon-pannable-area.[ch]
4773 * src/hildon-text-view.[ch]:
4774 Added private field to the object's structure.
4776 because it causes an ABI breakage. We will need to introduce these
4777 changes later at some point. See NB#91636 for an extensive
4778 explanation and status.
4780 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4782 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4784 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4785 remove special cases that are no longer necessary.
4787 Fixes: NB#91016 (Change toolbar sizes, simplification)
4789 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4792 is shown in the cancel note.
4794 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4797 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4798 (hildon_seekbar_init): Remove steppers, remove expose event.
4799 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4801 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4803 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4805 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4806 label font to "SmallSystemFont" for vertically arranged buttons.
4808 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4811 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-check-button.c
4814 (hildon_check_button_set_active, hildon_check_button_clicked):
4815 Don't access private parts directly, use getters instead.
4817 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4819 * src/hildon-check-button.c (hildon_check_button_new):
4820 Align the contents of the check button to the left.
4822 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4824 * src/hildon-pannable-area.c,
4825 (hildon_pannable_area_scroll_to),
4826 (hildon_pannable_area_jump_to),
4827 (hildon_pannable_area_scroll_to_child),
4828 (hildon_pannable_area_jump_to_child): Replace the mapped
4829 precondition of these functions with the realized, it is the
4830 correct state of the widget in this case. Changed the
4831 documentation according to this modification.
4833 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4835 Added a new EXTRA_CFLAGS option to add the deprecated define to
4836 the compilation command. This way we can avoid using the define in
4837 the documentation compilation.
4839 * configure.ac: Defined EXTRA_CFLAGS.
4841 * examples/Makefile.am:
4843 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4845 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4847 * src/hildon-picker-dialog.c:
4848 Defined a utility macro with the desired touch selector height
4849 Removed currently unused separator, and title_label variables from
4851 (hildon_picker_dialog_init): Removed code related to the creation
4852 of unused private variables title_label and separator.
4853 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4854 to ensure correct visualization of the touch selector inside the dialog.
4855 * src/hildon-touch-selector.c
4856 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4857 ensure a concrete height of the widget.
4859 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4862 * tests/Makefile.am:
4864 Remove spurious whitespaces.
4866 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4869 compilation warning after the cancel button removal.
4871 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4873 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4875 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4876 Makefile.am, that way we can choose not to compile some examples
4877 and tests of the deprecated widgets.
4879 * examples/Makefile.am: Divided the sources in deprecated and
4882 * src/Makefile.am: Added undef statement of the deprecated
4883 symbol to the enums file generation process.
4885 * src/hildon-color-chooser-dialog.c
4886 * src/hildon-color-chooser-dialog.h
4887 * src/hildon-color-button.c
4888 * src/hildon-color-button.h
4889 * src/hildon-color-chooser.c
4890 * src/hildon-color-chooser.h
4891 * src/hildon-controlbar.c
4892 * src/hildon-controlbar.h
4893 * src/hildon-date-editor.c
4894 * src/hildon-date-editor.h
4895 * src/hildon-hvolumebar.c
4896 * src/hildon-hvolumebar.h
4897 * src/hildon-private.c
4898 * src/hildon-private.h
4899 * src/hildon-range-editor.c
4900 * src/hildon-range-editor.h
4901 * src/hildon-seekbar.c
4902 * src/hildon-seekbar.h
4903 * src/hildon-time-editor.c
4904 * src/hildon-time-editor.h
4905 * src/hildon-time-picker.c
4906 * src/hildon-time-picker.h
4907 * src/hildon-volumebar.c
4908 * src/hildon-volumebar.h
4909 * src/hildon-vvolumebar.c
4910 * src/hildon-vvolumebar.h
4911 * src/hildon-bread-crumb-trail.h
4912 * src/hildon-bread-crumb-trail.c
4913 * src/hildon-calendar-popup.c
4914 * src/hildon-calendar-popup.h
4915 * src/hildon-weekday-picker.c:
4916 * src/hildon-weekday-picker.h:
4917 * src/hildon-bread-crumb-widget.c:
4918 * src/hildon-bread-crumb-widget.h:
4919 * src/hildon-bread-crumb.c:
4920 * src/hildon-bread-crumb.h:
4921 * src/hildon-calendar.c:
4922 * src/hildon-calendar.h:
4923 * src/hildon-caption.c:
4924 * src/hildon-code-dialog.c:
4925 * src/hildon-code-dialog.h:
4926 * src/hildon-font-selection-dialog.c:
4927 * src/hildon-font-selection-dialog.h:
4928 * src/hildon-get-password-dialog.c:
4929 * src/hildon-get-password-dialog.h:
4930 * src/hildon-login-dialog.c:
4931 * src/hildon-login-dialog.h:
4932 * src/hildon-number-editor.c:
4933 * src/hildon-number-editor.h:
4934 * src/hildon-set-password-dialog.c:
4935 * src/hildon-set-password-dialog.h:
4936 * src/hildon-sort-dialog.c:
4937 * src/hildon-sort-dialog.h: This is the list of deprecated
4940 * src/hildon-touch-selector.c:
4941 * src/hildon-window.c: Added undef statement to avoid compilation
4944 * tests/Makefile.am: Divided the sources in deprecated and
4947 * tests/check_test.c,
4948 (configure_tests): Marked the deprecated code that was adding
4949 suites with deprecated tests.
4951 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4953 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-touch-selector.c: (_default_print_func): Do not
4956 duplicate a string returned by gtk_tree_model_get(), it is already
4959 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4962 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4964 * src/hildon-pannable-area.c
4965 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4966 method, it had problems when adding a widget with viewport the
4967 second time. Now checks if it already has a viewport and uses it.
4969 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4972 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4974 * src/hildon-pannable-area.c,
4975 (hildon_pannable_area_scroll_to),
4976 (hildon_pannable_area_jump_to),
4977 (hildon_pannable_area_scroll_to_child),
4978 (hildon_pannable_area_jump_to_child): Added a precondition to the
4979 scroll and jump to functions: the widget must be mapped before we
4980 can safely call these functions. We have also added documentation
4981 to the functions to explain how to use them in this situation.
4984 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4986 Reviewed the threading handling of the pannable widget, we have
4987 used the gdk_threads_add_timeout function instead of the usual
4988 glib handlers. This avoids some problems with the threads.
4990 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4991 (hildon_pannable_area_initial_effect),
4992 (hildon_pannable_area_scroll_indicator_fade),
4993 (hildon_pannable_area_button_press_cb),
4994 (hildon_pannable_area_timeout),
4995 (hildon_pannable_area_motion_notify_cb),
4996 (hildon_pannable_area_button_release_cb),
4997 (hildon_pannable_area_scroll_cb),
4998 (hildon_pannable_area_scroll_to): Removed the
4999 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5000 gdk_threads_add_timeout.
5002 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5004 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5009 * configure.ac: bump version
5010 * debian/changelog: updates
5012 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5015 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5016 * src/hildon-color-chooser-dialog.c:
5017 (hildon_color_chooser_dialog_init):
5018 * src/hildon-font-selection-dialog.c:
5019 (hildon_font_selection_dialog_init):
5020 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5022 Remove all cancel/close-like dialogs, as these are not going to be
5025 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-note.c: (hildon_note_rebuild),
5028 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5031 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5033 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5035 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5036 sure all buttons are shown, even the Cancel/Close-like ones.
5038 Fixes: NB#90861 (Custom Confirmation dialogs should be
5039 protected from cancel button removal)
5041 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5043 * debian/control: Change libhildon1-examples dependency from libhildon1
5045 * debian/libhildon1-examples.install
5047 * Makefile.am: Modified the final install directory for the examples on
5048 package libhildon1-examples
5049 * Makefile.static: Update clean target in order to remove all the binary
5052 Changes suggested by Claudio after review new libhildon1-examples package
5054 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5057 * src/hildon-touch-selector.c: Ditto.
5059 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5061 * debian/control: Added new package libhildon1-examples, in order to pack
5062 the current hildon examples as documentation
5063 * debian/rules: Not to compress .c files, modify some includes on the
5064 examples (as normally are compiled locally, but when installed it will
5065 require to include the installed libhildon1 library), and rename
5067 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5068 install all the example files on the new example package
5069 * examples/Makefile.static: Added static makefile that can be used to
5070 compile the examples, once installed the new example package
5071 * examples: Most of the examples were modified in order to grant that
5072 all use only '#include "hildon.h"', in order to be easy to prepare
5073 it on the example package
5075 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5078 * debian/libhildon1-dev.install
5079 * debian/libhildon1-doc.install:
5080 Move all gtk-doc files to a separate libhildon1-doc package.
5082 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5084 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5088 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5090 * debian/rules: Fixed a error in order to avoid unnecessary calls
5091 to autogen.sh on package building
5093 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5095 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5097 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5102 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-picker-button.c
5105 (hildon_picker_button_finalize):
5106 Free priv->done_button_text
5108 * src/hildon-time-button.c
5109 (hildon_time_button_set_time)
5110 * src/hildon-picker-button.c
5111 (hildon_picker_button_clicked)
5112 (hildon_picker_button_selector_selection_changed)
5113 (hildon_picker_button_set_selector)
5114 * src/hildon-date-button.c
5115 (hildon_date_button_set_date):
5116 Free strings returned by hildon_touch_selector_get_current_text()
5118 * src/hildon-button.c (hildon_button_construct_child):
5119 Fix leaks in priv->image and priv->label_box
5121 Fixes: NB#90535 (Memory leak in picker button)
5123 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-button.c: (hildon_button_get_property): Do not access
5126 private elements directly, use getters instead.
5128 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5130 * src/hildon-app-menu-private.h
5131 * src/hildon-app-menu.c
5132 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5133 Store the menu's parent window.
5135 * src/hildon-stackable-window.c
5136 (hildon_stackable_window_toggle_menu)
5137 (hildon_stackable_window_finalize):
5138 Set the menu's parent window when the menu is shown, unset it when
5141 * src/hildon-app-menu.c
5142 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5143 (hildon_app_menu_class_init):
5144 Send unhandled keyboard accelerators to the parent window.
5146 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5148 * src/hildon-stackable-window.c
5149 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5151 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5153 * configure.ac: post release version bump
5155 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5158 * configure.ac: Bump version
5159 * debian/changelog: Updates
5160 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5163 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5165 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5168 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5169 GtkMenu with Hildon style.
5171 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5173 * src/hildon-picker-button.c:
5174 (hildon_picker_button_set_done_button_text): Set the dialog's
5175 done button text here as well.
5177 Fixes: NB#90232 (Picker button does not set the label on done button
5178 for the second time)
5180 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5182 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5185 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5187 * src/hildon-app-menu.c (hildon_app_menu_insert)
5188 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5189 the HildonAppMenu to be activatable using keyboard accelerators
5190 when the menu is not being shown.
5192 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5194 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-stackable-window.c
5197 (hildon_stackable_window_show):
5198 Don't hide old windows automatically when new windows are shown:
5199 this is now a task for the window manager.
5200 (hildon_stackable_window_class_init)
5201 (hildon_stackable_window_hide):
5202 Remove windows from the stack everytime they're hidden.
5203 (hildon_stackable_window_realize):
5204 Don't change the _NET_WM_WINDOW_TYPE property. Use
5205 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5206 it as a stackable window.
5208 * src/hildon-program.c
5209 (hildon_program_pop_window_stack):
5210 Just hide the window to remove it from the stack.
5211 (hildon_program_go_to_root_window):
5212 Don't call gtk_widget_show(), this is now a task for the window
5215 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5217 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-button.c
5220 (hildon_button_construct_child):
5221 Don't pack anything in the button until text or image are
5222 set. This allows adding a custom child after creating the button
5223 with hildon_button_new().
5224 (hildon_button_finalize, hildon_button_class_init)
5225 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5226 alignment and the label box even when they're not packed in the
5229 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5231 * src/hildon-touch-selector.h:
5232 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5233 currently the type definition was using GTK_TYPE_VBOX
5234 * src/hildon-touch-selector.c:
5235 Added some implementation notes in order to clarify that any other widget
5236 added without the column related API will not be included on the
5237 selection logic, and how the widget is freed, as some people ask about
5239 (hildon_touch_selector_remove): Reimplemented in order to free properly
5240 the column related data when you remove the private hbox.
5241 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5242 to get a proper HildonTouchSelectorColumn documentation
5244 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5246 * src/hildon-touch-selector-entry.c:
5247 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5248 text in the GtkEntry and there is no item selected. Fixes a
5251 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-app-menu-private.h
5254 * src/hildon-app-menu.[ch]
5255 * src/hildon-button.[ch]
5256 * src/hildon-check-button.[ch]
5257 * src/hildon-entry.[ch]
5258 * src/hildon-pannable-area.[ch]
5259 * src/hildon-text-view.[ch]:
5260 Added private field to the object's structure.
5262 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5264 * configure.ac: post-release version bump
5266 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5270 * configure.ac: pre-release version bump
5272 * debian/changelog: updates.
5274 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5277 Disconnect the handler for HildonTouchSelector::changed.
5279 (hildon_picker_button_selector_selection_changed): Update the button
5280 value if the selection change was not triggered by the
5283 (hildon_picker_button_set_selector): connect to
5284 HildonTouchSelector::changed.
5286 Fixes: NB#89650 (Picker button is not updated, when selection in
5287 selector has changed)
5289 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5291 * src/hildon-picker-dialog.c
5292 (hildon_picker_dialog_realize): Removed as not required
5293 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5294 * src/hildon-picker-button.c
5295 (_current_selector_empty): New function, checks if the selector is empty
5296 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5297 if the current selector is empty, in order to avoid to show the dialog
5298 close the dialog in this case (and shows a g_warning).
5300 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5302 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5304 * src/hildon-pannable-area.c,
5305 (hildon_pannable_area_scroll): Added clause to stop movement when
5306 the child of pannable is smaller than one page.
5307 (hildon_pannable_area_scroll_to): Added conditions to avoid
5308 starting the scrolling movement if the child is smaller than one
5309 page, the complete child is in the screen, we do not have to move.
5311 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5313 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5315 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5316 this is managed automatically by the widget when the size of the
5319 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-picker-button.c
5322 (hildon_picker_button_set_done_button_text): Make a copy of the
5323 text, and free the previous value.
5325 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5327 * src/hildon-touch-selector-entry.c:
5328 (hildon_touch_selector_entry_print_func): Return the selected row's
5329 text if the entry is empty.
5331 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5334 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5338 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-check-button.h
5342 * src/hildon-check-button.c
5343 * examples/hildon-check-button-example.c:
5344 HildonCheckButton is now a new widget. 'toggled' signal added.
5346 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5348 * src/hildon-program-private.h
5349 * src/hildon-program.c (hildon_program_init)
5350 (hildon_program_finalize): Removed unused variables group_leader
5351 and name from HildonProgramPrivate.
5353 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-check-button.c (hildon_check_button_set_active)
5356 (hildon_check_button_get_active, hildon_check_button_new): Use
5357 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5359 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5361 * src/hildon-touch-selector.h
5362 (hildon_touch_selector_set_column_attributes): added deprecation
5363 guard HILDON_DISABLE_DEPRECATED
5364 * src/hildon-time-selector.c
5365 (hildon_time_selector_set_time)
5366 (hildon_time_selector_get_time): Fixed a typo on documentation
5367 * src/hildon-touch-selector.c: update HildonTouchSelector and
5368 HildonTouchSelectorColumn documentation
5369 * src/hildon-touch-selector-entry.c: update "text-column" property
5371 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5372 to be added to the general documentation.
5374 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5376 * examples/hildon-pannable-area-example-4.c,
5378 * examples/hildon-pannable-area-example.c,
5379 (main): Modified the code in order to use the container add, with
5380 viewport treeviews could have problems if they are really big.
5382 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5384 * src/hildon-weekday-picker.c,
5385 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5386 the agreement regarding deprecation in the library.
5388 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5390 * examples/hildon-picker-button-multicolumn-example.c:
5391 (main): Use custom "done" button text.
5393 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5394 (hildon_picker_button_set_property),
5395 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5396 (hildon_picker_button_init),
5397 (+hildon_picker_button_get_done_button_text),
5398 (+hildon_picker_button_set_done_button_text): New methods to customize
5399 the "done" button label in the launched HildonPickerDialog. Also,
5402 * src/hildon-picker-button.h: add the public API.
5404 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5406 * src/hildon-date-selector.h:
5407 * src/hildon-picker-dialog.h:
5408 * src/hildon-time-selector.h:
5409 * src/hildon-touch-selector-column.h:
5410 * src/hildon-touch-selector.h:
5412 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5413 declarations. Fixes gtk-doc warnings.
5415 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-picker-dialog.h
5418 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5419 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5421 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5422 long text is set as label for done button)
5424 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5426 * src/hildon-dialog.c (hildon_dialog_add_button):
5427 Set fixed width to all buttons in the HildonDialog.
5429 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5431 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5433 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5434 Set widget name using class name plus "-finger" or "-thumb".
5436 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5438 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5439 'clicked' when the state of the button is manually changed.
5441 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-app-menu.c (hildon_app_menu_realize)
5444 (hildon_app_menu_unrealize, hildon_app_menu_init)
5445 (hildon_app_menu_class_init, item_visibility_changed):
5446 Change the menu layout when the size of the screen changes.
5447 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5448 Show warning only when changing the number of colums using the
5451 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5453 * debian/compat: Set to 5
5454 * debian/control: Update dependencies.
5455 * debian/libhildon1-dbg.install: Remove.
5456 * debian/libhildon1-dev.install: Update according to cdbs paths.
5457 * debian/libhildon1.install: Update according to cdbs paths.
5458 * debian/rules: Switch to cdbs.
5460 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5462 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5463 'item' variable renamed to 'filter'
5465 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-app-menu.c (hildon_app_menu_insert)
5468 (hildon_app_menu_add_filter, remove_item_from_list)
5469 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5470 Don't leak hidden items when the menu is destroyed.
5472 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5474 * src/hildon-app-menu.c (hildon_app_menu_insert)
5475 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5476 (hildon_app_menu_set_columns, item_visibility_changed)
5477 (filter_visibility_changed, hildon_app_menu_repack_filters)
5478 (hildon_app_menu_repack_items):
5479 Repack items and filters separately.
5481 Don't repack all items, change only the ones that are needed to
5484 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5486 * src/Makefile.am: added hildon-touch-selector-column.h
5488 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5490 * src/hildon-touch-selector.c: added the property "text-column" to the
5491 class HildonTouchSelectorColumn, and related get/set functions
5492 (_default_printf_func): updated to use "text-column" property
5493 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5494 "text-column" in his documentation, as this is now included on
5495 HildonTouchSelectorColumn. The get/set_property can still be used,
5496 working as a wrapper to the concrete column "text-column" property
5497 (_text_column_modified): callback added in order to handle the signal
5498 "notify::text-column" of the concrete HildonTouchSelectorColumn
5499 (hildon_touch_selector_entry_get_text_column)
5500 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5501 modified in order to use the HildonTouchSelectorColumn "text-column"
5503 * src/hildon-time-selector.c:
5504 * src/hildon-date-selector.c:
5505 * examples/hildon-touch-selector-example.c
5506 * examples/hildon-touch-selector-multi-cells-example.c
5507 * examples/hildon-picker-button-multicolumn-example.c
5508 Set the right value to "text-column" property on the creation of a new
5509 column using hildon_touch_selector_append_column()
5511 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5513 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5515 * src/hildon-app-menu.c
5516 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5517 updating the layout of the menu, don't create all widgets again,
5518 just repack the items in their new places.
5520 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5522 * src/hildon-time-selector.c
5523 (hildon_time_selector_get_time)
5524 (hildon_time_selector_set_time)
5525 Added documentation of these public methods
5527 * src/hildon-date-button.h
5528 * src/hildon-touch-selector-column.h
5529 * src/hildon-time-button.h
5530 * src/hildon-picker-dialog.h
5531 * src/hildon-time-selector.h
5532 * src/hildon-picker-button.h
5533 * src/hildon-touch-selector.h
5534 * src/hildon-time-picker.h
5535 * src/hildon-date-selector.h
5536 * src/hildon-touch-selector-entry.h
5537 Modified in order to use hildon-widgets code style
5539 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5541 Added deprecated support to the compilation process using
5542 HILDON_DISABLE_DEPRECATED
5544 * configure.ac: Added the --disable-deprecated to the configure
5547 * src/hildon-weekday-picker.c:
5548 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5549 to use the deprecated support. We will update the other deprecated
5550 widgets status in a new patch.
5552 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5554 * configure.ac: Fixed typo with fatal warnings support, the
5555 variable name was not correct
5557 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-app-menu.c
5560 * src/hildon-program.c: Update documentation.
5562 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5564 * configure.ac: Post-release version bump.
5566 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5571 * configure.ac: Pre-release version bump.
5572 * debian/changelog: Updates.
5574 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5576 * NEWS: Update news for previous releases.
5578 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5580 * examples/hildon-touch-selector-multi-cells-example.c:
5581 (create_selector): Update the example to use
5582 hildon_touch_selector_append_column() with a NULL renderer and set
5583 the renderers later.
5584 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5585 passed a NULL renderer. This is documented behavior now.
5587 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5588 This must be used if the developer wants full control on the layout of
5589 the renderers to be added to the column.
5591 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5593 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5595 * src/hildon-touch-selector.c: Documentation fixes.
5597 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5599 * src/hildon-wizard-dialog-private.h: Remove image and box.
5600 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5601 (hildon_wizard_dialog_set_property), (response): Completely remove
5602 image/icon support, and the containers required for the layout.
5604 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5606 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-app-menu.c: Updated documentation.
5610 * src/hildon-stackable-window.c
5611 (hildon_stackable_window_set_main_menu): Unref the old menu after
5612 ref'ing the new one.
5614 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-stackable-window.c
5617 (hildon_stackable_window_set_main_menu): Unref the previous menu
5618 instead of destroying it.
5620 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5621 floating reference and set has_user_ref_count to FALSE to make
5622 HildonAppMenu act like a normal ref-counted widget and not a
5625 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5628 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5630 * src/hildon-touch-selector-column.h: new file
5631 * src/hildon-touch-selector.h
5632 * src/hildon-touch-selector.c
5633 Implemented GtkCellLayout interface, in order to allow to configure
5634 the cell layout on each individual selector column
5635 (hildon_touch_selector_set_column_attributes): marked as deprecated
5636 * examples/hildon-touch-selector-multi-cells-example.c
5637 Example of how to use the GtkCellLayout interface on the selector
5639 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5641 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-app-menu.h
5644 * src/hildon-app-menu.c
5645 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5646 (hildon_app_menu_append, hildon_app_menu_prepend):
5647 New methods to prepend, insert and move items in the menu.
5649 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5651 * src/hildon-wizard-dialog.c:
5653 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5655 (create_title): Update logical IDs and related code.
5656 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5658 * src/hildon-wizard-dialog.h: Note that
5659 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5660 point, as it is not used anymore.
5662 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5664 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5666 * src/hildon-note.c:
5667 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5668 shown. Do not display an icon in confirmation notes nor information
5670 (hildon_note_set_button_text): Update logical ID for cancel button.
5672 Fixes: NB#88850 (Update HildonNote button strings + signals)
5674 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-stackable-window.c
5677 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5679 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-app-menu-private.h
5682 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5683 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5684 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5685 temporary property 'columns' to change the number of columns.
5687 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5689 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5691 * examples/hildon-note-example.c: (on_information_clicked),
5692 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5693 debugging information.
5694 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5696 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5697 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5698 in order to close: this will be handled by the WM from now on.
5700 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5702 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-app-menu-private.h
5705 * src/hildon-app-menu.c
5706 (hildon_app_menu_append, hildon_app_menu_add_filter)
5707 (button_visibility_changed, hildon_app_menu_apply_style)
5708 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5709 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5710 layout everytime a button (item or filter) is shown or hidden.
5712 * src/hildon-stackable-window.c
5713 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5716 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5718 * src/hildon-touch-selector.c:
5719 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5720 that the treeview inside the touch selector is in fremantle hildon mode
5721 * examples/hildon-date-button-example.c
5722 * examples/hildon-picker-button-multicolumn-example.c
5723 * examples/hildon-touch-selector-entry-example.c
5724 * examples/hildon-touch-selector-example.c
5725 * examples/hildon-time-button-example.c
5726 * examples/hildon-picker-button-example.c:
5727 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5729 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5731 * examples/hildon-text-view-example.c: (main): Remove the
5732 gtkrc bits, now handled by the theme.
5734 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5736 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5739 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5741 * po/Makefile.am: Install properly the mo files.
5742 * po/en_GB.po: Update translation, to ease testing purposes.
5744 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5746 * examples/hildon-picker-button-example.c: (main): Select an item
5747 in the selector before setting it to the button.
5749 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5752 Update button's value if the selector has an item active.
5754 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5755 'value' with the selector)
5757 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5759 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5760 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5761 (hildon_picker_button_class_init): Plug the finalize method.
5762 (hildon_picker_button_set_selector): If there's a previously set
5763 selector, unref'it before setting a new one.
5765 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5766 HildonTouchSelector)
5768 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5770 * src/hildon-touch-selector-entry.c:
5771 (hildon_touch_selector_entry_changed): Check if there is no text
5772 selected before setting the entry text.
5775 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5777 * src/hildon-touch-selector.h
5778 * src/hildon-touch-selector.c
5779 (hildon_touch_selector_get_active)
5780 (hildon_touch_selector_set_active): New methods to set/get the
5781 index of the selected item.
5783 * src/hildon-picker-button.h
5784 * src/hildon-picker-button.c
5785 (hildon_picker_button_get_active)
5786 (hildon_picker_button_set_active): New methods to set/get the
5787 index of the selected item.
5789 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5791 * configure.ac: post-release version bump.
5793 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5797 * configure.ac: Pre-release version bump.
5798 * debian/changelog: Updates.
5799 * debian/control: Add myself as maintainer and depend on l10n
5802 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5804 * src/hildon-window.c
5805 (hildon_window_set_main_menu)
5806 * src/hildon-stackable-window.c
5807 (hildon_stackable_window_set_main_menu):
5808 Updated documentation.
5810 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5813 Don't free selector->priv manually.
5816 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5819 (hildon_gtk_window_set_progress_indicator):
5820 * src/hildon-gtk.h: Added the new API
5821 hildon_gtk_window_set_progress_indicator, it changes the state of
5822 the window progress hint.
5824 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5826 * src/hildon-button.c
5827 * src/hildon-stackable-window.c: Minor documentation updates.
5829 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-stackable-window.c: Updated documentation.
5833 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5835 * src/hildon-defines.h: Update margins definitions
5836 to the Fremantle sizes.
5839 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5841 * src/hildon-touch-selector.c,
5842 (_hildon_touch_selector_set_model): Cleaning the code after
5843 review, removed g_print and #if 0 from the code.
5845 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-edit-toolbar.c: Update documentation.
5849 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5851 * src/hildon-check-button.h
5852 * src/hildon-check-button.c
5853 (hildon_check_button_set_label, hildon_check_button_get_label)
5854 * examples/hildon-check-button-example.c
5855 (button_clicked_cb):
5856 Removed deprecated methods.
5858 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-text-view.c:
5861 Add sample code to the documentation.
5863 * src/hildon-entry.h
5864 * src/hildon-text-view.h:
5865 Minor cosmetic changes.
5867 * src/hildon-entry.c:
5868 Add sample code to the documentation.
5869 (hildon_entry_init, hildon_entry_refresh_contents):
5870 Don't allow NULL values in the placeholder.
5872 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5874 * doc/hildon-docs.sgml
5876 * examples/Makefile.am
5877 * examples/hildon-text-view-example.c
5879 * src/hildon-text-view.c
5880 * src/hildon-text-view.h
5882 New HildonTextView widget, with example.
5884 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5886 * po/POTFILES.in: Add missing files with translatable strings.
5887 Partially fixes NB#88287.
5889 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5891 * examples/hildon-pannable-area-example-2.c: (main): No need to
5892 set the cellrenderer height inside hildon touch lists, the theme does
5895 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5897 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5898 they are integrated in the theme.
5900 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5902 * examples/hildon-entry-example.c: Update the example adding
5903 widgets to modify the text and the placeholder of the HildonEntry.
5905 * src/hildon-entry.c: Show the placeholder everytime the widget
5906 is empty and loses the focus.
5908 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5910 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5912 * src/hildon-pannable-area.c,
5913 (hildon_pannable_area_size_request): Fixed bug in height
5914 requisition, avoid increasing size and add border twice.
5916 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5918 * configure.ac: postrelease version bump.
5920 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5924 * configure.ac: Prerelease version bump.
5925 * debian/changelog: update.
5926 * debian/rules: make -dbg package contain useful debugging symbols.
5928 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-dialog.h
5931 * src/hildon-dialog.c
5932 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5933 New methods to add buttons with finger size.
5934 (hildon_dialog_new_with_buttons):
5935 Create buttons with finger size.
5937 * examples/hildon-dialog-example.c (main): Use HildonDialog
5938 methods to add buttons.
5940 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5942 * src/hildon-entry.c: Updated HildonButton documentation.
5944 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5947 button value label with (FALSE, FALSE) to prevent NB#88126 from
5950 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5952 * examples/hildon-pannable-area-example.c,
5953 (main): Removed examples panning a vbox inside a pannable
5954 area. Check bug NB#87965
5956 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5958 Patch contributed by Kris Rietveld (kris@imendio.com)
5960 * src/hildon-pannable-area.c,
5961 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5962 get_size and get_position, this saves an X server roundtrip.
5964 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5966 * doc/hildon-docs.sgml
5968 * examples/Makefile.am
5969 * examples/hildon-entry-example.c
5971 * src/hildon-entry.c
5972 * src/hildon-entry.h
5974 New HildonEntry widget, with example.
5976 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5978 * src/hildon-button.c (hildon_button_construct_child): Pack the
5979 image with expand == fill == FALSE. This is a workaround for a bug
5982 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5984 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5985 labels for the text column, to make it more look more dynamic.
5987 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5989 * src/hildon-time-selector.c
5990 Define gettext auxiliar macro N_
5991 (_create_minutes_model)
5992 (_create_hours_model)
5993 (_create_ampm_model): use of strftime in order to fill the model
5994 * src/hildon-date-selector.c
5995 (hildon_date_selector_finalize):
5996 (_locales_init): remove the logic related to get the name of the months
5997 using nl_langinfo, as it is not required anymore
5999 (_create_year_model)
6000 (_create_month_model)
6001 (_update_day_model): use of strftime in order to fill the model properly
6004 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-button.h
6007 * src/hildon-button.c (hildon_button_get_image): New method to
6010 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6012 * src/hildon-touch-selector.c:
6013 (hildon_touch_selector_remove_column): Remove from the correct parent
6014 and also remove the list element and free it.
6017 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6019 * src/hildon-time-selector.c
6020 (_create_hours_model): change the range on 12h ampm format in order to use
6021 a 12-11 range instead of previous 01-12 range
6022 (hildon_time_selector_set_time): change the way to select the current time
6023 on 12h ampm format, due the change on the range
6024 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6027 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6029 * src/hildon-touch-selector.c
6030 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6031 in order to allow use this function on multiple row selection mode if
6032 the column is different that the first one
6035 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6037 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6038 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6040 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6042 * src/hildon-date-selector.h: clean some comments, now on the .c
6043 * src/hildon-date-selector.c
6044 (hildon_date_selector_select_month): first implementation
6045 (hildon_date_selector_select_day): added documentation, reimplemented
6046 using hildon_date_selector_select_current_date to avoid repeat code
6049 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6051 Reviewed interaction logic based on device experiences, refactored
6054 * src/hildon-pannable-area.c,
6055 (hildon_pannable_area_class_init): Updated default vmax speed.
6056 (hildon_pannable_area_calculate_velocity): Added this function, it
6057 avoids duplicate valocity calculation. Adjusted calculation to
6058 avoid problems with zero dist events.
6060 (hildon_pannable_area_motion_notify_cb): Now we use the
6061 calculate_velocity function.
6063 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6065 * src/hildon-date-selector.c
6066 (hildon_date_selector_select_current_date): fix the day range check
6067 as it failed using the last day of the current month
6070 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6072 * src/hildon-touch-selector.c
6073 (hildon_touch_selector_get_num_columns): added a parameter validation
6076 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6078 * examples/Makefile.am
6079 * examples/hildon-edit-toolbar-example.c: Example of the
6080 HildonEditToolbar widget.
6082 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6084 * configure.ac: postrelease version bump.
6086 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6090 * configure.ac: prerelease version bump.
6091 * debian/changelog: update.
6093 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6095 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6096 renderer to display stock icons in the touch list. Also, set the sizes
6097 to the recommended in the style guide.
6099 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6100 * src/hildon-touch-selector.h
6101 (hildon_touch_selector_set_active_iter): renamed, now is
6102 hildon_touch_selector_select_iter
6103 (hildon_touch_selector_get_active_iter): renamed, now is
6104 hildon_touch_selector_get_selected
6105 (hildon_touch_selector_unselect_iter): added
6106 * src/hildon-touch-selector.c
6107 Update after API modification (methods renamed)
6108 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6109 order to avoid problems selecting multiple elements on the column
6110 (hildon_touch_selector_unselect_iter): added the implementation
6111 * src/hildon-time-selector.c
6112 * src/hildon-date-selector.c
6113 * src/hildon-touch-selector-entry.c
6114 Update methods calls after hildon-touch-selector.h API modification (methods
6117 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6119 * src/hildon-stackable-window.c
6120 (hildon_stackable_window_finalize): Call the parent class's finalize.
6122 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6124 * examples/hildon-touch-selector-example.c: (create_selector): Use
6125 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6128 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6130 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6131 set a cell background color, to respect theming.
6133 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6135 * doc/hildon-docs.sgml
6138 * src/hildon-edit-toolbar.c
6139 * src/hildon-edit-toolbar.h
6140 * src/hildon.h: New HildonEditToolbar widget.
6142 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6144 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6147 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6148 * src/hildon-touch-selector.c
6149 (_create_new_column): use g_object_set instead of two g_object_set_property
6151 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6152 * src/hildon-touch-selector.c
6153 (_create_new_column): use of hildon_gtk_tree_view_new to create
6154 the treeview, instead of use directly g_object_new
6155 (_create_new_column): update the property name "vindicator-mode" for the
6156 new one "vscrollbar-policy"
6157 * examples/hildon-date-button-example.c
6158 * examples/hildon-picker-button-multicolumn-example.c
6159 * examples/hildon-touch-selector-entry-example.c
6160 * examples/hildon-touch-selector-example.c
6161 * examples/hildon-time-button-example.c
6162 * examples/hildon-picker-button-example.c
6163 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6164 to all the treeviews inside a pannable area.
6166 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-button.h
6169 * src/hildon-button.c (hildon_button_init)
6170 (hildon_button_set_arrangement, hildon_button_set_alignment)
6171 (hildon_button_set_title_alignment)
6172 (hildon_button_set_value_alignment)
6173 (hildon_button_set_image_alignment)
6174 (hildon_button_construct_child): New methods to set the alignment
6175 of the individual components of the button (title, value,
6176 image). Also, new method to alter the xscale and yscale properties
6177 of the GtkAlignment inside the button, so more complex layouts can
6180 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-button.c (hildon_button_style_set)
6183 (hildon_button_class_init, hildon_button_set_arrangement)
6184 (hildon_button_construct_child): Apply style properties
6185 correctly. Use the 'image-spacing' style property too.
6187 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6189 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6190 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6193 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6195 * src/hildon-pannable-area.c,
6196 (hildon_pannable_area_size_request): Fixed problem with
6197 pannable-area size_request.
6199 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6201 Added management for the grab-focus to a child widget, like a
6202 range, we need to fade out the scrollbar when releasing.
6204 * src/hildon-pannable-area.c,
6205 (hildon_pannable_area_init): Connected the grab-focus signal to
6207 (hildon_pannable_area_grab_notify): Added this function in order
6208 to manage the situation when the grab-focus ends. We have to
6209 fade-out the scrollbar.
6211 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-app-menu.c: Minor documentation update.
6215 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6217 * src/hildon-app-menu.c
6218 * examples/hildon-app-menu-example.c (create_menu): Update
6219 examples and documentation to explain how to connect callbacks.
6221 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6223 * examples/hildon-button-example.c
6224 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6225 hildon_stackable_window_new instead of gtk_window_new
6227 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6229 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6230 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6231 (hildon_pannable_area_set_property),
6232 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6233 (hildon_pannable_area_unrealize),
6234 (hildon_pannable_area_size_request),
6235 (hildon_pannable_area_size_allocate),
6236 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6237 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6238 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6239 (hildon_pannable_area_initial_effect),
6240 (hildon_pannable_area_redraw),
6241 (hildon_pannable_area_scroll_indicator_fade),
6242 (hildon_pannable_area_expose_event),
6243 (hildon_pannable_area_get_topmost), (synth_crossing),
6244 (hildon_pannable_area_button_press_cb),
6245 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6246 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6247 (hildon_pannable_area_motion_notify_cb),
6248 (hildon_pannable_area_button_release_cb),
6249 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6250 (hildon_pannable_area_remove),
6251 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6252 chage the code layout to a more GtkWidget like. Review the use of
6255 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6257 * examples/hildon-pannable-area-example-4.c,
6258 (main): Modified the name of the hindicator_mode to
6261 * src/hildon-pannable-area.c,
6262 (hildon_pannable_area_class_init),
6263 (hildon_pannable_area_motion_notify_cb),
6264 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6265 we have reduced the amount of signals and managed reviewed its
6266 rationale. Changed the default decelerate value.
6268 (hildon_pannable_area_add),
6269 (hildon_pannable_area_redraw): Refactored functions.
6271 (hildon_pannable_area_init),
6272 (hildon_pannable_area_get_property),
6273 (hildon_pannable_area_set_property):
6274 (hildon_pannable_draw_vscroll),
6275 (hildon_pannable_draw_hscroll),
6276 (hildon_pannable_area_initial_effect),
6277 (hildon_pannable_area_expose_event),
6278 (hildon_pannable_area_scroll),
6279 (hildon_pannable_area_button_press_cb),
6280 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6281 and vindicator_mode with hscrollbar_policy and
6282 vscrollbar_policy. Replaced hscroll and vscroll with
6283 hscroll_visible and vscroll_visible.
6285 (hildon_pannable_area_refresh): Refactor the function, remove
6286 variables and check the calls to this function, added resize
6287 conditions in case the children change their layout.
6289 (hildon_pannable_area_size_request): Added more detailed
6290 size_request calculation.
6293 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6295 * src/hildon-color-chooser.c
6296 (init_borders): use the correct gtk_border_free instead of g_free, to
6297 avoid a crash when this widget is used (ie: the three color selection
6300 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6302 * src/hildon-check-button.c,
6303 (hildon_check_button_set_active): Fixed problem when setting the
6304 active value, the widget was not redrawn.
6306 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6308 * src/hildon-pannable-area.c,
6309 (hildon_pannable_area_refresh),
6310 (hildon_pannable_area_scroll),
6311 (hildon_pannable_area_motion_notify_cb): Small code style change.
6313 (hildon_pannable_area_class_init): Default initial_hint set to
6314 FALSE, it is not in the specs.
6316 (hildon_pannable_area_initial_effect),
6317 (hildon_pannable_area_expose_event),
6318 (hildon_pannable_area_map),
6319 (hildon_pannable_area_init): Moved the launching point of the
6320 initial effect, it was in map but the sizes where not correct in
6321 that method so we do not know if we have the reproduce it. Now it
6322 is placed in the expose_event method and uses a variable to
6323 reproduce it just once.
6325 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6327 * src/hildon-pannable-area.c,
6328 (hildon_pannable_draw_vscroll),
6329 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6330 position allowed for the scrollbars.
6332 (hildon_pannable_area_size_allocate): Small style change.
6334 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6336 * src/hildon-pannable-area.c,
6337 (hildon_pannable_area_scroll_indicator_fade),
6338 (hildon_pannable_area_button_press_cb),
6339 (hildon_pannable_area_button_release_cb),
6340 (hildon_pannable_area_scroll_cb),
6341 (hildon_pannable_area_expose_event),
6342 (hildon_pannable_area_init): Added the define parameter
6343 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6344 and refactor the fade variable.
6346 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6348 * src/hildon-pannable-area.c,
6349 (hildon_pannable_area_redraw),
6350 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6351 lines, we were reimplemeting the redraw code.
6353 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6355 * src/hildon-pannable-area.c,
6356 (hildon_pannable_area_scroll_cb),
6357 (hildon_pannable_area_realize),
6358 (hildon_pannable_area_class_init): Added scroll_event management
6359 for pannable area, now we can scroll the usual desktop method.
6361 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6362 initialization of the parameters should depend on idle_id.
6364 (hildon_pannable_area_init),
6365 (hildon_pannable_area_map): Small code style modifications
6367 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6369 * src/hildon-pannable-area.c
6370 (hildon_pannable_area_button_press_cb),
6371 (hildon_pannable_area_motion_notify_cb),
6372 (hildon_pannable_area_button_release_cb),
6373 (hildon_pannable_area_size_allocate),
6374 (hildon_pannable_area_scroll_to): Improved the timeouts
6375 management, we avoid creating them each time.
6377 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6379 * src/hildon-pannable-area.c:
6380 (hildon_pannable_area_refresh),
6381 (hildon_pannable_area_motion_notify_cb),
6382 (hildon_pannable_area_class_init):
6383 * src/hildon-pannable-area.h:
6384 * src/hildon-touch-selector.c
6385 (_create_new_column):
6386 * examples/hildon-pannable-area-example-4.c:
6387 (horizontal_movement),
6388 (vertical_movement),
6390 Replaced the names of enums in the HildonPannableArea:
6391 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6392 HILDON_MOVEMENT_MODE_*
6393 - HILDON_PANNABLE_AREA_MOV_* ->
6395 - Removed HildonPannableAreaIndicatorMode, now we
6398 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6400 * examples/hildon-pannable-area-touch-grid-example.c
6401 * examples/hildon-pannable-area-touch-list-example.c: Fix
6402 compilation warnings.
6404 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-gtk.c (hildon_gtk_button_new)
6407 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6408 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6409 images overriding the value of the "gtk-button-images" setting.
6411 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-check-button.c (hildon_check_button_new):
6414 Instead of using a custom container, display the label and the
6415 checkbox using the standard GtkButton API.
6417 * examples/hildon-check-button-example.c (main): Don't use
6418 hildon_check_button_set_label() anymore
6420 * src/hildon-check-button.h
6421 * src/hildon-check-button.c
6422 (hildon_check_button_set_label, hildon_check_button_get_label):
6423 Set as deprecated, now we're using gtk_button_{get,set}_label()
6425 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6427 * src/hildon-pannable-area.c,
6428 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6429 GtkTreeview first line we detected it after the inclusion of the
6430 GtkWindowImpl in gtk+. We now check if the window is visible, not
6431 just if the pointer is over the window.
6432 (hildon_pannable_axis_scroll),
6433 (hildon_pannable_area_expose_event): Small style changes.
6435 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6437 * src/hildon-button.c: Update documentation.
6439 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6441 * examples/hildon-button-example.c: Add a switch to show images in
6444 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6446 * doc/hildon-docs.sgml: Some docs reorganization.
6448 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6450 * examples/hildon-pannable-area-touch-list-example.c
6452 * examples/hildon-pannable-area-touch-grid-example.c
6453 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6454 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6455 Fix memory leak when setting the tree model.
6457 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6461 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6463 * doc/hildon.types: Remove duplicated hildon_window_get_type
6464 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6465 documentation comment.
6467 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6469 * doc/Makefile.am: Complete list of private headers.
6471 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6473 * doc/hildon-docs.sgml
6474 * src/hildon-app-menu.c
6475 * src/hildon-bread-crumb.c
6476 * src/hildon-button.c
6478 * src/hildon-program.c
6479 * src/hildon-stackable-window.c
6480 * src/hildon-window.c: Lots of documentation updates.
6482 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6484 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6486 * configure.ac: Require Gtk+ 2.12.9 at least
6488 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6490 * src/hildon-pannable-area.c
6491 (hildon_pannable_area_scroll_indicator_fade),
6492 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6493 to protect the return of this timeout callbacks, avoiding deadlocks.
6495 2008-08-12 Christian Dywan <christian@imendio.com>
6498 * src/hildon-*.h: Ensure a consistent include order,
6499 include <gtk/gtk.h> instead of particular files and
6500 only include the topmost header in the gtk stack. See NB #39857
6502 2008-08-12 Christian Dywan <christian@imendio.com>
6504 * src/hildon-picker-dialog.c
6505 * src/hildon-touch-selector.c: Fix warnings about unused and
6506 uninitialized variables.
6508 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6510 * examples/Makefile.am
6511 * examples/hildon-check-button-example.c: Example of the hildon
6514 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6516 * src/hildon-window.h
6517 * src/hildon-window.c (hildon_window_class_init)
6518 (hildon_window_unset_program): Don't make
6519 hildon_window_unset_program a virtual function anymore.
6521 * src/hildon-stackable-window.c: Update documentation
6523 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6526 * doc/hildon-docs.sgml
6527 * doc/visual_index.xml
6528 * src/hildon-defines.c
6530 * src/hildon-helper.c
6531 * src/hildon-range-editor.c: Lots of documentation fixes.
6533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6535 * examples/hildon-picker-button-multicolumn-example.c
6536 (create_touch_selector): Fix compilation warning.
6538 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6540 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6541 (hildon_pannable_area_button_release_cb)
6542 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6544 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6546 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6549 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6551 * src/hildon-bread-crumb-trail.h
6552 * src/hildon-date-editor.c
6553 * src/hildon-date-selector.c
6554 * src/hildon-pannable-area.c
6555 * src/hildon-picker-dialog.c
6556 * src/hildon-time-selector.c
6557 * src/hildon-touch-selector-entry.c
6558 * src/hildon-touch-selector.c
6559 * src/hildon-touch-selector.h: Misc documentation fixes
6561 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6563 * examples/hildon-date-editor-example.c (main): Updated date
6566 * examples/hildon-note-example.c (on_confirmation_clicked):
6567 Updated confirmation note example.
6569 * src/hildon-date-editor.c
6570 * src/hildon-note.c: Updated sample programs in documentation.
6573 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6575 * src/hildon-date-button.h:
6576 * src/hildon-picker-button.h:
6577 * src/hildon-time-button.c:
6578 * src/hildon-time-button.h:
6580 Some declarations changes to allow gtk-doc to document the widgets
6583 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6585 * src/hildon-date-button.c: Document the widget.
6586 * src/hildon-time-button.c: Document the widget.
6588 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6590 * src/hildon-picker-button.c: Document the widget.
6591 * src/hildon-touch-selector-entry.c: Document the widget.
6593 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6595 * doc/hildon-docs.sgml
6598 * src/hildon-check-button.h
6599 * src/hildon-check-button.c: New functions to create the Hildon
6603 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6605 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-button.h
6608 * src/hildon-button.c
6609 (hildon_button_add_title_size_group)
6610 (hildon_button_add_value_size_group)
6611 (hildon_button_add_image_size_group)
6612 (hildon_button_add_size_groups): New functions to set size groups
6613 for the button labels and image.
6614 (hildon_button_new_full): Removed
6616 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6618 * src/hildon-time-selector.c
6619 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6620 in order to avoid a crash if gconf is not available
6622 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6624 * src/hildon-button.c (hildon_button_set_arrangement)
6625 (hildon_button_construct_child): Don't construct the button child
6626 before setting the arrangement.
6628 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6630 * src/hildon-program-private.h
6631 * src/hildon-program.c
6632 * src/hildon-program.h
6633 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6634 (hildon_program_peek_window_stack)
6635 (hildon_program_pop_window_stack)
6636 (hildon_program_go_to_root_window): HildonProgram now has a
6637 separate list for stackable windows. Functions are provided to
6638 manage that list with a stack-like API.
6640 * src/hildon-stackable-window.c: Stackable window management is
6641 now much simpler with the new HildonProgram API. Windows no
6642 longer need to be manually added to the program, they're
6643 automatically pushed to the top of the stack when shown.
6645 * examples/hildon-stackable-window-example.c: Updated example to
6646 reflect the API changes.
6648 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6650 * src/hildon-touch-selector.c: Comment out unimplemented
6651 hildon_touch_selector_insert_column() to avoid a compile warning.
6653 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6655 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6656 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6657 (hildon_touch_selector_set_column_selection_mode),
6658 (_hildon_touch_selector_set_model),
6659 (hildon_touch_selector_set_model):
6661 Complete review of HildonTouchSelector documentation.
6663 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6665 * doc/hildon-docs.sgml
6669 * src/hildon-gtk.c: Convenience functions for standard Gtk
6670 widgets, used to easily perform frequent operations.
6672 * src/hildon-button-helpers.h
6673 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6675 * src/hildon-helper.h
6676 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6677 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6679 * src/hildon-button.h
6680 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6682 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6684 * src/hildon-button.c (hildon_button_init)
6685 (hildon_button_set_arrangement, hildon_button_construct_child):
6686 Pack the image and the labels inside the same GtkAlignment so
6687 gtk_button_set_alignment() can be used
6689 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6691 * src/hildon-button.h
6692 * src/hildon-button.c
6693 (hildon_button_init, hildon_button_set_image)
6694 (hildon_button_set_image_position)
6695 (hildon_button_construct_child): New functions to add an image to
6698 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6700 * src/hildon-date-button.c
6701 * src/hildon-picker-button.c
6702 * src/hildon-time-button.c
6703 * src/hildon-button.c:
6704 (hildon_button_class_init): "size-flags" renamed to "size"
6705 (hildon_button_set_title): Hide the title label if set to NULL.
6707 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6709 HildonButtonFlags split into HildonButtonArrangement (to set the
6710 button layout) and HildonSizeType (which can be used for any
6713 * src/hildon-button.h
6714 * src/hildon-button.c
6715 (hildon_button_class_init)
6716 (hildon_button_set_arrangement)
6717 (hildon_button_set_property): New "size-flags"
6718 property. "arrangement-flags" renamed to "arrangement".
6719 (hildon_button_new, hildon_button_new_with_text)
6720 (hildon_button_new_full): Constructors updated to reflect type changes.
6722 * src/hildon-helper.h
6723 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6724 to set the size of a widget.
6728 * src/hildon-button-helpers.c
6729 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6731 * src/hildon-date-button.c
6732 * src/hildon-date-button.h
6733 * src/hildon-picker-button.c
6734 * src/hildon-picker-button.h
6735 * src/hildon-time-button.c
6736 * src/hildon-time-button.h: Updated widgets to reflect
6737 HildonButton API changes.
6739 * examples/hildon-button-example.c
6740 * examples/hildon-date-button-example.c
6741 * examples/hildon-picker-button-example.c
6742 * examples/hildon-picker-button-multicolumn-example.c
6743 * examples/hildon-time-button-example.c
6744 * examples/hildon-touch-selector-entry-example.c
6745 * examples/hildon-touch-selector-example.c: Updated examples to
6746 reflect HildonButton API changes.
6748 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6750 * doc/hildon-docs.sgml:
6752 * examples/Makefile.am:
6753 * examples/hildon-touch-selector-entry-example.c:
6755 * src/hildon-touch-selector-entry.c:
6756 * src/hildon-touch-selector-entry.h:
6759 Moved HildonTouchSelectorEntry from sandbox. Added its
6760 documentation and examples.
6762 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6764 * src/hildon-touch-selector.h:
6765 * examples/hildon-picker-button-multicolumn-example.c:
6766 (hildon_touch_selector_append_text_column): Add a gboolean
6767 parameter to determine if text must be centered in the column.
6769 * src/hildon-date-selector.c: (hildon_date_selector_init):
6770 * src/hildon-time-selector.c: (hildon_time_selector_init):
6771 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6772 (create_touch_selector): Update widgets and example to reflect
6775 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/hildon-touch-selector.c:
6778 (hildon_touch_selector_set_active_iter): Set also the cursor in
6781 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6783 * doc/hildon-docs.sgml
6786 * src/hildon-toggle-button.c
6787 * src/hildon-toggle-button.h
6788 * src/hildon.h: Removed HildonToggleButton widget, a derived
6789 class is not necessary for this.
6791 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6793 * src/hildon-pannable-area.c,
6794 (hildon_pannable_area_realize),
6795 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6798 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6800 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6801 "done" button the default widget for the dialog.
6803 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6805 * src/hildon-touch-selector.c:
6806 (hildon_touch_selector_class_init),
6807 (hildon_touch_selector_get_property),
6808 (_hildon_touch_selector_set_model),
6809 (_hildon_touch_selector_has_multiple_selection),
6810 (hildon_touch_selector_has_multiple_selection):
6811 Add a "has-multiple-selection" property with a virtual
6812 has_multiple_selection() method to allow derived classes to
6813 override the default value for it. See the method and property
6814 documentation for details.
6816 * src/hildon-touch-selector.h: Add the new API.
6818 * src/hildon-picker-dialog.c: (requires_done_button): Call
6819 hildon_touch_selector_has_multiple_selection() instead of
6820 determining the need for a button itself.
6822 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6824 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6825 (_hildon_touch_selector_set_model),
6826 (hildon_touch_selector_set_model): Move working code to
6827 _hildon_touch_selector_set_mode(). Call the class method instead.
6829 * src/hildon-touch-selector.h: Add (*set_model) to
6830 HildonTouchSelectorClass.
6832 Make hildon_touch_selector_set_model() a virtual method, so that
6833 derived classes can extend it and do fancy stuff with the model.
6835 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6837 * configure.ac: Set back the tarname in AC_INIT to hildon.
6839 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6843 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6844 instead of libesd (NB#86876). Volume handling is still an open issue.
6846 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6849 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6851 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6852 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6853 derived class to ease placement of an entry widget in
6854 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6855 end, where the selector columns are packed now.
6857 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-picker-button.c: Removed the simple _text() API.
6860 * src/hildon-picker-button.h: Likewise.
6862 * src/hildon-touch-selector.h:
6863 * src/hildon-touch-selector.c:
6864 (hildon_touch_selector_new_text),
6865 (hildon_touch_selector_append_text),
6866 (hildon_touch_selector_prepend_text),
6867 (hildon_touch_selector_insert_text):
6869 Moved the simple _text() API from HildonPickerButton to
6870 HildonTouchPicker, to provide better escalability and not to tie
6871 that API to HildonPickerButton.
6873 * examples/hildon-picker-button-example.c: (main): Example updated.
6875 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-button.c: Updated documentation.
6879 * examples/hildon-button-example.c: Add the posibility to create
6880 the buttons using horizontal layout for title and value.
6882 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6884 * src/hildon-app-menu-private.h
6885 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6886 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6887 GtkSizeGroup for the filters, use the 'homogeneous' property of
6890 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6892 * examples/hildon-button-example.c: Updated example.
6894 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6896 * doc/hildon-docs.sgml:
6899 Update documentation.
6901 * examples/Makefile.am: Update renamed examples.
6903 * examples/hildon-picker-button-multicolumn-example.c:
6904 (create_touch_selector), (main): Update after the rename.
6906 * examples/hildon-touch-picker-example.c: Removed.
6907 * examples/hildon-touch-selector-example.c: (value_changed),
6908 (create_selector), (get_visible_content), (main): Renamed from
6909 hildon-touch-picker-example.c
6911 * src/Makefile.am: Updated renamed files.
6913 * src/hildon-date-button.c: (hildon_date_button_init),
6914 (hildon_date_button_get_date), (hildon_date_button_set_date):
6915 * src/hildon-date-selector.c: (hildon_date_selector_init),
6916 (_custom_print_func), (_update_day_model),
6917 (_manage_selector_change_cb),
6918 (hildon_date_selector_select_current_date),
6919 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6920 * src/hildon-date-selector.h:
6921 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6922 (hildon_picker_button_set_property),
6923 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6924 (hildon_picker_button_init), (hildon_picker_button_new_text),
6925 (hildon_picker_button_append_text),
6926 (hildon_picker_button_prepend_text),
6927 (hildon_picker_button_insert_text),
6928 (hildon_picker_button_set_selector),
6929 (hildon_picker_button_get_selector):
6930 * src/hildon-picker-button.h:
6931 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6932 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6933 (_update_title_on_selector_changed_cb), (requires_done_button),
6934 (_hildon_picker_dialog_set_selector),
6935 (hildon_picker_dialog_set_selector),
6936 (hildon_picker_dialog_get_selector):
6937 * src/hildon-picker-dialog.h:
6938 * src/hildon-time-button.c: (hildon_time_button_init),
6939 (hildon_time_button_get_time), (hildon_time_button_set_time):
6940 * src/hildon-time-selector.c: (hildon_time_selector_init),
6941 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6942 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6943 * src/hildon-time-selector.h:
6946 Massive code updates after the rename.
6948 * src/hildon-touch-picker.c: Removed.
6949 * src/hildon-touch-picker.h: Removed.
6951 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6952 (hildon_touch_selector_init), (hildon_touch_selector_map),
6953 (hildon_touch_selector_remove), (_default_print_func),
6954 (_selection_changed_cb), (_create_new_column),
6955 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6956 (hildon_touch_selector_append_text_column),
6957 (hildon_touch_selector_remove_column),
6958 (hildon_touch_selector_set_column_attributes),
6959 (hildon_touch_selector_insert_column),
6960 (hildon_touch_selector_get_num_columns),
6961 (hildon_touch_selector_get_column_selection_mode),
6962 (hildon_touch_selector_set_column_selection_mode),
6963 (hildon_touch_selector_set_print_func),
6964 (hildon_touch_selector_get_print_func),
6965 (hildon_touch_selector_get_active_iter),
6966 (hildon_touch_selector_set_active_iter),
6967 (hildon_touch_selector_get_selected_rows),
6968 (hildon_touch_selector_get_model),
6969 (hildon_touch_selector_set_model),
6970 (hildon_touch_selector_get_current_text),
6971 (_hildon_touch_selector_center_on_selected_items):
6972 * src/hildon-touch-selector.h: Renamed from
6973 hildon-touch-picker.[ch]
6975 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6976 references, code examples, and related documentation.
6978 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6980 * doc/hildon-docs.sgml
6983 * src/hildon-toggle-button.c
6984 * src/hildon-toggle-button.h
6985 * src/hildon.h: New HildonToggleButton widget.
6987 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6989 * src/hildon-button.c: Add API documentation.
6990 (hildon_button_set_size_groups): Check input parameters
6992 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c
6995 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6996 effect after reaching the movement thredshold. This way we start
6997 using the distance after passing the thredshold.
6999 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7001 * src/hildon-button.c: (hildon_button_set_property): Use the
7002 appropriate g_value_get_flags() method.
7004 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7006 * doc/hildon-docs.sgml:
7009 Add the touch pickers, picker dialogs, and picker button widgets
7010 to the documentation.
7012 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7014 * src/hildon-button.c: (hildon_button_set_property),
7015 (hildon_button_class_init): Make "arrangement-flags" a proper
7016 G_TYPE_FLAGS derived property.
7018 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7020 * examples/Makefile.am: Add below examples.
7021 * examples/hildon-date-button-example.c:
7022 * examples/hildon-picker-button-example.c:
7023 * examples/hildon-picker-button-multicolumn-example.c:
7024 * examples/hildon-time-button-example.c:
7025 * examples/hildon-touch-picker-example.c:
7027 Add examples for the recently added touch pickers,
7028 picker dialogs, and picker button widgets.
7030 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7032 * src/hildon-button.c: Add some API documentation
7034 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7036 * src/hildon-button.h
7037 * src/hildon-button.c
7039 (hildon_button_new_with_text): New constructor to create a button
7040 with no text at all.
7041 (hildon_button_init, hildon_button_set_arrangement)
7042 (hildon_button_set_title, hildon_button_set_value)
7043 (hildon_button_set_text)
7044 (hildon_button_construct_child): Hide the value when it's not used
7045 so the rest of the text is properly aligned.
7046 Allow creating buttons with arbitrary widgets inside (not just
7047 title/value labels).
7049 * examples/hildon-button-example.c (vertical_buttons_window)
7050 (horizontal_buttons_window): Update example to use new API.
7052 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7054 * src/Makefile.am: Added HildonTimeButton.
7055 * src/hildon-time-button.c: Added missing LGPL header.
7056 * src/hildon-time-button.h: Added missing LGPL header.
7057 * src/hildon.h: Add hildon-time-button.h
7059 Copied HildonTimeButton from sandbox to trunk. Future work on this
7060 widget must take place in trunk.
7062 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7064 * src/Makefile.am: Added HildonDateButton.
7065 * src/hildon-date-button.c: Update includes.
7066 * src/hildon.h: Add hildon-date-button.h
7068 Copied HildonDateButton from sandbox to trunk. Future work on this
7069 widget must take place in trunk.
7071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7073 * src/Makefile.am: Added HildonPickerButton.
7074 * src/hildon-picker-button.h: Update includes.
7075 * src/hildon.h: Add hildon-picker-button.h
7077 Copied HildonPickerButton from sandbox to trunk. Future work on
7078 this widget must take place in trunk.
7080 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7082 * src/Makefile.am: Added HildonPickerDialog.
7083 * src/hildon-picker-dialog.c: Update includes.
7084 * src/hildon.h: Add hildon-picker-dialog.h
7086 Copied HildonPickerDialog from sandbox to trunk. Future work
7087 on this widget must take place in trunk.
7089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7091 * src/Makefile.am: Added HildonTimeSelector.
7092 * src/hildon.h: Add hildon-time-selector.h
7094 Copied HildonTimeSelector widget from sandbox to trunk. Future
7095 work on this widget must happen in trunk.
7097 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7099 * src/Makefile.am: Added HildonDateSelector.
7100 * src/hildon.h: Add hildon-date-selector.h
7102 Copied HildonDateSelector widget from sandbox to trunk. Future
7103 work on this widget must happen in trunk.
7105 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7107 * src/Makefile.am: Added HildonTouchPicker.
7108 * src/hildon-touch-picker.c: Update includes.
7109 * src/hildon.h: Add hildon-touch-picker.h
7111 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7112 on this widget must happen in trunk.
7114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/hildon-pannable-area.c:
7117 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7119 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7121 * examples/hildon-app-menu-example.c (main): Let the window
7124 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7126 * src/hildon-pannable-area.c
7127 (hildon_pannable_area_class_init): Set the min value of the
7128 overshoot properties to zero, which points out that not
7129 overshooting allowed.
7131 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7133 Modified the procedure to get the widget at a point inside the
7134 pannable area when using the movement type signals. Now the user
7135 has to call a function to get the child, that way we just
7136 calculate the child in case the user really want to use it and not
7139 * src/hildon-marshalers.list: Modified the marshallers, now we do
7140 not have the widget as a parameter.
7142 * src/hildon-pannable-area.c
7143 (hildon_pannable_area_motion_notify_cb),
7144 (hildon_pannable_area_class_init),
7145 (hildon_pannable_get_child_widget_at): Removed the widget
7146 parameter from the signal callback. We have also refactored the
7147 emission of the signals.
7149 * src/hildon-pannable-area.h: Added a new method to the API to
7150 calculate a widget at a point inside the pannable area,
7151 hildon_pannable_get_child_widget_at.
7153 * examples/hildon-pannable-area-example-4.c
7154 (horizontal_movement): Modified the example to use the new API,
7155 added condition to control which widget is under the event. This
7156 way we can avoid scrolling laterally over other widgets.
7158 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7160 * src/hildon-pannable-area.c
7161 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7162 modes, we stop getting the pointer events due to returning the
7163 callback without properly calling the get pointer again. Fixed
7164 also an error using the hscroll and vscroll.
7166 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7168 * src/hildon-app-menu-private.h
7169 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7170 (hildon_app_menu_button_release, hildon_app_menu_init)
7171 (hildon_app_menu_class_init): Don't hide the menu on button
7172 release if the user didn't press outside first.
7174 * src/hildon-window.h
7175 * src/hildon-window.c (hildon_window_toggle_menu)
7176 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7177 hildon_window_toggle_menu a virtual function for the stackable
7178 window to override it.
7180 * src/hildon-stackable-window.h
7181 * src/hildon-stackable-window-private.h
7182 * src/hildon-stackable-window.c
7183 (hildon_stackable_window_realize)
7184 (hildon_stackable_window_finalize)
7185 (hildon_stackable_window_class_init)
7186 (hildon_stackable_window_init)
7187 (hildon_stackable_window_set_main_menu): New function to set the
7188 app menu of a HildonStackableWindow.
7190 * examples/hildon-app-menu-example.c: Remove the button to show
7191 the app menu, now it'll be shown when clicking on the title bar
7194 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7196 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7197 set the widget name if the arrangement flags do not specify
7200 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7202 * src/hildon-button.c: (hildon_button_set_property),
7203 (hildon_button_class_init), (hildon_button_new_full),
7204 (hildon_button_set_arrangement): Added "arrangement-flags"
7207 Make the HildonButtonFlags a construction-only property, to allow
7208 subclasses to set them properly.
7210 2008-07-21 Tim Janik <timj@imendio.com>
7212 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7213 insertion position after backspace, so additional digits are appended,
7216 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7218 * src/hildon-pannable-area.c,
7219 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7220 TODO list, it was complete and removed the g_debug and g_print
7223 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7225 Added the movement modes to the hildon-pannable-area, with this
7226 modes the developers can control in which directions the widget
7227 can scroll. They can also connect to signals in order to do
7228 something when that happens, allowing applications scroll. There
7229 is an example uploaded showing how to use it.
7231 * examples/Makefile.am:
7232 * examples/hildon-pannable-area-example-4.c: Added this example of
7233 an application using the modes.
7235 * src/hildon-marshalers.list: Added a new marshaller for the new
7238 * src/hildon-pannable-area.h: Added new enumerations and flags in
7239 order to control the movement modes and the new signals to warn
7240 about the movements in the area.
7242 * src/hildon-pannable-area.c:
7243 (hildon_pannable_axis_scroll),
7244 (hildon_pannable_area_scroll),
7245 (hildon_pannable_area_motion_notify_cb),
7246 (hildon_pannable_area_get_property),
7247 (hildon_pannable_area_set_property),
7248 (hildon_pannable_area_map),
7249 (hildon_pannable_area_class_init),
7250 (hildon_pannable_area_init),
7251 (hildon_pannable_area_jump_to): Added the modes to control the
7252 movement in the widget. We have added properties to control it,
7253 signals to warn about the movements and refactored some code.
7255 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7257 Changes required in order to allow vfast_factor set to zero to
7260 * src/hildon-pannable-area.c:
7261 (hildon_pannable_area_button_press_cb): Changed the condition, it
7262 is required for not allowing click when vfast_factor is zero.
7263 (hildon_pannable_area_timeout): Initialized velocity variables
7264 when we stop moving, it was less than 1 but not zero and we need
7265 to check zero in some situations.
7266 (hildon_pannable_area_class_init): Changed the default value of
7267 the speed factor, now the button_press is just sent in case the
7268 speed is 2 per cent of the max speed.
7269 (hildon_pannable_area_init): Initialization with 0.
7271 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7273 * src/hildon-pannable-area.c,
7274 (hildon_pannable_area_get_topmost): replaced
7275 gdk_window_get_children with gdk_window_peek_children, this way we
7276 do not have to free the list because it is not a copy.
7278 (hildon_pannable_axis_scroll),
7279 (hildon_pannable_area_scroll),
7280 (hildon_pannable_area_timeout),
7281 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7282 two parameters that were only used inside the
7283 hildon_pannable_area_scroll function.
7285 * examples/hildon-pannable-area-example.c,
7286 (get_sawtooth_label): Fixed small memory leak.
7288 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7290 More checks for the case where the overshoot is bigger than the
7293 * src/hildon-pannable-area.c:
7294 (hildon_pannable_draw_vscroll),
7295 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7296 to draw the slider of the scrollbar under the other scrollbar.
7297 (hildon_pannable_area_expose_event): added new checks to control
7298 the drawing of the overshooting area rectangle, in case it is too
7299 big for the area of the widget.
7300 (hildon_pannable_area_size_allocate): add more checks to avoid
7301 setting a position to the child widget outside the area.
7303 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7305 * src/hildon-pannable-area.c
7306 (hildon_pannable_area_size_allocate): Added conditions to control
7307 when overshooting is bigger than the allocated space for the
7308 children, this avoids negative allocations.
7310 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7312 * doc/hildon-docs.sgml
7314 * examples/Makefile.am
7315 * examples/hildon-button-example.c
7317 * src/hildon-button.c
7318 * src/hildon-button.h
7319 * src/hildon.h: Initial version of the new HildonButton widget,
7322 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7324 * src/hildon-pannable-area.c:
7325 (hildon_pannable_area_button_press_cb),
7326 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7327 (hildon_pannable_area_motion_notify_cb),
7328 (hildon_pannable_area_button_release_cb),
7329 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7330 (hildon_pannable_area_jump_to_child):
7332 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7334 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7336 * examples/Makefile.am
7337 * examples/hildon-pannable-area-touch-grid-example.c
7338 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7339 the Hildon Touch List and Hildon Touch Grid using the
7340 HildonPannableArea widget.
7342 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7344 * src/hildon-pannable-area.c,
7345 (hildon_pannable_area_button_press_cb),
7346 (hildon_pannable_area_refresh),
7347 (hildon_pannable_area_scroll),
7348 (hildon_pannable_area_motion_notify_cb),
7349 (hildon_pannable_area_button_release_cb),
7350 (hildon_pannable_area_expose_event),
7351 (hildon_pannable_area_add),
7352 (hildon_pannable_area_remove),
7353 (hildon_pannable_area_realize),
7354 (hildon_pannable_area_size_allocate),
7355 (hildon_pannable_area_class_init),
7356 (hildon_pannable_area_init),
7357 (hildon_pannable_area_scroll_to_child),
7358 (hildon_pannable_area_jump_to_child): Fixed the problem of
7359 removing the child from the GtkBin, we have rearranged the widget
7360 hierarchy, now there is no GtkAlignment which was not doing
7361 anything interesting but breaking some of the assumptions of
7362 GtkContainer. Now developers if they want to add a GtkAlignment
7363 they could, but it is not inside the area.
7365 We had to review the whole allocation/expose process, now it is
7366 improved and we save at least three signals which would be saving
7367 some time when rendering the widget. The allocation of the
7368 scrollbars is now made in the allocate method as usual.
7370 We have also added some conditions in order to control when there
7371 is no child of the pannable area. Maybe we will need more work
7374 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7376 * src/hildon-pannable-area.c,
7377 (hildon_pannable_area_dispose): Released the fade-out timeout when
7378 disposing the widget.
7380 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7382 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7383 zero, we are going to use that property in order to deactivate the
7385 (hildon_pannable_axis_scroll),
7386 (hildon_pannable_area_size_allocate): Added conditions to control
7387 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7388 call, now it is called in all situations and we can remove calls
7389 in the allocate method.
7390 (hildon_pannable_area_map): Control the situation when
7391 overshoot_max is zero, we do not need the timeout.
7392 (hildon_pannable_area_class_init): Added documentation in order to
7393 point out that setting zero to overshoot_max means deactivate
7396 NOTE: removed trailing whitespaces from my previous comments of
7399 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7401 * src/hildon-pannable-area.c
7402 (hildon_pannable_area_get_property),
7403 (hildon_pannable_area_set_property),
7404 (hildon_pannable_area_map),
7405 (hildon_pannable_area_class_init),
7406 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7407 to cause the widget give a hint about its panning abilities upon
7410 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7412 * src/hildon-pannable-area.c: Several documentation improvements.
7414 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7416 * src/hildon-program.c
7417 * src/hildon-stackable-window.c: Update documentation.
7419 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7421 * src/hildon-stackable-window.c (get_previous_window_if_last):
7422 Renamed get_last_window()
7423 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7424 (hildon_stackable_window_unset_program):
7426 (get_previous_window_if_last):
7427 Detect if the window hasn't been added to a HildonProgram.
7429 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7431 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7433 * src/hildon-pannable-area.c
7434 (hildon_pannable_area_button_press_cb),
7435 (hildon_pannable_axis_scroll),
7436 (hildon_pannable_area_scroll),
7437 (hildon_pannable_area_timeout),
7438 (hildon_pannable_calculate_vel_factor),
7439 (hildon_pannable_area_get_property),
7440 (hildon_pannable_area_set_property),
7441 (hildon_pannable_area_class_init),
7442 (hildon_pannable_area_init),
7443 (hildon_pannable_area_scroll_to),
7444 (hildon_pannable_area_jump_to),
7445 (hildon_pannable_area_scroll_to_child),
7446 (hildon_pannable_area_jump_to_child):
7447 * src/hildon-pannable-area.h: Added the new API functions:
7448 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7449 hildon_pannable_area_scroll_to_child,
7450 hildon_pannable_area_jump_to_child
7453 * examples/Makefile.am
7454 * examples/hildon-pannable-area-example-2.c
7455 * examples/hildon-pannable-area-example-3.c: Added these two new
7456 examples in order to test and show how the new APIs work.
7458 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7460 * examples/hildon-stackable-window-example.c (new_window):
7461 * src/Makefile.am (noinst_HEADERS):
7462 * src/hildon-program.c (hildon_program_go_to_root_window):
7463 * src/hildon-program.h:
7464 * src/hildon-stackable-window-private.h:
7465 * src/hildon-stackable-window.c:
7466 * src/hildon-stackable-window.h:
7467 Create hildon-stackable-window-private.h
7468 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7470 * examples/hildon-app-menu-example.c (create_menu):
7471 * examples/hildon-hvolumebar-insensitive-example.c (main):
7472 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7473 * examples/hildon-toolbar-seekbar-example.c (main):
7474 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7475 * src/hildon-banner.c (hildon_banner_set_property):
7476 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7477 Fix compilation warnings
7479 * src/hildon-window.c:
7482 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7484 * src/hildon-stackable-window.c
7485 (hildon_stackable_window_unset_program):
7486 Calculate correctly whether to show the previous window if the
7487 last one is removed from the stack.
7488 (hildon_stackable_window_go_to_root_window):
7489 Send delete events starting from the topmost window.
7490 Stop if one of the windows is not destroyed.
7492 (hildon_stackable_window_delete_event)
7493 (hildon_stackable_window_class_init):
7494 Ignore the delete event if the window is not the topmost one.
7496 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7498 * src/hildon-pannable-area.c
7499 (hildon_pannable_area_expose_event): Fixed a problem when
7500 selecting the background color of the scrollbars.
7502 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7504 * examples/hildon-stackable-window-example.c
7505 * src/hildon-stackable-window.c
7506 * src/hildon-stackable-window.h
7507 hildon_stackable_window_go_home() renamed to
7508 hildon_stackable_window_go_to_root_window()
7509 Send delete events to windows rather than closing them with
7510 gtk_widget_destroy()
7512 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7514 * src/hildon-pannable-area.c
7515 (hildon_pannable_area_button_release_cb): Fix overshooting in
7518 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7520 * src/hildon-pannable-area.c
7521 (hildon_pannable_area_init): Initially show the scroll indicators.
7522 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7524 Add initial effect showing the widget is pannable.
7526 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7528 * src/hildon-pannable-area.c
7529 (hildon_pannable_area_class_init)
7530 (hildon_pannable_area_set_property)
7531 (hildon_pannable_area_get_property)
7532 (hildon_pannable_area_button_press_cb):
7533 New 'velocity_fast_factor' property to decide which velocity is
7536 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7538 * src/hildon-pannable-area.c
7539 (hildon_pannable_draw_hscroll)
7540 (hildon_pannable_draw_vscroll):
7541 Use float variables to calculate the size of the scrollbars to
7542 avoid error propagation and resizing during scrolling.
7544 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7546 * src/hildon-pannable-area.c
7547 (hildon_pannable_draw_vscroll)
7548 (hildon_pannable_draw_hscroll):
7549 Define a minimum size for the scroll bars
7551 * src/hildon-stackable-window.c
7552 (hildon_stackable_window_go_home): Fix compilation warning
7553 (get_last_window): Minor optimizations
7554 (hildon_stackable_window_class_init): Fix initialization of
7557 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7559 * src/hildon-stackable-window.c: Fixed typos in doc
7561 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/hildon-pannable-area.c
7564 (hildon_pannable_area_scroll):
7565 Calculate here whether we need to scroll instead of using the booleans
7566 that tell us whether to /draw/ the scrolling bars.
7568 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7570 * src/hildon-app-menu.h
7572 * src/hildon-app-menu.c
7573 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7574 multiple filter groups related code and API. Now we support only
7576 * examples/hildon-app-menu-example.c:
7578 Update to reflect API changes.
7580 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7582 * src/hildon-stackable-window.c
7583 (hildon_stackable_window_class_init):
7584 Add hildon_stackable_window_realize.
7585 (hildon_stackable_window_realize):
7586 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7587 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7588 to apply theming and behavior specific to HildonStackableWindow
7591 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7593 * src/hildon-note.c (hildon_note_button_release):
7594 Close information notes also when tapping on them
7596 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7598 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7599 ELASTICITY, refactor and review, fix some issues with drawing
7602 * src/hildon-pannable-area.c:
7603 (hildon_pannable_area_button_press_cb): removed the conditions to
7604 avoid clicks when overshooting. It is not required
7606 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7607 define. Refatored and reviewed the code, now we do not need to
7608 manage velocity in motion_notify.
7610 (hildon_pannable_area_motion_notify_cb): We have moved the code
7611 that controls the area_scroll to the axis_scroll function and get
7612 rid of duplicated code.
7614 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7616 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7618 (hildon_pannable_draw_vscroll),
7619 (hildon_pannable_draw_hscroll): Fixed the problems with the
7620 scrollbar drawing, now we do not use two surfaces, it is easier
7621 and saves resources.
7623 (hildon_pannable_area_get_property): Style modification.
7625 (hildon_pannable_area_class_init): Changed some default values.
7627 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7629 * src/hildon-stackable-window.c: Fix some typos in the
7632 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7634 * src/hildon-dialog.c:
7635 Change indentation style
7638 (hildon_note_button_release):
7639 Use root coordinates to check if the release event happened
7642 * src/hildon-app-menu.c
7643 (hildon_app_menu_button_release):
7644 Remove unnecessary check
7646 * examples/hildon-app-menu-example.c
7648 Add cast to fix warning
7650 * src/hildon-app-menu.c
7651 (hildon_app_menu_class_init):
7652 New inner-border style property.
7653 Set all default spacings to 16
7654 (hildon_app_menu_init):
7655 Use vertical-spacing to set the space between filter buttons and
7656 regular menu buttons.
7657 Set the default container border using the inner-border value.
7659 * examples/hildon-app-menu-example.c
7661 Don't set the menu border explicitly, now we have the inner-border
7662 style property for that.
7664 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7666 * src/hildon-app-menu.c (hildon_app_menu_init):
7667 Make the window modal
7669 * src/hildon-note.c (hildon_note_map)
7670 * src/hildon-app-menu.c (hildon_app_menu_map):
7671 Destroy the grab window if we're unable to grab the pointer
7673 * src/hildon-app-menu-private.h
7674 * src/hildon-app-menu.c
7675 (hildon_app_menu_init, hildon_app_menu_finalize)
7676 (hildon_app_menu_map, hildon_app_menu_unmap)
7677 (hildon_app_menu_button_release)
7678 (grab_transfer_window_get):
7679 Bring back the grab window
7680 (hildon_app_menu_realize):
7681 Decorate the window, set WM hint for Matchbox
7683 * src/hildon-note.c (hildon_note_realize):
7684 * src/hildon-banner.c (hildon_banner_realize):
7685 Add WM hints for Matchbox
7687 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7689 * src/hildon-app-menu-private.h
7690 * src/hildon-app-menu.c
7691 (hildon_app_menu_init, hildon_app_menu_finalize)
7692 (hildon_app_menu_map, hildon_app_menu_unmap)
7693 (hildon_app_menu_button_release):
7694 Remove the grab window, it's not needed anymore
7696 * src/hildon-program.c
7697 Fixed typo in documentation
7699 * src/hildon-app-menu.h
7700 * src/hildon-app-menu.c
7701 * examples/hildon-app-menu-example.c
7702 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7704 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7707 Added new transfer_window and close_if_pressed_outside private
7709 (hildon_note_rebuild):
7710 Don't add a cancel button to the information note. It will be
7711 closed when tapping outside
7712 Remove the comment about the OK button in the documentation
7713 (hildon_note_realize):
7714 Set the notification type hint
7715 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7716 Grab/ungrab pointer and keyboard if the note has to be closed when
7718 (hildon_note_button_release):
7719 Close the note when tapping outside (if applicable)
7721 * src/hildon-app-menu.c
7722 Grab/ungrab pointer and keyboard on map/unmap
7723 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7724 Close the menu on button release, not button press
7726 * src/hildon-banner.c
7727 (hildon_banner_set_property)
7728 (hildon_banner_check_position):
7729 Make the banner use the full width of the screen
7730 (hildon_banner_show_information)
7731 (hildon_banner_show_information_with_markup):
7732 Don't display an icon by default
7734 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7736 Added fading scrollbars and adapted all the overshooting code to
7737 horizontal scrolling. We have also fixed bugs with overshooting
7738 and current fading implementation.
7740 * src/hildon-pannable-area.c
7741 (hildon_pannable_area_scroll_indicator_fade): Time out function
7742 used to change the transparency of the scrollbars.
7744 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7745 control and fixed a problem with fading, we now remove the fade
7746 timeout before adding a new one.
7748 (hildon_pannable_axis_scroll):
7749 (hildon_pannable_area_scroll):
7750 (hildon_pannable_area_timeout): Added this functions so we can use
7751 the scroll code both for vertical and horizontal.
7753 (hildon_pannable_area_motion_notify_cb):
7754 (hildon_pannable_area_button_release_cb): Added the horizontal
7755 scrolling control, fixed a problem with the overshooting timeout.
7757 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7758 painting of the scrolls.
7760 (hildon_pannable_draw_vscroll):
7761 (hildon_pannable_draw_hscroll):
7762 (hildon_pannable_area_expose_event):
7763 Draw both scrollbars and rectangles in the overshooting area.
7765 (hildon_pannable_area_get_property):
7766 (hildon_pannable_area_set_property):
7767 Modified the overshoot property to overshoot_max
7769 (hildon_pannable_area_map):
7770 Replaced the comments symbols.
7772 (hildon_pannable_area_size_allocate):
7773 (hildon_pannable_area_class_init):
7774 (hildon_pannable_area_init): Added horizontal scroll, fading
7775 effect properties, fixed a problem when overshooting in the bottom
7778 * examples/hildon-pannable-area-example.c:
7779 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7780 looks better in the example.
7782 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7784 * src/hildon-window.c
7785 * src/hildon-window.h
7786 (hildon_window_class_init)
7787 (hildon_window_unset_program)
7788 (hildon_window_unset_program_real):
7789 Make unset_program a virtual function
7791 * src/hildon-stackable-window.c
7792 * src/hildon-stackable-window.h
7793 Added hildon_stackable_window_go_home()
7795 * examples/Makefile.am
7796 * examples/hildon-stackable-window-example.c
7797 HildonStackableWindow example
7799 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7801 * hildon-pannable-area.c: Added the overshoot property and removed
7802 the OVERSHOOT define. Fixed an indent style error.
7803 (hildon_pannable_area_motion_notify_cb):
7804 (hildon_pannable_area_get_property):
7805 (hildon_pannable_area_set_property): Add overshoot property.
7807 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7810 (hildon_pannable_area_class_init): Installed the new property.
7812 * hildon-pannable-area-example.c: Added a sawtooth function, this
7813 way it is easier to check the movement in the pannable.
7814 (get_sawtooth_label): Added this function.
7815 (main): Now we get the labels from the new get_sawtooth_label
7818 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7820 * src/hildon-app-menu.h
7821 * src/hildon-app-menu.c
7822 Renamed API variables for consistency
7824 (hildon_app_menu_popup): Use also the default window size to
7825 decide where to place the menu
7827 (hildon_app_menu_init, hildon_app_menu_class_init): New
7828 external-border style property
7830 2008-05-26 Michael Natterer <mitch@imendio.com>
7832 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7833 widget_class->tap_and_hold_setup signal slot doesn't exist any
7834 longer, stop overriding it.
7836 (hildon_time_editor_init): g_signal_connect() to the
7837 tap-and-hold-setup signal instead.
7839 (hildon_time_editor_entry_keypress): add cast to fix warning.
7841 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7843 * doc/hildon-docs.sgml
7845 * examples/Makefile.am
7846 * examples/hildon-app-menu-example.c
7848 * src/hildon-app-menu-private.h
7849 * src/hildon-app-menu.c
7850 * src/hildon-app-menu.h
7852 New HildonAppMenu widget
7854 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7856 Rearranged the inheritance of the pannable area, now it inherits
7857 from GtkBin. This will allow us to control the event_window and
7858 the allocation process of the widget, required for some effects.
7860 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7861 GtkBin structures. * src/hildon-pannable-area.c: Added the
7862 event_window variable.
7863 (hildon_pannable_area_button_press_cb):
7864 (hildon_pannable_area_button_release_cb):
7865 (hildon_pannable_area_motion_notify_cb):
7866 Changed the signature of the method, now we override the event
7867 callback instead of connecting to the signal.
7869 (hildon_pannable_area_realize):
7870 (hildon_pannable_area_unrealize):
7871 (hildon_pannable_area_map):
7872 (hildon_pannable_area_unmap):
7873 (hildon_pannable_area_size_allocate):
7874 Added functions to control the widget construction. We add a
7875 INPUT_ONLY window and we put it over the widgets inside the
7876 container, this event_window handles the events.
7878 (hildon_pannable_area_class_init):
7879 Replaced the signal connections with overrides of the event
7882 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7884 Bouncing effect added when touching the borders, you can change
7885 the elasticity of the border changing the ELASTICITY define.
7887 * src/hildon-pannable-area.c: Added ELASTICITY define.
7888 (hildon_pannable_area_timeout): Added inverse velocity when
7889 touching the border of the child widget, that causes a bounce.
7891 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7893 Improved performance, we now do not go to the X server in order to
7894 get the list of window children. Apparently the effect is the
7895 same, we have to be careful and check if this breaks something in
7898 * src/hildon-pannable-area.c:
7899 (get_ordered_children): Removed this function.
7900 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7901 the children windows function with gdk_window_get_children.
7903 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7905 * src/hildon-pannable-area.c:
7906 (hildon_pannable_area_dispose): Fixed a crash when closing the
7907 window and kinetics is activated.
7909 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7911 * src/hildon-pannable-area.h
7912 * src/hildon-pannable-area.c
7913 Changed indentation style to meet the one used in Hildon
7915 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7917 Reviewed the interaction of the AUTO mode, now we use the time
7918 attribute of the events and calculate the velocity in the motion,
7919 doing a gimp like calculation. The velocity is calculated in each
7920 motion event using the last velocity and the current one, the
7921 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7923 * src/hildon-pannable-area.c: Replaced the time based algorithm
7925 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7926 timeout for the AUTO mode when we are still moving the cursor. We
7927 added also the velocity calculation in this function.
7928 (hildon_pannable_area_button_release_cb): launch the timeout in
7929 case we are in AUTO mode. There are still some constants here that
7930 come from the old implementation that should be reviewed and
7933 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7935 * doc/hildon-docs.sgml
7938 * src/hildon-stackable-window.c
7939 * src/hildon-stackable-window.h
7941 New HildonStackableWindow widget
7943 * examples/hildon-dialog-example.c
7944 * examples/hildon-pannable-area-example.c
7947 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7949 * src/hildon-dialog.c
7950 (hildon_dialog_new_with_buttons): New constructor.
7952 * examples/hildon-dialog-example.c
7953 (main): Update the example to use the new
7954 hildon_dialog_new_with_buttons().
7956 * examples/hildon-pannable-area-example.c
7957 (main): Update example.
7959 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7961 * doc/hildon-docs.sgml
7963 Added HildonPannableArea to the documentation.
7965 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7967 * doc/visual_index.xml
7968 Fix reference to HildonLoginDialog in documentation
7970 * doc/hildon-docs.sgml
7972 * examples/Makefile.am
7973 * examples/hildon-dialog-example.c
7975 * src/hildon-dialog.c
7976 * src/hildon-dialog.h
7978 New HildonDialog widget.
7980 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7982 * src/hildon-pannable-area.c
7983 Merge latest changes (r4318, r4342) from libmokoui trunk
7985 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7987 * examples/Makefile.am
7988 * examples/hildon-pannable-area-example.c
7990 * src/hildon-pannable-area.c
7991 * src/hildon-pannable-area.h
7993 New HildonPannableArea widget.
7995 2008-04-15 18:05:19 <timj@imendio.com>
7997 * src/hildon-banner.c: revert the recent change, that introduced
7998 gtk_window_present() calls. this reopens:
7999 Bug 78481 - [freetest] information banners are hidden under browser menu
8000 But resolves another variant of:
8001 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8003 2008-04-15 13:21:13 <timj@imendio.com>
8005 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8006 recreated its layout, spotted by Kris. this fixes all remaining
8007 artefacts and stability issues with the banner code. in particular:
8008 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8010 2008-04-14 16:52:59 <timj@imendio.com>
8012 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8013 operating on unrealized widgets, fixes:
8014 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8016 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8018 2008-04-09 Kristian Rietveld <kris@imendio.com>
8020 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8021 makes banner disappear.
8022 Fixes: NB#79182: info banner flickering with certain message lengts.
8024 * src/hildon-banner.c (hildon_banner_constructor),
8025 (hildon_banner_init), (hildon_banner_set_text),
8026 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8027 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8028 FALSE, reset size requests of label and banner,
8029 (force_to_wrap_truncated): when the text is too wide, always enforce
8030 the maximum possible width instead of recalculating it from the
8031 layout; enforce the maximum banner height of 3 lines,
8032 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8033 nicer wrapping and no truncated chars if space gets tight.
8035 * src/hildon-banner-private.h: add has_been_wrapped and
8036 has_been_truncated fields.
8038 2008-04-07 Sven Herzberg <sven@imendio.com>
8040 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8041 local values in hildon_date_editor_size_allocate
8043 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
8053 2008-04-07 Sven Herzberg <sven@imendio.com>
8055 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8056 local values in hildon_date_editor_size_allocate
8058 * src/hildon-date-editor.c: changed the arguments of the if()
8061 2008-04-07 Sven Herzberg <sven@imendio.com>
8063 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8064 local values in hildon_date_editor_size_allocate
8066 * src/hildon-date-editor.c: split the calculation of the allocation
8067 from the real allocation
8069 2008-03-27 Michael Natterer <mitch@imendio.com>
8071 Fixes: NB#81696: The passcode is not overwritten even after
8074 * src/hildon-code-dialog.c
8075 (hildon_code_dialog_button_clicked)
8076 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8077 because that doesn't overwrite selected text. Instead, emit the
8078 "commit" signal on the entry's im_context so the entry's normal
8079 insert logic is triggered. Set the cursor to the end of the entry
8080 after each insert operation so that we *only* insert in the middle
8081 of the text if something was selected.
8083 2008-03-27 Michael Natterer <mitch@imendio.com>
8085 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8086 selector cannot be opened
8088 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8089 when the popup color selector is created. Please connect to this
8090 signal in order to set the dialog's help ID.
8092 2008-03-25 Sven Herzberg <sven@imendio.com>
8094 Fixes: MB#1212: Hide info banners (infoprints) on click
8096 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8097 extracted the close event simulation into an extra function
8098 (hildon_banner_button_press_event): simulate a close event and destroy
8099 the widget if the event wasn't handled
8100 (hildon_banner_class_init): added the button_press_event handler
8101 (hildon_banner_init): added button-press events to the widget
8103 2008-03-25 Sven Herzberg <sven@imendio.com>
8105 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8106 Patch from: Mohammad Anwari <mdamt@maemo.org>
8108 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8109 instead of the right in RTL mode
8110 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8111 breadcrumb button list in RTL mode
8112 * src/hildon-caption.c: mirror the appearance of the caption widget in
8114 * src/hildon-date-editor.c: mirror appearance of the date editor in
8116 * src/hildon-time-editor.c: mirror appearance of the time editor in
8118 * src/hildon-window.c: fix the position of the popup in RTL mode
8120 2008-03-25 Sven Herzberg <sven@imendio.com>
8122 Amendment to the fix of NB#22072. Fix compilation.
8124 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8126 2008-03-19 Sven Herzberg <sven@imendio.com>
8128 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8131 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8132 timeout id properly when the timeout will disappear this leaves no
8133 artifacts around in the destroy(); there will only be the timeout
8134 created by hildon_banner_ensure_timeout() and adding a new timeout
8135 will also work if the timeout gets removed because the timeout_handler
8138 2008-03-19 Michael Natterer <mitch@imendio.com>
8140 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8142 * src/hildon-volumebar.c
8143 * src/hildon-vvolumebar.c
8144 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8145 the widget becomes focussable at all.
8147 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8148 set the focus to wither the mute button or the volumebar.
8150 Remove own "can-focus" property and instead listen to
8151 notify::can-focus in order to update the widget's state.
8153 Implement GtkWidget::focus() and make sure we can also *leave* the
8154 widget, not only enter it, depending on volumebar orientation and
8155 requested focus direction.
8157 Clean up set_mute() to cooperate nicely with all the above.
8159 2008-03-04 Michael Natterer <mitch@imendio.com>
8161 Fixes: NB#78481: information banners are hidden under browser menu
8163 * src/hildon-banner.c: call gtk_window_present() on the banners so
8164 they are risen if they are already visible.
8166 2008-03-03 Sven Herzberg <sven@imendio.com>
8168 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8170 * examples/hildon-window-menu-example.c: (main): extended the window
8171 menu example to serve as a testcase for automatically added
8172 accelerator groups, too
8173 * src/hildon-window.c: (hildon_window_add_accel_group),
8174 (hildon_window_set_menu): added patch by Tommi Komulainen
8176 2008-03-03 Sven Herzberg <sven@imendio.com>
8178 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8180 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8181 knowledge about the border allocators used within GTK+
8183 2008-02-26 Sven Herzberg <sven@imendio.com>
8185 Fixes: MB#2981: Build with asserts broken
8187 * src/hildon-date-editor.c,
8188 * src/hildon-number-editor.c,
8189 * src/hildon-time-editor.c,
8190 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8191 the proper GType instance check
8193 2008-02-25 Sven Herzberg <sven@imendio.com>
8195 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8197 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8198 * examples/hildon-window-menu-example.c: (main): explicitly show
8200 * src/hildon-window.c:
8201 (hildon_window_set_main_menu): moved most of the code from set_menu()
8202 to this place; skipped the call to gtk_widget_show_all(); also didn't
8203 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8204 (hildon_window_set_menu): removed most of the code, just keep the
8205 questionable gtk_widget_show_all()
8206 * src/hildon-window.h: added the new function and deprecate the old
8209 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8215 * debian/changelog: Updating.
8217 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8220 * pkgconfig/Makefile.am:
8221 * pkgconfig/hildon.pc.in:
8224 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8225 use newly created API_MAJOR_VERSION.
8227 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8233 * debian/changelog: Updating.
8235 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8237 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8239 Add outer_border style property, we use it but don't define it (!).
8243 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8245 * examples/hildon-bread-crumb-trail-example.c (main):
8249 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8251 Fix logic for the bread crumb trail node removal.
8255 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8261 * debian/changelog: Updating.
8263 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 Patch by Alejandro to get/set passwords dialogs accesibility.
8267 * hildon-1/src/hildon-get-password-dialog.c:
8268 * hildon-1/src/hildon-set-password-dialog.c:
8269 Set atk_set_name to the passwd entries in order to allow
8270 accessibility by name on this entries.
8272 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * debian/control: Updating gtk dep.
8279 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8281 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8282 USE_MAEMO_GTK is enabled.
8284 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8286 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8287 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8289 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8295 * debian/changelog: Updating.
8297 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * examples/Makefile.am:
8300 * examples/hildon-logical-color-example.c:
8301 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8302 applied + adding a test case. Fixes: NB#71660.
8304 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8306 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8307 to be visible, fixes warning on map for windows without toolbars.
8309 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8311 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8312 2.11.0, add a check for that besides the MAEMO_GTK check.
8314 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8320 * debian/changelog: Updating.
8322 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8325 visibility. Fixes: NB#70842 and MB#615.
8327 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8329 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8330 set the separator as no-show-all so it doesn't unintentionally appear when
8331 someone does a show_all.
8333 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8335 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8336 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8337 toplevel item. Fixes: NB#62031
8339 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8341 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8342 fix the name of the function in the docs.
8344 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * debian/changelog: Updating.
8352 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8354 * examples/hildon-banner-long-example.c: Adding a test-case for long
8357 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8359 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-color-chooser-dialog.c:
8362 * src/hildon-color-chooser.c:
8363 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8364 memory leaks in font selector and color selector. Fixes: NB#70499 and
8367 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8369 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8371 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8373 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8374 little bit bigger. Fixes: #NB63694.
8376 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8382 * debian/changelog: Updating.
8384 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * doc/hildon-docs.sgml:
8388 * doc/images/bread-crumb-trail.png:
8389 * doc/images/calendar-popup.png:
8390 * doc/images/caption.png:
8391 * doc/images/code-dialog.png:
8392 * doc/images/color-button.png:
8393 * doc/images/color-chooser-dialog.png:
8394 * doc/images/color-chooser.png:
8395 * doc/images/controlbar.png:
8396 * doc/images/date-editor.png:
8397 * doc/images/font-selection-dialog.png:
8398 * doc/images/get-password-dialog.png:
8399 * doc/images/hvolumebar.png:
8400 * doc/images/login-dialog.png:
8401 * doc/images/note.png:
8402 * doc/images/number-editor.png:
8403 * doc/images/range-editor.png:
8404 * doc/images/seekbar.png:
8405 * doc/images/set-password-dialog.png:
8406 * doc/images/sort-dialog.png:
8407 * doc/images/time-editor.png:
8408 * doc/images/time-picker.png:
8409 * doc/images/vvolumebar.png:
8410 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8411 Adding the bread-crumb-trial and helpers to the documentation.
8413 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * examples/hildon-find-toolbar-example.c:
8416 * src/hildon-find-toolbar.c:
8417 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8418 actually continue firing the other handlers if connected. Adding a new
8420 hildon_find_toolbar_get_last_index that gets the index of the most
8421 recently added (last) item. Fixes: NB#52301.
8423 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8426 behaviour. Fixes: NB#68610.
8428 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8430 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8433 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8436 when realizing the banner. Should make the infonbanner effect a bit more
8439 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * src/hildon-volumebar.c:
8442 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8443 hildon_volumebar_set_range_insensitive_message and
8444 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8446 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * src/hildon-window.c: Fixing the border freeing on destroy.
8450 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * src/hildon-code-dialog-private.h:
8453 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8454 kw keyboard support in HildonCodeDialog.
8456 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * debian/changelog: Updating.
8464 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * src/hildon-date-editor.c:
8467 * src/hildon-number-editor.c:
8468 * src/hildon-private.c:
8469 * src/hildon-private.h:
8470 * src/hildon-time-editor.c:
8471 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8472 handling in subclassed composite widgets. Fixes: NB#66628.
8474 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8477 from destroy_ callback as it introduces problems in async dbus signal
8478 handlers. Fixes NB#66673.
8480 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8482 * examples/hildon-hvolumebar-example.c:
8483 * src/hildon-volumebar.c: Improving the focus handling in the
8484 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8485 set_property accessor so that "mute" property can be actually set. I'm
8486 scared that nobody noticed it's totally broken.
8488 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8490 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8493 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-calendar.c:
8496 * src/hildon-number-editor.c:
8497 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8498 matches the spec of 6 chars per second. Fixes: NB#60489.
8500 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8503 gtk_style_lookup_color sometime returns FALSE even though color was
8504 found and values were filled properly. Weird. Removing the warning for the
8507 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8510 expand vertically. Adding some extra space to the find toolbar buttons to
8511 make them thumbable. Fixes NB#66060.
8513 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8516 popup with "Ok" and "Cancel". Fixes NB#59299.
8518 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-calendar.c: Process all window updates before executing next
8521 timeout. Fixes: NB#54146.
8523 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * debian/changelog: Updating.
8531 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8533 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8534 the client event and ignore it, since we use the delete event to close
8537 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * src/hildon-helper.c: Remove the bogus warning about color not being
8540 found. Fixes NB#58352.
8542 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8544 * examples/Makefile.am:
8545 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8546 HildonSeekbar widget inside a toolbar.
8548 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8550 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8551 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8552 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8553 don't want to be closed by non-temporary windows on map.
8555 Also use G_DEFINE_TYPE instead of manually typed code.
8557 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * debian/rules: Updating.
8566 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * examples/Makefile.am:
8569 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8570 bug NB#61128. Strangely it works.
8572 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * src/hildon-date-editor.c: When the date editor entry has been changed
8575 but the numbers of characters < max, turn off the skip validation flag.
8576 Prevents a situation when we enter first a valid year and later re-write
8577 it with an invalid one. Fixes NB#60154.
8579 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8582 code dialog. Fixes NB#64355.
8584 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8587 switching the page. Fixes NB#49374.
8589 * examples/Makefile.am:
8590 * examples/hildon-wizard-dialog-example.c: Adding an example for
8591 HildonWizardDialog that shows how to handle manual sensitivity setting on
8594 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * src/hildon-version.h.in:
8599 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8601 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * src/hildon-volumebar.c: Updating the docs.
8605 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * debian/changelog: Updating.
8613 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-find-toolbar.c:
8616 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8617 selected item: hildon_find_toolbar_set_active,
8618 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8619 hildon_find_toolbar_get_active_iter . They correspond to respective
8620 GtkComboBox functions.
8622 * examples/Makefile.am:
8623 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8626 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * examples/Makefile.am:
8629 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8632 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8633 when font size > 32 and we pack a focusable widget inside. Actually using
8634 the default response would work too, but since we don't show default
8635 response state in any way (no theming) it would not be visible to the
8636 user. Fixes NB#63430.
8638 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8640 * src/hildon-date-editor.c: Adding the missing variable setter in the
8641 set_property handler. Fixes NB#54182.
8643 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * src/hildon-window.h: Changing the long key press time from 1500ms to
8646 800ms as requested in NB#63700. I have a bad feeling about this, let's
8647 see... Fixes NB#63700.
8649 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8651 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8652 hildon_time_picker_map, hildon_time_picker_realize,
8653 hildon_time_picker_style_set): Split the contents of map to more
8654 appropriate functions; set window decorations on realize and update
8655 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8657 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8662 * debian/changelog: Updating.
8664 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8666 * src/Makefile.am: fixed installation of the header files
8668 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8674 * debian/changelog: Updating.
8676 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8678 * configure.ac: Removing some remaining of --enable-xan.
8680 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8682 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8683 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8685 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8686 2.10.12-osso6 because the move-focus signal needs to be available in
8689 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * examples/Makefile.am:
8692 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8693 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8694 fine. Prolly NB#61128 is fixed now.
8696 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * src/hildon-volumebar.c:
8699 * src/hildon-volumebar.h: Adding the
8700 hildon_volumebar_set_range_insensitive_message and
8701 hildon_volumebar_set_range_insensitive_messagef functions to set
8702 insensitive message on the slider of the volumebar. Fixes NB#61129.
8704 * examples/Makefile.am:
8705 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8706 test the new insensitive messsage functionality on HildonVolumebar.
8708 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8710 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8713 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8715 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8716 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8717 button on after clearing the trail.
8719 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8721 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8723 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8725 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8726 by splitting the installed headers in generated and non-generated groups. Use
8727 only the non-generated headers to create the hildon-enum-types.h file.
8729 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8731 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * src/hildon-window.c: Hide the window before performing the destroy.
8734 Should make the app closing a little tiny bit more snappy.
8736 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8738 * src/hildon-seekbar.c: add gtkrange.h header
8739 * src/hildon-caption.c: remove unused variable
8741 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8743 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8746 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * debian/changelog: Updating.
8754 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8756 * src/hildon-window.c (hildon_window_window_state_event,
8757 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8758 escape timeout on focus-out-event rather than notify::is-topmost; the
8759 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8761 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8763 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8764 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8766 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8768 * src/hildon-window: actually, you need to use the macro always, there's
8769 no private pointer in the instance structure. We should have cleaned this up
8770 when we had the chance...
8772 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8774 * src/hildon-window.c: do not get the private date from HildonWindow before
8775 it passes the g_return_if_fail check. Once it's passed the test, there's no
8776 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8777 if you are only going to access the data once. Whitespace cleanups.
8779 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8781 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8782 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8784 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * debian/changelog: Updating.
8792 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * src/hildon-window.c: When destroying the window, remove (if exists) the
8795 escape timeout handler. Fixes #NB59276.
8797 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * src/hildon-banner.c: When realizing the widget, set the window
8800 transiency. Setting the transiency in the gobject constructor is not
8801 good, as the widget is not realized at that point. Fixes: #NB56624.
8803 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8805 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8806 Add padding for future expansions.
8808 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8810 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8811 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8812 will fake an activation on the previous to the last item of the trail, so
8813 the effect can be overrided by the developer as usual.
8814 Also change the callback for the back button to do the same thing, so its
8815 effect can be overrided too. Fixes: NB#58982
8817 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8820 HildonCaption. Fixes NB#52379.
8822 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8825 the internal state of the trail after the user has had the chance of executing
8826 his handler for the signal. Specifically, it may happen that the activated button
8827 is removed and the user still lets the default handler run. This would segfault
8830 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8833 scrollbar to the preview dialog. Fixes NB#54147.
8835 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8837 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8838 max/min year properties can be altered, so the client can modify it
8839 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8841 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8844 hildonlike by default. Fixing a problem with disappearing arrows when
8845 scrolling through months and years. Fixes NB#54127.
8847 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * examples/hildon-date-editor-example.c: Adding error callback to the date
8852 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * configure.ac: Updating.
8860 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * configure.ac: Adding a special '--enable-xan' configure option that
8863 turns off the -Werror compilation setting. Usefull for development.
8865 * src/hildon-calendar.c:
8866 * src/hildon-number-editor.c:
8867 * src/hildon-time-picker.c: Adding the 5* multiplier to
8870 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8872 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8873 instead of g_object_ref + gtk_object_sink.
8875 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8881 * debian/changelog: Updating.
8883 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * src/hildon-color-chooser-dialog.c:
8886 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8887 straight from Tommi labs.
8889 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * examples/hildon-finger-example.c: Correcting the header file path.
8893 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8894 the changed signal. Fixes a small memory leak.
8896 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8900 * src/hildon-banner.c: Importing several usefull fixes from the
8901 ubuntu-mobile branch.
8903 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * examples/Makefile.am:
8906 * examples/hildon-finger-example.c: Adding a finger-checking code
8909 * src/hildon-font-selection-dialog.c: Do not allocate the color
8910 structure using the g_new. Fixes NB#54061.
8912 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * src/hildon-helper.c: Correcting tabs in file.
8916 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8918 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8919 control the visibility of the children.
8921 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8923 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8929 * debian/changelog: Updating.
8931 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-bread-crumb-trail.c:
8934 (hildon_bread_crumb_trail_size_allocate):
8936 Make the back button always a square.
8938 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8940 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8941 from the .c file as it's a private file.
8943 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8946 uses slightly bigger height.
8948 * src/hildon-font-selection-dialog.c: Adding some checks before
8949 freeing memory in the font selection dialog.
8951 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * src/hildon-font-selection-dialog.c: Adding a small check when
8956 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8957 buttons sensitivity on page switching.
8959 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8962 internal details of adding a bread crumb to the trail.
8964 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * debian/changelog: Updating.
8972 * src/hildon-bread-crumb-trail.h:
8973 * src/hildon-bread-crumb.h: Changing the API guard to
8974 HILDON_ENABLE_UNSTABLE_API.
8976 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * src/hildon-helper.h: Updating.
8986 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * src/hildon-helper.h: Small fix to make the package actually compile.
9000 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-bread-crumb-trail.h:
9003 * src/hildon-bread-crumb.h:
9005 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9006 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9008 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9010 * examples/hildon-bread-crumb-trail-example.c:
9012 * src/hildon-bread-crumb-trail.c:
9013 * src/hildon-bread-crumb-trail.h:
9014 * src/hildon-bread-crumb.c:
9015 * src/hildon-bread-crumb.h:
9016 * src/hildon-marshalers.list:
9017 * src/hildon-bread-crumb-widget.c:
9018 * src/hildon-bread-crumb-widget.h:
9020 Slight change in the widget design. The bread crumb trail API is
9021 unchanged, but HildonBreadCrumb is now an interface. A *private*
9022 implementation, hildon-bread-crumb-widget, is provided and used
9023 internally by the trail for the push_text/push_icon functions.
9025 The generic push API is still available, so anyone can implement
9026 and use its own bread crumb widget.
9028 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9030 * debian/rules: Fixing the shlibs.
9032 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * src/hildon-banner.c: Fixing a problem with timed banners having
9035 their parrent destroyed before they are.
9037 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9039 * src/hildon-bread-crumb.c:
9040 * src/hildon-bread-crumb.h:
9042 Make the get_natural_size function a vfunc.
9044 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9046 * src/hildon-bread-crumb.c:
9047 * src/hildon-bread-crumb-trail.c:
9051 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * debian/changelog: Updating for release.
9060 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9063 don't leak the pango layout.
9065 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9068 * examples/hildon-bread-crumb-trail-example.c:
9072 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * debian/changelog: Removing the bug-fixed entries that were actually
9075 resolved as WONTFIX.
9077 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9080 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9082 * src/hildon-bread-crumb-trail.c:
9083 * src/hildon-bread-crumb-trail.h:
9084 * src/hildon-bread-crumb.c:
9085 * src/hildon-bread-crumb.h:
9089 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9091 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9092 until it's passed the type check.
9094 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9096 * examples/hildon-bread-crumb-trail-example.c
9100 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9102 * examples/Makefile.am
9103 * examples/hildon-bread-crumb-trail-example.c
9105 * src/hildon-bread-crumb-trail.c
9106 * src/hildon-bread-crumb-trail.h
9107 * src/hildon-bread-crumb.c
9108 * src/hildon-bread-crumb.h
9110 New HildonBreadCrumbTrail widget.
9112 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9114 * src/hildon-range-editor.c (hildon_range_editor_init),
9115 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9116 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9117 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9118 hildon_time_editor_class_init, hildon_time_editor_init),
9119 src/hildon-get-password-dialog.c (invalid_input,
9120 hildon_get_password_set_property, hildon_get_password_get_property,
9121 create_contents, hildon_get_password_dialog_set_max_characters),
9122 src/hildon-set-password-dialog.c (create_contents),
9123 src/hildon-date-editor.c (hildon_date_editor_init),
9124 src/hildon-login-dialog.c (hildon_login_dialog_init),
9125 src/hildon-number-editor.c (hildon_number_editor_init),
9126 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9127 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9128 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9129 configure option and adding the respective checks in the code.
9130 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9131 hildon_calendar_drag_data_received): fixed some build warnings.
9133 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * debian/changelog: A 1.0.0 release notes.