1 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: postrelease version bump.
4 * debian/changelog: post release version bump
6 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-07-16 Alejandro G. Castro <alex@igalia.com>
16 * hildon/hildon-text-view.c,
17 (hildon_text_view_button_press_event): Grabbed the focus in button
18 press, this way we are sure the widget has the focus in the
19 release event, required for HIM.
21 Fixes: NB#121445 (Virtual keyboard opening is not working in same
22 way for each text entry field)
24 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
26 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
27 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
28 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
29 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
30 (hildon_pannable_area_[gs]et_center_on_child_focus)
31 Redefined GtkContainer set-focus-child signal, in order to center
32 properly on a child when it receives the focus. Defined a new property
33 "center-on-child-focus" in order to activate this feature (deactivated
34 by default). Public get/set methods defined to manage the property.
36 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
38 2009-07-14 László Pere <lpere@blumsoft.eu>
40 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
41 the new size is applied.
43 Fixes: NB#124510 (The Application Menu is distorted when switched
44 between portrait and landscape mode)
45 Fixes: NB#115388 (Power key menu does not resize itself)
47 2009-07-01 Alberto Garcia <agarcia@igalia.com>
49 * hildon/hildon-banner.c (hildon_banner_map):
50 Set banner position after mapping.
52 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
54 * configure.ac: postrelease version bump.
55 * debian/changelog: post release version bump
57 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
62 * configure.ac: Bump version.
63 * debian/changelog: Updates.
65 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
67 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
70 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
72 * tests/check-hildon-banner.c
75 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
76 were testing deprecated functions.
77 * examples/hildon-banner-example.c: typo on button3 type, that causes
78 a fail compiling with --with-examples but without --disable-deprecated
80 Missed commit in order to fix compilation using '--enable-fatal' and
81 '--disable-deprecated' (see previous commit)
83 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
85 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
86 functions with #ifndef HILDON_DISABLE_DEPRECATED
87 * examples/hildon-find-toolbar.c: Protect deprecated
88 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
89 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
90 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
91 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
93 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
94 to allow proper compilation of deprecated functions defined on the header
96 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
98 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
101 Cache the panning indicator color.,
102 (hildon_pannable_area_style_set): Query the color on style changes.
103 (hildon_pannable_draw_vscroll),
104 (hildon_pannable_draw_hscroll),
105 (hildon_pannable_area_expose_event): Use the cached panning indicator
106 color instead of looking it up on every expose and more.
108 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
110 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
111 (hildon_pannable_draw_hscroll),
112 (hildon_pannable_area_expose_event): Fix the panning indicator color,
113 so that it's "SecondaryTextColor", as desired.
115 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
117 * hildon/hildon-picker-dialog.c:
118 (selection_completed): take into account HILDON_UI_MODE_NORMAL
119 * hildon/hildon-touch-selector.c
120 (hildon_touch_selector_init): Initialize hildon-ui-mode
121 (hildon_touch_selector_row_activated): new callback for the
122 "row-activated" signal, in order to save the last activated
123 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
124 if the current hildon-ui-mode is coherent with the touch selector
125 (hildon_touch_selector_class_init)
126 (hildon_touch_selector_get_property)
127 (hildon_touch_selector_set_property)
128 Added "hildon-ui-mode" property
129 (disconnect_model_handlers): renamed to clean_column
130 (hildon_touch_selector_remove): use clean_column function
131 (_create_new_column): use the hildon-ui-mode to create the treeview, and
132 only select the first element on HILDON_UI_MODE_EDIT
133 (hildon_touch_selector_column_init): Initialize last_activate
134 (hildon_touch_selector_append_column): check that the touch selector
135 is coherent with the current hildon-ui-mode
136 (hildon_touch_selector_get_hildon_ui_mode)
137 (hildon_touch_selector_set_hildon_ui_mode)
138 Added a getter/setter for the hildon-ui-mode property
139 (hildon_touch_selector_get_last_activated_row): Added this method in
140 order to get the last activated row.
141 * examples/hildon-touch-selector-normal-mode-example.c
142 New example, that shows how to use the HildonTouchSelector in
143 HILDON_UI_MODE_NORMAL
145 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
146 Kristian Rietveld <kris@lanedo.com> advices
148 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
150 * hildon/hildon-time-selector.c: (update_format_policy): Do
151 not call update_format_dependant_columns() if not necessary.
152 (update_format_dependant_columns): Remove unnecessary check for
153 the number of columns.
155 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
157 * hildon/hildon-note.c (+hildon_note_constructor),
158 (hildon_note_class_init), (+hildon_note_set_padding),
159 (hildon_note_rebuild): Install a constructor where to set the
160 padding properties in the note, so that it actually works fine.
161 Use hildon_note_set_padding() for this, and also to set it during
164 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
166 * configure.ac: Bump GTK+ requirement to 2.14.3.
167 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
168 when using maemo-gtk to define proper margins for the notes.
170 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
171 with the dialog edge)
173 2009-06-24 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-banner.c
176 (hildon_banner_class_init):
178 (+hildon_banner_size_request):
179 Request always the full width of the screen.
180 (hildon_banner_realize)
181 (-hildon_banner_check_position, hildon_banner_map):
182 hildon_banner_check_position() is not needed in Hildon 2.2.
183 (-hildon_banner_reset_wrap_state)
184 (hildon_banner_constructor, hildon_banner_init):
185 Remove unnecessary calls to hildon_banner_reset_wrap_state()
186 (+banner_do_set_text)
187 (force_to_wrap_truncated):
188 Remove has_been_wrapped and has_been_truncated attributes.
189 (+reshow_banner, hildon_banner_real_show_information)
190 (hildon_banner_show_information_with_markup)
191 (hildon_banner_show_animation, hildon_banner_show_progress)
192 (hildon_banner_set_text, hildon_banner_set_markup):
193 Refactor code. Shrink banner vertically to use the minimum space
194 necessary everytime the text of the label is updated.
195 (screen_size_changed):
196 Call force_to_wrap_truncated() when the size of the screen
199 Fixes: NB#120500 (only device memory connect mmc in use info
200 banner is left aligned)
202 Fixes: NB#120613 (Size of HildonBanner varies depending on
203 previously opened banners)
205 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
207 * hildon/hildon-color-chooser.c
208 (hildon_color_chooser_pointer_motion): Take the widget allocation
211 Fixes: NB#124385 (Unable to select exact point in color mixing box
212 in color palette dialog)
214 2009-06-23 Alejandro G. Castro <alex@igalia.com>
216 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
217 (hildon_pannable_area_dispose)
218 (hildon_pannable_area_button_press_cb)
219 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
220 (hildon_pannable_area_button_release_cb)
221 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
222 New 'panning-started' and 'panning-finished' signals.
224 Fixes: NB#121732 (New feature request: Signal to pannable area
225 that informs when panning is stopped.)
227 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
229 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
230 instead of hardcoded colon.
232 Fixes: NB#124090 (New calendar wizard title is not using
233 ecdg_ti_caption_separator)
235 2009-06-22 David King <davidk@openismus.com>
237 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
238 constants and functions, as well as correct many typos throughout the
241 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
244 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
246 * configure.ac: postrelease version bump.
247 * debian/changelog: post release version bump
249 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
254 * configure.ac: Bump version.
255 * debian/changelog: Updates.
257 2009-06-18 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-window-stack.c
260 (hildon_window_stack_pop_and_push_list):
261 Prevent windows from having the same stack index
263 2009-06-18 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
266 Use the index of the previous window rather than the stack length
267 to calculate the new index.
271 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
273 * hildon/hildon-date-selector.c
274 (hildon_date_selector_select_current_date)
275 (hildon_date_selector_get_date)
276 (hildon_date_selector_select_day):
277 Update the documentation: uses always the range (1-31), as it is obvious
278 that the final one will depend on the month and the year, but globally
279 the range is this, in a similar GtkCalendar approach
280 (hildon_date_selector_get_date):
281 Update the documentation: add NULL as a valid value for the day, month
284 Fix some details, after talk with David King on bug MB#4698
286 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
288 * hildon/hildon-touch-selector-entry.c
289 * hildon/hildon-touch-selector.c
290 Update the documentation of the "text-column" property
292 2009-06-18 David King <davidk@openismus.com>
294 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
295 several typos and errors throughout the documentation.
297 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
300 2009-06-18 Alberto Garcia <agarcia@igalia.com>
302 * hildon/hildon-note.c (hildon_note_realize):
303 Make HildonNote support portrait mode.
305 Fixes: NB#123448 (HildonNote is not portrait-friendly)
307 2009-06-17 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
310 Document this function
312 2009-06-17 David King <davidk@openismus.com>
314 * hildon/hildon-date-selector.c
315 (hildon_date_selector_select_current_date)
316 (hildon_date_selector_get_date): Update documentation regarding days,
317 as the day of the month is dependent on both the month and the year.
318 (hildon_date_selector_get_date): Fix documentation of output arguments.
320 Fixes: MB#4698 (DateSelector documentation has bad output argument
321 description, and the day depends on both the month and the year)
323 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
325 * hildon/hildon-caption.c: Other documentation fixes to
328 2009-06-17 David King <davidk@openismus.com>
330 * hildon/hildon-caption.c: Minor documentation updates for
331 HildonCaption. Fixes MB#4697.
333 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
335 * doc/hildon-docs.sgml: Add hildon-version section.
336 * doc/hildon-sections.txt:
337 * hildon/hildon-version.h.in: Document versioning macros and
340 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
342 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
343 from HildonPickerDialog section.
345 2009-06-16 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-banner.c (hildon_banner_bind_style)
348 (screen_size_changed, hildon_banner_init)
349 (hildon_banner_real_show_information)
350 (hildon_banner_show_information_with_markup)
351 (hildon_banner_show_animation, hildon_banner_show_progress):
352 Set a different widget name to banners in portrait mode, for them
353 to be themed correctly.
355 2009-06-16 Alberto Garcia <agarcia@igalia.com>
357 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
358 Set a different widget name to notes in portrait mode, for them to
361 Partially fixes: NB#118401 (HildonNote causes unnecessary
364 2009-06-16 Alberto Garcia <agarcia@igalia.com>
366 * hildon/hildon-note.c (hildon_note_class_init)
367 (+hildon_note_size_request, screen_size_changed):
368 Always request the full width of the screen.
370 Fixes: NB#118375 (unnecessary rescaling of images)
372 2009-06-16 Alejandro G. Castro <alex@igalia.com>
374 * hildon/hildon-pannable-area.c,
375 (hildon_pannable_area_init),
376 (hildon_pannable_area_realize): Replaced old code adding flags in
377 the object init, now we add it with the other flags in the realize
380 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
382 * hildon/hildon-note.c: (hildon_note_class_init): Several
383 documentation improvements to the HildonNote widget.
385 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
387 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
389 Fixes: MB#4556 (HildonNoteType is undocumented)
391 2009-06-15 Alberto Garcia <agarcia@igalia.com>
393 * hildon/hildon-picker-button.c:
394 Explain how HildonPickerButton sets the title of its dialog
396 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
397 the title of its dialog)
399 2009-06-15 Alberto Garcia <agarcia@igalia.com>
401 * hildon/hildon-check-button.c:
402 Documentation updates
404 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
407 2009-06-15 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-edit-toolbar-private.h
411 * hildon/hildon-edit-toolbar.c
412 (+hildon_edit_toolbar_set_progress_indicator)
413 (hildon_edit_toolbar_init): Add progress indicator to the
416 * hildon/hildon-gtk.c
417 (hildon_gtk_window_set_progress_indicator):
418 If the window contains a HildonEditToolbar, enable the progress
421 * hildon/hildon-private.h
422 * hildon/hildon-private.c
423 (+hildon_private_create_animation)
424 * hildon/hildon-banner.c
425 (-hildon_banner_create_animation):
426 Moved to hildon-private.c
428 Fixes: NB#102373 (Progress indicator also for the Edit mode
431 2009-06-15 Alberto Garcia <agarcia@igalia.com>
433 * hildon/hildon-app-menu-private.h
434 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
435 (hildon_app_menu_add_filter, +menu_item_button_event)
436 (hildon_app_menu_button_release, hildon_app_menu_init):
437 Make sure that buttons receive 'button-release-event' in spite of
438 the grab held by HildonAppMenu
440 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
442 2009-06-15 Alberto Garcia <agarcia@igalia.com>
444 * hildon/hildon-app-menu.c
445 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
446 New style property to set the size of the group of filter buttons.
448 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
450 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
455 * configure.ac: Bump version.
456 * debian/changelog: Updates.
458 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
460 * hildon/hildon-main.c: Minor documentation fixes.
462 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
464 * doc/hildon-sections.txt:
465 * hildon/hildon-defines.h: Document the defines, organize them,
466 and mark deprecations as such.
468 Fixes: MB#4463 (Hildon size #defines are undocumented)
470 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
472 * hildon/hildon-animation-actor.c:
473 * hildon/hildon-app-menu.c:
474 * hildon/hildon-button.c:
475 * hildon/hildon-date-editor.c:
476 * hildon/hildon-dialog.c:
477 * hildon/hildon-edit-toolbar.c:
478 * hildon/hildon-entry.c:
479 * hildon/hildon-program.c:
480 * hildon/hildon-remote-texture.c:
481 * hildon/hildon-stackable-window.c:
482 * hildon/hildon-text-view.c:
483 * hildon/hildon-touch-selector.c:
484 * hildon/hildon-window-stack.c:
485 * hildon/hildon-window.c:
487 Remove redundant "represents" wording from most of the documentation.
489 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
491 2009-06-12 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-banner-private.h
497 * hildon/hildon-banner.c:
498 Move HildonBannerPrivate to hildon-banner.c and remove
499 hildon-banner-private.h
500 Use a bit field to store private booleans.
502 2009-06-12 Alberto Garcia <agarcia@igalia.com>
504 * hildon/hildon-app-menu.c (hildon_app_menu_map):
505 Don't install a new idle function if there's already one
510 2009-06-11 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
513 (+legacy_menu_realized, +legacy_menu_unmapped)
514 (+set_legacy_menu_type):
515 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
516 they can be identified by the window manager.
518 Fixes: NB#101437 (Invoking CSM on the left side of page area is
519 displayed in wrong location)
521 Fixes: MB#4563 (Popup menu won't locate at the left side of the
524 2009-06-11 Alberto Garcia <agarcia@igalia.com>
526 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
528 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
531 2009-06-11 Alberto Garcia <agarcia@igalia.com>
533 * hildon/hildon-code-dialog.c
534 * hildon/hildon-date-editor.c
535 * hildon/hildon-number-editor.c
536 * hildon/hildon-seekbar.c
537 * hildon/hildon-stackable-window.c
538 * hildon/hildon-window.c:
539 Misc documentation updates
541 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
543 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
544 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
546 Fixes: NB#117931 (Theming issues in accounts dialogs)
548 2009-06-09 Alejandro G. Castro <alex@igalia.com>
550 * hildon/hildon-pannable-area.c,
551 (hildon_pannable_area_button_release_cb): Changed the coordinates
552 of the original release in case we want to discard the release,
553 some widgets in Fremantle do not handle the leave-notify.
555 2009-06-09 Alejandro G. Castro <alex@igalia.com>
557 * hildon/hildon-pannable-area.c,
558 (hildon_pannable_area_button_release_cb): Reviewed the logic of
559 the release using the last refactored functions and avoiding the
560 movement if an element was selected.
562 2009-06-09 Alejandro G. Castro <alex@igalia.com>
564 * hildon/hildon-pannable-area.c,
565 (hildon_pannable_area_check_move),
566 (hildon_pannable_area_handle_move),
567 (hildon_pannable_area_motion_notify_cb): Refactored the
568 motion_notify method using a couple of new functions.
570 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-date-selector.c:
573 (hildon_date_selector_construct_ui):
574 * hildon/hildon-time-selector.c:
575 (hildon_time_selector_constructor):
576 * hildon/hildon-touch-selector-entry.c:
577 (hildon_touch_selector_entry_set_text_column),
578 (hildon_touch_selector_entry_get_text_column):
579 * hildon/hildon-touch-selector.c: (_default_print_func),
580 (hildon_touch_selector_new_text): Use
581 hildon_touch_selector_set/get_text_column() instead of
582 setting/getting the "text-column" property.
584 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
586 * doc/hildon-sections.txt: Add the new public methods below.
588 * examples/hildon-picker-button-multicolumn-example.c:
589 (create_touch_selector):
590 * examples/hildon-touch-selector-example.c: (create_selector):
591 * examples/hildon-touch-selector-multi-cells-example.c:
593 Use hildon_touch_selector_column_set_text_column()
595 * hildon/hildon-touch-selector-column.h:
596 * hildon/hildon-touch-selector.c:
597 (hildon_touch_selector_column_set_text_column),
598 (hildon_touch_selector_column_get_text_column):
599 Make hildon_touch_selector_column_set/get_column() public, use
600 them in the inline example, document them, and reference to them
603 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-time-selector.c: Fix the docs for
606 hildon_time_selector_new_step().
608 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
610 * hildon/hildon-touch-selector.c: Improve the documentation for
611 hildon_touch_selector_append_column().
613 Fixes MB#4641 (Documentation:
614 hildon_touch_selector_append_column() ref-counting)
616 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
618 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
619 Comment out test 5, since the hildon_controlbar_set_range() range
620 check is broken and fixing it would have side effects. Also,
621 this finally fixes make distcheck.
623 Fixes: NB#101420 (Update unit tests and fix make distcheck)
625 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
627 * tests/TEST-CASES.txt: Remove other bogus test.
628 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
629 Remove bogus test that was setting/retrieving a valid value.
631 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
633 * tests/TEST-CASES.txt: Remove bogus tests.
634 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
635 Remove three bogus tests that were actually setting valid colors.
637 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: post release version bump
640 * debian/changelog: post release version bump
642 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
647 * configure.ac: Bump version.
648 * debian/changelog: Updates.
650 2009-06-08 Christian Dywan <christian@lanedo.com>
654 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
655 Correct errors in hildon_format_file-size_for_display and use
656 translations from the hildon-fm package instead of osso-filemanager.
658 2009-06-08 Alejandro G. Castro <alex@igalia.com>
660 * hildon/hildon-pannable-area.c,
661 (hildon_pannable_area_init): Initialized new values to handle the
663 (hildon_pannable_area_adjust_value_changed): Check if the values
664 changed before even call the redraw function.
665 (hildon_pannable_area_size_allocate),
666 (hildon_pannable_axis_scroll),
667 (hildon_pannable_area_scroll),
668 (hildon_pannable_area_jump_to): Improved the diagonal movement
671 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
674 2009-06-08 Alberto Garcia <agarcia@igalia.com>
676 * examples/hildon-banner-example.c:
677 Several style updates
678 (on_animation_clicked, on_animation_idle)
679 (on_progress_clicked, on_progress_idle):
680 Add additional reference for the cases when the parent window is
683 2009-06-08 Alberto Garcia <agarcia@igalia.com>
685 * doc/hildon-sections.txt
686 * hildon/hildon-pannable-area.c
687 * hildon/hildon-banner.h
688 * hildon/hildon-banner.c: Documentation updates.
690 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
693 2009-06-05 Alejandro G. Castro <alex@igalia.com>
695 * hildon/hildon-calendar-popup.h:
696 * hildon/hildon-caption.h:
697 * hildon/hildon-code-dialog.h:
698 * hildon/hildon-controlbar.h:
699 * hildon/hildon-date-editor.h:
700 * hildon/hildon-dialog.h:
701 * hildon/hildon-get-password-dialog.h:
702 * hildon/hildon-hvolumebar.h:
703 * hildon/hildon-login-dialog.h:
704 * hildon/hildon-note.h:
705 * hildon/hildon-number-editor.h:
706 * hildon/hildon-range-editor.h:
707 * hildon/hildon-seekbar.h:
708 * hildon/hildon-set-password-dialog.h:
709 * hildon/hildon-sort-dialog.h:
710 * hildon/hildon-time-editor.h:
711 * hildon/hildon-time-picker.h:
712 * hildon/hildon-volumebar-range.h:
713 * hildon/hildon-volumebar.h:
714 * hildon/hildon-vvolumebar.h:
715 * hildon/hildon-weekday-picker.h:
716 * hildon/hildon-window.h:
717 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
718 macros with the current replacements
720 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
722 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
724 * hildon/hildon-color-button.c (hildon_color_button_init): Use
725 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
726 itself, to make it fit better with Fremantle style.
728 Fixes: NB#109878 (height and width of focus on color icon is not
729 consistent with other item in the application tool bar)
731 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
733 * hildon/hildon-touch-selector.c:
734 (hildon_touch_selector_optimal_size_request): use the current requisition
735 as the base, in order to include any possible extra widget, like the
736 hildon entry on HildonTouchSelectorEntry
738 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
740 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: post release version bump
743 * debian/changelog: post release version bump
745 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
750 * configure.ac: Bump version.
751 * debian/changelog: Updates.
753 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
755 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
757 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
758 to ensure the banner contents are centered, instead of relying on
759 the expand and fill properties in GtkHBox.
760 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
762 Fixes: NB#108265 (Animation banner not properly centered)
764 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
766 * hildon/hildon-pannable-area.c
767 (hildon_pannable_area_initial_effect): Remove the initial_effect
768 management, check initial_hint
769 (hildon_pannable_are_expose_event): Remove the initial_hint management,
770 set initial_effect to FALSE
771 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
772 by launching the fade_timeout if the scrollbars state has changed and are
774 * examples/hildon-pannable-area-initial-hint-example.c
775 Modified to allow to remove rows too. Add and remove rows one by one.
777 2009-05-28 Alberto Garcia <agarcia@igalia.com>
779 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
780 Don't close the menu if there's an animation actor below it.
782 Fixes: NB#117927 (Application menu not usable with animation
785 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
788 "focus-on-click" from the dialog button, to avoid stealing the
789 focus from the entry.
791 Fixes: NB#118903 (Account setup wizard: Text in Search field
792 should be focused when "Region" touch list picker is reopened
795 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
797 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
798 (prepare_action_area): Completely hide the dialog separator.
800 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
802 * hildon/hildon-touch-selector-entry.c
803 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
804 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
805 now that the entry is exposed.
807 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
809 * hildon/hildon-touch-selector-entry.c
810 (hildon_touch_selector_entry_init): Change the entry's size
811 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
813 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
815 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
816 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
817 avoid unnecessary scaling.
819 2009-05-27 Alberto Garcia <agarcia@igalia.com>
821 * hildon/hildon-app-menu.c (hildon_app_menu_map):
822 Create grab transfer window before calling parent's map function.
824 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
825 "crushed" button(s) in the top left corner)
827 2009-05-26 Alberto Garcia <agarcia@igalia.com>
829 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
830 Check if the window is already realized when pushing it.
832 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
834 * configure.ac: post release version bump
835 * debian/changelog: post release version bump
837 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
842 * configure.ac: Bump version.
843 * debian/changelog: Updates.
845 2009-05-25 Alberto Garcia <agarcia@igalia.com>
847 * hildon/hildon-app-menu.c: Doc updates.
849 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-banner.c: Remove leftover macro.
853 2009-05-25 Alejandro G. Castro <alex@igalia.com>
855 * hildon/hildon-pannable-area.c,
856 (hildon_pannable_area_scroll_indicator_fade),
857 (hildon_pannable_area_button_release_cb): Reviewed vmin
858 conditions, it could cause problems in the fadeout procedure.
860 2009-05-25 Alejandro G. Castro <alex@igalia.com>
862 * hildon/hildon-pannable-area.c
863 (hildon_pannable_area_button_release_cb): Added a threshold to
864 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
866 2009-05-25 Alejandro G. Castro <alex@igalia.com>
868 * hildon/hildon-pannable-area.c,
869 (hildon_pannable_area_set_property): Added code to sync the gtk
870 dnd threshold with the panning threshold.
872 2009-05-25 Alejandro G. Castro <alex@igalia.com>
874 * hildon/hildon-pannable-area.c,
875 (hildon_pannable_area_class_init): Changed some of the default
876 values, now it should be less responsive and more accurate.
878 2009-05-25 Alejandro G. Castro <alex@igalia.com>
880 * hildon/hildon-pannable-area.c,
881 (hildon_pannable_area_init),
882 (hildon_pannable_area_scroll_indicator_fade),
883 (hildon_pannable_area_button_press_cb),
884 (hildon_pannable_axis_scroll),
885 (hildon_pannable_area_timeout),
886 (hildon_pannable_area_motion_notify_cb),
887 (hildon_pannable_area_button_release_cb): Changed the name of the
888 clicked attribute to button_pressed, it is more clear about its use.
890 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
892 * src/hildon-pannable-area.c
893 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
895 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
896 vertical scrollbar visibility, and use the data on private section instead,
897 remove the initial_hint check
898 (hildon_pannable_area_expose_event): add the initial_hint check here
900 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
902 * src/hildon-pannable-area.c
903 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
904 if the fadeout effect was used
905 (hildon_pannable_area_expose_event): check if it is required to
906 manage the initial effect on the begining of the function. Previously
907 it was made at the end, but this doesn't ensure that the scrollbars
908 will be painted on the first show. Do not set to FALSE initial_effect,
909 to ensure that the initial hint is showed the first time the pannable
911 * examples/Makefile.am
912 * examples/hildon-pannable-area-initial-hint-example.c:
913 New example, to show that the initial-hint is showed when the widget
916 Fixes: NB#116607 (Pannable area should always have scrollbar visible
917 initially if the application can be scrolled)
919 2009-05-25 Alberto Garcia <agarcia@igalia.com>
921 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
922 Resize table before adding new items to make sure that
923 gtk_table_resize() is called just once.
925 2009-05-25 Alberto Garcia <agarcia@igalia.com>
927 * hildon/hildon-app-menu-private.h
928 * hildon/hildon-app-menu.c (item_visibility_changed)
929 (filter_visibility_changed, hildon_app_menu_show_all)
930 (hildon_app_menu_hide_all, hildon_app_menu_init):
931 Rearrange items just once when gtk_widget_show_all()/hide_all()
934 2009-05-25 Alberto Garcia <agarcia@igalia.com>
936 * hildon/hildon-app-menu.c
937 (hildon_app_menu_insert, hildon_app_menu_add_filter):
938 Don't call gtk_widget_show() on added items.
940 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
941 automatically when they're added)
943 2009-05-20 Alberto Garcia <agarcia@igalia.com>
945 * hildon/hildon-banner.c
946 (hildon_banner_realize, +hildon_banner_unrealize)
947 (+screen_size_changed, hildon_banner_class_init):
948 Redisplay the banner if the screen is rotated.
950 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
951 on transition from landscape to portrait)
953 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
955 * hildon/hildon-banner.[ch]:
956 (hildon_banner_show_information_override_dnd): remove icon_name from the
957 method definition as it is ignored.
958 * examples/hildon-banner-dnd-example.c: updated with the change on
961 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
963 * hildon/hildon-banner-private.h: new require_override_dnd and
964 overrides_dnd variables
965 * hildon/hildon-banner.h:
966 (hildon_banner_show_information_override_dnd): new method, that shows
967 the information but sets the override flag, in order to show important
969 * hildon/hildon-banner.c
970 (hildon_banner_show_information_override_dnd): new method
971 (hildon_banner_set_override_flag): new utility function
972 (hildon_banner_real_show_information): new utility function, in order to
973 generalize the current hildon_banner_show_information_override_dnd and
974 hildon_banner_show_information_override_dnd
975 * examples/Makefile.am
976 * examples/hildon-banner-dnd-example.c: New example that show how to
977 use the new hildon_banner_show_information_override_dnd
979 Fixes: NB#114874 (There is no possibility to show hildon banners with
982 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-pannable-area.c: Add a comment explaining the math
985 behind hildon_pannable_calculate_vel_factor().
987 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
989 * hildon/hildon-pannable-area.c
990 (hildon_pannable_calculate_vel_factor): Correct the sum of the
991 deceleration factors.
993 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
995 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
996 Reduce the default value for 'scroll_time' to 1 second, since the
997 current initial scrolling takes too much time.
999 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1001 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1002 calculate velocity factor during initialization, since the properties
1005 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1007 * hildon/hildon-pannable-area.c
1008 (hildon_pannable_area_set_property): Calculate the velocity factor
1009 after setting the deceleration property and not after.
1011 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1013 * hildon/hildon-entry.c
1014 (hildon_entry_class_init, +set_property, hildon_entry_new)
1015 * hildon/hildon-check-button.c
1016 (hildon_check_button_class_init)
1017 (+set_property, hildon_check_button_new):
1018 Make the theme size a property.
1020 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1021 others) do too much in the _new function)
1023 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1025 * configure.ac: post release version bump
1026 * debian/changelog: post release version bump
1028 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1033 * configure.ac: Bump version.
1034 * debian/changelog: Updates.
1036 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1038 * hildon/hildon-gtk.h
1039 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1040 New API function to take a screenshot of a window
1042 Fixes: NB#106374 (Need API to take a loading screenshot)
1044 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1046 * hildon/hildon-time-selector.c
1047 (update_format_policy): prevent to use hours and minutes unitialized
1049 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-window.c (hildon_window_size_request):
1052 Always request the full size of the screen (minus the title bar if
1053 not in fullscreen mode).
1055 Fixes: NB#107486 (HildonWindow should size itself properly)
1057 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1059 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1060 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1061 (on_show_cb), (sound_handling): Disconnect the idle handler for
1062 the sound when the note is finalized to avoid possible crashes.
1064 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1067 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1069 * src/hildon-animation-actor.c,
1070 * src/hildon-remote-texture.c:
1071 Added proper object cleanup to remove signal handler and object
1072 references as HildonAnimationActor and HildonRemoteTexture
1073 objects get destroyed.
1075 Fixes: NB#116682 (Destroying parented animation actors when
1076 parent in unmapped leads to crash)
1078 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1080 Based on a patch by Christian Dywan (christian@imendio.com)
1082 * doc/hildon-sections.txt:
1083 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1084 * hildon/hildon-helper.h: New file size formatting method.
1086 * debian/control: Depend on osso-filemanager l10n package for
1087 proper localization strings.
1089 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1091 * tests/Makefile.am: Include top_srcdir to make possible to build
1092 tests in a different builddir.
1093 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1094 on a different builddir.
1096 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1098 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1099 (hildon_touch_selector_remove): Disconnect model's signal handler
1102 Fixes: NB#116289 (Hildon home crashes while adding task
1105 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1107 * hildon/hildon-button.c
1108 (hildon_button_set_title, hildon_button_set_value):
1109 Hide labels containing an empty string.
1111 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1113 * configure.ac: post release version bump
1114 * debian/changelog: post release version bump
1116 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1121 * configure.ac: Bump version.
1122 * debian/changelog: Updates.
1124 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1126 * hildon/hildon-note-private.h: Removed sound_signal_handler
1127 * hildon/hildon-note.c
1128 (on_show_cb): new callback on note "show" event, this simply adds
1129 a idle, with the function sound_handling
1130 (sound_handling): removed the sound_signal_handler management
1131 (hildon_note_init): connect note "show" event to on_show_cb
1132 (hildon_note_realize): remove the connection to "expose-event"
1134 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1135 device?' confirmation note)
1137 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1139 * hildon/hildon-note.c
1140 (hildon_note_new_information_with_icon_name)
1141 (hildon_note_new_confirmation_with_icon_name):
1142 Terminate the list of parameters in g_object_set() calls
1144 Fixes: NB#115166 (Formatting memory card is not taking place)
1146 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1148 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1149 "dialog-information" role for the sound being played.
1151 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1153 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1154 Don't make the menu a modal window, it causes strange interactions
1155 with the pointer grab and it's not really needed.
1157 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1159 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1161 * hildon/hildon-touch-selector.[ch]
1162 (hildon_touch_selector_optimal_size_request): function added to get a
1163 optimal size request from the touch selector, when you want a dialog to
1164 show as much of the selector
1165 * hildon/hildon-picker-dialog.c:
1166 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1167 (hildon_app_menu_class_init):
1168 New "max-height-landscape" and "max-height-portrait" style properties
1169 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1170 (hildon_picker_dialog_get_max_height): returns the maximum height using
1171 the style properties defined and checking the current portrait/landscape
1173 (_hildon_picker_dialog_set_selector): removed the set_size_request
1175 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1177 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1179 * hildon/hildon-bread-crumb-trail.c:
1180 * hildon/hildon-bread-crumb.c:
1181 * hildon/hildon-seekbar.c:
1182 Add reference to replacements for these deprecated widgets.
1184 Fixes: MB#4461 (Documentation: All deprecations should mention
1187 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1189 * examples/hildon-remote-texture-example.c
1191 Change the include to the hildon-remote-texture in order to compile
1192 properly the examples on the installed libhildon1-examples package
1194 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1196 * tests/Makefile.am: Add check for HildonPickerButton.
1197 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1198 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1199 checks for the HildonPickerButton.
1200 * tests/check_test.c (configure_tests): Add the test suite.
1201 * tests/test_suites.h: likewise.
1203 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1205 * hildon/hildon-touch-selector.c
1206 (+on_row_changed): Emit HildonTouchSelector:changed when the
1207 contents of a selected row change.
1208 (_create_new_column), (_hildon_touch_selector_set_model): connect
1209 to GtkTreeModel:row-changed on a newly set model.
1211 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1213 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1215 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1217 * hildon/hildon-banner.c (hildon_banner_destroy)
1218 (hildon_banner_show_progress, hildon_banner_set_fraction):
1219 Remove the progress bar from HildonBanner and use a progress
1222 Fixes: NB#113761 (Update progress banner to use progress
1225 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1227 * hildon/hildon-banner.c:
1228 Calculate size of the banner label using the actual screen width
1229 rather than using a fixed value.
1231 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1234 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1236 * hildon/hildon-pannable-area.c,
1237 (hildon_pannable_area_class_init): Fixed signals documentation
1240 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1242 * configure.ac: post release version bump
1243 * debian/changelog: post release version bump
1245 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1250 * configure.ac: Bump version.
1251 * debian/changelog: Updates.
1253 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1255 * hildon/hildon-edit-toolbar.c
1256 (hildon_edit_toolbar_init):
1257 Don't let buttons in HildonEditToolbar receive focus.
1259 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1260 typing on an HW arrows key)
1262 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1264 * doc/Makefile.am: Fix build.
1266 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1268 * doc/Makefile.am: Do not redefine content_files.
1270 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1278 Renamed src/ to hildon/
1283 Include <hildon/hildon.h> directly in all examples.
1285 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1287 * src/hildon-sort-dialog.c
1288 (hildon_sort_dialog_add_sort_key_with_sorting)
1292 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1294 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1295 make distcheck passes.
1297 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1299 * Makefile.am: Enable gtk-doc during distcheck.
1301 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1303 * Makefile.am: Do not distribute the debian/ directory.
1305 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1307 * doc/Makefile.am: Add the extra SGML files to content_files,
1308 so that they are distributed properly.
1310 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1312 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1315 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1317 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1318 (hildon_note_new_information_with_icon_name): Set the "icon" property
1319 to preserve soundness.
1321 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1323 * src/hildon-font-selection-dialog.c
1324 (hildon_font_selection_dialog_set_property): Fail when the "family"
1325 property is set to NULL.
1327 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1329 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1332 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1334 * src/hildon-time-selector.h:
1335 Added HildonTimeSelectorFormatPolicy
1336 * src/hildon-time-selector.c:
1337 Added PROP_TIME_FORMAT_POLICY
1338 (_check_ampm_format): renamed to check_automatic_ampm_format
1339 (update_format_policy), (update_format_dependant_columns): new functions
1340 (hildon_time_selector_class_init)
1341 (hildon_time_selector_contructor)
1342 (hildon_time_selector_init)
1343 (hildon_time_selector_get_property)
1344 (hildon_time_selector_set_property)
1345 (hildon_time_selector_get_time)
1346 (hildon_time_selector_set_time)
1347 * src/hildon-touch-selector.h: new file
1348 * src/hildon-touch-selector.c
1349 (hildon_touch_selector_emit_changed)
1350 (hildon_touch_selector_block_changed)
1351 (hildon_touch_selector_unblock_changed)
1352 Added functions to allow to block the emission of the "changed" signal
1353 * src/hildon-picker-dialog.c
1354 (hildon_picker_dialog_show): call the parent show before the custom code
1355 * examples/hildon-time-button-example.c
1356 Modified, so now you can configure the time format using the new property
1358 Added a new property "time-format-policy" that allow to choose the time
1359 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1360 case it uses gconf in order to check if the time selector must use
1363 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1366 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-note.c (hildon_note_init):
1369 Label in HildonNote must be left aligned, not centered. This
1370 reverts the last commit in HildonNote.
1372 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1373 is connectivity dialog)
1375 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1380 * doc/hildon-sections.txt:
1381 Added hildon_gtk_window_set_do_not_disturb()
1383 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1385 * src/hildon-note.c (hildon_note_init): Center label.
1387 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1390 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1395 * configure.ac: Bump version.
1396 * debian/changelog: Updates.
1398 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-note-private.h: Add button-width to the private data.
1401 * src/hildon-note.c (+resize_button),
1402 (+hildon_note_orientation_update): methods to repack widgets on orientation
1404 (screen_size_changed): Call above method for confirmation notes.
1405 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1406 (hildon_note_rebuild): Store the original width request from buttons.
1408 Fixes: NB#109635 (Confirmation notes do not support portrait)
1410 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1413 when it is a progress note.
1415 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1418 in the note, since there are no horizontally arranged contents.
1420 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1422 * src/hildon-gtk.c (+set_flag): new generic method to
1423 set/delay a flag setting in a window.
1424 (hildon_gtk_window_set_progress_indicator):
1425 (hildon_gtk_window_set_do_not_disturb),
1426 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1427 avoid code redundance.
1429 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1431 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1433 * src/hildon-gtk.c (set_clear_window_flag),
1434 (do_set_progress_indicator), (do_set_do_not_disturb),
1435 (do_set_portrait_flags),
1436 (hildon_gtk_window_set_progress_indicator),
1437 (hildon_gtk_window_set_do_not_disturb),
1438 (hildon_gtk_window_set_portrait_flags):
1439 Allow setting dnd-flag, progress indicator, and portrait flags
1440 when the window is not realized.
1442 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1444 * src/hildon-pannable-area.c,
1445 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1446 the size request policy function and defines.
1448 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1450 * doc/hildon-sections.txt: Add the new API.
1451 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1452 method to set the portrait flags.
1453 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1455 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1457 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1460 to allow using this method with other flags.
1461 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1462 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1464 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-touch-selector.c
1467 (hildon_touch_selector_append_text_column):
1468 Make the cell renderer use the smallest width possible.
1470 Fixes: NB#108470 (Selected items in multiple selection are either
1471 having a tick that is cut or not visible at all.)
1473 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1475 * src/hildon-touch-selector.c
1476 (hildon_touch_selector_append_text_column):
1479 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1482 Use g_strdup_printf() instead of a fixed size buffer.
1484 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1486 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1487 Close banners when a HildonAppMenu is popped up.
1489 Fixes: NB#111027 (Title menu closed immediately if activated when
1490 "Invalid e-mail address" banner is shown)
1492 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1497 * configure.ac: Bump version.
1498 * debian/changelog: Updates.
1500 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-banner.c (hildon_banner_realize):
1503 Mark HildonBanner as supporting portrait mode.
1504 Use GDK to set window properties insetad of direct Xlib calls.
1506 Fixes: NB#111830 (HildonBanner should be marked as supporting
1509 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-note.c (hildon_note_rebuild):
1512 Hide action area in information notes. Prevents text from being
1513 slightly aligned to the left.
1515 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1518 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1520 Patch by Mox Soini (ext-mox.soini@nokia.com)
1522 * src/hildon-banner.c (hildon_banner_create_animation):
1523 Use stylus-sized icons in animation banner.
1525 Fixes: NB#111206 (stylus sized icon for animation banner)
1527 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1531 (+hildon_gtk_window_set_do_not_disturb):
1532 New API to set the do-not-disturb flag.
1534 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1536 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1538 * examples/hildon-progress-indicator-example.c: Fix example
1540 * src/hildon-gtk.c (set_clear_window_flag)
1541 (hildon_gtk_window_set_progress_indicator):
1542 Create a generic function for setting flags to a window.
1543 Use GDK instead of direct Xlib calls.
1545 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-button.c (hildon_button_set_arrangement):
1548 Due to NB#88126, if one of the labels is too long it will be
1549 painted outside the button. The 'value' label is more likely to be
1550 the longest one, so we change its packing options in order to
1551 truncate it if necessary. As a side effect, the 'title' label will
1552 no longer be truncated.
1554 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1556 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1561 * configure.ac: Bump version.
1562 * debian/changelog: Updates.
1564 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1566 Deprecation of the hildon_pannable_area_set_size_request_policy
1567 API, the only policy properly supported in gtk+ nowadays is the
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_size_request): Added a workaround for the
1572 size_request to avoid the problems of huge pixmaps in case someone
1573 is still using the function.
1574 * src/hildon-pannable-area.h: Deprecated the enum with the
1577 Fixes: NB#110244 (Problems with the
1578 hildon_pannable_area_set_size_request_policy API)
1580 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1582 * src/hildon-pannable-area.c,
1583 (hildon_pannable_area_init),
1584 (hildon_pannable_area_size_request),
1585 (hildon_pannable_area_style_set),
1586 (hildon_pannable_draw_vscroll),
1587 (hildon_pannable_draw_hscroll),
1588 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1589 indicator_width to clarify the use of the attribute.
1591 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1596 * configure.ac: Bump version.
1597 * debian/changelog: Updates.
1599 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1601 * src/hildon-picker-dialog.c
1602 * src/hildon-touch-selector.c
1603 Reverting the change that tried to avoid the hardcoded height on
1604 the picker dialog, as causes problems on the hildon-touch-selector
1607 Fixes: NB#110029 (selectors not scrolling to selected value)
1609 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-touch-selector.c: Fix typos
1613 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1616 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1617 request more motions after using it.
1619 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-calendar.c (hildon_calendar_expose),
1622 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1623 Remove unused variables.
1625 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1627 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1628 variable assignment.
1630 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1633 Check the return value of gtk_tree_selection_get_selected()
1636 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-animation-actor.c
1639 * src/hildon-button.c
1641 * src/hildon-pannable-area.c
1642 * src/hildon-picker-button.c
1643 * src/hildon-program.c
1644 * src/hildon-remote-texture.c
1645 * src/hildon-text-view.c
1646 * src/hildon-touch-selector.c
1647 * src/hildon-window-stack.c
1648 * src/hildon-window.c:
1649 Add missing 'Since: 2.2' tags.
1651 * doc/hildon-sections.txt:
1652 Add some missing symbols.
1654 * doc/hildon-docs.sgml:
1655 New 'Other' section for HildonAnimationActor and
1658 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1660 Patch by Iván Gómez (igomez@igalia.com)
1663 * doc/compiling.sgml
1664 * doc/hildon-docs.sgml
1665 * doc/hildon-sections.txt
1666 * doc/migration.sgml
1667 * doc/resources.sgml
1669 New chapters on using the Hildon library.
1670 Updated the general structure of the reference manual.
1671 Other minor documentation fixes.
1673 * src/hildon-calendar-popup.c
1674 * src/hildon-calendar.c
1675 * src/hildon-controlbar.c
1676 * src/hildon-date-editor.c
1677 * src/hildon-dialog.c
1678 * src/hildon-hvolumebar.c
1679 * src/hildon-number-editor.c
1680 * src/hildon-range-editor.c
1681 * src/hildon-sort-dialog.c
1682 * src/hildon-time-editor.c
1683 * src/hildon-time-picker.c
1684 * src/hildon-volumebar-range.c
1685 * src/hildon-volumebar.c
1686 * src/hildon-vvolumebar.c
1687 * src/hildon-weekday-picker.c:
1688 Add deprecation notes
1690 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1691 Document 'horizontal-movement' and 'vertical-movement' signals.
1693 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1698 * configure.ac: Bump version.
1699 * debian/changelog: Updates.
1701 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1703 * src/hildon-pannable-area.c,
1704 (hildon_pannable_area_class_init): increased the minimum velocity.
1705 (hildon_pannable_area_button_release_cb): Updated the
1706 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1707 setup. Review the code to control that last event.
1709 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1712 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1714 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1716 * src/hildon-get-password-dialog.c
1717 (hildon_get_password_set_property),
1718 (hildon_get_password_get_property), (create_contents):
1719 * src/hildon-login-dialog-private.h:
1720 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1721 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1722 (hildon_login_dialog_get_password):
1723 * src/hildon-set-password-dialog-private.h:
1724 * src/hildon-set-password-dialog.c
1725 (hildon_set_password_set_property),
1726 (hildon_set_password_get_property), (create_contents),
1727 (hildon_set_password_response_change),
1728 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1730 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1731 instead and look more Fremantle style.
1733 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1735 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1737 * doc/hildon-sections.txt
1738 * src/hildon-window-stack.h
1739 * src/hildon-window-stack.c
1740 (+hildon_window_stack_get_windows):
1741 New API to obtain the list of windows on a stack.
1743 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-app-menu.c (hildon_app_menu_popup)
1746 (hildon_app_menu_class_init, -hildon_app_menu_show):
1747 Remove hildon_app_menu_show() and move all its checks to
1748 hildon_app_menu_popup()
1750 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1752 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1753 (_hildon_picker_dialog_set_selector): removed call to
1754 gtk_widget_set_size_request
1755 * src/hildon-touch-selector.c
1756 (_create_new_column): change the pannable size request policy
1758 Avoid to use a hardcoded height for the hildon picker dialog. In order
1759 to get that, we needed to change the hildon pannable size request
1761 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1763 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1766 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1769 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1771 * debian/control: Depend on osso-system-lock localization package.
1772 * src/hildon-code-dialog.c: Obtain the secu_application_title
1773 translation from osso-system-lock.
1774 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1775 for translation the atk related strings, that's not necessary.
1776 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1777 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1778 cancel button, it is not required.
1780 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1782 * src/hildon-pannable-area.c,
1783 (hildon_pannable_area_class_init): Modified the default value of
1784 the overshooting max speed, we have reduced it.
1786 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1788 * doc/hildon-sections.txt
1789 * src/hildon-window-private.h
1790 * src/hildon-window.h
1791 * src/hildon-window.c (hildon_window_class_init)
1792 (hildon_window_init, hildon_window_finalize)
1793 (hildon_window_realize, hildon_window_get_property)
1794 (hildon_window_set_property, hildon_window_update_markup)
1795 (hildon_window_get_markup, hildon_window_set_markup):
1796 New "markup" property and hildon_window_{get,set}_markup() methods.
1798 * examples/hildon-stackable-window-example.c (new_window):
1799 Update example to use hildon_window_set_markup()
1801 Fixes: NB#106375 (Need API to retitle a window with a title
1804 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_class_init): Changed the default value of
1808 the initial_hint to TRUE.
1809 (hildon_pannable_area_initial_effect): Changed the initial effect,
1810 not the effect is just the fade-out of the scrollbars.
1812 Fixes: NB#107775 (No scrollbars can be seen when several items are
1813 available in a dialog)
1815 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1817 * src/hildon-program.c (hildon_program_update_top_most):
1820 Fixes: NB#109179 (Memory leak in Hildon program)
1822 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-banner.c (-get_current_app_window):
1825 Remove unused function.
1827 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1829 * src/hildon-pannable-area.c: Modified the documentation of the
1830 get adjustments functions to explain the problem of using the
1831 adjustment directly.
1832 (hildon_pannable_area_class_init): Improved the explanation about
1835 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-app-menu-private.h
1838 * src/hildon-app-menu.c
1839 (hildon_app_menu_class_init):
1840 Bring back the 'external-border' style property
1841 (hildon_app_menu_class_init, hildon_app_menu_init)
1842 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1843 Set a fixed width-request for the menu, independent of the number
1846 Fixes: NB#94957 (Smoothly opened application menu)
1848 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1852 * src/hildon-banner.c
1853 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1855 Make sure that the banner is correctly placed the first time it's
1857 (hildon_banner_check_position, -check_fullscreen_state):
1858 Show the banner in the same place no matter if the window is in
1859 fullscreen mode or not.
1861 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1863 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-touch-selector.c (_default_print_func): reorder
1866 concatenation for clarity.
1868 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1870 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1871 for multicolumn selectors.
1873 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1875 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1880 * configure.ac: Bump version.
1881 * debian/changelog: Updates.
1883 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1888 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1890 * configure.ac: removed libcangerra-gtk dependency
1891 * debian/control: removed libcanberra-gtk dependency
1892 * src/Makefile.am: removed libcanberra gtk related flags
1893 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1894 context, and manage a global canberra context instead
1896 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1898 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1900 Patch by Daniel Borgmann (danielb@openismus.com)
1902 * src/hildon-edit-toolbar.c:
1903 Adjust the left padding.
1904 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1905 Paint background of the edit toolbar.
1907 Fixes: NB#107897 (Patch to make editmodetoolbar background
1908 themeable and adjust margin)
1910 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1912 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1914 * src/hildon-program.c (hildon_program_update_top_most):
1915 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1917 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1918 change when the user tasks in/out of an application)
1920 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1922 * configure.ac: added libcangerra-gtk dependency
1923 * debian/control: added libcanberra-gtk dependency
1924 * src/Makefile.am: added libcanberra gtk related flags
1925 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1928 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1930 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-program.c (hildon_program_remove_window)
1933 (hildon_program_add_window): Add checks for the window
1934 parameter. Don't decrease the window counter if the window is not
1937 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1939 * src/hildon-pannable-area.c,
1940 (hildon_pannable_area_realize): Fixed position of the event_window
1941 in the realize method.
1943 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-app-menu-private.h
1946 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1947 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1948 (hildon_app_menu_key_press, hildon_app_menu_init)
1949 (hildon_app_menu_finalize):
1950 Make sure that all idle functions are removed when the widget is
1953 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1955 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1960 * configure.ac: Bump version.
1961 * debian/changelog: Updates.
1963 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-entry.c
1966 (+hildon_entry_show_placeholder),
1967 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1968 that replace hildon_entry_update_contents().
1969 (hildon_entry_set_text),
1970 (hildon_entry_set_placeholder),
1971 (hildon_entry_focus_in_event),
1972 (hildon_entry_focus_out_event): Determine when it is needed
1973 either to show or hide the placeholder and call the above methods.
1975 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1976 when the placeholder text is already set)
1978 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1981 simple GdkPixbufAnim using the new icons for the banner.
1982 (hildon_banner_show_animation): Use the above mentioned method to
1983 create the animation widget.
1985 Fixes: NB#103564 (Make hildon animation banner use individual
1986 image files as the animation)
1988 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-pannable-area.c,
1991 (hildon_pannable_leave_notify_event): Check if the child is NULL
1992 to avoid sending the leave.
1994 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1996 * src/hildon-pannable-area.c,
1997 (hildon_pannable_area_class_init),
1998 (hildon_pannable_leave_notify_event): Added a handler of the
1999 leave-notify-signal to consider when no motion notify before
2002 Fixes: NB#107494 (Items stay selected when clicking and moving
2003 away when inside pannable area)
2005 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2010 * configure.ac: Bump version.
2011 * debian/changelog: Updates.
2013 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2015 Patch by Alberto Garcia (agarcia@igalia.com)
2017 * src/hildon-date-button.c,
2018 (hildon_date_button_class_init),
2019 (hildon_date_button_init): Removed the construct property handling
2020 and created a default selector in the init method.
2021 * src/hildon-picker-button.c,
2022 (hildon_picker_button_class_init): Removed the construct flag of the
2025 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2027 * src/hildon-main.c (hildon_init):
2028 Don't allow hildon_init() to be called more than once.
2030 Fixes: NB#106607 (hildon_init should issue error message upon
2033 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2035 * examples/hildon-pannable-area-touch-list-example.c
2036 * examples/hildon-pannagle-area-touch-grid-example.c
2037 * examples/hildon-edit-toolbar-example.c
2038 * examples/hildon-touch-selector-multi-cells-example.c
2039 Removed the call to gtk_rc_parse_string, as it is not required since
2042 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2044 * src/hildon-pannable-area.c,
2045 (hildon_pannable_area_class_init): Modified the default panning
2046 threshold of the widget to 6px.
2048 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2049 than the threshold value ) within the button is not sending the
2052 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2055 for the treeview in the new column. This way, the touch list will never
2058 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2059 be selected manually for the HW keys to work)
2061 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2064 comparison instead of using strcmp(). Fixes a compiler warning as well.
2066 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2068 * doc/hildon-docs.sgml: Do not set the library version in the
2069 document title, use the releaseinfo tag for that purpose instead.
2071 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2074 Do not jump to the first item if the text in the entry is removed.
2076 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2081 * configure.ac: Bump version.
2082 * debian/changelog: Updates.
2084 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-entry.c (hildon_entry_refresh_contents):
2087 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2088 Use "ReversedSecondaryTextColor" for the placeholder text.
2090 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-text-view.c: Fix compilation warning.
2094 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-button.c (hildon_button_class_init): Don't make
2097 "title" and "value" construction properties, to prevent them from
2098 overwriting labels set from derived classes.
2100 * src/hildon-picker-button.c
2101 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2102 (hildon_picker_button_class_init): Make touch-selector a
2103 construction property.
2105 * src/hildon-date-button.c (hildon_date_button_class_init)
2106 (+hildon_date_button_constructed): Add a default date selector if
2109 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-touch-selector.c: Small documentation fixes.
2113 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2115 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2117 * src/hildon-entry.c (hildon_entry_refresh_contents),
2118 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2119 widget name, set the logical color directly instead and a boolean
2120 showing_placeholder instead.
2121 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2122 use the widget name here either.
2124 Fixes: NB#105678 (HildonTextView should use logical colours
2125 instead of setting widget name)
2127 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2129 Patch by Daniel Elster (danielk@openismus.com)
2131 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2132 Add user_data parameter.
2133 (hildon_touch_selector_set_print_func_full): New function akin
2134 hildon_touch_selector_set_print_func() but with support for user
2135 data and a destroy callback.
2136 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2137 to clean up the print function user data.
2138 (hildon_touch_selector_class_init): Install dispose function.
2139 (HildonTouchSelectorPrivate::print_user_data),
2140 (HildonTouchSelectorPrivate::print_destroy_func): New private
2142 (hildon_touch_selector_init): Initialize new private members.
2143 (hildon_touch_selector_get_current_text): Pass along user data
2144 to the print function.
2145 (_default_print_func): Add dummy user_data to parameter list.
2146 * hildon-date-selector.c (_custom_print_func): ditto,
2147 * hildon-time-selector.c (_custom_print_func): ditto,
2148 * hildon-touch-selector-entry.c
2149 (hildon_touch_selector_entry_print_func): ditto.
2151 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2153 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2155 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2157 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2159 * src/hildon-pannable-area.c,
2160 (hildon_pannable_area_init),
2161 (hildon_pannable_area_button_press_cb),
2162 (hildon_pannable_area_motion_notify_cb): We have added code to
2163 handle the leave and enter events when using the motion events.
2165 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2167 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-date-button.c (hildon_date_button_get_date)
2170 (hildon_date_button_set_date): Make sure that the button has a
2173 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2175 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2177 * src/hildon-pannable-area.c,
2178 (hildon_pannable_area_class_init),
2179 (hildon_pannable_area_calculate_velocity): Modify the use of the
2180 force and adapt the value.
2182 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2185 (hildon_app_menu_class_init): Hide the menu if it receives a
2186 delete-event, but don't destroy it
2188 Fixes: NB#104485 (Not able to address the call when application
2189 menu is opened at background)
2191 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-app-menu.c
2194 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2195 Remove the "external-border" style property, let the menu take its
2196 natural size (or the one set by the window manager)
2197 (hildon_app_menu_repack_items):
2198 Don't reshow the menu, avoid flickers.
2200 Partially fixes NB#94957 (Smoothly opened application menu)
2202 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2207 * configure.ac: Bump version.
2208 * debian/changelog: Updates.
2210 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-pannable-area.c,
2213 (hildon_pannable_area_motion_notify_cb): We control that the
2214 direction error margin is used just in case the movement is
2215 allowed in the other direction.
2217 Fixes: NB#105012 (buttons inside a pannable area not getting
2218 release event when dragging/releasing)
2220 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2222 * src/hildon-pannable-area.c,
2223 (hildon_pannable_area_class_init),
2224 (hildon_pannable_area_get_property),
2225 (hildon_pannable_area_set_property),
2226 (hildon_pannable_area_initial_effect),
2227 (hildon_pannable_axis_scroll),
2228 (hildon_pannable_area_button_release_cb): Reviewed the
2229 overshooting effect, now it has its own max
2230 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2231 speed when bouncing.
2233 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2238 * configure.ac: Bump version.
2239 * debian/changelog: Updates.
2241 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_area_class_init): Changed the max speed, now
2245 users can launch the widget very fast. Reduced the default force,
2246 that way it is easier to control the launch speed.
2248 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_button_release_cb): Removed this check
2252 because it causes problems when the device is overloaded.
2254 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2257 add a current_text field to store the text entered in the
2258 touch selector entry.
2259 (_clean_current_selection): clean up the current text as well.
2260 (_save_current_selection), (_restore_current_selection):
2261 Save/restore the text in the entry if the selector is a
2262 HildonTouchSelectorEntry.
2264 Fixes: NB#102541 (value entered in the touch selector entry is not
2265 shown when opened for second time)
2267 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2269 * doc/hildon-sections.txt:
2270 * src/hildon-touch-selector-entry.c
2271 (+hildon_touch_selector_entry_get_entry):
2272 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2274 Fixes: NB#104815 (I need accessor to the entry inside
2275 HildonTouchSelectorEntry)
2277 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2280 (hildon_app_menu_class_init):
2281 New "filter-vertical-spacing" style property.
2283 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-find-toolbar.c
2286 (hildon_find_toolbar_emit_close)
2287 (hildon_find_toolbar_emit_invalid_input)
2288 (hildon_find_toolbar_entry_activate):
2289 Use g_signal_emit() instead of g_signal_emit_by_name()
2291 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2293 Patch by Mox Soini (ext-mox.soini@nokia.com)
2295 * tests/TEST-CASES.txt
2296 * tests/check-hildon-banner.c
2297 * tests/check-hildon-note.c
2298 * src/hildon-banner.c
2299 * src/hildon-code-dialog.c
2300 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2301 * src/hildon-time-editor.c
2302 * examples/hildon-lookup-example.c (main):
2303 Replace obsolete icon names with new ones.
2305 * src/hildon-find-toolbar-private.h:
2306 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2307 (-hildon_find_toolbar_emit_search):
2308 Remove find button and change icon of close button.
2310 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2312 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-time-button.c (hildon_time_button_new_step):
2315 Use the "touch-selector" property to set the selector directly
2316 when creating the object.
2318 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2320 Added a new example application that allows tuning the pannable
2321 area and replaced defines with properties in order to simplify the
2322 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2323 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2324 PROP_DIRECTION_ERROR_MARGIN.
2326 * examples/hildon-pannable-area-tuning-example.c: New example
2328 * src/hildon-pannable-area.c,
2329 (hildon_pannable_area_class_init),
2330 (hildon_pannable_area_init),
2331 (hildon_pannable_area_get_property),
2332 (hildon_pannable_area_set_property),
2333 (hildon_pannable_area_launch_fade_timeout),
2334 (hildon_pannable_area_adjust_value_changed),
2335 (hildon_pannable_axis_scroll),
2336 (hildon_pannable_area_motion_notify_cb),
2337 (hildon_pannable_area_scroll_cb),
2338 (hildon_pannable_area_button_release_cb): We have converted some
2339 of the defines that control the widget to properties to simplify
2342 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2344 * src/hildon-app-menu.c (hildon_app_menu_map)
2345 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2346 so it's closed if a new window appears.
2348 Fixes: NB#104485 (Not able to address the call when application
2349 menu is opened at background)
2351 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2354 missing 'break' statement in in 'case' construct to avoid
2357 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-touch-selector-entry.c
2360 (hildon_touch_selector_entry_get_property),
2361 (hildon_touch_selector_entry_set_property): Add missing 'break'
2362 statements in in 'case' constructs to avoid incorrect warnings.
2364 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-time-editor.c
2367 (hildon_time_editor_get_time_separators): Do not crash if
2368 the first label is NULL.
2370 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-date-selector.c (_month_days): Check for month to be
2373 strictly less than 12, since otherwise we may overrun the array.
2375 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-date-button.c (+hildon_date_button_new_full)
2378 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2379 (hildon_date_button_init): Set the date selector using a
2380 construction property, to make it happen after HildonButton's
2381 "value" property is set.
2383 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2384 current date by default)
2386 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2388 * doc/hildon-sections.txt
2389 * src/hildon-program.c
2390 * src/hildon-stackable-window.c
2391 * src/hildon-window.c:
2392 Documentation updates
2394 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2397 (hildon_window_stack_new, +hildon_window_stack_set_property)
2398 (+hildon_window_stack_get_property)
2399 (hildon_window_stack_class_init)
2400 (+hildon_window_stack_set_window_group)
2401 (+hildon_window_stack_get_window_group):
2402 Make the window group a construction property.
2404 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2406 * doc/hildon-sections.txt
2407 * src/hildon-stackable-window-private.h
2408 * src/hildon-stackable-window.h
2409 * src/hildon-stackable-window.c
2410 (-hildon_stackable_window_set_app_menu)
2411 (-hildon_stackable_window_get_app_menu)
2412 (-hildon_stackable_window_toggle_menu)
2413 (-hildon_stackable_window_finalize)
2414 (hildon_stackable_window_class_init)
2415 (hildon_stackable_window_init)
2416 * src/hildon-window-private.h
2417 * src/hildon-window.h
2418 * src/hildon-window.c (hildon_window_init)
2419 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2420 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2421 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2422 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2423 Moved all HildonAppMenu code to HildonWindow. The menu does not
2424 require a HildonStackableWindow anymore.
2426 * src/hildon-app-menu.c
2427 * src/hildon-program.c
2428 * examples/hildon-app-menu-example.c (main):
2429 Update examples and documentation to reflect HildonAppMenu
2432 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-remote-texture.c
2435 * src/hildon-animation-actor.c:
2436 Don't include unused private headers.
2438 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-program-private.h
2441 * src/hildon-program.c
2442 (hildon_program_set_common_menu)
2443 (hildon_program_get_common_menu)
2444 (hildon_program_set_common_app_menu)
2445 (hildon_program_get_common_app_menu):
2446 Change common menu pointers from GtkWidget* to GtkMenu* and
2447 HildonAppMenu* to avoid unnecessary casts.
2449 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-window.c (hildon_window_set_main_menu):
2452 Removed incorrect 'Since:' tag
2454 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_calculate_velocity): We use now the
2458 RATIO_TOLERANCE here to check the distance, fixed typo in the
2460 (hildon_pannable_area_motion_notify_cb): We have to set the type
2461 and time even if we are not sending the motion.
2463 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2465 * doc/hildon-sections.txt
2466 * src/hildon-app-menu.h
2467 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2468 (+hildon_app_menu_get_filters): New methods to get the contents of
2471 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2474 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-app-menu.c (hildon_app_menu_popup):
2479 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-window.h
2482 * src/hildon-window.c (+hildon_window_get_main_menu)
2483 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2484 and deprecated hildon_window_get_menu().
2486 * src/hildon-stackable-window.h
2487 * src/hildon-stackable-window.c
2488 (+hildon_stackable_window_set_app_menu)
2489 (+hildon_stackable_window_get_app_menu)
2490 (hildon_stackable_window_set_main_menu): Created
2491 hildon_stackable_window_{get,set}_app_menu() and deprecated
2492 hildon_stackable_window_set_main_menu().
2494 * doc/hildon-sections.txt
2495 * examples/hildon-app-menu-example.c (main)
2496 * src/hildon-app-menu.c
2497 * src/hildon-program.c:
2498 Updated examples and documentation.
2500 Fixes: NB#103758 (No way to obtain a menu from a
2501 HildonStackableWindow)
2503 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2508 * configure.ac: Bump version.
2509 * debian/changelog: Updates.
2511 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2513 * examples/hildon-remote-texture-example.c: Include
2514 hildon-remote-texture.h explicitely.
2515 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2516 applications not defining _XOPEN_SOURCE which don't require this header.
2518 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2520 * doc/hildon-sections.txt
2521 * src/hildon-app-menu.h
2522 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2523 New function to pop up a HildonAppMenu
2525 * src/hildon-stackable-window.c
2526 (hildon_stackable_window_toggle_menu):
2527 Use hildon_app_menu_popup() to show the menu.
2529 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-app-menu.c (hildon_app_menu_show)
2532 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2533 menu if there's another window between it and its parent window.
2535 Fixes: NB#100468 (Application menu window is launched even when a
2536 new secondary-window/dialog is pending to be shown/realized)
2538 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2540 * src/hildon-window-stack.c (hildon_window_stack_push)
2541 (hildon_window_stack_pop_and_push):
2542 Don't forget to push/pop the first window.
2543 Reverse the window list before calling _push_list()
2545 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-picker-button.h
2548 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2549 Remove "value_changed" slot to avoid ABI breakage
2551 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2553 * src/hildon-pannable-area.c,
2554 (hildon_pannable_area_realize),
2555 (hildon_pannable_area_unrealize),
2556 (hildon_pannable_draw_vscroll),
2557 (hildon_pannable_draw_hscroll): Changed the method to handle the
2558 GC used to draw the transparent scrollbar, this way we avoid
2559 creating the GC all the time when drawing the scrollbars.
2561 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2563 * src/hildon-pannable-area.c,
2564 (hildon_pannable_area_init),
2565 (hildon_pannable_area_remove): Removed some unnecessary casts.
2566 (hildon_pannable_area_dispose): Disconnected some signals before
2567 releasing the adjustments.
2569 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2571 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2572 Make sure that all widgets contained in the toolbar are shown.
2574 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2576 * doc/hildon-sections.txt
2577 * src/hildon-picker-button.h
2578 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2579 (_selection_changed, hildon_picker_button_on_dialog_response)
2580 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2581 New hildon_picker_button_value_changed() method.
2584 * src/hildon-picker-button-private.h
2585 * src/hildon-picker-button.c (hildon_picker_button_init)
2586 (+hildon_picker_button_disable_value_changed): Add protected
2587 function for disabling the "value-changed" signal.
2589 * src/hildon-date-button.c (hildon_date_button_set_date):
2590 Don't emit "value-changed" for each one of the three columns.
2592 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2593 before actual change of values)
2595 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2597 * src/hildon-pannable-area.c,
2598 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2599 for the treeview overshooting.
2601 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2603 * src/hildon-banner.c (+hildon_banner_bind_style):
2604 Renamed from hildon_banner_bind_label_style(), now naming the
2605 banner itself as well.
2606 (hildon_banner_show_information),
2607 (hildon_banner_show_information_with_markup),
2608 (hildon_banner_show_animation), (hildon_banner_show_progress):
2609 Name the widgets and labels, based on their type.
2611 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2614 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-note.c (hildon_note_set_property): call
2617 hildon_note_rename() on HildonNote:note-type set.
2618 (hildon_note_rename): Name the note and its label, based on the
2619 HildonNote:note-type property.
2621 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2624 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_class_init),
2628 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2629 panning parameters, increased SPS and deceleration factor. Added
2630 also a margin to control fake directions.
2632 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2634 Patch by Sven Herzberg (sven@imendio.com)
2636 * configure.ac: Add missing AM_PROG_CC_C_0
2637 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2639 See NB#101420 (Update unit tests and fix make check)
2641 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2643 This patch was applied before but reverted because it caused
2644 problems, we have changed the main condition and tested the
2645 regressions we detected before and they work ok. We have done a
2646 complete review of the topmost algorithm in order to get a more
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_get_topmost): Added a new parameter to
2651 filter the the windows that do not include those events.
2652 (hildon_pannable_area_button_press_cb),
2653 (hildon_pannable_area_button_release_cb),
2654 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2655 topmost function, we have added the new parameter.
2657 Fixes: NB#97458 (Pannable area prevents propagation of button
2660 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2663 if all columns in the selector have an item selected.
2664 (_on_dialog_response): Stop "response" signal emission if there is
2665 any selector column without selected items.
2667 Fixes: NB#101889 (Picker dialog should not close when nothing is
2668 selected in multiple selection list)
2670 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-font-selection-dialog.c
2673 (hildon_font_selection_dialog_class_init),
2674 (hildon_font_selection_dialog_init): Remove the preview
2675 button and dialog, since previewing with default theming is likely
2676 to be overcomplicated. The :preview property has now no effect.
2677 Update documentation blurbs to inform about this.
2679 Fixes: NB#92297 (Preview content is not clearly visible for
2680 default colour text)
2682 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2684 Reviewed the geometry that handles the children size and
2685 scrollbar, now it tries a size and reviews the results depending
2686 on the scrollbars visibility.
2688 * src/hildon-pannable-area.c,
2689 (hildon_pannable_area_realize): Fixed a typo.
2690 (hildon_pannable_area_child_allocate_calculate): Added this
2691 function to calculate the child allocation.
2692 (hildon_pannable_area_size_allocate): Reviewed the allocation
2694 (hildon_pannable_area_check_scrollbars),
2695 (hildon_pannable_area_refresh): Refactored refresh function, this
2696 way we can call the code handling the scrollbars without causing a
2697 size_request, it is interesting in the allocate.
2698 (hildon_pannable_area_init): Replace the callbacks of the
2699 value_changed and changed signals to propertly deal with the
2701 (hildon_pannable_area_grab_notify),
2702 (hildon_pannable_area_initial_effect),
2703 (hildon_pannable_area_launch_fade_timeout),
2704 (hildon_pannable_area_adjust_changed),
2705 (hildon_pannable_area_adjust_value_changed),
2706 (hildon_pannable_area_redraw),
2707 (hildon_pannable_area_button_press_cb),
2708 (hildon_pannable_area_button_release_cb),
2709 (hildon_pannable_area_scroll_cb),
2710 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2711 code and use the new functions adjust_changed and
2712 adjust_value_changed.
2714 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2715 Contact editor dialog)
2717 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2722 * configure.ac: Bump version.
2723 * debian/changelog: Updates.
2725 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2727 * src/hildon-pannable-area.c,
2728 (hildon_pannable_area_get_topmost),
2729 (hildon_pannable_area_button_press_cb),
2730 (hildon_pannable_area_button_release_cb),
2731 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2732 topmost function adding the event mask. We have to try a
2733 differente approach because it is still causing problems (NB#9745,
2736 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-banner.c:
2739 Update the maximum width of timed banners.
2740 (force_to_wrap_truncated): Enforce the maximum text width if the
2743 Fixes: NB#102413 (The text margins (wrapping) in information
2744 banner should be HILDON_MARGIN_TRIPLE)
2746 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2748 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2750 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2751 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2752 bound when calculating the scroll indicator position.
2754 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2755 treat ->lower correctly)
2757 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2760 expose event handling, since it is not necessary to draw the focus
2763 Fixes: NB#102467 (Do not show highlight on the text in
2766 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2769 full height of the toolbar for the button and the label.
2771 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2774 padding before the label and after the button.
2776 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2780 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2781 Add a GtkVSeparator between the button and the back arrow.
2782 Let the button have automatic size.
2783 Set a name to the widget for theming handling.
2785 Fixes: NB#101793 (Make edit toolbar the same height as window
2786 title bar (use title area theming))
2788 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-helper.c (attach_new_color_element): Fix memory
2793 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2795 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2797 * examples/hildon-button-example.c (common_buttons_window): Don't
2800 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2803 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2805 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-gtk.c: Check that the window is realized.
2809 Fixes: NB#102225 (Crash setting the progress indicator to a non
2812 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2815 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2816 instead of modifying the one in the widget style.
2818 Fixes: NB#101043 (Second row of all the command button are
2819 displayed in transparent mode.)
2821 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-date-button.c
2824 * src/hildon-time-button.c: Add gettext macros
2826 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-date-button.c (hildon_date_button_new):
2829 * src/hildon-time-button.c (hildon_time_button_new_step):
2830 Use new logical strings to set the button default title.
2832 Fixes: NB#99915 (Date and Time options are not localised in Date
2835 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c
2838 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2839 the PANNING_THRESHOLD.
2841 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2843 * src/hildon-pannable-area.c,
2844 (hildon_pannable_area_class_init): Increased the maximum speed.
2845 (hildon_pannable_area_get_property),
2846 (hildon_pannable_area_set_property),
2847 (hildon_pannable_area_timeout): Added a new low friction mode, it
2848 allows the user avoid friction when launching the widget fast
2849 enough. It is interesting to traverse long lists.
2851 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2854 (+hildon_stackable_window_delete_event): Ignore delete events if
2855 the window is not the topmost one.
2857 Fixes: NB#101698 (Back button long press and delete-event handling)
2859 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2861 * src/hildon-pannable-area.c,
2862 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2863 gtk-dnd-drag-threshold, it was too big. We have defined our own
2864 dnd define and set a smaller value: PANNIG_THRESHOLD.
2866 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2869 user-defined icons, use always the default one.
2871 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2873 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2875 This patch was applied before but reverted because it caused
2876 problems, we have changed the main condition and tested the
2877 regressions we detected before and they work ok.
2879 * src/hildon-pannable-area.c,
2880 (hildon_pannable_area_get_topmost): Added a new parameter to
2881 filter the the windows that do not include those events. Added
2882 also a condition when finding the window to filter windows that do
2883 not ask for those events.
2884 (hildon_pannable_area_button_press_cb),
2885 (hildon_pannable_area_button_release_cb),
2886 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2887 topmost function, we have added the new parameter.
2889 Fixes: NB#97458 (Pannable area prevents propagation of button
2892 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2894 * tests/check-hildon-color-button.c (START_TEST): do not leak
2897 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2899 * src/hildon-font-selection-dialog.c
2900 (hildon_font_selection_dialog_get_preview_text): Return NULL
2901 instead of FALSE on the g_return_val_if_fail().
2903 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2906 * src/hildon-date-selector.c
2907 (hildon_date_selector_select_current_date):
2908 Do not compare unsigned integers to be greater than or equal 0,
2909 because it's always TRUE.
2911 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2914 (hildon_date_selector_constructor): Do not select the current
2915 date until we are handle the "changed" signal, to avoid having bogus
2916 elements in the days model.
2918 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2921 for num_days, since _month_days() can return a negative value.
2923 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2925 * src/hildon-caption.c (hildon_caption_size_allocate):
2926 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2927 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2929 Initialize allocation variables to 0, to avoid eventually using
2930 unitialized variables.
2932 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-bread-crumb-trail.c
2935 (hildon_bread_crumb_trail_size_allocate):
2936 * src/hildon-calendar.c (hildon_calendar_set_background):
2937 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2938 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2939 * src/hildon-seekbar.c (hildon_seekbar_init):
2940 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2941 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2942 * src/hildon-touch-selector-entry.c
2943 (hildon_touch_selector_get_text_from_model):
2944 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2945 * src/hildon-window.c (hildon_window_finalize):
2947 Remove many unused variables.
2949 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-seekbar.c: (hildon_seekbar_init),
2952 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2954 Remove unnecessary g_assert() calls.
2956 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-caption.c: (hildon_caption_expose),
2959 (hildon_caption_set_property), (hildon_caption_init),
2960 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2961 (hildon_caption_size_request), (hildon_caption_size_allocate),
2962 (hildon_caption_forall), (hildon_caption_set_separator),
2963 (hildon_caption_activate), (hildon_caption_set_child_expand),
2964 (hildon_caption_set_label_text),
2965 (hildon_caption_get_label_alignment):
2967 Remove unnecessary g_assert() calls.
2969 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-banner.c
2972 (hildon_banner_map, hildon_banner_init): Make banner temporary
2973 before mapping it to avoid closing other temporary windows, but
2974 make it non-temporary afterwards to avoid being closed by other
2975 non-temporary windows.
2976 (-hildon_banner_client_event, hildon_banner_init):
2977 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2979 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2982 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2987 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2989 * src/hildon-remote-texture.c
2990 * src/hildon-remote-texture.h
2991 * src/hildon-remote-texture-private.h
2992 * examples/hildon-remote-texture-example.c:
2993 Updates/fixes to remote-texture and its example.
2995 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2997 Patch by Mox Soini (ext-mox.soini@nokia.com)
2999 * src/hildon-code-dialog.c: Update logical id.
3000 * src/hildon-set-password-dialog.c: Update logical id.
3002 Fixes: NB#100646 (Logical strings is shown for ok in set
3003 password,Password needed dialogs)
3005 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3008 * src/hildon-remote-texture.c
3009 * src/hildon-remote-texture.h
3010 * src/hildon-remote-texture-private.h
3012 Added remote texture widget (for Clutter shared memory textures)
3014 * examples/hildon-remote-texture-example.c
3015 * examples/Makefile.am
3016 Added example file for remote texture usage
3018 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3020 * configure.ac: post release version bump.
3021 * debian/changelog: version bump.
3023 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3028 * configure.ac: Bump version.
3029 * debian/changelog: Updates.
3031 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-date-selector.c (hildon_date_selector_init)
3034 (hildon_date_selector_constructor): Don't connect to the "changed"
3035 signal until the selector is completely constructed.
3037 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-touch-selector.c: (_create_new_column),
3040 (hildon_touch_selector_append_column),
3041 (hildon_touch_selector_set_column_selection_mode),
3042 (hildon_touch_selector_set_active),
3043 (hildon_touch_selector_select_iter):
3044 Emit the HildonTouchSelector::changed signal every time selection
3045 is changed in any of the methods above. This behavior was already
3046 documented but not fully functional.
3048 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3049 selection is programmatically changed)
3051 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3053 * doc/hildon-sections.txt: Remove obsolete icon
3054 sizes from here as well.
3056 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3058 * examples/hildon-stackable-window-example.c (add_window): Remove
3061 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-app-menu.c
3064 (hildon_app_menu_show): Check whether the parent window of a menu
3065 is topmost before popping it up.
3067 Fixes: NB#100468 (Application menu window is launched even when a
3068 new secondary-window/dialog is pending to be shown/realized.)
3070 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3072 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3075 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3077 Patch by Mox Soini (ext-mox.soini@nokia.com)
3079 * src/hildon-banner.c: (hildon_banner_show_animation):
3080 use stylus size instead of obsolete note size.
3081 * src/hildon-defines.h: Update icon sizes.
3083 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3085 * src/hildon-touch-selector-entry.c:
3086 (hildon_touch_selector_entry_init): Disable unsupported
3088 (hildon_touch_selector_entry_get_text_column): Emit a warning
3089 if an unsupported input modes is used and explicitile state
3090 these modes in the documentation.
3092 Fixes: NB#99802 (Hildon touch selector entry not working properly
3093 for some of the input modes)
3095 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3097 * src/hildon-pannable-area.c,
3098 (hildon_pannable_area_init): Added the changed signal handlers of
3101 Fixes: NB#100320 (HildonPannableArea does not listen to
3102 GtkAdjustment "change" signals)
3104 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3106 * doc/hildon-sections.txt
3107 * src/hildon-window-private.h
3108 * src/hildon-window.h
3109 * src/hildon-window.c (hildon_window_init)
3110 (hildon_window_realize, hildon_window_unrealize)
3111 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3112 (hildon_window_size_request, hildon_window_size_allocate)
3113 (hildon_window_forall, hildon_window_show_all)
3114 (hildon_window_destroy, +paint_edit_toolbar)
3115 (+hildon_window_set_edit_toolbar):
3116 New hildon_window_set_edit_toolbar() method, to add a
3117 HildonEditToolbar to a window without having to pack it manually.
3119 Reorganize hildon_window_size_allocate()
3121 * src/hildon-edit-toolbar.c: Update documentation.
3123 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3124 example to use the new API.
3126 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3128 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3131 Remove from stack before calling parent's hide.
3133 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3136 window is removed from the middle of the stack, update the
3137 transiency of the previous one.
3139 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3142 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3145 block/unblock the signal handler if it's not actually being used.
3146 Fixes some critical warnings.
3148 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3150 Based on a patch by Iván Gómez (igomez@igalia.com)
3152 * src/hildon-banner.c
3156 * src/hildon-pannable-area.c
3157 * src/hildon-picker-dialog.c
3158 * src/hildon-wizard-dialog.h
3159 * src/hildon-wizard-dialog.c: Documentation updates.
3161 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3162 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3164 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3166 * configure.ac: post release version bump.
3167 * debian/changelog: version bump.
3169 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3174 * configure.ac: Bump version.
3175 * debian/changelog: Updates.
3177 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3179 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3180 a stock icon nor change the relief of the back arrow.
3182 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3183 graphics from theme)
3185 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-button.c (hildon_button_set_alignment): Use
3188 priv->alignment if the button has no child yet.
3190 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3192 * src/hildon-button.c: (hildon_button_init): Set the
3193 button style during initialization to give it the proper
3196 Fixes: NB#99713 (HildonButton value label color is wrong)
3198 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-touch-selector.c: Document
3201 hildon_touch_selector_center_on_selected()
3203 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3206 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3207 all menu items, but not the menu itself.
3208 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3209 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3210 items after adding them to the menu so keyboard accelerators work.
3211 (hildon_app_menu_show): Don't show the menu if it contains items
3212 but none of them are visible.
3214 * examples/hildon-app-menu-example.c (create_menu): Use
3215 gtk_widget_show_all() to show all menu items.
3217 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3219 * src/hildon-picker-dialog.c:
3220 (-_update_title_on_selector_changed_cb),
3221 (-_dialog_update_title): Removed.
3222 (_select_on_selector_changed_cb), (_on_dialog_response),
3223 (on_selector_columns_changed): Do not update the dialog title.
3224 (setup_interaction_mode): Do not connect to
3225 HildonTouchSelector::changed signal if there's a "done" button, as
3226 the dialog title doesn't need to be updated.
3228 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3231 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3233 Patch by Kristian Rietveld (kris@imendio.com)
3235 * src/hildon-touch-selector.c: (_create_new_column): Use new
3236 GtkTreeView::hildon-row-tapped signal to react to user interactions
3237 instead of ::changed.
3239 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3240 with some dynamic tree model)
3242 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3245 (+screen_size_changed, +label_size_request)
3246 (hildon_note_class_init): Make the Hildon information note have a
3247 minimum height, and make its text hvae a maximum width.
3249 Fixes: NB#98614 (Hildon information note (background) should have
3250 minimum height and maximum text width)
3252 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-banner.h
3255 * src/hildon-banner.c (hildon_banner_show_information)
3256 (hildon_banner_show_informationf)
3257 (hildon_banner_show_information_with_markup): Update documentation
3258 to reflect that the icon_name parameter is not used anymore.
3259 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3260 Remove all code from these functions and mark them as deprecated.
3261 (hildon_banner_show_progress): Mark as deprecated.
3263 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3265 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3267 * src/hildon-pannable-area.c,
3268 (hildon_pannable_area_class_init),
3269 (tranparency_color),
3270 (hildon_pannable_draw_vscroll),
3271 (hildon_pannable_draw_hscroll),
3272 (hildon_pannable_area_expose_event): Added a new way to render the
3273 scrollbars of the pannable area avoiding using cairo at all. This
3274 way we improve the performance of the pannable area rendering. The
3275 cairo rendering procedure is still in the code, we can control
3276 which one to use changing the value of the define
3277 USE_CAIRO_SCROLLBARS.
3279 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3281 * configure.ac: post release version bump.
3282 * debian/changelog: version bump.
3284 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3289 * configure.ac: Bump version.
3290 * debian/changelog: Updates.
3292 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3294 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3295 banners instead of destroying them when they receive a button
3298 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3300 Reverted commit 34028, it was causing regressions, probably the
3301 topmost condition is not correct, we have to check it in more
3302 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3303 propagation of button press events)
3305 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3308 that the selection is not empty before attempting to retrieve the
3309 current ampm selection.
3311 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-picker-button.c:
3314 (hildon_picker_button_on_dialog_response): Directly update the
3315 button contents when required instead of calling _selection_changed.
3317 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-program.c (hildon_program_update_top_most): Update
3320 'is-topmost' property also when wm_hints is not set.
3322 Fixes: NB#98383 (is-topmost signal is not emitted when task
3323 switcher is clicked.)
3325 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3327 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3331 * src/hildon-animation-actor.c,
3332 * src/hildon-animation-actor.h: Added the animation actor class,
3333 this widget represents an animation actor for WM-assisted
3334 animation effects in the Hildon framework.
3336 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-window-stack-private.h
3339 * src/hildon-window-stack.c
3340 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3341 Avoid calling gtk_widget_show() again indirectly from
3342 hildon_stackable_window_show()
3344 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3349 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3352 (hildon_time_selector_init): Move the construction of the hours and
3353 ampm columns to the constructor to preserve the order the columns
3356 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-picker-dialog.c:
3359 (hildon_picker_dialog_class_init): Connect a realize method.
3360 (+hildon_picker_dialog_realize): Setup the interaction mode here
3362 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3363 yet, do it during the realize instead.
3364 (_on_dialog_response):
3365 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3366 if the widget is not realized, to avoid the dialog response before it
3369 Avoid premature responses in the HildonPickerDialog that can cause it
3370 to be hidden before it's even shown.
3372 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3375 (on_selector_columns_changed), (requires_done_button),
3376 (+prepare_action_area), (setup_interaction_mode),
3377 (_hildon_picker_dialog_set_selector):
3379 Split the interaction mode setup into preparation of the
3380 action area (prepare_action_area()) and the connection of
3381 the signals in setup_interaction_mode() and update the code to
3384 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3386 * src/hildon-pannable-area.c,
3387 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3388 per second to 15, we will check if this is ok regarding
3391 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3393 * src/hildon-pannable-area.c,
3394 (hildon_pannable_axis_scroll): Avoid resize if we already have
3395 reached overshoot_max.
3397 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3399 * src/hildon-pannable-area.c,
3400 (hildon_pannable_area_init),
3401 (hildon_pannable_area_realize),
3402 (hildon_pannable_area_size_allocate),
3403 (hildon_pannable_area_map),
3404 (hildon_pannable_area_unmap),
3405 (hildon_pannable_draw_vscroll),
3406 (hildon_pannable_draw_hscroll),
3407 (hildon_pannable_area_expose_event),
3408 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3409 pannable are to avoid the expose events go to the window and
3410 redraw the window. We save this way that part of the stack and the
3411 paint_boxes. We had to change the positions of the elements when
3414 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3416 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3417 * src/hildon-color-chooser-dialog.c:
3418 (hildon_color_chooser_dialog_init):
3419 * src/hildon-font-selection-dialog.c:
3420 (hildon_font_selection_dialog_init),
3421 (hildon_font_selection_dialog_show_preview):
3422 * src/hildon-get-password-dialog.c:
3423 * src/hildon-login-dialog.c:
3424 * src/hildon-set-password-dialog.c:
3425 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3426 * src/hildon-time-picker.c: (hildon_time_picker_init):
3428 Remove obsolete logical string IDs and update to the appropriate ones.
3430 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3432 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3435 that happens if the window hasn't been realized yet.
3437 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3438 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3440 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3442 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3443 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3446 Fixes: NB#98537 (Device hangs in account settings dialog)
3448 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3450 * configure.ac: post release version bump.
3451 * debian/changelog: version bump
3453 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: Bump version.
3459 * debian/changelog: Updates.
3461 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3463 Added a new function to the HildonTimeButton widget that allows to
3464 change the step of the minutes in the selector associated with the
3465 button: hildon_time_button_new_step
3467 * src/hildon-time-button.c,
3468 (hildon_time_button_init),
3469 (hildon_time_button_new),
3470 (hildon_time_button_new_step):
3471 * src/hildon-time-button.h: Added the new function and refactored
3473 * examples/hildon-time-button-example.c,
3474 (main): We have replaced the function without parameters with the
3475 function with the steps set to 5
3477 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3479 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3481 * src/hildon-time-selector.c,
3482 (hildon_time_selector_class_init),
3483 (hildon_time_selector_constructor),
3484 (hildon_time_selector_get_property),
3485 (hildon_time_selector_set_property),
3486 (_create_minutes_model),
3487 (hildon_time_selector_new_step),
3488 (hildon_time_selector_set_time),
3489 * src/hildon-time-selector.h: Added a new property to the
3490 HildonTimeSelector (minutes-step), we use that property to control
3491 the steps between the minutes in the list of the selector. We have
3492 added a new function to the API to create a widget changing the
3493 step: hildon_time_selector_new_step.
3495 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3497 * src/hildon-time-selector.c,
3498 (hildon_time_selector_class_init),
3499 (hildon_time_selector_constructor),
3500 (hildon_time_selector_init): Overrided the construct function when
3501 creating the time selector object. We have moved the minutes model
3502 handling code from the init to the new construction function:
3503 hildon_time_selector_constructor.
3505 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3507 * examples/hildon-date-button-example.c: (main): Use the new
3508 hildon_date_button_new_with_year_range() method in the example.
3509 * src/hildon-date-button.c:
3510 (+hildon_date_button_new_with_year_range): New public method
3511 to conveniently create a HildonDateButton with a custom year range
3512 in its HildonDateSelector.
3513 * src/hildon-date-button.h: Add the new public method definition.
3515 Fixes: NB#97908 (Not possible to change the year range in
3516 HildonDateSelector/HildonDateButton)
3518 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-date-selector.c:
3521 (+hildon_date_selector_set_property),
3522 (+hildon_date_selector_get_property),
3523 (hildon_date_selector_class_init): Install new properties "min-year"
3524 and "max-year" to define boundaries for the year column.
3525 (_create_year_model): Use the boundary properties to populate the model.
3526 (+hildon_date_selector_new_with_year_range): New public method to
3527 create a HildonDateSelector with a user defined year range.
3528 (hildon_date_selector_select_current_date): Use the new boundaries to
3529 calculate the iterator of current year.
3530 * src/hildon-date-selector.h: Add the new public method definition.
3532 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3534 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3535 Install a constructor method.
3536 (+hildon_date_selector_construct_ui): construct the widget.
3537 (+hildon_date_selector_constructor): new constructor.
3538 (+hildon_date_selector_init): move out widget construction code to
3539 the new constructor.
3541 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3544 that there's actually a month or year selected before obtaining them.
3545 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3546 of the HildonTouchSelector::changed signal, as it was emitted on every
3547 single item selection.
3549 Fix some warnings and possible crashers due to the selection restoring.
3551 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3554 the signal handlers only after creating the dialog instead of on every
3557 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-button.c (hildon_button_init)
3560 * src/hildon-check-button.c (hildon_check_button_init)
3561 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3562 focus when clicked by default.
3564 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3569 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3571 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3572 Alejandro G. Castro (alex@igalia.com)
3574 * src/hildon-picker-dialog.c:
3575 (hildon_picker_dialog_class_init): install new "center-on-show"
3577 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3578 (hildon_picker_dialog_set_property): add setter code for the new
3580 (hildon_picker_dialog_get_property): add getter code for the new
3582 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3583 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3586 Fixes: NB#92849 (Selected item is not always visible when
3587 HildonTouchSelector is shown)
3589 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3591 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3592 Alejandro G. Castro (alex@igalia.com)
3594 * src/hildon-touch-selector.c:
3595 (_create_new_column): Do not connect to the "realize" signal of the
3597 (hildon_touch_selector_append_column): center on the selected items
3598 when a new column is appended.
3599 (hildon_touch_selector_select_iter): Factor out the code to select a
3600 column to hildon_touch_selector_scroll_to().
3601 (+search_nearest_element): Method to retrieve the nearest selected
3602 element to the visible area of the pannable area in a column.
3603 (+on_realize_cb): scroll to the initially selected item.
3604 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3605 the pannable area is realized, otherwise delay this until it is.
3606 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3607 selected items of a given column.
3608 (+hildon_touch_selector_center_on_selected): Public method to center
3609 all columns on the nearest selected item.
3610 * src/hildon-touch-selector.h: Add definition for
3611 hildon_touch_selector_center_on_selected().
3613 Implement public API to ensure visibility of all selected items in
3614 a HildonTouchSelector.
3616 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3618 Fixed a problem in the fading when calling the scroll_to API, and
3619 improve scrollbar fading handling.
3621 * src/hildon-pannable-area.c,
3622 (hildon_pannable_area_grab_notify): avoid the timeout when the
3624 (hildon_pannable_area_button_press_cb),
3625 (hildon_pannable_area_motion_notify_cb): Code style changes.
3626 (hildon_pannable_area_button_release_cb): Review the conditions
3627 when releasing the mouse button to avoid unrequired fading
3629 (hildon_pannable_area_scroll_to): Do not calculate and set the
3630 velocity if the scroll is not required.
3632 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3635 Don't check whether the new selector is NULL: it cannot be.
3636 Hold a reference to the selector while doing the replacement.
3638 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3641 unnecessary size_request in a removed widget.
3643 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3646 an unnecessary reference tracking that was leaking.
3648 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3650 Added delayed motion notify event handling, this way we can
3651 discard redrawing if more than 25 events arrive per second.
3653 * src/hildon-pannable-area.c,
3654 (hildon_pannable_area_init): Initialized the new private atributes
3655 controlling this timeout
3656 (hildon_pannable_area_dispose): Remove the timeout that controls
3657 the motion notify events.
3658 (hildon_pannable_area_scroll): Added a condition to control the
3659 use of the acceleration.
3660 (hildon_pannable_area_motion_event_scroll_timeout),
3661 (hildon_pannable_area_motion_event_scroll): Added this two
3662 functions, they handle the motion notify events inside the
3664 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3665 to the scroll method with the new function.
3666 (hildon_pannable_area_button_release_cb): We have to remove the
3667 timeout handler and move to the last position if the last motion
3668 events were not handled.
3670 Fixes: NB#97028 (Pannable area updates on every motion event)
3672 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3674 * src/hildon-pannable-area.c,
3675 (hildon_pannable_area_get_topmost): Added a new parameter to
3676 filter the the windows that do not include those events. Added
3677 also a condition when finding the window to filter windows that do
3678 not ask for those events.
3679 (hildon_pannable_area_button_press_cb),
3680 (hildon_pannable_area_button_release_cb),
3681 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3682 topmost function, we have added the new parameter.
3684 Fixes: NB#97458 (Pannable area prevents propagation of button
3687 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3689 * src/hildon-pannable-area.c,
3690 (hildon_pannable_area_initial_effect): Added controls before
3691 launching the timeout and the idle functions.
3692 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3693 of the method, in some situations it can return with TRUE and 0 in
3695 (hildon_pannable_area_button_press_cb): We do not need to set
3696 DELAY for fading out here.
3698 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3700 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3703 post-cleaning if the selection is not NULL.
3705 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3708 all items before restoring the selection.
3710 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-touch-selector.c:
3713 (+hildon_touch_selector_unselect_all):
3714 * src/hildon-touch-selector.h: New API to unselect all items in a
3715 column of the touch selector.
3717 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3719 * src/hildon-pannable-area.c,
3720 (hildon_pannable_area_redraw): Added a call to the refresh
3721 function inside the redraw because apparently in some cases the
3722 change in the adjustment does not imply a size allocate.
3724 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3725 despite the view not being scrollable)
3727 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3730 leak. Check for NULL before attempting to set the window title.
3732 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3735 whether to show or not the 'Done' button each time the dialog is
3736 shown, as it depends on the HildonTouchSelector selection mode.
3738 Fixes: NB#96226 (In multiple selection mode Done button is shown
3739 sometimes in listpicker)
3741 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3744 for the number of columns in the HildonTouchSelector more than once.
3746 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-touch-selector.c: Minor documentation fixes.
3750 * src/hildon-picker-dialog.c (+_dialog_update_title)
3751 (_select_on_selector_changed_cb)
3752 (_update_title_on_selector_changed_cb)
3753 (on_selector_columns_changed): Update dialog title when there's no
3754 'Done' button and also when the number of columns in the selector
3758 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3759 (+_selection_changed, hildon_picker_button_on_dialog_response)
3760 (hildon_picker_button_selector_selection_changed)
3761 (+hildon_picker_button_selector_columns_changed)
3762 (hildon_picker_button_set_selector): Update button value and emit
3763 'value-changed' when the number of columns in the selector
3767 Fixes: NB#96225 (Dialog titles are not shown according to the
3768 values selected in the list picker)
3770 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3773 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3774 New "arrow-width" and "arrow-height" style properties to set the
3775 size of the arrow button.
3776 Set name of arrow button ("hildon-edit-toolbar-arrow").
3778 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3779 graphics from theme)
3781 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3783 * src/hildon-picker-button.c:
3784 (hildon_picker_button_selector_selection_changed): Use
3785 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3786 the dialog is present.
3788 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3789 the selection is accepted in the dialog)
3791 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3793 * src/hildon-color-chooser.h
3794 * src/hildon-color-chooser-dialog.h:
3795 Added G_BEGIN_DECLS and G_END_DECLS
3797 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3799 (_clean_current_selection): plug a leak in the list.
3801 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-picker-dialog.c:
3804 (+free_path_list): Method to free a GList of GtkTreePaths.
3805 (_clean_current_selection), (_save_current_selection),
3806 (_restore_current_selection): Save the current selection in
3807 as a list of lists, to support multiple selection properly.
3809 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3811 patch by Claudio Saavedra (csaavedra@igalia.com)
3813 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3814 Store the press position.
3815 (+hildon_text_view_button_release_event): If the release position is
3816 close enough to the press position, move the cursor here. Otherwise,
3818 (hildon_text_view_class_init): Override GtkTextView press, release, and
3819 motion event handlers, disabling this way text selection through
3820 pointer interaction, and allowing the container widget to handle the
3823 Fixes: NB#95828 (HildonTextView functionality)
3825 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3827 Based on a patch by Iván Gómez (igomez@igalia.com)
3829 * src/hildon-button.[ch]
3830 * src/hildon-calendar.c
3831 * src/hildon-check-button.c
3832 * src/hildon-date-editor.c
3833 * src/hildon-date-selector.c
3834 * src/hildon-picker-button.c
3835 * src/hildon-time-editor.c
3836 * src/hildon-time-selector.c
3837 * src/hildon-touch-selector.[ch]:
3838 Documentation updates
3840 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3842 * src/hildon-pannable-area.c,
3843 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3844 threshold, it was required due to X events handling.
3846 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3848 * src/hildon-pannable-area.c,
3849 (hildon_pannable_area_grab_notify),
3850 (hildon_pannable_area_initial_effect),
3851 (hildon_pannable_area_button_press_cb),
3852 (hildon_pannable_area_button_release_cb),
3853 (hildon_pannable_area_scroll_cb),
3854 (hildon_pannable_area_scroll_to): Review the timeout management of
3855 the scrollbar, the frecuency was incorrectly set.
3857 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3859 * src/hildon-picker-button.c:
3860 (+hildon_picker_button_on_dialog_response),
3861 (hildon_picker_button_clicked): Present the dialog instead of
3862 running it with gtk_dialog_run().
3864 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3867 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3870 (hildon_app_menu_finalize): When a window is hidden it doesn't
3871 emit notify::is-topmost, so make sure than the menu also
3872 disappears in that case.
3873 (parent_window_topmost_notify): Renamed from parent_window_hidden
3875 Fixes: NB#94460 (stackable window's menu is not closed when its
3878 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-touch-selector-entry.c:
3881 (+hildon_touch_selector_entry_set_input_mode),
3882 (+hildon_touch_selector_entry_get_input_mode):
3883 * src/hildon-touch-selector-entry.h: New methods to access the input
3884 mode in the selector's entry.
3886 Fixes: NB#93410 (API required for setting IM mode in
3887 HildonTouchSelectorEntry)
3889 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3891 * configure.ac: post release version bump.
3892 * debian/changelog: version bump
3894 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3899 * configure.ac: Bump version.
3900 * debian/changelog: Updates.
3902 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3904 * src/hildon-touch-selector.c:
3905 (_hildon_touch_selector_has_multiple_selection): No need
3906 to initialize the variables here.
3908 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3910 * src/hildon-note-private.h
3911 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3912 (hildon_note_finalize, hildon_note_rebuild): Close information
3913 notes when they receive a button press.
3915 Fixes: NB#89890 (Information notes does not get disappeared after
3918 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3921 mark from the wizard title, as it's not really necessary. Also,
3922 do not display the page title if not set.
3924 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3926 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3927 (parent_window_hidden): Use the window's "is-topmost" property to
3928 detect when to hide the menu.
3930 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3933 (hildon_app_menu_finalize): If the parent window of the menu is
3934 hidden, hide the menu too.
3936 Fixes: NB#94460 (stackable window's menu is not closed when its
3939 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3942 * debian/libhildon1-examples.install
3944 * examples/Makefile.am:
3945 Use dh_install to install all examples.
3946 Use DEB_SRCDIR instead of defining SOURCE_DIR
3948 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3950 * configure.ac: post release version bump.
3951 * debian/changelog: version bump
3953 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3958 * configure.ac: bump version
3959 * debian/changelog: updates
3960 * debian/control: bump gtk+ dependency
3962 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3964 patch by Christian Dywan (christian@imendio.com)
3966 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3967 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3969 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-check-button.c (hildon_check_button_init)
3972 (hildon_check_button_class_init, hildon_check_button_style_set)
3973 (hildon_check_button_apply_style):
3974 New "checkbox-size" style property.
3976 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3977 larger / configurable size)
3979 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: post release version bump.
3982 * debian/changelog: version bump
3984 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3989 * configure.ac: bump version
3990 * debian/changelog: updates
3992 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3994 * doc/hildon-sections.txt
3995 * src/hildon-pannable-area.c
3996 * src/hildon-program.c
3997 * src/hildon-time-editor.c
3998 * src/hildon-touch-selector-entry.c:
4000 More documentation updates.
4002 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4004 * doc/hildon-sections.txt
4005 * src/hildon-caption.c
4006 * src/hildon-code-dialog.c
4007 * src/hildon-color-button.c
4008 * src/hildon-controlbar.c
4009 * src/hildon-date-editor.c
4010 * src/hildon-date-selector.c
4011 * src/hildon-edit-toolbar.c
4012 * src/hildon-find-toolbar.c
4013 * src/hildon-font-selection-dialog.c
4015 * src/hildon-program.c
4016 * src/hildon-range-editor.c
4017 * src/hildon-seekbar.c
4018 * src/hildon-time-editor.c
4019 * src/hildon-time-selector.c
4020 * src/hildon-volumebar-range.c
4021 * src/hildon-volumebar.c
4022 * src/hildon-vvolumebar.c
4023 * src/hildon-weekday-picker.c
4024 * src/hildon-window.c
4025 * src/hildon-wizard-dialog.c:
4027 Lots of documentation fixes.
4029 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4031 Patch contributed by Iván Gómez (igomez@igalia.com)
4033 * src/hildon-check-button.c:
4034 * src/hildon-date-button.c:
4035 * src/hildon-date-selector.c:
4036 * src/hildon-dialog.c:
4037 * src/hildon-edit-toolbar.c:
4038 * src/hildon-entry.c:
4039 * src/hildon-picker-button.c:
4040 * src/hildon-program.c:
4041 * src/hildon-text-view.c:
4042 * src/hildon-time-button.c:
4043 * src/hildon-touch-selector-entry.c:
4044 * src/hildon-window-stack.c:
4046 Add more "since" tags to the new API.
4048 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4050 * doc/hildon-sections.txt: Add below method.
4051 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4052 version for the hildonized scale.
4053 * src/hildon-gtk.h: Add the definition.
4055 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4057 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4059 * doc/hildon-sections.txt: Add missing entries for new methods.
4061 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4063 Added API to pannable are in order to get its adjustments. We
4064 added two properties to manage the values we had in the private
4067 * src/hildon-pannable-area.c:
4068 (hildon_pannable_area_class_init): Added hadjustment and
4069 vadjustment properties in order to expose horizontal and vertical
4071 (hildon_pannable_area_get_property),
4072 (hildon_pannable_area_set_property): Added code to handle the new
4074 (hildon_pannable_area_get_hadjustment),
4075 (hildon_pannable_area_get_vadjustment): API functions to get the
4077 * src/hildon-pannable-area.h:
4078 (hildon_pannable_area_get_hadjustment),
4079 (hildon_pannable_area_get_vadjustment): API functions to get the
4082 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4084 Fixed some leaks, after valgrinding.
4086 * src/hildon-touch-selector.c:
4087 (_default_print_func): Fixed a leak.
4088 (hildon_touch_selector_append_column): Fixed a leak.
4089 * src/hildon-date-button.c:
4090 (hildon_date_button_init): Fixed a leak.
4091 * src/hildon-date-selector.c
4092 (hildon_date_selector_finalize): Fixed a leak.
4094 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4096 Based on a patch by Christian Dywan (christian@imendio.com)
4098 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4100 * src/hildon-gtk.h: Add definition.
4102 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4104 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4106 * src/hildon-picker-button.c: (hildon_picker_button_init),
4107 (hildon_picker_button_new): Set the HildonButton::style property
4108 in the init method, to propagate the value to the derived classes.
4110 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-button.c: (hildon_button_class_init): Do not make
4113 the "style" property a construct property.
4115 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-wizard-dialog.h
4118 * src/hildon-wizard-dialog.c
4119 (hildon_wizard_dialog_set_forward_page_func)
4120 * src/hildon-pannable-area.h
4121 * src/hildon-pannable-area.c
4122 (hildon_pannable_area_set_size_request_policy):
4123 Documentation fixes.
4125 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4127 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4129 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4131 * doc/hildon-sections.txt: Added sections file.
4133 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/*.[ch]: Updates.
4138 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4140 * examples/hildon-progress-indicator-example.c: new file
4141 * examples/Makefile.am: include the new example program
4143 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4147 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4149 * configure.ac: post release version bump
4150 * debian/changelog: version bump
4152 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4157 * configure.ac: bump version
4158 * debian/changelog: updates
4159 * debian/control: bump gtk+ dependency
4161 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4163 * src/hildon-dialog.c: Mark as deprecated.
4164 * src/hildon-dialog.h: Mark as deprecated.
4165 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4166 from HildonDialog and still work, even if
4167 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4168 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4170 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4171 maemo changes) instead)
4173 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4175 * src/hildon-pannable_area.h:
4176 * src/hildon-pannable_area.c:
4177 (hildon_pannable_area_class_init),
4178 (hildon_pannable_area_set_property),
4179 (hildon_pannable_area_get_property),
4180 (hildon_pannable_area_size_request),
4181 (hildon_pannable_area_get_size_request_policy),
4182 (hildon_pannable_area_set_size_request_policy): Added new API
4183 allowing applications to control the request policy. Now they can
4184 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4185 children allocation (HILDON_MOVEMENT_CHILDREN).
4187 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4191 (hildon_gtk_tree_view_set_ui_mode)
4192 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4193 mode of treeviews and iconviews.
4195 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-touch-selector-entry.c:
4198 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4199 of a GtkEntry to get proper theming.
4201 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4202 widget, not GtkEntry)
4204 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4207 no HildonWizardDialogPageFunc.
4209 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4211 Patch contributed by Iván Gómez (igomez@igalia.com)
4213 * src/hildon-app-menu.c:
4214 * src/hildon-button.c:
4215 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4216 * src/hildon-stackable-window.c:
4217 * src/hildon-time-selector.c:
4218 * src/hildon-touch-selector.c:
4219 * src/hildon-window.c:
4221 Add more "since" tags to the new API in hildon 2.2.
4223 2008-12-05 Tim Janik <timj@imendio.com>
4225 Patch contributed by Christian Dywan (christian@imendio.com)
4227 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4228 HildonSizeType, which are supplied by Gtk+ now.
4230 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4232 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4233 (with maemo changes) instead)
4235 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4237 Patch contributed by Iván Gómez (igomez@igalia.com)
4239 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4242 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4244 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4245 (some_page_func), (main): Update the example to use a
4246 HildonWizardDialogPageFunc function.
4248 * src/hildon-wizard-dialog-private.h: Add private data for
4249 the HildonWizardDialogPageFunc function usage.
4251 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4252 (destroy), (hildon_wizard_dialog_init), (response),
4253 (hildon_wizard_dialog_set_forward_page_func):
4254 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4255 that applications can use to stop a HildonWizardDialog to jump to
4258 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4261 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4263 * src/hildon-program.h
4264 * src/hildon-program-private.h
4265 * src/hildon-program.c (hildon_program_init)
4266 (hildon_program_set_common_app_menu)
4267 (hildon_program_get_common_app_menu):
4268 New API for setting a common HildonAppMenu for all
4269 HildonStackableWindows registered with the HildonProgram.
4271 * src/hildon-stackable-window.c
4272 (hildon_stackable_window_toggle_menu):
4273 Use the common HildonAppMenu if a window doesn't have a specific
4276 * src/hildon-app-menu-private.h
4277 * src/hildon-app-menu.c
4278 (hildon_app_menu_get_parent_window):
4279 Function to obtain the window a HildonAppMenu is attached to.
4280 (hildon_app_menu_set_parent_window):
4281 Hide the menu if the parent window is set to NULL.
4283 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4286 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4287 search widget to popup.
4289 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4291 * configure.ac: post release version bump
4292 * debian/changelog: version bump
4294 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4299 * configure.ac: bump version
4300 * debian/changelog: updates
4302 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4304 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4306 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4307 (hildon_window_stack_window_realized)
4308 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4309 Set the leader GdkWindow when a window is stacked and realized,
4310 unset it when it's unstacked.
4311 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4313 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4315 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-stackable-window.h
4318 * src/hildon-window-stack.h:
4319 Protect definition of HildonWindowStack using the preprocessor.
4321 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4324 Fix warning if all menu items are hidden.
4326 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4328 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4330 * src/hildon-controlbar.c:
4331 * src/hildon-hvolumebar.c:
4332 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4333 Multiple scale size defines updates.
4335 Fixes: NB#94322 (Scale Updates)
4337 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4339 * examples/hildon-app-menu-example.c (create_menu)
4340 Show items after adding them to the menu, as in the future the
4341 menu will no longer call gtk_widget_show() on the added items.
4343 * src/hildon-app-menu.c:
4344 Update example as explained above.
4346 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-app-menu.c
4349 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4350 Make sure that all menu items have finger height.
4352 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4354 * src/hildon-picker-dialog.c:
4355 (_on_dialog_response), (_save_current_selection),
4356 (_restore_current_selection), (_clean_current_selection),
4357 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4358 Defined new functions in order to save the current internal selector
4359 selection previous open the dialog, in case that the use cancel the
4360 interaction, so the widget restores the previous selection.
4362 Fixes: NB#92032 (In calendar application, date values in 'new event'
4365 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4367 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-button.c: Add a reference to the button examples in
4370 hildon-button-example.c
4372 * examples/hildon-button-example.c: Added examples of the most
4373 common button layouts.
4375 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4377 * src/hildon-app-menu.c (hildon_app_menu_show)
4378 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4380 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4382 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-picker-dialog.c:
4385 (hildon_picker_dialog_init): Initialize the signal id for
4386 HildonTouchSelector::columns-changed.
4387 (+on_selector_columns_changed): Set up the interaction mode everytime a
4388 column is added or removed from the HildonTouchSelector.
4389 (_hildon_picker_dialog_set_selector): Connect to
4390 HildonTouchSelector::columns-changed and keep track of it.
4392 Make sure to update the interaction mode of the dialog everytime a
4393 column is added or removed in the HildonTouchSelector.
4395 Fixes: NB#93228 (Done button is not shown always in listpicker)
4397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4399 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4400 a new ::columns-changed signal.
4401 (hildon_touch_selector_append_column): Emit ::columns-changed.
4402 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4404 Add a ::columns-changed signal, emitted when the number of columns in a
4405 HildonTouchSelector changes.
4407 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4410 (_hildon_picker_dialog_set_selector): Factor out the code
4411 to set up the dialog interaction mode.
4413 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4415 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4416 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4417 to signal_changed_id.
4419 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4424 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4426 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4427 Updated the logical ids related to ampm format, as now it is required to
4428 show it correctly localized even on languages with no default
4429 abbreviations for am or pm
4430 (_check_am_pm_format): check correctly the 24h format gconf property
4432 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4434 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-button.c: Documentation updates.
4438 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4441 * src/hildon-caption.c: (hildon_caption_class_init):
4442 * src/hildon-color-button.c: (hildon_color_button_class_init):
4443 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4444 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4445 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4446 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4448 Remove deprecated GTK+ marshalers and replace them with the ones
4449 provided by GLib, for those available, add a marshaler for
4450 BOOLEAN:VOID, which is not available in GLib, and use it.
4452 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4454 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4455 the text from the previous column if there is no
4456 HildonTouchSelectorColumn::text-property set.
4458 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4460 * src/hildon-button.h
4461 * src/hildon-button.c (hildon_button_set_property)
4462 (hildon_button_get_property, hildon_button_class_init)
4463 (hildon_button_set_style, hildon_button_get_style):
4464 New "style" property to change the visual appearance of the
4467 * src/hildon-picker-button.c (hildon_picker_button_new):
4468 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4470 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4471 HildonButton look like PickerButton)
4473 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4475 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4476 column while building the default string.
4478 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4481 scroll indicator by default.
4483 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4485 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4487 * src/hildon-main.c: Fix the documentation for hildon_init()
4489 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4491 * doc/hildon-docs.sgml
4495 * src/hildon-window-stack-private.h
4496 * src/hildon-window-stack.h
4497 * src/hildon-window-stack.c:
4498 New HildonWindowStack object, that adds support for multiple
4499 stacks of windows per process.
4501 * src/hildon-stackable-window-private.h
4502 * src/hildon-stackable-window.h
4503 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4504 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4505 (hildon_stackable_window_show, hildon_stackable_window_hide)
4506 (hildon_stackable_window_class_init)
4507 (hildon_stackable_window_init):
4508 Use HildonWindowStack for stack management.
4510 * src/hildon-program.c (hildon_program_pop_window_stack)
4511 (hildon_program_peek_window_stack)
4512 (hildon_program_go_to_root_window):
4513 Add a fallback implementation to the deprecated functions using
4516 * examples/hildon-stackable-window-example.c:
4517 Use the new HildonWindowStack API.
4519 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4521 * src/hildon-stackable-window-private.h
4522 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4523 (hildon_stackable_window_hide, hildon_stackable_window_init):
4524 Remove all window stack management.
4526 * src/hildon-program-private.h
4527 * src/hildon-program.h
4528 * src/hildon-program.c (hildon_program_init)
4529 (hildon_program_pop_window_stack)
4530 (hildon_program_peek_window_stack)
4531 (hildon_program_go_to_root_window):
4532 Remove all window stack management and mark functions as
4535 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4537 * src/hildon-app-menu.c (hildon_app_menu_realize):
4538 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4540 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4542 * configure.ac: post release version bump
4543 * debian/changelog: version bump
4545 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4550 * configure.ac: bump version
4551 * debian/changelog: updates
4553 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4555 Based on initial code by Christian Dywan (christian@imendio.com)
4557 * doc/hildon-docs.sgml: Add section for hildon-main.
4558 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4559 * src/Makefile.am: Add new hildon-main.[ch]
4560 * src/hildon-defines.h: Update the icon sizes.
4561 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4562 new library initialization files and register icon sizes.
4563 * src/hildon-main.h: New declarations.
4564 * src/hildon.h: Include hildon-main.h
4566 Add new initialization functions to the library. These methods
4567 will register the hildon specific icon sizes and can be used in the
4568 future for other hildon specific bits.
4570 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4572 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/hildon-window.c: (hildon_window_realize),
4575 (hildon_window_notify), (-hildon_window_update_title): Do not set
4576 the application name in the window title.
4578 Fixes: NB#89754 (Applications shouldn't display their names in the
4581 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/hildon-note-private.h:
4584 * src/hildon-note.c: (hildon_note_set_property),
4585 (hildon_note_get_property), (hildon_note_class_init),
4586 (hildon_note_init), (hildon_note_finalize),
4587 (hildon_note_new_confirmation_with_icon_name),
4588 (hildon_note_new_information_with_icon_name):
4590 No need to mark as deprecated the actual code. Revert
4591 to avoid missing symbols in widgets using deprecated API.
4593 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4595 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4597 * src/hildon-volumebar.h
4598 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4599 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4601 * src/hildon-helper.h
4602 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4603 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4605 * examples/Makefile.am:
4606 Deprecate hildon-insensitive-example
4608 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4610 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4612 * examples/hildon-pannable-area-buttons-scroll-example.c:
4613 Make all buttons finger height
4615 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4617 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4619 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4620 update the day model only if it is really required, and to avoid the
4621 full-reconstruction aproach. Now it only add or remove the required days.
4623 The purpose of this is avoid superfluous HildonTouchSelector::changed
4626 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4627 with strange parameters)
4629 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4631 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4633 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4634 the WINDOW_TYPE property.
4636 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4638 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4641 Fix dependency to allow parallel compilation with make -jX
4643 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4645 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4646 color frame and some minor tweaks to make it more consistent with
4649 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4650 highlighted but not visible)
4652 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4654 * examples/Makefile.am: Fixed typo in the Makefile.am.
4656 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4658 Reviewed the use of MAEMO_GTK define, now we add the define in the
4659 compilation line, and we also add it to the pc file.
4661 * configure.ac: Added MAEMO_GTK define to the compilation command
4662 and removed it from the config.h.
4664 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4665 do not have to take care about this define if the library was
4669 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4671 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4673 * examples/Makefile.am,
4674 * examples/hildon-pannable-area-buttons-scroll-example.c,
4675 * examples/hildon-pannable-area-gesture-signals-example.c,
4676 * examples/hildon-pannable-area-scroll-jump-example.c,
4677 * examples/hildon-pannable-area-tree-view-example.c:
4678 Renamed the pannable area examples, now they have more meaningful
4681 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4683 * src/hildon-touch-selector.c:
4684 (hildon_touch_selector_set_column_selection_mode): Used of
4685 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4686 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4687 to avoid re-seting the same selection mode.
4689 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4690 breaks HildonPickerDialog)
4692 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4694 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4695 conditional in the Makefile.am
4697 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4699 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4700 Remove unused methods.
4702 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-button.c (hildon_button_init):
4705 Make button images center-aligned by default
4707 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4710 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4711 activated, we have to think about how to deal with both defines
4712 MAEMO_GTK and MAEMO_CHANGES.
4714 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4716 * examples/hildon-app-menu-example.c (create_menu): Make all
4717 buttons finger size.
4719 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4721 Fixed the compilation without maemo gtk adding ifdefs with
4722 MAEMO_GTK define to the code, we have to check this version more
4725 * examples/Makefile.am: Added control to avoid some examples that
4726 just make sense with maemo gtk.
4729 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4730 hildon modes with the define.
4732 * examples/hildon-edit-toolbar-example.c,
4733 (create_icon_view): Create the icon view without hildon-gtk
4734 helpers if we are not using maemo gtk.
4736 * src/hildon-touch-selector.c,
4737 (_create_new_column): Create the treeview without hildon-gtk
4738 helpers if we are not using maemo gtk.
4740 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4742 * src/hildon-pnnable-area.c,
4743 (hildon_pannable_area_dispose),
4744 (hildon_pannable_area_button_press_cb),
4745 (hildon_pannable_area_child_mapped),
4746 (hildon_pannable_area_add),
4747 (hildon_pannable_area_remove): Added code to control the position
4748 of the event_window when adding and removing children from the
4749 pannable. We have to raise the event window when the child is
4752 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4753 selection mode using custom widget inside pannable)
4755 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4757 * configure.ac: post release version bump
4758 * debian/changelog: version bump
4760 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4765 * configure.ac: bump version
4766 * debian/changelog: updates
4768 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4770 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4771 search mode, in order to avoid lose the focus on the treeview when
4772 a hw key (like enter) is pressed.
4774 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4775 in HildonDateSelector dialog)
4777 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4779 * debian/rules: Added --enable-maintainer-mode
4780 * Makefile.am: Added ACLOCAL_AMFLAGS
4782 This allows to properly regenerate the Makefiles if you modify the
4783 configure.ac or any Makefile.am.
4785 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4787 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4788 properties, not needed at all.
4790 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4794 * src/hildon-note.c: (hildon_note_set_property),
4795 (hildon_note_get_property), (hildon_note_class_init),
4796 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4797 (hildon_note_new_confirmation_add_buttons): Remove icons.
4798 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4799 (hildon_note_new_information_with_icon_name): Deprecate.
4800 (hildon_note_new_confirmation): Act directly, without calling
4801 the deprecated constructor.
4802 (hildon_note_new_information): Act directly, without calling
4803 the deprecated constructor.
4804 * src/hildon-note.h: Mark deprecate methods as such.
4805 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4806 not run tests on the deprecated methods if built with deprecation
4809 Fixes: NB#91688 (Never show icons in information notes/confirmation
4812 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4815 (hildon_app_menu_key_press): Remove leftover usage of the
4816 private structure in HildonAppMenu struct.
4817 * src/hildon-app-menu.h: Remove leftover private structure
4818 from the HildonAppMenu struct.
4820 Fixes a crasher when using the HildonAppMenu.
4822 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-picker-dialog.c: Use appropriate logical id
4825 for the default "Done" text.
4827 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4829 * configure.ac: post release version bump
4830 * debian/changelog: version bump
4832 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4834 Modified the way to scroll to the current selection just when the touch
4835 selector is shown on the screen, avoiding a g_idle. Added too a property
4836 to configure this behaviour. See hildon_pannable_area_jump_to_child
4837 documentation for more information.
4839 * src/hildon-touch-selector.c
4840 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4841 Added 'initial-scroll' property
4842 (hildon_touch_selector_set_property): Added
4843 (hildon_touch_selector_map): Removed as not required anymore
4844 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4845 only a concrete column, instead of iterate along all the columns
4847 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4852 * configure.ac: bump version
4853 * debian/changelog: updates
4855 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4858 compilation time warnings.
4860 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4863 the default value for HildonPannableArea::mov-mode to
4864 HILDON_PANNABLE_AREA_MODE_VERT.
4866 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4868 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4870 Reverting following commit:
4872 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-app-menu-private.h
4875 * src/hildon-app-menu.[ch]
4876 * src/hildon-button.[ch]
4877 * src/hildon-check-button.[ch]
4878 * src/hildon-entry.[ch]
4879 * src/hildon-pannable-area.[ch]
4880 * src/hildon-text-view.[ch]:
4881 Added private field to the object's structure.
4883 because it causes an ABI breakage. We will need to introduce these
4884 changes later at some point. See NB#91636 for an extensive
4885 explanation and status.
4887 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4889 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4891 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4892 remove special cases that are no longer necessary.
4894 Fixes: NB#91016 (Change toolbar sizes, simplification)
4896 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4898 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4899 is shown in the cancel note.
4901 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4904 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4905 (hildon_seekbar_init): Remove steppers, remove expose event.
4906 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4908 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4910 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4913 label font to "SmallSystemFont" for vertically arranged buttons.
4915 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4918 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-check-button.c
4921 (hildon_check_button_set_active, hildon_check_button_clicked):
4922 Don't access private parts directly, use getters instead.
4924 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-check-button.c (hildon_check_button_new):
4927 Align the contents of the check button to the left.
4929 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4931 * src/hildon-pannable-area.c,
4932 (hildon_pannable_area_scroll_to),
4933 (hildon_pannable_area_jump_to),
4934 (hildon_pannable_area_scroll_to_child),
4935 (hildon_pannable_area_jump_to_child): Replace the mapped
4936 precondition of these functions with the realized, it is the
4937 correct state of the widget in this case. Changed the
4938 documentation according to this modification.
4940 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4942 Added a new EXTRA_CFLAGS option to add the deprecated define to
4943 the compilation command. This way we can avoid using the define in
4944 the documentation compilation.
4946 * configure.ac: Defined EXTRA_CFLAGS.
4948 * examples/Makefile.am:
4950 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4952 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4954 * src/hildon-picker-dialog.c:
4955 Defined a utility macro with the desired touch selector height
4956 Removed currently unused separator, and title_label variables from
4958 (hildon_picker_dialog_init): Removed code related to the creation
4959 of unused private variables title_label and separator.
4960 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4961 to ensure correct visualization of the touch selector inside the dialog.
4962 * src/hildon-touch-selector.c
4963 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4964 ensure a concrete height of the widget.
4966 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4969 * tests/Makefile.am:
4971 Remove spurious whitespaces.
4973 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4975 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4976 compilation warning after the cancel button removal.
4978 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4980 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4982 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4983 Makefile.am, that way we can choose not to compile some examples
4984 and tests of the deprecated widgets.
4986 * examples/Makefile.am: Divided the sources in deprecated and
4989 * src/Makefile.am: Added undef statement of the deprecated
4990 symbol to the enums file generation process.
4992 * src/hildon-color-chooser-dialog.c
4993 * src/hildon-color-chooser-dialog.h
4994 * src/hildon-color-button.c
4995 * src/hildon-color-button.h
4996 * src/hildon-color-chooser.c
4997 * src/hildon-color-chooser.h
4998 * src/hildon-controlbar.c
4999 * src/hildon-controlbar.h
5000 * src/hildon-date-editor.c
5001 * src/hildon-date-editor.h
5002 * src/hildon-hvolumebar.c
5003 * src/hildon-hvolumebar.h
5004 * src/hildon-private.c
5005 * src/hildon-private.h
5006 * src/hildon-range-editor.c
5007 * src/hildon-range-editor.h
5008 * src/hildon-seekbar.c
5009 * src/hildon-seekbar.h
5010 * src/hildon-time-editor.c
5011 * src/hildon-time-editor.h
5012 * src/hildon-time-picker.c
5013 * src/hildon-time-picker.h
5014 * src/hildon-volumebar.c
5015 * src/hildon-volumebar.h
5016 * src/hildon-vvolumebar.c
5017 * src/hildon-vvolumebar.h
5018 * src/hildon-bread-crumb-trail.h
5019 * src/hildon-bread-crumb-trail.c
5020 * src/hildon-calendar-popup.c
5021 * src/hildon-calendar-popup.h
5022 * src/hildon-weekday-picker.c:
5023 * src/hildon-weekday-picker.h:
5024 * src/hildon-bread-crumb-widget.c:
5025 * src/hildon-bread-crumb-widget.h:
5026 * src/hildon-bread-crumb.c:
5027 * src/hildon-bread-crumb.h:
5028 * src/hildon-calendar.c:
5029 * src/hildon-calendar.h:
5030 * src/hildon-caption.c:
5031 * src/hildon-code-dialog.c:
5032 * src/hildon-code-dialog.h:
5033 * src/hildon-font-selection-dialog.c:
5034 * src/hildon-font-selection-dialog.h:
5035 * src/hildon-get-password-dialog.c:
5036 * src/hildon-get-password-dialog.h:
5037 * src/hildon-login-dialog.c:
5038 * src/hildon-login-dialog.h:
5039 * src/hildon-number-editor.c:
5040 * src/hildon-number-editor.h:
5041 * src/hildon-set-password-dialog.c:
5042 * src/hildon-set-password-dialog.h:
5043 * src/hildon-sort-dialog.c:
5044 * src/hildon-sort-dialog.h: This is the list of deprecated
5047 * src/hildon-touch-selector.c:
5048 * src/hildon-window.c: Added undef statement to avoid compilation
5051 * tests/Makefile.am: Divided the sources in deprecated and
5054 * tests/check_test.c,
5055 (configure_tests): Marked the deprecated code that was adding
5056 suites with deprecated tests.
5058 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5060 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5062 * src/hildon-touch-selector.c: (_default_print_func): Do not
5063 duplicate a string returned by gtk_tree_model_get(), it is already
5066 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5069 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5071 * src/hildon-pannable-area.c
5072 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5073 method, it had problems when adding a widget with viewport the
5074 second time. Now checks if it already has a viewport and uses it.
5076 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5079 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5081 * src/hildon-pannable-area.c,
5082 (hildon_pannable_area_scroll_to),
5083 (hildon_pannable_area_jump_to),
5084 (hildon_pannable_area_scroll_to_child),
5085 (hildon_pannable_area_jump_to_child): Added a precondition to the
5086 scroll and jump to functions: the widget must be mapped before we
5087 can safely call these functions. We have also added documentation
5088 to the functions to explain how to use them in this situation.
5091 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5093 Reviewed the threading handling of the pannable widget, we have
5094 used the gdk_threads_add_timeout function instead of the usual
5095 glib handlers. This avoids some problems with the threads.
5097 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5098 (hildon_pannable_area_initial_effect),
5099 (hildon_pannable_area_scroll_indicator_fade),
5100 (hildon_pannable_area_button_press_cb),
5101 (hildon_pannable_area_timeout),
5102 (hildon_pannable_area_motion_notify_cb),
5103 (hildon_pannable_area_button_release_cb),
5104 (hildon_pannable_area_scroll_cb),
5105 (hildon_pannable_area_scroll_to): Removed the
5106 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5107 gdk_threads_add_timeout.
5109 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5111 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5116 * configure.ac: bump version
5117 * debian/changelog: updates
5119 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5122 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5123 * src/hildon-color-chooser-dialog.c:
5124 (hildon_color_chooser_dialog_init):
5125 * src/hildon-font-selection-dialog.c:
5126 (hildon_font_selection_dialog_init):
5127 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5129 Remove all cancel/close-like dialogs, as these are not going to be
5132 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-note.c: (hildon_note_rebuild),
5135 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5138 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5140 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5143 sure all buttons are shown, even the Cancel/Close-like ones.
5145 Fixes: NB#90861 (Custom Confirmation dialogs should be
5146 protected from cancel button removal)
5148 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5150 * debian/control: Change libhildon1-examples dependency from libhildon1
5152 * debian/libhildon1-examples.install
5154 * Makefile.am: Modified the final install directory for the examples on
5155 package libhildon1-examples
5156 * Makefile.static: Update clean target in order to remove all the binary
5159 Changes suggested by Claudio after review new libhildon1-examples package
5161 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5164 * src/hildon-touch-selector.c: Ditto.
5166 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5168 * debian/control: Added new package libhildon1-examples, in order to pack
5169 the current hildon examples as documentation
5170 * debian/rules: Not to compress .c files, modify some includes on the
5171 examples (as normally are compiled locally, but when installed it will
5172 require to include the installed libhildon1 library), and rename
5174 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5175 install all the example files on the new example package
5176 * examples/Makefile.static: Added static makefile that can be used to
5177 compile the examples, once installed the new example package
5178 * examples: Most of the examples were modified in order to grant that
5179 all use only '#include "hildon.h"', in order to be easy to prepare
5180 it on the example package
5182 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5185 * debian/libhildon1-dev.install
5186 * debian/libhildon1-doc.install:
5187 Move all gtk-doc files to a separate libhildon1-doc package.
5189 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5191 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5193 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5195 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5197 * debian/rules: Fixed a error in order to avoid unnecessary calls
5198 to autogen.sh on package building
5200 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5202 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5204 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5206 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5209 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-picker-button.c
5212 (hildon_picker_button_finalize):
5213 Free priv->done_button_text
5215 * src/hildon-time-button.c
5216 (hildon_time_button_set_time)
5217 * src/hildon-picker-button.c
5218 (hildon_picker_button_clicked)
5219 (hildon_picker_button_selector_selection_changed)
5220 (hildon_picker_button_set_selector)
5221 * src/hildon-date-button.c
5222 (hildon_date_button_set_date):
5223 Free strings returned by hildon_touch_selector_get_current_text()
5225 * src/hildon-button.c (hildon_button_construct_child):
5226 Fix leaks in priv->image and priv->label_box
5228 Fixes: NB#90535 (Memory leak in picker button)
5230 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5232 * src/hildon-button.c: (hildon_button_get_property): Do not access
5233 private elements directly, use getters instead.
5235 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-app-menu-private.h
5238 * src/hildon-app-menu.c
5239 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5240 Store the menu's parent window.
5242 * src/hildon-stackable-window.c
5243 (hildon_stackable_window_toggle_menu)
5244 (hildon_stackable_window_finalize):
5245 Set the menu's parent window when the menu is shown, unset it when
5248 * src/hildon-app-menu.c
5249 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5250 (hildon_app_menu_class_init):
5251 Send unhandled keyboard accelerators to the parent window.
5253 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5255 * src/hildon-stackable-window.c
5256 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5258 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5260 * configure.ac: post release version bump
5262 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5265 * configure.ac: Bump version
5266 * debian/changelog: Updates
5267 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5270 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5272 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5275 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5276 GtkMenu with Hildon style.
5278 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5280 * src/hildon-picker-button.c:
5281 (hildon_picker_button_set_done_button_text): Set the dialog's
5282 done button text here as well.
5284 Fixes: NB#90232 (Picker button does not set the label on done button
5285 for the second time)
5287 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5292 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-app-menu.c (hildon_app_menu_insert)
5295 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5296 the HildonAppMenu to be activatable using keyboard accelerators
5297 when the menu is not being shown.
5299 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5301 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-stackable-window.c
5304 (hildon_stackable_window_show):
5305 Don't hide old windows automatically when new windows are shown:
5306 this is now a task for the window manager.
5307 (hildon_stackable_window_class_init)
5308 (hildon_stackable_window_hide):
5309 Remove windows from the stack everytime they're hidden.
5310 (hildon_stackable_window_realize):
5311 Don't change the _NET_WM_WINDOW_TYPE property. Use
5312 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5313 it as a stackable window.
5315 * src/hildon-program.c
5316 (hildon_program_pop_window_stack):
5317 Just hide the window to remove it from the stack.
5318 (hildon_program_go_to_root_window):
5319 Don't call gtk_widget_show(), this is now a task for the window
5322 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5324 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-button.c
5327 (hildon_button_construct_child):
5328 Don't pack anything in the button until text or image are
5329 set. This allows adding a custom child after creating the button
5330 with hildon_button_new().
5331 (hildon_button_finalize, hildon_button_class_init)
5332 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5333 alignment and the label box even when they're not packed in the
5336 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5338 * src/hildon-touch-selector.h:
5339 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5340 currently the type definition was using GTK_TYPE_VBOX
5341 * src/hildon-touch-selector.c:
5342 Added some implementation notes in order to clarify that any other widget
5343 added without the column related API will not be included on the
5344 selection logic, and how the widget is freed, as some people ask about
5346 (hildon_touch_selector_remove): Reimplemented in order to free properly
5347 the column related data when you remove the private hbox.
5348 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5349 to get a proper HildonTouchSelectorColumn documentation
5351 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5353 * src/hildon-touch-selector-entry.c:
5354 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5355 text in the GtkEntry and there is no item selected. Fixes a
5358 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-app-menu-private.h
5361 * src/hildon-app-menu.[ch]
5362 * src/hildon-button.[ch]
5363 * src/hildon-check-button.[ch]
5364 * src/hildon-entry.[ch]
5365 * src/hildon-pannable-area.[ch]
5366 * src/hildon-text-view.[ch]:
5367 Added private field to the object's structure.
5369 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5371 * configure.ac: post-release version bump
5373 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5377 * configure.ac: pre-release version bump
5379 * debian/changelog: updates.
5381 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5384 Disconnect the handler for HildonTouchSelector::changed.
5386 (hildon_picker_button_selector_selection_changed): Update the button
5387 value if the selection change was not triggered by the
5390 (hildon_picker_button_set_selector): connect to
5391 HildonTouchSelector::changed.
5393 Fixes: NB#89650 (Picker button is not updated, when selection in
5394 selector has changed)
5396 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5398 * src/hildon-picker-dialog.c
5399 (hildon_picker_dialog_realize): Removed as not required
5400 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5401 * src/hildon-picker-button.c
5402 (_current_selector_empty): New function, checks if the selector is empty
5403 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5404 if the current selector is empty, in order to avoid to show the dialog
5405 close the dialog in this case (and shows a g_warning).
5407 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5409 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-pannable-area.c,
5412 (hildon_pannable_area_scroll): Added clause to stop movement when
5413 the child of pannable is smaller than one page.
5414 (hildon_pannable_area_scroll_to): Added conditions to avoid
5415 starting the scrolling movement if the child is smaller than one
5416 page, the complete child is in the screen, we do not have to move.
5418 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5420 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5422 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5423 this is managed automatically by the widget when the size of the
5426 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5428 * src/hildon-picker-button.c
5429 (hildon_picker_button_set_done_button_text): Make a copy of the
5430 text, and free the previous value.
5432 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-touch-selector-entry.c:
5435 (hildon_touch_selector_entry_print_func): Return the selected row's
5436 text if the entry is empty.
5438 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5441 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5443 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5445 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-check-button.h
5449 * src/hildon-check-button.c
5450 * examples/hildon-check-button-example.c:
5451 HildonCheckButton is now a new widget. 'toggled' signal added.
5453 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5455 * src/hildon-program-private.h
5456 * src/hildon-program.c (hildon_program_init)
5457 (hildon_program_finalize): Removed unused variables group_leader
5458 and name from HildonProgramPrivate.
5460 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5462 * src/hildon-check-button.c (hildon_check_button_set_active)
5463 (hildon_check_button_get_active, hildon_check_button_new): Use
5464 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5466 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5468 * src/hildon-touch-selector.h
5469 (hildon_touch_selector_set_column_attributes): added deprecation
5470 guard HILDON_DISABLE_DEPRECATED
5471 * src/hildon-time-selector.c
5472 (hildon_time_selector_set_time)
5473 (hildon_time_selector_get_time): Fixed a typo on documentation
5474 * src/hildon-touch-selector.c: update HildonTouchSelector and
5475 HildonTouchSelectorColumn documentation
5476 * src/hildon-touch-selector-entry.c: update "text-column" property
5478 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5479 to be added to the general documentation.
5481 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5483 * examples/hildon-pannable-area-example-4.c,
5485 * examples/hildon-pannable-area-example.c,
5486 (main): Modified the code in order to use the container add, with
5487 viewport treeviews could have problems if they are really big.
5489 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-weekday-picker.c,
5492 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5493 the agreement regarding deprecation in the library.
5495 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5497 * examples/hildon-picker-button-multicolumn-example.c:
5498 (main): Use custom "done" button text.
5500 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5501 (hildon_picker_button_set_property),
5502 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5503 (hildon_picker_button_init),
5504 (+hildon_picker_button_get_done_button_text),
5505 (+hildon_picker_button_set_done_button_text): New methods to customize
5506 the "done" button label in the launched HildonPickerDialog. Also,
5509 * src/hildon-picker-button.h: add the public API.
5511 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5513 * src/hildon-date-selector.h:
5514 * src/hildon-picker-dialog.h:
5515 * src/hildon-time-selector.h:
5516 * src/hildon-touch-selector-column.h:
5517 * src/hildon-touch-selector.h:
5519 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5520 declarations. Fixes gtk-doc warnings.
5522 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5524 * src/hildon-picker-dialog.h
5525 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5526 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5528 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5529 long text is set as label for done button)
5531 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5533 * src/hildon-dialog.c (hildon_dialog_add_button):
5534 Set fixed width to all buttons in the HildonDialog.
5536 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5538 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5540 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5541 Set widget name using class name plus "-finger" or "-thumb".
5543 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5546 'clicked' when the state of the button is manually changed.
5548 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5550 * src/hildon-app-menu.c (hildon_app_menu_realize)
5551 (hildon_app_menu_unrealize, hildon_app_menu_init)
5552 (hildon_app_menu_class_init, item_visibility_changed):
5553 Change the menu layout when the size of the screen changes.
5554 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5555 Show warning only when changing the number of colums using the
5558 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5560 * debian/compat: Set to 5
5561 * debian/control: Update dependencies.
5562 * debian/libhildon1-dbg.install: Remove.
5563 * debian/libhildon1-dev.install: Update according to cdbs paths.
5564 * debian/libhildon1.install: Update according to cdbs paths.
5565 * debian/rules: Switch to cdbs.
5567 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5570 'item' variable renamed to 'filter'
5572 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5574 * src/hildon-app-menu.c (hildon_app_menu_insert)
5575 (hildon_app_menu_add_filter, remove_item_from_list)
5576 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5577 Don't leak hidden items when the menu is destroyed.
5579 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-app-menu.c (hildon_app_menu_insert)
5582 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5583 (hildon_app_menu_set_columns, item_visibility_changed)
5584 (filter_visibility_changed, hildon_app_menu_repack_filters)
5585 (hildon_app_menu_repack_items):
5586 Repack items and filters separately.
5588 Don't repack all items, change only the ones that are needed to
5591 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5593 * src/Makefile.am: added hildon-touch-selector-column.h
5595 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5597 * src/hildon-touch-selector.c: added the property "text-column" to the
5598 class HildonTouchSelectorColumn, and related get/set functions
5599 (_default_printf_func): updated to use "text-column" property
5600 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5601 "text-column" in his documentation, as this is now included on
5602 HildonTouchSelectorColumn. The get/set_property can still be used,
5603 working as a wrapper to the concrete column "text-column" property
5604 (_text_column_modified): callback added in order to handle the signal
5605 "notify::text-column" of the concrete HildonTouchSelectorColumn
5606 (hildon_touch_selector_entry_get_text_column)
5607 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5608 modified in order to use the HildonTouchSelectorColumn "text-column"
5610 * src/hildon-time-selector.c:
5611 * src/hildon-date-selector.c:
5612 * examples/hildon-touch-selector-example.c
5613 * examples/hildon-touch-selector-multi-cells-example.c
5614 * examples/hildon-picker-button-multicolumn-example.c
5615 Set the right value to "text-column" property on the creation of a new
5616 column using hildon_touch_selector_append_column()
5618 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5620 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-app-menu.c
5623 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5624 updating the layout of the menu, don't create all widgets again,
5625 just repack the items in their new places.
5627 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5629 * src/hildon-time-selector.c
5630 (hildon_time_selector_get_time)
5631 (hildon_time_selector_set_time)
5632 Added documentation of these public methods
5634 * src/hildon-date-button.h
5635 * src/hildon-touch-selector-column.h
5636 * src/hildon-time-button.h
5637 * src/hildon-picker-dialog.h
5638 * src/hildon-time-selector.h
5639 * src/hildon-picker-button.h
5640 * src/hildon-touch-selector.h
5641 * src/hildon-time-picker.h
5642 * src/hildon-date-selector.h
5643 * src/hildon-touch-selector-entry.h
5644 Modified in order to use hildon-widgets code style
5646 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5648 Added deprecated support to the compilation process using
5649 HILDON_DISABLE_DEPRECATED
5651 * configure.ac: Added the --disable-deprecated to the configure
5654 * src/hildon-weekday-picker.c:
5655 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5656 to use the deprecated support. We will update the other deprecated
5657 widgets status in a new patch.
5659 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5661 * configure.ac: Fixed typo with fatal warnings support, the
5662 variable name was not correct
5664 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-app-menu.c
5667 * src/hildon-program.c: Update documentation.
5669 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5671 * configure.ac: Post-release version bump.
5673 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5678 * configure.ac: Pre-release version bump.
5679 * debian/changelog: Updates.
5681 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5683 * NEWS: Update news for previous releases.
5685 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5687 * examples/hildon-touch-selector-multi-cells-example.c:
5688 (create_selector): Update the example to use
5689 hildon_touch_selector_append_column() with a NULL renderer and set
5690 the renderers later.
5691 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5692 passed a NULL renderer. This is documented behavior now.
5694 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5695 This must be used if the developer wants full control on the layout of
5696 the renderers to be added to the column.
5698 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5700 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5702 * src/hildon-touch-selector.c: Documentation fixes.
5704 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-wizard-dialog-private.h: Remove image and box.
5707 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5708 (hildon_wizard_dialog_set_property), (response): Completely remove
5709 image/icon support, and the containers required for the layout.
5711 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5713 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-app-menu.c: Updated documentation.
5717 * src/hildon-stackable-window.c
5718 (hildon_stackable_window_set_main_menu): Unref the old menu after
5719 ref'ing the new one.
5721 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-stackable-window.c
5724 (hildon_stackable_window_set_main_menu): Unref the previous menu
5725 instead of destroying it.
5727 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5728 floating reference and set has_user_ref_count to FALSE to make
5729 HildonAppMenu act like a normal ref-counted widget and not a
5732 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5735 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5737 * src/hildon-touch-selector-column.h: new file
5738 * src/hildon-touch-selector.h
5739 * src/hildon-touch-selector.c
5740 Implemented GtkCellLayout interface, in order to allow to configure
5741 the cell layout on each individual selector column
5742 (hildon_touch_selector_set_column_attributes): marked as deprecated
5743 * examples/hildon-touch-selector-multi-cells-example.c
5744 Example of how to use the GtkCellLayout interface on the selector
5746 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5748 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5750 * src/hildon-app-menu.h
5751 * src/hildon-app-menu.c
5752 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5753 (hildon_app_menu_append, hildon_app_menu_prepend):
5754 New methods to prepend, insert and move items in the menu.
5756 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-wizard-dialog.c:
5760 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5762 (create_title): Update logical IDs and related code.
5763 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5765 * src/hildon-wizard-dialog.h: Note that
5766 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5767 point, as it is not used anymore.
5769 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5771 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5773 * src/hildon-note.c:
5774 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5775 shown. Do not display an icon in confirmation notes nor information
5777 (hildon_note_set_button_text): Update logical ID for cancel button.
5779 Fixes: NB#88850 (Update HildonNote button strings + signals)
5781 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-stackable-window.c
5784 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5786 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-app-menu-private.h
5789 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5790 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5791 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5792 temporary property 'columns' to change the number of columns.
5794 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5796 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5798 * examples/hildon-note-example.c: (on_information_clicked),
5799 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5800 debugging information.
5801 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5803 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5804 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5805 in order to close: this will be handled by the WM from now on.
5807 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5809 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-app-menu-private.h
5812 * src/hildon-app-menu.c
5813 (hildon_app_menu_append, hildon_app_menu_add_filter)
5814 (button_visibility_changed, hildon_app_menu_apply_style)
5815 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5816 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5817 layout everytime a button (item or filter) is shown or hidden.
5819 * src/hildon-stackable-window.c
5820 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5823 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5825 * src/hildon-touch-selector.c:
5826 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5827 that the treeview inside the touch selector is in fremantle hildon mode
5828 * examples/hildon-date-button-example.c
5829 * examples/hildon-picker-button-multicolumn-example.c
5830 * examples/hildon-touch-selector-entry-example.c
5831 * examples/hildon-touch-selector-example.c
5832 * examples/hildon-time-button-example.c
5833 * examples/hildon-picker-button-example.c:
5834 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5836 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5838 * examples/hildon-text-view-example.c: (main): Remove the
5839 gtkrc bits, now handled by the theme.
5841 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5843 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5846 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5848 * po/Makefile.am: Install properly the mo files.
5849 * po/en_GB.po: Update translation, to ease testing purposes.
5851 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5853 * examples/hildon-picker-button-example.c: (main): Select an item
5854 in the selector before setting it to the button.
5856 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5858 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5859 Update button's value if the selector has an item active.
5861 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5862 'value' with the selector)
5864 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5866 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5867 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5868 (hildon_picker_button_class_init): Plug the finalize method.
5869 (hildon_picker_button_set_selector): If there's a previously set
5870 selector, unref'it before setting a new one.
5872 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5873 HildonTouchSelector)
5875 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5877 * src/hildon-touch-selector-entry.c:
5878 (hildon_touch_selector_entry_changed): Check if there is no text
5879 selected before setting the entry text.
5882 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-touch-selector.h
5885 * src/hildon-touch-selector.c
5886 (hildon_touch_selector_get_active)
5887 (hildon_touch_selector_set_active): New methods to set/get the
5888 index of the selected item.
5890 * src/hildon-picker-button.h
5891 * src/hildon-picker-button.c
5892 (hildon_picker_button_get_active)
5893 (hildon_picker_button_set_active): New methods to set/get the
5894 index of the selected item.
5896 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5898 * configure.ac: post-release version bump.
5900 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5904 * configure.ac: Pre-release version bump.
5905 * debian/changelog: Updates.
5906 * debian/control: Add myself as maintainer and depend on l10n
5909 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-window.c
5912 (hildon_window_set_main_menu)
5913 * src/hildon-stackable-window.c
5914 (hildon_stackable_window_set_main_menu):
5915 Updated documentation.
5917 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5920 Don't free selector->priv manually.
5923 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5926 (hildon_gtk_window_set_progress_indicator):
5927 * src/hildon-gtk.h: Added the new API
5928 hildon_gtk_window_set_progress_indicator, it changes the state of
5929 the window progress hint.
5931 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5933 * src/hildon-button.c
5934 * src/hildon-stackable-window.c: Minor documentation updates.
5936 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5938 * src/hildon-stackable-window.c: Updated documentation.
5940 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5942 * src/hildon-defines.h: Update margins definitions
5943 to the Fremantle sizes.
5946 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-touch-selector.c,
5949 (_hildon_touch_selector_set_model): Cleaning the code after
5950 review, removed g_print and #if 0 from the code.
5952 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5954 * src/hildon-edit-toolbar.c: Update documentation.
5956 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5958 * src/hildon-check-button.h
5959 * src/hildon-check-button.c
5960 (hildon_check_button_set_label, hildon_check_button_get_label)
5961 * examples/hildon-check-button-example.c
5962 (button_clicked_cb):
5963 Removed deprecated methods.
5965 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-text-view.c:
5968 Add sample code to the documentation.
5970 * src/hildon-entry.h
5971 * src/hildon-text-view.h:
5972 Minor cosmetic changes.
5974 * src/hildon-entry.c:
5975 Add sample code to the documentation.
5976 (hildon_entry_init, hildon_entry_refresh_contents):
5977 Don't allow NULL values in the placeholder.
5979 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5981 * doc/hildon-docs.sgml
5983 * examples/Makefile.am
5984 * examples/hildon-text-view-example.c
5986 * src/hildon-text-view.c
5987 * src/hildon-text-view.h
5989 New HildonTextView widget, with example.
5991 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5993 * po/POTFILES.in: Add missing files with translatable strings.
5994 Partially fixes NB#88287.
5996 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5998 * examples/hildon-pannable-area-example-2.c: (main): No need to
5999 set the cellrenderer height inside hildon touch lists, the theme does
6002 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6004 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6005 they are integrated in the theme.
6007 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6009 * examples/hildon-entry-example.c: Update the example adding
6010 widgets to modify the text and the placeholder of the HildonEntry.
6012 * src/hildon-entry.c: Show the placeholder everytime the widget
6013 is empty and loses the focus.
6015 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6017 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6019 * src/hildon-pannable-area.c,
6020 (hildon_pannable_area_size_request): Fixed bug in height
6021 requisition, avoid increasing size and add border twice.
6023 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6025 * configure.ac: postrelease version bump.
6027 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6031 * configure.ac: Prerelease version bump.
6032 * debian/changelog: update.
6033 * debian/rules: make -dbg package contain useful debugging symbols.
6035 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6037 * src/hildon-dialog.h
6038 * src/hildon-dialog.c
6039 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6040 New methods to add buttons with finger size.
6041 (hildon_dialog_new_with_buttons):
6042 Create buttons with finger size.
6044 * examples/hildon-dialog-example.c (main): Use HildonDialog
6045 methods to add buttons.
6047 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-entry.c: Updated HildonButton documentation.
6051 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6054 button value label with (FALSE, FALSE) to prevent NB#88126 from
6057 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6059 * examples/hildon-pannable-area-example.c,
6060 (main): Removed examples panning a vbox inside a pannable
6061 area. Check bug NB#87965
6063 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6065 Patch contributed by Kris Rietveld (kris@imendio.com)
6067 * src/hildon-pannable-area.c,
6068 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6069 get_size and get_position, this saves an X server roundtrip.
6071 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6073 * doc/hildon-docs.sgml
6075 * examples/Makefile.am
6076 * examples/hildon-entry-example.c
6078 * src/hildon-entry.c
6079 * src/hildon-entry.h
6081 New HildonEntry widget, with example.
6083 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-button.c (hildon_button_construct_child): Pack the
6086 image with expand == fill == FALSE. This is a workaround for a bug
6089 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6091 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6092 labels for the text column, to make it more look more dynamic.
6094 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6096 * src/hildon-time-selector.c
6097 Define gettext auxiliar macro N_
6098 (_create_minutes_model)
6099 (_create_hours_model)
6100 (_create_ampm_model): use of strftime in order to fill the model
6101 * src/hildon-date-selector.c
6102 (hildon_date_selector_finalize):
6103 (_locales_init): remove the logic related to get the name of the months
6104 using nl_langinfo, as it is not required anymore
6106 (_create_year_model)
6107 (_create_month_model)
6108 (_update_day_model): use of strftime in order to fill the model properly
6111 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-button.h
6114 * src/hildon-button.c (hildon_button_get_image): New method to
6117 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6119 * src/hildon-touch-selector.c:
6120 (hildon_touch_selector_remove_column): Remove from the correct parent
6121 and also remove the list element and free it.
6124 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6126 * src/hildon-time-selector.c
6127 (_create_hours_model): change the range on 12h ampm format in order to use
6128 a 12-11 range instead of previous 01-12 range
6129 (hildon_time_selector_set_time): change the way to select the current time
6130 on 12h ampm format, due the change on the range
6131 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6134 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6136 * src/hildon-touch-selector.c
6137 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6138 in order to allow use this function on multiple row selection mode if
6139 the column is different that the first one
6142 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6144 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6145 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6147 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6149 * src/hildon-date-selector.h: clean some comments, now on the .c
6150 * src/hildon-date-selector.c
6151 (hildon_date_selector_select_month): first implementation
6152 (hildon_date_selector_select_day): added documentation, reimplemented
6153 using hildon_date_selector_select_current_date to avoid repeat code
6156 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6158 Reviewed interaction logic based on device experiences, refactored
6161 * src/hildon-pannable-area.c,
6162 (hildon_pannable_area_class_init): Updated default vmax speed.
6163 (hildon_pannable_area_calculate_velocity): Added this function, it
6164 avoids duplicate valocity calculation. Adjusted calculation to
6165 avoid problems with zero dist events.
6167 (hildon_pannable_area_motion_notify_cb): Now we use the
6168 calculate_velocity function.
6170 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6172 * src/hildon-date-selector.c
6173 (hildon_date_selector_select_current_date): fix the day range check
6174 as it failed using the last day of the current month
6177 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6179 * src/hildon-touch-selector.c
6180 (hildon_touch_selector_get_num_columns): added a parameter validation
6183 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6185 * examples/Makefile.am
6186 * examples/hildon-edit-toolbar-example.c: Example of the
6187 HildonEditToolbar widget.
6189 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6191 * configure.ac: postrelease version bump.
6193 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6197 * configure.ac: prerelease version bump.
6198 * debian/changelog: update.
6200 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6202 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6203 renderer to display stock icons in the touch list. Also, set the sizes
6204 to the recommended in the style guide.
6206 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6207 * src/hildon-touch-selector.h
6208 (hildon_touch_selector_set_active_iter): renamed, now is
6209 hildon_touch_selector_select_iter
6210 (hildon_touch_selector_get_active_iter): renamed, now is
6211 hildon_touch_selector_get_selected
6212 (hildon_touch_selector_unselect_iter): added
6213 * src/hildon-touch-selector.c
6214 Update after API modification (methods renamed)
6215 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6216 order to avoid problems selecting multiple elements on the column
6217 (hildon_touch_selector_unselect_iter): added the implementation
6218 * src/hildon-time-selector.c
6219 * src/hildon-date-selector.c
6220 * src/hildon-touch-selector-entry.c
6221 Update methods calls after hildon-touch-selector.h API modification (methods
6224 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6226 * src/hildon-stackable-window.c
6227 (hildon_stackable_window_finalize): Call the parent class's finalize.
6229 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6231 * examples/hildon-touch-selector-example.c: (create_selector): Use
6232 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6235 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6237 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6238 set a cell background color, to respect theming.
6240 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6242 * doc/hildon-docs.sgml
6245 * src/hildon-edit-toolbar.c
6246 * src/hildon-edit-toolbar.h
6247 * src/hildon.h: New HildonEditToolbar widget.
6249 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6251 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6254 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6255 * src/hildon-touch-selector.c
6256 (_create_new_column): use g_object_set instead of two g_object_set_property
6258 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6259 * src/hildon-touch-selector.c
6260 (_create_new_column): use of hildon_gtk_tree_view_new to create
6261 the treeview, instead of use directly g_object_new
6262 (_create_new_column): update the property name "vindicator-mode" for the
6263 new one "vscrollbar-policy"
6264 * examples/hildon-date-button-example.c
6265 * examples/hildon-picker-button-multicolumn-example.c
6266 * examples/hildon-touch-selector-entry-example.c
6267 * examples/hildon-touch-selector-example.c
6268 * examples/hildon-time-button-example.c
6269 * examples/hildon-picker-button-example.c
6270 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6271 to all the treeviews inside a pannable area.
6273 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-button.h
6276 * src/hildon-button.c (hildon_button_init)
6277 (hildon_button_set_arrangement, hildon_button_set_alignment)
6278 (hildon_button_set_title_alignment)
6279 (hildon_button_set_value_alignment)
6280 (hildon_button_set_image_alignment)
6281 (hildon_button_construct_child): New methods to set the alignment
6282 of the individual components of the button (title, value,
6283 image). Also, new method to alter the xscale and yscale properties
6284 of the GtkAlignment inside the button, so more complex layouts can
6287 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6289 * src/hildon-button.c (hildon_button_style_set)
6290 (hildon_button_class_init, hildon_button_set_arrangement)
6291 (hildon_button_construct_child): Apply style properties
6292 correctly. Use the 'image-spacing' style property too.
6294 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6297 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6300 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6302 * src/hildon-pannable-area.c,
6303 (hildon_pannable_area_size_request): Fixed problem with
6304 pannable-area size_request.
6306 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6308 Added management for the grab-focus to a child widget, like a
6309 range, we need to fade out the scrollbar when releasing.
6311 * src/hildon-pannable-area.c,
6312 (hildon_pannable_area_init): Connected the grab-focus signal to
6314 (hildon_pannable_area_grab_notify): Added this function in order
6315 to manage the situation when the grab-focus ends. We have to
6316 fade-out the scrollbar.
6318 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6320 * src/hildon-app-menu.c: Minor documentation update.
6322 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-app-menu.c
6325 * examples/hildon-app-menu-example.c (create_menu): Update
6326 examples and documentation to explain how to connect callbacks.
6328 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6330 * examples/hildon-button-example.c
6331 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6332 hildon_stackable_window_new instead of gtk_window_new
6334 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6336 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6337 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6338 (hildon_pannable_area_set_property),
6339 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6340 (hildon_pannable_area_unrealize),
6341 (hildon_pannable_area_size_request),
6342 (hildon_pannable_area_size_allocate),
6343 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6344 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6345 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6346 (hildon_pannable_area_initial_effect),
6347 (hildon_pannable_area_redraw),
6348 (hildon_pannable_area_scroll_indicator_fade),
6349 (hildon_pannable_area_expose_event),
6350 (hildon_pannable_area_get_topmost), (synth_crossing),
6351 (hildon_pannable_area_button_press_cb),
6352 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6353 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6354 (hildon_pannable_area_motion_notify_cb),
6355 (hildon_pannable_area_button_release_cb),
6356 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6357 (hildon_pannable_area_remove),
6358 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6359 chage the code layout to a more GtkWidget like. Review the use of
6362 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6364 * examples/hildon-pannable-area-example-4.c,
6365 (main): Modified the name of the hindicator_mode to
6368 * src/hildon-pannable-area.c,
6369 (hildon_pannable_area_class_init),
6370 (hildon_pannable_area_motion_notify_cb),
6371 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6372 we have reduced the amount of signals and managed reviewed its
6373 rationale. Changed the default decelerate value.
6375 (hildon_pannable_area_add),
6376 (hildon_pannable_area_redraw): Refactored functions.
6378 (hildon_pannable_area_init),
6379 (hildon_pannable_area_get_property),
6380 (hildon_pannable_area_set_property):
6381 (hildon_pannable_draw_vscroll),
6382 (hildon_pannable_draw_hscroll),
6383 (hildon_pannable_area_initial_effect),
6384 (hildon_pannable_area_expose_event),
6385 (hildon_pannable_area_scroll),
6386 (hildon_pannable_area_button_press_cb),
6387 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6388 and vindicator_mode with hscrollbar_policy and
6389 vscrollbar_policy. Replaced hscroll and vscroll with
6390 hscroll_visible and vscroll_visible.
6392 (hildon_pannable_area_refresh): Refactor the function, remove
6393 variables and check the calls to this function, added resize
6394 conditions in case the children change their layout.
6396 (hildon_pannable_area_size_request): Added more detailed
6397 size_request calculation.
6400 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6402 * src/hildon-color-chooser.c
6403 (init_borders): use the correct gtk_border_free instead of g_free, to
6404 avoid a crash when this widget is used (ie: the three color selection
6407 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6409 * src/hildon-check-button.c,
6410 (hildon_check_button_set_active): Fixed problem when setting the
6411 active value, the widget was not redrawn.
6413 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6415 * src/hildon-pannable-area.c,
6416 (hildon_pannable_area_refresh),
6417 (hildon_pannable_area_scroll),
6418 (hildon_pannable_area_motion_notify_cb): Small code style change.
6420 (hildon_pannable_area_class_init): Default initial_hint set to
6421 FALSE, it is not in the specs.
6423 (hildon_pannable_area_initial_effect),
6424 (hildon_pannable_area_expose_event),
6425 (hildon_pannable_area_map),
6426 (hildon_pannable_area_init): Moved the launching point of the
6427 initial effect, it was in map but the sizes where not correct in
6428 that method so we do not know if we have the reproduce it. Now it
6429 is placed in the expose_event method and uses a variable to
6430 reproduce it just once.
6432 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6434 * src/hildon-pannable-area.c,
6435 (hildon_pannable_draw_vscroll),
6436 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6437 position allowed for the scrollbars.
6439 (hildon_pannable_area_size_allocate): Small style change.
6441 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6443 * src/hildon-pannable-area.c,
6444 (hildon_pannable_area_scroll_indicator_fade),
6445 (hildon_pannable_area_button_press_cb),
6446 (hildon_pannable_area_button_release_cb),
6447 (hildon_pannable_area_scroll_cb),
6448 (hildon_pannable_area_expose_event),
6449 (hildon_pannable_area_init): Added the define parameter
6450 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6451 and refactor the fade variable.
6453 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6455 * src/hildon-pannable-area.c,
6456 (hildon_pannable_area_redraw),
6457 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6458 lines, we were reimplemeting the redraw code.
6460 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6462 * src/hildon-pannable-area.c,
6463 (hildon_pannable_area_scroll_cb),
6464 (hildon_pannable_area_realize),
6465 (hildon_pannable_area_class_init): Added scroll_event management
6466 for pannable area, now we can scroll the usual desktop method.
6468 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6469 initialization of the parameters should depend on idle_id.
6471 (hildon_pannable_area_init),
6472 (hildon_pannable_area_map): Small code style modifications
6474 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6476 * src/hildon-pannable-area.c
6477 (hildon_pannable_area_button_press_cb),
6478 (hildon_pannable_area_motion_notify_cb),
6479 (hildon_pannable_area_button_release_cb),
6480 (hildon_pannable_area_size_allocate),
6481 (hildon_pannable_area_scroll_to): Improved the timeouts
6482 management, we avoid creating them each time.
6484 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6486 * src/hildon-pannable-area.c:
6487 (hildon_pannable_area_refresh),
6488 (hildon_pannable_area_motion_notify_cb),
6489 (hildon_pannable_area_class_init):
6490 * src/hildon-pannable-area.h:
6491 * src/hildon-touch-selector.c
6492 (_create_new_column):
6493 * examples/hildon-pannable-area-example-4.c:
6494 (horizontal_movement),
6495 (vertical_movement),
6497 Replaced the names of enums in the HildonPannableArea:
6498 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6499 HILDON_MOVEMENT_MODE_*
6500 - HILDON_PANNABLE_AREA_MOV_* ->
6502 - Removed HildonPannableAreaIndicatorMode, now we
6505 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6507 * examples/hildon-pannable-area-touch-grid-example.c
6508 * examples/hildon-pannable-area-touch-list-example.c: Fix
6509 compilation warnings.
6511 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-gtk.c (hildon_gtk_button_new)
6514 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6515 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6516 images overriding the value of the "gtk-button-images" setting.
6518 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6520 * src/hildon-check-button.c (hildon_check_button_new):
6521 Instead of using a custom container, display the label and the
6522 checkbox using the standard GtkButton API.
6524 * examples/hildon-check-button-example.c (main): Don't use
6525 hildon_check_button_set_label() anymore
6527 * src/hildon-check-button.h
6528 * src/hildon-check-button.c
6529 (hildon_check_button_set_label, hildon_check_button_get_label):
6530 Set as deprecated, now we're using gtk_button_{get,set}_label()
6532 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6534 * src/hildon-pannable-area.c,
6535 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6536 GtkTreeview first line we detected it after the inclusion of the
6537 GtkWindowImpl in gtk+. We now check if the window is visible, not
6538 just if the pointer is over the window.
6539 (hildon_pannable_axis_scroll),
6540 (hildon_pannable_area_expose_event): Small style changes.
6542 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-button.c: Update documentation.
6546 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6548 * examples/hildon-button-example.c: Add a switch to show images in
6551 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6553 * doc/hildon-docs.sgml: Some docs reorganization.
6555 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6557 * examples/hildon-pannable-area-touch-list-example.c
6559 * examples/hildon-pannable-area-touch-grid-example.c
6560 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6561 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6562 Fix memory leak when setting the tree model.
6564 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6568 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6570 * doc/hildon.types: Remove duplicated hildon_window_get_type
6571 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6572 documentation comment.
6574 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6576 * doc/Makefile.am: Complete list of private headers.
6578 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6580 * doc/hildon-docs.sgml
6581 * src/hildon-app-menu.c
6582 * src/hildon-bread-crumb.c
6583 * src/hildon-button.c
6585 * src/hildon-program.c
6586 * src/hildon-stackable-window.c
6587 * src/hildon-window.c: Lots of documentation updates.
6589 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6591 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6593 * configure.ac: Require Gtk+ 2.12.9 at least
6595 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6597 * src/hildon-pannable-area.c
6598 (hildon_pannable_area_scroll_indicator_fade),
6599 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6600 to protect the return of this timeout callbacks, avoiding deadlocks.
6602 2008-08-12 Christian Dywan <christian@imendio.com>
6605 * src/hildon-*.h: Ensure a consistent include order,
6606 include <gtk/gtk.h> instead of particular files and
6607 only include the topmost header in the gtk stack. See NB #39857
6609 2008-08-12 Christian Dywan <christian@imendio.com>
6611 * src/hildon-picker-dialog.c
6612 * src/hildon-touch-selector.c: Fix warnings about unused and
6613 uninitialized variables.
6615 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6617 * examples/Makefile.am
6618 * examples/hildon-check-button-example.c: Example of the hildon
6621 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6623 * src/hildon-window.h
6624 * src/hildon-window.c (hildon_window_class_init)
6625 (hildon_window_unset_program): Don't make
6626 hildon_window_unset_program a virtual function anymore.
6628 * src/hildon-stackable-window.c: Update documentation
6630 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6633 * doc/hildon-docs.sgml
6634 * doc/visual_index.xml
6635 * src/hildon-defines.c
6637 * src/hildon-helper.c
6638 * src/hildon-range-editor.c: Lots of documentation fixes.
6640 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6642 * examples/hildon-picker-button-multicolumn-example.c
6643 (create_touch_selector): Fix compilation warning.
6645 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6647 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6648 (hildon_pannable_area_button_release_cb)
6649 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6651 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6656 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-bread-crumb-trail.h
6659 * src/hildon-date-editor.c
6660 * src/hildon-date-selector.c
6661 * src/hildon-pannable-area.c
6662 * src/hildon-picker-dialog.c
6663 * src/hildon-time-selector.c
6664 * src/hildon-touch-selector-entry.c
6665 * src/hildon-touch-selector.c
6666 * src/hildon-touch-selector.h: Misc documentation fixes
6668 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6670 * examples/hildon-date-editor-example.c (main): Updated date
6673 * examples/hildon-note-example.c (on_confirmation_clicked):
6674 Updated confirmation note example.
6676 * src/hildon-date-editor.c
6677 * src/hildon-note.c: Updated sample programs in documentation.
6680 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6682 * src/hildon-date-button.h:
6683 * src/hildon-picker-button.h:
6684 * src/hildon-time-button.c:
6685 * src/hildon-time-button.h:
6687 Some declarations changes to allow gtk-doc to document the widgets
6690 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6692 * src/hildon-date-button.c: Document the widget.
6693 * src/hildon-time-button.c: Document the widget.
6695 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6697 * src/hildon-picker-button.c: Document the widget.
6698 * src/hildon-touch-selector-entry.c: Document the widget.
6700 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6702 * doc/hildon-docs.sgml
6705 * src/hildon-check-button.h
6706 * src/hildon-check-button.c: New functions to create the Hildon
6710 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6712 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-button.h
6715 * src/hildon-button.c
6716 (hildon_button_add_title_size_group)
6717 (hildon_button_add_value_size_group)
6718 (hildon_button_add_image_size_group)
6719 (hildon_button_add_size_groups): New functions to set size groups
6720 for the button labels and image.
6721 (hildon_button_new_full): Removed
6723 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6725 * src/hildon-time-selector.c
6726 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6727 in order to avoid a crash if gconf is not available
6729 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6731 * src/hildon-button.c (hildon_button_set_arrangement)
6732 (hildon_button_construct_child): Don't construct the button child
6733 before setting the arrangement.
6735 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6737 * src/hildon-program-private.h
6738 * src/hildon-program.c
6739 * src/hildon-program.h
6740 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6741 (hildon_program_peek_window_stack)
6742 (hildon_program_pop_window_stack)
6743 (hildon_program_go_to_root_window): HildonProgram now has a
6744 separate list for stackable windows. Functions are provided to
6745 manage that list with a stack-like API.
6747 * src/hildon-stackable-window.c: Stackable window management is
6748 now much simpler with the new HildonProgram API. Windows no
6749 longer need to be manually added to the program, they're
6750 automatically pushed to the top of the stack when shown.
6752 * examples/hildon-stackable-window-example.c: Updated example to
6753 reflect the API changes.
6755 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6757 * src/hildon-touch-selector.c: Comment out unimplemented
6758 hildon_touch_selector_insert_column() to avoid a compile warning.
6760 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6762 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6763 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6764 (hildon_touch_selector_set_column_selection_mode),
6765 (_hildon_touch_selector_set_model),
6766 (hildon_touch_selector_set_model):
6768 Complete review of HildonTouchSelector documentation.
6770 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6772 * doc/hildon-docs.sgml
6776 * src/hildon-gtk.c: Convenience functions for standard Gtk
6777 widgets, used to easily perform frequent operations.
6779 * src/hildon-button-helpers.h
6780 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6782 * src/hildon-helper.h
6783 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6784 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6786 * src/hildon-button.h
6787 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6789 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6791 * src/hildon-button.c (hildon_button_init)
6792 (hildon_button_set_arrangement, hildon_button_construct_child):
6793 Pack the image and the labels inside the same GtkAlignment so
6794 gtk_button_set_alignment() can be used
6796 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-button.h
6799 * src/hildon-button.c
6800 (hildon_button_init, hildon_button_set_image)
6801 (hildon_button_set_image_position)
6802 (hildon_button_construct_child): New functions to add an image to
6805 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-date-button.c
6808 * src/hildon-picker-button.c
6809 * src/hildon-time-button.c
6810 * src/hildon-button.c:
6811 (hildon_button_class_init): "size-flags" renamed to "size"
6812 (hildon_button_set_title): Hide the title label if set to NULL.
6814 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6816 HildonButtonFlags split into HildonButtonArrangement (to set the
6817 button layout) and HildonSizeType (which can be used for any
6820 * src/hildon-button.h
6821 * src/hildon-button.c
6822 (hildon_button_class_init)
6823 (hildon_button_set_arrangement)
6824 (hildon_button_set_property): New "size-flags"
6825 property. "arrangement-flags" renamed to "arrangement".
6826 (hildon_button_new, hildon_button_new_with_text)
6827 (hildon_button_new_full): Constructors updated to reflect type changes.
6829 * src/hildon-helper.h
6830 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6831 to set the size of a widget.
6835 * src/hildon-button-helpers.c
6836 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6838 * src/hildon-date-button.c
6839 * src/hildon-date-button.h
6840 * src/hildon-picker-button.c
6841 * src/hildon-picker-button.h
6842 * src/hildon-time-button.c
6843 * src/hildon-time-button.h: Updated widgets to reflect
6844 HildonButton API changes.
6846 * examples/hildon-button-example.c
6847 * examples/hildon-date-button-example.c
6848 * examples/hildon-picker-button-example.c
6849 * examples/hildon-picker-button-multicolumn-example.c
6850 * examples/hildon-time-button-example.c
6851 * examples/hildon-touch-selector-entry-example.c
6852 * examples/hildon-touch-selector-example.c: Updated examples to
6853 reflect HildonButton API changes.
6855 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6857 * doc/hildon-docs.sgml:
6859 * examples/Makefile.am:
6860 * examples/hildon-touch-selector-entry-example.c:
6862 * src/hildon-touch-selector-entry.c:
6863 * src/hildon-touch-selector-entry.h:
6866 Moved HildonTouchSelectorEntry from sandbox. Added its
6867 documentation and examples.
6869 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6871 * src/hildon-touch-selector.h:
6872 * examples/hildon-picker-button-multicolumn-example.c:
6873 (hildon_touch_selector_append_text_column): Add a gboolean
6874 parameter to determine if text must be centered in the column.
6876 * src/hildon-date-selector.c: (hildon_date_selector_init):
6877 * src/hildon-time-selector.c: (hildon_time_selector_init):
6878 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6879 (create_touch_selector): Update widgets and example to reflect
6882 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/hildon-touch-selector.c:
6885 (hildon_touch_selector_set_active_iter): Set also the cursor in
6888 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6890 * doc/hildon-docs.sgml
6893 * src/hildon-toggle-button.c
6894 * src/hildon-toggle-button.h
6895 * src/hildon.h: Removed HildonToggleButton widget, a derived
6896 class is not necessary for this.
6898 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6900 * src/hildon-pannable-area.c,
6901 (hildon_pannable_area_realize),
6902 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6905 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6907 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6908 "done" button the default widget for the dialog.
6910 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6912 * src/hildon-touch-selector.c:
6913 (hildon_touch_selector_class_init),
6914 (hildon_touch_selector_get_property),
6915 (_hildon_touch_selector_set_model),
6916 (_hildon_touch_selector_has_multiple_selection),
6917 (hildon_touch_selector_has_multiple_selection):
6918 Add a "has-multiple-selection" property with a virtual
6919 has_multiple_selection() method to allow derived classes to
6920 override the default value for it. See the method and property
6921 documentation for details.
6923 * src/hildon-touch-selector.h: Add the new API.
6925 * src/hildon-picker-dialog.c: (requires_done_button): Call
6926 hildon_touch_selector_has_multiple_selection() instead of
6927 determining the need for a button itself.
6929 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6931 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6932 (_hildon_touch_selector_set_model),
6933 (hildon_touch_selector_set_model): Move working code to
6934 _hildon_touch_selector_set_mode(). Call the class method instead.
6936 * src/hildon-touch-selector.h: Add (*set_model) to
6937 HildonTouchSelectorClass.
6939 Make hildon_touch_selector_set_model() a virtual method, so that
6940 derived classes can extend it and do fancy stuff with the model.
6942 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6944 * configure.ac: Set back the tarname in AC_INIT to hildon.
6946 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6950 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6951 instead of libesd (NB#86876). Volume handling is still an open issue.
6953 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6956 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6958 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6959 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6960 derived class to ease placement of an entry widget in
6961 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6962 end, where the selector columns are packed now.
6964 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6966 * src/hildon-picker-button.c: Removed the simple _text() API.
6967 * src/hildon-picker-button.h: Likewise.
6969 * src/hildon-touch-selector.h:
6970 * src/hildon-touch-selector.c:
6971 (hildon_touch_selector_new_text),
6972 (hildon_touch_selector_append_text),
6973 (hildon_touch_selector_prepend_text),
6974 (hildon_touch_selector_insert_text):
6976 Moved the simple _text() API from HildonPickerButton to
6977 HildonTouchPicker, to provide better escalability and not to tie
6978 that API to HildonPickerButton.
6980 * examples/hildon-picker-button-example.c: (main): Example updated.
6982 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6984 * src/hildon-button.c: Updated documentation.
6986 * examples/hildon-button-example.c: Add the posibility to create
6987 the buttons using horizontal layout for title and value.
6989 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6991 * src/hildon-app-menu-private.h
6992 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6993 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6994 GtkSizeGroup for the filters, use the 'homogeneous' property of
6997 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6999 * examples/hildon-button-example.c: Updated example.
7001 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7003 * doc/hildon-docs.sgml:
7006 Update documentation.
7008 * examples/Makefile.am: Update renamed examples.
7010 * examples/hildon-picker-button-multicolumn-example.c:
7011 (create_touch_selector), (main): Update after the rename.
7013 * examples/hildon-touch-picker-example.c: Removed.
7014 * examples/hildon-touch-selector-example.c: (value_changed),
7015 (create_selector), (get_visible_content), (main): Renamed from
7016 hildon-touch-picker-example.c
7018 * src/Makefile.am: Updated renamed files.
7020 * src/hildon-date-button.c: (hildon_date_button_init),
7021 (hildon_date_button_get_date), (hildon_date_button_set_date):
7022 * src/hildon-date-selector.c: (hildon_date_selector_init),
7023 (_custom_print_func), (_update_day_model),
7024 (_manage_selector_change_cb),
7025 (hildon_date_selector_select_current_date),
7026 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7027 * src/hildon-date-selector.h:
7028 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7029 (hildon_picker_button_set_property),
7030 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7031 (hildon_picker_button_init), (hildon_picker_button_new_text),
7032 (hildon_picker_button_append_text),
7033 (hildon_picker_button_prepend_text),
7034 (hildon_picker_button_insert_text),
7035 (hildon_picker_button_set_selector),
7036 (hildon_picker_button_get_selector):
7037 * src/hildon-picker-button.h:
7038 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7039 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7040 (_update_title_on_selector_changed_cb), (requires_done_button),
7041 (_hildon_picker_dialog_set_selector),
7042 (hildon_picker_dialog_set_selector),
7043 (hildon_picker_dialog_get_selector):
7044 * src/hildon-picker-dialog.h:
7045 * src/hildon-time-button.c: (hildon_time_button_init),
7046 (hildon_time_button_get_time), (hildon_time_button_set_time):
7047 * src/hildon-time-selector.c: (hildon_time_selector_init),
7048 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7049 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7050 * src/hildon-time-selector.h:
7053 Massive code updates after the rename.
7055 * src/hildon-touch-picker.c: Removed.
7056 * src/hildon-touch-picker.h: Removed.
7058 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7059 (hildon_touch_selector_init), (hildon_touch_selector_map),
7060 (hildon_touch_selector_remove), (_default_print_func),
7061 (_selection_changed_cb), (_create_new_column),
7062 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7063 (hildon_touch_selector_append_text_column),
7064 (hildon_touch_selector_remove_column),
7065 (hildon_touch_selector_set_column_attributes),
7066 (hildon_touch_selector_insert_column),
7067 (hildon_touch_selector_get_num_columns),
7068 (hildon_touch_selector_get_column_selection_mode),
7069 (hildon_touch_selector_set_column_selection_mode),
7070 (hildon_touch_selector_set_print_func),
7071 (hildon_touch_selector_get_print_func),
7072 (hildon_touch_selector_get_active_iter),
7073 (hildon_touch_selector_set_active_iter),
7074 (hildon_touch_selector_get_selected_rows),
7075 (hildon_touch_selector_get_model),
7076 (hildon_touch_selector_set_model),
7077 (hildon_touch_selector_get_current_text),
7078 (_hildon_touch_selector_center_on_selected_items):
7079 * src/hildon-touch-selector.h: Renamed from
7080 hildon-touch-picker.[ch]
7082 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7083 references, code examples, and related documentation.
7085 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7087 * doc/hildon-docs.sgml
7090 * src/hildon-toggle-button.c
7091 * src/hildon-toggle-button.h
7092 * src/hildon.h: New HildonToggleButton widget.
7094 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7096 * src/hildon-button.c: Add API documentation.
7097 (hildon_button_set_size_groups): Check input parameters
7099 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7101 * src/hildon-pannable-area.c
7102 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7103 effect after reaching the movement thredshold. This way we start
7104 using the distance after passing the thredshold.
7106 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7108 * src/hildon-button.c: (hildon_button_set_property): Use the
7109 appropriate g_value_get_flags() method.
7111 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7113 * doc/hildon-docs.sgml:
7116 Add the touch pickers, picker dialogs, and picker button widgets
7117 to the documentation.
7119 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7121 * src/hildon-button.c: (hildon_button_set_property),
7122 (hildon_button_class_init): Make "arrangement-flags" a proper
7123 G_TYPE_FLAGS derived property.
7125 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7127 * examples/Makefile.am: Add below examples.
7128 * examples/hildon-date-button-example.c:
7129 * examples/hildon-picker-button-example.c:
7130 * examples/hildon-picker-button-multicolumn-example.c:
7131 * examples/hildon-time-button-example.c:
7132 * examples/hildon-touch-picker-example.c:
7134 Add examples for the recently added touch pickers,
7135 picker dialogs, and picker button widgets.
7137 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7139 * src/hildon-button.c: Add some API documentation
7141 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-button.h
7144 * src/hildon-button.c
7146 (hildon_button_new_with_text): New constructor to create a button
7147 with no text at all.
7148 (hildon_button_init, hildon_button_set_arrangement)
7149 (hildon_button_set_title, hildon_button_set_value)
7150 (hildon_button_set_text)
7151 (hildon_button_construct_child): Hide the value when it's not used
7152 so the rest of the text is properly aligned.
7153 Allow creating buttons with arbitrary widgets inside (not just
7154 title/value labels).
7156 * examples/hildon-button-example.c (vertical_buttons_window)
7157 (horizontal_buttons_window): Update example to use new API.
7159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7161 * src/Makefile.am: Added HildonTimeButton.
7162 * src/hildon-time-button.c: Added missing LGPL header.
7163 * src/hildon-time-button.h: Added missing LGPL header.
7164 * src/hildon.h: Add hildon-time-button.h
7166 Copied HildonTimeButton from sandbox to trunk. Future work on this
7167 widget must take place in trunk.
7169 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7171 * src/Makefile.am: Added HildonDateButton.
7172 * src/hildon-date-button.c: Update includes.
7173 * src/hildon.h: Add hildon-date-button.h
7175 Copied HildonDateButton from sandbox to trunk. Future work on this
7176 widget must take place in trunk.
7178 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7180 * src/Makefile.am: Added HildonPickerButton.
7181 * src/hildon-picker-button.h: Update includes.
7182 * src/hildon.h: Add hildon-picker-button.h
7184 Copied HildonPickerButton from sandbox to trunk. Future work on
7185 this widget must take place in trunk.
7187 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7189 * src/Makefile.am: Added HildonPickerDialog.
7190 * src/hildon-picker-dialog.c: Update includes.
7191 * src/hildon.h: Add hildon-picker-dialog.h
7193 Copied HildonPickerDialog from sandbox to trunk. Future work
7194 on this widget must take place in trunk.
7196 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7198 * src/Makefile.am: Added HildonTimeSelector.
7199 * src/hildon.h: Add hildon-time-selector.h
7201 Copied HildonTimeSelector widget from sandbox to trunk. Future
7202 work on this widget must happen in trunk.
7204 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7206 * src/Makefile.am: Added HildonDateSelector.
7207 * src/hildon.h: Add hildon-date-selector.h
7209 Copied HildonDateSelector widget from sandbox to trunk. Future
7210 work on this widget must happen in trunk.
7212 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7214 * src/Makefile.am: Added HildonTouchPicker.
7215 * src/hildon-touch-picker.c: Update includes.
7216 * src/hildon.h: Add hildon-touch-picker.h
7218 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7219 on this widget must happen in trunk.
7221 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7223 * src/hildon-pannable-area.c:
7224 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7226 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7228 * examples/hildon-app-menu-example.c (main): Let the window
7231 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7233 * src/hildon-pannable-area.c
7234 (hildon_pannable_area_class_init): Set the min value of the
7235 overshoot properties to zero, which points out that not
7236 overshooting allowed.
7238 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7240 Modified the procedure to get the widget at a point inside the
7241 pannable area when using the movement type signals. Now the user
7242 has to call a function to get the child, that way we just
7243 calculate the child in case the user really want to use it and not
7246 * src/hildon-marshalers.list: Modified the marshallers, now we do
7247 not have the widget as a parameter.
7249 * src/hildon-pannable-area.c
7250 (hildon_pannable_area_motion_notify_cb),
7251 (hildon_pannable_area_class_init),
7252 (hildon_pannable_get_child_widget_at): Removed the widget
7253 parameter from the signal callback. We have also refactored the
7254 emission of the signals.
7256 * src/hildon-pannable-area.h: Added a new method to the API to
7257 calculate a widget at a point inside the pannable area,
7258 hildon_pannable_get_child_widget_at.
7260 * examples/hildon-pannable-area-example-4.c
7261 (horizontal_movement): Modified the example to use the new API,
7262 added condition to control which widget is under the event. This
7263 way we can avoid scrolling laterally over other widgets.
7265 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7267 * src/hildon-pannable-area.c
7268 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7269 modes, we stop getting the pointer events due to returning the
7270 callback without properly calling the get pointer again. Fixed
7271 also an error using the hscroll and vscroll.
7273 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7275 * src/hildon-app-menu-private.h
7276 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7277 (hildon_app_menu_button_release, hildon_app_menu_init)
7278 (hildon_app_menu_class_init): Don't hide the menu on button
7279 release if the user didn't press outside first.
7281 * src/hildon-window.h
7282 * src/hildon-window.c (hildon_window_toggle_menu)
7283 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7284 hildon_window_toggle_menu a virtual function for the stackable
7285 window to override it.
7287 * src/hildon-stackable-window.h
7288 * src/hildon-stackable-window-private.h
7289 * src/hildon-stackable-window.c
7290 (hildon_stackable_window_realize)
7291 (hildon_stackable_window_finalize)
7292 (hildon_stackable_window_class_init)
7293 (hildon_stackable_window_init)
7294 (hildon_stackable_window_set_main_menu): New function to set the
7295 app menu of a HildonStackableWindow.
7297 * examples/hildon-app-menu-example.c: Remove the button to show
7298 the app menu, now it'll be shown when clicking on the title bar
7301 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7304 set the widget name if the arrangement flags do not specify
7307 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7309 * src/hildon-button.c: (hildon_button_set_property),
7310 (hildon_button_class_init), (hildon_button_new_full),
7311 (hildon_button_set_arrangement): Added "arrangement-flags"
7314 Make the HildonButtonFlags a construction-only property, to allow
7315 subclasses to set them properly.
7317 2008-07-21 Tim Janik <timj@imendio.com>
7319 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7320 insertion position after backspace, so additional digits are appended,
7323 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7325 * src/hildon-pannable-area.c,
7326 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7327 TODO list, it was complete and removed the g_debug and g_print
7330 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7332 Added the movement modes to the hildon-pannable-area, with this
7333 modes the developers can control in which directions the widget
7334 can scroll. They can also connect to signals in order to do
7335 something when that happens, allowing applications scroll. There
7336 is an example uploaded showing how to use it.
7338 * examples/Makefile.am:
7339 * examples/hildon-pannable-area-example-4.c: Added this example of
7340 an application using the modes.
7342 * src/hildon-marshalers.list: Added a new marshaller for the new
7345 * src/hildon-pannable-area.h: Added new enumerations and flags in
7346 order to control the movement modes and the new signals to warn
7347 about the movements in the area.
7349 * src/hildon-pannable-area.c:
7350 (hildon_pannable_axis_scroll),
7351 (hildon_pannable_area_scroll),
7352 (hildon_pannable_area_motion_notify_cb),
7353 (hildon_pannable_area_get_property),
7354 (hildon_pannable_area_set_property),
7355 (hildon_pannable_area_map),
7356 (hildon_pannable_area_class_init),
7357 (hildon_pannable_area_init),
7358 (hildon_pannable_area_jump_to): Added the modes to control the
7359 movement in the widget. We have added properties to control it,
7360 signals to warn about the movements and refactored some code.
7362 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7364 Changes required in order to allow vfast_factor set to zero to
7367 * src/hildon-pannable-area.c:
7368 (hildon_pannable_area_button_press_cb): Changed the condition, it
7369 is required for not allowing click when vfast_factor is zero.
7370 (hildon_pannable_area_timeout): Initialized velocity variables
7371 when we stop moving, it was less than 1 but not zero and we need
7372 to check zero in some situations.
7373 (hildon_pannable_area_class_init): Changed the default value of
7374 the speed factor, now the button_press is just sent in case the
7375 speed is 2 per cent of the max speed.
7376 (hildon_pannable_area_init): Initialization with 0.
7378 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7380 * src/hildon-pannable-area.c,
7381 (hildon_pannable_area_get_topmost): replaced
7382 gdk_window_get_children with gdk_window_peek_children, this way we
7383 do not have to free the list because it is not a copy.
7385 (hildon_pannable_axis_scroll),
7386 (hildon_pannable_area_scroll),
7387 (hildon_pannable_area_timeout),
7388 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7389 two parameters that were only used inside the
7390 hildon_pannable_area_scroll function.
7392 * examples/hildon-pannable-area-example.c,
7393 (get_sawtooth_label): Fixed small memory leak.
7395 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7397 More checks for the case where the overshoot is bigger than the
7400 * src/hildon-pannable-area.c:
7401 (hildon_pannable_draw_vscroll),
7402 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7403 to draw the slider of the scrollbar under the other scrollbar.
7404 (hildon_pannable_area_expose_event): added new checks to control
7405 the drawing of the overshooting area rectangle, in case it is too
7406 big for the area of the widget.
7407 (hildon_pannable_area_size_allocate): add more checks to avoid
7408 setting a position to the child widget outside the area.
7410 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7412 * src/hildon-pannable-area.c
7413 (hildon_pannable_area_size_allocate): Added conditions to control
7414 when overshooting is bigger than the allocated space for the
7415 children, this avoids negative allocations.
7417 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7419 * doc/hildon-docs.sgml
7421 * examples/Makefile.am
7422 * examples/hildon-button-example.c
7424 * src/hildon-button.c
7425 * src/hildon-button.h
7426 * src/hildon.h: Initial version of the new HildonButton widget,
7429 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7431 * src/hildon-pannable-area.c:
7432 (hildon_pannable_area_button_press_cb),
7433 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7434 (hildon_pannable_area_motion_notify_cb),
7435 (hildon_pannable_area_button_release_cb),
7436 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7437 (hildon_pannable_area_jump_to_child):
7439 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7441 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7443 * examples/Makefile.am
7444 * examples/hildon-pannable-area-touch-grid-example.c
7445 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7446 the Hildon Touch List and Hildon Touch Grid using the
7447 HildonPannableArea widget.
7449 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7451 * src/hildon-pannable-area.c,
7452 (hildon_pannable_area_button_press_cb),
7453 (hildon_pannable_area_refresh),
7454 (hildon_pannable_area_scroll),
7455 (hildon_pannable_area_motion_notify_cb),
7456 (hildon_pannable_area_button_release_cb),
7457 (hildon_pannable_area_expose_event),
7458 (hildon_pannable_area_add),
7459 (hildon_pannable_area_remove),
7460 (hildon_pannable_area_realize),
7461 (hildon_pannable_area_size_allocate),
7462 (hildon_pannable_area_class_init),
7463 (hildon_pannable_area_init),
7464 (hildon_pannable_area_scroll_to_child),
7465 (hildon_pannable_area_jump_to_child): Fixed the problem of
7466 removing the child from the GtkBin, we have rearranged the widget
7467 hierarchy, now there is no GtkAlignment which was not doing
7468 anything interesting but breaking some of the assumptions of
7469 GtkContainer. Now developers if they want to add a GtkAlignment
7470 they could, but it is not inside the area.
7472 We had to review the whole allocation/expose process, now it is
7473 improved and we save at least three signals which would be saving
7474 some time when rendering the widget. The allocation of the
7475 scrollbars is now made in the allocate method as usual.
7477 We have also added some conditions in order to control when there
7478 is no child of the pannable area. Maybe we will need more work
7481 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7483 * src/hildon-pannable-area.c,
7484 (hildon_pannable_area_dispose): Released the fade-out timeout when
7485 disposing the widget.
7487 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7489 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7490 zero, we are going to use that property in order to deactivate the
7492 (hildon_pannable_axis_scroll),
7493 (hildon_pannable_area_size_allocate): Added conditions to control
7494 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7495 call, now it is called in all situations and we can remove calls
7496 in the allocate method.
7497 (hildon_pannable_area_map): Control the situation when
7498 overshoot_max is zero, we do not need the timeout.
7499 (hildon_pannable_area_class_init): Added documentation in order to
7500 point out that setting zero to overshoot_max means deactivate
7503 NOTE: removed trailing whitespaces from my previous comments of
7506 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7508 * src/hildon-pannable-area.c
7509 (hildon_pannable_area_get_property),
7510 (hildon_pannable_area_set_property),
7511 (hildon_pannable_area_map),
7512 (hildon_pannable_area_class_init),
7513 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7514 to cause the widget give a hint about its panning abilities upon
7517 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7519 * src/hildon-pannable-area.c: Several documentation improvements.
7521 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7523 * src/hildon-program.c
7524 * src/hildon-stackable-window.c: Update documentation.
7526 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7528 * src/hildon-stackable-window.c (get_previous_window_if_last):
7529 Renamed get_last_window()
7530 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7531 (hildon_stackable_window_unset_program):
7533 (get_previous_window_if_last):
7534 Detect if the window hasn't been added to a HildonProgram.
7536 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7538 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7540 * src/hildon-pannable-area.c
7541 (hildon_pannable_area_button_press_cb),
7542 (hildon_pannable_axis_scroll),
7543 (hildon_pannable_area_scroll),
7544 (hildon_pannable_area_timeout),
7545 (hildon_pannable_calculate_vel_factor),
7546 (hildon_pannable_area_get_property),
7547 (hildon_pannable_area_set_property),
7548 (hildon_pannable_area_class_init),
7549 (hildon_pannable_area_init),
7550 (hildon_pannable_area_scroll_to),
7551 (hildon_pannable_area_jump_to),
7552 (hildon_pannable_area_scroll_to_child),
7553 (hildon_pannable_area_jump_to_child):
7554 * src/hildon-pannable-area.h: Added the new API functions:
7555 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7556 hildon_pannable_area_scroll_to_child,
7557 hildon_pannable_area_jump_to_child
7560 * examples/Makefile.am
7561 * examples/hildon-pannable-area-example-2.c
7562 * examples/hildon-pannable-area-example-3.c: Added these two new
7563 examples in order to test and show how the new APIs work.
7565 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7567 * examples/hildon-stackable-window-example.c (new_window):
7568 * src/Makefile.am (noinst_HEADERS):
7569 * src/hildon-program.c (hildon_program_go_to_root_window):
7570 * src/hildon-program.h:
7571 * src/hildon-stackable-window-private.h:
7572 * src/hildon-stackable-window.c:
7573 * src/hildon-stackable-window.h:
7574 Create hildon-stackable-window-private.h
7575 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7577 * examples/hildon-app-menu-example.c (create_menu):
7578 * examples/hildon-hvolumebar-insensitive-example.c (main):
7579 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7580 * examples/hildon-toolbar-seekbar-example.c (main):
7581 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7582 * src/hildon-banner.c (hildon_banner_set_property):
7583 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7584 Fix compilation warnings
7586 * src/hildon-window.c:
7589 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7591 * src/hildon-stackable-window.c
7592 (hildon_stackable_window_unset_program):
7593 Calculate correctly whether to show the previous window if the
7594 last one is removed from the stack.
7595 (hildon_stackable_window_go_to_root_window):
7596 Send delete events starting from the topmost window.
7597 Stop if one of the windows is not destroyed.
7599 (hildon_stackable_window_delete_event)
7600 (hildon_stackable_window_class_init):
7601 Ignore the delete event if the window is not the topmost one.
7603 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7605 * src/hildon-pannable-area.c
7606 (hildon_pannable_area_expose_event): Fixed a problem when
7607 selecting the background color of the scrollbars.
7609 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7611 * examples/hildon-stackable-window-example.c
7612 * src/hildon-stackable-window.c
7613 * src/hildon-stackable-window.h
7614 hildon_stackable_window_go_home() renamed to
7615 hildon_stackable_window_go_to_root_window()
7616 Send delete events to windows rather than closing them with
7617 gtk_widget_destroy()
7619 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7621 * src/hildon-pannable-area.c
7622 (hildon_pannable_area_button_release_cb): Fix overshooting in
7625 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7627 * src/hildon-pannable-area.c
7628 (hildon_pannable_area_init): Initially show the scroll indicators.
7629 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7631 Add initial effect showing the widget is pannable.
7633 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7635 * src/hildon-pannable-area.c
7636 (hildon_pannable_area_class_init)
7637 (hildon_pannable_area_set_property)
7638 (hildon_pannable_area_get_property)
7639 (hildon_pannable_area_button_press_cb):
7640 New 'velocity_fast_factor' property to decide which velocity is
7643 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7645 * src/hildon-pannable-area.c
7646 (hildon_pannable_draw_hscroll)
7647 (hildon_pannable_draw_vscroll):
7648 Use float variables to calculate the size of the scrollbars to
7649 avoid error propagation and resizing during scrolling.
7651 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7653 * src/hildon-pannable-area.c
7654 (hildon_pannable_draw_vscroll)
7655 (hildon_pannable_draw_hscroll):
7656 Define a minimum size for the scroll bars
7658 * src/hildon-stackable-window.c
7659 (hildon_stackable_window_go_home): Fix compilation warning
7660 (get_last_window): Minor optimizations
7661 (hildon_stackable_window_class_init): Fix initialization of
7664 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7666 * src/hildon-stackable-window.c: Fixed typos in doc
7668 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7670 * src/hildon-pannable-area.c
7671 (hildon_pannable_area_scroll):
7672 Calculate here whether we need to scroll instead of using the booleans
7673 that tell us whether to /draw/ the scrolling bars.
7675 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7677 * src/hildon-app-menu.h
7679 * src/hildon-app-menu.c
7680 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7681 multiple filter groups related code and API. Now we support only
7683 * examples/hildon-app-menu-example.c:
7685 Update to reflect API changes.
7687 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7689 * src/hildon-stackable-window.c
7690 (hildon_stackable_window_class_init):
7691 Add hildon_stackable_window_realize.
7692 (hildon_stackable_window_realize):
7693 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7694 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7695 to apply theming and behavior specific to HildonStackableWindow
7698 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7700 * src/hildon-note.c (hildon_note_button_release):
7701 Close information notes also when tapping on them
7703 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7705 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7706 ELASTICITY, refactor and review, fix some issues with drawing
7709 * src/hildon-pannable-area.c:
7710 (hildon_pannable_area_button_press_cb): removed the conditions to
7711 avoid clicks when overshooting. It is not required
7713 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7714 define. Refatored and reviewed the code, now we do not need to
7715 manage velocity in motion_notify.
7717 (hildon_pannable_area_motion_notify_cb): We have moved the code
7718 that controls the area_scroll to the axis_scroll function and get
7719 rid of duplicated code.
7721 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7723 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7725 (hildon_pannable_draw_vscroll),
7726 (hildon_pannable_draw_hscroll): Fixed the problems with the
7727 scrollbar drawing, now we do not use two surfaces, it is easier
7728 and saves resources.
7730 (hildon_pannable_area_get_property): Style modification.
7732 (hildon_pannable_area_class_init): Changed some default values.
7734 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7736 * src/hildon-stackable-window.c: Fix some typos in the
7739 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7741 * src/hildon-dialog.c:
7742 Change indentation style
7745 (hildon_note_button_release):
7746 Use root coordinates to check if the release event happened
7749 * src/hildon-app-menu.c
7750 (hildon_app_menu_button_release):
7751 Remove unnecessary check
7753 * examples/hildon-app-menu-example.c
7755 Add cast to fix warning
7757 * src/hildon-app-menu.c
7758 (hildon_app_menu_class_init):
7759 New inner-border style property.
7760 Set all default spacings to 16
7761 (hildon_app_menu_init):
7762 Use vertical-spacing to set the space between filter buttons and
7763 regular menu buttons.
7764 Set the default container border using the inner-border value.
7766 * examples/hildon-app-menu-example.c
7768 Don't set the menu border explicitly, now we have the inner-border
7769 style property for that.
7771 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-app-menu.c (hildon_app_menu_init):
7774 Make the window modal
7776 * src/hildon-note.c (hildon_note_map)
7777 * src/hildon-app-menu.c (hildon_app_menu_map):
7778 Destroy the grab window if we're unable to grab the pointer
7780 * src/hildon-app-menu-private.h
7781 * src/hildon-app-menu.c
7782 (hildon_app_menu_init, hildon_app_menu_finalize)
7783 (hildon_app_menu_map, hildon_app_menu_unmap)
7784 (hildon_app_menu_button_release)
7785 (grab_transfer_window_get):
7786 Bring back the grab window
7787 (hildon_app_menu_realize):
7788 Decorate the window, set WM hint for Matchbox
7790 * src/hildon-note.c (hildon_note_realize):
7791 * src/hildon-banner.c (hildon_banner_realize):
7792 Add WM hints for Matchbox
7794 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7796 * src/hildon-app-menu-private.h
7797 * src/hildon-app-menu.c
7798 (hildon_app_menu_init, hildon_app_menu_finalize)
7799 (hildon_app_menu_map, hildon_app_menu_unmap)
7800 (hildon_app_menu_button_release):
7801 Remove the grab window, it's not needed anymore
7803 * src/hildon-program.c
7804 Fixed typo in documentation
7806 * src/hildon-app-menu.h
7807 * src/hildon-app-menu.c
7808 * examples/hildon-app-menu-example.c
7809 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7811 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7814 Added new transfer_window and close_if_pressed_outside private
7816 (hildon_note_rebuild):
7817 Don't add a cancel button to the information note. It will be
7818 closed when tapping outside
7819 Remove the comment about the OK button in the documentation
7820 (hildon_note_realize):
7821 Set the notification type hint
7822 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7823 Grab/ungrab pointer and keyboard if the note has to be closed when
7825 (hildon_note_button_release):
7826 Close the note when tapping outside (if applicable)
7828 * src/hildon-app-menu.c
7829 Grab/ungrab pointer and keyboard on map/unmap
7830 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7831 Close the menu on button release, not button press
7833 * src/hildon-banner.c
7834 (hildon_banner_set_property)
7835 (hildon_banner_check_position):
7836 Make the banner use the full width of the screen
7837 (hildon_banner_show_information)
7838 (hildon_banner_show_information_with_markup):
7839 Don't display an icon by default
7841 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7843 Added fading scrollbars and adapted all the overshooting code to
7844 horizontal scrolling. We have also fixed bugs with overshooting
7845 and current fading implementation.
7847 * src/hildon-pannable-area.c
7848 (hildon_pannable_area_scroll_indicator_fade): Time out function
7849 used to change the transparency of the scrollbars.
7851 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7852 control and fixed a problem with fading, we now remove the fade
7853 timeout before adding a new one.
7855 (hildon_pannable_axis_scroll):
7856 (hildon_pannable_area_scroll):
7857 (hildon_pannable_area_timeout): Added this functions so we can use
7858 the scroll code both for vertical and horizontal.
7860 (hildon_pannable_area_motion_notify_cb):
7861 (hildon_pannable_area_button_release_cb): Added the horizontal
7862 scrolling control, fixed a problem with the overshooting timeout.
7864 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7865 painting of the scrolls.
7867 (hildon_pannable_draw_vscroll):
7868 (hildon_pannable_draw_hscroll):
7869 (hildon_pannable_area_expose_event):
7870 Draw both scrollbars and rectangles in the overshooting area.
7872 (hildon_pannable_area_get_property):
7873 (hildon_pannable_area_set_property):
7874 Modified the overshoot property to overshoot_max
7876 (hildon_pannable_area_map):
7877 Replaced the comments symbols.
7879 (hildon_pannable_area_size_allocate):
7880 (hildon_pannable_area_class_init):
7881 (hildon_pannable_area_init): Added horizontal scroll, fading
7882 effect properties, fixed a problem when overshooting in the bottom
7885 * examples/hildon-pannable-area-example.c:
7886 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7887 looks better in the example.
7889 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7891 * src/hildon-window.c
7892 * src/hildon-window.h
7893 (hildon_window_class_init)
7894 (hildon_window_unset_program)
7895 (hildon_window_unset_program_real):
7896 Make unset_program a virtual function
7898 * src/hildon-stackable-window.c
7899 * src/hildon-stackable-window.h
7900 Added hildon_stackable_window_go_home()
7902 * examples/Makefile.am
7903 * examples/hildon-stackable-window-example.c
7904 HildonStackableWindow example
7906 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7908 * hildon-pannable-area.c: Added the overshoot property and removed
7909 the OVERSHOOT define. Fixed an indent style error.
7910 (hildon_pannable_area_motion_notify_cb):
7911 (hildon_pannable_area_get_property):
7912 (hildon_pannable_area_set_property): Add overshoot property.
7914 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7917 (hildon_pannable_area_class_init): Installed the new property.
7919 * hildon-pannable-area-example.c: Added a sawtooth function, this
7920 way it is easier to check the movement in the pannable.
7921 (get_sawtooth_label): Added this function.
7922 (main): Now we get the labels from the new get_sawtooth_label
7925 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7927 * src/hildon-app-menu.h
7928 * src/hildon-app-menu.c
7929 Renamed API variables for consistency
7931 (hildon_app_menu_popup): Use also the default window size to
7932 decide where to place the menu
7934 (hildon_app_menu_init, hildon_app_menu_class_init): New
7935 external-border style property
7937 2008-05-26 Michael Natterer <mitch@imendio.com>
7939 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7940 widget_class->tap_and_hold_setup signal slot doesn't exist any
7941 longer, stop overriding it.
7943 (hildon_time_editor_init): g_signal_connect() to the
7944 tap-and-hold-setup signal instead.
7946 (hildon_time_editor_entry_keypress): add cast to fix warning.
7948 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7950 * doc/hildon-docs.sgml
7952 * examples/Makefile.am
7953 * examples/hildon-app-menu-example.c
7955 * src/hildon-app-menu-private.h
7956 * src/hildon-app-menu.c
7957 * src/hildon-app-menu.h
7959 New HildonAppMenu widget
7961 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7963 Rearranged the inheritance of the pannable area, now it inherits
7964 from GtkBin. This will allow us to control the event_window and
7965 the allocation process of the widget, required for some effects.
7967 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7968 GtkBin structures. * src/hildon-pannable-area.c: Added the
7969 event_window variable.
7970 (hildon_pannable_area_button_press_cb):
7971 (hildon_pannable_area_button_release_cb):
7972 (hildon_pannable_area_motion_notify_cb):
7973 Changed the signature of the method, now we override the event
7974 callback instead of connecting to the signal.
7976 (hildon_pannable_area_realize):
7977 (hildon_pannable_area_unrealize):
7978 (hildon_pannable_area_map):
7979 (hildon_pannable_area_unmap):
7980 (hildon_pannable_area_size_allocate):
7981 Added functions to control the widget construction. We add a
7982 INPUT_ONLY window and we put it over the widgets inside the
7983 container, this event_window handles the events.
7985 (hildon_pannable_area_class_init):
7986 Replaced the signal connections with overrides of the event
7989 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7991 Bouncing effect added when touching the borders, you can change
7992 the elasticity of the border changing the ELASTICITY define.
7994 * src/hildon-pannable-area.c: Added ELASTICITY define.
7995 (hildon_pannable_area_timeout): Added inverse velocity when
7996 touching the border of the child widget, that causes a bounce.
7998 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8000 Improved performance, we now do not go to the X server in order to
8001 get the list of window children. Apparently the effect is the
8002 same, we have to be careful and check if this breaks something in
8005 * src/hildon-pannable-area.c:
8006 (get_ordered_children): Removed this function.
8007 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8008 the children windows function with gdk_window_get_children.
8010 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8012 * src/hildon-pannable-area.c:
8013 (hildon_pannable_area_dispose): Fixed a crash when closing the
8014 window and kinetics is activated.
8016 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8018 * src/hildon-pannable-area.h
8019 * src/hildon-pannable-area.c
8020 Changed indentation style to meet the one used in Hildon
8022 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8024 Reviewed the interaction of the AUTO mode, now we use the time
8025 attribute of the events and calculate the velocity in the motion,
8026 doing a gimp like calculation. The velocity is calculated in each
8027 motion event using the last velocity and the current one, the
8028 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8030 * src/hildon-pannable-area.c: Replaced the time based algorithm
8032 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8033 timeout for the AUTO mode when we are still moving the cursor. We
8034 added also the velocity calculation in this function.
8035 (hildon_pannable_area_button_release_cb): launch the timeout in
8036 case we are in AUTO mode. There are still some constants here that
8037 come from the old implementation that should be reviewed and
8040 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8042 * doc/hildon-docs.sgml
8045 * src/hildon-stackable-window.c
8046 * src/hildon-stackable-window.h
8048 New HildonStackableWindow widget
8050 * examples/hildon-dialog-example.c
8051 * examples/hildon-pannable-area-example.c
8054 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8056 * src/hildon-dialog.c
8057 (hildon_dialog_new_with_buttons): New constructor.
8059 * examples/hildon-dialog-example.c
8060 (main): Update the example to use the new
8061 hildon_dialog_new_with_buttons().
8063 * examples/hildon-pannable-area-example.c
8064 (main): Update example.
8066 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8068 * doc/hildon-docs.sgml
8070 Added HildonPannableArea to the documentation.
8072 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8074 * doc/visual_index.xml
8075 Fix reference to HildonLoginDialog in documentation
8077 * doc/hildon-docs.sgml
8079 * examples/Makefile.am
8080 * examples/hildon-dialog-example.c
8082 * src/hildon-dialog.c
8083 * src/hildon-dialog.h
8085 New HildonDialog widget.
8087 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8089 * src/hildon-pannable-area.c
8090 Merge latest changes (r4318, r4342) from libmokoui trunk
8092 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8094 * examples/Makefile.am
8095 * examples/hildon-pannable-area-example.c
8097 * src/hildon-pannable-area.c
8098 * src/hildon-pannable-area.h
8100 New HildonPannableArea widget.
8102 2008-04-15 18:05:19 <timj@imendio.com>
8104 * src/hildon-banner.c: revert the recent change, that introduced
8105 gtk_window_present() calls. this reopens:
8106 Bug 78481 - [freetest] information banners are hidden under browser menu
8107 But resolves another variant of:
8108 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8110 2008-04-15 13:21:13 <timj@imendio.com>
8112 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8113 recreated its layout, spotted by Kris. this fixes all remaining
8114 artefacts and stability issues with the banner code. in particular:
8115 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8117 2008-04-14 16:52:59 <timj@imendio.com>
8119 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8120 operating on unrealized widgets, fixes:
8121 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8123 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8125 2008-04-09 Kristian Rietveld <kris@imendio.com>
8127 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8128 makes banner disappear.
8129 Fixes: NB#79182: info banner flickering with certain message lengts.
8131 * src/hildon-banner.c (hildon_banner_constructor),
8132 (hildon_banner_init), (hildon_banner_set_text),
8133 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8134 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8135 FALSE, reset size requests of label and banner,
8136 (force_to_wrap_truncated): when the text is too wide, always enforce
8137 the maximum possible width instead of recalculating it from the
8138 layout; enforce the maximum banner height of 3 lines,
8139 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8140 nicer wrapping and no truncated chars if space gets tight.
8142 * src/hildon-banner-private.h: add has_been_wrapped and
8143 has_been_truncated fields.
8145 2008-04-07 Sven Herzberg <sven@imendio.com>
8147 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8148 local values in hildon_date_editor_size_allocate
8150 * src/hildon-date-editor.c: moved the real allocation code into the
8153 2008-04-07 Sven Herzberg <sven@imendio.com>
8155 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8156 local values in hildon_date_editor_size_allocate
8158 * src/hildon-date-editor.c: merged the two if() branches together
8160 2008-04-07 Sven Herzberg <sven@imendio.com>
8162 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8163 local values in hildon_date_editor_size_allocate
8165 * src/hildon-date-editor.c: changed the arguments of the if()
8168 2008-04-07 Sven Herzberg <sven@imendio.com>
8170 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8171 local values in hildon_date_editor_size_allocate
8173 * src/hildon-date-editor.c: split the calculation of the allocation
8174 from the real allocation
8176 2008-03-27 Michael Natterer <mitch@imendio.com>
8178 Fixes: NB#81696: The passcode is not overwritten even after
8181 * src/hildon-code-dialog.c
8182 (hildon_code_dialog_button_clicked)
8183 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8184 because that doesn't overwrite selected text. Instead, emit the
8185 "commit" signal on the entry's im_context so the entry's normal
8186 insert logic is triggered. Set the cursor to the end of the entry
8187 after each insert operation so that we *only* insert in the middle
8188 of the text if something was selected.
8190 2008-03-27 Michael Natterer <mitch@imendio.com>
8192 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8193 selector cannot be opened
8195 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8196 when the popup color selector is created. Please connect to this
8197 signal in order to set the dialog's help ID.
8199 2008-03-25 Sven Herzberg <sven@imendio.com>
8201 Fixes: MB#1212: Hide info banners (infoprints) on click
8203 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8204 extracted the close event simulation into an extra function
8205 (hildon_banner_button_press_event): simulate a close event and destroy
8206 the widget if the event wasn't handled
8207 (hildon_banner_class_init): added the button_press_event handler
8208 (hildon_banner_init): added button-press events to the widget
8210 2008-03-25 Sven Herzberg <sven@imendio.com>
8212 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8213 Patch from: Mohammad Anwari <mdamt@maemo.org>
8215 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8216 instead of the right in RTL mode
8217 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8218 breadcrumb button list in RTL mode
8219 * src/hildon-caption.c: mirror the appearance of the caption widget in
8221 * src/hildon-date-editor.c: mirror appearance of the date editor in
8223 * src/hildon-time-editor.c: mirror appearance of the time editor in
8225 * src/hildon-window.c: fix the position of the popup in RTL mode
8227 2008-03-25 Sven Herzberg <sven@imendio.com>
8229 Amendment to the fix of NB#22072. Fix compilation.
8231 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8233 2008-03-19 Sven Herzberg <sven@imendio.com>
8235 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8238 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8239 timeout id properly when the timeout will disappear this leaves no
8240 artifacts around in the destroy(); there will only be the timeout
8241 created by hildon_banner_ensure_timeout() and adding a new timeout
8242 will also work if the timeout gets removed because the timeout_handler
8245 2008-03-19 Michael Natterer <mitch@imendio.com>
8247 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8249 * src/hildon-volumebar.c
8250 * src/hildon-vvolumebar.c
8251 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8252 the widget becomes focussable at all.
8254 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8255 set the focus to wither the mute button or the volumebar.
8257 Remove own "can-focus" property and instead listen to
8258 notify::can-focus in order to update the widget's state.
8260 Implement GtkWidget::focus() and make sure we can also *leave* the
8261 widget, not only enter it, depending on volumebar orientation and
8262 requested focus direction.
8264 Clean up set_mute() to cooperate nicely with all the above.
8266 2008-03-04 Michael Natterer <mitch@imendio.com>
8268 Fixes: NB#78481: information banners are hidden under browser menu
8270 * src/hildon-banner.c: call gtk_window_present() on the banners so
8271 they are risen if they are already visible.
8273 2008-03-03 Sven Herzberg <sven@imendio.com>
8275 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8277 * examples/hildon-window-menu-example.c: (main): extended the window
8278 menu example to serve as a testcase for automatically added
8279 accelerator groups, too
8280 * src/hildon-window.c: (hildon_window_add_accel_group),
8281 (hildon_window_set_menu): added patch by Tommi Komulainen
8283 2008-03-03 Sven Herzberg <sven@imendio.com>
8285 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8287 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8288 knowledge about the border allocators used within GTK+
8290 2008-02-26 Sven Herzberg <sven@imendio.com>
8292 Fixes: MB#2981: Build with asserts broken
8294 * src/hildon-date-editor.c,
8295 * src/hildon-number-editor.c,
8296 * src/hildon-time-editor.c,
8297 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8298 the proper GType instance check
8300 2008-02-25 Sven Herzberg <sven@imendio.com>
8302 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8304 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8305 * examples/hildon-window-menu-example.c: (main): explicitly show
8307 * src/hildon-window.c:
8308 (hildon_window_set_main_menu): moved most of the code from set_menu()
8309 to this place; skipped the call to gtk_widget_show_all(); also didn't
8310 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8311 (hildon_window_set_menu): removed most of the code, just keep the
8312 questionable gtk_widget_show_all()
8313 * src/hildon-window.h: added the new function and deprecate the old
8316 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8322 * debian/changelog: Updating.
8324 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8327 * pkgconfig/Makefile.am:
8328 * pkgconfig/hildon.pc.in:
8331 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8332 use newly created API_MAJOR_VERSION.
8334 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8340 * debian/changelog: Updating.
8342 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8344 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8346 Add outer_border style property, we use it but don't define it (!).
8350 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8352 * examples/hildon-bread-crumb-trail-example.c (main):
8356 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8358 Fix logic for the bread crumb trail node removal.
8362 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * debian/changelog: Updating.
8370 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8372 Patch by Alejandro to get/set passwords dialogs accesibility.
8374 * hildon-1/src/hildon-get-password-dialog.c:
8375 * hildon-1/src/hildon-set-password-dialog.c:
8376 Set atk_set_name to the passwd entries in order to allow
8377 accessibility by name on this entries.
8379 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8384 * debian/control: Updating gtk dep.
8386 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8388 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8389 USE_MAEMO_GTK is enabled.
8391 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8393 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8394 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8396 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * debian/changelog: Updating.
8404 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8406 * examples/Makefile.am:
8407 * examples/hildon-logical-color-example.c:
8408 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8409 applied + adding a test case. Fixes: NB#71660.
8411 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8413 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8414 to be visible, fixes warning on map for windows without toolbars.
8416 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8418 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8419 2.11.0, add a check for that besides the MAEMO_GTK check.
8421 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8427 * debian/changelog: Updating.
8429 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8431 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8432 visibility. Fixes: NB#70842 and MB#615.
8434 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8436 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8437 set the separator as no-show-all so it doesn't unintentionally appear when
8438 someone does a show_all.
8440 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8442 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8443 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8444 toplevel item. Fixes: NB#62031
8446 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8448 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8449 fix the name of the function in the docs.
8451 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * debian/changelog: Updating.
8459 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8461 * examples/hildon-banner-long-example.c: Adding a test-case for long
8464 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8466 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * src/hildon-color-chooser-dialog.c:
8469 * src/hildon-color-chooser.c:
8470 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8471 memory leaks in font selector and color selector. Fixes: NB#70499 and
8474 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8476 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8478 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8480 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8481 little bit bigger. Fixes: #NB63694.
8483 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8489 * debian/changelog: Updating.
8491 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8494 * doc/hildon-docs.sgml:
8495 * doc/images/bread-crumb-trail.png:
8496 * doc/images/calendar-popup.png:
8497 * doc/images/caption.png:
8498 * doc/images/code-dialog.png:
8499 * doc/images/color-button.png:
8500 * doc/images/color-chooser-dialog.png:
8501 * doc/images/color-chooser.png:
8502 * doc/images/controlbar.png:
8503 * doc/images/date-editor.png:
8504 * doc/images/font-selection-dialog.png:
8505 * doc/images/get-password-dialog.png:
8506 * doc/images/hvolumebar.png:
8507 * doc/images/login-dialog.png:
8508 * doc/images/note.png:
8509 * doc/images/number-editor.png:
8510 * doc/images/range-editor.png:
8511 * doc/images/seekbar.png:
8512 * doc/images/set-password-dialog.png:
8513 * doc/images/sort-dialog.png:
8514 * doc/images/time-editor.png:
8515 * doc/images/time-picker.png:
8516 * doc/images/vvolumebar.png:
8517 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8518 Adding the bread-crumb-trial and helpers to the documentation.
8520 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * examples/hildon-find-toolbar-example.c:
8523 * src/hildon-find-toolbar.c:
8524 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8525 actually continue firing the other handlers if connected. Adding a new
8527 hildon_find_toolbar_get_last_index that gets the index of the most
8528 recently added (last) item. Fixes: NB#52301.
8530 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8533 behaviour. Fixes: NB#68610.
8535 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8540 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8542 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8543 when realizing the banner. Should make the infonbanner effect a bit more
8546 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8548 * src/hildon-volumebar.c:
8549 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8550 hildon_volumebar_set_range_insensitive_message and
8551 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * src/hildon-window.c: Fixing the border freeing on destroy.
8557 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8559 * src/hildon-code-dialog-private.h:
8560 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8561 kw keyboard support in HildonCodeDialog.
8563 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8569 * debian/changelog: Updating.
8571 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8573 * src/hildon-date-editor.c:
8574 * src/hildon-number-editor.c:
8575 * src/hildon-private.c:
8576 * src/hildon-private.h:
8577 * src/hildon-time-editor.c:
8578 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8579 handling in subclassed composite widgets. Fixes: NB#66628.
8581 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8583 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8584 from destroy_ callback as it introduces problems in async dbus signal
8585 handlers. Fixes NB#66673.
8587 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * examples/hildon-hvolumebar-example.c:
8590 * src/hildon-volumebar.c: Improving the focus handling in the
8591 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8592 set_property accessor so that "mute" property can be actually set. I'm
8593 scared that nobody noticed it's totally broken.
8595 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8597 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8600 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * src/hildon-calendar.c:
8603 * src/hildon-number-editor.c:
8604 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8605 matches the spec of 6 chars per second. Fixes: NB#60489.
8607 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8610 gtk_style_lookup_color sometime returns FALSE even though color was
8611 found and values were filled properly. Weird. Removing the warning for the
8614 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8616 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8617 expand vertically. Adding some extra space to the find toolbar buttons to
8618 make them thumbable. Fixes NB#66060.
8620 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8623 popup with "Ok" and "Cancel". Fixes NB#59299.
8625 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * src/hildon-calendar.c: Process all window updates before executing next
8628 timeout. Fixes: NB#54146.
8630 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * debian/changelog: Updating.
8638 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8640 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8641 the client event and ignore it, since we use the delete event to close
8644 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * src/hildon-helper.c: Remove the bogus warning about color not being
8647 found. Fixes NB#58352.
8649 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * examples/Makefile.am:
8652 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8653 HildonSeekbar widget inside a toolbar.
8655 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8657 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8658 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8659 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8660 don't want to be closed by non-temporary windows on map.
8662 Also use G_DEFINE_TYPE instead of manually typed code.
8664 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * debian/rules: Updating.
8673 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * examples/Makefile.am:
8676 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8677 bug NB#61128. Strangely it works.
8679 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * src/hildon-date-editor.c: When the date editor entry has been changed
8682 but the numbers of characters < max, turn off the skip validation flag.
8683 Prevents a situation when we enter first a valid year and later re-write
8684 it with an invalid one. Fixes NB#60154.
8686 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8689 code dialog. Fixes NB#64355.
8691 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8694 switching the page. Fixes NB#49374.
8696 * examples/Makefile.am:
8697 * examples/hildon-wizard-dialog-example.c: Adding an example for
8698 HildonWizardDialog that shows how to handle manual sensitivity setting on
8701 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * src/hildon-version.h.in:
8706 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-volumebar.c: Updating the docs.
8712 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * debian/changelog: Updating.
8720 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-find-toolbar.c:
8723 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8724 selected item: hildon_find_toolbar_set_active,
8725 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8726 hildon_find_toolbar_get_active_iter . They correspond to respective
8727 GtkComboBox functions.
8729 * examples/Makefile.am:
8730 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8733 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * examples/Makefile.am:
8736 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8739 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8740 when font size > 32 and we pack a focusable widget inside. Actually using
8741 the default response would work too, but since we don't show default
8742 response state in any way (no theming) it would not be visible to the
8743 user. Fixes NB#63430.
8745 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-date-editor.c: Adding the missing variable setter in the
8748 set_property handler. Fixes NB#54182.
8750 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-window.h: Changing the long key press time from 1500ms to
8753 800ms as requested in NB#63700. I have a bad feeling about this, let's
8754 see... Fixes NB#63700.
8756 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8758 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8759 hildon_time_picker_map, hildon_time_picker_realize,
8760 hildon_time_picker_style_set): Split the contents of map to more
8761 appropriate functions; set window decorations on realize and update
8762 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8764 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8769 * debian/changelog: Updating.
8771 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8773 * src/Makefile.am: fixed installation of the header files
8775 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/changelog: Updating.
8783 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * configure.ac: Removing some remaining of --enable-xan.
8787 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8789 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8790 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8792 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8793 2.10.12-osso6 because the move-focus signal needs to be available in
8796 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * examples/Makefile.am:
8799 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8800 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8801 fine. Prolly NB#61128 is fixed now.
8803 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * src/hildon-volumebar.c:
8806 * src/hildon-volumebar.h: Adding the
8807 hildon_volumebar_set_range_insensitive_message and
8808 hildon_volumebar_set_range_insensitive_messagef functions to set
8809 insensitive message on the slider of the volumebar. Fixes NB#61129.
8811 * examples/Makefile.am:
8812 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8813 test the new insensitive messsage functionality on HildonVolumebar.
8815 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8817 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8820 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8822 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8823 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8824 button on after clearing the trail.
8826 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8828 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8830 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8832 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8833 by splitting the installed headers in generated and non-generated groups. Use
8834 only the non-generated headers to create the hildon-enum-types.h file.
8836 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8838 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-window.c: Hide the window before performing the destroy.
8841 Should make the app closing a little tiny bit more snappy.
8843 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8845 * src/hildon-seekbar.c: add gtkrange.h header
8846 * src/hildon-caption.c: remove unused variable
8848 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8850 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8853 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * debian/changelog: Updating.
8861 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8863 * src/hildon-window.c (hildon_window_window_state_event,
8864 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8865 escape timeout on focus-out-event rather than notify::is-topmost; the
8866 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8868 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8870 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8871 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8873 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-window: actually, you need to use the macro always, there's
8876 no private pointer in the instance structure. We should have cleaned this up
8877 when we had the chance...
8879 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8881 * src/hildon-window.c: do not get the private date from HildonWindow before
8882 it passes the g_return_if_fail check. Once it's passed the test, there's no
8883 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8884 if you are only going to access the data once. Whitespace cleanups.
8886 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8888 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8889 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8891 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8897 * debian/changelog: Updating.
8899 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * src/hildon-window.c: When destroying the window, remove (if exists) the
8902 escape timeout handler. Fixes #NB59276.
8904 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * src/hildon-banner.c: When realizing the widget, set the window
8907 transiency. Setting the transiency in the gobject constructor is not
8908 good, as the widget is not realized at that point. Fixes: #NB56624.
8910 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8912 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8913 Add padding for future expansions.
8915 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8917 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8918 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8919 will fake an activation on the previous to the last item of the trail, so
8920 the effect can be overrided by the developer as usual.
8921 Also change the callback for the back button to do the same thing, so its
8922 effect can be overrided too. Fixes: NB#58982
8924 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8927 HildonCaption. Fixes NB#52379.
8929 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8931 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8932 the internal state of the trail after the user has had the chance of executing
8933 his handler for the signal. Specifically, it may happen that the activated button
8934 is removed and the user still lets the default handler run. This would segfault
8937 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8940 scrollbar to the preview dialog. Fixes NB#54147.
8942 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8944 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8945 max/min year properties can be altered, so the client can modify it
8946 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8948 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8951 hildonlike by default. Fixing a problem with disappearing arrows when
8952 scrolling through months and years. Fixes NB#54127.
8954 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * examples/hildon-date-editor-example.c: Adding error callback to the date
8959 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * configure.ac: Updating.
8967 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * configure.ac: Adding a special '--enable-xan' configure option that
8970 turns off the -Werror compilation setting. Usefull for development.
8972 * src/hildon-calendar.c:
8973 * src/hildon-number-editor.c:
8974 * src/hildon-time-picker.c: Adding the 5* multiplier to
8977 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8979 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8980 instead of g_object_ref + gtk_object_sink.
8982 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * debian/changelog: Updating.
8990 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8992 * src/hildon-color-chooser-dialog.c:
8993 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8994 straight from Tommi labs.
8996 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * examples/hildon-finger-example.c: Correcting the header file path.
9000 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9001 the changed signal. Fixes a small memory leak.
9003 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-banner.c: Importing several usefull fixes from the
9008 ubuntu-mobile branch.
9010 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * examples/Makefile.am:
9013 * examples/hildon-finger-example.c: Adding a finger-checking code
9016 * src/hildon-font-selection-dialog.c: Do not allocate the color
9017 structure using the g_new. Fixes NB#54061.
9019 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-helper.c: Correcting tabs in file.
9023 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9025 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9026 control the visibility of the children.
9028 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9030 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * debian/changelog: Updating.
9038 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9040 * src/hildon-bread-crumb-trail.c:
9041 (hildon_bread_crumb_trail_size_allocate):
9043 Make the back button always a square.
9045 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9047 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9048 from the .c file as it's a private file.
9050 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9053 uses slightly bigger height.
9055 * src/hildon-font-selection-dialog.c: Adding some checks before
9056 freeing memory in the font selection dialog.
9058 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-font-selection-dialog.c: Adding a small check when
9063 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9064 buttons sensitivity on page switching.
9066 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9068 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9069 internal details of adding a bread crumb to the trail.
9071 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * debian/changelog: Updating.
9079 * src/hildon-bread-crumb-trail.h:
9080 * src/hildon-bread-crumb.h: Changing the API guard to
9081 HILDON_ENABLE_UNSTABLE_API.
9083 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * src/hildon-helper.h: Updating.
9093 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * src/hildon-helper.h: Small fix to make the package actually compile.
9107 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9109 * src/hildon-bread-crumb-trail.h:
9110 * src/hildon-bread-crumb.h:
9112 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9113 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9115 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9117 * examples/hildon-bread-crumb-trail-example.c:
9119 * src/hildon-bread-crumb-trail.c:
9120 * src/hildon-bread-crumb-trail.h:
9121 * src/hildon-bread-crumb.c:
9122 * src/hildon-bread-crumb.h:
9123 * src/hildon-marshalers.list:
9124 * src/hildon-bread-crumb-widget.c:
9125 * src/hildon-bread-crumb-widget.h:
9127 Slight change in the widget design. The bread crumb trail API is
9128 unchanged, but HildonBreadCrumb is now an interface. A *private*
9129 implementation, hildon-bread-crumb-widget, is provided and used
9130 internally by the trail for the push_text/push_icon functions.
9132 The generic push API is still available, so anyone can implement
9133 and use its own bread crumb widget.
9135 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * debian/rules: Fixing the shlibs.
9139 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9141 * src/hildon-banner.c: Fixing a problem with timed banners having
9142 their parrent destroyed before they are.
9144 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9146 * src/hildon-bread-crumb.c:
9147 * src/hildon-bread-crumb.h:
9149 Make the get_natural_size function a vfunc.
9151 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9153 * src/hildon-bread-crumb.c:
9154 * src/hildon-bread-crumb-trail.c:
9158 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * debian/changelog: Updating for release.
9167 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9169 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9170 don't leak the pango layout.
9172 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9175 * examples/hildon-bread-crumb-trail-example.c:
9179 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * debian/changelog: Removing the bug-fixed entries that were actually
9182 resolved as WONTFIX.
9184 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9187 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9189 * src/hildon-bread-crumb-trail.c:
9190 * src/hildon-bread-crumb-trail.h:
9191 * src/hildon-bread-crumb.c:
9192 * src/hildon-bread-crumb.h:
9196 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9198 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9199 until it's passed the type check.
9201 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9203 * examples/hildon-bread-crumb-trail-example.c
9207 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9209 * examples/Makefile.am
9210 * examples/hildon-bread-crumb-trail-example.c
9212 * src/hildon-bread-crumb-trail.c
9213 * src/hildon-bread-crumb-trail.h
9214 * src/hildon-bread-crumb.c
9215 * src/hildon-bread-crumb.h
9217 New HildonBreadCrumbTrail widget.
9219 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9221 * src/hildon-range-editor.c (hildon_range_editor_init),
9222 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9223 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9224 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9225 hildon_time_editor_class_init, hildon_time_editor_init),
9226 src/hildon-get-password-dialog.c (invalid_input,
9227 hildon_get_password_set_property, hildon_get_password_get_property,
9228 create_contents, hildon_get_password_dialog_set_max_characters),
9229 src/hildon-set-password-dialog.c (create_contents),
9230 src/hildon-date-editor.c (hildon_date_editor_init),
9231 src/hildon-login-dialog.c (hildon_login_dialog_init),
9232 src/hildon-number-editor.c (hildon_number_editor_init),
9233 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9234 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9235 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9236 configure option and adding the respective checks in the code.
9237 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9238 hildon_calendar_drag_data_received): fixed some build warnings.
9240 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * debian/changelog: A 1.0.0 release notes.