1 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: postrelease version bump.
4 * debian/changelog: post release version bump
6 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
16 * hildon/hildon-note.c: (label_size_request): Take the note
17 padding into account when setting the size request.
19 Fixes: NB#127896 (Information notes text truncated)
21 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
23 * configure.ac: postrelease version bump.
24 * debian/changelog: post release version bump
26 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
31 * configure.ac: Bump version.
32 * debian/changelog: Updates.
34 2009-07-16 Alejandro G. Castro <alex@igalia.com>
36 * hildon/hildon-text-view.c,
37 (hildon_text_view_button_press_event): Grabbed the focus in button
38 press, this way we are sure the widget has the focus in the
39 release event, required for HIM.
41 Fixes: NB#121445 (Virtual keyboard opening is not working in same
42 way for each text entry field)
44 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
46 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
47 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
48 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
49 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
50 (hildon_pannable_area_[gs]et_center_on_child_focus)
51 Redefined GtkContainer set-focus-child signal, in order to center
52 properly on a child when it receives the focus. Defined a new property
53 "center-on-child-focus" in order to activate this feature (deactivated
54 by default). Public get/set methods defined to manage the property.
56 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
58 2009-07-14 László Pere <lpere@blumsoft.eu>
60 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
61 the new size is applied.
63 Fixes: NB#124510 (The Application Menu is distorted when switched
64 between portrait and landscape mode)
65 Fixes: NB#115388 (Power key menu does not resize itself)
67 2009-07-01 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-banner.c (hildon_banner_map):
70 Set banner position after mapping.
72 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
74 * configure.ac: postrelease version bump.
75 * debian/changelog: post release version bump
77 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
82 * configure.ac: Bump version.
83 * debian/changelog: Updates.
85 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
87 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
90 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
92 * tests/check-hildon-banner.c
95 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
96 were testing deprecated functions.
97 * examples/hildon-banner-example.c: typo on button3 type, that causes
98 a fail compiling with --with-examples but without --disable-deprecated
100 Missed commit in order to fix compilation using '--enable-fatal' and
101 '--disable-deprecated' (see previous commit)
103 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
105 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
106 functions with #ifndef HILDON_DISABLE_DEPRECATED
107 * examples/hildon-find-toolbar.c: Protect deprecated
108 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
109 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
110 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
111 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
113 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
114 to allow proper compilation of deprecated functions defined on the header
116 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
118 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
120 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
121 Cache the panning indicator color.,
122 (hildon_pannable_area_style_set): Query the color on style changes.
123 (hildon_pannable_draw_vscroll),
124 (hildon_pannable_draw_hscroll),
125 (hildon_pannable_area_expose_event): Use the cached panning indicator
126 color instead of looking it up on every expose and more.
128 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
131 (hildon_pannable_draw_hscroll),
132 (hildon_pannable_area_expose_event): Fix the panning indicator color,
133 so that it's "SecondaryTextColor", as desired.
135 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
137 * hildon/hildon-picker-dialog.c:
138 (selection_completed): take into account HILDON_UI_MODE_NORMAL
139 * hildon/hildon-touch-selector.c
140 (hildon_touch_selector_init): Initialize hildon-ui-mode
141 (hildon_touch_selector_row_activated): new callback for the
142 "row-activated" signal, in order to save the last activated
143 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
144 if the current hildon-ui-mode is coherent with the touch selector
145 (hildon_touch_selector_class_init)
146 (hildon_touch_selector_get_property)
147 (hildon_touch_selector_set_property)
148 Added "hildon-ui-mode" property
149 (disconnect_model_handlers): renamed to clean_column
150 (hildon_touch_selector_remove): use clean_column function
151 (_create_new_column): use the hildon-ui-mode to create the treeview, and
152 only select the first element on HILDON_UI_MODE_EDIT
153 (hildon_touch_selector_column_init): Initialize last_activate
154 (hildon_touch_selector_append_column): check that the touch selector
155 is coherent with the current hildon-ui-mode
156 (hildon_touch_selector_get_hildon_ui_mode)
157 (hildon_touch_selector_set_hildon_ui_mode)
158 Added a getter/setter for the hildon-ui-mode property
159 (hildon_touch_selector_get_last_activated_row): Added this method in
160 order to get the last activated row.
161 * examples/hildon-touch-selector-normal-mode-example.c
162 New example, that shows how to use the HildonTouchSelector in
163 HILDON_UI_MODE_NORMAL
165 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
166 Kristian Rietveld <kris@lanedo.com> advices
168 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-time-selector.c: (update_format_policy): Do
171 not call update_format_dependant_columns() if not necessary.
172 (update_format_dependant_columns): Remove unnecessary check for
173 the number of columns.
175 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
177 * hildon/hildon-note.c (+hildon_note_constructor),
178 (hildon_note_class_init), (+hildon_note_set_padding),
179 (hildon_note_rebuild): Install a constructor where to set the
180 padding properties in the note, so that it actually works fine.
181 Use hildon_note_set_padding() for this, and also to set it during
184 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
186 * configure.ac: Bump GTK+ requirement to 2.14.3.
187 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
188 when using maemo-gtk to define proper margins for the notes.
190 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
191 with the dialog edge)
193 2009-06-24 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-banner.c
196 (hildon_banner_class_init):
198 (+hildon_banner_size_request):
199 Request always the full width of the screen.
200 (hildon_banner_realize)
201 (-hildon_banner_check_position, hildon_banner_map):
202 hildon_banner_check_position() is not needed in Hildon 2.2.
203 (-hildon_banner_reset_wrap_state)
204 (hildon_banner_constructor, hildon_banner_init):
205 Remove unnecessary calls to hildon_banner_reset_wrap_state()
206 (+banner_do_set_text)
207 (force_to_wrap_truncated):
208 Remove has_been_wrapped and has_been_truncated attributes.
209 (+reshow_banner, hildon_banner_real_show_information)
210 (hildon_banner_show_information_with_markup)
211 (hildon_banner_show_animation, hildon_banner_show_progress)
212 (hildon_banner_set_text, hildon_banner_set_markup):
213 Refactor code. Shrink banner vertically to use the minimum space
214 necessary everytime the text of the label is updated.
215 (screen_size_changed):
216 Call force_to_wrap_truncated() when the size of the screen
219 Fixes: NB#120500 (only device memory connect mmc in use info
220 banner is left aligned)
222 Fixes: NB#120613 (Size of HildonBanner varies depending on
223 previously opened banners)
225 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
227 * hildon/hildon-color-chooser.c
228 (hildon_color_chooser_pointer_motion): Take the widget allocation
231 Fixes: NB#124385 (Unable to select exact point in color mixing box
232 in color palette dialog)
234 2009-06-23 Alejandro G. Castro <alex@igalia.com>
236 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
237 (hildon_pannable_area_dispose)
238 (hildon_pannable_area_button_press_cb)
239 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
240 (hildon_pannable_area_button_release_cb)
241 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
242 New 'panning-started' and 'panning-finished' signals.
244 Fixes: NB#121732 (New feature request: Signal to pannable area
245 that informs when panning is stopped.)
247 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
249 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
250 instead of hardcoded colon.
252 Fixes: NB#124090 (New calendar wizard title is not using
253 ecdg_ti_caption_separator)
255 2009-06-22 David King <davidk@openismus.com>
257 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
258 constants and functions, as well as correct many typos throughout the
261 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
264 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
266 * configure.ac: postrelease version bump.
267 * debian/changelog: post release version bump
269 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
274 * configure.ac: Bump version.
275 * debian/changelog: Updates.
277 2009-06-18 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-window-stack.c
280 (hildon_window_stack_pop_and_push_list):
281 Prevent windows from having the same stack index
283 2009-06-18 Alberto Garcia <agarcia@igalia.com>
285 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
286 Use the index of the previous window rather than the stack length
287 to calculate the new index.
291 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
293 * hildon/hildon-date-selector.c
294 (hildon_date_selector_select_current_date)
295 (hildon_date_selector_get_date)
296 (hildon_date_selector_select_day):
297 Update the documentation: uses always the range (1-31), as it is obvious
298 that the final one will depend on the month and the year, but globally
299 the range is this, in a similar GtkCalendar approach
300 (hildon_date_selector_get_date):
301 Update the documentation: add NULL as a valid value for the day, month
304 Fix some details, after talk with David King on bug MB#4698
306 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
308 * hildon/hildon-touch-selector-entry.c
309 * hildon/hildon-touch-selector.c
310 Update the documentation of the "text-column" property
312 2009-06-18 David King <davidk@openismus.com>
314 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
315 several typos and errors throughout the documentation.
317 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
320 2009-06-18 Alberto Garcia <agarcia@igalia.com>
322 * hildon/hildon-note.c (hildon_note_realize):
323 Make HildonNote support portrait mode.
325 Fixes: NB#123448 (HildonNote is not portrait-friendly)
327 2009-06-17 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
330 Document this function
332 2009-06-17 David King <davidk@openismus.com>
334 * hildon/hildon-date-selector.c
335 (hildon_date_selector_select_current_date)
336 (hildon_date_selector_get_date): Update documentation regarding days,
337 as the day of the month is dependent on both the month and the year.
338 (hildon_date_selector_get_date): Fix documentation of output arguments.
340 Fixes: MB#4698 (DateSelector documentation has bad output argument
341 description, and the day depends on both the month and the year)
343 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
345 * hildon/hildon-caption.c: Other documentation fixes to
348 2009-06-17 David King <davidk@openismus.com>
350 * hildon/hildon-caption.c: Minor documentation updates for
351 HildonCaption. Fixes MB#4697.
353 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
355 * doc/hildon-docs.sgml: Add hildon-version section.
356 * doc/hildon-sections.txt:
357 * hildon/hildon-version.h.in: Document versioning macros and
360 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
362 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
363 from HildonPickerDialog section.
365 2009-06-16 Alberto Garcia <agarcia@igalia.com>
367 * hildon/hildon-banner.c (hildon_banner_bind_style)
368 (screen_size_changed, hildon_banner_init)
369 (hildon_banner_real_show_information)
370 (hildon_banner_show_information_with_markup)
371 (hildon_banner_show_animation, hildon_banner_show_progress):
372 Set a different widget name to banners in portrait mode, for them
373 to be themed correctly.
375 2009-06-16 Alberto Garcia <agarcia@igalia.com>
377 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
378 Set a different widget name to notes in portrait mode, for them to
381 Partially fixes: NB#118401 (HildonNote causes unnecessary
384 2009-06-16 Alberto Garcia <agarcia@igalia.com>
386 * hildon/hildon-note.c (hildon_note_class_init)
387 (+hildon_note_size_request, screen_size_changed):
388 Always request the full width of the screen.
390 Fixes: NB#118375 (unnecessary rescaling of images)
392 2009-06-16 Alejandro G. Castro <alex@igalia.com>
394 * hildon/hildon-pannable-area.c,
395 (hildon_pannable_area_init),
396 (hildon_pannable_area_realize): Replaced old code adding flags in
397 the object init, now we add it with the other flags in the realize
400 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
402 * hildon/hildon-note.c: (hildon_note_class_init): Several
403 documentation improvements to the HildonNote widget.
405 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
407 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
409 Fixes: MB#4556 (HildonNoteType is undocumented)
411 2009-06-15 Alberto Garcia <agarcia@igalia.com>
413 * hildon/hildon-picker-button.c:
414 Explain how HildonPickerButton sets the title of its dialog
416 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
417 the title of its dialog)
419 2009-06-15 Alberto Garcia <agarcia@igalia.com>
421 * hildon/hildon-check-button.c:
422 Documentation updates
424 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
427 2009-06-15 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-edit-toolbar-private.h
431 * hildon/hildon-edit-toolbar.c
432 (+hildon_edit_toolbar_set_progress_indicator)
433 (hildon_edit_toolbar_init): Add progress indicator to the
436 * hildon/hildon-gtk.c
437 (hildon_gtk_window_set_progress_indicator):
438 If the window contains a HildonEditToolbar, enable the progress
441 * hildon/hildon-private.h
442 * hildon/hildon-private.c
443 (+hildon_private_create_animation)
444 * hildon/hildon-banner.c
445 (-hildon_banner_create_animation):
446 Moved to hildon-private.c
448 Fixes: NB#102373 (Progress indicator also for the Edit mode
451 2009-06-15 Alberto Garcia <agarcia@igalia.com>
453 * hildon/hildon-app-menu-private.h
454 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
455 (hildon_app_menu_add_filter, +menu_item_button_event)
456 (hildon_app_menu_button_release, hildon_app_menu_init):
457 Make sure that buttons receive 'button-release-event' in spite of
458 the grab held by HildonAppMenu
460 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
462 2009-06-15 Alberto Garcia <agarcia@igalia.com>
464 * hildon/hildon-app-menu.c
465 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
466 New style property to set the size of the group of filter buttons.
468 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
470 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: Bump version.
476 * debian/changelog: Updates.
478 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
480 * hildon/hildon-main.c: Minor documentation fixes.
482 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
484 * doc/hildon-sections.txt:
485 * hildon/hildon-defines.h: Document the defines, organize them,
486 and mark deprecations as such.
488 Fixes: MB#4463 (Hildon size #defines are undocumented)
490 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
492 * hildon/hildon-animation-actor.c:
493 * hildon/hildon-app-menu.c:
494 * hildon/hildon-button.c:
495 * hildon/hildon-date-editor.c:
496 * hildon/hildon-dialog.c:
497 * hildon/hildon-edit-toolbar.c:
498 * hildon/hildon-entry.c:
499 * hildon/hildon-program.c:
500 * hildon/hildon-remote-texture.c:
501 * hildon/hildon-stackable-window.c:
502 * hildon/hildon-text-view.c:
503 * hildon/hildon-touch-selector.c:
504 * hildon/hildon-window-stack.c:
505 * hildon/hildon-window.c:
507 Remove redundant "represents" wording from most of the documentation.
509 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
511 2009-06-12 Alberto Garcia <agarcia@igalia.com>
516 * hildon/hildon-banner-private.h
517 * hildon/hildon-banner.c:
518 Move HildonBannerPrivate to hildon-banner.c and remove
519 hildon-banner-private.h
520 Use a bit field to store private booleans.
522 2009-06-12 Alberto Garcia <agarcia@igalia.com>
524 * hildon/hildon-app-menu.c (hildon_app_menu_map):
525 Don't install a new idle function if there's already one
530 2009-06-11 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
533 (+legacy_menu_realized, +legacy_menu_unmapped)
534 (+set_legacy_menu_type):
535 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
536 they can be identified by the window manager.
538 Fixes: NB#101437 (Invoking CSM on the left side of page area is
539 displayed in wrong location)
541 Fixes: MB#4563 (Popup menu won't locate at the left side of the
544 2009-06-11 Alberto Garcia <agarcia@igalia.com>
546 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
548 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
551 2009-06-11 Alberto Garcia <agarcia@igalia.com>
553 * hildon/hildon-code-dialog.c
554 * hildon/hildon-date-editor.c
555 * hildon/hildon-number-editor.c
556 * hildon/hildon-seekbar.c
557 * hildon/hildon-stackable-window.c
558 * hildon/hildon-window.c:
559 Misc documentation updates
561 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
563 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
564 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
566 Fixes: NB#117931 (Theming issues in accounts dialogs)
568 2009-06-09 Alejandro G. Castro <alex@igalia.com>
570 * hildon/hildon-pannable-area.c,
571 (hildon_pannable_area_button_release_cb): Changed the coordinates
572 of the original release in case we want to discard the release,
573 some widgets in Fremantle do not handle the leave-notify.
575 2009-06-09 Alejandro G. Castro <alex@igalia.com>
577 * hildon/hildon-pannable-area.c,
578 (hildon_pannable_area_button_release_cb): Reviewed the logic of
579 the release using the last refactored functions and avoiding the
580 movement if an element was selected.
582 2009-06-09 Alejandro G. Castro <alex@igalia.com>
584 * hildon/hildon-pannable-area.c,
585 (hildon_pannable_area_check_move),
586 (hildon_pannable_area_handle_move),
587 (hildon_pannable_area_motion_notify_cb): Refactored the
588 motion_notify method using a couple of new functions.
590 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
592 * hildon/hildon-date-selector.c:
593 (hildon_date_selector_construct_ui):
594 * hildon/hildon-time-selector.c:
595 (hildon_time_selector_constructor):
596 * hildon/hildon-touch-selector-entry.c:
597 (hildon_touch_selector_entry_set_text_column),
598 (hildon_touch_selector_entry_get_text_column):
599 * hildon/hildon-touch-selector.c: (_default_print_func),
600 (hildon_touch_selector_new_text): Use
601 hildon_touch_selector_set/get_text_column() instead of
602 setting/getting the "text-column" property.
604 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
606 * doc/hildon-sections.txt: Add the new public methods below.
608 * examples/hildon-picker-button-multicolumn-example.c:
609 (create_touch_selector):
610 * examples/hildon-touch-selector-example.c: (create_selector):
611 * examples/hildon-touch-selector-multi-cells-example.c:
613 Use hildon_touch_selector_column_set_text_column()
615 * hildon/hildon-touch-selector-column.h:
616 * hildon/hildon-touch-selector.c:
617 (hildon_touch_selector_column_set_text_column),
618 (hildon_touch_selector_column_get_text_column):
619 Make hildon_touch_selector_column_set/get_column() public, use
620 them in the inline example, document them, and reference to them
623 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-time-selector.c: Fix the docs for
626 hildon_time_selector_new_step().
628 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-touch-selector.c: Improve the documentation for
631 hildon_touch_selector_append_column().
633 Fixes MB#4641 (Documentation:
634 hildon_touch_selector_append_column() ref-counting)
636 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
638 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
639 Comment out test 5, since the hildon_controlbar_set_range() range
640 check is broken and fixing it would have side effects. Also,
641 this finally fixes make distcheck.
643 Fixes: NB#101420 (Update unit tests and fix make distcheck)
645 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
647 * tests/TEST-CASES.txt: Remove other bogus test.
648 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
649 Remove bogus test that was setting/retrieving a valid value.
651 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
653 * tests/TEST-CASES.txt: Remove bogus tests.
654 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
655 Remove three bogus tests that were actually setting valid colors.
657 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: post release version bump
660 * debian/changelog: post release version bump
662 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
667 * configure.ac: Bump version.
668 * debian/changelog: Updates.
670 2009-06-08 Christian Dywan <christian@lanedo.com>
674 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
675 Correct errors in hildon_format_file-size_for_display and use
676 translations from the hildon-fm package instead of osso-filemanager.
678 2009-06-08 Alejandro G. Castro <alex@igalia.com>
680 * hildon/hildon-pannable-area.c,
681 (hildon_pannable_area_init): Initialized new values to handle the
683 (hildon_pannable_area_adjust_value_changed): Check if the values
684 changed before even call the redraw function.
685 (hildon_pannable_area_size_allocate),
686 (hildon_pannable_axis_scroll),
687 (hildon_pannable_area_scroll),
688 (hildon_pannable_area_jump_to): Improved the diagonal movement
691 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
694 2009-06-08 Alberto Garcia <agarcia@igalia.com>
696 * examples/hildon-banner-example.c:
697 Several style updates
698 (on_animation_clicked, on_animation_idle)
699 (on_progress_clicked, on_progress_idle):
700 Add additional reference for the cases when the parent window is
703 2009-06-08 Alberto Garcia <agarcia@igalia.com>
705 * doc/hildon-sections.txt
706 * hildon/hildon-pannable-area.c
707 * hildon/hildon-banner.h
708 * hildon/hildon-banner.c: Documentation updates.
710 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
713 2009-06-05 Alejandro G. Castro <alex@igalia.com>
715 * hildon/hildon-calendar-popup.h:
716 * hildon/hildon-caption.h:
717 * hildon/hildon-code-dialog.h:
718 * hildon/hildon-controlbar.h:
719 * hildon/hildon-date-editor.h:
720 * hildon/hildon-dialog.h:
721 * hildon/hildon-get-password-dialog.h:
722 * hildon/hildon-hvolumebar.h:
723 * hildon/hildon-login-dialog.h:
724 * hildon/hildon-note.h:
725 * hildon/hildon-number-editor.h:
726 * hildon/hildon-range-editor.h:
727 * hildon/hildon-seekbar.h:
728 * hildon/hildon-set-password-dialog.h:
729 * hildon/hildon-sort-dialog.h:
730 * hildon/hildon-time-editor.h:
731 * hildon/hildon-time-picker.h:
732 * hildon/hildon-volumebar-range.h:
733 * hildon/hildon-volumebar.h:
734 * hildon/hildon-vvolumebar.h:
735 * hildon/hildon-weekday-picker.h:
736 * hildon/hildon-window.h:
737 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
738 macros with the current replacements
740 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
742 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
744 * hildon/hildon-color-button.c (hildon_color_button_init): Use
745 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
746 itself, to make it fit better with Fremantle style.
748 Fixes: NB#109878 (height and width of focus on color icon is not
749 consistent with other item in the application tool bar)
751 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
753 * hildon/hildon-touch-selector.c:
754 (hildon_touch_selector_optimal_size_request): use the current requisition
755 as the base, in order to include any possible extra widget, like the
756 hildon entry on HildonTouchSelectorEntry
758 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
760 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
762 * configure.ac: post release version bump
763 * debian/changelog: post release version bump
765 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
770 * configure.ac: Bump version.
771 * debian/changelog: Updates.
773 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
775 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
777 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
778 to ensure the banner contents are centered, instead of relying on
779 the expand and fill properties in GtkHBox.
780 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
782 Fixes: NB#108265 (Animation banner not properly centered)
784 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
786 * hildon/hildon-pannable-area.c
787 (hildon_pannable_area_initial_effect): Remove the initial_effect
788 management, check initial_hint
789 (hildon_pannable_are_expose_event): Remove the initial_hint management,
790 set initial_effect to FALSE
791 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
792 by launching the fade_timeout if the scrollbars state has changed and are
794 * examples/hildon-pannable-area-initial-hint-example.c
795 Modified to allow to remove rows too. Add and remove rows one by one.
797 2009-05-28 Alberto Garcia <agarcia@igalia.com>
799 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
800 Don't close the menu if there's an animation actor below it.
802 Fixes: NB#117927 (Application menu not usable with animation
805 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
807 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
808 "focus-on-click" from the dialog button, to avoid stealing the
809 focus from the entry.
811 Fixes: NB#118903 (Account setup wizard: Text in Search field
812 should be focused when "Region" touch list picker is reopened
815 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
818 (prepare_action_area): Completely hide the dialog separator.
820 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
822 * hildon/hildon-touch-selector-entry.c
823 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
824 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
825 now that the entry is exposed.
827 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
829 * hildon/hildon-touch-selector-entry.c
830 (hildon_touch_selector_entry_init): Change the entry's size
831 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
833 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
835 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
836 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
837 avoid unnecessary scaling.
839 2009-05-27 Alberto Garcia <agarcia@igalia.com>
841 * hildon/hildon-app-menu.c (hildon_app_menu_map):
842 Create grab transfer window before calling parent's map function.
844 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
845 "crushed" button(s) in the top left corner)
847 2009-05-26 Alberto Garcia <agarcia@igalia.com>
849 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
850 Check if the window is already realized when pushing it.
852 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
854 * configure.ac: post release version bump
855 * debian/changelog: post release version bump
857 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
862 * configure.ac: Bump version.
863 * debian/changelog: Updates.
865 2009-05-25 Alberto Garcia <agarcia@igalia.com>
867 * hildon/hildon-app-menu.c: Doc updates.
869 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
871 * hildon/hildon-banner.c: Remove leftover macro.
873 2009-05-25 Alejandro G. Castro <alex@igalia.com>
875 * hildon/hildon-pannable-area.c,
876 (hildon_pannable_area_scroll_indicator_fade),
877 (hildon_pannable_area_button_release_cb): Reviewed vmin
878 conditions, it could cause problems in the fadeout procedure.
880 2009-05-25 Alejandro G. Castro <alex@igalia.com>
882 * hildon/hildon-pannable-area.c
883 (hildon_pannable_area_button_release_cb): Added a threshold to
884 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
886 2009-05-25 Alejandro G. Castro <alex@igalia.com>
888 * hildon/hildon-pannable-area.c,
889 (hildon_pannable_area_set_property): Added code to sync the gtk
890 dnd threshold with the panning threshold.
892 2009-05-25 Alejandro G. Castro <alex@igalia.com>
894 * hildon/hildon-pannable-area.c,
895 (hildon_pannable_area_class_init): Changed some of the default
896 values, now it should be less responsive and more accurate.
898 2009-05-25 Alejandro G. Castro <alex@igalia.com>
900 * hildon/hildon-pannable-area.c,
901 (hildon_pannable_area_init),
902 (hildon_pannable_area_scroll_indicator_fade),
903 (hildon_pannable_area_button_press_cb),
904 (hildon_pannable_axis_scroll),
905 (hildon_pannable_area_timeout),
906 (hildon_pannable_area_motion_notify_cb),
907 (hildon_pannable_area_button_release_cb): Changed the name of the
908 clicked attribute to button_pressed, it is more clear about its use.
910 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
912 * src/hildon-pannable-area.c
913 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
915 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
916 vertical scrollbar visibility, and use the data on private section instead,
917 remove the initial_hint check
918 (hildon_pannable_area_expose_event): add the initial_hint check here
920 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
922 * src/hildon-pannable-area.c
923 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
924 if the fadeout effect was used
925 (hildon_pannable_area_expose_event): check if it is required to
926 manage the initial effect on the begining of the function. Previously
927 it was made at the end, but this doesn't ensure that the scrollbars
928 will be painted on the first show. Do not set to FALSE initial_effect,
929 to ensure that the initial hint is showed the first time the pannable
931 * examples/Makefile.am
932 * examples/hildon-pannable-area-initial-hint-example.c:
933 New example, to show that the initial-hint is showed when the widget
936 Fixes: NB#116607 (Pannable area should always have scrollbar visible
937 initially if the application can be scrolled)
939 2009-05-25 Alberto Garcia <agarcia@igalia.com>
941 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
942 Resize table before adding new items to make sure that
943 gtk_table_resize() is called just once.
945 2009-05-25 Alberto Garcia <agarcia@igalia.com>
947 * hildon/hildon-app-menu-private.h
948 * hildon/hildon-app-menu.c (item_visibility_changed)
949 (filter_visibility_changed, hildon_app_menu_show_all)
950 (hildon_app_menu_hide_all, hildon_app_menu_init):
951 Rearrange items just once when gtk_widget_show_all()/hide_all()
954 2009-05-25 Alberto Garcia <agarcia@igalia.com>
956 * hildon/hildon-app-menu.c
957 (hildon_app_menu_insert, hildon_app_menu_add_filter):
958 Don't call gtk_widget_show() on added items.
960 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
961 automatically when they're added)
963 2009-05-20 Alberto Garcia <agarcia@igalia.com>
965 * hildon/hildon-banner.c
966 (hildon_banner_realize, +hildon_banner_unrealize)
967 (+screen_size_changed, hildon_banner_class_init):
968 Redisplay the banner if the screen is rotated.
970 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
971 on transition from landscape to portrait)
973 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
975 * hildon/hildon-banner.[ch]:
976 (hildon_banner_show_information_override_dnd): remove icon_name from the
977 method definition as it is ignored.
978 * examples/hildon-banner-dnd-example.c: updated with the change on
981 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
983 * hildon/hildon-banner-private.h: new require_override_dnd and
984 overrides_dnd variables
985 * hildon/hildon-banner.h:
986 (hildon_banner_show_information_override_dnd): new method, that shows
987 the information but sets the override flag, in order to show important
989 * hildon/hildon-banner.c
990 (hildon_banner_show_information_override_dnd): new method
991 (hildon_banner_set_override_flag): new utility function
992 (hildon_banner_real_show_information): new utility function, in order to
993 generalize the current hildon_banner_show_information_override_dnd and
994 hildon_banner_show_information_override_dnd
995 * examples/Makefile.am
996 * examples/hildon-banner-dnd-example.c: New example that show how to
997 use the new hildon_banner_show_information_override_dnd
999 Fixes: NB#114874 (There is no possibility to show hildon banners with
1002 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1004 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1005 behind hildon_pannable_calculate_vel_factor().
1007 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1009 * hildon/hildon-pannable-area.c
1010 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1011 deceleration factors.
1013 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1015 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1016 Reduce the default value for 'scroll_time' to 1 second, since the
1017 current initial scrolling takes too much time.
1019 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1021 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1022 calculate velocity factor during initialization, since the properties
1025 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1027 * hildon/hildon-pannable-area.c
1028 (hildon_pannable_area_set_property): Calculate the velocity factor
1029 after setting the deceleration property and not after.
1031 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1033 * hildon/hildon-entry.c
1034 (hildon_entry_class_init, +set_property, hildon_entry_new)
1035 * hildon/hildon-check-button.c
1036 (hildon_check_button_class_init)
1037 (+set_property, hildon_check_button_new):
1038 Make the theme size a property.
1040 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1041 others) do too much in the _new function)
1043 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1045 * configure.ac: post release version bump
1046 * debian/changelog: post release version bump
1048 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1053 * configure.ac: Bump version.
1054 * debian/changelog: Updates.
1056 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1058 * hildon/hildon-gtk.h
1059 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1060 New API function to take a screenshot of a window
1062 Fixes: NB#106374 (Need API to take a loading screenshot)
1064 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1066 * hildon/hildon-time-selector.c
1067 (update_format_policy): prevent to use hours and minutes unitialized
1069 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-window.c (hildon_window_size_request):
1072 Always request the full size of the screen (minus the title bar if
1073 not in fullscreen mode).
1075 Fixes: NB#107486 (HildonWindow should size itself properly)
1077 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1079 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1080 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1081 (on_show_cb), (sound_handling): Disconnect the idle handler for
1082 the sound when the note is finalized to avoid possible crashes.
1084 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1087 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1089 * src/hildon-animation-actor.c,
1090 * src/hildon-remote-texture.c:
1091 Added proper object cleanup to remove signal handler and object
1092 references as HildonAnimationActor and HildonRemoteTexture
1093 objects get destroyed.
1095 Fixes: NB#116682 (Destroying parented animation actors when
1096 parent in unmapped leads to crash)
1098 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1100 Based on a patch by Christian Dywan (christian@imendio.com)
1102 * doc/hildon-sections.txt:
1103 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1104 * hildon/hildon-helper.h: New file size formatting method.
1106 * debian/control: Depend on osso-filemanager l10n package for
1107 proper localization strings.
1109 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1111 * tests/Makefile.am: Include top_srcdir to make possible to build
1112 tests in a different builddir.
1113 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1114 on a different builddir.
1116 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1118 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1119 (hildon_touch_selector_remove): Disconnect model's signal handler
1122 Fixes: NB#116289 (Hildon home crashes while adding task
1125 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1127 * hildon/hildon-button.c
1128 (hildon_button_set_title, hildon_button_set_value):
1129 Hide labels containing an empty string.
1131 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: post release version bump
1134 * debian/changelog: post release version bump
1136 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1141 * configure.ac: Bump version.
1142 * debian/changelog: Updates.
1144 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1146 * hildon/hildon-note-private.h: Removed sound_signal_handler
1147 * hildon/hildon-note.c
1148 (on_show_cb): new callback on note "show" event, this simply adds
1149 a idle, with the function sound_handling
1150 (sound_handling): removed the sound_signal_handler management
1151 (hildon_note_init): connect note "show" event to on_show_cb
1152 (hildon_note_realize): remove the connection to "expose-event"
1154 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1155 device?' confirmation note)
1157 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1159 * hildon/hildon-note.c
1160 (hildon_note_new_information_with_icon_name)
1161 (hildon_note_new_confirmation_with_icon_name):
1162 Terminate the list of parameters in g_object_set() calls
1164 Fixes: NB#115166 (Formatting memory card is not taking place)
1166 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1168 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1169 "dialog-information" role for the sound being played.
1171 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1173 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1174 Don't make the menu a modal window, it causes strange interactions
1175 with the pointer grab and it's not really needed.
1177 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1179 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1181 * hildon/hildon-touch-selector.[ch]
1182 (hildon_touch_selector_optimal_size_request): function added to get a
1183 optimal size request from the touch selector, when you want a dialog to
1184 show as much of the selector
1185 * hildon/hildon-picker-dialog.c:
1186 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1187 (hildon_app_menu_class_init):
1188 New "max-height-landscape" and "max-height-portrait" style properties
1189 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1190 (hildon_picker_dialog_get_max_height): returns the maximum height using
1191 the style properties defined and checking the current portrait/landscape
1193 (_hildon_picker_dialog_set_selector): removed the set_size_request
1195 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1197 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1199 * hildon/hildon-bread-crumb-trail.c:
1200 * hildon/hildon-bread-crumb.c:
1201 * hildon/hildon-seekbar.c:
1202 Add reference to replacements for these deprecated widgets.
1204 Fixes: MB#4461 (Documentation: All deprecations should mention
1207 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1209 * examples/hildon-remote-texture-example.c
1211 Change the include to the hildon-remote-texture in order to compile
1212 properly the examples on the installed libhildon1-examples package
1214 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1216 * tests/Makefile.am: Add check for HildonPickerButton.
1217 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1218 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1219 checks for the HildonPickerButton.
1220 * tests/check_test.c (configure_tests): Add the test suite.
1221 * tests/test_suites.h: likewise.
1223 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1225 * hildon/hildon-touch-selector.c
1226 (+on_row_changed): Emit HildonTouchSelector:changed when the
1227 contents of a selected row change.
1228 (_create_new_column), (_hildon_touch_selector_set_model): connect
1229 to GtkTreeModel:row-changed on a newly set model.
1231 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1233 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1235 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1237 * hildon/hildon-banner.c (hildon_banner_destroy)
1238 (hildon_banner_show_progress, hildon_banner_set_fraction):
1239 Remove the progress bar from HildonBanner and use a progress
1242 Fixes: NB#113761 (Update progress banner to use progress
1245 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1247 * hildon/hildon-banner.c:
1248 Calculate size of the banner label using the actual screen width
1249 rather than using a fixed value.
1251 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1254 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1256 * hildon/hildon-pannable-area.c,
1257 (hildon_pannable_area_class_init): Fixed signals documentation
1260 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1262 * configure.ac: post release version bump
1263 * debian/changelog: post release version bump
1265 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1270 * configure.ac: Bump version.
1271 * debian/changelog: Updates.
1273 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1275 * hildon/hildon-edit-toolbar.c
1276 (hildon_edit_toolbar_init):
1277 Don't let buttons in HildonEditToolbar receive focus.
1279 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1280 typing on an HW arrows key)
1282 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1284 * doc/Makefile.am: Fix build.
1286 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1288 * doc/Makefile.am: Do not redefine content_files.
1290 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1298 Renamed src/ to hildon/
1303 Include <hildon/hildon.h> directly in all examples.
1305 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1307 * src/hildon-sort-dialog.c
1308 (hildon_sort_dialog_add_sort_key_with_sorting)
1312 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1314 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1315 make distcheck passes.
1317 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1319 * Makefile.am: Enable gtk-doc during distcheck.
1321 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1323 * Makefile.am: Do not distribute the debian/ directory.
1325 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1327 * doc/Makefile.am: Add the extra SGML files to content_files,
1328 so that they are distributed properly.
1330 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1335 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1337 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1338 (hildon_note_new_information_with_icon_name): Set the "icon" property
1339 to preserve soundness.
1341 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/hildon-font-selection-dialog.c
1344 (hildon_font_selection_dialog_set_property): Fail when the "family"
1345 property is set to NULL.
1347 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1349 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1352 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1354 * src/hildon-time-selector.h:
1355 Added HildonTimeSelectorFormatPolicy
1356 * src/hildon-time-selector.c:
1357 Added PROP_TIME_FORMAT_POLICY
1358 (_check_ampm_format): renamed to check_automatic_ampm_format
1359 (update_format_policy), (update_format_dependant_columns): new functions
1360 (hildon_time_selector_class_init)
1361 (hildon_time_selector_contructor)
1362 (hildon_time_selector_init)
1363 (hildon_time_selector_get_property)
1364 (hildon_time_selector_set_property)
1365 (hildon_time_selector_get_time)
1366 (hildon_time_selector_set_time)
1367 * src/hildon-touch-selector.h: new file
1368 * src/hildon-touch-selector.c
1369 (hildon_touch_selector_emit_changed)
1370 (hildon_touch_selector_block_changed)
1371 (hildon_touch_selector_unblock_changed)
1372 Added functions to allow to block the emission of the "changed" signal
1373 * src/hildon-picker-dialog.c
1374 (hildon_picker_dialog_show): call the parent show before the custom code
1375 * examples/hildon-time-button-example.c
1376 Modified, so now you can configure the time format using the new property
1378 Added a new property "time-format-policy" that allow to choose the time
1379 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1380 case it uses gconf in order to check if the time selector must use
1383 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1386 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1388 * src/hildon-note.c (hildon_note_init):
1389 Label in HildonNote must be left aligned, not centered. This
1390 reverts the last commit in HildonNote.
1392 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1393 is connectivity dialog)
1395 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1400 * doc/hildon-sections.txt:
1401 Added hildon_gtk_window_set_do_not_disturb()
1403 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-note.c (hildon_note_init): Center label.
1407 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1410 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1415 * configure.ac: Bump version.
1416 * debian/changelog: Updates.
1418 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-note-private.h: Add button-width to the private data.
1421 * src/hildon-note.c (+resize_button),
1422 (+hildon_note_orientation_update): methods to repack widgets on orientation
1424 (screen_size_changed): Call above method for confirmation notes.
1425 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1426 (hildon_note_rebuild): Store the original width request from buttons.
1428 Fixes: NB#109635 (Confirmation notes do not support portrait)
1430 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1433 when it is a progress note.
1435 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1437 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1438 in the note, since there are no horizontally arranged contents.
1440 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-gtk.c (+set_flag): new generic method to
1443 set/delay a flag setting in a window.
1444 (hildon_gtk_window_set_progress_indicator):
1445 (hildon_gtk_window_set_do_not_disturb),
1446 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1447 avoid code redundance.
1449 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1451 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1453 * src/hildon-gtk.c (set_clear_window_flag),
1454 (do_set_progress_indicator), (do_set_do_not_disturb),
1455 (do_set_portrait_flags),
1456 (hildon_gtk_window_set_progress_indicator),
1457 (hildon_gtk_window_set_do_not_disturb),
1458 (hildon_gtk_window_set_portrait_flags):
1459 Allow setting dnd-flag, progress indicator, and portrait flags
1460 when the window is not realized.
1462 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1464 * src/hildon-pannable-area.c,
1465 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1466 the size request policy function and defines.
1468 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1470 * doc/hildon-sections.txt: Add the new API.
1471 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1472 method to set the portrait flags.
1473 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1475 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1477 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1480 to allow using this method with other flags.
1481 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1482 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1484 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1486 * src/hildon-touch-selector.c
1487 (hildon_touch_selector_append_text_column):
1488 Make the cell renderer use the smallest width possible.
1490 Fixes: NB#108470 (Selected items in multiple selection are either
1491 having a tick that is cut or not visible at all.)
1493 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-touch-selector.c
1496 (hildon_touch_selector_append_text_column):
1499 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1502 Use g_strdup_printf() instead of a fixed size buffer.
1504 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1507 Close banners when a HildonAppMenu is popped up.
1509 Fixes: NB#111027 (Title menu closed immediately if activated when
1510 "Invalid e-mail address" banner is shown)
1512 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1517 * configure.ac: Bump version.
1518 * debian/changelog: Updates.
1520 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1522 * src/hildon-banner.c (hildon_banner_realize):
1523 Mark HildonBanner as supporting portrait mode.
1524 Use GDK to set window properties insetad of direct Xlib calls.
1526 Fixes: NB#111830 (HildonBanner should be marked as supporting
1529 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-note.c (hildon_note_rebuild):
1532 Hide action area in information notes. Prevents text from being
1533 slightly aligned to the left.
1535 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1538 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1540 Patch by Mox Soini (ext-mox.soini@nokia.com)
1542 * src/hildon-banner.c (hildon_banner_create_animation):
1543 Use stylus-sized icons in animation banner.
1545 Fixes: NB#111206 (stylus sized icon for animation banner)
1547 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1551 (+hildon_gtk_window_set_do_not_disturb):
1552 New API to set the do-not-disturb flag.
1554 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1556 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1558 * examples/hildon-progress-indicator-example.c: Fix example
1560 * src/hildon-gtk.c (set_clear_window_flag)
1561 (hildon_gtk_window_set_progress_indicator):
1562 Create a generic function for setting flags to a window.
1563 Use GDK instead of direct Xlib calls.
1565 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-button.c (hildon_button_set_arrangement):
1568 Due to NB#88126, if one of the labels is too long it will be
1569 painted outside the button. The 'value' label is more likely to be
1570 the longest one, so we change its packing options in order to
1571 truncate it if necessary. As a side effect, the 'title' label will
1572 no longer be truncated.
1574 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1576 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1581 * configure.ac: Bump version.
1582 * debian/changelog: Updates.
1584 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1586 Deprecation of the hildon_pannable_area_set_size_request_policy
1587 API, the only policy properly supported in gtk+ nowadays is the
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_size_request): Added a workaround for the
1592 size_request to avoid the problems of huge pixmaps in case someone
1593 is still using the function.
1594 * src/hildon-pannable-area.h: Deprecated the enum with the
1597 Fixes: NB#110244 (Problems with the
1598 hildon_pannable_area_set_size_request_policy API)
1600 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1602 * src/hildon-pannable-area.c,
1603 (hildon_pannable_area_init),
1604 (hildon_pannable_area_size_request),
1605 (hildon_pannable_area_style_set),
1606 (hildon_pannable_draw_vscroll),
1607 (hildon_pannable_draw_hscroll),
1608 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1609 indicator_width to clarify the use of the attribute.
1611 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1616 * configure.ac: Bump version.
1617 * debian/changelog: Updates.
1619 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1621 * src/hildon-picker-dialog.c
1622 * src/hildon-touch-selector.c
1623 Reverting the change that tried to avoid the hardcoded height on
1624 the picker dialog, as causes problems on the hildon-touch-selector
1627 Fixes: NB#110029 (selectors not scrolling to selected value)
1629 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1631 * src/hildon-touch-selector.c: Fix typos
1633 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1635 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1636 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1637 request more motions after using it.
1639 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-calendar.c (hildon_calendar_expose),
1642 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1643 Remove unused variables.
1645 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1647 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1648 variable assignment.
1650 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1653 Check the return value of gtk_tree_selection_get_selected()
1656 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-animation-actor.c
1659 * src/hildon-button.c
1661 * src/hildon-pannable-area.c
1662 * src/hildon-picker-button.c
1663 * src/hildon-program.c
1664 * src/hildon-remote-texture.c
1665 * src/hildon-text-view.c
1666 * src/hildon-touch-selector.c
1667 * src/hildon-window-stack.c
1668 * src/hildon-window.c:
1669 Add missing 'Since: 2.2' tags.
1671 * doc/hildon-sections.txt:
1672 Add some missing symbols.
1674 * doc/hildon-docs.sgml:
1675 New 'Other' section for HildonAnimationActor and
1678 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1680 Patch by Iván Gómez (igomez@igalia.com)
1683 * doc/compiling.sgml
1684 * doc/hildon-docs.sgml
1685 * doc/hildon-sections.txt
1686 * doc/migration.sgml
1687 * doc/resources.sgml
1689 New chapters on using the Hildon library.
1690 Updated the general structure of the reference manual.
1691 Other minor documentation fixes.
1693 * src/hildon-calendar-popup.c
1694 * src/hildon-calendar.c
1695 * src/hildon-controlbar.c
1696 * src/hildon-date-editor.c
1697 * src/hildon-dialog.c
1698 * src/hildon-hvolumebar.c
1699 * src/hildon-number-editor.c
1700 * src/hildon-range-editor.c
1701 * src/hildon-sort-dialog.c
1702 * src/hildon-time-editor.c
1703 * src/hildon-time-picker.c
1704 * src/hildon-volumebar-range.c
1705 * src/hildon-volumebar.c
1706 * src/hildon-vvolumebar.c
1707 * src/hildon-weekday-picker.c:
1708 Add deprecation notes
1710 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1711 Document 'horizontal-movement' and 'vertical-movement' signals.
1713 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1718 * configure.ac: Bump version.
1719 * debian/changelog: Updates.
1721 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1723 * src/hildon-pannable-area.c,
1724 (hildon_pannable_area_class_init): increased the minimum velocity.
1725 (hildon_pannable_area_button_release_cb): Updated the
1726 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1727 setup. Review the code to control that last event.
1729 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1732 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1734 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1736 * src/hildon-get-password-dialog.c
1737 (hildon_get_password_set_property),
1738 (hildon_get_password_get_property), (create_contents):
1739 * src/hildon-login-dialog-private.h:
1740 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1741 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1742 (hildon_login_dialog_get_password):
1743 * src/hildon-set-password-dialog-private.h:
1744 * src/hildon-set-password-dialog.c
1745 (hildon_set_password_set_property),
1746 (hildon_set_password_get_property), (create_contents),
1747 (hildon_set_password_response_change),
1748 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1750 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1751 instead and look more Fremantle style.
1753 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1755 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1757 * doc/hildon-sections.txt
1758 * src/hildon-window-stack.h
1759 * src/hildon-window-stack.c
1760 (+hildon_window_stack_get_windows):
1761 New API to obtain the list of windows on a stack.
1763 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-app-menu.c (hildon_app_menu_popup)
1766 (hildon_app_menu_class_init, -hildon_app_menu_show):
1767 Remove hildon_app_menu_show() and move all its checks to
1768 hildon_app_menu_popup()
1770 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1772 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1773 (_hildon_picker_dialog_set_selector): removed call to
1774 gtk_widget_set_size_request
1775 * src/hildon-touch-selector.c
1776 (_create_new_column): change the pannable size request policy
1778 Avoid to use a hardcoded height for the hildon picker dialog. In order
1779 to get that, we needed to change the hildon pannable size request
1781 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1783 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1786 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1789 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1791 * debian/control: Depend on osso-system-lock localization package.
1792 * src/hildon-code-dialog.c: Obtain the secu_application_title
1793 translation from osso-system-lock.
1794 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1795 for translation the atk related strings, that's not necessary.
1796 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1797 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1798 cancel button, it is not required.
1800 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1802 * src/hildon-pannable-area.c,
1803 (hildon_pannable_area_class_init): Modified the default value of
1804 the overshooting max speed, we have reduced it.
1806 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1808 * doc/hildon-sections.txt
1809 * src/hildon-window-private.h
1810 * src/hildon-window.h
1811 * src/hildon-window.c (hildon_window_class_init)
1812 (hildon_window_init, hildon_window_finalize)
1813 (hildon_window_realize, hildon_window_get_property)
1814 (hildon_window_set_property, hildon_window_update_markup)
1815 (hildon_window_get_markup, hildon_window_set_markup):
1816 New "markup" property and hildon_window_{get,set}_markup() methods.
1818 * examples/hildon-stackable-window-example.c (new_window):
1819 Update example to use hildon_window_set_markup()
1821 Fixes: NB#106375 (Need API to retitle a window with a title
1824 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1826 * src/hildon-pannable-area.c,
1827 (hildon_pannable_area_class_init): Changed the default value of
1828 the initial_hint to TRUE.
1829 (hildon_pannable_area_initial_effect): Changed the initial effect,
1830 not the effect is just the fade-out of the scrollbars.
1832 Fixes: NB#107775 (No scrollbars can be seen when several items are
1833 available in a dialog)
1835 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-program.c (hildon_program_update_top_most):
1840 Fixes: NB#109179 (Memory leak in Hildon program)
1842 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-banner.c (-get_current_app_window):
1845 Remove unused function.
1847 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1849 * src/hildon-pannable-area.c: Modified the documentation of the
1850 get adjustments functions to explain the problem of using the
1851 adjustment directly.
1852 (hildon_pannable_area_class_init): Improved the explanation about
1855 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-app-menu-private.h
1858 * src/hildon-app-menu.c
1859 (hildon_app_menu_class_init):
1860 Bring back the 'external-border' style property
1861 (hildon_app_menu_class_init, hildon_app_menu_init)
1862 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1863 Set a fixed width-request for the menu, independent of the number
1866 Fixes: NB#94957 (Smoothly opened application menu)
1868 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1872 * src/hildon-banner.c
1873 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1875 Make sure that the banner is correctly placed the first time it's
1877 (hildon_banner_check_position, -check_fullscreen_state):
1878 Show the banner in the same place no matter if the window is in
1879 fullscreen mode or not.
1881 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1883 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-touch-selector.c (_default_print_func): reorder
1886 concatenation for clarity.
1888 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1891 for multicolumn selectors.
1893 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1895 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1900 * configure.ac: Bump version.
1901 * debian/changelog: Updates.
1903 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1905 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1908 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1910 * configure.ac: removed libcangerra-gtk dependency
1911 * debian/control: removed libcanberra-gtk dependency
1912 * src/Makefile.am: removed libcanberra gtk related flags
1913 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1914 context, and manage a global canberra context instead
1916 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1918 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1920 Patch by Daniel Borgmann (danielb@openismus.com)
1922 * src/hildon-edit-toolbar.c:
1923 Adjust the left padding.
1924 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1925 Paint background of the edit toolbar.
1927 Fixes: NB#107897 (Patch to make editmodetoolbar background
1928 themeable and adjust margin)
1930 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1932 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1934 * src/hildon-program.c (hildon_program_update_top_most):
1935 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1937 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1938 change when the user tasks in/out of an application)
1940 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1942 * configure.ac: added libcangerra-gtk dependency
1943 * debian/control: added libcanberra-gtk dependency
1944 * src/Makefile.am: added libcanberra gtk related flags
1945 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1948 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1950 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-program.c (hildon_program_remove_window)
1953 (hildon_program_add_window): Add checks for the window
1954 parameter. Don't decrease the window counter if the window is not
1957 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1959 * src/hildon-pannable-area.c,
1960 (hildon_pannable_area_realize): Fixed position of the event_window
1961 in the realize method.
1963 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-app-menu-private.h
1966 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1967 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1968 (hildon_app_menu_key_press, hildon_app_menu_init)
1969 (hildon_app_menu_finalize):
1970 Make sure that all idle functions are removed when the widget is
1973 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1975 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-entry.c
1986 (+hildon_entry_show_placeholder),
1987 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1988 that replace hildon_entry_update_contents().
1989 (hildon_entry_set_text),
1990 (hildon_entry_set_placeholder),
1991 (hildon_entry_focus_in_event),
1992 (hildon_entry_focus_out_event): Determine when it is needed
1993 either to show or hide the placeholder and call the above methods.
1995 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1996 when the placeholder text is already set)
1998 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2000 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2001 simple GdkPixbufAnim using the new icons for the banner.
2002 (hildon_banner_show_animation): Use the above mentioned method to
2003 create the animation widget.
2005 Fixes: NB#103564 (Make hildon animation banner use individual
2006 image files as the animation)
2008 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2010 * src/hildon-pannable-area.c,
2011 (hildon_pannable_leave_notify_event): Check if the child is NULL
2012 to avoid sending the leave.
2014 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2016 * src/hildon-pannable-area.c,
2017 (hildon_pannable_area_class_init),
2018 (hildon_pannable_leave_notify_event): Added a handler of the
2019 leave-notify-signal to consider when no motion notify before
2022 Fixes: NB#107494 (Items stay selected when clicking and moving
2023 away when inside pannable area)
2025 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: Bump version.
2031 * debian/changelog: Updates.
2033 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2035 Patch by Alberto Garcia (agarcia@igalia.com)
2037 * src/hildon-date-button.c,
2038 (hildon_date_button_class_init),
2039 (hildon_date_button_init): Removed the construct property handling
2040 and created a default selector in the init method.
2041 * src/hildon-picker-button.c,
2042 (hildon_picker_button_class_init): Removed the construct flag of the
2045 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-main.c (hildon_init):
2048 Don't allow hildon_init() to be called more than once.
2050 Fixes: NB#106607 (hildon_init should issue error message upon
2053 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2055 * examples/hildon-pannable-area-touch-list-example.c
2056 * examples/hildon-pannagle-area-touch-grid-example.c
2057 * examples/hildon-edit-toolbar-example.c
2058 * examples/hildon-touch-selector-multi-cells-example.c
2059 Removed the call to gtk_rc_parse_string, as it is not required since
2062 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2064 * src/hildon-pannable-area.c,
2065 (hildon_pannable_area_class_init): Modified the default panning
2066 threshold of the widget to 6px.
2068 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2069 than the threshold value ) within the button is not sending the
2072 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2075 for the treeview in the new column. This way, the touch list will never
2078 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2079 be selected manually for the HW keys to work)
2081 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2084 comparison instead of using strcmp(). Fixes a compiler warning as well.
2086 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2088 * doc/hildon-docs.sgml: Do not set the library version in the
2089 document title, use the releaseinfo tag for that purpose instead.
2091 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2094 Do not jump to the first item if the text in the entry is removed.
2096 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2101 * configure.ac: Bump version.
2102 * debian/changelog: Updates.
2104 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-entry.c (hildon_entry_refresh_contents):
2107 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2108 Use "ReversedSecondaryTextColor" for the placeholder text.
2110 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-text-view.c: Fix compilation warning.
2114 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-button.c (hildon_button_class_init): Don't make
2117 "title" and "value" construction properties, to prevent them from
2118 overwriting labels set from derived classes.
2120 * src/hildon-picker-button.c
2121 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2122 (hildon_picker_button_class_init): Make touch-selector a
2123 construction property.
2125 * src/hildon-date-button.c (hildon_date_button_class_init)
2126 (+hildon_date_button_constructed): Add a default date selector if
2129 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-touch-selector.c: Small documentation fixes.
2133 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2135 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2137 * src/hildon-entry.c (hildon_entry_refresh_contents),
2138 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2139 widget name, set the logical color directly instead and a boolean
2140 showing_placeholder instead.
2141 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2142 use the widget name here either.
2144 Fixes: NB#105678 (HildonTextView should use logical colours
2145 instead of setting widget name)
2147 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2149 Patch by Daniel Elster (danielk@openismus.com)
2151 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2152 Add user_data parameter.
2153 (hildon_touch_selector_set_print_func_full): New function akin
2154 hildon_touch_selector_set_print_func() but with support for user
2155 data and a destroy callback.
2156 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2157 to clean up the print function user data.
2158 (hildon_touch_selector_class_init): Install dispose function.
2159 (HildonTouchSelectorPrivate::print_user_data),
2160 (HildonTouchSelectorPrivate::print_destroy_func): New private
2162 (hildon_touch_selector_init): Initialize new private members.
2163 (hildon_touch_selector_get_current_text): Pass along user data
2164 to the print function.
2165 (_default_print_func): Add dummy user_data to parameter list.
2166 * hildon-date-selector.c (_custom_print_func): ditto,
2167 * hildon-time-selector.c (_custom_print_func): ditto,
2168 * hildon-touch-selector-entry.c
2169 (hildon_touch_selector_entry_print_func): ditto.
2171 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2173 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2175 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2177 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_init),
2181 (hildon_pannable_area_button_press_cb),
2182 (hildon_pannable_area_motion_notify_cb): We have added code to
2183 handle the leave and enter events when using the motion events.
2185 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2187 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-date-button.c (hildon_date_button_get_date)
2190 (hildon_date_button_set_date): Make sure that the button has a
2193 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2195 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2197 * src/hildon-pannable-area.c,
2198 (hildon_pannable_area_class_init),
2199 (hildon_pannable_area_calculate_velocity): Modify the use of the
2200 force and adapt the value.
2202 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2205 (hildon_app_menu_class_init): Hide the menu if it receives a
2206 delete-event, but don't destroy it
2208 Fixes: NB#104485 (Not able to address the call when application
2209 menu is opened at background)
2211 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-app-menu.c
2214 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2215 Remove the "external-border" style property, let the menu take its
2216 natural size (or the one set by the window manager)
2217 (hildon_app_menu_repack_items):
2218 Don't reshow the menu, avoid flickers.
2220 Partially fixes NB#94957 (Smoothly opened application menu)
2222 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2227 * configure.ac: Bump version.
2228 * debian/changelog: Updates.
2230 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-pannable-area.c,
2233 (hildon_pannable_area_motion_notify_cb): We control that the
2234 direction error margin is used just in case the movement is
2235 allowed in the other direction.
2237 Fixes: NB#105012 (buttons inside a pannable area not getting
2238 release event when dragging/releasing)
2240 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c,
2243 (hildon_pannable_area_class_init),
2244 (hildon_pannable_area_get_property),
2245 (hildon_pannable_area_set_property),
2246 (hildon_pannable_area_initial_effect),
2247 (hildon_pannable_axis_scroll),
2248 (hildon_pannable_area_button_release_cb): Reviewed the
2249 overshooting effect, now it has its own max
2250 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2251 speed when bouncing.
2253 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2258 * configure.ac: Bump version.
2259 * debian/changelog: Updates.
2261 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2263 * src/hildon-pannable-area.c,
2264 (hildon_pannable_area_class_init): Changed the max speed, now
2265 users can launch the widget very fast. Reduced the default force,
2266 that way it is easier to control the launch speed.
2268 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2270 * src/hildon-pannable-area.c,
2271 (hildon_pannable_area_button_release_cb): Removed this check
2272 because it causes problems when the device is overloaded.
2274 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2277 add a current_text field to store the text entered in the
2278 touch selector entry.
2279 (_clean_current_selection): clean up the current text as well.
2280 (_save_current_selection), (_restore_current_selection):
2281 Save/restore the text in the entry if the selector is a
2282 HildonTouchSelectorEntry.
2284 Fixes: NB#102541 (value entered in the touch selector entry is not
2285 shown when opened for second time)
2287 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2289 * doc/hildon-sections.txt:
2290 * src/hildon-touch-selector-entry.c
2291 (+hildon_touch_selector_entry_get_entry):
2292 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2294 Fixes: NB#104815 (I need accessor to the entry inside
2295 HildonTouchSelectorEntry)
2297 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2300 (hildon_app_menu_class_init):
2301 New "filter-vertical-spacing" style property.
2303 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-find-toolbar.c
2306 (hildon_find_toolbar_emit_close)
2307 (hildon_find_toolbar_emit_invalid_input)
2308 (hildon_find_toolbar_entry_activate):
2309 Use g_signal_emit() instead of g_signal_emit_by_name()
2311 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2313 Patch by Mox Soini (ext-mox.soini@nokia.com)
2315 * tests/TEST-CASES.txt
2316 * tests/check-hildon-banner.c
2317 * tests/check-hildon-note.c
2318 * src/hildon-banner.c
2319 * src/hildon-code-dialog.c
2320 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2321 * src/hildon-time-editor.c
2322 * examples/hildon-lookup-example.c (main):
2323 Replace obsolete icon names with new ones.
2325 * src/hildon-find-toolbar-private.h:
2326 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2327 (-hildon_find_toolbar_emit_search):
2328 Remove find button and change icon of close button.
2330 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2332 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-time-button.c (hildon_time_button_new_step):
2335 Use the "touch-selector" property to set the selector directly
2336 when creating the object.
2338 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2340 Added a new example application that allows tuning the pannable
2341 area and replaced defines with properties in order to simplify the
2342 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2343 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2344 PROP_DIRECTION_ERROR_MARGIN.
2346 * examples/hildon-pannable-area-tuning-example.c: New example
2348 * src/hildon-pannable-area.c,
2349 (hildon_pannable_area_class_init),
2350 (hildon_pannable_area_init),
2351 (hildon_pannable_area_get_property),
2352 (hildon_pannable_area_set_property),
2353 (hildon_pannable_area_launch_fade_timeout),
2354 (hildon_pannable_area_adjust_value_changed),
2355 (hildon_pannable_axis_scroll),
2356 (hildon_pannable_area_motion_notify_cb),
2357 (hildon_pannable_area_scroll_cb),
2358 (hildon_pannable_area_button_release_cb): We have converted some
2359 of the defines that control the widget to properties to simplify
2362 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2364 * src/hildon-app-menu.c (hildon_app_menu_map)
2365 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2366 so it's closed if a new window appears.
2368 Fixes: NB#104485 (Not able to address the call when application
2369 menu is opened at background)
2371 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2373 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2374 missing 'break' statement in in 'case' construct to avoid
2377 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2379 * src/hildon-touch-selector-entry.c
2380 (hildon_touch_selector_entry_get_property),
2381 (hildon_touch_selector_entry_set_property): Add missing 'break'
2382 statements in in 'case' constructs to avoid incorrect warnings.
2384 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-time-editor.c
2387 (hildon_time_editor_get_time_separators): Do not crash if
2388 the first label is NULL.
2390 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-date-selector.c (_month_days): Check for month to be
2393 strictly less than 12, since otherwise we may overrun the array.
2395 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-date-button.c (+hildon_date_button_new_full)
2398 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2399 (hildon_date_button_init): Set the date selector using a
2400 construction property, to make it happen after HildonButton's
2401 "value" property is set.
2403 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2404 current date by default)
2406 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2408 * doc/hildon-sections.txt
2409 * src/hildon-program.c
2410 * src/hildon-stackable-window.c
2411 * src/hildon-window.c:
2412 Documentation updates
2414 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2416 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2417 (hildon_window_stack_new, +hildon_window_stack_set_property)
2418 (+hildon_window_stack_get_property)
2419 (hildon_window_stack_class_init)
2420 (+hildon_window_stack_set_window_group)
2421 (+hildon_window_stack_get_window_group):
2422 Make the window group a construction property.
2424 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2426 * doc/hildon-sections.txt
2427 * src/hildon-stackable-window-private.h
2428 * src/hildon-stackable-window.h
2429 * src/hildon-stackable-window.c
2430 (-hildon_stackable_window_set_app_menu)
2431 (-hildon_stackable_window_get_app_menu)
2432 (-hildon_stackable_window_toggle_menu)
2433 (-hildon_stackable_window_finalize)
2434 (hildon_stackable_window_class_init)
2435 (hildon_stackable_window_init)
2436 * src/hildon-window-private.h
2437 * src/hildon-window.h
2438 * src/hildon-window.c (hildon_window_init)
2439 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2440 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2441 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2442 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2443 Moved all HildonAppMenu code to HildonWindow. The menu does not
2444 require a HildonStackableWindow anymore.
2446 * src/hildon-app-menu.c
2447 * src/hildon-program.c
2448 * examples/hildon-app-menu-example.c (main):
2449 Update examples and documentation to reflect HildonAppMenu
2452 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-remote-texture.c
2455 * src/hildon-animation-actor.c:
2456 Don't include unused private headers.
2458 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-program-private.h
2461 * src/hildon-program.c
2462 (hildon_program_set_common_menu)
2463 (hildon_program_get_common_menu)
2464 (hildon_program_set_common_app_menu)
2465 (hildon_program_get_common_app_menu):
2466 Change common menu pointers from GtkWidget* to GtkMenu* and
2467 HildonAppMenu* to avoid unnecessary casts.
2469 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-window.c (hildon_window_set_main_menu):
2472 Removed incorrect 'Since:' tag
2474 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2476 * src/hildon-pannable-area.c,
2477 (hildon_pannable_area_calculate_velocity): We use now the
2478 RATIO_TOLERANCE here to check the distance, fixed typo in the
2480 (hildon_pannable_area_motion_notify_cb): We have to set the type
2481 and time even if we are not sending the motion.
2483 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2485 * doc/hildon-sections.txt
2486 * src/hildon-app-menu.h
2487 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2488 (+hildon_app_menu_get_filters): New methods to get the contents of
2491 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2494 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-app-menu.c (hildon_app_menu_popup):
2499 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-window.h
2502 * src/hildon-window.c (+hildon_window_get_main_menu)
2503 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2504 and deprecated hildon_window_get_menu().
2506 * src/hildon-stackable-window.h
2507 * src/hildon-stackable-window.c
2508 (+hildon_stackable_window_set_app_menu)
2509 (+hildon_stackable_window_get_app_menu)
2510 (hildon_stackable_window_set_main_menu): Created
2511 hildon_stackable_window_{get,set}_app_menu() and deprecated
2512 hildon_stackable_window_set_main_menu().
2514 * doc/hildon-sections.txt
2515 * examples/hildon-app-menu-example.c (main)
2516 * src/hildon-app-menu.c
2517 * src/hildon-program.c:
2518 Updated examples and documentation.
2520 Fixes: NB#103758 (No way to obtain a menu from a
2521 HildonStackableWindow)
2523 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2528 * configure.ac: Bump version.
2529 * debian/changelog: Updates.
2531 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2533 * examples/hildon-remote-texture-example.c: Include
2534 hildon-remote-texture.h explicitely.
2535 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2536 applications not defining _XOPEN_SOURCE which don't require this header.
2538 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2540 * doc/hildon-sections.txt
2541 * src/hildon-app-menu.h
2542 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2543 New function to pop up a HildonAppMenu
2545 * src/hildon-stackable-window.c
2546 (hildon_stackable_window_toggle_menu):
2547 Use hildon_app_menu_popup() to show the menu.
2549 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-app-menu.c (hildon_app_menu_show)
2552 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2553 menu if there's another window between it and its parent window.
2555 Fixes: NB#100468 (Application menu window is launched even when a
2556 new secondary-window/dialog is pending to be shown/realized)
2558 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-window-stack.c (hildon_window_stack_push)
2561 (hildon_window_stack_pop_and_push):
2562 Don't forget to push/pop the first window.
2563 Reverse the window list before calling _push_list()
2565 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-picker-button.h
2568 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2569 Remove "value_changed" slot to avoid ABI breakage
2571 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_realize),
2575 (hildon_pannable_area_unrealize),
2576 (hildon_pannable_draw_vscroll),
2577 (hildon_pannable_draw_hscroll): Changed the method to handle the
2578 GC used to draw the transparent scrollbar, this way we avoid
2579 creating the GC all the time when drawing the scrollbars.
2581 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2583 * src/hildon-pannable-area.c,
2584 (hildon_pannable_area_init),
2585 (hildon_pannable_area_remove): Removed some unnecessary casts.
2586 (hildon_pannable_area_dispose): Disconnected some signals before
2587 releasing the adjustments.
2589 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2592 Make sure that all widgets contained in the toolbar are shown.
2594 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2596 * doc/hildon-sections.txt
2597 * src/hildon-picker-button.h
2598 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2599 (_selection_changed, hildon_picker_button_on_dialog_response)
2600 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2601 New hildon_picker_button_value_changed() method.
2604 * src/hildon-picker-button-private.h
2605 * src/hildon-picker-button.c (hildon_picker_button_init)
2606 (+hildon_picker_button_disable_value_changed): Add protected
2607 function for disabling the "value-changed" signal.
2609 * src/hildon-date-button.c (hildon_date_button_set_date):
2610 Don't emit "value-changed" for each one of the three columns.
2612 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2613 before actual change of values)
2615 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2619 for the treeview overshooting.
2621 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-banner.c (+hildon_banner_bind_style):
2624 Renamed from hildon_banner_bind_label_style(), now naming the
2625 banner itself as well.
2626 (hildon_banner_show_information),
2627 (hildon_banner_show_information_with_markup),
2628 (hildon_banner_show_animation), (hildon_banner_show_progress):
2629 Name the widgets and labels, based on their type.
2631 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2634 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-note.c (hildon_note_set_property): call
2637 hildon_note_rename() on HildonNote:note-type set.
2638 (hildon_note_rename): Name the note and its label, based on the
2639 HildonNote:note-type property.
2641 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2644 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2646 * src/hildon-pannable-area.c,
2647 (hildon_pannable_area_class_init),
2648 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2649 panning parameters, increased SPS and deceleration factor. Added
2650 also a margin to control fake directions.
2652 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2654 Patch by Sven Herzberg (sven@imendio.com)
2656 * configure.ac: Add missing AM_PROG_CC_C_0
2657 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2659 See NB#101420 (Update unit tests and fix make check)
2661 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2663 This patch was applied before but reverted because it caused
2664 problems, we have changed the main condition and tested the
2665 regressions we detected before and they work ok. We have done a
2666 complete review of the topmost algorithm in order to get a more
2669 * src/hildon-pannable-area.c,
2670 (hildon_pannable_area_get_topmost): Added a new parameter to
2671 filter the the windows that do not include those events.
2672 (hildon_pannable_area_button_press_cb),
2673 (hildon_pannable_area_button_release_cb),
2674 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2675 topmost function, we have added the new parameter.
2677 Fixes: NB#97458 (Pannable area prevents propagation of button
2680 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2682 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2683 if all columns in the selector have an item selected.
2684 (_on_dialog_response): Stop "response" signal emission if there is
2685 any selector column without selected items.
2687 Fixes: NB#101889 (Picker dialog should not close when nothing is
2688 selected in multiple selection list)
2690 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-font-selection-dialog.c
2693 (hildon_font_selection_dialog_class_init),
2694 (hildon_font_selection_dialog_init): Remove the preview
2695 button and dialog, since previewing with default theming is likely
2696 to be overcomplicated. The :preview property has now no effect.
2697 Update documentation blurbs to inform about this.
2699 Fixes: NB#92297 (Preview content is not clearly visible for
2700 default colour text)
2702 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2704 Reviewed the geometry that handles the children size and
2705 scrollbar, now it tries a size and reviews the results depending
2706 on the scrollbars visibility.
2708 * src/hildon-pannable-area.c,
2709 (hildon_pannable_area_realize): Fixed a typo.
2710 (hildon_pannable_area_child_allocate_calculate): Added this
2711 function to calculate the child allocation.
2712 (hildon_pannable_area_size_allocate): Reviewed the allocation
2714 (hildon_pannable_area_check_scrollbars),
2715 (hildon_pannable_area_refresh): Refactored refresh function, this
2716 way we can call the code handling the scrollbars without causing a
2717 size_request, it is interesting in the allocate.
2718 (hildon_pannable_area_init): Replace the callbacks of the
2719 value_changed and changed signals to propertly deal with the
2721 (hildon_pannable_area_grab_notify),
2722 (hildon_pannable_area_initial_effect),
2723 (hildon_pannable_area_launch_fade_timeout),
2724 (hildon_pannable_area_adjust_changed),
2725 (hildon_pannable_area_adjust_value_changed),
2726 (hildon_pannable_area_redraw),
2727 (hildon_pannable_area_button_press_cb),
2728 (hildon_pannable_area_button_release_cb),
2729 (hildon_pannable_area_scroll_cb),
2730 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2731 code and use the new functions adjust_changed and
2732 adjust_value_changed.
2734 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2735 Contact editor dialog)
2737 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2742 * configure.ac: Bump version.
2743 * debian/changelog: Updates.
2745 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2747 * src/hildon-pannable-area.c,
2748 (hildon_pannable_area_get_topmost),
2749 (hildon_pannable_area_button_press_cb),
2750 (hildon_pannable_area_button_release_cb),
2751 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2752 topmost function adding the event mask. We have to try a
2753 differente approach because it is still causing problems (NB#9745,
2756 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-banner.c:
2759 Update the maximum width of timed banners.
2760 (force_to_wrap_truncated): Enforce the maximum text width if the
2763 Fixes: NB#102413 (The text margins (wrapping) in information
2764 banner should be HILDON_MARGIN_TRIPLE)
2766 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2768 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2770 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2771 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2772 bound when calculating the scroll indicator position.
2774 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2775 treat ->lower correctly)
2777 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2780 expose event handling, since it is not necessary to draw the focus
2783 Fixes: NB#102467 (Do not show highlight on the text in
2786 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2789 full height of the toolbar for the button and the label.
2791 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2794 padding before the label and after the button.
2796 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2800 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2801 Add a GtkVSeparator between the button and the back arrow.
2802 Let the button have automatic size.
2803 Set a name to the widget for theming handling.
2805 Fixes: NB#101793 (Make edit toolbar the same height as window
2806 title bar (use title area theming))
2808 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-helper.c (attach_new_color_element): Fix memory
2813 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2815 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2817 * examples/hildon-button-example.c (common_buttons_window): Don't
2820 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2823 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2825 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2827 * src/hildon-gtk.c: Check that the window is realized.
2829 Fixes: NB#102225 (Crash setting the progress indicator to a non
2832 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2835 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2836 instead of modifying the one in the widget style.
2838 Fixes: NB#101043 (Second row of all the command button are
2839 displayed in transparent mode.)
2841 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-date-button.c
2844 * src/hildon-time-button.c: Add gettext macros
2846 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-date-button.c (hildon_date_button_new):
2849 * src/hildon-time-button.c (hildon_time_button_new_step):
2850 Use new logical strings to set the button default title.
2852 Fixes: NB#99915 (Date and Time options are not localised in Date
2855 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2857 * src/hildon-pannable-area.c
2858 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2859 the PANNING_THRESHOLD.
2861 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2863 * src/hildon-pannable-area.c,
2864 (hildon_pannable_area_class_init): Increased the maximum speed.
2865 (hildon_pannable_area_get_property),
2866 (hildon_pannable_area_set_property),
2867 (hildon_pannable_area_timeout): Added a new low friction mode, it
2868 allows the user avoid friction when launching the widget fast
2869 enough. It is interesting to traverse long lists.
2871 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2874 (+hildon_stackable_window_delete_event): Ignore delete events if
2875 the window is not the topmost one.
2877 Fixes: NB#101698 (Back button long press and delete-event handling)
2879 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2881 * src/hildon-pannable-area.c,
2882 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2883 gtk-dnd-drag-threshold, it was too big. We have defined our own
2884 dnd define and set a smaller value: PANNIG_THRESHOLD.
2886 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2889 user-defined icons, use always the default one.
2891 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2893 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2895 This patch was applied before but reverted because it caused
2896 problems, we have changed the main condition and tested the
2897 regressions we detected before and they work ok.
2899 * src/hildon-pannable-area.c,
2900 (hildon_pannable_area_get_topmost): Added a new parameter to
2901 filter the the windows that do not include those events. Added
2902 also a condition when finding the window to filter windows that do
2903 not ask for those events.
2904 (hildon_pannable_area_button_press_cb),
2905 (hildon_pannable_area_button_release_cb),
2906 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2907 topmost function, we have added the new parameter.
2909 Fixes: NB#97458 (Pannable area prevents propagation of button
2912 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2914 * tests/check-hildon-color-button.c (START_TEST): do not leak
2917 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2919 * src/hildon-font-selection-dialog.c
2920 (hildon_font_selection_dialog_get_preview_text): Return NULL
2921 instead of FALSE on the g_return_val_if_fail().
2923 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2925 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2926 * src/hildon-date-selector.c
2927 (hildon_date_selector_select_current_date):
2928 Do not compare unsigned integers to be greater than or equal 0,
2929 because it's always TRUE.
2931 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2933 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2934 (hildon_date_selector_constructor): Do not select the current
2935 date until we are handle the "changed" signal, to avoid having bogus
2936 elements in the days model.
2938 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2941 for num_days, since _month_days() can return a negative value.
2943 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-caption.c (hildon_caption_size_allocate):
2946 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2947 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2949 Initialize allocation variables to 0, to avoid eventually using
2950 unitialized variables.
2952 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-bread-crumb-trail.c
2955 (hildon_bread_crumb_trail_size_allocate):
2956 * src/hildon-calendar.c (hildon_calendar_set_background):
2957 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2958 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2959 * src/hildon-seekbar.c (hildon_seekbar_init):
2960 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2961 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2962 * src/hildon-touch-selector-entry.c
2963 (hildon_touch_selector_get_text_from_model):
2964 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2965 * src/hildon-window.c (hildon_window_finalize):
2967 Remove many unused variables.
2969 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-seekbar.c: (hildon_seekbar_init),
2972 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2974 Remove unnecessary g_assert() calls.
2976 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-caption.c: (hildon_caption_expose),
2979 (hildon_caption_set_property), (hildon_caption_init),
2980 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2981 (hildon_caption_size_request), (hildon_caption_size_allocate),
2982 (hildon_caption_forall), (hildon_caption_set_separator),
2983 (hildon_caption_activate), (hildon_caption_set_child_expand),
2984 (hildon_caption_set_label_text),
2985 (hildon_caption_get_label_alignment):
2987 Remove unnecessary g_assert() calls.
2989 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-banner.c
2992 (hildon_banner_map, hildon_banner_init): Make banner temporary
2993 before mapping it to avoid closing other temporary windows, but
2994 make it non-temporary afterwards to avoid being closed by other
2995 non-temporary windows.
2996 (-hildon_banner_client_event, hildon_banner_init):
2997 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2999 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3002 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3007 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3009 * src/hildon-remote-texture.c
3010 * src/hildon-remote-texture.h
3011 * src/hildon-remote-texture-private.h
3012 * examples/hildon-remote-texture-example.c:
3013 Updates/fixes to remote-texture and its example.
3015 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3017 Patch by Mox Soini (ext-mox.soini@nokia.com)
3019 * src/hildon-code-dialog.c: Update logical id.
3020 * src/hildon-set-password-dialog.c: Update logical id.
3022 Fixes: NB#100646 (Logical strings is shown for ok in set
3023 password,Password needed dialogs)
3025 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3028 * src/hildon-remote-texture.c
3029 * src/hildon-remote-texture.h
3030 * src/hildon-remote-texture-private.h
3032 Added remote texture widget (for Clutter shared memory textures)
3034 * examples/hildon-remote-texture-example.c
3035 * examples/Makefile.am
3036 Added example file for remote texture usage
3038 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3040 * configure.ac: post release version bump.
3041 * debian/changelog: version bump.
3043 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3048 * configure.ac: Bump version.
3049 * debian/changelog: Updates.
3051 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-date-selector.c (hildon_date_selector_init)
3054 (hildon_date_selector_constructor): Don't connect to the "changed"
3055 signal until the selector is completely constructed.
3057 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-touch-selector.c: (_create_new_column),
3060 (hildon_touch_selector_append_column),
3061 (hildon_touch_selector_set_column_selection_mode),
3062 (hildon_touch_selector_set_active),
3063 (hildon_touch_selector_select_iter):
3064 Emit the HildonTouchSelector::changed signal every time selection
3065 is changed in any of the methods above. This behavior was already
3066 documented but not fully functional.
3068 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3069 selection is programmatically changed)
3071 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3073 * doc/hildon-sections.txt: Remove obsolete icon
3074 sizes from here as well.
3076 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3078 * examples/hildon-stackable-window-example.c (add_window): Remove
3081 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-app-menu.c
3084 (hildon_app_menu_show): Check whether the parent window of a menu
3085 is topmost before popping it up.
3087 Fixes: NB#100468 (Application menu window is launched even when a
3088 new secondary-window/dialog is pending to be shown/realized.)
3090 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3092 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3095 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3097 Patch by Mox Soini (ext-mox.soini@nokia.com)
3099 * src/hildon-banner.c: (hildon_banner_show_animation):
3100 use stylus size instead of obsolete note size.
3101 * src/hildon-defines.h: Update icon sizes.
3103 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-touch-selector-entry.c:
3106 (hildon_touch_selector_entry_init): Disable unsupported
3108 (hildon_touch_selector_entry_get_text_column): Emit a warning
3109 if an unsupported input modes is used and explicitile state
3110 these modes in the documentation.
3112 Fixes: NB#99802 (Hildon touch selector entry not working properly
3113 for some of the input modes)
3115 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c,
3118 (hildon_pannable_area_init): Added the changed signal handlers of
3121 Fixes: NB#100320 (HildonPannableArea does not listen to
3122 GtkAdjustment "change" signals)
3124 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3126 * doc/hildon-sections.txt
3127 * src/hildon-window-private.h
3128 * src/hildon-window.h
3129 * src/hildon-window.c (hildon_window_init)
3130 (hildon_window_realize, hildon_window_unrealize)
3131 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3132 (hildon_window_size_request, hildon_window_size_allocate)
3133 (hildon_window_forall, hildon_window_show_all)
3134 (hildon_window_destroy, +paint_edit_toolbar)
3135 (+hildon_window_set_edit_toolbar):
3136 New hildon_window_set_edit_toolbar() method, to add a
3137 HildonEditToolbar to a window without having to pack it manually.
3139 Reorganize hildon_window_size_allocate()
3141 * src/hildon-edit-toolbar.c: Update documentation.
3143 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3144 example to use the new API.
3146 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3148 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3151 Remove from stack before calling parent's hide.
3153 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3155 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3156 window is removed from the middle of the stack, update the
3157 transiency of the previous one.
3159 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3162 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3165 block/unblock the signal handler if it's not actually being used.
3166 Fixes some critical warnings.
3168 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3170 Based on a patch by Iván Gómez (igomez@igalia.com)
3172 * src/hildon-banner.c
3176 * src/hildon-pannable-area.c
3177 * src/hildon-picker-dialog.c
3178 * src/hildon-wizard-dialog.h
3179 * src/hildon-wizard-dialog.c: Documentation updates.
3181 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3182 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3184 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3186 * configure.ac: post release version bump.
3187 * debian/changelog: version bump.
3189 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3194 * configure.ac: Bump version.
3195 * debian/changelog: Updates.
3197 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3199 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3200 a stock icon nor change the relief of the back arrow.
3202 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3203 graphics from theme)
3205 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-button.c (hildon_button_set_alignment): Use
3208 priv->alignment if the button has no child yet.
3210 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-button.c: (hildon_button_init): Set the
3213 button style during initialization to give it the proper
3216 Fixes: NB#99713 (HildonButton value label color is wrong)
3218 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-touch-selector.c: Document
3221 hildon_touch_selector_center_on_selected()
3223 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3226 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3227 all menu items, but not the menu itself.
3228 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3229 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3230 items after adding them to the menu so keyboard accelerators work.
3231 (hildon_app_menu_show): Don't show the menu if it contains items
3232 but none of them are visible.
3234 * examples/hildon-app-menu-example.c (create_menu): Use
3235 gtk_widget_show_all() to show all menu items.
3237 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-picker-dialog.c:
3240 (-_update_title_on_selector_changed_cb),
3241 (-_dialog_update_title): Removed.
3242 (_select_on_selector_changed_cb), (_on_dialog_response),
3243 (on_selector_columns_changed): Do not update the dialog title.
3244 (setup_interaction_mode): Do not connect to
3245 HildonTouchSelector::changed signal if there's a "done" button, as
3246 the dialog title doesn't need to be updated.
3248 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3251 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3253 Patch by Kristian Rietveld (kris@imendio.com)
3255 * src/hildon-touch-selector.c: (_create_new_column): Use new
3256 GtkTreeView::hildon-row-tapped signal to react to user interactions
3257 instead of ::changed.
3259 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3260 with some dynamic tree model)
3262 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3264 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3265 (+screen_size_changed, +label_size_request)
3266 (hildon_note_class_init): Make the Hildon information note have a
3267 minimum height, and make its text hvae a maximum width.
3269 Fixes: NB#98614 (Hildon information note (background) should have
3270 minimum height and maximum text width)
3272 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-banner.h
3275 * src/hildon-banner.c (hildon_banner_show_information)
3276 (hildon_banner_show_informationf)
3277 (hildon_banner_show_information_with_markup): Update documentation
3278 to reflect that the icon_name parameter is not used anymore.
3279 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3280 Remove all code from these functions and mark them as deprecated.
3281 (hildon_banner_show_progress): Mark as deprecated.
3283 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3285 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3287 * src/hildon-pannable-area.c,
3288 (hildon_pannable_area_class_init),
3289 (tranparency_color),
3290 (hildon_pannable_draw_vscroll),
3291 (hildon_pannable_draw_hscroll),
3292 (hildon_pannable_area_expose_event): Added a new way to render the
3293 scrollbars of the pannable area avoiding using cairo at all. This
3294 way we improve the performance of the pannable area rendering. The
3295 cairo rendering procedure is still in the code, we can control
3296 which one to use changing the value of the define
3297 USE_CAIRO_SCROLLBARS.
3299 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: post release version bump.
3302 * debian/changelog: version bump.
3304 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3309 * configure.ac: Bump version.
3310 * debian/changelog: Updates.
3312 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3315 banners instead of destroying them when they receive a button
3318 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3320 Reverted commit 34028, it was causing regressions, probably the
3321 topmost condition is not correct, we have to check it in more
3322 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3323 propagation of button press events)
3325 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3328 that the selection is not empty before attempting to retrieve the
3329 current ampm selection.
3331 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-picker-button.c:
3334 (hildon_picker_button_on_dialog_response): Directly update the
3335 button contents when required instead of calling _selection_changed.
3337 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-program.c (hildon_program_update_top_most): Update
3340 'is-topmost' property also when wm_hints is not set.
3342 Fixes: NB#98383 (is-topmost signal is not emitted when task
3343 switcher is clicked.)
3345 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3347 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3351 * src/hildon-animation-actor.c,
3352 * src/hildon-animation-actor.h: Added the animation actor class,
3353 this widget represents an animation actor for WM-assisted
3354 animation effects in the Hildon framework.
3356 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-window-stack-private.h
3359 * src/hildon-window-stack.c
3360 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3361 Avoid calling gtk_widget_show() again indirectly from
3362 hildon_stackable_window_show()
3364 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3369 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3372 (hildon_time_selector_init): Move the construction of the hours and
3373 ampm columns to the constructor to preserve the order the columns
3376 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3378 * src/hildon-picker-dialog.c:
3379 (hildon_picker_dialog_class_init): Connect a realize method.
3380 (+hildon_picker_dialog_realize): Setup the interaction mode here
3382 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3383 yet, do it during the realize instead.
3384 (_on_dialog_response):
3385 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3386 if the widget is not realized, to avoid the dialog response before it
3389 Avoid premature responses in the HildonPickerDialog that can cause it
3390 to be hidden before it's even shown.
3392 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3395 (on_selector_columns_changed), (requires_done_button),
3396 (+prepare_action_area), (setup_interaction_mode),
3397 (_hildon_picker_dialog_set_selector):
3399 Split the interaction mode setup into preparation of the
3400 action area (prepare_action_area()) and the connection of
3401 the signals in setup_interaction_mode() and update the code to
3404 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3406 * src/hildon-pannable-area.c,
3407 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3408 per second to 15, we will check if this is ok regarding
3411 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3413 * src/hildon-pannable-area.c,
3414 (hildon_pannable_axis_scroll): Avoid resize if we already have
3415 reached overshoot_max.
3417 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3419 * src/hildon-pannable-area.c,
3420 (hildon_pannable_area_init),
3421 (hildon_pannable_area_realize),
3422 (hildon_pannable_area_size_allocate),
3423 (hildon_pannable_area_map),
3424 (hildon_pannable_area_unmap),
3425 (hildon_pannable_draw_vscroll),
3426 (hildon_pannable_draw_hscroll),
3427 (hildon_pannable_area_expose_event),
3428 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3429 pannable are to avoid the expose events go to the window and
3430 redraw the window. We save this way that part of the stack and the
3431 paint_boxes. We had to change the positions of the elements when
3434 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3436 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3437 * src/hildon-color-chooser-dialog.c:
3438 (hildon_color_chooser_dialog_init):
3439 * src/hildon-font-selection-dialog.c:
3440 (hildon_font_selection_dialog_init),
3441 (hildon_font_selection_dialog_show_preview):
3442 * src/hildon-get-password-dialog.c:
3443 * src/hildon-login-dialog.c:
3444 * src/hildon-set-password-dialog.c:
3445 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3446 * src/hildon-time-picker.c: (hildon_time_picker_init):
3448 Remove obsolete logical string IDs and update to the appropriate ones.
3450 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3452 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3455 that happens if the window hasn't been realized yet.
3457 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3458 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3460 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3463 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3466 Fixes: NB#98537 (Device hangs in account settings dialog)
3468 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3470 * configure.ac: post release version bump.
3471 * debian/changelog: version bump
3473 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3478 * configure.ac: Bump version.
3479 * debian/changelog: Updates.
3481 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3483 Added a new function to the HildonTimeButton widget that allows to
3484 change the step of the minutes in the selector associated with the
3485 button: hildon_time_button_new_step
3487 * src/hildon-time-button.c,
3488 (hildon_time_button_init),
3489 (hildon_time_button_new),
3490 (hildon_time_button_new_step):
3491 * src/hildon-time-button.h: Added the new function and refactored
3493 * examples/hildon-time-button-example.c,
3494 (main): We have replaced the function without parameters with the
3495 function with the steps set to 5
3497 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3499 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3501 * src/hildon-time-selector.c,
3502 (hildon_time_selector_class_init),
3503 (hildon_time_selector_constructor),
3504 (hildon_time_selector_get_property),
3505 (hildon_time_selector_set_property),
3506 (_create_minutes_model),
3507 (hildon_time_selector_new_step),
3508 (hildon_time_selector_set_time),
3509 * src/hildon-time-selector.h: Added a new property to the
3510 HildonTimeSelector (minutes-step), we use that property to control
3511 the steps between the minutes in the list of the selector. We have
3512 added a new function to the API to create a widget changing the
3513 step: hildon_time_selector_new_step.
3515 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-time-selector.c,
3518 (hildon_time_selector_class_init),
3519 (hildon_time_selector_constructor),
3520 (hildon_time_selector_init): Overrided the construct function when
3521 creating the time selector object. We have moved the minutes model
3522 handling code from the init to the new construction function:
3523 hildon_time_selector_constructor.
3525 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3527 * examples/hildon-date-button-example.c: (main): Use the new
3528 hildon_date_button_new_with_year_range() method in the example.
3529 * src/hildon-date-button.c:
3530 (+hildon_date_button_new_with_year_range): New public method
3531 to conveniently create a HildonDateButton with a custom year range
3532 in its HildonDateSelector.
3533 * src/hildon-date-button.h: Add the new public method definition.
3535 Fixes: NB#97908 (Not possible to change the year range in
3536 HildonDateSelector/HildonDateButton)
3538 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-date-selector.c:
3541 (+hildon_date_selector_set_property),
3542 (+hildon_date_selector_get_property),
3543 (hildon_date_selector_class_init): Install new properties "min-year"
3544 and "max-year" to define boundaries for the year column.
3545 (_create_year_model): Use the boundary properties to populate the model.
3546 (+hildon_date_selector_new_with_year_range): New public method to
3547 create a HildonDateSelector with a user defined year range.
3548 (hildon_date_selector_select_current_date): Use the new boundaries to
3549 calculate the iterator of current year.
3550 * src/hildon-date-selector.h: Add the new public method definition.
3552 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3554 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3555 Install a constructor method.
3556 (+hildon_date_selector_construct_ui): construct the widget.
3557 (+hildon_date_selector_constructor): new constructor.
3558 (+hildon_date_selector_init): move out widget construction code to
3559 the new constructor.
3561 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3564 that there's actually a month or year selected before obtaining them.
3565 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3566 of the HildonTouchSelector::changed signal, as it was emitted on every
3567 single item selection.
3569 Fix some warnings and possible crashers due to the selection restoring.
3571 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3574 the signal handlers only after creating the dialog instead of on every
3577 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-button.c (hildon_button_init)
3580 * src/hildon-check-button.c (hildon_check_button_init)
3581 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3582 focus when clicked by default.
3584 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3586 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
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-picker-dialog.c:
3595 (hildon_picker_dialog_class_init): install new "center-on-show"
3597 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3598 (hildon_picker_dialog_set_property): add setter code for the new
3600 (hildon_picker_dialog_get_property): add getter code for the new
3602 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3603 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3606 Fixes: NB#92849 (Selected item is not always visible when
3607 HildonTouchSelector is shown)
3609 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3611 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3612 Alejandro G. Castro (alex@igalia.com)
3614 * src/hildon-touch-selector.c:
3615 (_create_new_column): Do not connect to the "realize" signal of the
3617 (hildon_touch_selector_append_column): center on the selected items
3618 when a new column is appended.
3619 (hildon_touch_selector_select_iter): Factor out the code to select a
3620 column to hildon_touch_selector_scroll_to().
3621 (+search_nearest_element): Method to retrieve the nearest selected
3622 element to the visible area of the pannable area in a column.
3623 (+on_realize_cb): scroll to the initially selected item.
3624 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3625 the pannable area is realized, otherwise delay this until it is.
3626 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3627 selected items of a given column.
3628 (+hildon_touch_selector_center_on_selected): Public method to center
3629 all columns on the nearest selected item.
3630 * src/hildon-touch-selector.h: Add definition for
3631 hildon_touch_selector_center_on_selected().
3633 Implement public API to ensure visibility of all selected items in
3634 a HildonTouchSelector.
3636 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3638 Fixed a problem in the fading when calling the scroll_to API, and
3639 improve scrollbar fading handling.
3641 * src/hildon-pannable-area.c,
3642 (hildon_pannable_area_grab_notify): avoid the timeout when the
3644 (hildon_pannable_area_button_press_cb),
3645 (hildon_pannable_area_motion_notify_cb): Code style changes.
3646 (hildon_pannable_area_button_release_cb): Review the conditions
3647 when releasing the mouse button to avoid unrequired fading
3649 (hildon_pannable_area_scroll_to): Do not calculate and set the
3650 velocity if the scroll is not required.
3652 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3655 Don't check whether the new selector is NULL: it cannot be.
3656 Hold a reference to the selector while doing the replacement.
3658 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3660 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3661 unnecessary size_request in a removed widget.
3663 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3666 an unnecessary reference tracking that was leaking.
3668 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3670 Added delayed motion notify event handling, this way we can
3671 discard redrawing if more than 25 events arrive per second.
3673 * src/hildon-pannable-area.c,
3674 (hildon_pannable_area_init): Initialized the new private atributes
3675 controlling this timeout
3676 (hildon_pannable_area_dispose): Remove the timeout that controls
3677 the motion notify events.
3678 (hildon_pannable_area_scroll): Added a condition to control the
3679 use of the acceleration.
3680 (hildon_pannable_area_motion_event_scroll_timeout),
3681 (hildon_pannable_area_motion_event_scroll): Added this two
3682 functions, they handle the motion notify events inside the
3684 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3685 to the scroll method with the new function.
3686 (hildon_pannable_area_button_release_cb): We have to remove the
3687 timeout handler and move to the last position if the last motion
3688 events were not handled.
3690 Fixes: NB#97028 (Pannable area updates on every motion event)
3692 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3694 * src/hildon-pannable-area.c,
3695 (hildon_pannable_area_get_topmost): Added a new parameter to
3696 filter the the windows that do not include those events. Added
3697 also a condition when finding the window to filter windows that do
3698 not ask for those events.
3699 (hildon_pannable_area_button_press_cb),
3700 (hildon_pannable_area_button_release_cb),
3701 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3702 topmost function, we have added the new parameter.
3704 Fixes: NB#97458 (Pannable area prevents propagation of button
3707 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3709 * src/hildon-pannable-area.c,
3710 (hildon_pannable_area_initial_effect): Added controls before
3711 launching the timeout and the idle functions.
3712 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3713 of the method, in some situations it can return with TRUE and 0 in
3715 (hildon_pannable_area_button_press_cb): We do not need to set
3716 DELAY for fading out here.
3718 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3720 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3723 post-cleaning if the selection is not NULL.
3725 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3728 all items before restoring the selection.
3730 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3732 * src/hildon-touch-selector.c:
3733 (+hildon_touch_selector_unselect_all):
3734 * src/hildon-touch-selector.h: New API to unselect all items in a
3735 column of the touch selector.
3737 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3739 * src/hildon-pannable-area.c,
3740 (hildon_pannable_area_redraw): Added a call to the refresh
3741 function inside the redraw because apparently in some cases the
3742 change in the adjustment does not imply a size allocate.
3744 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3745 despite the view not being scrollable)
3747 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3749 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3750 leak. Check for NULL before attempting to set the window title.
3752 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3754 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3755 whether to show or not the 'Done' button each time the dialog is
3756 shown, as it depends on the HildonTouchSelector selection mode.
3758 Fixes: NB#96226 (In multiple selection mode Done button is shown
3759 sometimes in listpicker)
3761 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3763 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3764 for the number of columns in the HildonTouchSelector more than once.
3766 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3768 * src/hildon-touch-selector.c: Minor documentation fixes.
3770 * src/hildon-picker-dialog.c (+_dialog_update_title)
3771 (_select_on_selector_changed_cb)
3772 (_update_title_on_selector_changed_cb)
3773 (on_selector_columns_changed): Update dialog title when there's no
3774 'Done' button and also when the number of columns in the selector
3778 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3779 (+_selection_changed, hildon_picker_button_on_dialog_response)
3780 (hildon_picker_button_selector_selection_changed)
3781 (+hildon_picker_button_selector_columns_changed)
3782 (hildon_picker_button_set_selector): Update button value and emit
3783 'value-changed' when the number of columns in the selector
3787 Fixes: NB#96225 (Dialog titles are not shown according to the
3788 values selected in the list picker)
3790 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3793 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3794 New "arrow-width" and "arrow-height" style properties to set the
3795 size of the arrow button.
3796 Set name of arrow button ("hildon-edit-toolbar-arrow").
3798 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3799 graphics from theme)
3801 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-picker-button.c:
3804 (hildon_picker_button_selector_selection_changed): Use
3805 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3806 the dialog is present.
3808 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3809 the selection is accepted in the dialog)
3811 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-color-chooser.h
3814 * src/hildon-color-chooser-dialog.h:
3815 Added G_BEGIN_DECLS and G_END_DECLS
3817 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3819 (_clean_current_selection): plug a leak in the list.
3821 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-picker-dialog.c:
3824 (+free_path_list): Method to free a GList of GtkTreePaths.
3825 (_clean_current_selection), (_save_current_selection),
3826 (_restore_current_selection): Save the current selection in
3827 as a list of lists, to support multiple selection properly.
3829 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3831 patch by Claudio Saavedra (csaavedra@igalia.com)
3833 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3834 Store the press position.
3835 (+hildon_text_view_button_release_event): If the release position is
3836 close enough to the press position, move the cursor here. Otherwise,
3838 (hildon_text_view_class_init): Override GtkTextView press, release, and
3839 motion event handlers, disabling this way text selection through
3840 pointer interaction, and allowing the container widget to handle the
3843 Fixes: NB#95828 (HildonTextView functionality)
3845 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3847 Based on a patch by Iván Gómez (igomez@igalia.com)
3849 * src/hildon-button.[ch]
3850 * src/hildon-calendar.c
3851 * src/hildon-check-button.c
3852 * src/hildon-date-editor.c
3853 * src/hildon-date-selector.c
3854 * src/hildon-picker-button.c
3855 * src/hildon-time-editor.c
3856 * src/hildon-time-selector.c
3857 * src/hildon-touch-selector.[ch]:
3858 Documentation updates
3860 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3862 * src/hildon-pannable-area.c,
3863 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3864 threshold, it was required due to X events handling.
3866 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3868 * src/hildon-pannable-area.c,
3869 (hildon_pannable_area_grab_notify),
3870 (hildon_pannable_area_initial_effect),
3871 (hildon_pannable_area_button_press_cb),
3872 (hildon_pannable_area_button_release_cb),
3873 (hildon_pannable_area_scroll_cb),
3874 (hildon_pannable_area_scroll_to): Review the timeout management of
3875 the scrollbar, the frecuency was incorrectly set.
3877 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-picker-button.c:
3880 (+hildon_picker_button_on_dialog_response),
3881 (hildon_picker_button_clicked): Present the dialog instead of
3882 running it with gtk_dialog_run().
3884 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3887 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3890 (hildon_app_menu_finalize): When a window is hidden it doesn't
3891 emit notify::is-topmost, so make sure than the menu also
3892 disappears in that case.
3893 (parent_window_topmost_notify): Renamed from parent_window_hidden
3895 Fixes: NB#94460 (stackable window's menu is not closed when its
3898 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-touch-selector-entry.c:
3901 (+hildon_touch_selector_entry_set_input_mode),
3902 (+hildon_touch_selector_entry_get_input_mode):
3903 * src/hildon-touch-selector-entry.h: New methods to access the input
3904 mode in the selector's entry.
3906 Fixes: NB#93410 (API required for setting IM mode in
3907 HildonTouchSelectorEntry)
3909 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3911 * configure.ac: post release version bump.
3912 * debian/changelog: version bump
3914 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3919 * configure.ac: Bump version.
3920 * debian/changelog: Updates.
3922 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-touch-selector.c:
3925 (_hildon_touch_selector_has_multiple_selection): No need
3926 to initialize the variables here.
3928 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3930 * src/hildon-note-private.h
3931 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3932 (hildon_note_finalize, hildon_note_rebuild): Close information
3933 notes when they receive a button press.
3935 Fixes: NB#89890 (Information notes does not get disappeared after
3938 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3941 mark from the wizard title, as it's not really necessary. Also,
3942 do not display the page title if not set.
3944 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3947 (parent_window_hidden): Use the window's "is-topmost" property to
3948 detect when to hide the menu.
3950 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3953 (hildon_app_menu_finalize): If the parent window of the menu is
3954 hidden, hide the menu too.
3956 Fixes: NB#94460 (stackable window's menu is not closed when its
3959 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3962 * debian/libhildon1-examples.install
3964 * examples/Makefile.am:
3965 Use dh_install to install all examples.
3966 Use DEB_SRCDIR instead of defining SOURCE_DIR
3968 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3970 * configure.ac: post release version bump.
3971 * debian/changelog: version bump
3973 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3978 * configure.ac: bump version
3979 * debian/changelog: updates
3980 * debian/control: bump gtk+ dependency
3982 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3984 patch by Christian Dywan (christian@imendio.com)
3986 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3987 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3989 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3991 * src/hildon-check-button.c (hildon_check_button_init)
3992 (hildon_check_button_class_init, hildon_check_button_style_set)
3993 (hildon_check_button_apply_style):
3994 New "checkbox-size" style property.
3996 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3997 larger / configurable size)
3999 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4001 * configure.ac: post release version bump.
4002 * debian/changelog: version bump
4004 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4009 * configure.ac: bump version
4010 * debian/changelog: updates
4012 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4014 * doc/hildon-sections.txt
4015 * src/hildon-pannable-area.c
4016 * src/hildon-program.c
4017 * src/hildon-time-editor.c
4018 * src/hildon-touch-selector-entry.c:
4020 More documentation updates.
4022 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4024 * doc/hildon-sections.txt
4025 * src/hildon-caption.c
4026 * src/hildon-code-dialog.c
4027 * src/hildon-color-button.c
4028 * src/hildon-controlbar.c
4029 * src/hildon-date-editor.c
4030 * src/hildon-date-selector.c
4031 * src/hildon-edit-toolbar.c
4032 * src/hildon-find-toolbar.c
4033 * src/hildon-font-selection-dialog.c
4035 * src/hildon-program.c
4036 * src/hildon-range-editor.c
4037 * src/hildon-seekbar.c
4038 * src/hildon-time-editor.c
4039 * src/hildon-time-selector.c
4040 * src/hildon-volumebar-range.c
4041 * src/hildon-volumebar.c
4042 * src/hildon-vvolumebar.c
4043 * src/hildon-weekday-picker.c
4044 * src/hildon-window.c
4045 * src/hildon-wizard-dialog.c:
4047 Lots of documentation fixes.
4049 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4051 Patch contributed by Iván Gómez (igomez@igalia.com)
4053 * src/hildon-check-button.c:
4054 * src/hildon-date-button.c:
4055 * src/hildon-date-selector.c:
4056 * src/hildon-dialog.c:
4057 * src/hildon-edit-toolbar.c:
4058 * src/hildon-entry.c:
4059 * src/hildon-picker-button.c:
4060 * src/hildon-program.c:
4061 * src/hildon-text-view.c:
4062 * src/hildon-time-button.c:
4063 * src/hildon-touch-selector-entry.c:
4064 * src/hildon-window-stack.c:
4066 Add more "since" tags to the new API.
4068 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4070 * doc/hildon-sections.txt: Add below method.
4071 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4072 version for the hildonized scale.
4073 * src/hildon-gtk.h: Add the definition.
4075 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4077 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4079 * doc/hildon-sections.txt: Add missing entries for new methods.
4081 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4083 Added API to pannable are in order to get its adjustments. We
4084 added two properties to manage the values we had in the private
4087 * src/hildon-pannable-area.c:
4088 (hildon_pannable_area_class_init): Added hadjustment and
4089 vadjustment properties in order to expose horizontal and vertical
4091 (hildon_pannable_area_get_property),
4092 (hildon_pannable_area_set_property): Added code to handle the new
4094 (hildon_pannable_area_get_hadjustment),
4095 (hildon_pannable_area_get_vadjustment): API functions to get the
4097 * src/hildon-pannable-area.h:
4098 (hildon_pannable_area_get_hadjustment),
4099 (hildon_pannable_area_get_vadjustment): API functions to get the
4102 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4104 Fixed some leaks, after valgrinding.
4106 * src/hildon-touch-selector.c:
4107 (_default_print_func): Fixed a leak.
4108 (hildon_touch_selector_append_column): Fixed a leak.
4109 * src/hildon-date-button.c:
4110 (hildon_date_button_init): Fixed a leak.
4111 * src/hildon-date-selector.c
4112 (hildon_date_selector_finalize): Fixed a leak.
4114 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4116 Based on a patch by Christian Dywan (christian@imendio.com)
4118 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4120 * src/hildon-gtk.h: Add definition.
4122 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4124 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-picker-button.c: (hildon_picker_button_init),
4127 (hildon_picker_button_new): Set the HildonButton::style property
4128 in the init method, to propagate the value to the derived classes.
4130 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-button.c: (hildon_button_class_init): Do not make
4133 the "style" property a construct property.
4135 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4137 * src/hildon-wizard-dialog.h
4138 * src/hildon-wizard-dialog.c
4139 (hildon_wizard_dialog_set_forward_page_func)
4140 * src/hildon-pannable-area.h
4141 * src/hildon-pannable-area.c
4142 (hildon_pannable_area_set_size_request_policy):
4143 Documentation fixes.
4145 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4147 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4149 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4151 * doc/hildon-sections.txt: Added sections file.
4153 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4156 * src/*.[ch]: Updates.
4158 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4160 * examples/hildon-progress-indicator-example.c: new file
4161 * examples/Makefile.am: include the new example program
4163 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4165 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4167 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4169 * configure.ac: post release version bump
4170 * debian/changelog: version bump
4172 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4177 * configure.ac: bump version
4178 * debian/changelog: updates
4179 * debian/control: bump gtk+ dependency
4181 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-dialog.c: Mark as deprecated.
4184 * src/hildon-dialog.h: Mark as deprecated.
4185 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4186 from HildonDialog and still work, even if
4187 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4188 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4190 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4191 maemo changes) instead)
4193 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4195 * src/hildon-pannable_area.h:
4196 * src/hildon-pannable_area.c:
4197 (hildon_pannable_area_class_init),
4198 (hildon_pannable_area_set_property),
4199 (hildon_pannable_area_get_property),
4200 (hildon_pannable_area_size_request),
4201 (hildon_pannable_area_get_size_request_policy),
4202 (hildon_pannable_area_set_size_request_policy): Added new API
4203 allowing applications to control the request policy. Now they can
4204 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4205 children allocation (HILDON_MOVEMENT_CHILDREN).
4207 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4211 (hildon_gtk_tree_view_set_ui_mode)
4212 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4213 mode of treeviews and iconviews.
4215 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4217 * src/hildon-touch-selector-entry.c:
4218 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4219 of a GtkEntry to get proper theming.
4221 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4222 widget, not GtkEntry)
4224 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4226 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4227 no HildonWizardDialogPageFunc.
4229 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4231 Patch contributed by Iván Gómez (igomez@igalia.com)
4233 * src/hildon-app-menu.c:
4234 * src/hildon-button.c:
4235 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4236 * src/hildon-stackable-window.c:
4237 * src/hildon-time-selector.c:
4238 * src/hildon-touch-selector.c:
4239 * src/hildon-window.c:
4241 Add more "since" tags to the new API in hildon 2.2.
4243 2008-12-05 Tim Janik <timj@imendio.com>
4245 Patch contributed by Christian Dywan (christian@imendio.com)
4247 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4248 HildonSizeType, which are supplied by Gtk+ now.
4250 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4252 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4253 (with maemo changes) instead)
4255 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4257 Patch contributed by Iván Gómez (igomez@igalia.com)
4259 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4262 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4264 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4265 (some_page_func), (main): Update the example to use a
4266 HildonWizardDialogPageFunc function.
4268 * src/hildon-wizard-dialog-private.h: Add private data for
4269 the HildonWizardDialogPageFunc function usage.
4271 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4272 (destroy), (hildon_wizard_dialog_init), (response),
4273 (hildon_wizard_dialog_set_forward_page_func):
4274 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4275 that applications can use to stop a HildonWizardDialog to jump to
4278 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4281 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4283 * src/hildon-program.h
4284 * src/hildon-program-private.h
4285 * src/hildon-program.c (hildon_program_init)
4286 (hildon_program_set_common_app_menu)
4287 (hildon_program_get_common_app_menu):
4288 New API for setting a common HildonAppMenu for all
4289 HildonStackableWindows registered with the HildonProgram.
4291 * src/hildon-stackable-window.c
4292 (hildon_stackable_window_toggle_menu):
4293 Use the common HildonAppMenu if a window doesn't have a specific
4296 * src/hildon-app-menu-private.h
4297 * src/hildon-app-menu.c
4298 (hildon_app_menu_get_parent_window):
4299 Function to obtain the window a HildonAppMenu is attached to.
4300 (hildon_app_menu_set_parent_window):
4301 Hide the menu if the parent window is set to NULL.
4303 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4306 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4307 search widget to popup.
4309 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4311 * configure.ac: post release version bump
4312 * debian/changelog: version bump
4314 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4319 * configure.ac: bump version
4320 * debian/changelog: updates
4322 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4324 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4326 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4327 (hildon_window_stack_window_realized)
4328 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4329 Set the leader GdkWindow when a window is stacked and realized,
4330 unset it when it's unstacked.
4331 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4333 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4335 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4337 * src/hildon-stackable-window.h
4338 * src/hildon-window-stack.h:
4339 Protect definition of HildonWindowStack using the preprocessor.
4341 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4344 Fix warning if all menu items are hidden.
4346 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4348 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4350 * src/hildon-controlbar.c:
4351 * src/hildon-hvolumebar.c:
4352 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4353 Multiple scale size defines updates.
4355 Fixes: NB#94322 (Scale Updates)
4357 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4359 * examples/hildon-app-menu-example.c (create_menu)
4360 Show items after adding them to the menu, as in the future the
4361 menu will no longer call gtk_widget_show() on the added items.
4363 * src/hildon-app-menu.c:
4364 Update example as explained above.
4366 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4368 * src/hildon-app-menu.c
4369 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4370 Make sure that all menu items have finger height.
4372 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4374 * src/hildon-picker-dialog.c:
4375 (_on_dialog_response), (_save_current_selection),
4376 (_restore_current_selection), (_clean_current_selection),
4377 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4378 Defined new functions in order to save the current internal selector
4379 selection previous open the dialog, in case that the use cancel the
4380 interaction, so the widget restores the previous selection.
4382 Fixes: NB#92032 (In calendar application, date values in 'new event'
4385 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4387 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-button.c: Add a reference to the button examples in
4390 hildon-button-example.c
4392 * examples/hildon-button-example.c: Added examples of the most
4393 common button layouts.
4395 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-app-menu.c (hildon_app_menu_show)
4398 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4400 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4402 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-picker-dialog.c:
4405 (hildon_picker_dialog_init): Initialize the signal id for
4406 HildonTouchSelector::columns-changed.
4407 (+on_selector_columns_changed): Set up the interaction mode everytime a
4408 column is added or removed from the HildonTouchSelector.
4409 (_hildon_picker_dialog_set_selector): Connect to
4410 HildonTouchSelector::columns-changed and keep track of it.
4412 Make sure to update the interaction mode of the dialog everytime a
4413 column is added or removed in the HildonTouchSelector.
4415 Fixes: NB#93228 (Done button is not shown always in listpicker)
4417 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4420 a new ::columns-changed signal.
4421 (hildon_touch_selector_append_column): Emit ::columns-changed.
4422 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4424 Add a ::columns-changed signal, emitted when the number of columns in a
4425 HildonTouchSelector changes.
4427 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4430 (_hildon_picker_dialog_set_selector): Factor out the code
4431 to set up the dialog interaction mode.
4433 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4436 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4437 to signal_changed_id.
4439 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4444 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4446 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4447 Updated the logical ids related to ampm format, as now it is required to
4448 show it correctly localized even on languages with no default
4449 abbreviations for am or pm
4450 (_check_am_pm_format): check correctly the 24h format gconf property
4452 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4454 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4456 * src/hildon-button.c: Documentation updates.
4458 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4461 * src/hildon-caption.c: (hildon_caption_class_init):
4462 * src/hildon-color-button.c: (hildon_color_button_class_init):
4463 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4464 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4465 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4466 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4468 Remove deprecated GTK+ marshalers and replace them with the ones
4469 provided by GLib, for those available, add a marshaler for
4470 BOOLEAN:VOID, which is not available in GLib, and use it.
4472 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4475 the text from the previous column if there is no
4476 HildonTouchSelectorColumn::text-property set.
4478 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4480 * src/hildon-button.h
4481 * src/hildon-button.c (hildon_button_set_property)
4482 (hildon_button_get_property, hildon_button_class_init)
4483 (hildon_button_set_style, hildon_button_get_style):
4484 New "style" property to change the visual appearance of the
4487 * src/hildon-picker-button.c (hildon_picker_button_new):
4488 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4490 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4491 HildonButton look like PickerButton)
4493 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4496 column while building the default string.
4498 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4500 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4501 scroll indicator by default.
4503 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4505 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4507 * src/hildon-main.c: Fix the documentation for hildon_init()
4509 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4511 * doc/hildon-docs.sgml
4515 * src/hildon-window-stack-private.h
4516 * src/hildon-window-stack.h
4517 * src/hildon-window-stack.c:
4518 New HildonWindowStack object, that adds support for multiple
4519 stacks of windows per process.
4521 * src/hildon-stackable-window-private.h
4522 * src/hildon-stackable-window.h
4523 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4524 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4525 (hildon_stackable_window_show, hildon_stackable_window_hide)
4526 (hildon_stackable_window_class_init)
4527 (hildon_stackable_window_init):
4528 Use HildonWindowStack for stack management.
4530 * src/hildon-program.c (hildon_program_pop_window_stack)
4531 (hildon_program_peek_window_stack)
4532 (hildon_program_go_to_root_window):
4533 Add a fallback implementation to the deprecated functions using
4536 * examples/hildon-stackable-window-example.c:
4537 Use the new HildonWindowStack API.
4539 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-stackable-window-private.h
4542 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4543 (hildon_stackable_window_hide, hildon_stackable_window_init):
4544 Remove all window stack management.
4546 * src/hildon-program-private.h
4547 * src/hildon-program.h
4548 * src/hildon-program.c (hildon_program_init)
4549 (hildon_program_pop_window_stack)
4550 (hildon_program_peek_window_stack)
4551 (hildon_program_go_to_root_window):
4552 Remove all window stack management and mark functions as
4555 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-app-menu.c (hildon_app_menu_realize):
4558 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4560 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4562 * configure.ac: post release version bump
4563 * debian/changelog: version bump
4565 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4570 * configure.ac: bump version
4571 * debian/changelog: updates
4573 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4575 Based on initial code by Christian Dywan (christian@imendio.com)
4577 * doc/hildon-docs.sgml: Add section for hildon-main.
4578 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4579 * src/Makefile.am: Add new hildon-main.[ch]
4580 * src/hildon-defines.h: Update the icon sizes.
4581 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4582 new library initialization files and register icon sizes.
4583 * src/hildon-main.h: New declarations.
4584 * src/hildon.h: Include hildon-main.h
4586 Add new initialization functions to the library. These methods
4587 will register the hildon specific icon sizes and can be used in the
4588 future for other hildon specific bits.
4590 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4592 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4594 * src/hildon-window.c: (hildon_window_realize),
4595 (hildon_window_notify), (-hildon_window_update_title): Do not set
4596 the application name in the window title.
4598 Fixes: NB#89754 (Applications shouldn't display their names in the
4601 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4603 * src/hildon-note-private.h:
4604 * src/hildon-note.c: (hildon_note_set_property),
4605 (hildon_note_get_property), (hildon_note_class_init),
4606 (hildon_note_init), (hildon_note_finalize),
4607 (hildon_note_new_confirmation_with_icon_name),
4608 (hildon_note_new_information_with_icon_name):
4610 No need to mark as deprecated the actual code. Revert
4611 to avoid missing symbols in widgets using deprecated API.
4613 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4615 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4617 * src/hildon-volumebar.h
4618 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4619 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4621 * src/hildon-helper.h
4622 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4623 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4625 * examples/Makefile.am:
4626 Deprecate hildon-insensitive-example
4628 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4630 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4632 * examples/hildon-pannable-area-buttons-scroll-example.c:
4633 Make all buttons finger height
4635 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4639 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4640 update the day model only if it is really required, and to avoid the
4641 full-reconstruction aproach. Now it only add or remove the required days.
4643 The purpose of this is avoid superfluous HildonTouchSelector::changed
4646 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4647 with strange parameters)
4649 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4651 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4653 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4654 the WINDOW_TYPE property.
4656 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4658 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4661 Fix dependency to allow parallel compilation with make -jX
4663 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4666 color frame and some minor tweaks to make it more consistent with
4669 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4670 highlighted but not visible)
4672 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4674 * examples/Makefile.am: Fixed typo in the Makefile.am.
4676 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4678 Reviewed the use of MAEMO_GTK define, now we add the define in the
4679 compilation line, and we also add it to the pc file.
4681 * configure.ac: Added MAEMO_GTK define to the compilation command
4682 and removed it from the config.h.
4684 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4685 do not have to take care about this define if the library was
4689 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4691 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4693 * examples/Makefile.am,
4694 * examples/hildon-pannable-area-buttons-scroll-example.c,
4695 * examples/hildon-pannable-area-gesture-signals-example.c,
4696 * examples/hildon-pannable-area-scroll-jump-example.c,
4697 * examples/hildon-pannable-area-tree-view-example.c:
4698 Renamed the pannable area examples, now they have more meaningful
4701 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4703 * src/hildon-touch-selector.c:
4704 (hildon_touch_selector_set_column_selection_mode): Used of
4705 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4706 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4707 to avoid re-seting the same selection mode.
4709 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4710 breaks HildonPickerDialog)
4712 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4714 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4715 conditional in the Makefile.am
4717 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4719 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4720 Remove unused methods.
4722 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4724 * src/hildon-button.c (hildon_button_init):
4725 Make button images center-aligned by default
4727 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4730 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4731 activated, we have to think about how to deal with both defines
4732 MAEMO_GTK and MAEMO_CHANGES.
4734 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4736 * examples/hildon-app-menu-example.c (create_menu): Make all
4737 buttons finger size.
4739 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4741 Fixed the compilation without maemo gtk adding ifdefs with
4742 MAEMO_GTK define to the code, we have to check this version more
4745 * examples/Makefile.am: Added control to avoid some examples that
4746 just make sense with maemo gtk.
4749 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4750 hildon modes with the define.
4752 * examples/hildon-edit-toolbar-example.c,
4753 (create_icon_view): Create the icon view without hildon-gtk
4754 helpers if we are not using maemo gtk.
4756 * src/hildon-touch-selector.c,
4757 (_create_new_column): Create the treeview without hildon-gtk
4758 helpers if we are not using maemo gtk.
4760 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4762 * src/hildon-pnnable-area.c,
4763 (hildon_pannable_area_dispose),
4764 (hildon_pannable_area_button_press_cb),
4765 (hildon_pannable_area_child_mapped),
4766 (hildon_pannable_area_add),
4767 (hildon_pannable_area_remove): Added code to control the position
4768 of the event_window when adding and removing children from the
4769 pannable. We have to raise the event window when the child is
4772 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4773 selection mode using custom widget inside pannable)
4775 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4777 * configure.ac: post release version bump
4778 * debian/changelog: version bump
4780 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4785 * configure.ac: bump version
4786 * debian/changelog: updates
4788 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4790 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4791 search mode, in order to avoid lose the focus on the treeview when
4792 a hw key (like enter) is pressed.
4794 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4795 in HildonDateSelector dialog)
4797 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4799 * debian/rules: Added --enable-maintainer-mode
4800 * Makefile.am: Added ACLOCAL_AMFLAGS
4802 This allows to properly regenerate the Makefiles if you modify the
4803 configure.ac or any Makefile.am.
4805 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4807 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4808 properties, not needed at all.
4810 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4812 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4814 * src/hildon-note.c: (hildon_note_set_property),
4815 (hildon_note_get_property), (hildon_note_class_init),
4816 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4817 (hildon_note_new_confirmation_add_buttons): Remove icons.
4818 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4819 (hildon_note_new_information_with_icon_name): Deprecate.
4820 (hildon_note_new_confirmation): Act directly, without calling
4821 the deprecated constructor.
4822 (hildon_note_new_information): Act directly, without calling
4823 the deprecated constructor.
4824 * src/hildon-note.h: Mark deprecate methods as such.
4825 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4826 not run tests on the deprecated methods if built with deprecation
4829 Fixes: NB#91688 (Never show icons in information notes/confirmation
4832 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4835 (hildon_app_menu_key_press): Remove leftover usage of the
4836 private structure in HildonAppMenu struct.
4837 * src/hildon-app-menu.h: Remove leftover private structure
4838 from the HildonAppMenu struct.
4840 Fixes a crasher when using the HildonAppMenu.
4842 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-picker-dialog.c: Use appropriate logical id
4845 for the default "Done" text.
4847 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4849 * configure.ac: post release version bump
4850 * debian/changelog: version bump
4852 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4854 Modified the way to scroll to the current selection just when the touch
4855 selector is shown on the screen, avoiding a g_idle. Added too a property
4856 to configure this behaviour. See hildon_pannable_area_jump_to_child
4857 documentation for more information.
4859 * src/hildon-touch-selector.c
4860 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4861 Added 'initial-scroll' property
4862 (hildon_touch_selector_set_property): Added
4863 (hildon_touch_selector_map): Removed as not required anymore
4864 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4865 only a concrete column, instead of iterate along all the columns
4867 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4872 * configure.ac: bump version
4873 * debian/changelog: updates
4875 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4877 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4878 compilation time warnings.
4880 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4882 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4883 the default value for HildonPannableArea::mov-mode to
4884 HILDON_PANNABLE_AREA_MODE_VERT.
4886 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4888 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4890 Reverting following commit:
4892 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4894 * src/hildon-app-menu-private.h
4895 * src/hildon-app-menu.[ch]
4896 * src/hildon-button.[ch]
4897 * src/hildon-check-button.[ch]
4898 * src/hildon-entry.[ch]
4899 * src/hildon-pannable-area.[ch]
4900 * src/hildon-text-view.[ch]:
4901 Added private field to the object's structure.
4903 because it causes an ABI breakage. We will need to introduce these
4904 changes later at some point. See NB#91636 for an extensive
4905 explanation and status.
4907 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4909 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4911 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4912 remove special cases that are no longer necessary.
4914 Fixes: NB#91016 (Change toolbar sizes, simplification)
4916 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4919 is shown in the cancel note.
4921 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4923 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4924 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4925 (hildon_seekbar_init): Remove steppers, remove expose event.
4926 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4928 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4930 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4933 label font to "SmallSystemFont" for vertically arranged buttons.
4935 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4938 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-check-button.c
4941 (hildon_check_button_set_active, hildon_check_button_clicked):
4942 Don't access private parts directly, use getters instead.
4944 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-check-button.c (hildon_check_button_new):
4947 Align the contents of the check button to the left.
4949 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4951 * src/hildon-pannable-area.c,
4952 (hildon_pannable_area_scroll_to),
4953 (hildon_pannable_area_jump_to),
4954 (hildon_pannable_area_scroll_to_child),
4955 (hildon_pannable_area_jump_to_child): Replace the mapped
4956 precondition of these functions with the realized, it is the
4957 correct state of the widget in this case. Changed the
4958 documentation according to this modification.
4960 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4962 Added a new EXTRA_CFLAGS option to add the deprecated define to
4963 the compilation command. This way we can avoid using the define in
4964 the documentation compilation.
4966 * configure.ac: Defined EXTRA_CFLAGS.
4968 * examples/Makefile.am:
4970 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4972 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4974 * src/hildon-picker-dialog.c:
4975 Defined a utility macro with the desired touch selector height
4976 Removed currently unused separator, and title_label variables from
4978 (hildon_picker_dialog_init): Removed code related to the creation
4979 of unused private variables title_label and separator.
4980 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4981 to ensure correct visualization of the touch selector inside the dialog.
4982 * src/hildon-touch-selector.c
4983 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4984 ensure a concrete height of the widget.
4986 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4989 * tests/Makefile.am:
4991 Remove spurious whitespaces.
4993 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4996 compilation warning after the cancel button removal.
4998 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5000 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5002 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5003 Makefile.am, that way we can choose not to compile some examples
5004 and tests of the deprecated widgets.
5006 * examples/Makefile.am: Divided the sources in deprecated and
5009 * src/Makefile.am: Added undef statement of the deprecated
5010 symbol to the enums file generation process.
5012 * src/hildon-color-chooser-dialog.c
5013 * src/hildon-color-chooser-dialog.h
5014 * src/hildon-color-button.c
5015 * src/hildon-color-button.h
5016 * src/hildon-color-chooser.c
5017 * src/hildon-color-chooser.h
5018 * src/hildon-controlbar.c
5019 * src/hildon-controlbar.h
5020 * src/hildon-date-editor.c
5021 * src/hildon-date-editor.h
5022 * src/hildon-hvolumebar.c
5023 * src/hildon-hvolumebar.h
5024 * src/hildon-private.c
5025 * src/hildon-private.h
5026 * src/hildon-range-editor.c
5027 * src/hildon-range-editor.h
5028 * src/hildon-seekbar.c
5029 * src/hildon-seekbar.h
5030 * src/hildon-time-editor.c
5031 * src/hildon-time-editor.h
5032 * src/hildon-time-picker.c
5033 * src/hildon-time-picker.h
5034 * src/hildon-volumebar.c
5035 * src/hildon-volumebar.h
5036 * src/hildon-vvolumebar.c
5037 * src/hildon-vvolumebar.h
5038 * src/hildon-bread-crumb-trail.h
5039 * src/hildon-bread-crumb-trail.c
5040 * src/hildon-calendar-popup.c
5041 * src/hildon-calendar-popup.h
5042 * src/hildon-weekday-picker.c:
5043 * src/hildon-weekday-picker.h:
5044 * src/hildon-bread-crumb-widget.c:
5045 * src/hildon-bread-crumb-widget.h:
5046 * src/hildon-bread-crumb.c:
5047 * src/hildon-bread-crumb.h:
5048 * src/hildon-calendar.c:
5049 * src/hildon-calendar.h:
5050 * src/hildon-caption.c:
5051 * src/hildon-code-dialog.c:
5052 * src/hildon-code-dialog.h:
5053 * src/hildon-font-selection-dialog.c:
5054 * src/hildon-font-selection-dialog.h:
5055 * src/hildon-get-password-dialog.c:
5056 * src/hildon-get-password-dialog.h:
5057 * src/hildon-login-dialog.c:
5058 * src/hildon-login-dialog.h:
5059 * src/hildon-number-editor.c:
5060 * src/hildon-number-editor.h:
5061 * src/hildon-set-password-dialog.c:
5062 * src/hildon-set-password-dialog.h:
5063 * src/hildon-sort-dialog.c:
5064 * src/hildon-sort-dialog.h: This is the list of deprecated
5067 * src/hildon-touch-selector.c:
5068 * src/hildon-window.c: Added undef statement to avoid compilation
5071 * tests/Makefile.am: Divided the sources in deprecated and
5074 * tests/check_test.c,
5075 (configure_tests): Marked the deprecated code that was adding
5076 suites with deprecated tests.
5078 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5080 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5082 * src/hildon-touch-selector.c: (_default_print_func): Do not
5083 duplicate a string returned by gtk_tree_model_get(), it is already
5086 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5089 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5091 * src/hildon-pannable-area.c
5092 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5093 method, it had problems when adding a widget with viewport the
5094 second time. Now checks if it already has a viewport and uses it.
5096 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5099 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5101 * src/hildon-pannable-area.c,
5102 (hildon_pannable_area_scroll_to),
5103 (hildon_pannable_area_jump_to),
5104 (hildon_pannable_area_scroll_to_child),
5105 (hildon_pannable_area_jump_to_child): Added a precondition to the
5106 scroll and jump to functions: the widget must be mapped before we
5107 can safely call these functions. We have also added documentation
5108 to the functions to explain how to use them in this situation.
5111 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5113 Reviewed the threading handling of the pannable widget, we have
5114 used the gdk_threads_add_timeout function instead of the usual
5115 glib handlers. This avoids some problems with the threads.
5117 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5118 (hildon_pannable_area_initial_effect),
5119 (hildon_pannable_area_scroll_indicator_fade),
5120 (hildon_pannable_area_button_press_cb),
5121 (hildon_pannable_area_timeout),
5122 (hildon_pannable_area_motion_notify_cb),
5123 (hildon_pannable_area_button_release_cb),
5124 (hildon_pannable_area_scroll_cb),
5125 (hildon_pannable_area_scroll_to): Removed the
5126 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5127 gdk_threads_add_timeout.
5129 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5131 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5136 * configure.ac: bump version
5137 * debian/changelog: updates
5139 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5141 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5142 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5143 * src/hildon-color-chooser-dialog.c:
5144 (hildon_color_chooser_dialog_init):
5145 * src/hildon-font-selection-dialog.c:
5146 (hildon_font_selection_dialog_init):
5147 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5149 Remove all cancel/close-like dialogs, as these are not going to be
5152 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-note.c: (hildon_note_rebuild),
5155 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5158 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5160 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5163 sure all buttons are shown, even the Cancel/Close-like ones.
5165 Fixes: NB#90861 (Custom Confirmation dialogs should be
5166 protected from cancel button removal)
5168 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5170 * debian/control: Change libhildon1-examples dependency from libhildon1
5172 * debian/libhildon1-examples.install
5174 * Makefile.am: Modified the final install directory for the examples on
5175 package libhildon1-examples
5176 * Makefile.static: Update clean target in order to remove all the binary
5179 Changes suggested by Claudio after review new libhildon1-examples package
5181 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5184 * src/hildon-touch-selector.c: Ditto.
5186 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5188 * debian/control: Added new package libhildon1-examples, in order to pack
5189 the current hildon examples as documentation
5190 * debian/rules: Not to compress .c files, modify some includes on the
5191 examples (as normally are compiled locally, but when installed it will
5192 require to include the installed libhildon1 library), and rename
5194 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5195 install all the example files on the new example package
5196 * examples/Makefile.static: Added static makefile that can be used to
5197 compile the examples, once installed the new example package
5198 * examples: Most of the examples were modified in order to grant that
5199 all use only '#include "hildon.h"', in order to be easy to prepare
5200 it on the example package
5202 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5205 * debian/libhildon1-dev.install
5206 * debian/libhildon1-doc.install:
5207 Move all gtk-doc files to a separate libhildon1-doc package.
5209 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5211 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5213 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5215 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5217 * debian/rules: Fixed a error in order to avoid unnecessary calls
5218 to autogen.sh on package building
5220 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5222 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5224 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5229 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5231 * src/hildon-picker-button.c
5232 (hildon_picker_button_finalize):
5233 Free priv->done_button_text
5235 * src/hildon-time-button.c
5236 (hildon_time_button_set_time)
5237 * src/hildon-picker-button.c
5238 (hildon_picker_button_clicked)
5239 (hildon_picker_button_selector_selection_changed)
5240 (hildon_picker_button_set_selector)
5241 * src/hildon-date-button.c
5242 (hildon_date_button_set_date):
5243 Free strings returned by hildon_touch_selector_get_current_text()
5245 * src/hildon-button.c (hildon_button_construct_child):
5246 Fix leaks in priv->image and priv->label_box
5248 Fixes: NB#90535 (Memory leak in picker button)
5250 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/hildon-button.c: (hildon_button_get_property): Do not access
5253 private elements directly, use getters instead.
5255 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-app-menu-private.h
5258 * src/hildon-app-menu.c
5259 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5260 Store the menu's parent window.
5262 * src/hildon-stackable-window.c
5263 (hildon_stackable_window_toggle_menu)
5264 (hildon_stackable_window_finalize):
5265 Set the menu's parent window when the menu is shown, unset it when
5268 * src/hildon-app-menu.c
5269 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5270 (hildon_app_menu_class_init):
5271 Send unhandled keyboard accelerators to the parent window.
5273 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-stackable-window.c
5276 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5278 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5280 * configure.ac: post release version bump
5282 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5285 * configure.ac: Bump version
5286 * debian/changelog: Updates
5287 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5290 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5292 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5295 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5296 GtkMenu with Hildon style.
5298 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-picker-button.c:
5301 (hildon_picker_button_set_done_button_text): Set the dialog's
5302 done button text here as well.
5304 Fixes: NB#90232 (Picker button does not set the label on done button
5305 for the second time)
5307 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5309 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5312 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-app-menu.c (hildon_app_menu_insert)
5315 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5316 the HildonAppMenu to be activatable using keyboard accelerators
5317 when the menu is not being shown.
5319 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5321 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-stackable-window.c
5324 (hildon_stackable_window_show):
5325 Don't hide old windows automatically when new windows are shown:
5326 this is now a task for the window manager.
5327 (hildon_stackable_window_class_init)
5328 (hildon_stackable_window_hide):
5329 Remove windows from the stack everytime they're hidden.
5330 (hildon_stackable_window_realize):
5331 Don't change the _NET_WM_WINDOW_TYPE property. Use
5332 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5333 it as a stackable window.
5335 * src/hildon-program.c
5336 (hildon_program_pop_window_stack):
5337 Just hide the window to remove it from the stack.
5338 (hildon_program_go_to_root_window):
5339 Don't call gtk_widget_show(), this is now a task for the window
5342 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5344 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5346 * src/hildon-button.c
5347 (hildon_button_construct_child):
5348 Don't pack anything in the button until text or image are
5349 set. This allows adding a custom child after creating the button
5350 with hildon_button_new().
5351 (hildon_button_finalize, hildon_button_class_init)
5352 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5353 alignment and the label box even when they're not packed in the
5356 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5358 * src/hildon-touch-selector.h:
5359 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5360 currently the type definition was using GTK_TYPE_VBOX
5361 * src/hildon-touch-selector.c:
5362 Added some implementation notes in order to clarify that any other widget
5363 added without the column related API will not be included on the
5364 selection logic, and how the widget is freed, as some people ask about
5366 (hildon_touch_selector_remove): Reimplemented in order to free properly
5367 the column related data when you remove the private hbox.
5368 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5369 to get a proper HildonTouchSelectorColumn documentation
5371 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5373 * src/hildon-touch-selector-entry.c:
5374 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5375 text in the GtkEntry and there is no item selected. Fixes a
5378 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5380 * src/hildon-app-menu-private.h
5381 * src/hildon-app-menu.[ch]
5382 * src/hildon-button.[ch]
5383 * src/hildon-check-button.[ch]
5384 * src/hildon-entry.[ch]
5385 * src/hildon-pannable-area.[ch]
5386 * src/hildon-text-view.[ch]:
5387 Added private field to the object's structure.
5389 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5391 * configure.ac: post-release version bump
5393 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5397 * configure.ac: pre-release version bump
5399 * debian/changelog: updates.
5401 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5403 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5404 Disconnect the handler for HildonTouchSelector::changed.
5406 (hildon_picker_button_selector_selection_changed): Update the button
5407 value if the selection change was not triggered by the
5410 (hildon_picker_button_set_selector): connect to
5411 HildonTouchSelector::changed.
5413 Fixes: NB#89650 (Picker button is not updated, when selection in
5414 selector has changed)
5416 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5418 * src/hildon-picker-dialog.c
5419 (hildon_picker_dialog_realize): Removed as not required
5420 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5421 * src/hildon-picker-button.c
5422 (_current_selector_empty): New function, checks if the selector is empty
5423 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5424 if the current selector is empty, in order to avoid to show the dialog
5425 close the dialog in this case (and shows a g_warning).
5427 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5429 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5431 * src/hildon-pannable-area.c,
5432 (hildon_pannable_area_scroll): Added clause to stop movement when
5433 the child of pannable is smaller than one page.
5434 (hildon_pannable_area_scroll_to): Added conditions to avoid
5435 starting the scrolling movement if the child is smaller than one
5436 page, the complete child is in the screen, we do not have to move.
5438 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5440 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5443 this is managed automatically by the widget when the size of the
5446 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-picker-button.c
5449 (hildon_picker_button_set_done_button_text): Make a copy of the
5450 text, and free the previous value.
5452 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5454 * src/hildon-touch-selector-entry.c:
5455 (hildon_touch_selector_entry_print_func): Return the selected row's
5456 text if the entry is empty.
5458 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5461 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5465 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-check-button.h
5469 * src/hildon-check-button.c
5470 * examples/hildon-check-button-example.c:
5471 HildonCheckButton is now a new widget. 'toggled' signal added.
5473 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5475 * src/hildon-program-private.h
5476 * src/hildon-program.c (hildon_program_init)
5477 (hildon_program_finalize): Removed unused variables group_leader
5478 and name from HildonProgramPrivate.
5480 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-check-button.c (hildon_check_button_set_active)
5483 (hildon_check_button_get_active, hildon_check_button_new): Use
5484 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5486 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5488 * src/hildon-touch-selector.h
5489 (hildon_touch_selector_set_column_attributes): added deprecation
5490 guard HILDON_DISABLE_DEPRECATED
5491 * src/hildon-time-selector.c
5492 (hildon_time_selector_set_time)
5493 (hildon_time_selector_get_time): Fixed a typo on documentation
5494 * src/hildon-touch-selector.c: update HildonTouchSelector and
5495 HildonTouchSelectorColumn documentation
5496 * src/hildon-touch-selector-entry.c: update "text-column" property
5498 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5499 to be added to the general documentation.
5501 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5503 * examples/hildon-pannable-area-example-4.c,
5505 * examples/hildon-pannable-area-example.c,
5506 (main): Modified the code in order to use the container add, with
5507 viewport treeviews could have problems if they are really big.
5509 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5511 * src/hildon-weekday-picker.c,
5512 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5513 the agreement regarding deprecation in the library.
5515 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5517 * examples/hildon-picker-button-multicolumn-example.c:
5518 (main): Use custom "done" button text.
5520 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5521 (hildon_picker_button_set_property),
5522 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5523 (hildon_picker_button_init),
5524 (+hildon_picker_button_get_done_button_text),
5525 (+hildon_picker_button_set_done_button_text): New methods to customize
5526 the "done" button label in the launched HildonPickerDialog. Also,
5529 * src/hildon-picker-button.h: add the public API.
5531 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-date-selector.h:
5534 * src/hildon-picker-dialog.h:
5535 * src/hildon-time-selector.h:
5536 * src/hildon-touch-selector-column.h:
5537 * src/hildon-touch-selector.h:
5539 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5540 declarations. Fixes gtk-doc warnings.
5542 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-picker-dialog.h
5545 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5546 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5548 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5549 long text is set as label for done button)
5551 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5553 * src/hildon-dialog.c (hildon_dialog_add_button):
5554 Set fixed width to all buttons in the HildonDialog.
5556 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5558 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5560 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5561 Set widget name using class name plus "-finger" or "-thumb".
5563 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5566 'clicked' when the state of the button is manually changed.
5568 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-app-menu.c (hildon_app_menu_realize)
5571 (hildon_app_menu_unrealize, hildon_app_menu_init)
5572 (hildon_app_menu_class_init, item_visibility_changed):
5573 Change the menu layout when the size of the screen changes.
5574 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5575 Show warning only when changing the number of colums using the
5578 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5580 * debian/compat: Set to 5
5581 * debian/control: Update dependencies.
5582 * debian/libhildon1-dbg.install: Remove.
5583 * debian/libhildon1-dev.install: Update according to cdbs paths.
5584 * debian/libhildon1.install: Update according to cdbs paths.
5585 * debian/rules: Switch to cdbs.
5587 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5590 'item' variable renamed to 'filter'
5592 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-app-menu.c (hildon_app_menu_insert)
5595 (hildon_app_menu_add_filter, remove_item_from_list)
5596 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5597 Don't leak hidden items when the menu is destroyed.
5599 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5601 * src/hildon-app-menu.c (hildon_app_menu_insert)
5602 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5603 (hildon_app_menu_set_columns, item_visibility_changed)
5604 (filter_visibility_changed, hildon_app_menu_repack_filters)
5605 (hildon_app_menu_repack_items):
5606 Repack items and filters separately.
5608 Don't repack all items, change only the ones that are needed to
5611 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5613 * src/Makefile.am: added hildon-touch-selector-column.h
5615 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5617 * src/hildon-touch-selector.c: added the property "text-column" to the
5618 class HildonTouchSelectorColumn, and related get/set functions
5619 (_default_printf_func): updated to use "text-column" property
5620 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5621 "text-column" in his documentation, as this is now included on
5622 HildonTouchSelectorColumn. The get/set_property can still be used,
5623 working as a wrapper to the concrete column "text-column" property
5624 (_text_column_modified): callback added in order to handle the signal
5625 "notify::text-column" of the concrete HildonTouchSelectorColumn
5626 (hildon_touch_selector_entry_get_text_column)
5627 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5628 modified in order to use the HildonTouchSelectorColumn "text-column"
5630 * src/hildon-time-selector.c:
5631 * src/hildon-date-selector.c:
5632 * examples/hildon-touch-selector-example.c
5633 * examples/hildon-touch-selector-multi-cells-example.c
5634 * examples/hildon-picker-button-multicolumn-example.c
5635 Set the right value to "text-column" property on the creation of a new
5636 column using hildon_touch_selector_append_column()
5638 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5640 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-app-menu.c
5643 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5644 updating the layout of the menu, don't create all widgets again,
5645 just repack the items in their new places.
5647 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5649 * src/hildon-time-selector.c
5650 (hildon_time_selector_get_time)
5651 (hildon_time_selector_set_time)
5652 Added documentation of these public methods
5654 * src/hildon-date-button.h
5655 * src/hildon-touch-selector-column.h
5656 * src/hildon-time-button.h
5657 * src/hildon-picker-dialog.h
5658 * src/hildon-time-selector.h
5659 * src/hildon-picker-button.h
5660 * src/hildon-touch-selector.h
5661 * src/hildon-time-picker.h
5662 * src/hildon-date-selector.h
5663 * src/hildon-touch-selector-entry.h
5664 Modified in order to use hildon-widgets code style
5666 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5668 Added deprecated support to the compilation process using
5669 HILDON_DISABLE_DEPRECATED
5671 * configure.ac: Added the --disable-deprecated to the configure
5674 * src/hildon-weekday-picker.c:
5675 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5676 to use the deprecated support. We will update the other deprecated
5677 widgets status in a new patch.
5679 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5681 * configure.ac: Fixed typo with fatal warnings support, the
5682 variable name was not correct
5684 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-app-menu.c
5687 * src/hildon-program.c: Update documentation.
5689 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5691 * configure.ac: Post-release version bump.
5693 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5698 * configure.ac: Pre-release version bump.
5699 * debian/changelog: Updates.
5701 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5703 * NEWS: Update news for previous releases.
5705 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5707 * examples/hildon-touch-selector-multi-cells-example.c:
5708 (create_selector): Update the example to use
5709 hildon_touch_selector_append_column() with a NULL renderer and set
5710 the renderers later.
5711 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5712 passed a NULL renderer. This is documented behavior now.
5714 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5715 This must be used if the developer wants full control on the layout of
5716 the renderers to be added to the column.
5718 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5720 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-touch-selector.c: Documentation fixes.
5724 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/hildon-wizard-dialog-private.h: Remove image and box.
5727 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5728 (hildon_wizard_dialog_set_property), (response): Completely remove
5729 image/icon support, and the containers required for the layout.
5731 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5733 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-app-menu.c: Updated documentation.
5737 * src/hildon-stackable-window.c
5738 (hildon_stackable_window_set_main_menu): Unref the old menu after
5739 ref'ing the new one.
5741 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-stackable-window.c
5744 (hildon_stackable_window_set_main_menu): Unref the previous menu
5745 instead of destroying it.
5747 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5748 floating reference and set has_user_ref_count to FALSE to make
5749 HildonAppMenu act like a normal ref-counted widget and not a
5752 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5755 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5757 * src/hildon-touch-selector-column.h: new file
5758 * src/hildon-touch-selector.h
5759 * src/hildon-touch-selector.c
5760 Implemented GtkCellLayout interface, in order to allow to configure
5761 the cell layout on each individual selector column
5762 (hildon_touch_selector_set_column_attributes): marked as deprecated
5763 * examples/hildon-touch-selector-multi-cells-example.c
5764 Example of how to use the GtkCellLayout interface on the selector
5766 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5768 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-app-menu.h
5771 * src/hildon-app-menu.c
5772 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5773 (hildon_app_menu_append, hildon_app_menu_prepend):
5774 New methods to prepend, insert and move items in the menu.
5776 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5778 * src/hildon-wizard-dialog.c:
5780 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5782 (create_title): Update logical IDs and related code.
5783 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5785 * src/hildon-wizard-dialog.h: Note that
5786 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5787 point, as it is not used anymore.
5789 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5791 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5793 * src/hildon-note.c:
5794 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5795 shown. Do not display an icon in confirmation notes nor information
5797 (hildon_note_set_button_text): Update logical ID for cancel button.
5799 Fixes: NB#88850 (Update HildonNote button strings + signals)
5801 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-stackable-window.c
5804 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5806 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5808 * src/hildon-app-menu-private.h
5809 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5810 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5811 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5812 temporary property 'columns' to change the number of columns.
5814 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5816 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5818 * examples/hildon-note-example.c: (on_information_clicked),
5819 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5820 debugging information.
5821 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5823 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5824 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5825 in order to close: this will be handled by the WM from now on.
5827 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5829 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-app-menu-private.h
5832 * src/hildon-app-menu.c
5833 (hildon_app_menu_append, hildon_app_menu_add_filter)
5834 (button_visibility_changed, hildon_app_menu_apply_style)
5835 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5836 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5837 layout everytime a button (item or filter) is shown or hidden.
5839 * src/hildon-stackable-window.c
5840 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5843 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5845 * src/hildon-touch-selector.c:
5846 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5847 that the treeview inside the touch selector is in fremantle hildon mode
5848 * examples/hildon-date-button-example.c
5849 * examples/hildon-picker-button-multicolumn-example.c
5850 * examples/hildon-touch-selector-entry-example.c
5851 * examples/hildon-touch-selector-example.c
5852 * examples/hildon-time-button-example.c
5853 * examples/hildon-picker-button-example.c:
5854 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5856 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5858 * examples/hildon-text-view-example.c: (main): Remove the
5859 gtkrc bits, now handled by the theme.
5861 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5866 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5868 * po/Makefile.am: Install properly the mo files.
5869 * po/en_GB.po: Update translation, to ease testing purposes.
5871 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5873 * examples/hildon-picker-button-example.c: (main): Select an item
5874 in the selector before setting it to the button.
5876 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5878 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5879 Update button's value if the selector has an item active.
5881 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5882 'value' with the selector)
5884 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5887 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5888 (hildon_picker_button_class_init): Plug the finalize method.
5889 (hildon_picker_button_set_selector): If there's a previously set
5890 selector, unref'it before setting a new one.
5892 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5893 HildonTouchSelector)
5895 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5897 * src/hildon-touch-selector-entry.c:
5898 (hildon_touch_selector_entry_changed): Check if there is no text
5899 selected before setting the entry text.
5902 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-touch-selector.h
5905 * src/hildon-touch-selector.c
5906 (hildon_touch_selector_get_active)
5907 (hildon_touch_selector_set_active): New methods to set/get the
5908 index of the selected item.
5910 * src/hildon-picker-button.h
5911 * src/hildon-picker-button.c
5912 (hildon_picker_button_get_active)
5913 (hildon_picker_button_set_active): New methods to set/get the
5914 index of the selected item.
5916 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5918 * configure.ac: post-release version bump.
5920 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5924 * configure.ac: Pre-release version bump.
5925 * debian/changelog: Updates.
5926 * debian/control: Add myself as maintainer and depend on l10n
5929 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-window.c
5932 (hildon_window_set_main_menu)
5933 * src/hildon-stackable-window.c
5934 (hildon_stackable_window_set_main_menu):
5935 Updated documentation.
5937 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5940 Don't free selector->priv manually.
5943 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5946 (hildon_gtk_window_set_progress_indicator):
5947 * src/hildon-gtk.h: Added the new API
5948 hildon_gtk_window_set_progress_indicator, it changes the state of
5949 the window progress hint.
5951 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-button.c
5954 * src/hildon-stackable-window.c: Minor documentation updates.
5956 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5958 * src/hildon-stackable-window.c: Updated documentation.
5960 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5962 * src/hildon-defines.h: Update margins definitions
5963 to the Fremantle sizes.
5966 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5968 * src/hildon-touch-selector.c,
5969 (_hildon_touch_selector_set_model): Cleaning the code after
5970 review, removed g_print and #if 0 from the code.
5972 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-edit-toolbar.c: Update documentation.
5976 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5978 * src/hildon-check-button.h
5979 * src/hildon-check-button.c
5980 (hildon_check_button_set_label, hildon_check_button_get_label)
5981 * examples/hildon-check-button-example.c
5982 (button_clicked_cb):
5983 Removed deprecated methods.
5985 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-text-view.c:
5988 Add sample code to the documentation.
5990 * src/hildon-entry.h
5991 * src/hildon-text-view.h:
5992 Minor cosmetic changes.
5994 * src/hildon-entry.c:
5995 Add sample code to the documentation.
5996 (hildon_entry_init, hildon_entry_refresh_contents):
5997 Don't allow NULL values in the placeholder.
5999 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6001 * doc/hildon-docs.sgml
6003 * examples/Makefile.am
6004 * examples/hildon-text-view-example.c
6006 * src/hildon-text-view.c
6007 * src/hildon-text-view.h
6009 New HildonTextView widget, with example.
6011 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6013 * po/POTFILES.in: Add missing files with translatable strings.
6014 Partially fixes NB#88287.
6016 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6018 * examples/hildon-pannable-area-example-2.c: (main): No need to
6019 set the cellrenderer height inside hildon touch lists, the theme does
6022 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6024 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6025 they are integrated in the theme.
6027 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6029 * examples/hildon-entry-example.c: Update the example adding
6030 widgets to modify the text and the placeholder of the HildonEntry.
6032 * src/hildon-entry.c: Show the placeholder everytime the widget
6033 is empty and loses the focus.
6035 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6037 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6039 * src/hildon-pannable-area.c,
6040 (hildon_pannable_area_size_request): Fixed bug in height
6041 requisition, avoid increasing size and add border twice.
6043 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6045 * configure.ac: postrelease version bump.
6047 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6051 * configure.ac: Prerelease version bump.
6052 * debian/changelog: update.
6053 * debian/rules: make -dbg package contain useful debugging symbols.
6055 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-dialog.h
6058 * src/hildon-dialog.c
6059 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6060 New methods to add buttons with finger size.
6061 (hildon_dialog_new_with_buttons):
6062 Create buttons with finger size.
6064 * examples/hildon-dialog-example.c (main): Use HildonDialog
6065 methods to add buttons.
6067 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6069 * src/hildon-entry.c: Updated HildonButton documentation.
6071 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6074 button value label with (FALSE, FALSE) to prevent NB#88126 from
6077 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6079 * examples/hildon-pannable-area-example.c,
6080 (main): Removed examples panning a vbox inside a pannable
6081 area. Check bug NB#87965
6083 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6085 Patch contributed by Kris Rietveld (kris@imendio.com)
6087 * src/hildon-pannable-area.c,
6088 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6089 get_size and get_position, this saves an X server roundtrip.
6091 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6093 * doc/hildon-docs.sgml
6095 * examples/Makefile.am
6096 * examples/hildon-entry-example.c
6098 * src/hildon-entry.c
6099 * src/hildon-entry.h
6101 New HildonEntry widget, with example.
6103 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6105 * src/hildon-button.c (hildon_button_construct_child): Pack the
6106 image with expand == fill == FALSE. This is a workaround for a bug
6109 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6111 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6112 labels for the text column, to make it more look more dynamic.
6114 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6116 * src/hildon-time-selector.c
6117 Define gettext auxiliar macro N_
6118 (_create_minutes_model)
6119 (_create_hours_model)
6120 (_create_ampm_model): use of strftime in order to fill the model
6121 * src/hildon-date-selector.c
6122 (hildon_date_selector_finalize):
6123 (_locales_init): remove the logic related to get the name of the months
6124 using nl_langinfo, as it is not required anymore
6126 (_create_year_model)
6127 (_create_month_model)
6128 (_update_day_model): use of strftime in order to fill the model properly
6131 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6133 * src/hildon-button.h
6134 * src/hildon-button.c (hildon_button_get_image): New method to
6137 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6139 * src/hildon-touch-selector.c:
6140 (hildon_touch_selector_remove_column): Remove from the correct parent
6141 and also remove the list element and free it.
6144 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6146 * src/hildon-time-selector.c
6147 (_create_hours_model): change the range on 12h ampm format in order to use
6148 a 12-11 range instead of previous 01-12 range
6149 (hildon_time_selector_set_time): change the way to select the current time
6150 on 12h ampm format, due the change on the range
6151 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6154 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6156 * src/hildon-touch-selector.c
6157 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6158 in order to allow use this function on multiple row selection mode if
6159 the column is different that the first one
6162 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6164 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6165 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6167 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6169 * src/hildon-date-selector.h: clean some comments, now on the .c
6170 * src/hildon-date-selector.c
6171 (hildon_date_selector_select_month): first implementation
6172 (hildon_date_selector_select_day): added documentation, reimplemented
6173 using hildon_date_selector_select_current_date to avoid repeat code
6176 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6178 Reviewed interaction logic based on device experiences, refactored
6181 * src/hildon-pannable-area.c,
6182 (hildon_pannable_area_class_init): Updated default vmax speed.
6183 (hildon_pannable_area_calculate_velocity): Added this function, it
6184 avoids duplicate valocity calculation. Adjusted calculation to
6185 avoid problems with zero dist events.
6187 (hildon_pannable_area_motion_notify_cb): Now we use the
6188 calculate_velocity function.
6190 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6192 * src/hildon-date-selector.c
6193 (hildon_date_selector_select_current_date): fix the day range check
6194 as it failed using the last day of the current month
6197 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6199 * src/hildon-touch-selector.c
6200 (hildon_touch_selector_get_num_columns): added a parameter validation
6203 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6205 * examples/Makefile.am
6206 * examples/hildon-edit-toolbar-example.c: Example of the
6207 HildonEditToolbar widget.
6209 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6211 * configure.ac: postrelease version bump.
6213 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6217 * configure.ac: prerelease version bump.
6218 * debian/changelog: update.
6220 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6222 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6223 renderer to display stock icons in the touch list. Also, set the sizes
6224 to the recommended in the style guide.
6226 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6227 * src/hildon-touch-selector.h
6228 (hildon_touch_selector_set_active_iter): renamed, now is
6229 hildon_touch_selector_select_iter
6230 (hildon_touch_selector_get_active_iter): renamed, now is
6231 hildon_touch_selector_get_selected
6232 (hildon_touch_selector_unselect_iter): added
6233 * src/hildon-touch-selector.c
6234 Update after API modification (methods renamed)
6235 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6236 order to avoid problems selecting multiple elements on the column
6237 (hildon_touch_selector_unselect_iter): added the implementation
6238 * src/hildon-time-selector.c
6239 * src/hildon-date-selector.c
6240 * src/hildon-touch-selector-entry.c
6241 Update methods calls after hildon-touch-selector.h API modification (methods
6244 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6246 * src/hildon-stackable-window.c
6247 (hildon_stackable_window_finalize): Call the parent class's finalize.
6249 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6251 * examples/hildon-touch-selector-example.c: (create_selector): Use
6252 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6255 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6257 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6258 set a cell background color, to respect theming.
6260 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6262 * doc/hildon-docs.sgml
6265 * src/hildon-edit-toolbar.c
6266 * src/hildon-edit-toolbar.h
6267 * src/hildon.h: New HildonEditToolbar widget.
6269 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6271 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6274 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6275 * src/hildon-touch-selector.c
6276 (_create_new_column): use g_object_set instead of two g_object_set_property
6278 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6279 * src/hildon-touch-selector.c
6280 (_create_new_column): use of hildon_gtk_tree_view_new to create
6281 the treeview, instead of use directly g_object_new
6282 (_create_new_column): update the property name "vindicator-mode" for the
6283 new one "vscrollbar-policy"
6284 * examples/hildon-date-button-example.c
6285 * examples/hildon-picker-button-multicolumn-example.c
6286 * examples/hildon-touch-selector-entry-example.c
6287 * examples/hildon-touch-selector-example.c
6288 * examples/hildon-time-button-example.c
6289 * examples/hildon-picker-button-example.c
6290 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6291 to all the treeviews inside a pannable area.
6293 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-button.h
6296 * src/hildon-button.c (hildon_button_init)
6297 (hildon_button_set_arrangement, hildon_button_set_alignment)
6298 (hildon_button_set_title_alignment)
6299 (hildon_button_set_value_alignment)
6300 (hildon_button_set_image_alignment)
6301 (hildon_button_construct_child): New methods to set the alignment
6302 of the individual components of the button (title, value,
6303 image). Also, new method to alter the xscale and yscale properties
6304 of the GtkAlignment inside the button, so more complex layouts can
6307 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-button.c (hildon_button_style_set)
6310 (hildon_button_class_init, hildon_button_set_arrangement)
6311 (hildon_button_construct_child): Apply style properties
6312 correctly. Use the 'image-spacing' style property too.
6314 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6317 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6320 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6322 * src/hildon-pannable-area.c,
6323 (hildon_pannable_area_size_request): Fixed problem with
6324 pannable-area size_request.
6326 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6328 Added management for the grab-focus to a child widget, like a
6329 range, we need to fade out the scrollbar when releasing.
6331 * src/hildon-pannable-area.c,
6332 (hildon_pannable_area_init): Connected the grab-focus signal to
6334 (hildon_pannable_area_grab_notify): Added this function in order
6335 to manage the situation when the grab-focus ends. We have to
6336 fade-out the scrollbar.
6338 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6340 * src/hildon-app-menu.c: Minor documentation update.
6342 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6344 * src/hildon-app-menu.c
6345 * examples/hildon-app-menu-example.c (create_menu): Update
6346 examples and documentation to explain how to connect callbacks.
6348 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6350 * examples/hildon-button-example.c
6351 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6352 hildon_stackable_window_new instead of gtk_window_new
6354 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6356 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6357 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6358 (hildon_pannable_area_set_property),
6359 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6360 (hildon_pannable_area_unrealize),
6361 (hildon_pannable_area_size_request),
6362 (hildon_pannable_area_size_allocate),
6363 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6364 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6365 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6366 (hildon_pannable_area_initial_effect),
6367 (hildon_pannable_area_redraw),
6368 (hildon_pannable_area_scroll_indicator_fade),
6369 (hildon_pannable_area_expose_event),
6370 (hildon_pannable_area_get_topmost), (synth_crossing),
6371 (hildon_pannable_area_button_press_cb),
6372 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6373 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6374 (hildon_pannable_area_motion_notify_cb),
6375 (hildon_pannable_area_button_release_cb),
6376 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6377 (hildon_pannable_area_remove),
6378 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6379 chage the code layout to a more GtkWidget like. Review the use of
6382 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6384 * examples/hildon-pannable-area-example-4.c,
6385 (main): Modified the name of the hindicator_mode to
6388 * src/hildon-pannable-area.c,
6389 (hildon_pannable_area_class_init),
6390 (hildon_pannable_area_motion_notify_cb),
6391 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6392 we have reduced the amount of signals and managed reviewed its
6393 rationale. Changed the default decelerate value.
6395 (hildon_pannable_area_add),
6396 (hildon_pannable_area_redraw): Refactored functions.
6398 (hildon_pannable_area_init),
6399 (hildon_pannable_area_get_property),
6400 (hildon_pannable_area_set_property):
6401 (hildon_pannable_draw_vscroll),
6402 (hildon_pannable_draw_hscroll),
6403 (hildon_pannable_area_initial_effect),
6404 (hildon_pannable_area_expose_event),
6405 (hildon_pannable_area_scroll),
6406 (hildon_pannable_area_button_press_cb),
6407 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6408 and vindicator_mode with hscrollbar_policy and
6409 vscrollbar_policy. Replaced hscroll and vscroll with
6410 hscroll_visible and vscroll_visible.
6412 (hildon_pannable_area_refresh): Refactor the function, remove
6413 variables and check the calls to this function, added resize
6414 conditions in case the children change their layout.
6416 (hildon_pannable_area_size_request): Added more detailed
6417 size_request calculation.
6420 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6422 * src/hildon-color-chooser.c
6423 (init_borders): use the correct gtk_border_free instead of g_free, to
6424 avoid a crash when this widget is used (ie: the three color selection
6427 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6429 * src/hildon-check-button.c,
6430 (hildon_check_button_set_active): Fixed problem when setting the
6431 active value, the widget was not redrawn.
6433 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6435 * src/hildon-pannable-area.c,
6436 (hildon_pannable_area_refresh),
6437 (hildon_pannable_area_scroll),
6438 (hildon_pannable_area_motion_notify_cb): Small code style change.
6440 (hildon_pannable_area_class_init): Default initial_hint set to
6441 FALSE, it is not in the specs.
6443 (hildon_pannable_area_initial_effect),
6444 (hildon_pannable_area_expose_event),
6445 (hildon_pannable_area_map),
6446 (hildon_pannable_area_init): Moved the launching point of the
6447 initial effect, it was in map but the sizes where not correct in
6448 that method so we do not know if we have the reproduce it. Now it
6449 is placed in the expose_event method and uses a variable to
6450 reproduce it just once.
6452 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6454 * src/hildon-pannable-area.c,
6455 (hildon_pannable_draw_vscroll),
6456 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6457 position allowed for the scrollbars.
6459 (hildon_pannable_area_size_allocate): Small style change.
6461 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6463 * src/hildon-pannable-area.c,
6464 (hildon_pannable_area_scroll_indicator_fade),
6465 (hildon_pannable_area_button_press_cb),
6466 (hildon_pannable_area_button_release_cb),
6467 (hildon_pannable_area_scroll_cb),
6468 (hildon_pannable_area_expose_event),
6469 (hildon_pannable_area_init): Added the define parameter
6470 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6471 and refactor the fade variable.
6473 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6475 * src/hildon-pannable-area.c,
6476 (hildon_pannable_area_redraw),
6477 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6478 lines, we were reimplemeting the redraw code.
6480 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6482 * src/hildon-pannable-area.c,
6483 (hildon_pannable_area_scroll_cb),
6484 (hildon_pannable_area_realize),
6485 (hildon_pannable_area_class_init): Added scroll_event management
6486 for pannable area, now we can scroll the usual desktop method.
6488 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6489 initialization of the parameters should depend on idle_id.
6491 (hildon_pannable_area_init),
6492 (hildon_pannable_area_map): Small code style modifications
6494 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6496 * src/hildon-pannable-area.c
6497 (hildon_pannable_area_button_press_cb),
6498 (hildon_pannable_area_motion_notify_cb),
6499 (hildon_pannable_area_button_release_cb),
6500 (hildon_pannable_area_size_allocate),
6501 (hildon_pannable_area_scroll_to): Improved the timeouts
6502 management, we avoid creating them each time.
6504 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6506 * src/hildon-pannable-area.c:
6507 (hildon_pannable_area_refresh),
6508 (hildon_pannable_area_motion_notify_cb),
6509 (hildon_pannable_area_class_init):
6510 * src/hildon-pannable-area.h:
6511 * src/hildon-touch-selector.c
6512 (_create_new_column):
6513 * examples/hildon-pannable-area-example-4.c:
6514 (horizontal_movement),
6515 (vertical_movement),
6517 Replaced the names of enums in the HildonPannableArea:
6518 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6519 HILDON_MOVEMENT_MODE_*
6520 - HILDON_PANNABLE_AREA_MOV_* ->
6522 - Removed HildonPannableAreaIndicatorMode, now we
6525 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6527 * examples/hildon-pannable-area-touch-grid-example.c
6528 * examples/hildon-pannable-area-touch-list-example.c: Fix
6529 compilation warnings.
6531 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6533 * src/hildon-gtk.c (hildon_gtk_button_new)
6534 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6535 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6536 images overriding the value of the "gtk-button-images" setting.
6538 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6540 * src/hildon-check-button.c (hildon_check_button_new):
6541 Instead of using a custom container, display the label and the
6542 checkbox using the standard GtkButton API.
6544 * examples/hildon-check-button-example.c (main): Don't use
6545 hildon_check_button_set_label() anymore
6547 * src/hildon-check-button.h
6548 * src/hildon-check-button.c
6549 (hildon_check_button_set_label, hildon_check_button_get_label):
6550 Set as deprecated, now we're using gtk_button_{get,set}_label()
6552 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6554 * src/hildon-pannable-area.c,
6555 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6556 GtkTreeview first line we detected it after the inclusion of the
6557 GtkWindowImpl in gtk+. We now check if the window is visible, not
6558 just if the pointer is over the window.
6559 (hildon_pannable_axis_scroll),
6560 (hildon_pannable_area_expose_event): Small style changes.
6562 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-button.c: Update documentation.
6566 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6568 * examples/hildon-button-example.c: Add a switch to show images in
6571 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6573 * doc/hildon-docs.sgml: Some docs reorganization.
6575 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6577 * examples/hildon-pannable-area-touch-list-example.c
6579 * examples/hildon-pannable-area-touch-grid-example.c
6580 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6581 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6582 Fix memory leak when setting the tree model.
6584 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6588 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6590 * doc/hildon.types: Remove duplicated hildon_window_get_type
6591 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6592 documentation comment.
6594 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6596 * doc/Makefile.am: Complete list of private headers.
6598 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6600 * doc/hildon-docs.sgml
6601 * src/hildon-app-menu.c
6602 * src/hildon-bread-crumb.c
6603 * src/hildon-button.c
6605 * src/hildon-program.c
6606 * src/hildon-stackable-window.c
6607 * src/hildon-window.c: Lots of documentation updates.
6609 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6611 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6613 * configure.ac: Require Gtk+ 2.12.9 at least
6615 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6617 * src/hildon-pannable-area.c
6618 (hildon_pannable_area_scroll_indicator_fade),
6619 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6620 to protect the return of this timeout callbacks, avoiding deadlocks.
6622 2008-08-12 Christian Dywan <christian@imendio.com>
6625 * src/hildon-*.h: Ensure a consistent include order,
6626 include <gtk/gtk.h> instead of particular files and
6627 only include the topmost header in the gtk stack. See NB #39857
6629 2008-08-12 Christian Dywan <christian@imendio.com>
6631 * src/hildon-picker-dialog.c
6632 * src/hildon-touch-selector.c: Fix warnings about unused and
6633 uninitialized variables.
6635 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6637 * examples/Makefile.am
6638 * examples/hildon-check-button-example.c: Example of the hildon
6641 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-window.h
6644 * src/hildon-window.c (hildon_window_class_init)
6645 (hildon_window_unset_program): Don't make
6646 hildon_window_unset_program a virtual function anymore.
6648 * src/hildon-stackable-window.c: Update documentation
6650 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6653 * doc/hildon-docs.sgml
6654 * doc/visual_index.xml
6655 * src/hildon-defines.c
6657 * src/hildon-helper.c
6658 * src/hildon-range-editor.c: Lots of documentation fixes.
6660 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6662 * examples/hildon-picker-button-multicolumn-example.c
6663 (create_touch_selector): Fix compilation warning.
6665 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6668 (hildon_pannable_area_button_release_cb)
6669 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6671 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6676 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6678 * src/hildon-bread-crumb-trail.h
6679 * src/hildon-date-editor.c
6680 * src/hildon-date-selector.c
6681 * src/hildon-pannable-area.c
6682 * src/hildon-picker-dialog.c
6683 * src/hildon-time-selector.c
6684 * src/hildon-touch-selector-entry.c
6685 * src/hildon-touch-selector.c
6686 * src/hildon-touch-selector.h: Misc documentation fixes
6688 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6690 * examples/hildon-date-editor-example.c (main): Updated date
6693 * examples/hildon-note-example.c (on_confirmation_clicked):
6694 Updated confirmation note example.
6696 * src/hildon-date-editor.c
6697 * src/hildon-note.c: Updated sample programs in documentation.
6700 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6702 * src/hildon-date-button.h:
6703 * src/hildon-picker-button.h:
6704 * src/hildon-time-button.c:
6705 * src/hildon-time-button.h:
6707 Some declarations changes to allow gtk-doc to document the widgets
6710 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6712 * src/hildon-date-button.c: Document the widget.
6713 * src/hildon-time-button.c: Document the widget.
6715 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6717 * src/hildon-picker-button.c: Document the widget.
6718 * src/hildon-touch-selector-entry.c: Document the widget.
6720 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6722 * doc/hildon-docs.sgml
6725 * src/hildon-check-button.h
6726 * src/hildon-check-button.c: New functions to create the Hildon
6730 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6732 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-button.h
6735 * src/hildon-button.c
6736 (hildon_button_add_title_size_group)
6737 (hildon_button_add_value_size_group)
6738 (hildon_button_add_image_size_group)
6739 (hildon_button_add_size_groups): New functions to set size groups
6740 for the button labels and image.
6741 (hildon_button_new_full): Removed
6743 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6745 * src/hildon-time-selector.c
6746 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6747 in order to avoid a crash if gconf is not available
6749 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6751 * src/hildon-button.c (hildon_button_set_arrangement)
6752 (hildon_button_construct_child): Don't construct the button child
6753 before setting the arrangement.
6755 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6757 * src/hildon-program-private.h
6758 * src/hildon-program.c
6759 * src/hildon-program.h
6760 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6761 (hildon_program_peek_window_stack)
6762 (hildon_program_pop_window_stack)
6763 (hildon_program_go_to_root_window): HildonProgram now has a
6764 separate list for stackable windows. Functions are provided to
6765 manage that list with a stack-like API.
6767 * src/hildon-stackable-window.c: Stackable window management is
6768 now much simpler with the new HildonProgram API. Windows no
6769 longer need to be manually added to the program, they're
6770 automatically pushed to the top of the stack when shown.
6772 * examples/hildon-stackable-window-example.c: Updated example to
6773 reflect the API changes.
6775 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/hildon-touch-selector.c: Comment out unimplemented
6778 hildon_touch_selector_insert_column() to avoid a compile warning.
6780 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6783 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6784 (hildon_touch_selector_set_column_selection_mode),
6785 (_hildon_touch_selector_set_model),
6786 (hildon_touch_selector_set_model):
6788 Complete review of HildonTouchSelector documentation.
6790 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6792 * doc/hildon-docs.sgml
6796 * src/hildon-gtk.c: Convenience functions for standard Gtk
6797 widgets, used to easily perform frequent operations.
6799 * src/hildon-button-helpers.h
6800 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6802 * src/hildon-helper.h
6803 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6804 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6806 * src/hildon-button.h
6807 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6809 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6811 * src/hildon-button.c (hildon_button_init)
6812 (hildon_button_set_arrangement, hildon_button_construct_child):
6813 Pack the image and the labels inside the same GtkAlignment so
6814 gtk_button_set_alignment() can be used
6816 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6818 * src/hildon-button.h
6819 * src/hildon-button.c
6820 (hildon_button_init, hildon_button_set_image)
6821 (hildon_button_set_image_position)
6822 (hildon_button_construct_child): New functions to add an image to
6825 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-date-button.c
6828 * src/hildon-picker-button.c
6829 * src/hildon-time-button.c
6830 * src/hildon-button.c:
6831 (hildon_button_class_init): "size-flags" renamed to "size"
6832 (hildon_button_set_title): Hide the title label if set to NULL.
6834 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6836 HildonButtonFlags split into HildonButtonArrangement (to set the
6837 button layout) and HildonSizeType (which can be used for any
6840 * src/hildon-button.h
6841 * src/hildon-button.c
6842 (hildon_button_class_init)
6843 (hildon_button_set_arrangement)
6844 (hildon_button_set_property): New "size-flags"
6845 property. "arrangement-flags" renamed to "arrangement".
6846 (hildon_button_new, hildon_button_new_with_text)
6847 (hildon_button_new_full): Constructors updated to reflect type changes.
6849 * src/hildon-helper.h
6850 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6851 to set the size of a widget.
6855 * src/hildon-button-helpers.c
6856 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6858 * src/hildon-date-button.c
6859 * src/hildon-date-button.h
6860 * src/hildon-picker-button.c
6861 * src/hildon-picker-button.h
6862 * src/hildon-time-button.c
6863 * src/hildon-time-button.h: Updated widgets to reflect
6864 HildonButton API changes.
6866 * examples/hildon-button-example.c
6867 * examples/hildon-date-button-example.c
6868 * examples/hildon-picker-button-example.c
6869 * examples/hildon-picker-button-multicolumn-example.c
6870 * examples/hildon-time-button-example.c
6871 * examples/hildon-touch-selector-entry-example.c
6872 * examples/hildon-touch-selector-example.c: Updated examples to
6873 reflect HildonButton API changes.
6875 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6877 * doc/hildon-docs.sgml:
6879 * examples/Makefile.am:
6880 * examples/hildon-touch-selector-entry-example.c:
6882 * src/hildon-touch-selector-entry.c:
6883 * src/hildon-touch-selector-entry.h:
6886 Moved HildonTouchSelectorEntry from sandbox. Added its
6887 documentation and examples.
6889 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6891 * src/hildon-touch-selector.h:
6892 * examples/hildon-picker-button-multicolumn-example.c:
6893 (hildon_touch_selector_append_text_column): Add a gboolean
6894 parameter to determine if text must be centered in the column.
6896 * src/hildon-date-selector.c: (hildon_date_selector_init):
6897 * src/hildon-time-selector.c: (hildon_time_selector_init):
6898 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6899 (create_touch_selector): Update widgets and example to reflect
6902 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6904 * src/hildon-touch-selector.c:
6905 (hildon_touch_selector_set_active_iter): Set also the cursor in
6908 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6910 * doc/hildon-docs.sgml
6913 * src/hildon-toggle-button.c
6914 * src/hildon-toggle-button.h
6915 * src/hildon.h: Removed HildonToggleButton widget, a derived
6916 class is not necessary for this.
6918 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6920 * src/hildon-pannable-area.c,
6921 (hildon_pannable_area_realize),
6922 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6925 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6927 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6928 "done" button the default widget for the dialog.
6930 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6932 * src/hildon-touch-selector.c:
6933 (hildon_touch_selector_class_init),
6934 (hildon_touch_selector_get_property),
6935 (_hildon_touch_selector_set_model),
6936 (_hildon_touch_selector_has_multiple_selection),
6937 (hildon_touch_selector_has_multiple_selection):
6938 Add a "has-multiple-selection" property with a virtual
6939 has_multiple_selection() method to allow derived classes to
6940 override the default value for it. See the method and property
6941 documentation for details.
6943 * src/hildon-touch-selector.h: Add the new API.
6945 * src/hildon-picker-dialog.c: (requires_done_button): Call
6946 hildon_touch_selector_has_multiple_selection() instead of
6947 determining the need for a button itself.
6949 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6951 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6952 (_hildon_touch_selector_set_model),
6953 (hildon_touch_selector_set_model): Move working code to
6954 _hildon_touch_selector_set_mode(). Call the class method instead.
6956 * src/hildon-touch-selector.h: Add (*set_model) to
6957 HildonTouchSelectorClass.
6959 Make hildon_touch_selector_set_model() a virtual method, so that
6960 derived classes can extend it and do fancy stuff with the model.
6962 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6964 * configure.ac: Set back the tarname in AC_INIT to hildon.
6966 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6970 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6971 instead of libesd (NB#86876). Volume handling is still an open issue.
6973 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6976 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6978 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6979 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6980 derived class to ease placement of an entry widget in
6981 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6982 end, where the selector columns are packed now.
6984 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6986 * src/hildon-picker-button.c: Removed the simple _text() API.
6987 * src/hildon-picker-button.h: Likewise.
6989 * src/hildon-touch-selector.h:
6990 * src/hildon-touch-selector.c:
6991 (hildon_touch_selector_new_text),
6992 (hildon_touch_selector_append_text),
6993 (hildon_touch_selector_prepend_text),
6994 (hildon_touch_selector_insert_text):
6996 Moved the simple _text() API from HildonPickerButton to
6997 HildonTouchPicker, to provide better escalability and not to tie
6998 that API to HildonPickerButton.
7000 * examples/hildon-picker-button-example.c: (main): Example updated.
7002 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7004 * src/hildon-button.c: Updated documentation.
7006 * examples/hildon-button-example.c: Add the posibility to create
7007 the buttons using horizontal layout for title and value.
7009 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7011 * src/hildon-app-menu-private.h
7012 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7013 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7014 GtkSizeGroup for the filters, use the 'homogeneous' property of
7017 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7019 * examples/hildon-button-example.c: Updated example.
7021 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7023 * doc/hildon-docs.sgml:
7026 Update documentation.
7028 * examples/Makefile.am: Update renamed examples.
7030 * examples/hildon-picker-button-multicolumn-example.c:
7031 (create_touch_selector), (main): Update after the rename.
7033 * examples/hildon-touch-picker-example.c: Removed.
7034 * examples/hildon-touch-selector-example.c: (value_changed),
7035 (create_selector), (get_visible_content), (main): Renamed from
7036 hildon-touch-picker-example.c
7038 * src/Makefile.am: Updated renamed files.
7040 * src/hildon-date-button.c: (hildon_date_button_init),
7041 (hildon_date_button_get_date), (hildon_date_button_set_date):
7042 * src/hildon-date-selector.c: (hildon_date_selector_init),
7043 (_custom_print_func), (_update_day_model),
7044 (_manage_selector_change_cb),
7045 (hildon_date_selector_select_current_date),
7046 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7047 * src/hildon-date-selector.h:
7048 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7049 (hildon_picker_button_set_property),
7050 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7051 (hildon_picker_button_init), (hildon_picker_button_new_text),
7052 (hildon_picker_button_append_text),
7053 (hildon_picker_button_prepend_text),
7054 (hildon_picker_button_insert_text),
7055 (hildon_picker_button_set_selector),
7056 (hildon_picker_button_get_selector):
7057 * src/hildon-picker-button.h:
7058 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7059 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7060 (_update_title_on_selector_changed_cb), (requires_done_button),
7061 (_hildon_picker_dialog_set_selector),
7062 (hildon_picker_dialog_set_selector),
7063 (hildon_picker_dialog_get_selector):
7064 * src/hildon-picker-dialog.h:
7065 * src/hildon-time-button.c: (hildon_time_button_init),
7066 (hildon_time_button_get_time), (hildon_time_button_set_time):
7067 * src/hildon-time-selector.c: (hildon_time_selector_init),
7068 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7069 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7070 * src/hildon-time-selector.h:
7073 Massive code updates after the rename.
7075 * src/hildon-touch-picker.c: Removed.
7076 * src/hildon-touch-picker.h: Removed.
7078 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7079 (hildon_touch_selector_init), (hildon_touch_selector_map),
7080 (hildon_touch_selector_remove), (_default_print_func),
7081 (_selection_changed_cb), (_create_new_column),
7082 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7083 (hildon_touch_selector_append_text_column),
7084 (hildon_touch_selector_remove_column),
7085 (hildon_touch_selector_set_column_attributes),
7086 (hildon_touch_selector_insert_column),
7087 (hildon_touch_selector_get_num_columns),
7088 (hildon_touch_selector_get_column_selection_mode),
7089 (hildon_touch_selector_set_column_selection_mode),
7090 (hildon_touch_selector_set_print_func),
7091 (hildon_touch_selector_get_print_func),
7092 (hildon_touch_selector_get_active_iter),
7093 (hildon_touch_selector_set_active_iter),
7094 (hildon_touch_selector_get_selected_rows),
7095 (hildon_touch_selector_get_model),
7096 (hildon_touch_selector_set_model),
7097 (hildon_touch_selector_get_current_text),
7098 (_hildon_touch_selector_center_on_selected_items):
7099 * src/hildon-touch-selector.h: Renamed from
7100 hildon-touch-picker.[ch]
7102 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7103 references, code examples, and related documentation.
7105 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7107 * doc/hildon-docs.sgml
7110 * src/hildon-toggle-button.c
7111 * src/hildon-toggle-button.h
7112 * src/hildon.h: New HildonToggleButton widget.
7114 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7116 * src/hildon-button.c: Add API documentation.
7117 (hildon_button_set_size_groups): Check input parameters
7119 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7121 * src/hildon-pannable-area.c
7122 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7123 effect after reaching the movement thredshold. This way we start
7124 using the distance after passing the thredshold.
7126 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7128 * src/hildon-button.c: (hildon_button_set_property): Use the
7129 appropriate g_value_get_flags() method.
7131 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7133 * doc/hildon-docs.sgml:
7136 Add the touch pickers, picker dialogs, and picker button widgets
7137 to the documentation.
7139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7141 * src/hildon-button.c: (hildon_button_set_property),
7142 (hildon_button_class_init): Make "arrangement-flags" a proper
7143 G_TYPE_FLAGS derived property.
7145 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7147 * examples/Makefile.am: Add below examples.
7148 * examples/hildon-date-button-example.c:
7149 * examples/hildon-picker-button-example.c:
7150 * examples/hildon-picker-button-multicolumn-example.c:
7151 * examples/hildon-time-button-example.c:
7152 * examples/hildon-touch-picker-example.c:
7154 Add examples for the recently added touch pickers,
7155 picker dialogs, and picker button widgets.
7157 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7159 * src/hildon-button.c: Add some API documentation
7161 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7163 * src/hildon-button.h
7164 * src/hildon-button.c
7166 (hildon_button_new_with_text): New constructor to create a button
7167 with no text at all.
7168 (hildon_button_init, hildon_button_set_arrangement)
7169 (hildon_button_set_title, hildon_button_set_value)
7170 (hildon_button_set_text)
7171 (hildon_button_construct_child): Hide the value when it's not used
7172 so the rest of the text is properly aligned.
7173 Allow creating buttons with arbitrary widgets inside (not just
7174 title/value labels).
7176 * examples/hildon-button-example.c (vertical_buttons_window)
7177 (horizontal_buttons_window): Update example to use new API.
7179 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7181 * src/Makefile.am: Added HildonTimeButton.
7182 * src/hildon-time-button.c: Added missing LGPL header.
7183 * src/hildon-time-button.h: Added missing LGPL header.
7184 * src/hildon.h: Add hildon-time-button.h
7186 Copied HildonTimeButton from sandbox to trunk. Future work on this
7187 widget must take place in trunk.
7189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7191 * src/Makefile.am: Added HildonDateButton.
7192 * src/hildon-date-button.c: Update includes.
7193 * src/hildon.h: Add hildon-date-button.h
7195 Copied HildonDateButton from sandbox to trunk. Future work on this
7196 widget must take place in trunk.
7198 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/Makefile.am: Added HildonPickerButton.
7201 * src/hildon-picker-button.h: Update includes.
7202 * src/hildon.h: Add hildon-picker-button.h
7204 Copied HildonPickerButton from sandbox to trunk. Future work on
7205 this widget must take place in trunk.
7207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/Makefile.am: Added HildonPickerDialog.
7210 * src/hildon-picker-dialog.c: Update includes.
7211 * src/hildon.h: Add hildon-picker-dialog.h
7213 Copied HildonPickerDialog from sandbox to trunk. Future work
7214 on this widget must take place in trunk.
7216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7218 * src/Makefile.am: Added HildonTimeSelector.
7219 * src/hildon.h: Add hildon-time-selector.h
7221 Copied HildonTimeSelector widget from sandbox to trunk. Future
7222 work on this widget must happen in trunk.
7224 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7226 * src/Makefile.am: Added HildonDateSelector.
7227 * src/hildon.h: Add hildon-date-selector.h
7229 Copied HildonDateSelector widget from sandbox to trunk. Future
7230 work on this widget must happen in trunk.
7232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7234 * src/Makefile.am: Added HildonTouchPicker.
7235 * src/hildon-touch-picker.c: Update includes.
7236 * src/hildon.h: Add hildon-touch-picker.h
7238 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7239 on this widget must happen in trunk.
7241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7243 * src/hildon-pannable-area.c:
7244 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7246 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7248 * examples/hildon-app-menu-example.c (main): Let the window
7251 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7253 * src/hildon-pannable-area.c
7254 (hildon_pannable_area_class_init): Set the min value of the
7255 overshoot properties to zero, which points out that not
7256 overshooting allowed.
7258 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7260 Modified the procedure to get the widget at a point inside the
7261 pannable area when using the movement type signals. Now the user
7262 has to call a function to get the child, that way we just
7263 calculate the child in case the user really want to use it and not
7266 * src/hildon-marshalers.list: Modified the marshallers, now we do
7267 not have the widget as a parameter.
7269 * src/hildon-pannable-area.c
7270 (hildon_pannable_area_motion_notify_cb),
7271 (hildon_pannable_area_class_init),
7272 (hildon_pannable_get_child_widget_at): Removed the widget
7273 parameter from the signal callback. We have also refactored the
7274 emission of the signals.
7276 * src/hildon-pannable-area.h: Added a new method to the API to
7277 calculate a widget at a point inside the pannable area,
7278 hildon_pannable_get_child_widget_at.
7280 * examples/hildon-pannable-area-example-4.c
7281 (horizontal_movement): Modified the example to use the new API,
7282 added condition to control which widget is under the event. This
7283 way we can avoid scrolling laterally over other widgets.
7285 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7287 * src/hildon-pannable-area.c
7288 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7289 modes, we stop getting the pointer events due to returning the
7290 callback without properly calling the get pointer again. Fixed
7291 also an error using the hscroll and vscroll.
7293 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7295 * src/hildon-app-menu-private.h
7296 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7297 (hildon_app_menu_button_release, hildon_app_menu_init)
7298 (hildon_app_menu_class_init): Don't hide the menu on button
7299 release if the user didn't press outside first.
7301 * src/hildon-window.h
7302 * src/hildon-window.c (hildon_window_toggle_menu)
7303 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7304 hildon_window_toggle_menu a virtual function for the stackable
7305 window to override it.
7307 * src/hildon-stackable-window.h
7308 * src/hildon-stackable-window-private.h
7309 * src/hildon-stackable-window.c
7310 (hildon_stackable_window_realize)
7311 (hildon_stackable_window_finalize)
7312 (hildon_stackable_window_class_init)
7313 (hildon_stackable_window_init)
7314 (hildon_stackable_window_set_main_menu): New function to set the
7315 app menu of a HildonStackableWindow.
7317 * examples/hildon-app-menu-example.c: Remove the button to show
7318 the app menu, now it'll be shown when clicking on the title bar
7321 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7323 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7324 set the widget name if the arrangement flags do not specify
7327 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7329 * src/hildon-button.c: (hildon_button_set_property),
7330 (hildon_button_class_init), (hildon_button_new_full),
7331 (hildon_button_set_arrangement): Added "arrangement-flags"
7334 Make the HildonButtonFlags a construction-only property, to allow
7335 subclasses to set them properly.
7337 2008-07-21 Tim Janik <timj@imendio.com>
7339 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7340 insertion position after backspace, so additional digits are appended,
7343 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7345 * src/hildon-pannable-area.c,
7346 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7347 TODO list, it was complete and removed the g_debug and g_print
7350 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7352 Added the movement modes to the hildon-pannable-area, with this
7353 modes the developers can control in which directions the widget
7354 can scroll. They can also connect to signals in order to do
7355 something when that happens, allowing applications scroll. There
7356 is an example uploaded showing how to use it.
7358 * examples/Makefile.am:
7359 * examples/hildon-pannable-area-example-4.c: Added this example of
7360 an application using the modes.
7362 * src/hildon-marshalers.list: Added a new marshaller for the new
7365 * src/hildon-pannable-area.h: Added new enumerations and flags in
7366 order to control the movement modes and the new signals to warn
7367 about the movements in the area.
7369 * src/hildon-pannable-area.c:
7370 (hildon_pannable_axis_scroll),
7371 (hildon_pannable_area_scroll),
7372 (hildon_pannable_area_motion_notify_cb),
7373 (hildon_pannable_area_get_property),
7374 (hildon_pannable_area_set_property),
7375 (hildon_pannable_area_map),
7376 (hildon_pannable_area_class_init),
7377 (hildon_pannable_area_init),
7378 (hildon_pannable_area_jump_to): Added the modes to control the
7379 movement in the widget. We have added properties to control it,
7380 signals to warn about the movements and refactored some code.
7382 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7384 Changes required in order to allow vfast_factor set to zero to
7387 * src/hildon-pannable-area.c:
7388 (hildon_pannable_area_button_press_cb): Changed the condition, it
7389 is required for not allowing click when vfast_factor is zero.
7390 (hildon_pannable_area_timeout): Initialized velocity variables
7391 when we stop moving, it was less than 1 but not zero and we need
7392 to check zero in some situations.
7393 (hildon_pannable_area_class_init): Changed the default value of
7394 the speed factor, now the button_press is just sent in case the
7395 speed is 2 per cent of the max speed.
7396 (hildon_pannable_area_init): Initialization with 0.
7398 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7400 * src/hildon-pannable-area.c,
7401 (hildon_pannable_area_get_topmost): replaced
7402 gdk_window_get_children with gdk_window_peek_children, this way we
7403 do not have to free the list because it is not a copy.
7405 (hildon_pannable_axis_scroll),
7406 (hildon_pannable_area_scroll),
7407 (hildon_pannable_area_timeout),
7408 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7409 two parameters that were only used inside the
7410 hildon_pannable_area_scroll function.
7412 * examples/hildon-pannable-area-example.c,
7413 (get_sawtooth_label): Fixed small memory leak.
7415 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7417 More checks for the case where the overshoot is bigger than the
7420 * src/hildon-pannable-area.c:
7421 (hildon_pannable_draw_vscroll),
7422 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7423 to draw the slider of the scrollbar under the other scrollbar.
7424 (hildon_pannable_area_expose_event): added new checks to control
7425 the drawing of the overshooting area rectangle, in case it is too
7426 big for the area of the widget.
7427 (hildon_pannable_area_size_allocate): add more checks to avoid
7428 setting a position to the child widget outside the area.
7430 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7432 * src/hildon-pannable-area.c
7433 (hildon_pannable_area_size_allocate): Added conditions to control
7434 when overshooting is bigger than the allocated space for the
7435 children, this avoids negative allocations.
7437 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7439 * doc/hildon-docs.sgml
7441 * examples/Makefile.am
7442 * examples/hildon-button-example.c
7444 * src/hildon-button.c
7445 * src/hildon-button.h
7446 * src/hildon.h: Initial version of the new HildonButton widget,
7449 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7451 * src/hildon-pannable-area.c:
7452 (hildon_pannable_area_button_press_cb),
7453 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7454 (hildon_pannable_area_motion_notify_cb),
7455 (hildon_pannable_area_button_release_cb),
7456 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7457 (hildon_pannable_area_jump_to_child):
7459 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7461 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7463 * examples/Makefile.am
7464 * examples/hildon-pannable-area-touch-grid-example.c
7465 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7466 the Hildon Touch List and Hildon Touch Grid using the
7467 HildonPannableArea widget.
7469 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7471 * src/hildon-pannable-area.c,
7472 (hildon_pannable_area_button_press_cb),
7473 (hildon_pannable_area_refresh),
7474 (hildon_pannable_area_scroll),
7475 (hildon_pannable_area_motion_notify_cb),
7476 (hildon_pannable_area_button_release_cb),
7477 (hildon_pannable_area_expose_event),
7478 (hildon_pannable_area_add),
7479 (hildon_pannable_area_remove),
7480 (hildon_pannable_area_realize),
7481 (hildon_pannable_area_size_allocate),
7482 (hildon_pannable_area_class_init),
7483 (hildon_pannable_area_init),
7484 (hildon_pannable_area_scroll_to_child),
7485 (hildon_pannable_area_jump_to_child): Fixed the problem of
7486 removing the child from the GtkBin, we have rearranged the widget
7487 hierarchy, now there is no GtkAlignment which was not doing
7488 anything interesting but breaking some of the assumptions of
7489 GtkContainer. Now developers if they want to add a GtkAlignment
7490 they could, but it is not inside the area.
7492 We had to review the whole allocation/expose process, now it is
7493 improved and we save at least three signals which would be saving
7494 some time when rendering the widget. The allocation of the
7495 scrollbars is now made in the allocate method as usual.
7497 We have also added some conditions in order to control when there
7498 is no child of the pannable area. Maybe we will need more work
7501 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7503 * src/hildon-pannable-area.c,
7504 (hildon_pannable_area_dispose): Released the fade-out timeout when
7505 disposing the widget.
7507 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7509 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7510 zero, we are going to use that property in order to deactivate the
7512 (hildon_pannable_axis_scroll),
7513 (hildon_pannable_area_size_allocate): Added conditions to control
7514 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7515 call, now it is called in all situations and we can remove calls
7516 in the allocate method.
7517 (hildon_pannable_area_map): Control the situation when
7518 overshoot_max is zero, we do not need the timeout.
7519 (hildon_pannable_area_class_init): Added documentation in order to
7520 point out that setting zero to overshoot_max means deactivate
7523 NOTE: removed trailing whitespaces from my previous comments of
7526 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-pannable-area.c
7529 (hildon_pannable_area_get_property),
7530 (hildon_pannable_area_set_property),
7531 (hildon_pannable_area_map),
7532 (hildon_pannable_area_class_init),
7533 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7534 to cause the widget give a hint about its panning abilities upon
7537 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7539 * src/hildon-pannable-area.c: Several documentation improvements.
7541 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7543 * src/hildon-program.c
7544 * src/hildon-stackable-window.c: Update documentation.
7546 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7548 * src/hildon-stackable-window.c (get_previous_window_if_last):
7549 Renamed get_last_window()
7550 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7551 (hildon_stackable_window_unset_program):
7553 (get_previous_window_if_last):
7554 Detect if the window hasn't been added to a HildonProgram.
7556 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7558 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7560 * src/hildon-pannable-area.c
7561 (hildon_pannable_area_button_press_cb),
7562 (hildon_pannable_axis_scroll),
7563 (hildon_pannable_area_scroll),
7564 (hildon_pannable_area_timeout),
7565 (hildon_pannable_calculate_vel_factor),
7566 (hildon_pannable_area_get_property),
7567 (hildon_pannable_area_set_property),
7568 (hildon_pannable_area_class_init),
7569 (hildon_pannable_area_init),
7570 (hildon_pannable_area_scroll_to),
7571 (hildon_pannable_area_jump_to),
7572 (hildon_pannable_area_scroll_to_child),
7573 (hildon_pannable_area_jump_to_child):
7574 * src/hildon-pannable-area.h: Added the new API functions:
7575 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7576 hildon_pannable_area_scroll_to_child,
7577 hildon_pannable_area_jump_to_child
7580 * examples/Makefile.am
7581 * examples/hildon-pannable-area-example-2.c
7582 * examples/hildon-pannable-area-example-3.c: Added these two new
7583 examples in order to test and show how the new APIs work.
7585 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7587 * examples/hildon-stackable-window-example.c (new_window):
7588 * src/Makefile.am (noinst_HEADERS):
7589 * src/hildon-program.c (hildon_program_go_to_root_window):
7590 * src/hildon-program.h:
7591 * src/hildon-stackable-window-private.h:
7592 * src/hildon-stackable-window.c:
7593 * src/hildon-stackable-window.h:
7594 Create hildon-stackable-window-private.h
7595 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7597 * examples/hildon-app-menu-example.c (create_menu):
7598 * examples/hildon-hvolumebar-insensitive-example.c (main):
7599 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7600 * examples/hildon-toolbar-seekbar-example.c (main):
7601 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7602 * src/hildon-banner.c (hildon_banner_set_property):
7603 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7604 Fix compilation warnings
7606 * src/hildon-window.c:
7609 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7611 * src/hildon-stackable-window.c
7612 (hildon_stackable_window_unset_program):
7613 Calculate correctly whether to show the previous window if the
7614 last one is removed from the stack.
7615 (hildon_stackable_window_go_to_root_window):
7616 Send delete events starting from the topmost window.
7617 Stop if one of the windows is not destroyed.
7619 (hildon_stackable_window_delete_event)
7620 (hildon_stackable_window_class_init):
7621 Ignore the delete event if the window is not the topmost one.
7623 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7625 * src/hildon-pannable-area.c
7626 (hildon_pannable_area_expose_event): Fixed a problem when
7627 selecting the background color of the scrollbars.
7629 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7631 * examples/hildon-stackable-window-example.c
7632 * src/hildon-stackable-window.c
7633 * src/hildon-stackable-window.h
7634 hildon_stackable_window_go_home() renamed to
7635 hildon_stackable_window_go_to_root_window()
7636 Send delete events to windows rather than closing them with
7637 gtk_widget_destroy()
7639 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7641 * src/hildon-pannable-area.c
7642 (hildon_pannable_area_button_release_cb): Fix overshooting in
7645 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7647 * src/hildon-pannable-area.c
7648 (hildon_pannable_area_init): Initially show the scroll indicators.
7649 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7651 Add initial effect showing the widget is pannable.
7653 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7655 * src/hildon-pannable-area.c
7656 (hildon_pannable_area_class_init)
7657 (hildon_pannable_area_set_property)
7658 (hildon_pannable_area_get_property)
7659 (hildon_pannable_area_button_press_cb):
7660 New 'velocity_fast_factor' property to decide which velocity is
7663 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7665 * src/hildon-pannable-area.c
7666 (hildon_pannable_draw_hscroll)
7667 (hildon_pannable_draw_vscroll):
7668 Use float variables to calculate the size of the scrollbars to
7669 avoid error propagation and resizing during scrolling.
7671 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-pannable-area.c
7674 (hildon_pannable_draw_vscroll)
7675 (hildon_pannable_draw_hscroll):
7676 Define a minimum size for the scroll bars
7678 * src/hildon-stackable-window.c
7679 (hildon_stackable_window_go_home): Fix compilation warning
7680 (get_last_window): Minor optimizations
7681 (hildon_stackable_window_class_init): Fix initialization of
7684 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7686 * src/hildon-stackable-window.c: Fixed typos in doc
7688 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7690 * src/hildon-pannable-area.c
7691 (hildon_pannable_area_scroll):
7692 Calculate here whether we need to scroll instead of using the booleans
7693 that tell us whether to /draw/ the scrolling bars.
7695 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7697 * src/hildon-app-menu.h
7699 * src/hildon-app-menu.c
7700 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7701 multiple filter groups related code and API. Now we support only
7703 * examples/hildon-app-menu-example.c:
7705 Update to reflect API changes.
7707 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7709 * src/hildon-stackable-window.c
7710 (hildon_stackable_window_class_init):
7711 Add hildon_stackable_window_realize.
7712 (hildon_stackable_window_realize):
7713 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7714 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7715 to apply theming and behavior specific to HildonStackableWindow
7718 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7720 * src/hildon-note.c (hildon_note_button_release):
7721 Close information notes also when tapping on them
7723 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7725 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7726 ELASTICITY, refactor and review, fix some issues with drawing
7729 * src/hildon-pannable-area.c:
7730 (hildon_pannable_area_button_press_cb): removed the conditions to
7731 avoid clicks when overshooting. It is not required
7733 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7734 define. Refatored and reviewed the code, now we do not need to
7735 manage velocity in motion_notify.
7737 (hildon_pannable_area_motion_notify_cb): We have moved the code
7738 that controls the area_scroll to the axis_scroll function and get
7739 rid of duplicated code.
7741 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7743 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7745 (hildon_pannable_draw_vscroll),
7746 (hildon_pannable_draw_hscroll): Fixed the problems with the
7747 scrollbar drawing, now we do not use two surfaces, it is easier
7748 and saves resources.
7750 (hildon_pannable_area_get_property): Style modification.
7752 (hildon_pannable_area_class_init): Changed some default values.
7754 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7756 * src/hildon-stackable-window.c: Fix some typos in the
7759 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7761 * src/hildon-dialog.c:
7762 Change indentation style
7765 (hildon_note_button_release):
7766 Use root coordinates to check if the release event happened
7769 * src/hildon-app-menu.c
7770 (hildon_app_menu_button_release):
7771 Remove unnecessary check
7773 * examples/hildon-app-menu-example.c
7775 Add cast to fix warning
7777 * src/hildon-app-menu.c
7778 (hildon_app_menu_class_init):
7779 New inner-border style property.
7780 Set all default spacings to 16
7781 (hildon_app_menu_init):
7782 Use vertical-spacing to set the space between filter buttons and
7783 regular menu buttons.
7784 Set the default container border using the inner-border value.
7786 * examples/hildon-app-menu-example.c
7788 Don't set the menu border explicitly, now we have the inner-border
7789 style property for that.
7791 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7793 * src/hildon-app-menu.c (hildon_app_menu_init):
7794 Make the window modal
7796 * src/hildon-note.c (hildon_note_map)
7797 * src/hildon-app-menu.c (hildon_app_menu_map):
7798 Destroy the grab window if we're unable to grab the pointer
7800 * src/hildon-app-menu-private.h
7801 * src/hildon-app-menu.c
7802 (hildon_app_menu_init, hildon_app_menu_finalize)
7803 (hildon_app_menu_map, hildon_app_menu_unmap)
7804 (hildon_app_menu_button_release)
7805 (grab_transfer_window_get):
7806 Bring back the grab window
7807 (hildon_app_menu_realize):
7808 Decorate the window, set WM hint for Matchbox
7810 * src/hildon-note.c (hildon_note_realize):
7811 * src/hildon-banner.c (hildon_banner_realize):
7812 Add WM hints for Matchbox
7814 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7816 * src/hildon-app-menu-private.h
7817 * src/hildon-app-menu.c
7818 (hildon_app_menu_init, hildon_app_menu_finalize)
7819 (hildon_app_menu_map, hildon_app_menu_unmap)
7820 (hildon_app_menu_button_release):
7821 Remove the grab window, it's not needed anymore
7823 * src/hildon-program.c
7824 Fixed typo in documentation
7826 * src/hildon-app-menu.h
7827 * src/hildon-app-menu.c
7828 * examples/hildon-app-menu-example.c
7829 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7831 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7834 Added new transfer_window and close_if_pressed_outside private
7836 (hildon_note_rebuild):
7837 Don't add a cancel button to the information note. It will be
7838 closed when tapping outside
7839 Remove the comment about the OK button in the documentation
7840 (hildon_note_realize):
7841 Set the notification type hint
7842 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7843 Grab/ungrab pointer and keyboard if the note has to be closed when
7845 (hildon_note_button_release):
7846 Close the note when tapping outside (if applicable)
7848 * src/hildon-app-menu.c
7849 Grab/ungrab pointer and keyboard on map/unmap
7850 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7851 Close the menu on button release, not button press
7853 * src/hildon-banner.c
7854 (hildon_banner_set_property)
7855 (hildon_banner_check_position):
7856 Make the banner use the full width of the screen
7857 (hildon_banner_show_information)
7858 (hildon_banner_show_information_with_markup):
7859 Don't display an icon by default
7861 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7863 Added fading scrollbars and adapted all the overshooting code to
7864 horizontal scrolling. We have also fixed bugs with overshooting
7865 and current fading implementation.
7867 * src/hildon-pannable-area.c
7868 (hildon_pannable_area_scroll_indicator_fade): Time out function
7869 used to change the transparency of the scrollbars.
7871 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7872 control and fixed a problem with fading, we now remove the fade
7873 timeout before adding a new one.
7875 (hildon_pannable_axis_scroll):
7876 (hildon_pannable_area_scroll):
7877 (hildon_pannable_area_timeout): Added this functions so we can use
7878 the scroll code both for vertical and horizontal.
7880 (hildon_pannable_area_motion_notify_cb):
7881 (hildon_pannable_area_button_release_cb): Added the horizontal
7882 scrolling control, fixed a problem with the overshooting timeout.
7884 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7885 painting of the scrolls.
7887 (hildon_pannable_draw_vscroll):
7888 (hildon_pannable_draw_hscroll):
7889 (hildon_pannable_area_expose_event):
7890 Draw both scrollbars and rectangles in the overshooting area.
7892 (hildon_pannable_area_get_property):
7893 (hildon_pannable_area_set_property):
7894 Modified the overshoot property to overshoot_max
7896 (hildon_pannable_area_map):
7897 Replaced the comments symbols.
7899 (hildon_pannable_area_size_allocate):
7900 (hildon_pannable_area_class_init):
7901 (hildon_pannable_area_init): Added horizontal scroll, fading
7902 effect properties, fixed a problem when overshooting in the bottom
7905 * examples/hildon-pannable-area-example.c:
7906 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7907 looks better in the example.
7909 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7911 * src/hildon-window.c
7912 * src/hildon-window.h
7913 (hildon_window_class_init)
7914 (hildon_window_unset_program)
7915 (hildon_window_unset_program_real):
7916 Make unset_program a virtual function
7918 * src/hildon-stackable-window.c
7919 * src/hildon-stackable-window.h
7920 Added hildon_stackable_window_go_home()
7922 * examples/Makefile.am
7923 * examples/hildon-stackable-window-example.c
7924 HildonStackableWindow example
7926 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7928 * hildon-pannable-area.c: Added the overshoot property and removed
7929 the OVERSHOOT define. Fixed an indent style error.
7930 (hildon_pannable_area_motion_notify_cb):
7931 (hildon_pannable_area_get_property):
7932 (hildon_pannable_area_set_property): Add overshoot property.
7934 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7937 (hildon_pannable_area_class_init): Installed the new property.
7939 * hildon-pannable-area-example.c: Added a sawtooth function, this
7940 way it is easier to check the movement in the pannable.
7941 (get_sawtooth_label): Added this function.
7942 (main): Now we get the labels from the new get_sawtooth_label
7945 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7947 * src/hildon-app-menu.h
7948 * src/hildon-app-menu.c
7949 Renamed API variables for consistency
7951 (hildon_app_menu_popup): Use also the default window size to
7952 decide where to place the menu
7954 (hildon_app_menu_init, hildon_app_menu_class_init): New
7955 external-border style property
7957 2008-05-26 Michael Natterer <mitch@imendio.com>
7959 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7960 widget_class->tap_and_hold_setup signal slot doesn't exist any
7961 longer, stop overriding it.
7963 (hildon_time_editor_init): g_signal_connect() to the
7964 tap-and-hold-setup signal instead.
7966 (hildon_time_editor_entry_keypress): add cast to fix warning.
7968 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7970 * doc/hildon-docs.sgml
7972 * examples/Makefile.am
7973 * examples/hildon-app-menu-example.c
7975 * src/hildon-app-menu-private.h
7976 * src/hildon-app-menu.c
7977 * src/hildon-app-menu.h
7979 New HildonAppMenu widget
7981 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7983 Rearranged the inheritance of the pannable area, now it inherits
7984 from GtkBin. This will allow us to control the event_window and
7985 the allocation process of the widget, required for some effects.
7987 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7988 GtkBin structures. * src/hildon-pannable-area.c: Added the
7989 event_window variable.
7990 (hildon_pannable_area_button_press_cb):
7991 (hildon_pannable_area_button_release_cb):
7992 (hildon_pannable_area_motion_notify_cb):
7993 Changed the signature of the method, now we override the event
7994 callback instead of connecting to the signal.
7996 (hildon_pannable_area_realize):
7997 (hildon_pannable_area_unrealize):
7998 (hildon_pannable_area_map):
7999 (hildon_pannable_area_unmap):
8000 (hildon_pannable_area_size_allocate):
8001 Added functions to control the widget construction. We add a
8002 INPUT_ONLY window and we put it over the widgets inside the
8003 container, this event_window handles the events.
8005 (hildon_pannable_area_class_init):
8006 Replaced the signal connections with overrides of the event
8009 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8011 Bouncing effect added when touching the borders, you can change
8012 the elasticity of the border changing the ELASTICITY define.
8014 * src/hildon-pannable-area.c: Added ELASTICITY define.
8015 (hildon_pannable_area_timeout): Added inverse velocity when
8016 touching the border of the child widget, that causes a bounce.
8018 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8020 Improved performance, we now do not go to the X server in order to
8021 get the list of window children. Apparently the effect is the
8022 same, we have to be careful and check if this breaks something in
8025 * src/hildon-pannable-area.c:
8026 (get_ordered_children): Removed this function.
8027 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8028 the children windows function with gdk_window_get_children.
8030 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8032 * src/hildon-pannable-area.c:
8033 (hildon_pannable_area_dispose): Fixed a crash when closing the
8034 window and kinetics is activated.
8036 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8038 * src/hildon-pannable-area.h
8039 * src/hildon-pannable-area.c
8040 Changed indentation style to meet the one used in Hildon
8042 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8044 Reviewed the interaction of the AUTO mode, now we use the time
8045 attribute of the events and calculate the velocity in the motion,
8046 doing a gimp like calculation. The velocity is calculated in each
8047 motion event using the last velocity and the current one, the
8048 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8050 * src/hildon-pannable-area.c: Replaced the time based algorithm
8052 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8053 timeout for the AUTO mode when we are still moving the cursor. We
8054 added also the velocity calculation in this function.
8055 (hildon_pannable_area_button_release_cb): launch the timeout in
8056 case we are in AUTO mode. There are still some constants here that
8057 come from the old implementation that should be reviewed and
8060 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8062 * doc/hildon-docs.sgml
8065 * src/hildon-stackable-window.c
8066 * src/hildon-stackable-window.h
8068 New HildonStackableWindow widget
8070 * examples/hildon-dialog-example.c
8071 * examples/hildon-pannable-area-example.c
8074 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8076 * src/hildon-dialog.c
8077 (hildon_dialog_new_with_buttons): New constructor.
8079 * examples/hildon-dialog-example.c
8080 (main): Update the example to use the new
8081 hildon_dialog_new_with_buttons().
8083 * examples/hildon-pannable-area-example.c
8084 (main): Update example.
8086 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8088 * doc/hildon-docs.sgml
8090 Added HildonPannableArea to the documentation.
8092 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8094 * doc/visual_index.xml
8095 Fix reference to HildonLoginDialog in documentation
8097 * doc/hildon-docs.sgml
8099 * examples/Makefile.am
8100 * examples/hildon-dialog-example.c
8102 * src/hildon-dialog.c
8103 * src/hildon-dialog.h
8105 New HildonDialog widget.
8107 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8109 * src/hildon-pannable-area.c
8110 Merge latest changes (r4318, r4342) from libmokoui trunk
8112 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8114 * examples/Makefile.am
8115 * examples/hildon-pannable-area-example.c
8117 * src/hildon-pannable-area.c
8118 * src/hildon-pannable-area.h
8120 New HildonPannableArea widget.
8122 2008-04-15 18:05:19 <timj@imendio.com>
8124 * src/hildon-banner.c: revert the recent change, that introduced
8125 gtk_window_present() calls. this reopens:
8126 Bug 78481 - [freetest] information banners are hidden under browser menu
8127 But resolves another variant of:
8128 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8130 2008-04-15 13:21:13 <timj@imendio.com>
8132 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8133 recreated its layout, spotted by Kris. this fixes all remaining
8134 artefacts and stability issues with the banner code. in particular:
8135 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8137 2008-04-14 16:52:59 <timj@imendio.com>
8139 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8140 operating on unrealized widgets, fixes:
8141 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8143 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8145 2008-04-09 Kristian Rietveld <kris@imendio.com>
8147 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8148 makes banner disappear.
8149 Fixes: NB#79182: info banner flickering with certain message lengts.
8151 * src/hildon-banner.c (hildon_banner_constructor),
8152 (hildon_banner_init), (hildon_banner_set_text),
8153 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8154 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8155 FALSE, reset size requests of label and banner,
8156 (force_to_wrap_truncated): when the text is too wide, always enforce
8157 the maximum possible width instead of recalculating it from the
8158 layout; enforce the maximum banner height of 3 lines,
8159 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8160 nicer wrapping and no truncated chars if space gets tight.
8162 * src/hildon-banner-private.h: add has_been_wrapped and
8163 has_been_truncated fields.
8165 2008-04-07 Sven Herzberg <sven@imendio.com>
8167 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8168 local values in hildon_date_editor_size_allocate
8170 * src/hildon-date-editor.c: moved the real allocation code into the
8173 2008-04-07 Sven Herzberg <sven@imendio.com>
8175 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8176 local values in hildon_date_editor_size_allocate
8178 * src/hildon-date-editor.c: merged the two if() branches together
8180 2008-04-07 Sven Herzberg <sven@imendio.com>
8182 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8183 local values in hildon_date_editor_size_allocate
8185 * src/hildon-date-editor.c: changed the arguments of the if()
8188 2008-04-07 Sven Herzberg <sven@imendio.com>
8190 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8191 local values in hildon_date_editor_size_allocate
8193 * src/hildon-date-editor.c: split the calculation of the allocation
8194 from the real allocation
8196 2008-03-27 Michael Natterer <mitch@imendio.com>
8198 Fixes: NB#81696: The passcode is not overwritten even after
8201 * src/hildon-code-dialog.c
8202 (hildon_code_dialog_button_clicked)
8203 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8204 because that doesn't overwrite selected text. Instead, emit the
8205 "commit" signal on the entry's im_context so the entry's normal
8206 insert logic is triggered. Set the cursor to the end of the entry
8207 after each insert operation so that we *only* insert in the middle
8208 of the text if something was selected.
8210 2008-03-27 Michael Natterer <mitch@imendio.com>
8212 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8213 selector cannot be opened
8215 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8216 when the popup color selector is created. Please connect to this
8217 signal in order to set the dialog's help ID.
8219 2008-03-25 Sven Herzberg <sven@imendio.com>
8221 Fixes: MB#1212: Hide info banners (infoprints) on click
8223 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8224 extracted the close event simulation into an extra function
8225 (hildon_banner_button_press_event): simulate a close event and destroy
8226 the widget if the event wasn't handled
8227 (hildon_banner_class_init): added the button_press_event handler
8228 (hildon_banner_init): added button-press events to the widget
8230 2008-03-25 Sven Herzberg <sven@imendio.com>
8232 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8233 Patch from: Mohammad Anwari <mdamt@maemo.org>
8235 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8236 instead of the right in RTL mode
8237 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8238 breadcrumb button list in RTL mode
8239 * src/hildon-caption.c: mirror the appearance of the caption widget in
8241 * src/hildon-date-editor.c: mirror appearance of the date editor in
8243 * src/hildon-time-editor.c: mirror appearance of the time editor in
8245 * src/hildon-window.c: fix the position of the popup in RTL mode
8247 2008-03-25 Sven Herzberg <sven@imendio.com>
8249 Amendment to the fix of NB#22072. Fix compilation.
8251 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8253 2008-03-19 Sven Herzberg <sven@imendio.com>
8255 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8258 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8259 timeout id properly when the timeout will disappear this leaves no
8260 artifacts around in the destroy(); there will only be the timeout
8261 created by hildon_banner_ensure_timeout() and adding a new timeout
8262 will also work if the timeout gets removed because the timeout_handler
8265 2008-03-19 Michael Natterer <mitch@imendio.com>
8267 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8269 * src/hildon-volumebar.c
8270 * src/hildon-vvolumebar.c
8271 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8272 the widget becomes focussable at all.
8274 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8275 set the focus to wither the mute button or the volumebar.
8277 Remove own "can-focus" property and instead listen to
8278 notify::can-focus in order to update the widget's state.
8280 Implement GtkWidget::focus() and make sure we can also *leave* the
8281 widget, not only enter it, depending on volumebar orientation and
8282 requested focus direction.
8284 Clean up set_mute() to cooperate nicely with all the above.
8286 2008-03-04 Michael Natterer <mitch@imendio.com>
8288 Fixes: NB#78481: information banners are hidden under browser menu
8290 * src/hildon-banner.c: call gtk_window_present() on the banners so
8291 they are risen if they are already visible.
8293 2008-03-03 Sven Herzberg <sven@imendio.com>
8295 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8297 * examples/hildon-window-menu-example.c: (main): extended the window
8298 menu example to serve as a testcase for automatically added
8299 accelerator groups, too
8300 * src/hildon-window.c: (hildon_window_add_accel_group),
8301 (hildon_window_set_menu): added patch by Tommi Komulainen
8303 2008-03-03 Sven Herzberg <sven@imendio.com>
8305 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8307 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8308 knowledge about the border allocators used within GTK+
8310 2008-02-26 Sven Herzberg <sven@imendio.com>
8312 Fixes: MB#2981: Build with asserts broken
8314 * src/hildon-date-editor.c,
8315 * src/hildon-number-editor.c,
8316 * src/hildon-time-editor.c,
8317 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8318 the proper GType instance check
8320 2008-02-25 Sven Herzberg <sven@imendio.com>
8322 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8324 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8325 * examples/hildon-window-menu-example.c: (main): explicitly show
8327 * src/hildon-window.c:
8328 (hildon_window_set_main_menu): moved most of the code from set_menu()
8329 to this place; skipped the call to gtk_widget_show_all(); also didn't
8330 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8331 (hildon_window_set_menu): removed most of the code, just keep the
8332 questionable gtk_widget_show_all()
8333 * src/hildon-window.h: added the new function and deprecate the old
8336 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8342 * debian/changelog: Updating.
8344 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8347 * pkgconfig/Makefile.am:
8348 * pkgconfig/hildon.pc.in:
8351 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8352 use newly created API_MAJOR_VERSION.
8354 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8360 * debian/changelog: Updating.
8362 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8364 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8366 Add outer_border style property, we use it but don't define it (!).
8370 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8372 * examples/hildon-bread-crumb-trail-example.c (main):
8376 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8378 Fix logic for the bread crumb trail node removal.
8382 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8388 * debian/changelog: Updating.
8390 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8392 Patch by Alejandro to get/set passwords dialogs accesibility.
8394 * hildon-1/src/hildon-get-password-dialog.c:
8395 * hildon-1/src/hildon-set-password-dialog.c:
8396 Set atk_set_name to the passwd entries in order to allow
8397 accessibility by name on this entries.
8399 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * debian/control: Updating gtk dep.
8406 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8408 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8409 USE_MAEMO_GTK is enabled.
8411 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8413 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8414 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8416 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8422 * debian/changelog: Updating.
8424 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8426 * examples/Makefile.am:
8427 * examples/hildon-logical-color-example.c:
8428 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8429 applied + adding a test case. Fixes: NB#71660.
8431 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8433 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8434 to be visible, fixes warning on map for windows without toolbars.
8436 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8438 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8439 2.11.0, add a check for that besides the MAEMO_GTK check.
8441 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8447 * debian/changelog: Updating.
8449 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8451 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8452 visibility. Fixes: NB#70842 and MB#615.
8454 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8456 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8457 set the separator as no-show-all so it doesn't unintentionally appear when
8458 someone does a show_all.
8460 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8462 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8463 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8464 toplevel item. Fixes: NB#62031
8466 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8468 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8469 fix the name of the function in the docs.
8471 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8477 * debian/changelog: Updating.
8479 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * examples/hildon-banner-long-example.c: Adding a test-case for long
8484 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8486 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * src/hildon-color-chooser-dialog.c:
8489 * src/hildon-color-chooser.c:
8490 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8491 memory leaks in font selector and color selector. Fixes: NB#70499 and
8494 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8496 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8498 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8501 little bit bigger. Fixes: #NB63694.
8503 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * debian/changelog: Updating.
8511 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8514 * doc/hildon-docs.sgml:
8515 * doc/images/bread-crumb-trail.png:
8516 * doc/images/calendar-popup.png:
8517 * doc/images/caption.png:
8518 * doc/images/code-dialog.png:
8519 * doc/images/color-button.png:
8520 * doc/images/color-chooser-dialog.png:
8521 * doc/images/color-chooser.png:
8522 * doc/images/controlbar.png:
8523 * doc/images/date-editor.png:
8524 * doc/images/font-selection-dialog.png:
8525 * doc/images/get-password-dialog.png:
8526 * doc/images/hvolumebar.png:
8527 * doc/images/login-dialog.png:
8528 * doc/images/note.png:
8529 * doc/images/number-editor.png:
8530 * doc/images/range-editor.png:
8531 * doc/images/seekbar.png:
8532 * doc/images/set-password-dialog.png:
8533 * doc/images/sort-dialog.png:
8534 * doc/images/time-editor.png:
8535 * doc/images/time-picker.png:
8536 * doc/images/vvolumebar.png:
8537 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8538 Adding the bread-crumb-trial and helpers to the documentation.
8540 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8542 * examples/hildon-find-toolbar-example.c:
8543 * src/hildon-find-toolbar.c:
8544 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8545 actually continue firing the other handlers if connected. Adding a new
8547 hildon_find_toolbar_get_last_index that gets the index of the most
8548 recently added (last) item. Fixes: NB#52301.
8550 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8553 behaviour. Fixes: NB#68610.
8555 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8560 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8563 when realizing the banner. Should make the infonbanner effect a bit more
8566 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-volumebar.c:
8569 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8570 hildon_volumebar_set_range_insensitive_message and
8571 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8573 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8575 * src/hildon-window.c: Fixing the border freeing on destroy.
8577 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-code-dialog-private.h:
8580 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8581 kw keyboard support in HildonCodeDialog.
8583 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * debian/changelog: Updating.
8591 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8593 * src/hildon-date-editor.c:
8594 * src/hildon-number-editor.c:
8595 * src/hildon-private.c:
8596 * src/hildon-private.h:
8597 * src/hildon-time-editor.c:
8598 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8599 handling in subclassed composite widgets. Fixes: NB#66628.
8601 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8604 from destroy_ callback as it introduces problems in async dbus signal
8605 handlers. Fixes NB#66673.
8607 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * examples/hildon-hvolumebar-example.c:
8610 * src/hildon-volumebar.c: Improving the focus handling in the
8611 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8612 set_property accessor so that "mute" property can be actually set. I'm
8613 scared that nobody noticed it's totally broken.
8615 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8620 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * src/hildon-calendar.c:
8623 * src/hildon-number-editor.c:
8624 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8625 matches the spec of 6 chars per second. Fixes: NB#60489.
8627 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8629 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8630 gtk_style_lookup_color sometime returns FALSE even though color was
8631 found and values were filled properly. Weird. Removing the warning for the
8634 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8637 expand vertically. Adding some extra space to the find toolbar buttons to
8638 make them thumbable. Fixes NB#66060.
8640 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8643 popup with "Ok" and "Cancel". Fixes NB#59299.
8645 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8647 * src/hildon-calendar.c: Process all window updates before executing next
8648 timeout. Fixes: NB#54146.
8650 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * debian/changelog: Updating.
8658 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8660 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8661 the client event and ignore it, since we use the delete event to close
8664 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * src/hildon-helper.c: Remove the bogus warning about color not being
8667 found. Fixes NB#58352.
8669 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * examples/Makefile.am:
8672 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8673 HildonSeekbar widget inside a toolbar.
8675 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8677 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8678 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8679 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8680 don't want to be closed by non-temporary windows on map.
8682 Also use G_DEFINE_TYPE instead of manually typed code.
8684 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * debian/rules: Updating.
8693 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * examples/Makefile.am:
8696 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8697 bug NB#61128. Strangely it works.
8699 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-date-editor.c: When the date editor entry has been changed
8702 but the numbers of characters < max, turn off the skip validation flag.
8703 Prevents a situation when we enter first a valid year and later re-write
8704 it with an invalid one. Fixes NB#60154.
8706 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8708 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8709 code dialog. Fixes NB#64355.
8711 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8714 switching the page. Fixes NB#49374.
8716 * examples/Makefile.am:
8717 * examples/hildon-wizard-dialog-example.c: Adding an example for
8718 HildonWizardDialog that shows how to handle manual sensitivity setting on
8721 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * src/hildon-version.h.in:
8726 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8728 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * src/hildon-volumebar.c: Updating the docs.
8732 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * debian/changelog: Updating.
8740 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * src/hildon-find-toolbar.c:
8743 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8744 selected item: hildon_find_toolbar_set_active,
8745 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8746 hildon_find_toolbar_get_active_iter . They correspond to respective
8747 GtkComboBox functions.
8749 * examples/Makefile.am:
8750 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8753 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8755 * examples/Makefile.am:
8756 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8759 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8760 when font size > 32 and we pack a focusable widget inside. Actually using
8761 the default response would work too, but since we don't show default
8762 response state in any way (no theming) it would not be visible to the
8763 user. Fixes NB#63430.
8765 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * src/hildon-date-editor.c: Adding the missing variable setter in the
8768 set_property handler. Fixes NB#54182.
8770 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-window.h: Changing the long key press time from 1500ms to
8773 800ms as requested in NB#63700. I have a bad feeling about this, let's
8774 see... Fixes NB#63700.
8776 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8778 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8779 hildon_time_picker_map, hildon_time_picker_realize,
8780 hildon_time_picker_style_set): Split the contents of map to more
8781 appropriate functions; set window decorations on realize and update
8782 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8784 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8789 * debian/changelog: Updating.
8791 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8793 * src/Makefile.am: fixed installation of the header files
8795 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * debian/changelog: Updating.
8803 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * configure.ac: Removing some remaining of --enable-xan.
8807 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8809 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8810 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8812 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8813 2.10.12-osso6 because the move-focus signal needs to be available in
8816 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * examples/Makefile.am:
8819 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8820 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8821 fine. Prolly NB#61128 is fixed now.
8823 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * src/hildon-volumebar.c:
8826 * src/hildon-volumebar.h: Adding the
8827 hildon_volumebar_set_range_insensitive_message and
8828 hildon_volumebar_set_range_insensitive_messagef functions to set
8829 insensitive message on the slider of the volumebar. Fixes NB#61129.
8831 * examples/Makefile.am:
8832 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8833 test the new insensitive messsage functionality on HildonVolumebar.
8835 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8837 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8840 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8842 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8843 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8844 button on after clearing the trail.
8846 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8850 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8852 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8853 by splitting the installed headers in generated and non-generated groups. Use
8854 only the non-generated headers to create the hildon-enum-types.h file.
8856 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8858 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * src/hildon-window.c: Hide the window before performing the destroy.
8861 Should make the app closing a little tiny bit more snappy.
8863 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8865 * src/hildon-seekbar.c: add gtkrange.h header
8866 * src/hildon-caption.c: remove unused variable
8868 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8870 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8873 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * debian/changelog: Updating.
8881 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8883 * src/hildon-window.c (hildon_window_window_state_event,
8884 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8885 escape timeout on focus-out-event rather than notify::is-topmost; the
8886 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8888 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8891 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8893 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8895 * src/hildon-window: actually, you need to use the macro always, there's
8896 no private pointer in the instance structure. We should have cleaned this up
8897 when we had the chance...
8899 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8901 * src/hildon-window.c: do not get the private date from HildonWindow before
8902 it passes the g_return_if_fail check. Once it's passed the test, there's no
8903 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8904 if you are only going to access the data once. Whitespace cleanups.
8906 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8908 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8909 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8911 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8917 * debian/changelog: Updating.
8919 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-window.c: When destroying the window, remove (if exists) the
8922 escape timeout handler. Fixes #NB59276.
8924 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * src/hildon-banner.c: When realizing the widget, set the window
8927 transiency. Setting the transiency in the gobject constructor is not
8928 good, as the widget is not realized at that point. Fixes: #NB56624.
8930 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8932 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8933 Add padding for future expansions.
8935 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8937 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8938 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8939 will fake an activation on the previous to the last item of the trail, so
8940 the effect can be overrided by the developer as usual.
8941 Also change the callback for the back button to do the same thing, so its
8942 effect can be overrided too. Fixes: NB#58982
8944 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8947 HildonCaption. Fixes NB#52379.
8949 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8951 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8952 the internal state of the trail after the user has had the chance of executing
8953 his handler for the signal. Specifically, it may happen that the activated button
8954 is removed and the user still lets the default handler run. This would segfault
8957 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8960 scrollbar to the preview dialog. Fixes NB#54147.
8962 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8965 max/min year properties can be altered, so the client can modify it
8966 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8968 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8971 hildonlike by default. Fixing a problem with disappearing arrows when
8972 scrolling through months and years. Fixes NB#54127.
8974 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8976 * examples/hildon-date-editor-example.c: Adding error callback to the date
8979 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * configure.ac: Updating.
8987 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * configure.ac: Adding a special '--enable-xan' configure option that
8990 turns off the -Werror compilation setting. Usefull for development.
8992 * src/hildon-calendar.c:
8993 * src/hildon-number-editor.c:
8994 * src/hildon-time-picker.c: Adding the 5* multiplier to
8997 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8999 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9000 instead of g_object_ref + gtk_object_sink.
9002 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * debian/changelog: Updating.
9010 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * src/hildon-color-chooser-dialog.c:
9013 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9014 straight from Tommi labs.
9016 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * examples/hildon-finger-example.c: Correcting the header file path.
9020 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9021 the changed signal. Fixes a small memory leak.
9023 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-banner.c: Importing several usefull fixes from the
9028 ubuntu-mobile branch.
9030 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * examples/Makefile.am:
9033 * examples/hildon-finger-example.c: Adding a finger-checking code
9036 * src/hildon-font-selection-dialog.c: Do not allocate the color
9037 structure using the g_new. Fixes NB#54061.
9039 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * src/hildon-helper.c: Correcting tabs in file.
9043 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9045 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9046 control the visibility of the children.
9048 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9050 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * debian/changelog: Updating.
9058 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9060 * src/hildon-bread-crumb-trail.c:
9061 (hildon_bread_crumb_trail_size_allocate):
9063 Make the back button always a square.
9065 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9067 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9068 from the .c file as it's a private file.
9070 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9073 uses slightly bigger height.
9075 * src/hildon-font-selection-dialog.c: Adding some checks before
9076 freeing memory in the font selection dialog.
9078 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * src/hildon-font-selection-dialog.c: Adding a small check when
9083 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9084 buttons sensitivity on page switching.
9086 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9088 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9089 internal details of adding a bread crumb to the trail.
9091 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * debian/changelog: Updating.
9099 * src/hildon-bread-crumb-trail.h:
9100 * src/hildon-bread-crumb.h: Changing the API guard to
9101 HILDON_ENABLE_UNSTABLE_API.
9103 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-helper.h: Updating.
9113 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * src/hildon-helper.h: Small fix to make the package actually compile.
9127 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9129 * src/hildon-bread-crumb-trail.h:
9130 * src/hildon-bread-crumb.h:
9132 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9133 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9135 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9137 * examples/hildon-bread-crumb-trail-example.c:
9139 * src/hildon-bread-crumb-trail.c:
9140 * src/hildon-bread-crumb-trail.h:
9141 * src/hildon-bread-crumb.c:
9142 * src/hildon-bread-crumb.h:
9143 * src/hildon-marshalers.list:
9144 * src/hildon-bread-crumb-widget.c:
9145 * src/hildon-bread-crumb-widget.h:
9147 Slight change in the widget design. The bread crumb trail API is
9148 unchanged, but HildonBreadCrumb is now an interface. A *private*
9149 implementation, hildon-bread-crumb-widget, is provided and used
9150 internally by the trail for the push_text/push_icon functions.
9152 The generic push API is still available, so anyone can implement
9153 and use its own bread crumb widget.
9155 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * debian/rules: Fixing the shlibs.
9159 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * src/hildon-banner.c: Fixing a problem with timed banners having
9162 their parrent destroyed before they are.
9164 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9166 * src/hildon-bread-crumb.c:
9167 * src/hildon-bread-crumb.h:
9169 Make the get_natural_size function a vfunc.
9171 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9173 * src/hildon-bread-crumb.c:
9174 * src/hildon-bread-crumb-trail.c:
9178 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * debian/changelog: Updating for release.
9187 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9189 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9190 don't leak the pango layout.
9192 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9195 * examples/hildon-bread-crumb-trail-example.c:
9199 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 * debian/changelog: Removing the bug-fixed entries that were actually
9202 resolved as WONTFIX.
9204 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9207 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-bread-crumb-trail.c:
9210 * src/hildon-bread-crumb-trail.h:
9211 * src/hildon-bread-crumb.c:
9212 * src/hildon-bread-crumb.h:
9216 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9218 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9219 until it's passed the type check.
9221 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9223 * examples/hildon-bread-crumb-trail-example.c
9227 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9229 * examples/Makefile.am
9230 * examples/hildon-bread-crumb-trail-example.c
9232 * src/hildon-bread-crumb-trail.c
9233 * src/hildon-bread-crumb-trail.h
9234 * src/hildon-bread-crumb.c
9235 * src/hildon-bread-crumb.h
9237 New HildonBreadCrumbTrail widget.
9239 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9241 * src/hildon-range-editor.c (hildon_range_editor_init),
9242 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9243 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9244 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9245 hildon_time_editor_class_init, hildon_time_editor_init),
9246 src/hildon-get-password-dialog.c (invalid_input,
9247 hildon_get_password_set_property, hildon_get_password_get_property,
9248 create_contents, hildon_get_password_dialog_set_max_characters),
9249 src/hildon-set-password-dialog.c (create_contents),
9250 src/hildon-date-editor.c (hildon_date_editor_init),
9251 src/hildon-login-dialog.c (hildon_login_dialog_init),
9252 src/hildon-number-editor.c (hildon_number_editor_init),
9253 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9254 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9255 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9256 configure option and adding the respective checks in the code.
9257 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9258 hildon_calendar_drag_data_received): fixed some build warnings.
9260 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * debian/changelog: A 1.0.0 release notes.