1 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
4 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
5 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
6 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
7 (hildon_pannable_area_[gs]et_center_on_child_focus)
8 Redefined GtkContainer set-focus-child signal, in order to center
9 properly on a child when it receives the focus. Defined a new property
10 "center-on-child-focus" in order to activate this feature (deactivated
11 by default). Public get/set methods defined to manage the property.
13 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
15 2009-07-14 László Pere <lpere@blumsoft.eu>
17 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
18 the new size is applied.
20 Fixes: NB#124510 (The Application Menu is distorted when switched
21 between portrait and landscape mode)
22 Fixes: NB#115388 (Power key menu does not resize itself)
24 2009-07-01 Alberto Garcia <agarcia@igalia.com>
26 * hildon/hildon-banner.c (hildon_banner_map):
27 Set banner position after mapping.
29 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
31 * configure.ac: postrelease version bump.
32 * debian/changelog: post release version bump
34 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
39 * configure.ac: Bump version.
40 * debian/changelog: Updates.
42 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
44 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
47 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
49 * tests/check-hildon-banner.c
52 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
53 were testing deprecated functions.
54 * examples/hildon-banner-example.c: typo on button3 type, that causes
55 a fail compiling with --with-examples but without --disable-deprecated
57 Missed commit in order to fix compilation using '--enable-fatal' and
58 '--disable-deprecated' (see previous commit)
60 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
62 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
63 functions with #ifndef HILDON_DISABLE_DEPRECATED
64 * examples/hildon-find-toolbar.c: Protect deprecated
65 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
66 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
67 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
68 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
70 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
71 to allow proper compilation of deprecated functions defined on the header
73 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
75 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
78 Cache the panning indicator color.,
79 (hildon_pannable_area_style_set): Query the color on style changes.
80 (hildon_pannable_draw_vscroll),
81 (hildon_pannable_draw_hscroll),
82 (hildon_pannable_area_expose_event): Use the cached panning indicator
83 color instead of looking it up on every expose and more.
85 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
87 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
88 (hildon_pannable_draw_hscroll),
89 (hildon_pannable_area_expose_event): Fix the panning indicator color,
90 so that it's "SecondaryTextColor", as desired.
92 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
94 * hildon/hildon-picker-dialog.c:
95 (selection_completed): take into account HILDON_UI_MODE_NORMAL
96 * hildon/hildon-touch-selector.c
97 (hildon_touch_selector_init): Initialize hildon-ui-mode
98 (hildon_touch_selector_row_activated): new callback for the
99 "row-activated" signal, in order to save the last activated
100 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
101 if the current hildon-ui-mode is coherent with the touch selector
102 (hildon_touch_selector_class_init)
103 (hildon_touch_selector_get_property)
104 (hildon_touch_selector_set_property)
105 Added "hildon-ui-mode" property
106 (disconnect_model_handlers): renamed to clean_column
107 (hildon_touch_selector_remove): use clean_column function
108 (_create_new_column): use the hildon-ui-mode to create the treeview, and
109 only select the first element on HILDON_UI_MODE_EDIT
110 (hildon_touch_selector_column_init): Initialize last_activate
111 (hildon_touch_selector_append_column): check that the touch selector
112 is coherent with the current hildon-ui-mode
113 (hildon_touch_selector_get_hildon_ui_mode)
114 (hildon_touch_selector_set_hildon_ui_mode)
115 Added a getter/setter for the hildon-ui-mode property
116 (hildon_touch_selector_get_last_activated_row): Added this method in
117 order to get the last activated row.
118 * examples/hildon-touch-selector-normal-mode-example.c
119 New example, that shows how to use the HildonTouchSelector in
120 HILDON_UI_MODE_NORMAL
122 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
123 Kristian Rietveld <kris@lanedo.com> advices
125 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
127 * hildon/hildon-time-selector.c: (update_format_policy): Do
128 not call update_format_dependant_columns() if not necessary.
129 (update_format_dependant_columns): Remove unnecessary check for
130 the number of columns.
132 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
134 * hildon/hildon-note.c (+hildon_note_constructor),
135 (hildon_note_class_init), (+hildon_note_set_padding),
136 (hildon_note_rebuild): Install a constructor where to set the
137 padding properties in the note, so that it actually works fine.
138 Use hildon_note_set_padding() for this, and also to set it during
141 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
143 * configure.ac: Bump GTK+ requirement to 2.14.3.
144 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
145 when using maemo-gtk to define proper margins for the notes.
147 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
148 with the dialog edge)
150 2009-06-24 Alberto Garcia <agarcia@igalia.com>
152 * hildon/hildon-banner.c
153 (hildon_banner_class_init):
155 (+hildon_banner_size_request):
156 Request always the full width of the screen.
157 (hildon_banner_realize)
158 (-hildon_banner_check_position, hildon_banner_map):
159 hildon_banner_check_position() is not needed in Hildon 2.2.
160 (-hildon_banner_reset_wrap_state)
161 (hildon_banner_constructor, hildon_banner_init):
162 Remove unnecessary calls to hildon_banner_reset_wrap_state()
163 (+banner_do_set_text)
164 (force_to_wrap_truncated):
165 Remove has_been_wrapped and has_been_truncated attributes.
166 (+reshow_banner, hildon_banner_real_show_information)
167 (hildon_banner_show_information_with_markup)
168 (hildon_banner_show_animation, hildon_banner_show_progress)
169 (hildon_banner_set_text, hildon_banner_set_markup):
170 Refactor code. Shrink banner vertically to use the minimum space
171 necessary everytime the text of the label is updated.
172 (screen_size_changed):
173 Call force_to_wrap_truncated() when the size of the screen
176 Fixes: NB#120500 (only device memory connect mmc in use info
177 banner is left aligned)
179 Fixes: NB#120613 (Size of HildonBanner varies depending on
180 previously opened banners)
182 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
184 * hildon/hildon-color-chooser.c
185 (hildon_color_chooser_pointer_motion): Take the widget allocation
188 Fixes: NB#124385 (Unable to select exact point in color mixing box
189 in color palette dialog)
191 2009-06-23 Alejandro G. Castro <alex@igalia.com>
193 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
194 (hildon_pannable_area_dispose)
195 (hildon_pannable_area_button_press_cb)
196 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
197 (hildon_pannable_area_button_release_cb)
198 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
199 New 'panning-started' and 'panning-finished' signals.
201 Fixes: NB#121732 (New feature request: Signal to pannable area
202 that informs when panning is stopped.)
204 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
206 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
207 instead of hardcoded colon.
209 Fixes: NB#124090 (New calendar wizard title is not using
210 ecdg_ti_caption_separator)
212 2009-06-22 David King <davidk@openismus.com>
214 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
215 constants and functions, as well as correct many typos throughout the
218 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
221 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
223 * configure.ac: postrelease version bump.
224 * debian/changelog: post release version bump
226 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
231 * configure.ac: Bump version.
232 * debian/changelog: Updates.
234 2009-06-18 Alberto Garcia <agarcia@igalia.com>
236 * hildon/hildon-window-stack.c
237 (hildon_window_stack_pop_and_push_list):
238 Prevent windows from having the same stack index
240 2009-06-18 Alberto Garcia <agarcia@igalia.com>
242 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
243 Use the index of the previous window rather than the stack length
244 to calculate the new index.
248 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
250 * hildon/hildon-date-selector.c
251 (hildon_date_selector_select_current_date)
252 (hildon_date_selector_get_date)
253 (hildon_date_selector_select_day):
254 Update the documentation: uses always the range (1-31), as it is obvious
255 that the final one will depend on the month and the year, but globally
256 the range is this, in a similar GtkCalendar approach
257 (hildon_date_selector_get_date):
258 Update the documentation: add NULL as a valid value for the day, month
261 Fix some details, after talk with David King on bug MB#4698
263 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
265 * hildon/hildon-touch-selector-entry.c
266 * hildon/hildon-touch-selector.c
267 Update the documentation of the "text-column" property
269 2009-06-18 David King <davidk@openismus.com>
271 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
272 several typos and errors throughout the documentation.
274 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
277 2009-06-18 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-note.c (hildon_note_realize):
280 Make HildonNote support portrait mode.
282 Fixes: NB#123448 (HildonNote is not portrait-friendly)
284 2009-06-17 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
287 Document this function
289 2009-06-17 David King <davidk@openismus.com>
291 * hildon/hildon-date-selector.c
292 (hildon_date_selector_select_current_date)
293 (hildon_date_selector_get_date): Update documentation regarding days,
294 as the day of the month is dependent on both the month and the year.
295 (hildon_date_selector_get_date): Fix documentation of output arguments.
297 Fixes: MB#4698 (DateSelector documentation has bad output argument
298 description, and the day depends on both the month and the year)
300 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
302 * hildon/hildon-caption.c: Other documentation fixes to
305 2009-06-17 David King <davidk@openismus.com>
307 * hildon/hildon-caption.c: Minor documentation updates for
308 HildonCaption. Fixes MB#4697.
310 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
312 * doc/hildon-docs.sgml: Add hildon-version section.
313 * doc/hildon-sections.txt:
314 * hildon/hildon-version.h.in: Document versioning macros and
317 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
319 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
320 from HildonPickerDialog section.
322 2009-06-16 Alberto Garcia <agarcia@igalia.com>
324 * hildon/hildon-banner.c (hildon_banner_bind_style)
325 (screen_size_changed, hildon_banner_init)
326 (hildon_banner_real_show_information)
327 (hildon_banner_show_information_with_markup)
328 (hildon_banner_show_animation, hildon_banner_show_progress):
329 Set a different widget name to banners in portrait mode, for them
330 to be themed correctly.
332 2009-06-16 Alberto Garcia <agarcia@igalia.com>
334 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
335 Set a different widget name to notes in portrait mode, for them to
338 Partially fixes: NB#118401 (HildonNote causes unnecessary
341 2009-06-16 Alberto Garcia <agarcia@igalia.com>
343 * hildon/hildon-note.c (hildon_note_class_init)
344 (+hildon_note_size_request, screen_size_changed):
345 Always request the full width of the screen.
347 Fixes: NB#118375 (unnecessary rescaling of images)
349 2009-06-16 Alejandro G. Castro <alex@igalia.com>
351 * hildon/hildon-pannable-area.c,
352 (hildon_pannable_area_init),
353 (hildon_pannable_area_realize): Replaced old code adding flags in
354 the object init, now we add it with the other flags in the realize
357 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
359 * hildon/hildon-note.c: (hildon_note_class_init): Several
360 documentation improvements to the HildonNote widget.
362 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
364 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
366 Fixes: MB#4556 (HildonNoteType is undocumented)
368 2009-06-15 Alberto Garcia <agarcia@igalia.com>
370 * hildon/hildon-picker-button.c:
371 Explain how HildonPickerButton sets the title of its dialog
373 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
374 the title of its dialog)
376 2009-06-15 Alberto Garcia <agarcia@igalia.com>
378 * hildon/hildon-check-button.c:
379 Documentation updates
381 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
384 2009-06-15 Alberto Garcia <agarcia@igalia.com>
387 * hildon/hildon-edit-toolbar-private.h
388 * hildon/hildon-edit-toolbar.c
389 (+hildon_edit_toolbar_set_progress_indicator)
390 (hildon_edit_toolbar_init): Add progress indicator to the
393 * hildon/hildon-gtk.c
394 (hildon_gtk_window_set_progress_indicator):
395 If the window contains a HildonEditToolbar, enable the progress
398 * hildon/hildon-private.h
399 * hildon/hildon-private.c
400 (+hildon_private_create_animation)
401 * hildon/hildon-banner.c
402 (-hildon_banner_create_animation):
403 Moved to hildon-private.c
405 Fixes: NB#102373 (Progress indicator also for the Edit mode
408 2009-06-15 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-app-menu-private.h
411 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
412 (hildon_app_menu_add_filter, +menu_item_button_event)
413 (hildon_app_menu_button_release, hildon_app_menu_init):
414 Make sure that buttons receive 'button-release-event' in spite of
415 the grab held by HildonAppMenu
417 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
419 2009-06-15 Alberto Garcia <agarcia@igalia.com>
421 * hildon/hildon-app-menu.c
422 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
423 New style property to set the size of the group of filter buttons.
425 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
427 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
432 * configure.ac: Bump version.
433 * debian/changelog: Updates.
435 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
437 * hildon/hildon-main.c: Minor documentation fixes.
439 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
441 * doc/hildon-sections.txt:
442 * hildon/hildon-defines.h: Document the defines, organize them,
443 and mark deprecations as such.
445 Fixes: MB#4463 (Hildon size #defines are undocumented)
447 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-animation-actor.c:
450 * hildon/hildon-app-menu.c:
451 * hildon/hildon-button.c:
452 * hildon/hildon-date-editor.c:
453 * hildon/hildon-dialog.c:
454 * hildon/hildon-edit-toolbar.c:
455 * hildon/hildon-entry.c:
456 * hildon/hildon-program.c:
457 * hildon/hildon-remote-texture.c:
458 * hildon/hildon-stackable-window.c:
459 * hildon/hildon-text-view.c:
460 * hildon/hildon-touch-selector.c:
461 * hildon/hildon-window-stack.c:
462 * hildon/hildon-window.c:
464 Remove redundant "represents" wording from most of the documentation.
466 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
468 2009-06-12 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-banner-private.h
474 * hildon/hildon-banner.c:
475 Move HildonBannerPrivate to hildon-banner.c and remove
476 hildon-banner-private.h
477 Use a bit field to store private booleans.
479 2009-06-12 Alberto Garcia <agarcia@igalia.com>
481 * hildon/hildon-app-menu.c (hildon_app_menu_map):
482 Don't install a new idle function if there's already one
487 2009-06-11 Alberto Garcia <agarcia@igalia.com>
489 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
490 (+legacy_menu_realized, +legacy_menu_unmapped)
491 (+set_legacy_menu_type):
492 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
493 they can be identified by the window manager.
495 Fixes: NB#101437 (Invoking CSM on the left side of page area is
496 displayed in wrong location)
498 Fixes: MB#4563 (Popup menu won't locate at the left side of the
501 2009-06-11 Alberto Garcia <agarcia@igalia.com>
503 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
505 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
508 2009-06-11 Alberto Garcia <agarcia@igalia.com>
510 * hildon/hildon-code-dialog.c
511 * hildon/hildon-date-editor.c
512 * hildon/hildon-number-editor.c
513 * hildon/hildon-seekbar.c
514 * hildon/hildon-stackable-window.c
515 * hildon/hildon-window.c:
516 Misc documentation updates
518 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
520 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
521 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
523 Fixes: NB#117931 (Theming issues in accounts dialogs)
525 2009-06-09 Alejandro G. Castro <alex@igalia.com>
527 * hildon/hildon-pannable-area.c,
528 (hildon_pannable_area_button_release_cb): Changed the coordinates
529 of the original release in case we want to discard the release,
530 some widgets in Fremantle do not handle the leave-notify.
532 2009-06-09 Alejandro G. Castro <alex@igalia.com>
534 * hildon/hildon-pannable-area.c,
535 (hildon_pannable_area_button_release_cb): Reviewed the logic of
536 the release using the last refactored functions and avoiding the
537 movement if an element was selected.
539 2009-06-09 Alejandro G. Castro <alex@igalia.com>
541 * hildon/hildon-pannable-area.c,
542 (hildon_pannable_area_check_move),
543 (hildon_pannable_area_handle_move),
544 (hildon_pannable_area_motion_notify_cb): Refactored the
545 motion_notify method using a couple of new functions.
547 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
549 * hildon/hildon-date-selector.c:
550 (hildon_date_selector_construct_ui):
551 * hildon/hildon-time-selector.c:
552 (hildon_time_selector_constructor):
553 * hildon/hildon-touch-selector-entry.c:
554 (hildon_touch_selector_entry_set_text_column),
555 (hildon_touch_selector_entry_get_text_column):
556 * hildon/hildon-touch-selector.c: (_default_print_func),
557 (hildon_touch_selector_new_text): Use
558 hildon_touch_selector_set/get_text_column() instead of
559 setting/getting the "text-column" property.
561 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
563 * doc/hildon-sections.txt: Add the new public methods below.
565 * examples/hildon-picker-button-multicolumn-example.c:
566 (create_touch_selector):
567 * examples/hildon-touch-selector-example.c: (create_selector):
568 * examples/hildon-touch-selector-multi-cells-example.c:
570 Use hildon_touch_selector_column_set_text_column()
572 * hildon/hildon-touch-selector-column.h:
573 * hildon/hildon-touch-selector.c:
574 (hildon_touch_selector_column_set_text_column),
575 (hildon_touch_selector_column_get_text_column):
576 Make hildon_touch_selector_column_set/get_column() public, use
577 them in the inline example, document them, and reference to them
580 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
582 * hildon/hildon-time-selector.c: Fix the docs for
583 hildon_time_selector_new_step().
585 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
587 * hildon/hildon-touch-selector.c: Improve the documentation for
588 hildon_touch_selector_append_column().
590 Fixes MB#4641 (Documentation:
591 hildon_touch_selector_append_column() ref-counting)
593 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
595 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
596 Comment out test 5, since the hildon_controlbar_set_range() range
597 check is broken and fixing it would have side effects. Also,
598 this finally fixes make distcheck.
600 Fixes: NB#101420 (Update unit tests and fix make distcheck)
602 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
604 * tests/TEST-CASES.txt: Remove other bogus test.
605 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
606 Remove bogus test that was setting/retrieving a valid value.
608 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
610 * tests/TEST-CASES.txt: Remove bogus tests.
611 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
612 Remove three bogus tests that were actually setting valid colors.
614 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
616 * configure.ac: post release version bump
617 * debian/changelog: post release version bump
619 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
624 * configure.ac: Bump version.
625 * debian/changelog: Updates.
627 2009-06-08 Christian Dywan <christian@lanedo.com>
631 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
632 Correct errors in hildon_format_file-size_for_display and use
633 translations from the hildon-fm package instead of osso-filemanager.
635 2009-06-08 Alejandro G. Castro <alex@igalia.com>
637 * hildon/hildon-pannable-area.c,
638 (hildon_pannable_area_init): Initialized new values to handle the
640 (hildon_pannable_area_adjust_value_changed): Check if the values
641 changed before even call the redraw function.
642 (hildon_pannable_area_size_allocate),
643 (hildon_pannable_axis_scroll),
644 (hildon_pannable_area_scroll),
645 (hildon_pannable_area_jump_to): Improved the diagonal movement
648 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
651 2009-06-08 Alberto Garcia <agarcia@igalia.com>
653 * examples/hildon-banner-example.c:
654 Several style updates
655 (on_animation_clicked, on_animation_idle)
656 (on_progress_clicked, on_progress_idle):
657 Add additional reference for the cases when the parent window is
660 2009-06-08 Alberto Garcia <agarcia@igalia.com>
662 * doc/hildon-sections.txt
663 * hildon/hildon-pannable-area.c
664 * hildon/hildon-banner.h
665 * hildon/hildon-banner.c: Documentation updates.
667 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
670 2009-06-05 Alejandro G. Castro <alex@igalia.com>
672 * hildon/hildon-calendar-popup.h:
673 * hildon/hildon-caption.h:
674 * hildon/hildon-code-dialog.h:
675 * hildon/hildon-controlbar.h:
676 * hildon/hildon-date-editor.h:
677 * hildon/hildon-dialog.h:
678 * hildon/hildon-get-password-dialog.h:
679 * hildon/hildon-hvolumebar.h:
680 * hildon/hildon-login-dialog.h:
681 * hildon/hildon-note.h:
682 * hildon/hildon-number-editor.h:
683 * hildon/hildon-range-editor.h:
684 * hildon/hildon-seekbar.h:
685 * hildon/hildon-set-password-dialog.h:
686 * hildon/hildon-sort-dialog.h:
687 * hildon/hildon-time-editor.h:
688 * hildon/hildon-time-picker.h:
689 * hildon/hildon-volumebar-range.h:
690 * hildon/hildon-volumebar.h:
691 * hildon/hildon-vvolumebar.h:
692 * hildon/hildon-weekday-picker.h:
693 * hildon/hildon-window.h:
694 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
695 macros with the current replacements
697 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
699 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-color-button.c (hildon_color_button_init): Use
702 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
703 itself, to make it fit better with Fremantle style.
705 Fixes: NB#109878 (height and width of focus on color icon is not
706 consistent with other item in the application tool bar)
708 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
710 * hildon/hildon-touch-selector.c:
711 (hildon_touch_selector_optimal_size_request): use the current requisition
712 as the base, in order to include any possible extra widget, like the
713 hildon entry on HildonTouchSelectorEntry
715 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
717 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: post release version bump
720 * debian/changelog: post release version bump
722 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
727 * configure.ac: Bump version.
728 * debian/changelog: Updates.
730 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
732 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
734 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
735 to ensure the banner contents are centered, instead of relying on
736 the expand and fill properties in GtkHBox.
737 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
739 Fixes: NB#108265 (Animation banner not properly centered)
741 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
743 * hildon/hildon-pannable-area.c
744 (hildon_pannable_area_initial_effect): Remove the initial_effect
745 management, check initial_hint
746 (hildon_pannable_are_expose_event): Remove the initial_hint management,
747 set initial_effect to FALSE
748 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
749 by launching the fade_timeout if the scrollbars state has changed and are
751 * examples/hildon-pannable-area-initial-hint-example.c
752 Modified to allow to remove rows too. Add and remove rows one by one.
754 2009-05-28 Alberto Garcia <agarcia@igalia.com>
756 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
757 Don't close the menu if there's an animation actor below it.
759 Fixes: NB#117927 (Application menu not usable with animation
762 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
764 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
765 "focus-on-click" from the dialog button, to avoid stealing the
766 focus from the entry.
768 Fixes: NB#118903 (Account setup wizard: Text in Search field
769 should be focused when "Region" touch list picker is reopened
772 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
774 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
775 (prepare_action_area): Completely hide the dialog separator.
777 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
779 * hildon/hildon-touch-selector-entry.c
780 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
781 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
782 now that the entry is exposed.
784 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
786 * hildon/hildon-touch-selector-entry.c
787 (hildon_touch_selector_entry_init): Change the entry's size
788 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
790 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
792 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
793 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
794 avoid unnecessary scaling.
796 2009-05-27 Alberto Garcia <agarcia@igalia.com>
798 * hildon/hildon-app-menu.c (hildon_app_menu_map):
799 Create grab transfer window before calling parent's map function.
801 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
802 "crushed" button(s) in the top left corner)
804 2009-05-26 Alberto Garcia <agarcia@igalia.com>
806 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
807 Check if the window is already realized when pushing it.
809 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
811 * configure.ac: post release version bump
812 * debian/changelog: post release version bump
814 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
819 * configure.ac: Bump version.
820 * debian/changelog: Updates.
822 2009-05-25 Alberto Garcia <agarcia@igalia.com>
824 * hildon/hildon-app-menu.c: Doc updates.
826 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
828 * hildon/hildon-banner.c: Remove leftover macro.
830 2009-05-25 Alejandro G. Castro <alex@igalia.com>
832 * hildon/hildon-pannable-area.c,
833 (hildon_pannable_area_scroll_indicator_fade),
834 (hildon_pannable_area_button_release_cb): Reviewed vmin
835 conditions, it could cause problems in the fadeout procedure.
837 2009-05-25 Alejandro G. Castro <alex@igalia.com>
839 * hildon/hildon-pannable-area.c
840 (hildon_pannable_area_button_release_cb): Added a threshold to
841 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
843 2009-05-25 Alejandro G. Castro <alex@igalia.com>
845 * hildon/hildon-pannable-area.c,
846 (hildon_pannable_area_set_property): Added code to sync the gtk
847 dnd threshold with the panning threshold.
849 2009-05-25 Alejandro G. Castro <alex@igalia.com>
851 * hildon/hildon-pannable-area.c,
852 (hildon_pannable_area_class_init): Changed some of the default
853 values, now it should be less responsive and more accurate.
855 2009-05-25 Alejandro G. Castro <alex@igalia.com>
857 * hildon/hildon-pannable-area.c,
858 (hildon_pannable_area_init),
859 (hildon_pannable_area_scroll_indicator_fade),
860 (hildon_pannable_area_button_press_cb),
861 (hildon_pannable_axis_scroll),
862 (hildon_pannable_area_timeout),
863 (hildon_pannable_area_motion_notify_cb),
864 (hildon_pannable_area_button_release_cb): Changed the name of the
865 clicked attribute to button_pressed, it is more clear about its use.
867 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
869 * src/hildon-pannable-area.c
870 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
872 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
873 vertical scrollbar visibility, and use the data on private section instead,
874 remove the initial_hint check
875 (hildon_pannable_area_expose_event): add the initial_hint check here
877 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
879 * src/hildon-pannable-area.c
880 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
881 if the fadeout effect was used
882 (hildon_pannable_area_expose_event): check if it is required to
883 manage the initial effect on the begining of the function. Previously
884 it was made at the end, but this doesn't ensure that the scrollbars
885 will be painted on the first show. Do not set to FALSE initial_effect,
886 to ensure that the initial hint is showed the first time the pannable
888 * examples/Makefile.am
889 * examples/hildon-pannable-area-initial-hint-example.c:
890 New example, to show that the initial-hint is showed when the widget
893 Fixes: NB#116607 (Pannable area should always have scrollbar visible
894 initially if the application can be scrolled)
896 2009-05-25 Alberto Garcia <agarcia@igalia.com>
898 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
899 Resize table before adding new items to make sure that
900 gtk_table_resize() is called just once.
902 2009-05-25 Alberto Garcia <agarcia@igalia.com>
904 * hildon/hildon-app-menu-private.h
905 * hildon/hildon-app-menu.c (item_visibility_changed)
906 (filter_visibility_changed, hildon_app_menu_show_all)
907 (hildon_app_menu_hide_all, hildon_app_menu_init):
908 Rearrange items just once when gtk_widget_show_all()/hide_all()
911 2009-05-25 Alberto Garcia <agarcia@igalia.com>
913 * hildon/hildon-app-menu.c
914 (hildon_app_menu_insert, hildon_app_menu_add_filter):
915 Don't call gtk_widget_show() on added items.
917 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
918 automatically when they're added)
920 2009-05-20 Alberto Garcia <agarcia@igalia.com>
922 * hildon/hildon-banner.c
923 (hildon_banner_realize, +hildon_banner_unrealize)
924 (+screen_size_changed, hildon_banner_class_init):
925 Redisplay the banner if the screen is rotated.
927 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
928 on transition from landscape to portrait)
930 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
932 * hildon/hildon-banner.[ch]:
933 (hildon_banner_show_information_override_dnd): remove icon_name from the
934 method definition as it is ignored.
935 * examples/hildon-banner-dnd-example.c: updated with the change on
938 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
940 * hildon/hildon-banner-private.h: new require_override_dnd and
941 overrides_dnd variables
942 * hildon/hildon-banner.h:
943 (hildon_banner_show_information_override_dnd): new method, that shows
944 the information but sets the override flag, in order to show important
946 * hildon/hildon-banner.c
947 (hildon_banner_show_information_override_dnd): new method
948 (hildon_banner_set_override_flag): new utility function
949 (hildon_banner_real_show_information): new utility function, in order to
950 generalize the current hildon_banner_show_information_override_dnd and
951 hildon_banner_show_information_override_dnd
952 * examples/Makefile.am
953 * examples/hildon-banner-dnd-example.c: New example that show how to
954 use the new hildon_banner_show_information_override_dnd
956 Fixes: NB#114874 (There is no possibility to show hildon banners with
959 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
961 * hildon/hildon-pannable-area.c: Add a comment explaining the math
962 behind hildon_pannable_calculate_vel_factor().
964 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
966 * hildon/hildon-pannable-area.c
967 (hildon_pannable_calculate_vel_factor): Correct the sum of the
968 deceleration factors.
970 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
972 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
973 Reduce the default value for 'scroll_time' to 1 second, since the
974 current initial scrolling takes too much time.
976 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
978 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
979 calculate velocity factor during initialization, since the properties
982 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-pannable-area.c
985 (hildon_pannable_area_set_property): Calculate the velocity factor
986 after setting the deceleration property and not after.
988 2009-05-20 Alberto Garcia <agarcia@igalia.com>
990 * hildon/hildon-entry.c
991 (hildon_entry_class_init, +set_property, hildon_entry_new)
992 * hildon/hildon-check-button.c
993 (hildon_check_button_class_init)
994 (+set_property, hildon_check_button_new):
995 Make the theme size a property.
997 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
998 others) do too much in the _new function)
1000 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1002 * configure.ac: post release version bump
1003 * debian/changelog: post release version bump
1005 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1010 * configure.ac: Bump version.
1011 * debian/changelog: Updates.
1013 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1015 * hildon/hildon-gtk.h
1016 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1017 New API function to take a screenshot of a window
1019 Fixes: NB#106374 (Need API to take a loading screenshot)
1021 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1023 * hildon/hildon-time-selector.c
1024 (update_format_policy): prevent to use hours and minutes unitialized
1026 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1028 * hildon/hildon-window.c (hildon_window_size_request):
1029 Always request the full size of the screen (minus the title bar if
1030 not in fullscreen mode).
1032 Fixes: NB#107486 (HildonWindow should size itself properly)
1034 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1036 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1037 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1038 (on_show_cb), (sound_handling): Disconnect the idle handler for
1039 the sound when the note is finalized to avoid possible crashes.
1041 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1044 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1046 * src/hildon-animation-actor.c,
1047 * src/hildon-remote-texture.c:
1048 Added proper object cleanup to remove signal handler and object
1049 references as HildonAnimationActor and HildonRemoteTexture
1050 objects get destroyed.
1052 Fixes: NB#116682 (Destroying parented animation actors when
1053 parent in unmapped leads to crash)
1055 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1057 Based on a patch by Christian Dywan (christian@imendio.com)
1059 * doc/hildon-sections.txt:
1060 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1061 * hildon/hildon-helper.h: New file size formatting method.
1063 * debian/control: Depend on osso-filemanager l10n package for
1064 proper localization strings.
1066 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1068 * tests/Makefile.am: Include top_srcdir to make possible to build
1069 tests in a different builddir.
1070 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1071 on a different builddir.
1073 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1075 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1076 (hildon_touch_selector_remove): Disconnect model's signal handler
1079 Fixes: NB#116289 (Hildon home crashes while adding task
1082 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1084 * hildon/hildon-button.c
1085 (hildon_button_set_title, hildon_button_set_value):
1086 Hide labels containing an empty string.
1088 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1090 * configure.ac: post release version bump
1091 * debian/changelog: post release version bump
1093 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1098 * configure.ac: Bump version.
1099 * debian/changelog: Updates.
1101 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1103 * hildon/hildon-note-private.h: Removed sound_signal_handler
1104 * hildon/hildon-note.c
1105 (on_show_cb): new callback on note "show" event, this simply adds
1106 a idle, with the function sound_handling
1107 (sound_handling): removed the sound_signal_handler management
1108 (hildon_note_init): connect note "show" event to on_show_cb
1109 (hildon_note_realize): remove the connection to "expose-event"
1111 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1112 device?' confirmation note)
1114 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1116 * hildon/hildon-note.c
1117 (hildon_note_new_information_with_icon_name)
1118 (hildon_note_new_confirmation_with_icon_name):
1119 Terminate the list of parameters in g_object_set() calls
1121 Fixes: NB#115166 (Formatting memory card is not taking place)
1123 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1125 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1126 "dialog-information" role for the sound being played.
1128 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1130 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1131 Don't make the menu a modal window, it causes strange interactions
1132 with the pointer grab and it's not really needed.
1134 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1136 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1138 * hildon/hildon-touch-selector.[ch]
1139 (hildon_touch_selector_optimal_size_request): function added to get a
1140 optimal size request from the touch selector, when you want a dialog to
1141 show as much of the selector
1142 * hildon/hildon-picker-dialog.c:
1143 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1144 (hildon_app_menu_class_init):
1145 New "max-height-landscape" and "max-height-portrait" style properties
1146 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1147 (hildon_picker_dialog_get_max_height): returns the maximum height using
1148 the style properties defined and checking the current portrait/landscape
1150 (_hildon_picker_dialog_set_selector): removed the set_size_request
1152 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1154 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-bread-crumb-trail.c:
1157 * hildon/hildon-bread-crumb.c:
1158 * hildon/hildon-seekbar.c:
1159 Add reference to replacements for these deprecated widgets.
1161 Fixes: MB#4461 (Documentation: All deprecations should mention
1164 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1166 * examples/hildon-remote-texture-example.c
1168 Change the include to the hildon-remote-texture in order to compile
1169 properly the examples on the installed libhildon1-examples package
1171 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1173 * tests/Makefile.am: Add check for HildonPickerButton.
1174 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1175 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1176 checks for the HildonPickerButton.
1177 * tests/check_test.c (configure_tests): Add the test suite.
1178 * tests/test_suites.h: likewise.
1180 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1182 * hildon/hildon-touch-selector.c
1183 (+on_row_changed): Emit HildonTouchSelector:changed when the
1184 contents of a selected row change.
1185 (_create_new_column), (_hildon_touch_selector_set_model): connect
1186 to GtkTreeModel:row-changed on a newly set model.
1188 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1190 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1192 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1194 * hildon/hildon-banner.c (hildon_banner_destroy)
1195 (hildon_banner_show_progress, hildon_banner_set_fraction):
1196 Remove the progress bar from HildonBanner and use a progress
1199 Fixes: NB#113761 (Update progress banner to use progress
1202 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1204 * hildon/hildon-banner.c:
1205 Calculate size of the banner label using the actual screen width
1206 rather than using a fixed value.
1208 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1211 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1213 * hildon/hildon-pannable-area.c,
1214 (hildon_pannable_area_class_init): Fixed signals documentation
1217 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1219 * configure.ac: post release version bump
1220 * debian/changelog: post release version bump
1222 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1227 * configure.ac: Bump version.
1228 * debian/changelog: Updates.
1230 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1232 * hildon/hildon-edit-toolbar.c
1233 (hildon_edit_toolbar_init):
1234 Don't let buttons in HildonEditToolbar receive focus.
1236 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1237 typing on an HW arrows key)
1239 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1241 * doc/Makefile.am: Fix build.
1243 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1245 * doc/Makefile.am: Do not redefine content_files.
1247 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1255 Renamed src/ to hildon/
1260 Include <hildon/hildon.h> directly in all examples.
1262 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1264 * src/hildon-sort-dialog.c
1265 (hildon_sort_dialog_add_sort_key_with_sorting)
1269 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1272 make distcheck passes.
1274 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1276 * Makefile.am: Enable gtk-doc during distcheck.
1278 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1280 * Makefile.am: Do not distribute the debian/ directory.
1282 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1284 * doc/Makefile.am: Add the extra SGML files to content_files,
1285 so that they are distributed properly.
1287 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1289 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1292 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1294 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1295 (hildon_note_new_information_with_icon_name): Set the "icon" property
1296 to preserve soundness.
1298 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1300 * src/hildon-font-selection-dialog.c
1301 (hildon_font_selection_dialog_set_property): Fail when the "family"
1302 property is set to NULL.
1304 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1309 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1311 * src/hildon-time-selector.h:
1312 Added HildonTimeSelectorFormatPolicy
1313 * src/hildon-time-selector.c:
1314 Added PROP_TIME_FORMAT_POLICY
1315 (_check_ampm_format): renamed to check_automatic_ampm_format
1316 (update_format_policy), (update_format_dependant_columns): new functions
1317 (hildon_time_selector_class_init)
1318 (hildon_time_selector_contructor)
1319 (hildon_time_selector_init)
1320 (hildon_time_selector_get_property)
1321 (hildon_time_selector_set_property)
1322 (hildon_time_selector_get_time)
1323 (hildon_time_selector_set_time)
1324 * src/hildon-touch-selector.h: new file
1325 * src/hildon-touch-selector.c
1326 (hildon_touch_selector_emit_changed)
1327 (hildon_touch_selector_block_changed)
1328 (hildon_touch_selector_unblock_changed)
1329 Added functions to allow to block the emission of the "changed" signal
1330 * src/hildon-picker-dialog.c
1331 (hildon_picker_dialog_show): call the parent show before the custom code
1332 * examples/hildon-time-button-example.c
1333 Modified, so now you can configure the time format using the new property
1335 Added a new property "time-format-policy" that allow to choose the time
1336 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1337 case it uses gconf in order to check if the time selector must use
1340 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1343 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-note.c (hildon_note_init):
1346 Label in HildonNote must be left aligned, not centered. This
1347 reverts the last commit in HildonNote.
1349 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1350 is connectivity dialog)
1352 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1357 * doc/hildon-sections.txt:
1358 Added hildon_gtk_window_set_do_not_disturb()
1360 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-note.c (hildon_note_init): Center label.
1364 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1367 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1372 * configure.ac: Bump version.
1373 * debian/changelog: Updates.
1375 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-note-private.h: Add button-width to the private data.
1378 * src/hildon-note.c (+resize_button),
1379 (+hildon_note_orientation_update): methods to repack widgets on orientation
1381 (screen_size_changed): Call above method for confirmation notes.
1382 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1383 (hildon_note_rebuild): Store the original width request from buttons.
1385 Fixes: NB#109635 (Confirmation notes do not support portrait)
1387 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1389 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1390 when it is a progress note.
1392 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1394 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1395 in the note, since there are no horizontally arranged contents.
1397 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-gtk.c (+set_flag): new generic method to
1400 set/delay a flag setting in a window.
1401 (hildon_gtk_window_set_progress_indicator):
1402 (hildon_gtk_window_set_do_not_disturb),
1403 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1404 avoid code redundance.
1406 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1408 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1410 * src/hildon-gtk.c (set_clear_window_flag),
1411 (do_set_progress_indicator), (do_set_do_not_disturb),
1412 (do_set_portrait_flags),
1413 (hildon_gtk_window_set_progress_indicator),
1414 (hildon_gtk_window_set_do_not_disturb),
1415 (hildon_gtk_window_set_portrait_flags):
1416 Allow setting dnd-flag, progress indicator, and portrait flags
1417 when the window is not realized.
1419 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1421 * src/hildon-pannable-area.c,
1422 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1423 the size request policy function and defines.
1425 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1427 * doc/hildon-sections.txt: Add the new API.
1428 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1429 method to set the portrait flags.
1430 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1432 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1434 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1437 to allow using this method with other flags.
1438 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1439 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1441 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-touch-selector.c
1444 (hildon_touch_selector_append_text_column):
1445 Make the cell renderer use the smallest width possible.
1447 Fixes: NB#108470 (Selected items in multiple selection are either
1448 having a tick that is cut or not visible at all.)
1450 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1452 * src/hildon-touch-selector.c
1453 (hildon_touch_selector_append_text_column):
1456 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1459 Use g_strdup_printf() instead of a fixed size buffer.
1461 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1464 Close banners when a HildonAppMenu is popped up.
1466 Fixes: NB#111027 (Title menu closed immediately if activated when
1467 "Invalid e-mail address" banner is shown)
1469 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: Bump version.
1475 * debian/changelog: Updates.
1477 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1479 * src/hildon-banner.c (hildon_banner_realize):
1480 Mark HildonBanner as supporting portrait mode.
1481 Use GDK to set window properties insetad of direct Xlib calls.
1483 Fixes: NB#111830 (HildonBanner should be marked as supporting
1486 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-note.c (hildon_note_rebuild):
1489 Hide action area in information notes. Prevents text from being
1490 slightly aligned to the left.
1492 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1495 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1497 Patch by Mox Soini (ext-mox.soini@nokia.com)
1499 * src/hildon-banner.c (hildon_banner_create_animation):
1500 Use stylus-sized icons in animation banner.
1502 Fixes: NB#111206 (stylus sized icon for animation banner)
1504 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1508 (+hildon_gtk_window_set_do_not_disturb):
1509 New API to set the do-not-disturb flag.
1511 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1513 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1515 * examples/hildon-progress-indicator-example.c: Fix example
1517 * src/hildon-gtk.c (set_clear_window_flag)
1518 (hildon_gtk_window_set_progress_indicator):
1519 Create a generic function for setting flags to a window.
1520 Use GDK instead of direct Xlib calls.
1522 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1524 * src/hildon-button.c (hildon_button_set_arrangement):
1525 Due to NB#88126, if one of the labels is too long it will be
1526 painted outside the button. The 'value' label is more likely to be
1527 the longest one, so we change its packing options in order to
1528 truncate it if necessary. As a side effect, the 'title' label will
1529 no longer be truncated.
1531 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1533 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1538 * configure.ac: Bump version.
1539 * debian/changelog: Updates.
1541 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1543 Deprecation of the hildon_pannable_area_set_size_request_policy
1544 API, the only policy properly supported in gtk+ nowadays is the
1547 * src/hildon-pannable-area.c,
1548 (hildon_pannable_area_size_request): Added a workaround for the
1549 size_request to avoid the problems of huge pixmaps in case someone
1550 is still using the function.
1551 * src/hildon-pannable-area.h: Deprecated the enum with the
1554 Fixes: NB#110244 (Problems with the
1555 hildon_pannable_area_set_size_request_policy API)
1557 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1559 * src/hildon-pannable-area.c,
1560 (hildon_pannable_area_init),
1561 (hildon_pannable_area_size_request),
1562 (hildon_pannable_area_style_set),
1563 (hildon_pannable_draw_vscroll),
1564 (hildon_pannable_draw_hscroll),
1565 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1566 indicator_width to clarify the use of the attribute.
1568 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1573 * configure.ac: Bump version.
1574 * debian/changelog: Updates.
1576 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1578 * src/hildon-picker-dialog.c
1579 * src/hildon-touch-selector.c
1580 Reverting the change that tried to avoid the hardcoded height on
1581 the picker dialog, as causes problems on the hildon-touch-selector
1584 Fixes: NB#110029 (selectors not scrolling to selected value)
1586 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-touch-selector.c: Fix typos
1590 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1592 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1593 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1594 request more motions after using it.
1596 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1598 * src/hildon-calendar.c (hildon_calendar_expose),
1599 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1600 Remove unused variables.
1602 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1604 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1605 variable assignment.
1607 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1610 Check the return value of gtk_tree_selection_get_selected()
1613 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-animation-actor.c
1616 * src/hildon-button.c
1618 * src/hildon-pannable-area.c
1619 * src/hildon-picker-button.c
1620 * src/hildon-program.c
1621 * src/hildon-remote-texture.c
1622 * src/hildon-text-view.c
1623 * src/hildon-touch-selector.c
1624 * src/hildon-window-stack.c
1625 * src/hildon-window.c:
1626 Add missing 'Since: 2.2' tags.
1628 * doc/hildon-sections.txt:
1629 Add some missing symbols.
1631 * doc/hildon-docs.sgml:
1632 New 'Other' section for HildonAnimationActor and
1635 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1637 Patch by Iván Gómez (igomez@igalia.com)
1640 * doc/compiling.sgml
1641 * doc/hildon-docs.sgml
1642 * doc/hildon-sections.txt
1643 * doc/migration.sgml
1644 * doc/resources.sgml
1646 New chapters on using the Hildon library.
1647 Updated the general structure of the reference manual.
1648 Other minor documentation fixes.
1650 * src/hildon-calendar-popup.c
1651 * src/hildon-calendar.c
1652 * src/hildon-controlbar.c
1653 * src/hildon-date-editor.c
1654 * src/hildon-dialog.c
1655 * src/hildon-hvolumebar.c
1656 * src/hildon-number-editor.c
1657 * src/hildon-range-editor.c
1658 * src/hildon-sort-dialog.c
1659 * src/hildon-time-editor.c
1660 * src/hildon-time-picker.c
1661 * src/hildon-volumebar-range.c
1662 * src/hildon-volumebar.c
1663 * src/hildon-vvolumebar.c
1664 * src/hildon-weekday-picker.c:
1665 Add deprecation notes
1667 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1668 Document 'horizontal-movement' and 'vertical-movement' signals.
1670 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: Bump version.
1676 * debian/changelog: Updates.
1678 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1680 * src/hildon-pannable-area.c,
1681 (hildon_pannable_area_class_init): increased the minimum velocity.
1682 (hildon_pannable_area_button_release_cb): Updated the
1683 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1684 setup. Review the code to control that last event.
1686 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1689 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1691 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1693 * src/hildon-get-password-dialog.c
1694 (hildon_get_password_set_property),
1695 (hildon_get_password_get_property), (create_contents):
1696 * src/hildon-login-dialog-private.h:
1697 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1698 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1699 (hildon_login_dialog_get_password):
1700 * src/hildon-set-password-dialog-private.h:
1701 * src/hildon-set-password-dialog.c
1702 (hildon_set_password_set_property),
1703 (hildon_set_password_get_property), (create_contents),
1704 (hildon_set_password_response_change),
1705 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1707 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1708 instead and look more Fremantle style.
1710 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1712 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1714 * doc/hildon-sections.txt
1715 * src/hildon-window-stack.h
1716 * src/hildon-window-stack.c
1717 (+hildon_window_stack_get_windows):
1718 New API to obtain the list of windows on a stack.
1720 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1722 * src/hildon-app-menu.c (hildon_app_menu_popup)
1723 (hildon_app_menu_class_init, -hildon_app_menu_show):
1724 Remove hildon_app_menu_show() and move all its checks to
1725 hildon_app_menu_popup()
1727 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1729 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1730 (_hildon_picker_dialog_set_selector): removed call to
1731 gtk_widget_set_size_request
1732 * src/hildon-touch-selector.c
1733 (_create_new_column): change the pannable size request policy
1735 Avoid to use a hardcoded height for the hildon picker dialog. In order
1736 to get that, we needed to change the hildon pannable size request
1738 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1740 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1742 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1743 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1746 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1748 * debian/control: Depend on osso-system-lock localization package.
1749 * src/hildon-code-dialog.c: Obtain the secu_application_title
1750 translation from osso-system-lock.
1751 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1752 for translation the atk related strings, that's not necessary.
1753 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1754 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1755 cancel button, it is not required.
1757 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_class_init): Modified the default value of
1761 the overshooting max speed, we have reduced it.
1763 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1765 * doc/hildon-sections.txt
1766 * src/hildon-window-private.h
1767 * src/hildon-window.h
1768 * src/hildon-window.c (hildon_window_class_init)
1769 (hildon_window_init, hildon_window_finalize)
1770 (hildon_window_realize, hildon_window_get_property)
1771 (hildon_window_set_property, hildon_window_update_markup)
1772 (hildon_window_get_markup, hildon_window_set_markup):
1773 New "markup" property and hildon_window_{get,set}_markup() methods.
1775 * examples/hildon-stackable-window-example.c (new_window):
1776 Update example to use hildon_window_set_markup()
1778 Fixes: NB#106375 (Need API to retitle a window with a title
1781 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1783 * src/hildon-pannable-area.c,
1784 (hildon_pannable_area_class_init): Changed the default value of
1785 the initial_hint to TRUE.
1786 (hildon_pannable_area_initial_effect): Changed the initial effect,
1787 not the effect is just the fade-out of the scrollbars.
1789 Fixes: NB#107775 (No scrollbars can be seen when several items are
1790 available in a dialog)
1792 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-program.c (hildon_program_update_top_most):
1797 Fixes: NB#109179 (Memory leak in Hildon program)
1799 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-banner.c (-get_current_app_window):
1802 Remove unused function.
1804 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c: Modified the documentation of the
1807 get adjustments functions to explain the problem of using the
1808 adjustment directly.
1809 (hildon_pannable_area_class_init): Improved the explanation about
1812 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1814 * src/hildon-app-menu-private.h
1815 * src/hildon-app-menu.c
1816 (hildon_app_menu_class_init):
1817 Bring back the 'external-border' style property
1818 (hildon_app_menu_class_init, hildon_app_menu_init)
1819 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1820 Set a fixed width-request for the menu, independent of the number
1823 Fixes: NB#94957 (Smoothly opened application menu)
1825 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1829 * src/hildon-banner.c
1830 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1832 Make sure that the banner is correctly placed the first time it's
1834 (hildon_banner_check_position, -check_fullscreen_state):
1835 Show the banner in the same place no matter if the window is in
1836 fullscreen mode or not.
1838 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1840 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-touch-selector.c (_default_print_func): reorder
1843 concatenation for clarity.
1845 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1848 for multicolumn selectors.
1850 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1852 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1857 * configure.ac: Bump version.
1858 * debian/changelog: Updates.
1860 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1865 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1867 * configure.ac: removed libcangerra-gtk dependency
1868 * debian/control: removed libcanberra-gtk dependency
1869 * src/Makefile.am: removed libcanberra gtk related flags
1870 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1871 context, and manage a global canberra context instead
1873 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1875 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1877 Patch by Daniel Borgmann (danielb@openismus.com)
1879 * src/hildon-edit-toolbar.c:
1880 Adjust the left padding.
1881 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1882 Paint background of the edit toolbar.
1884 Fixes: NB#107897 (Patch to make editmodetoolbar background
1885 themeable and adjust margin)
1887 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1889 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1891 * src/hildon-program.c (hildon_program_update_top_most):
1892 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1894 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1895 change when the user tasks in/out of an application)
1897 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1899 * configure.ac: added libcangerra-gtk dependency
1900 * debian/control: added libcanberra-gtk dependency
1901 * src/Makefile.am: added libcanberra gtk related flags
1902 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1905 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1907 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1909 * src/hildon-program.c (hildon_program_remove_window)
1910 (hildon_program_add_window): Add checks for the window
1911 parameter. Don't decrease the window counter if the window is not
1914 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_area_realize): Fixed position of the event_window
1918 in the realize method.
1920 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-app-menu-private.h
1923 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1924 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1925 (hildon_app_menu_key_press, hildon_app_menu_init)
1926 (hildon_app_menu_finalize):
1927 Make sure that all idle functions are removed when the widget is
1930 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1932 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1937 * configure.ac: Bump version.
1938 * debian/changelog: Updates.
1940 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-entry.c
1943 (+hildon_entry_show_placeholder),
1944 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1945 that replace hildon_entry_update_contents().
1946 (hildon_entry_set_text),
1947 (hildon_entry_set_placeholder),
1948 (hildon_entry_focus_in_event),
1949 (hildon_entry_focus_out_event): Determine when it is needed
1950 either to show or hide the placeholder and call the above methods.
1952 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1953 when the placeholder text is already set)
1955 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1958 simple GdkPixbufAnim using the new icons for the banner.
1959 (hildon_banner_show_animation): Use the above mentioned method to
1960 create the animation widget.
1962 Fixes: NB#103564 (Make hildon animation banner use individual
1963 image files as the animation)
1965 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1967 * src/hildon-pannable-area.c,
1968 (hildon_pannable_leave_notify_event): Check if the child is NULL
1969 to avoid sending the leave.
1971 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1973 * src/hildon-pannable-area.c,
1974 (hildon_pannable_area_class_init),
1975 (hildon_pannable_leave_notify_event): Added a handler of the
1976 leave-notify-signal to consider when no motion notify before
1979 Fixes: NB#107494 (Items stay selected when clicking and moving
1980 away when inside pannable area)
1982 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1987 * configure.ac: Bump version.
1988 * debian/changelog: Updates.
1990 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1992 Patch by Alberto Garcia (agarcia@igalia.com)
1994 * src/hildon-date-button.c,
1995 (hildon_date_button_class_init),
1996 (hildon_date_button_init): Removed the construct property handling
1997 and created a default selector in the init method.
1998 * src/hildon-picker-button.c,
1999 (hildon_picker_button_class_init): Removed the construct flag of the
2002 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-main.c (hildon_init):
2005 Don't allow hildon_init() to be called more than once.
2007 Fixes: NB#106607 (hildon_init should issue error message upon
2010 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2012 * examples/hildon-pannable-area-touch-list-example.c
2013 * examples/hildon-pannagle-area-touch-grid-example.c
2014 * examples/hildon-edit-toolbar-example.c
2015 * examples/hildon-touch-selector-multi-cells-example.c
2016 Removed the call to gtk_rc_parse_string, as it is not required since
2019 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2021 * src/hildon-pannable-area.c,
2022 (hildon_pannable_area_class_init): Modified the default panning
2023 threshold of the widget to 6px.
2025 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2026 than the threshold value ) within the button is not sending the
2029 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2032 for the treeview in the new column. This way, the touch list will never
2035 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2036 be selected manually for the HW keys to work)
2038 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2041 comparison instead of using strcmp(). Fixes a compiler warning as well.
2043 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2045 * doc/hildon-docs.sgml: Do not set the library version in the
2046 document title, use the releaseinfo tag for that purpose instead.
2048 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2051 Do not jump to the first item if the text in the entry is removed.
2053 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2058 * configure.ac: Bump version.
2059 * debian/changelog: Updates.
2061 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-entry.c (hildon_entry_refresh_contents):
2064 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2065 Use "ReversedSecondaryTextColor" for the placeholder text.
2067 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-text-view.c: Fix compilation warning.
2071 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2073 * src/hildon-button.c (hildon_button_class_init): Don't make
2074 "title" and "value" construction properties, to prevent them from
2075 overwriting labels set from derived classes.
2077 * src/hildon-picker-button.c
2078 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2079 (hildon_picker_button_class_init): Make touch-selector a
2080 construction property.
2082 * src/hildon-date-button.c (hildon_date_button_class_init)
2083 (+hildon_date_button_constructed): Add a default date selector if
2086 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-touch-selector.c: Small documentation fixes.
2090 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2092 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2094 * src/hildon-entry.c (hildon_entry_refresh_contents),
2095 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2096 widget name, set the logical color directly instead and a boolean
2097 showing_placeholder instead.
2098 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2099 use the widget name here either.
2101 Fixes: NB#105678 (HildonTextView should use logical colours
2102 instead of setting widget name)
2104 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2106 Patch by Daniel Elster (danielk@openismus.com)
2108 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2109 Add user_data parameter.
2110 (hildon_touch_selector_set_print_func_full): New function akin
2111 hildon_touch_selector_set_print_func() but with support for user
2112 data and a destroy callback.
2113 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2114 to clean up the print function user data.
2115 (hildon_touch_selector_class_init): Install dispose function.
2116 (HildonTouchSelectorPrivate::print_user_data),
2117 (HildonTouchSelectorPrivate::print_destroy_func): New private
2119 (hildon_touch_selector_init): Initialize new private members.
2120 (hildon_touch_selector_get_current_text): Pass along user data
2121 to the print function.
2122 (_default_print_func): Add dummy user_data to parameter list.
2123 * hildon-date-selector.c (_custom_print_func): ditto,
2124 * hildon-time-selector.c (_custom_print_func): ditto,
2125 * hildon-touch-selector-entry.c
2126 (hildon_touch_selector_entry_print_func): ditto.
2128 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2130 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2132 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2134 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_init),
2138 (hildon_pannable_area_button_press_cb),
2139 (hildon_pannable_area_motion_notify_cb): We have added code to
2140 handle the leave and enter events when using the motion events.
2142 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2144 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-date-button.c (hildon_date_button_get_date)
2147 (hildon_date_button_set_date): Make sure that the button has a
2150 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2152 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_area_class_init),
2156 (hildon_pannable_area_calculate_velocity): Modify the use of the
2157 force and adapt the value.
2159 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2162 (hildon_app_menu_class_init): Hide the menu if it receives a
2163 delete-event, but don't destroy it
2165 Fixes: NB#104485 (Not able to address the call when application
2166 menu is opened at background)
2168 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-app-menu.c
2171 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2172 Remove the "external-border" style property, let the menu take its
2173 natural size (or the one set by the window manager)
2174 (hildon_app_menu_repack_items):
2175 Don't reshow the menu, avoid flickers.
2177 Partially fixes NB#94957 (Smoothly opened application menu)
2179 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2184 * configure.ac: Bump version.
2185 * debian/changelog: Updates.
2187 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2189 * src/hildon-pannable-area.c,
2190 (hildon_pannable_area_motion_notify_cb): We control that the
2191 direction error margin is used just in case the movement is
2192 allowed in the other direction.
2194 Fixes: NB#105012 (buttons inside a pannable area not getting
2195 release event when dragging/releasing)
2197 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c,
2200 (hildon_pannable_area_class_init),
2201 (hildon_pannable_area_get_property),
2202 (hildon_pannable_area_set_property),
2203 (hildon_pannable_area_initial_effect),
2204 (hildon_pannable_axis_scroll),
2205 (hildon_pannable_area_button_release_cb): Reviewed the
2206 overshooting effect, now it has its own max
2207 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2208 speed when bouncing.
2210 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2215 * configure.ac: Bump version.
2216 * debian/changelog: Updates.
2218 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_class_init): Changed the max speed, now
2222 users can launch the widget very fast. Reduced the default force,
2223 that way it is easier to control the launch speed.
2225 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2227 * src/hildon-pannable-area.c,
2228 (hildon_pannable_area_button_release_cb): Removed this check
2229 because it causes problems when the device is overloaded.
2231 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2234 add a current_text field to store the text entered in the
2235 touch selector entry.
2236 (_clean_current_selection): clean up the current text as well.
2237 (_save_current_selection), (_restore_current_selection):
2238 Save/restore the text in the entry if the selector is a
2239 HildonTouchSelectorEntry.
2241 Fixes: NB#102541 (value entered in the touch selector entry is not
2242 shown when opened for second time)
2244 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2246 * doc/hildon-sections.txt:
2247 * src/hildon-touch-selector-entry.c
2248 (+hildon_touch_selector_entry_get_entry):
2249 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2251 Fixes: NB#104815 (I need accessor to the entry inside
2252 HildonTouchSelectorEntry)
2254 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2257 (hildon_app_menu_class_init):
2258 New "filter-vertical-spacing" style property.
2260 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-find-toolbar.c
2263 (hildon_find_toolbar_emit_close)
2264 (hildon_find_toolbar_emit_invalid_input)
2265 (hildon_find_toolbar_entry_activate):
2266 Use g_signal_emit() instead of g_signal_emit_by_name()
2268 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2270 Patch by Mox Soini (ext-mox.soini@nokia.com)
2272 * tests/TEST-CASES.txt
2273 * tests/check-hildon-banner.c
2274 * tests/check-hildon-note.c
2275 * src/hildon-banner.c
2276 * src/hildon-code-dialog.c
2277 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2278 * src/hildon-time-editor.c
2279 * examples/hildon-lookup-example.c (main):
2280 Replace obsolete icon names with new ones.
2282 * src/hildon-find-toolbar-private.h:
2283 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2284 (-hildon_find_toolbar_emit_search):
2285 Remove find button and change icon of close button.
2287 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2289 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-time-button.c (hildon_time_button_new_step):
2292 Use the "touch-selector" property to set the selector directly
2293 when creating the object.
2295 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2297 Added a new example application that allows tuning the pannable
2298 area and replaced defines with properties in order to simplify the
2299 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2300 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2301 PROP_DIRECTION_ERROR_MARGIN.
2303 * examples/hildon-pannable-area-tuning-example.c: New example
2305 * src/hildon-pannable-area.c,
2306 (hildon_pannable_area_class_init),
2307 (hildon_pannable_area_init),
2308 (hildon_pannable_area_get_property),
2309 (hildon_pannable_area_set_property),
2310 (hildon_pannable_area_launch_fade_timeout),
2311 (hildon_pannable_area_adjust_value_changed),
2312 (hildon_pannable_axis_scroll),
2313 (hildon_pannable_area_motion_notify_cb),
2314 (hildon_pannable_area_scroll_cb),
2315 (hildon_pannable_area_button_release_cb): We have converted some
2316 of the defines that control the widget to properties to simplify
2319 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-app-menu.c (hildon_app_menu_map)
2322 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2323 so it's closed if a new window appears.
2325 Fixes: NB#104485 (Not able to address the call when application
2326 menu is opened at background)
2328 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2331 missing 'break' statement in in 'case' construct to avoid
2334 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-touch-selector-entry.c
2337 (hildon_touch_selector_entry_get_property),
2338 (hildon_touch_selector_entry_set_property): Add missing 'break'
2339 statements in in 'case' constructs to avoid incorrect warnings.
2341 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2343 * src/hildon-time-editor.c
2344 (hildon_time_editor_get_time_separators): Do not crash if
2345 the first label is NULL.
2347 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-date-selector.c (_month_days): Check for month to be
2350 strictly less than 12, since otherwise we may overrun the array.
2352 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-date-button.c (+hildon_date_button_new_full)
2355 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2356 (hildon_date_button_init): Set the date selector using a
2357 construction property, to make it happen after HildonButton's
2358 "value" property is set.
2360 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2361 current date by default)
2363 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2365 * doc/hildon-sections.txt
2366 * src/hildon-program.c
2367 * src/hildon-stackable-window.c
2368 * src/hildon-window.c:
2369 Documentation updates
2371 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2374 (hildon_window_stack_new, +hildon_window_stack_set_property)
2375 (+hildon_window_stack_get_property)
2376 (hildon_window_stack_class_init)
2377 (+hildon_window_stack_set_window_group)
2378 (+hildon_window_stack_get_window_group):
2379 Make the window group a construction property.
2381 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2383 * doc/hildon-sections.txt
2384 * src/hildon-stackable-window-private.h
2385 * src/hildon-stackable-window.h
2386 * src/hildon-stackable-window.c
2387 (-hildon_stackable_window_set_app_menu)
2388 (-hildon_stackable_window_get_app_menu)
2389 (-hildon_stackable_window_toggle_menu)
2390 (-hildon_stackable_window_finalize)
2391 (hildon_stackable_window_class_init)
2392 (hildon_stackable_window_init)
2393 * src/hildon-window-private.h
2394 * src/hildon-window.h
2395 * src/hildon-window.c (hildon_window_init)
2396 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2397 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2398 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2399 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2400 Moved all HildonAppMenu code to HildonWindow. The menu does not
2401 require a HildonStackableWindow anymore.
2403 * src/hildon-app-menu.c
2404 * src/hildon-program.c
2405 * examples/hildon-app-menu-example.c (main):
2406 Update examples and documentation to reflect HildonAppMenu
2409 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-remote-texture.c
2412 * src/hildon-animation-actor.c:
2413 Don't include unused private headers.
2415 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-program-private.h
2418 * src/hildon-program.c
2419 (hildon_program_set_common_menu)
2420 (hildon_program_get_common_menu)
2421 (hildon_program_set_common_app_menu)
2422 (hildon_program_get_common_app_menu):
2423 Change common menu pointers from GtkWidget* to GtkMenu* and
2424 HildonAppMenu* to avoid unnecessary casts.
2426 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-window.c (hildon_window_set_main_menu):
2429 Removed incorrect 'Since:' tag
2431 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2433 * src/hildon-pannable-area.c,
2434 (hildon_pannable_area_calculate_velocity): We use now the
2435 RATIO_TOLERANCE here to check the distance, fixed typo in the
2437 (hildon_pannable_area_motion_notify_cb): We have to set the type
2438 and time even if we are not sending the motion.
2440 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2442 * doc/hildon-sections.txt
2443 * src/hildon-app-menu.h
2444 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2445 (+hildon_app_menu_get_filters): New methods to get the contents of
2448 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2451 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2453 * src/hildon-app-menu.c (hildon_app_menu_popup):
2456 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-window.h
2459 * src/hildon-window.c (+hildon_window_get_main_menu)
2460 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2461 and deprecated hildon_window_get_menu().
2463 * src/hildon-stackable-window.h
2464 * src/hildon-stackable-window.c
2465 (+hildon_stackable_window_set_app_menu)
2466 (+hildon_stackable_window_get_app_menu)
2467 (hildon_stackable_window_set_main_menu): Created
2468 hildon_stackable_window_{get,set}_app_menu() and deprecated
2469 hildon_stackable_window_set_main_menu().
2471 * doc/hildon-sections.txt
2472 * examples/hildon-app-menu-example.c (main)
2473 * src/hildon-app-menu.c
2474 * src/hildon-program.c:
2475 Updated examples and documentation.
2477 Fixes: NB#103758 (No way to obtain a menu from a
2478 HildonStackableWindow)
2480 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2485 * configure.ac: Bump version.
2486 * debian/changelog: Updates.
2488 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2490 * examples/hildon-remote-texture-example.c: Include
2491 hildon-remote-texture.h explicitely.
2492 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2493 applications not defining _XOPEN_SOURCE which don't require this header.
2495 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2497 * doc/hildon-sections.txt
2498 * src/hildon-app-menu.h
2499 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2500 New function to pop up a HildonAppMenu
2502 * src/hildon-stackable-window.c
2503 (hildon_stackable_window_toggle_menu):
2504 Use hildon_app_menu_popup() to show the menu.
2506 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2508 * src/hildon-app-menu.c (hildon_app_menu_show)
2509 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2510 menu if there's another window between it and its parent window.
2512 Fixes: NB#100468 (Application menu window is launched even when a
2513 new secondary-window/dialog is pending to be shown/realized)
2515 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-window-stack.c (hildon_window_stack_push)
2518 (hildon_window_stack_pop_and_push):
2519 Don't forget to push/pop the first window.
2520 Reverse the window list before calling _push_list()
2522 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-picker-button.h
2525 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2526 Remove "value_changed" slot to avoid ABI breakage
2528 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2530 * src/hildon-pannable-area.c,
2531 (hildon_pannable_area_realize),
2532 (hildon_pannable_area_unrealize),
2533 (hildon_pannable_draw_vscroll),
2534 (hildon_pannable_draw_hscroll): Changed the method to handle the
2535 GC used to draw the transparent scrollbar, this way we avoid
2536 creating the GC all the time when drawing the scrollbars.
2538 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2540 * src/hildon-pannable-area.c,
2541 (hildon_pannable_area_init),
2542 (hildon_pannable_area_remove): Removed some unnecessary casts.
2543 (hildon_pannable_area_dispose): Disconnected some signals before
2544 releasing the adjustments.
2546 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2549 Make sure that all widgets contained in the toolbar are shown.
2551 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2553 * doc/hildon-sections.txt
2554 * src/hildon-picker-button.h
2555 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2556 (_selection_changed, hildon_picker_button_on_dialog_response)
2557 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2558 New hildon_picker_button_value_changed() method.
2561 * src/hildon-picker-button-private.h
2562 * src/hildon-picker-button.c (hildon_picker_button_init)
2563 (+hildon_picker_button_disable_value_changed): Add protected
2564 function for disabling the "value-changed" signal.
2566 * src/hildon-date-button.c (hildon_date_button_set_date):
2567 Don't emit "value-changed" for each one of the three columns.
2569 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2570 before actual change of values)
2572 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2576 for the treeview overshooting.
2578 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-banner.c (+hildon_banner_bind_style):
2581 Renamed from hildon_banner_bind_label_style(), now naming the
2582 banner itself as well.
2583 (hildon_banner_show_information),
2584 (hildon_banner_show_information_with_markup),
2585 (hildon_banner_show_animation), (hildon_banner_show_progress):
2586 Name the widgets and labels, based on their type.
2588 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2591 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-note.c (hildon_note_set_property): call
2594 hildon_note_rename() on HildonNote:note-type set.
2595 (hildon_note_rename): Name the note and its label, based on the
2596 HildonNote:note-type property.
2598 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2601 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2603 * src/hildon-pannable-area.c,
2604 (hildon_pannable_area_class_init),
2605 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2606 panning parameters, increased SPS and deceleration factor. Added
2607 also a margin to control fake directions.
2609 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2611 Patch by Sven Herzberg (sven@imendio.com)
2613 * configure.ac: Add missing AM_PROG_CC_C_0
2614 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2616 See NB#101420 (Update unit tests and fix make check)
2618 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2620 This patch was applied before but reverted because it caused
2621 problems, we have changed the main condition and tested the
2622 regressions we detected before and they work ok. We have done a
2623 complete review of the topmost algorithm in order to get a more
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_get_topmost): Added a new parameter to
2628 filter the the windows that do not include those events.
2629 (hildon_pannable_area_button_press_cb),
2630 (hildon_pannable_area_button_release_cb),
2631 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2632 topmost function, we have added the new parameter.
2634 Fixes: NB#97458 (Pannable area prevents propagation of button
2637 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2640 if all columns in the selector have an item selected.
2641 (_on_dialog_response): Stop "response" signal emission if there is
2642 any selector column without selected items.
2644 Fixes: NB#101889 (Picker dialog should not close when nothing is
2645 selected in multiple selection list)
2647 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-font-selection-dialog.c
2650 (hildon_font_selection_dialog_class_init),
2651 (hildon_font_selection_dialog_init): Remove the preview
2652 button and dialog, since previewing with default theming is likely
2653 to be overcomplicated. The :preview property has now no effect.
2654 Update documentation blurbs to inform about this.
2656 Fixes: NB#92297 (Preview content is not clearly visible for
2657 default colour text)
2659 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2661 Reviewed the geometry that handles the children size and
2662 scrollbar, now it tries a size and reviews the results depending
2663 on the scrollbars visibility.
2665 * src/hildon-pannable-area.c,
2666 (hildon_pannable_area_realize): Fixed a typo.
2667 (hildon_pannable_area_child_allocate_calculate): Added this
2668 function to calculate the child allocation.
2669 (hildon_pannable_area_size_allocate): Reviewed the allocation
2671 (hildon_pannable_area_check_scrollbars),
2672 (hildon_pannable_area_refresh): Refactored refresh function, this
2673 way we can call the code handling the scrollbars without causing a
2674 size_request, it is interesting in the allocate.
2675 (hildon_pannable_area_init): Replace the callbacks of the
2676 value_changed and changed signals to propertly deal with the
2678 (hildon_pannable_area_grab_notify),
2679 (hildon_pannable_area_initial_effect),
2680 (hildon_pannable_area_launch_fade_timeout),
2681 (hildon_pannable_area_adjust_changed),
2682 (hildon_pannable_area_adjust_value_changed),
2683 (hildon_pannable_area_redraw),
2684 (hildon_pannable_area_button_press_cb),
2685 (hildon_pannable_area_button_release_cb),
2686 (hildon_pannable_area_scroll_cb),
2687 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2688 code and use the new functions adjust_changed and
2689 adjust_value_changed.
2691 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2692 Contact editor dialog)
2694 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2699 * configure.ac: Bump version.
2700 * debian/changelog: Updates.
2702 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2704 * src/hildon-pannable-area.c,
2705 (hildon_pannable_area_get_topmost),
2706 (hildon_pannable_area_button_press_cb),
2707 (hildon_pannable_area_button_release_cb),
2708 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2709 topmost function adding the event mask. We have to try a
2710 differente approach because it is still causing problems (NB#9745,
2713 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-banner.c:
2716 Update the maximum width of timed banners.
2717 (force_to_wrap_truncated): Enforce the maximum text width if the
2720 Fixes: NB#102413 (The text margins (wrapping) in information
2721 banner should be HILDON_MARGIN_TRIPLE)
2723 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2725 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2727 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2728 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2729 bound when calculating the scroll indicator position.
2731 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2732 treat ->lower correctly)
2734 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2737 expose event handling, since it is not necessary to draw the focus
2740 Fixes: NB#102467 (Do not show highlight on the text in
2743 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2746 full height of the toolbar for the button and the label.
2748 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2751 padding before the label and after the button.
2753 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2757 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2758 Add a GtkVSeparator between the button and the back arrow.
2759 Let the button have automatic size.
2760 Set a name to the widget for theming handling.
2762 Fixes: NB#101793 (Make edit toolbar the same height as window
2763 title bar (use title area theming))
2765 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2767 * src/hildon-helper.c (attach_new_color_element): Fix memory
2770 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2772 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2774 * examples/hildon-button-example.c (common_buttons_window): Don't
2777 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2780 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2782 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2784 * src/hildon-gtk.c: Check that the window is realized.
2786 Fixes: NB#102225 (Crash setting the progress indicator to a non
2789 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2792 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2793 instead of modifying the one in the widget style.
2795 Fixes: NB#101043 (Second row of all the command button are
2796 displayed in transparent mode.)
2798 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-date-button.c
2801 * src/hildon-time-button.c: Add gettext macros
2803 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-date-button.c (hildon_date_button_new):
2806 * src/hildon-time-button.c (hildon_time_button_new_step):
2807 Use new logical strings to set the button default title.
2809 Fixes: NB#99915 (Date and Time options are not localised in Date
2812 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2814 * src/hildon-pannable-area.c
2815 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2816 the PANNING_THRESHOLD.
2818 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2820 * src/hildon-pannable-area.c,
2821 (hildon_pannable_area_class_init): Increased the maximum speed.
2822 (hildon_pannable_area_get_property),
2823 (hildon_pannable_area_set_property),
2824 (hildon_pannable_area_timeout): Added a new low friction mode, it
2825 allows the user avoid friction when launching the widget fast
2826 enough. It is interesting to traverse long lists.
2828 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2831 (+hildon_stackable_window_delete_event): Ignore delete events if
2832 the window is not the topmost one.
2834 Fixes: NB#101698 (Back button long press and delete-event handling)
2836 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2840 gtk-dnd-drag-threshold, it was too big. We have defined our own
2841 dnd define and set a smaller value: PANNIG_THRESHOLD.
2843 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2846 user-defined icons, use always the default one.
2848 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2850 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2852 This patch was applied before but reverted because it caused
2853 problems, we have changed the main condition and tested the
2854 regressions we detected before and they work ok.
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_get_topmost): Added a new parameter to
2858 filter the the windows that do not include those events. Added
2859 also a condition when finding the window to filter windows that do
2860 not ask for those events.
2861 (hildon_pannable_area_button_press_cb),
2862 (hildon_pannable_area_button_release_cb),
2863 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2864 topmost function, we have added the new parameter.
2866 Fixes: NB#97458 (Pannable area prevents propagation of button
2869 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2871 * tests/check-hildon-color-button.c (START_TEST): do not leak
2874 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-font-selection-dialog.c
2877 (hildon_font_selection_dialog_get_preview_text): Return NULL
2878 instead of FALSE on the g_return_val_if_fail().
2880 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2883 * src/hildon-date-selector.c
2884 (hildon_date_selector_select_current_date):
2885 Do not compare unsigned integers to be greater than or equal 0,
2886 because it's always TRUE.
2888 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2890 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2891 (hildon_date_selector_constructor): Do not select the current
2892 date until we are handle the "changed" signal, to avoid having bogus
2893 elements in the days model.
2895 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2898 for num_days, since _month_days() can return a negative value.
2900 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2902 * src/hildon-caption.c (hildon_caption_size_allocate):
2903 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2904 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2906 Initialize allocation variables to 0, to avoid eventually using
2907 unitialized variables.
2909 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2911 * src/hildon-bread-crumb-trail.c
2912 (hildon_bread_crumb_trail_size_allocate):
2913 * src/hildon-calendar.c (hildon_calendar_set_background):
2914 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2915 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2916 * src/hildon-seekbar.c (hildon_seekbar_init):
2917 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2918 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2919 * src/hildon-touch-selector-entry.c
2920 (hildon_touch_selector_get_text_from_model):
2921 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2922 * src/hildon-window.c (hildon_window_finalize):
2924 Remove many unused variables.
2926 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-seekbar.c: (hildon_seekbar_init),
2929 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2931 Remove unnecessary g_assert() calls.
2933 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-caption.c: (hildon_caption_expose),
2936 (hildon_caption_set_property), (hildon_caption_init),
2937 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2938 (hildon_caption_size_request), (hildon_caption_size_allocate),
2939 (hildon_caption_forall), (hildon_caption_set_separator),
2940 (hildon_caption_activate), (hildon_caption_set_child_expand),
2941 (hildon_caption_set_label_text),
2942 (hildon_caption_get_label_alignment):
2944 Remove unnecessary g_assert() calls.
2946 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-banner.c
2949 (hildon_banner_map, hildon_banner_init): Make banner temporary
2950 before mapping it to avoid closing other temporary windows, but
2951 make it non-temporary afterwards to avoid being closed by other
2952 non-temporary windows.
2953 (-hildon_banner_client_event, hildon_banner_init):
2954 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2956 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2959 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2964 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2966 * src/hildon-remote-texture.c
2967 * src/hildon-remote-texture.h
2968 * src/hildon-remote-texture-private.h
2969 * examples/hildon-remote-texture-example.c:
2970 Updates/fixes to remote-texture and its example.
2972 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2974 Patch by Mox Soini (ext-mox.soini@nokia.com)
2976 * src/hildon-code-dialog.c: Update logical id.
2977 * src/hildon-set-password-dialog.c: Update logical id.
2979 Fixes: NB#100646 (Logical strings is shown for ok in set
2980 password,Password needed dialogs)
2982 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2985 * src/hildon-remote-texture.c
2986 * src/hildon-remote-texture.h
2987 * src/hildon-remote-texture-private.h
2989 Added remote texture widget (for Clutter shared memory textures)
2991 * examples/hildon-remote-texture-example.c
2992 * examples/Makefile.am
2993 Added example file for remote texture usage
2995 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2997 * configure.ac: post release version bump.
2998 * debian/changelog: version bump.
3000 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3005 * configure.ac: Bump version.
3006 * debian/changelog: Updates.
3008 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-date-selector.c (hildon_date_selector_init)
3011 (hildon_date_selector_constructor): Don't connect to the "changed"
3012 signal until the selector is completely constructed.
3014 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-touch-selector.c: (_create_new_column),
3017 (hildon_touch_selector_append_column),
3018 (hildon_touch_selector_set_column_selection_mode),
3019 (hildon_touch_selector_set_active),
3020 (hildon_touch_selector_select_iter):
3021 Emit the HildonTouchSelector::changed signal every time selection
3022 is changed in any of the methods above. This behavior was already
3023 documented but not fully functional.
3025 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3026 selection is programmatically changed)
3028 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3030 * doc/hildon-sections.txt: Remove obsolete icon
3031 sizes from here as well.
3033 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3035 * examples/hildon-stackable-window-example.c (add_window): Remove
3038 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-app-menu.c
3041 (hildon_app_menu_show): Check whether the parent window of a menu
3042 is topmost before popping it up.
3044 Fixes: NB#100468 (Application menu window is launched even when a
3045 new secondary-window/dialog is pending to be shown/realized.)
3047 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3049 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3052 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3054 Patch by Mox Soini (ext-mox.soini@nokia.com)
3056 * src/hildon-banner.c: (hildon_banner_show_animation):
3057 use stylus size instead of obsolete note size.
3058 * src/hildon-defines.h: Update icon sizes.
3060 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-touch-selector-entry.c:
3063 (hildon_touch_selector_entry_init): Disable unsupported
3065 (hildon_touch_selector_entry_get_text_column): Emit a warning
3066 if an unsupported input modes is used and explicitile state
3067 these modes in the documentation.
3069 Fixes: NB#99802 (Hildon touch selector entry not working properly
3070 for some of the input modes)
3072 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3074 * src/hildon-pannable-area.c,
3075 (hildon_pannable_area_init): Added the changed signal handlers of
3078 Fixes: NB#100320 (HildonPannableArea does not listen to
3079 GtkAdjustment "change" signals)
3081 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3083 * doc/hildon-sections.txt
3084 * src/hildon-window-private.h
3085 * src/hildon-window.h
3086 * src/hildon-window.c (hildon_window_init)
3087 (hildon_window_realize, hildon_window_unrealize)
3088 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3089 (hildon_window_size_request, hildon_window_size_allocate)
3090 (hildon_window_forall, hildon_window_show_all)
3091 (hildon_window_destroy, +paint_edit_toolbar)
3092 (+hildon_window_set_edit_toolbar):
3093 New hildon_window_set_edit_toolbar() method, to add a
3094 HildonEditToolbar to a window without having to pack it manually.
3096 Reorganize hildon_window_size_allocate()
3098 * src/hildon-edit-toolbar.c: Update documentation.
3100 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3101 example to use the new API.
3103 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3105 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3108 Remove from stack before calling parent's hide.
3110 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3113 window is removed from the middle of the stack, update the
3114 transiency of the previous one.
3116 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3119 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3121 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3122 block/unblock the signal handler if it's not actually being used.
3123 Fixes some critical warnings.
3125 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3127 Based on a patch by Iván Gómez (igomez@igalia.com)
3129 * src/hildon-banner.c
3133 * src/hildon-pannable-area.c
3134 * src/hildon-picker-dialog.c
3135 * src/hildon-wizard-dialog.h
3136 * src/hildon-wizard-dialog.c: Documentation updates.
3138 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3139 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3141 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3143 * configure.ac: post release version bump.
3144 * debian/changelog: version bump.
3146 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3151 * configure.ac: Bump version.
3152 * debian/changelog: Updates.
3154 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3157 a stock icon nor change the relief of the back arrow.
3159 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3160 graphics from theme)
3162 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-button.c (hildon_button_set_alignment): Use
3165 priv->alignment if the button has no child yet.
3167 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3169 * src/hildon-button.c: (hildon_button_init): Set the
3170 button style during initialization to give it the proper
3173 Fixes: NB#99713 (HildonButton value label color is wrong)
3175 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3177 * src/hildon-touch-selector.c: Document
3178 hildon_touch_selector_center_on_selected()
3180 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3183 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3184 all menu items, but not the menu itself.
3185 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3186 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3187 items after adding them to the menu so keyboard accelerators work.
3188 (hildon_app_menu_show): Don't show the menu if it contains items
3189 but none of them are visible.
3191 * examples/hildon-app-menu-example.c (create_menu): Use
3192 gtk_widget_show_all() to show all menu items.
3194 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-picker-dialog.c:
3197 (-_update_title_on_selector_changed_cb),
3198 (-_dialog_update_title): Removed.
3199 (_select_on_selector_changed_cb), (_on_dialog_response),
3200 (on_selector_columns_changed): Do not update the dialog title.
3201 (setup_interaction_mode): Do not connect to
3202 HildonTouchSelector::changed signal if there's a "done" button, as
3203 the dialog title doesn't need to be updated.
3205 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3208 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3210 Patch by Kristian Rietveld (kris@imendio.com)
3212 * src/hildon-touch-selector.c: (_create_new_column): Use new
3213 GtkTreeView::hildon-row-tapped signal to react to user interactions
3214 instead of ::changed.
3216 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3217 with some dynamic tree model)
3219 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3222 (+screen_size_changed, +label_size_request)
3223 (hildon_note_class_init): Make the Hildon information note have a
3224 minimum height, and make its text hvae a maximum width.
3226 Fixes: NB#98614 (Hildon information note (background) should have
3227 minimum height and maximum text width)
3229 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-banner.h
3232 * src/hildon-banner.c (hildon_banner_show_information)
3233 (hildon_banner_show_informationf)
3234 (hildon_banner_show_information_with_markup): Update documentation
3235 to reflect that the icon_name parameter is not used anymore.
3236 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3237 Remove all code from these functions and mark them as deprecated.
3238 (hildon_banner_show_progress): Mark as deprecated.
3240 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3242 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3244 * src/hildon-pannable-area.c,
3245 (hildon_pannable_area_class_init),
3246 (tranparency_color),
3247 (hildon_pannable_draw_vscroll),
3248 (hildon_pannable_draw_hscroll),
3249 (hildon_pannable_area_expose_event): Added a new way to render the
3250 scrollbars of the pannable area avoiding using cairo at all. This
3251 way we improve the performance of the pannable area rendering. The
3252 cairo rendering procedure is still in the code, we can control
3253 which one to use changing the value of the define
3254 USE_CAIRO_SCROLLBARS.
3256 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3258 * configure.ac: post release version bump.
3259 * debian/changelog: version bump.
3261 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: Bump version.
3267 * debian/changelog: Updates.
3269 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3272 banners instead of destroying them when they receive a button
3275 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3277 Reverted commit 34028, it was causing regressions, probably the
3278 topmost condition is not correct, we have to check it in more
3279 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3280 propagation of button press events)
3282 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3285 that the selection is not empty before attempting to retrieve the
3286 current ampm selection.
3288 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-picker-button.c:
3291 (hildon_picker_button_on_dialog_response): Directly update the
3292 button contents when required instead of calling _selection_changed.
3294 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-program.c (hildon_program_update_top_most): Update
3297 'is-topmost' property also when wm_hints is not set.
3299 Fixes: NB#98383 (is-topmost signal is not emitted when task
3300 switcher is clicked.)
3302 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3304 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3308 * src/hildon-animation-actor.c,
3309 * src/hildon-animation-actor.h: Added the animation actor class,
3310 this widget represents an animation actor for WM-assisted
3311 animation effects in the Hildon framework.
3313 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-window-stack-private.h
3316 * src/hildon-window-stack.c
3317 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3318 Avoid calling gtk_widget_show() again indirectly from
3319 hildon_stackable_window_show()
3321 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3323 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3326 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3329 (hildon_time_selector_init): Move the construction of the hours and
3330 ampm columns to the constructor to preserve the order the columns
3333 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-picker-dialog.c:
3336 (hildon_picker_dialog_class_init): Connect a realize method.
3337 (+hildon_picker_dialog_realize): Setup the interaction mode here
3339 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3340 yet, do it during the realize instead.
3341 (_on_dialog_response):
3342 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3343 if the widget is not realized, to avoid the dialog response before it
3346 Avoid premature responses in the HildonPickerDialog that can cause it
3347 to be hidden before it's even shown.
3349 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3352 (on_selector_columns_changed), (requires_done_button),
3353 (+prepare_action_area), (setup_interaction_mode),
3354 (_hildon_picker_dialog_set_selector):
3356 Split the interaction mode setup into preparation of the
3357 action area (prepare_action_area()) and the connection of
3358 the signals in setup_interaction_mode() and update the code to
3361 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3363 * src/hildon-pannable-area.c,
3364 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3365 per second to 15, we will check if this is ok regarding
3368 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3370 * src/hildon-pannable-area.c,
3371 (hildon_pannable_axis_scroll): Avoid resize if we already have
3372 reached overshoot_max.
3374 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3376 * src/hildon-pannable-area.c,
3377 (hildon_pannable_area_init),
3378 (hildon_pannable_area_realize),
3379 (hildon_pannable_area_size_allocate),
3380 (hildon_pannable_area_map),
3381 (hildon_pannable_area_unmap),
3382 (hildon_pannable_draw_vscroll),
3383 (hildon_pannable_draw_hscroll),
3384 (hildon_pannable_area_expose_event),
3385 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3386 pannable are to avoid the expose events go to the window and
3387 redraw the window. We save this way that part of the stack and the
3388 paint_boxes. We had to change the positions of the elements when
3391 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3394 * src/hildon-color-chooser-dialog.c:
3395 (hildon_color_chooser_dialog_init):
3396 * src/hildon-font-selection-dialog.c:
3397 (hildon_font_selection_dialog_init),
3398 (hildon_font_selection_dialog_show_preview):
3399 * src/hildon-get-password-dialog.c:
3400 * src/hildon-login-dialog.c:
3401 * src/hildon-set-password-dialog.c:
3402 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3403 * src/hildon-time-picker.c: (hildon_time_picker_init):
3405 Remove obsolete logical string IDs and update to the appropriate ones.
3407 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3409 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3412 that happens if the window hasn't been realized yet.
3414 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3415 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3417 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3420 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3423 Fixes: NB#98537 (Device hangs in account settings dialog)
3425 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: post release version bump.
3428 * debian/changelog: version bump
3430 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3435 * configure.ac: Bump version.
3436 * debian/changelog: Updates.
3438 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3440 Added a new function to the HildonTimeButton widget that allows to
3441 change the step of the minutes in the selector associated with the
3442 button: hildon_time_button_new_step
3444 * src/hildon-time-button.c,
3445 (hildon_time_button_init),
3446 (hildon_time_button_new),
3447 (hildon_time_button_new_step):
3448 * src/hildon-time-button.h: Added the new function and refactored
3450 * examples/hildon-time-button-example.c,
3451 (main): We have replaced the function without parameters with the
3452 function with the steps set to 5
3454 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3456 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-time-selector.c,
3459 (hildon_time_selector_class_init),
3460 (hildon_time_selector_constructor),
3461 (hildon_time_selector_get_property),
3462 (hildon_time_selector_set_property),
3463 (_create_minutes_model),
3464 (hildon_time_selector_new_step),
3465 (hildon_time_selector_set_time),
3466 * src/hildon-time-selector.h: Added a new property to the
3467 HildonTimeSelector (minutes-step), we use that property to control
3468 the steps between the minutes in the list of the selector. We have
3469 added a new function to the API to create a widget changing the
3470 step: hildon_time_selector_new_step.
3472 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3474 * src/hildon-time-selector.c,
3475 (hildon_time_selector_class_init),
3476 (hildon_time_selector_constructor),
3477 (hildon_time_selector_init): Overrided the construct function when
3478 creating the time selector object. We have moved the minutes model
3479 handling code from the init to the new construction function:
3480 hildon_time_selector_constructor.
3482 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3484 * examples/hildon-date-button-example.c: (main): Use the new
3485 hildon_date_button_new_with_year_range() method in the example.
3486 * src/hildon-date-button.c:
3487 (+hildon_date_button_new_with_year_range): New public method
3488 to conveniently create a HildonDateButton with a custom year range
3489 in its HildonDateSelector.
3490 * src/hildon-date-button.h: Add the new public method definition.
3492 Fixes: NB#97908 (Not possible to change the year range in
3493 HildonDateSelector/HildonDateButton)
3495 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-date-selector.c:
3498 (+hildon_date_selector_set_property),
3499 (+hildon_date_selector_get_property),
3500 (hildon_date_selector_class_init): Install new properties "min-year"
3501 and "max-year" to define boundaries for the year column.
3502 (_create_year_model): Use the boundary properties to populate the model.
3503 (+hildon_date_selector_new_with_year_range): New public method to
3504 create a HildonDateSelector with a user defined year range.
3505 (hildon_date_selector_select_current_date): Use the new boundaries to
3506 calculate the iterator of current year.
3507 * src/hildon-date-selector.h: Add the new public method definition.
3509 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3512 Install a constructor method.
3513 (+hildon_date_selector_construct_ui): construct the widget.
3514 (+hildon_date_selector_constructor): new constructor.
3515 (+hildon_date_selector_init): move out widget construction code to
3516 the new constructor.
3518 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3521 that there's actually a month or year selected before obtaining them.
3522 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3523 of the HildonTouchSelector::changed signal, as it was emitted on every
3524 single item selection.
3526 Fix some warnings and possible crashers due to the selection restoring.
3528 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3531 the signal handlers only after creating the dialog instead of on every
3534 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-button.c (hildon_button_init)
3537 * src/hildon-check-button.c (hildon_check_button_init)
3538 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3539 focus when clicked by default.
3541 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3546 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3548 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3549 Alejandro G. Castro (alex@igalia.com)
3551 * src/hildon-picker-dialog.c:
3552 (hildon_picker_dialog_class_init): install new "center-on-show"
3554 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3555 (hildon_picker_dialog_set_property): add setter code for the new
3557 (hildon_picker_dialog_get_property): add getter code for the new
3559 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3560 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3563 Fixes: NB#92849 (Selected item is not always visible when
3564 HildonTouchSelector is shown)
3566 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3568 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3569 Alejandro G. Castro (alex@igalia.com)
3571 * src/hildon-touch-selector.c:
3572 (_create_new_column): Do not connect to the "realize" signal of the
3574 (hildon_touch_selector_append_column): center on the selected items
3575 when a new column is appended.
3576 (hildon_touch_selector_select_iter): Factor out the code to select a
3577 column to hildon_touch_selector_scroll_to().
3578 (+search_nearest_element): Method to retrieve the nearest selected
3579 element to the visible area of the pannable area in a column.
3580 (+on_realize_cb): scroll to the initially selected item.
3581 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3582 the pannable area is realized, otherwise delay this until it is.
3583 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3584 selected items of a given column.
3585 (+hildon_touch_selector_center_on_selected): Public method to center
3586 all columns on the nearest selected item.
3587 * src/hildon-touch-selector.h: Add definition for
3588 hildon_touch_selector_center_on_selected().
3590 Implement public API to ensure visibility of all selected items in
3591 a HildonTouchSelector.
3593 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3595 Fixed a problem in the fading when calling the scroll_to API, and
3596 improve scrollbar fading handling.
3598 * src/hildon-pannable-area.c,
3599 (hildon_pannable_area_grab_notify): avoid the timeout when the
3601 (hildon_pannable_area_button_press_cb),
3602 (hildon_pannable_area_motion_notify_cb): Code style changes.
3603 (hildon_pannable_area_button_release_cb): Review the conditions
3604 when releasing the mouse button to avoid unrequired fading
3606 (hildon_pannable_area_scroll_to): Do not calculate and set the
3607 velocity if the scroll is not required.
3609 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3612 Don't check whether the new selector is NULL: it cannot be.
3613 Hold a reference to the selector while doing the replacement.
3615 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3617 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3618 unnecessary size_request in a removed widget.
3620 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3623 an unnecessary reference tracking that was leaking.
3625 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3627 Added delayed motion notify event handling, this way we can
3628 discard redrawing if more than 25 events arrive per second.
3630 * src/hildon-pannable-area.c,
3631 (hildon_pannable_area_init): Initialized the new private atributes
3632 controlling this timeout
3633 (hildon_pannable_area_dispose): Remove the timeout that controls
3634 the motion notify events.
3635 (hildon_pannable_area_scroll): Added a condition to control the
3636 use of the acceleration.
3637 (hildon_pannable_area_motion_event_scroll_timeout),
3638 (hildon_pannable_area_motion_event_scroll): Added this two
3639 functions, they handle the motion notify events inside the
3641 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3642 to the scroll method with the new function.
3643 (hildon_pannable_area_button_release_cb): We have to remove the
3644 timeout handler and move to the last position if the last motion
3645 events were not handled.
3647 Fixes: NB#97028 (Pannable area updates on every motion event)
3649 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3651 * src/hildon-pannable-area.c,
3652 (hildon_pannable_area_get_topmost): Added a new parameter to
3653 filter the the windows that do not include those events. Added
3654 also a condition when finding the window to filter windows that do
3655 not ask for those events.
3656 (hildon_pannable_area_button_press_cb),
3657 (hildon_pannable_area_button_release_cb),
3658 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3659 topmost function, we have added the new parameter.
3661 Fixes: NB#97458 (Pannable area prevents propagation of button
3664 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c,
3667 (hildon_pannable_area_initial_effect): Added controls before
3668 launching the timeout and the idle functions.
3669 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3670 of the method, in some situations it can return with TRUE and 0 in
3672 (hildon_pannable_area_button_press_cb): We do not need to set
3673 DELAY for fading out here.
3675 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3677 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3680 post-cleaning if the selection is not NULL.
3682 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3684 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3685 all items before restoring the selection.
3687 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-touch-selector.c:
3690 (+hildon_touch_selector_unselect_all):
3691 * src/hildon-touch-selector.h: New API to unselect all items in a
3692 column of the touch selector.
3694 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3696 * src/hildon-pannable-area.c,
3697 (hildon_pannable_area_redraw): Added a call to the refresh
3698 function inside the redraw because apparently in some cases the
3699 change in the adjustment does not imply a size allocate.
3701 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3702 despite the view not being scrollable)
3704 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3707 leak. Check for NULL before attempting to set the window title.
3709 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3712 whether to show or not the 'Done' button each time the dialog is
3713 shown, as it depends on the HildonTouchSelector selection mode.
3715 Fixes: NB#96226 (In multiple selection mode Done button is shown
3716 sometimes in listpicker)
3718 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3720 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3721 for the number of columns in the HildonTouchSelector more than once.
3723 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3725 * src/hildon-touch-selector.c: Minor documentation fixes.
3727 * src/hildon-picker-dialog.c (+_dialog_update_title)
3728 (_select_on_selector_changed_cb)
3729 (_update_title_on_selector_changed_cb)
3730 (on_selector_columns_changed): Update dialog title when there's no
3731 'Done' button and also when the number of columns in the selector
3735 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3736 (+_selection_changed, hildon_picker_button_on_dialog_response)
3737 (hildon_picker_button_selector_selection_changed)
3738 (+hildon_picker_button_selector_columns_changed)
3739 (hildon_picker_button_set_selector): Update button value and emit
3740 'value-changed' when the number of columns in the selector
3744 Fixes: NB#96225 (Dialog titles are not shown according to the
3745 values selected in the list picker)
3747 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3749 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3750 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3751 New "arrow-width" and "arrow-height" style properties to set the
3752 size of the arrow button.
3753 Set name of arrow button ("hildon-edit-toolbar-arrow").
3755 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3756 graphics from theme)
3758 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3760 * src/hildon-picker-button.c:
3761 (hildon_picker_button_selector_selection_changed): Use
3762 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3763 the dialog is present.
3765 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3766 the selection is accepted in the dialog)
3768 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3770 * src/hildon-color-chooser.h
3771 * src/hildon-color-chooser-dialog.h:
3772 Added G_BEGIN_DECLS and G_END_DECLS
3774 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3776 (_clean_current_selection): plug a leak in the list.
3778 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-picker-dialog.c:
3781 (+free_path_list): Method to free a GList of GtkTreePaths.
3782 (_clean_current_selection), (_save_current_selection),
3783 (_restore_current_selection): Save the current selection in
3784 as a list of lists, to support multiple selection properly.
3786 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3788 patch by Claudio Saavedra (csaavedra@igalia.com)
3790 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3791 Store the press position.
3792 (+hildon_text_view_button_release_event): If the release position is
3793 close enough to the press position, move the cursor here. Otherwise,
3795 (hildon_text_view_class_init): Override GtkTextView press, release, and
3796 motion event handlers, disabling this way text selection through
3797 pointer interaction, and allowing the container widget to handle the
3800 Fixes: NB#95828 (HildonTextView functionality)
3802 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3804 Based on a patch by Iván Gómez (igomez@igalia.com)
3806 * src/hildon-button.[ch]
3807 * src/hildon-calendar.c
3808 * src/hildon-check-button.c
3809 * src/hildon-date-editor.c
3810 * src/hildon-date-selector.c
3811 * src/hildon-picker-button.c
3812 * src/hildon-time-editor.c
3813 * src/hildon-time-selector.c
3814 * src/hildon-touch-selector.[ch]:
3815 Documentation updates
3817 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-pannable-area.c,
3820 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3821 threshold, it was required due to X events handling.
3823 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3825 * src/hildon-pannable-area.c,
3826 (hildon_pannable_area_grab_notify),
3827 (hildon_pannable_area_initial_effect),
3828 (hildon_pannable_area_button_press_cb),
3829 (hildon_pannable_area_button_release_cb),
3830 (hildon_pannable_area_scroll_cb),
3831 (hildon_pannable_area_scroll_to): Review the timeout management of
3832 the scrollbar, the frecuency was incorrectly set.
3834 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3836 * src/hildon-picker-button.c:
3837 (+hildon_picker_button_on_dialog_response),
3838 (hildon_picker_button_clicked): Present the dialog instead of
3839 running it with gtk_dialog_run().
3841 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3844 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3846 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3847 (hildon_app_menu_finalize): When a window is hidden it doesn't
3848 emit notify::is-topmost, so make sure than the menu also
3849 disappears in that case.
3850 (parent_window_topmost_notify): Renamed from parent_window_hidden
3852 Fixes: NB#94460 (stackable window's menu is not closed when its
3855 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-touch-selector-entry.c:
3858 (+hildon_touch_selector_entry_set_input_mode),
3859 (+hildon_touch_selector_entry_get_input_mode):
3860 * src/hildon-touch-selector-entry.h: New methods to access the input
3861 mode in the selector's entry.
3863 Fixes: NB#93410 (API required for setting IM mode in
3864 HildonTouchSelectorEntry)
3866 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3868 * configure.ac: post release version bump.
3869 * debian/changelog: version bump
3871 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3876 * configure.ac: Bump version.
3877 * debian/changelog: Updates.
3879 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-touch-selector.c:
3882 (_hildon_touch_selector_has_multiple_selection): No need
3883 to initialize the variables here.
3885 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-note-private.h
3888 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3889 (hildon_note_finalize, hildon_note_rebuild): Close information
3890 notes when they receive a button press.
3892 Fixes: NB#89890 (Information notes does not get disappeared after
3895 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3897 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3898 mark from the wizard title, as it's not really necessary. Also,
3899 do not display the page title if not set.
3901 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3903 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3904 (parent_window_hidden): Use the window's "is-topmost" property to
3905 detect when to hide the menu.
3907 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3909 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3910 (hildon_app_menu_finalize): If the parent window of the menu is
3911 hidden, hide the menu too.
3913 Fixes: NB#94460 (stackable window's menu is not closed when its
3916 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3919 * debian/libhildon1-examples.install
3921 * examples/Makefile.am:
3922 Use dh_install to install all examples.
3923 Use DEB_SRCDIR instead of defining SOURCE_DIR
3925 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3927 * configure.ac: post release version bump.
3928 * debian/changelog: version bump
3930 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3935 * configure.ac: bump version
3936 * debian/changelog: updates
3937 * debian/control: bump gtk+ dependency
3939 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3941 patch by Christian Dywan (christian@imendio.com)
3943 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3944 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3946 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3948 * src/hildon-check-button.c (hildon_check_button_init)
3949 (hildon_check_button_class_init, hildon_check_button_style_set)
3950 (hildon_check_button_apply_style):
3951 New "checkbox-size" style property.
3953 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3954 larger / configurable size)
3956 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3958 * configure.ac: post release version bump.
3959 * debian/changelog: version bump
3961 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3966 * configure.ac: bump version
3967 * debian/changelog: updates
3969 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3971 * doc/hildon-sections.txt
3972 * src/hildon-pannable-area.c
3973 * src/hildon-program.c
3974 * src/hildon-time-editor.c
3975 * src/hildon-touch-selector-entry.c:
3977 More documentation updates.
3979 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3981 * doc/hildon-sections.txt
3982 * src/hildon-caption.c
3983 * src/hildon-code-dialog.c
3984 * src/hildon-color-button.c
3985 * src/hildon-controlbar.c
3986 * src/hildon-date-editor.c
3987 * src/hildon-date-selector.c
3988 * src/hildon-edit-toolbar.c
3989 * src/hildon-find-toolbar.c
3990 * src/hildon-font-selection-dialog.c
3992 * src/hildon-program.c
3993 * src/hildon-range-editor.c
3994 * src/hildon-seekbar.c
3995 * src/hildon-time-editor.c
3996 * src/hildon-time-selector.c
3997 * src/hildon-volumebar-range.c
3998 * src/hildon-volumebar.c
3999 * src/hildon-vvolumebar.c
4000 * src/hildon-weekday-picker.c
4001 * src/hildon-window.c
4002 * src/hildon-wizard-dialog.c:
4004 Lots of documentation fixes.
4006 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4008 Patch contributed by Iván Gómez (igomez@igalia.com)
4010 * src/hildon-check-button.c:
4011 * src/hildon-date-button.c:
4012 * src/hildon-date-selector.c:
4013 * src/hildon-dialog.c:
4014 * src/hildon-edit-toolbar.c:
4015 * src/hildon-entry.c:
4016 * src/hildon-picker-button.c:
4017 * src/hildon-program.c:
4018 * src/hildon-text-view.c:
4019 * src/hildon-time-button.c:
4020 * src/hildon-touch-selector-entry.c:
4021 * src/hildon-window-stack.c:
4023 Add more "since" tags to the new API.
4025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4027 * doc/hildon-sections.txt: Add below method.
4028 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4029 version for the hildonized scale.
4030 * src/hildon-gtk.h: Add the definition.
4032 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4034 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4036 * doc/hildon-sections.txt: Add missing entries for new methods.
4038 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4040 Added API to pannable are in order to get its adjustments. We
4041 added two properties to manage the values we had in the private
4044 * src/hildon-pannable-area.c:
4045 (hildon_pannable_area_class_init): Added hadjustment and
4046 vadjustment properties in order to expose horizontal and vertical
4048 (hildon_pannable_area_get_property),
4049 (hildon_pannable_area_set_property): Added code to handle the new
4051 (hildon_pannable_area_get_hadjustment),
4052 (hildon_pannable_area_get_vadjustment): API functions to get the
4054 * src/hildon-pannable-area.h:
4055 (hildon_pannable_area_get_hadjustment),
4056 (hildon_pannable_area_get_vadjustment): API functions to get the
4059 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4061 Fixed some leaks, after valgrinding.
4063 * src/hildon-touch-selector.c:
4064 (_default_print_func): Fixed a leak.
4065 (hildon_touch_selector_append_column): Fixed a leak.
4066 * src/hildon-date-button.c:
4067 (hildon_date_button_init): Fixed a leak.
4068 * src/hildon-date-selector.c
4069 (hildon_date_selector_finalize): Fixed a leak.
4071 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4073 Based on a patch by Christian Dywan (christian@imendio.com)
4075 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4077 * src/hildon-gtk.h: Add definition.
4079 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4081 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-picker-button.c: (hildon_picker_button_init),
4084 (hildon_picker_button_new): Set the HildonButton::style property
4085 in the init method, to propagate the value to the derived classes.
4087 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4089 * src/hildon-button.c: (hildon_button_class_init): Do not make
4090 the "style" property a construct property.
4092 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4094 * src/hildon-wizard-dialog.h
4095 * src/hildon-wizard-dialog.c
4096 (hildon_wizard_dialog_set_forward_page_func)
4097 * src/hildon-pannable-area.h
4098 * src/hildon-pannable-area.c
4099 (hildon_pannable_area_set_size_request_policy):
4100 Documentation fixes.
4102 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4104 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4106 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4108 * doc/hildon-sections.txt: Added sections file.
4110 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/*.[ch]: Updates.
4115 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4117 * examples/hildon-progress-indicator-example.c: new file
4118 * examples/Makefile.am: include the new example program
4120 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4124 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4126 * configure.ac: post release version bump
4127 * debian/changelog: version bump
4129 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4134 * configure.ac: bump version
4135 * debian/changelog: updates
4136 * debian/control: bump gtk+ dependency
4138 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-dialog.c: Mark as deprecated.
4141 * src/hildon-dialog.h: Mark as deprecated.
4142 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4143 from HildonDialog and still work, even if
4144 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4145 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4147 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4148 maemo changes) instead)
4150 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4152 * src/hildon-pannable_area.h:
4153 * src/hildon-pannable_area.c:
4154 (hildon_pannable_area_class_init),
4155 (hildon_pannable_area_set_property),
4156 (hildon_pannable_area_get_property),
4157 (hildon_pannable_area_size_request),
4158 (hildon_pannable_area_get_size_request_policy),
4159 (hildon_pannable_area_set_size_request_policy): Added new API
4160 allowing applications to control the request policy. Now they can
4161 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4162 children allocation (HILDON_MOVEMENT_CHILDREN).
4164 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4168 (hildon_gtk_tree_view_set_ui_mode)
4169 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4170 mode of treeviews and iconviews.
4172 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-touch-selector-entry.c:
4175 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4176 of a GtkEntry to get proper theming.
4178 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4179 widget, not GtkEntry)
4181 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4184 no HildonWizardDialogPageFunc.
4186 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4188 Patch contributed by Iván Gómez (igomez@igalia.com)
4190 * src/hildon-app-menu.c:
4191 * src/hildon-button.c:
4192 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4193 * src/hildon-stackable-window.c:
4194 * src/hildon-time-selector.c:
4195 * src/hildon-touch-selector.c:
4196 * src/hildon-window.c:
4198 Add more "since" tags to the new API in hildon 2.2.
4200 2008-12-05 Tim Janik <timj@imendio.com>
4202 Patch contributed by Christian Dywan (christian@imendio.com)
4204 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4205 HildonSizeType, which are supplied by Gtk+ now.
4207 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4209 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4210 (with maemo changes) instead)
4212 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4214 Patch contributed by Iván Gómez (igomez@igalia.com)
4216 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4219 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4221 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4222 (some_page_func), (main): Update the example to use a
4223 HildonWizardDialogPageFunc function.
4225 * src/hildon-wizard-dialog-private.h: Add private data for
4226 the HildonWizardDialogPageFunc function usage.
4228 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4229 (destroy), (hildon_wizard_dialog_init), (response),
4230 (hildon_wizard_dialog_set_forward_page_func):
4231 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4232 that applications can use to stop a HildonWizardDialog to jump to
4235 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4238 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4240 * src/hildon-program.h
4241 * src/hildon-program-private.h
4242 * src/hildon-program.c (hildon_program_init)
4243 (hildon_program_set_common_app_menu)
4244 (hildon_program_get_common_app_menu):
4245 New API for setting a common HildonAppMenu for all
4246 HildonStackableWindows registered with the HildonProgram.
4248 * src/hildon-stackable-window.c
4249 (hildon_stackable_window_toggle_menu):
4250 Use the common HildonAppMenu if a window doesn't have a specific
4253 * src/hildon-app-menu-private.h
4254 * src/hildon-app-menu.c
4255 (hildon_app_menu_get_parent_window):
4256 Function to obtain the window a HildonAppMenu is attached to.
4257 (hildon_app_menu_set_parent_window):
4258 Hide the menu if the parent window is set to NULL.
4260 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4262 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4263 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4264 search widget to popup.
4266 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4268 * configure.ac: post release version bump
4269 * debian/changelog: version bump
4271 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4276 * configure.ac: bump version
4277 * debian/changelog: updates
4279 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4281 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4283 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4284 (hildon_window_stack_window_realized)
4285 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4286 Set the leader GdkWindow when a window is stacked and realized,
4287 unset it when it's unstacked.
4288 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4290 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4292 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-stackable-window.h
4295 * src/hildon-window-stack.h:
4296 Protect definition of HildonWindowStack using the preprocessor.
4298 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4301 Fix warning if all menu items are hidden.
4303 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4305 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4307 * src/hildon-controlbar.c:
4308 * src/hildon-hvolumebar.c:
4309 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4310 Multiple scale size defines updates.
4312 Fixes: NB#94322 (Scale Updates)
4314 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4316 * examples/hildon-app-menu-example.c (create_menu)
4317 Show items after adding them to the menu, as in the future the
4318 menu will no longer call gtk_widget_show() on the added items.
4320 * src/hildon-app-menu.c:
4321 Update example as explained above.
4323 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-app-menu.c
4326 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4327 Make sure that all menu items have finger height.
4329 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4331 * src/hildon-picker-dialog.c:
4332 (_on_dialog_response), (_save_current_selection),
4333 (_restore_current_selection), (_clean_current_selection),
4334 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4335 Defined new functions in order to save the current internal selector
4336 selection previous open the dialog, in case that the use cancel the
4337 interaction, so the widget restores the previous selection.
4339 Fixes: NB#92032 (In calendar application, date values in 'new event'
4342 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4344 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-button.c: Add a reference to the button examples in
4347 hildon-button-example.c
4349 * examples/hildon-button-example.c: Added examples of the most
4350 common button layouts.
4352 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-app-menu.c (hildon_app_menu_show)
4355 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4357 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4359 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-picker-dialog.c:
4362 (hildon_picker_dialog_init): Initialize the signal id for
4363 HildonTouchSelector::columns-changed.
4364 (+on_selector_columns_changed): Set up the interaction mode everytime a
4365 column is added or removed from the HildonTouchSelector.
4366 (_hildon_picker_dialog_set_selector): Connect to
4367 HildonTouchSelector::columns-changed and keep track of it.
4369 Make sure to update the interaction mode of the dialog everytime a
4370 column is added or removed in the HildonTouchSelector.
4372 Fixes: NB#93228 (Done button is not shown always in listpicker)
4374 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4377 a new ::columns-changed signal.
4378 (hildon_touch_selector_append_column): Emit ::columns-changed.
4379 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4381 Add a ::columns-changed signal, emitted when the number of columns in a
4382 HildonTouchSelector changes.
4384 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4387 (_hildon_picker_dialog_set_selector): Factor out the code
4388 to set up the dialog interaction mode.
4390 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4393 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4394 to signal_changed_id.
4396 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4401 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4403 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4404 Updated the logical ids related to ampm format, as now it is required to
4405 show it correctly localized even on languages with no default
4406 abbreviations for am or pm
4407 (_check_am_pm_format): check correctly the 24h format gconf property
4409 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4411 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-button.c: Documentation updates.
4415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4417 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4418 * src/hildon-caption.c: (hildon_caption_class_init):
4419 * src/hildon-color-button.c: (hildon_color_button_class_init):
4420 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4421 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4422 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4423 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4425 Remove deprecated GTK+ marshalers and replace them with the ones
4426 provided by GLib, for those available, add a marshaler for
4427 BOOLEAN:VOID, which is not available in GLib, and use it.
4429 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4431 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4432 the text from the previous column if there is no
4433 HildonTouchSelectorColumn::text-property set.
4435 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-button.h
4438 * src/hildon-button.c (hildon_button_set_property)
4439 (hildon_button_get_property, hildon_button_class_init)
4440 (hildon_button_set_style, hildon_button_get_style):
4441 New "style" property to change the visual appearance of the
4444 * src/hildon-picker-button.c (hildon_picker_button_new):
4445 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4447 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4448 HildonButton look like PickerButton)
4450 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4452 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4453 column while building the default string.
4455 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4458 scroll indicator by default.
4460 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4462 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-main.c: Fix the documentation for hildon_init()
4466 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4468 * doc/hildon-docs.sgml
4472 * src/hildon-window-stack-private.h
4473 * src/hildon-window-stack.h
4474 * src/hildon-window-stack.c:
4475 New HildonWindowStack object, that adds support for multiple
4476 stacks of windows per process.
4478 * src/hildon-stackable-window-private.h
4479 * src/hildon-stackable-window.h
4480 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4481 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4482 (hildon_stackable_window_show, hildon_stackable_window_hide)
4483 (hildon_stackable_window_class_init)
4484 (hildon_stackable_window_init):
4485 Use HildonWindowStack for stack management.
4487 * src/hildon-program.c (hildon_program_pop_window_stack)
4488 (hildon_program_peek_window_stack)
4489 (hildon_program_go_to_root_window):
4490 Add a fallback implementation to the deprecated functions using
4493 * examples/hildon-stackable-window-example.c:
4494 Use the new HildonWindowStack API.
4496 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4498 * src/hildon-stackable-window-private.h
4499 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4500 (hildon_stackable_window_hide, hildon_stackable_window_init):
4501 Remove all window stack management.
4503 * src/hildon-program-private.h
4504 * src/hildon-program.h
4505 * src/hildon-program.c (hildon_program_init)
4506 (hildon_program_pop_window_stack)
4507 (hildon_program_peek_window_stack)
4508 (hildon_program_go_to_root_window):
4509 Remove all window stack management and mark functions as
4512 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-app-menu.c (hildon_app_menu_realize):
4515 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4517 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4519 * configure.ac: post release version bump
4520 * debian/changelog: version bump
4522 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4527 * configure.ac: bump version
4528 * debian/changelog: updates
4530 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4532 Based on initial code by Christian Dywan (christian@imendio.com)
4534 * doc/hildon-docs.sgml: Add section for hildon-main.
4535 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4536 * src/Makefile.am: Add new hildon-main.[ch]
4537 * src/hildon-defines.h: Update the icon sizes.
4538 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4539 new library initialization files and register icon sizes.
4540 * src/hildon-main.h: New declarations.
4541 * src/hildon.h: Include hildon-main.h
4543 Add new initialization functions to the library. These methods
4544 will register the hildon specific icon sizes and can be used in the
4545 future for other hildon specific bits.
4547 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4549 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-window.c: (hildon_window_realize),
4552 (hildon_window_notify), (-hildon_window_update_title): Do not set
4553 the application name in the window title.
4555 Fixes: NB#89754 (Applications shouldn't display their names in the
4558 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-note-private.h:
4561 * src/hildon-note.c: (hildon_note_set_property),
4562 (hildon_note_get_property), (hildon_note_class_init),
4563 (hildon_note_init), (hildon_note_finalize),
4564 (hildon_note_new_confirmation_with_icon_name),
4565 (hildon_note_new_information_with_icon_name):
4567 No need to mark as deprecated the actual code. Revert
4568 to avoid missing symbols in widgets using deprecated API.
4570 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4572 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4574 * src/hildon-volumebar.h
4575 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4576 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4578 * src/hildon-helper.h
4579 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4580 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4582 * examples/Makefile.am:
4583 Deprecate hildon-insensitive-example
4585 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4587 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4589 * examples/hildon-pannable-area-buttons-scroll-example.c:
4590 Make all buttons finger height
4592 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4594 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4596 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4597 update the day model only if it is really required, and to avoid the
4598 full-reconstruction aproach. Now it only add or remove the required days.
4600 The purpose of this is avoid superfluous HildonTouchSelector::changed
4603 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4604 with strange parameters)
4606 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4608 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4610 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4611 the WINDOW_TYPE property.
4613 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4615 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4618 Fix dependency to allow parallel compilation with make -jX
4620 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4623 color frame and some minor tweaks to make it more consistent with
4626 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4627 highlighted but not visible)
4629 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4631 * examples/Makefile.am: Fixed typo in the Makefile.am.
4633 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4635 Reviewed the use of MAEMO_GTK define, now we add the define in the
4636 compilation line, and we also add it to the pc file.
4638 * configure.ac: Added MAEMO_GTK define to the compilation command
4639 and removed it from the config.h.
4641 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4642 do not have to take care about this define if the library was
4646 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4648 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4650 * examples/Makefile.am,
4651 * examples/hildon-pannable-area-buttons-scroll-example.c,
4652 * examples/hildon-pannable-area-gesture-signals-example.c,
4653 * examples/hildon-pannable-area-scroll-jump-example.c,
4654 * examples/hildon-pannable-area-tree-view-example.c:
4655 Renamed the pannable area examples, now they have more meaningful
4658 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4660 * src/hildon-touch-selector.c:
4661 (hildon_touch_selector_set_column_selection_mode): Used of
4662 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4663 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4664 to avoid re-seting the same selection mode.
4666 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4667 breaks HildonPickerDialog)
4669 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4671 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4672 conditional in the Makefile.am
4674 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4676 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4677 Remove unused methods.
4679 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4681 * src/hildon-button.c (hildon_button_init):
4682 Make button images center-aligned by default
4684 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4687 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4688 activated, we have to think about how to deal with both defines
4689 MAEMO_GTK and MAEMO_CHANGES.
4691 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4693 * examples/hildon-app-menu-example.c (create_menu): Make all
4694 buttons finger size.
4696 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4698 Fixed the compilation without maemo gtk adding ifdefs with
4699 MAEMO_GTK define to the code, we have to check this version more
4702 * examples/Makefile.am: Added control to avoid some examples that
4703 just make sense with maemo gtk.
4706 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4707 hildon modes with the define.
4709 * examples/hildon-edit-toolbar-example.c,
4710 (create_icon_view): Create the icon view without hildon-gtk
4711 helpers if we are not using maemo gtk.
4713 * src/hildon-touch-selector.c,
4714 (_create_new_column): Create the treeview without hildon-gtk
4715 helpers if we are not using maemo gtk.
4717 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4719 * src/hildon-pnnable-area.c,
4720 (hildon_pannable_area_dispose),
4721 (hildon_pannable_area_button_press_cb),
4722 (hildon_pannable_area_child_mapped),
4723 (hildon_pannable_area_add),
4724 (hildon_pannable_area_remove): Added code to control the position
4725 of the event_window when adding and removing children from the
4726 pannable. We have to raise the event window when the child is
4729 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4730 selection mode using custom widget inside pannable)
4732 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4734 * configure.ac: post release version bump
4735 * debian/changelog: version bump
4737 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4742 * configure.ac: bump version
4743 * debian/changelog: updates
4745 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4747 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4748 search mode, in order to avoid lose the focus on the treeview when
4749 a hw key (like enter) is pressed.
4751 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4752 in HildonDateSelector dialog)
4754 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4756 * debian/rules: Added --enable-maintainer-mode
4757 * Makefile.am: Added ACLOCAL_AMFLAGS
4759 This allows to properly regenerate the Makefiles if you modify the
4760 configure.ac or any Makefile.am.
4762 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4764 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4765 properties, not needed at all.
4767 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4771 * src/hildon-note.c: (hildon_note_set_property),
4772 (hildon_note_get_property), (hildon_note_class_init),
4773 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4774 (hildon_note_new_confirmation_add_buttons): Remove icons.
4775 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4776 (hildon_note_new_information_with_icon_name): Deprecate.
4777 (hildon_note_new_confirmation): Act directly, without calling
4778 the deprecated constructor.
4779 (hildon_note_new_information): Act directly, without calling
4780 the deprecated constructor.
4781 * src/hildon-note.h: Mark deprecate methods as such.
4782 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4783 not run tests on the deprecated methods if built with deprecation
4786 Fixes: NB#91688 (Never show icons in information notes/confirmation
4789 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4792 (hildon_app_menu_key_press): Remove leftover usage of the
4793 private structure in HildonAppMenu struct.
4794 * src/hildon-app-menu.h: Remove leftover private structure
4795 from the HildonAppMenu struct.
4797 Fixes a crasher when using the HildonAppMenu.
4799 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-picker-dialog.c: Use appropriate logical id
4802 for the default "Done" text.
4804 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4806 * configure.ac: post release version bump
4807 * debian/changelog: version bump
4809 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4811 Modified the way to scroll to the current selection just when the touch
4812 selector is shown on the screen, avoiding a g_idle. Added too a property
4813 to configure this behaviour. See hildon_pannable_area_jump_to_child
4814 documentation for more information.
4816 * src/hildon-touch-selector.c
4817 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4818 Added 'initial-scroll' property
4819 (hildon_touch_selector_set_property): Added
4820 (hildon_touch_selector_map): Removed as not required anymore
4821 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4822 only a concrete column, instead of iterate along all the columns
4824 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4829 * configure.ac: bump version
4830 * debian/changelog: updates
4832 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4835 compilation time warnings.
4837 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4840 the default value for HildonPannableArea::mov-mode to
4841 HILDON_PANNABLE_AREA_MODE_VERT.
4843 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4845 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4847 Reverting following commit:
4849 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-app-menu-private.h
4852 * src/hildon-app-menu.[ch]
4853 * src/hildon-button.[ch]
4854 * src/hildon-check-button.[ch]
4855 * src/hildon-entry.[ch]
4856 * src/hildon-pannable-area.[ch]
4857 * src/hildon-text-view.[ch]:
4858 Added private field to the object's structure.
4860 because it causes an ABI breakage. We will need to introduce these
4861 changes later at some point. See NB#91636 for an extensive
4862 explanation and status.
4864 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4866 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4868 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4869 remove special cases that are no longer necessary.
4871 Fixes: NB#91016 (Change toolbar sizes, simplification)
4873 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4876 is shown in the cancel note.
4878 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4881 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4882 (hildon_seekbar_init): Remove steppers, remove expose event.
4883 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4885 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4887 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4889 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4890 label font to "SmallSystemFont" for vertically arranged buttons.
4892 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4895 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-check-button.c
4898 (hildon_check_button_set_active, hildon_check_button_clicked):
4899 Don't access private parts directly, use getters instead.
4901 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-check-button.c (hildon_check_button_new):
4904 Align the contents of the check button to the left.
4906 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4908 * src/hildon-pannable-area.c,
4909 (hildon_pannable_area_scroll_to),
4910 (hildon_pannable_area_jump_to),
4911 (hildon_pannable_area_scroll_to_child),
4912 (hildon_pannable_area_jump_to_child): Replace the mapped
4913 precondition of these functions with the realized, it is the
4914 correct state of the widget in this case. Changed the
4915 documentation according to this modification.
4917 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4919 Added a new EXTRA_CFLAGS option to add the deprecated define to
4920 the compilation command. This way we can avoid using the define in
4921 the documentation compilation.
4923 * configure.ac: Defined EXTRA_CFLAGS.
4925 * examples/Makefile.am:
4927 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4929 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4931 * src/hildon-picker-dialog.c:
4932 Defined a utility macro with the desired touch selector height
4933 Removed currently unused separator, and title_label variables from
4935 (hildon_picker_dialog_init): Removed code related to the creation
4936 of unused private variables title_label and separator.
4937 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4938 to ensure correct visualization of the touch selector inside the dialog.
4939 * src/hildon-touch-selector.c
4940 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4941 ensure a concrete height of the widget.
4943 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4946 * tests/Makefile.am:
4948 Remove spurious whitespaces.
4950 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4952 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4953 compilation warning after the cancel button removal.
4955 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4957 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4959 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4960 Makefile.am, that way we can choose not to compile some examples
4961 and tests of the deprecated widgets.
4963 * examples/Makefile.am: Divided the sources in deprecated and
4966 * src/Makefile.am: Added undef statement of the deprecated
4967 symbol to the enums file generation process.
4969 * src/hildon-color-chooser-dialog.c
4970 * src/hildon-color-chooser-dialog.h
4971 * src/hildon-color-button.c
4972 * src/hildon-color-button.h
4973 * src/hildon-color-chooser.c
4974 * src/hildon-color-chooser.h
4975 * src/hildon-controlbar.c
4976 * src/hildon-controlbar.h
4977 * src/hildon-date-editor.c
4978 * src/hildon-date-editor.h
4979 * src/hildon-hvolumebar.c
4980 * src/hildon-hvolumebar.h
4981 * src/hildon-private.c
4982 * src/hildon-private.h
4983 * src/hildon-range-editor.c
4984 * src/hildon-range-editor.h
4985 * src/hildon-seekbar.c
4986 * src/hildon-seekbar.h
4987 * src/hildon-time-editor.c
4988 * src/hildon-time-editor.h
4989 * src/hildon-time-picker.c
4990 * src/hildon-time-picker.h
4991 * src/hildon-volumebar.c
4992 * src/hildon-volumebar.h
4993 * src/hildon-vvolumebar.c
4994 * src/hildon-vvolumebar.h
4995 * src/hildon-bread-crumb-trail.h
4996 * src/hildon-bread-crumb-trail.c
4997 * src/hildon-calendar-popup.c
4998 * src/hildon-calendar-popup.h
4999 * src/hildon-weekday-picker.c:
5000 * src/hildon-weekday-picker.h:
5001 * src/hildon-bread-crumb-widget.c:
5002 * src/hildon-bread-crumb-widget.h:
5003 * src/hildon-bread-crumb.c:
5004 * src/hildon-bread-crumb.h:
5005 * src/hildon-calendar.c:
5006 * src/hildon-calendar.h:
5007 * src/hildon-caption.c:
5008 * src/hildon-code-dialog.c:
5009 * src/hildon-code-dialog.h:
5010 * src/hildon-font-selection-dialog.c:
5011 * src/hildon-font-selection-dialog.h:
5012 * src/hildon-get-password-dialog.c:
5013 * src/hildon-get-password-dialog.h:
5014 * src/hildon-login-dialog.c:
5015 * src/hildon-login-dialog.h:
5016 * src/hildon-number-editor.c:
5017 * src/hildon-number-editor.h:
5018 * src/hildon-set-password-dialog.c:
5019 * src/hildon-set-password-dialog.h:
5020 * src/hildon-sort-dialog.c:
5021 * src/hildon-sort-dialog.h: This is the list of deprecated
5024 * src/hildon-touch-selector.c:
5025 * src/hildon-window.c: Added undef statement to avoid compilation
5028 * tests/Makefile.am: Divided the sources in deprecated and
5031 * tests/check_test.c,
5032 (configure_tests): Marked the deprecated code that was adding
5033 suites with deprecated tests.
5035 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5037 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-touch-selector.c: (_default_print_func): Do not
5040 duplicate a string returned by gtk_tree_model_get(), it is already
5043 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5046 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5048 * src/hildon-pannable-area.c
5049 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5050 method, it had problems when adding a widget with viewport the
5051 second time. Now checks if it already has a viewport and uses it.
5053 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5056 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5058 * src/hildon-pannable-area.c,
5059 (hildon_pannable_area_scroll_to),
5060 (hildon_pannable_area_jump_to),
5061 (hildon_pannable_area_scroll_to_child),
5062 (hildon_pannable_area_jump_to_child): Added a precondition to the
5063 scroll and jump to functions: the widget must be mapped before we
5064 can safely call these functions. We have also added documentation
5065 to the functions to explain how to use them in this situation.
5068 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5070 Reviewed the threading handling of the pannable widget, we have
5071 used the gdk_threads_add_timeout function instead of the usual
5072 glib handlers. This avoids some problems with the threads.
5074 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5075 (hildon_pannable_area_initial_effect),
5076 (hildon_pannable_area_scroll_indicator_fade),
5077 (hildon_pannable_area_button_press_cb),
5078 (hildon_pannable_area_timeout),
5079 (hildon_pannable_area_motion_notify_cb),
5080 (hildon_pannable_area_button_release_cb),
5081 (hildon_pannable_area_scroll_cb),
5082 (hildon_pannable_area_scroll_to): Removed the
5083 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5084 gdk_threads_add_timeout.
5086 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5088 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5093 * configure.ac: bump version
5094 * debian/changelog: updates
5096 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5098 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5099 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5100 * src/hildon-color-chooser-dialog.c:
5101 (hildon_color_chooser_dialog_init):
5102 * src/hildon-font-selection-dialog.c:
5103 (hildon_font_selection_dialog_init):
5104 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5106 Remove all cancel/close-like dialogs, as these are not going to be
5109 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-note.c: (hildon_note_rebuild),
5112 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5115 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5117 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5120 sure all buttons are shown, even the Cancel/Close-like ones.
5122 Fixes: NB#90861 (Custom Confirmation dialogs should be
5123 protected from cancel button removal)
5125 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5127 * debian/control: Change libhildon1-examples dependency from libhildon1
5129 * debian/libhildon1-examples.install
5131 * Makefile.am: Modified the final install directory for the examples on
5132 package libhildon1-examples
5133 * Makefile.static: Update clean target in order to remove all the binary
5136 Changes suggested by Claudio after review new libhildon1-examples package
5138 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5141 * src/hildon-touch-selector.c: Ditto.
5143 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5145 * debian/control: Added new package libhildon1-examples, in order to pack
5146 the current hildon examples as documentation
5147 * debian/rules: Not to compress .c files, modify some includes on the
5148 examples (as normally are compiled locally, but when installed it will
5149 require to include the installed libhildon1 library), and rename
5151 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5152 install all the example files on the new example package
5153 * examples/Makefile.static: Added static makefile that can be used to
5154 compile the examples, once installed the new example package
5155 * examples: Most of the examples were modified in order to grant that
5156 all use only '#include "hildon.h"', in order to be easy to prepare
5157 it on the example package
5159 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5162 * debian/libhildon1-dev.install
5163 * debian/libhildon1-doc.install:
5164 Move all gtk-doc files to a separate libhildon1-doc package.
5166 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5168 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5170 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5172 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5174 * debian/rules: Fixed a error in order to avoid unnecessary calls
5175 to autogen.sh on package building
5177 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5179 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5181 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5186 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5188 * src/hildon-picker-button.c
5189 (hildon_picker_button_finalize):
5190 Free priv->done_button_text
5192 * src/hildon-time-button.c
5193 (hildon_time_button_set_time)
5194 * src/hildon-picker-button.c
5195 (hildon_picker_button_clicked)
5196 (hildon_picker_button_selector_selection_changed)
5197 (hildon_picker_button_set_selector)
5198 * src/hildon-date-button.c
5199 (hildon_date_button_set_date):
5200 Free strings returned by hildon_touch_selector_get_current_text()
5202 * src/hildon-button.c (hildon_button_construct_child):
5203 Fix leaks in priv->image and priv->label_box
5205 Fixes: NB#90535 (Memory leak in picker button)
5207 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-button.c: (hildon_button_get_property): Do not access
5210 private elements directly, use getters instead.
5212 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-app-menu-private.h
5215 * src/hildon-app-menu.c
5216 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5217 Store the menu's parent window.
5219 * src/hildon-stackable-window.c
5220 (hildon_stackable_window_toggle_menu)
5221 (hildon_stackable_window_finalize):
5222 Set the menu's parent window when the menu is shown, unset it when
5225 * src/hildon-app-menu.c
5226 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5227 (hildon_app_menu_class_init):
5228 Send unhandled keyboard accelerators to the parent window.
5230 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-stackable-window.c
5233 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5235 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: post release version bump
5239 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5242 * configure.ac: Bump version
5243 * debian/changelog: Updates
5244 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5247 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5249 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5252 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5253 GtkMenu with Hildon style.
5255 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5257 * src/hildon-picker-button.c:
5258 (hildon_picker_button_set_done_button_text): Set the dialog's
5259 done button text here as well.
5261 Fixes: NB#90232 (Picker button does not set the label on done button
5262 for the second time)
5264 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5269 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-app-menu.c (hildon_app_menu_insert)
5272 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5273 the HildonAppMenu to be activatable using keyboard accelerators
5274 when the menu is not being shown.
5276 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5278 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5280 * src/hildon-stackable-window.c
5281 (hildon_stackable_window_show):
5282 Don't hide old windows automatically when new windows are shown:
5283 this is now a task for the window manager.
5284 (hildon_stackable_window_class_init)
5285 (hildon_stackable_window_hide):
5286 Remove windows from the stack everytime they're hidden.
5287 (hildon_stackable_window_realize):
5288 Don't change the _NET_WM_WINDOW_TYPE property. Use
5289 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5290 it as a stackable window.
5292 * src/hildon-program.c
5293 (hildon_program_pop_window_stack):
5294 Just hide the window to remove it from the stack.
5295 (hildon_program_go_to_root_window):
5296 Don't call gtk_widget_show(), this is now a task for the window
5299 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5301 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-button.c
5304 (hildon_button_construct_child):
5305 Don't pack anything in the button until text or image are
5306 set. This allows adding a custom child after creating the button
5307 with hildon_button_new().
5308 (hildon_button_finalize, hildon_button_class_init)
5309 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5310 alignment and the label box even when they're not packed in the
5313 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5315 * src/hildon-touch-selector.h:
5316 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5317 currently the type definition was using GTK_TYPE_VBOX
5318 * src/hildon-touch-selector.c:
5319 Added some implementation notes in order to clarify that any other widget
5320 added without the column related API will not be included on the
5321 selection logic, and how the widget is freed, as some people ask about
5323 (hildon_touch_selector_remove): Reimplemented in order to free properly
5324 the column related data when you remove the private hbox.
5325 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5326 to get a proper HildonTouchSelectorColumn documentation
5328 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5330 * src/hildon-touch-selector-entry.c:
5331 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5332 text in the GtkEntry and there is no item selected. Fixes a
5335 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-app-menu-private.h
5338 * src/hildon-app-menu.[ch]
5339 * src/hildon-button.[ch]
5340 * src/hildon-check-button.[ch]
5341 * src/hildon-entry.[ch]
5342 * src/hildon-pannable-area.[ch]
5343 * src/hildon-text-view.[ch]:
5344 Added private field to the object's structure.
5346 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5348 * configure.ac: post-release version bump
5350 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5354 * configure.ac: pre-release version bump
5356 * debian/changelog: updates.
5358 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5360 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5361 Disconnect the handler for HildonTouchSelector::changed.
5363 (hildon_picker_button_selector_selection_changed): Update the button
5364 value if the selection change was not triggered by the
5367 (hildon_picker_button_set_selector): connect to
5368 HildonTouchSelector::changed.
5370 Fixes: NB#89650 (Picker button is not updated, when selection in
5371 selector has changed)
5373 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5375 * src/hildon-picker-dialog.c
5376 (hildon_picker_dialog_realize): Removed as not required
5377 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5378 * src/hildon-picker-button.c
5379 (_current_selector_empty): New function, checks if the selector is empty
5380 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5381 if the current selector is empty, in order to avoid to show the dialog
5382 close the dialog in this case (and shows a g_warning).
5384 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5386 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5388 * src/hildon-pannable-area.c,
5389 (hildon_pannable_area_scroll): Added clause to stop movement when
5390 the child of pannable is smaller than one page.
5391 (hildon_pannable_area_scroll_to): Added conditions to avoid
5392 starting the scrolling movement if the child is smaller than one
5393 page, the complete child is in the screen, we do not have to move.
5395 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5397 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5399 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5400 this is managed automatically by the widget when the size of the
5403 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-picker-button.c
5406 (hildon_picker_button_set_done_button_text): Make a copy of the
5407 text, and free the previous value.
5409 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5411 * src/hildon-touch-selector-entry.c:
5412 (hildon_touch_selector_entry_print_func): Return the selected row's
5413 text if the entry is empty.
5415 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5418 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5420 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5422 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-check-button.h
5426 * src/hildon-check-button.c
5427 * examples/hildon-check-button-example.c:
5428 HildonCheckButton is now a new widget. 'toggled' signal added.
5430 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-program-private.h
5433 * src/hildon-program.c (hildon_program_init)
5434 (hildon_program_finalize): Removed unused variables group_leader
5435 and name from HildonProgramPrivate.
5437 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-check-button.c (hildon_check_button_set_active)
5440 (hildon_check_button_get_active, hildon_check_button_new): Use
5441 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5443 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5445 * src/hildon-touch-selector.h
5446 (hildon_touch_selector_set_column_attributes): added deprecation
5447 guard HILDON_DISABLE_DEPRECATED
5448 * src/hildon-time-selector.c
5449 (hildon_time_selector_set_time)
5450 (hildon_time_selector_get_time): Fixed a typo on documentation
5451 * src/hildon-touch-selector.c: update HildonTouchSelector and
5452 HildonTouchSelectorColumn documentation
5453 * src/hildon-touch-selector-entry.c: update "text-column" property
5455 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5456 to be added to the general documentation.
5458 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5460 * examples/hildon-pannable-area-example-4.c,
5462 * examples/hildon-pannable-area-example.c,
5463 (main): Modified the code in order to use the container add, with
5464 viewport treeviews could have problems if they are really big.
5466 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5468 * src/hildon-weekday-picker.c,
5469 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5470 the agreement regarding deprecation in the library.
5472 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5474 * examples/hildon-picker-button-multicolumn-example.c:
5475 (main): Use custom "done" button text.
5477 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5478 (hildon_picker_button_set_property),
5479 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5480 (hildon_picker_button_init),
5481 (+hildon_picker_button_get_done_button_text),
5482 (+hildon_picker_button_set_done_button_text): New methods to customize
5483 the "done" button label in the launched HildonPickerDialog. Also,
5486 * src/hildon-picker-button.h: add the public API.
5488 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5490 * src/hildon-date-selector.h:
5491 * src/hildon-picker-dialog.h:
5492 * src/hildon-time-selector.h:
5493 * src/hildon-touch-selector-column.h:
5494 * src/hildon-touch-selector.h:
5496 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5497 declarations. Fixes gtk-doc warnings.
5499 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5501 * src/hildon-picker-dialog.h
5502 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5503 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5505 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5506 long text is set as label for done button)
5508 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-dialog.c (hildon_dialog_add_button):
5511 Set fixed width to all buttons in the HildonDialog.
5513 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5515 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5517 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5518 Set widget name using class name plus "-finger" or "-thumb".
5520 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5523 'clicked' when the state of the button is manually changed.
5525 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-app-menu.c (hildon_app_menu_realize)
5528 (hildon_app_menu_unrealize, hildon_app_menu_init)
5529 (hildon_app_menu_class_init, item_visibility_changed):
5530 Change the menu layout when the size of the screen changes.
5531 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5532 Show warning only when changing the number of colums using the
5535 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5537 * debian/compat: Set to 5
5538 * debian/control: Update dependencies.
5539 * debian/libhildon1-dbg.install: Remove.
5540 * debian/libhildon1-dev.install: Update according to cdbs paths.
5541 * debian/libhildon1.install: Update according to cdbs paths.
5542 * debian/rules: Switch to cdbs.
5544 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5546 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5547 'item' variable renamed to 'filter'
5549 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5551 * src/hildon-app-menu.c (hildon_app_menu_insert)
5552 (hildon_app_menu_add_filter, remove_item_from_list)
5553 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5554 Don't leak hidden items when the menu is destroyed.
5556 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-app-menu.c (hildon_app_menu_insert)
5559 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5560 (hildon_app_menu_set_columns, item_visibility_changed)
5561 (filter_visibility_changed, hildon_app_menu_repack_filters)
5562 (hildon_app_menu_repack_items):
5563 Repack items and filters separately.
5565 Don't repack all items, change only the ones that are needed to
5568 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5570 * src/Makefile.am: added hildon-touch-selector-column.h
5572 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5574 * src/hildon-touch-selector.c: added the property "text-column" to the
5575 class HildonTouchSelectorColumn, and related get/set functions
5576 (_default_printf_func): updated to use "text-column" property
5577 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5578 "text-column" in his documentation, as this is now included on
5579 HildonTouchSelectorColumn. The get/set_property can still be used,
5580 working as a wrapper to the concrete column "text-column" property
5581 (_text_column_modified): callback added in order to handle the signal
5582 "notify::text-column" of the concrete HildonTouchSelectorColumn
5583 (hildon_touch_selector_entry_get_text_column)
5584 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5585 modified in order to use the HildonTouchSelectorColumn "text-column"
5587 * src/hildon-time-selector.c:
5588 * src/hildon-date-selector.c:
5589 * examples/hildon-touch-selector-example.c
5590 * examples/hildon-touch-selector-multi-cells-example.c
5591 * examples/hildon-picker-button-multicolumn-example.c
5592 Set the right value to "text-column" property on the creation of a new
5593 column using hildon_touch_selector_append_column()
5595 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5597 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-app-menu.c
5600 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5601 updating the layout of the menu, don't create all widgets again,
5602 just repack the items in their new places.
5604 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5606 * src/hildon-time-selector.c
5607 (hildon_time_selector_get_time)
5608 (hildon_time_selector_set_time)
5609 Added documentation of these public methods
5611 * src/hildon-date-button.h
5612 * src/hildon-touch-selector-column.h
5613 * src/hildon-time-button.h
5614 * src/hildon-picker-dialog.h
5615 * src/hildon-time-selector.h
5616 * src/hildon-picker-button.h
5617 * src/hildon-touch-selector.h
5618 * src/hildon-time-picker.h
5619 * src/hildon-date-selector.h
5620 * src/hildon-touch-selector-entry.h
5621 Modified in order to use hildon-widgets code style
5623 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5625 Added deprecated support to the compilation process using
5626 HILDON_DISABLE_DEPRECATED
5628 * configure.ac: Added the --disable-deprecated to the configure
5631 * src/hildon-weekday-picker.c:
5632 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5633 to use the deprecated support. We will update the other deprecated
5634 widgets status in a new patch.
5636 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5638 * configure.ac: Fixed typo with fatal warnings support, the
5639 variable name was not correct
5641 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-app-menu.c
5644 * src/hildon-program.c: Update documentation.
5646 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5648 * configure.ac: Post-release version bump.
5650 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5655 * configure.ac: Pre-release version bump.
5656 * debian/changelog: Updates.
5658 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5660 * NEWS: Update news for previous releases.
5662 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5664 * examples/hildon-touch-selector-multi-cells-example.c:
5665 (create_selector): Update the example to use
5666 hildon_touch_selector_append_column() with a NULL renderer and set
5667 the renderers later.
5668 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5669 passed a NULL renderer. This is documented behavior now.
5671 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5672 This must be used if the developer wants full control on the layout of
5673 the renderers to be added to the column.
5675 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5677 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5679 * src/hildon-touch-selector.c: Documentation fixes.
5681 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5683 * src/hildon-wizard-dialog-private.h: Remove image and box.
5684 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5685 (hildon_wizard_dialog_set_property), (response): Completely remove
5686 image/icon support, and the containers required for the layout.
5688 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5690 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-app-menu.c: Updated documentation.
5694 * src/hildon-stackable-window.c
5695 (hildon_stackable_window_set_main_menu): Unref the old menu after
5696 ref'ing the new one.
5698 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-stackable-window.c
5701 (hildon_stackable_window_set_main_menu): Unref the previous menu
5702 instead of destroying it.
5704 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5705 floating reference and set has_user_ref_count to FALSE to make
5706 HildonAppMenu act like a normal ref-counted widget and not a
5709 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5712 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5714 * src/hildon-touch-selector-column.h: new file
5715 * src/hildon-touch-selector.h
5716 * src/hildon-touch-selector.c
5717 Implemented GtkCellLayout interface, in order to allow to configure
5718 the cell layout on each individual selector column
5719 (hildon_touch_selector_set_column_attributes): marked as deprecated
5720 * examples/hildon-touch-selector-multi-cells-example.c
5721 Example of how to use the GtkCellLayout interface on the selector
5723 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5725 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-app-menu.h
5728 * src/hildon-app-menu.c
5729 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5730 (hildon_app_menu_append, hildon_app_menu_prepend):
5731 New methods to prepend, insert and move items in the menu.
5733 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-wizard-dialog.c:
5737 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5739 (create_title): Update logical IDs and related code.
5740 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5742 * src/hildon-wizard-dialog.h: Note that
5743 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5744 point, as it is not used anymore.
5746 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5748 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5750 * src/hildon-note.c:
5751 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5752 shown. Do not display an icon in confirmation notes nor information
5754 (hildon_note_set_button_text): Update logical ID for cancel button.
5756 Fixes: NB#88850 (Update HildonNote button strings + signals)
5758 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-stackable-window.c
5761 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5763 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-app-menu-private.h
5766 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5767 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5768 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5769 temporary property 'columns' to change the number of columns.
5771 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5773 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5775 * examples/hildon-note-example.c: (on_information_clicked),
5776 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5777 debugging information.
5778 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5780 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5781 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5782 in order to close: this will be handled by the WM from now on.
5784 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5786 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-app-menu-private.h
5789 * src/hildon-app-menu.c
5790 (hildon_app_menu_append, hildon_app_menu_add_filter)
5791 (button_visibility_changed, hildon_app_menu_apply_style)
5792 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5793 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5794 layout everytime a button (item or filter) is shown or hidden.
5796 * src/hildon-stackable-window.c
5797 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5800 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5802 * src/hildon-touch-selector.c:
5803 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5804 that the treeview inside the touch selector is in fremantle hildon mode
5805 * examples/hildon-date-button-example.c
5806 * examples/hildon-picker-button-multicolumn-example.c
5807 * examples/hildon-touch-selector-entry-example.c
5808 * examples/hildon-touch-selector-example.c
5809 * examples/hildon-time-button-example.c
5810 * examples/hildon-picker-button-example.c:
5811 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5813 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5815 * examples/hildon-text-view-example.c: (main): Remove the
5816 gtkrc bits, now handled by the theme.
5818 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5820 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5823 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5825 * po/Makefile.am: Install properly the mo files.
5826 * po/en_GB.po: Update translation, to ease testing purposes.
5828 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5830 * examples/hildon-picker-button-example.c: (main): Select an item
5831 in the selector before setting it to the button.
5833 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5835 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5836 Update button's value if the selector has an item active.
5838 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5839 'value' with the selector)
5841 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5844 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5845 (hildon_picker_button_class_init): Plug the finalize method.
5846 (hildon_picker_button_set_selector): If there's a previously set
5847 selector, unref'it before setting a new one.
5849 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5850 HildonTouchSelector)
5852 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5854 * src/hildon-touch-selector-entry.c:
5855 (hildon_touch_selector_entry_changed): Check if there is no text
5856 selected before setting the entry text.
5859 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-touch-selector.h
5862 * src/hildon-touch-selector.c
5863 (hildon_touch_selector_get_active)
5864 (hildon_touch_selector_set_active): New methods to set/get the
5865 index of the selected item.
5867 * src/hildon-picker-button.h
5868 * src/hildon-picker-button.c
5869 (hildon_picker_button_get_active)
5870 (hildon_picker_button_set_active): New methods to set/get the
5871 index of the selected item.
5873 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5875 * configure.ac: post-release version bump.
5877 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5881 * configure.ac: Pre-release version bump.
5882 * debian/changelog: Updates.
5883 * debian/control: Add myself as maintainer and depend on l10n
5886 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-window.c
5889 (hildon_window_set_main_menu)
5890 * src/hildon-stackable-window.c
5891 (hildon_stackable_window_set_main_menu):
5892 Updated documentation.
5894 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5896 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5897 Don't free selector->priv manually.
5900 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5903 (hildon_gtk_window_set_progress_indicator):
5904 * src/hildon-gtk.h: Added the new API
5905 hildon_gtk_window_set_progress_indicator, it changes the state of
5906 the window progress hint.
5908 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5910 * src/hildon-button.c
5911 * src/hildon-stackable-window.c: Minor documentation updates.
5913 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5915 * src/hildon-stackable-window.c: Updated documentation.
5917 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5919 * src/hildon-defines.h: Update margins definitions
5920 to the Fremantle sizes.
5923 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5925 * src/hildon-touch-selector.c,
5926 (_hildon_touch_selector_set_model): Cleaning the code after
5927 review, removed g_print and #if 0 from the code.
5929 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-edit-toolbar.c: Update documentation.
5933 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-check-button.h
5936 * src/hildon-check-button.c
5937 (hildon_check_button_set_label, hildon_check_button_get_label)
5938 * examples/hildon-check-button-example.c
5939 (button_clicked_cb):
5940 Removed deprecated methods.
5942 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5944 * src/hildon-text-view.c:
5945 Add sample code to the documentation.
5947 * src/hildon-entry.h
5948 * src/hildon-text-view.h:
5949 Minor cosmetic changes.
5951 * src/hildon-entry.c:
5952 Add sample code to the documentation.
5953 (hildon_entry_init, hildon_entry_refresh_contents):
5954 Don't allow NULL values in the placeholder.
5956 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5958 * doc/hildon-docs.sgml
5960 * examples/Makefile.am
5961 * examples/hildon-text-view-example.c
5963 * src/hildon-text-view.c
5964 * src/hildon-text-view.h
5966 New HildonTextView widget, with example.
5968 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5970 * po/POTFILES.in: Add missing files with translatable strings.
5971 Partially fixes NB#88287.
5973 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5975 * examples/hildon-pannable-area-example-2.c: (main): No need to
5976 set the cellrenderer height inside hildon touch lists, the theme does
5979 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5981 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5982 they are integrated in the theme.
5984 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5986 * examples/hildon-entry-example.c: Update the example adding
5987 widgets to modify the text and the placeholder of the HildonEntry.
5989 * src/hildon-entry.c: Show the placeholder everytime the widget
5990 is empty and loses the focus.
5992 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5994 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5996 * src/hildon-pannable-area.c,
5997 (hildon_pannable_area_size_request): Fixed bug in height
5998 requisition, avoid increasing size and add border twice.
6000 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6002 * configure.ac: postrelease version bump.
6004 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6008 * configure.ac: Prerelease version bump.
6009 * debian/changelog: update.
6010 * debian/rules: make -dbg package contain useful debugging symbols.
6012 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-dialog.h
6015 * src/hildon-dialog.c
6016 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6017 New methods to add buttons with finger size.
6018 (hildon_dialog_new_with_buttons):
6019 Create buttons with finger size.
6021 * examples/hildon-dialog-example.c (main): Use HildonDialog
6022 methods to add buttons.
6024 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-entry.c: Updated HildonButton documentation.
6028 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6031 button value label with (FALSE, FALSE) to prevent NB#88126 from
6034 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6036 * examples/hildon-pannable-area-example.c,
6037 (main): Removed examples panning a vbox inside a pannable
6038 area. Check bug NB#87965
6040 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6042 Patch contributed by Kris Rietveld (kris@imendio.com)
6044 * src/hildon-pannable-area.c,
6045 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6046 get_size and get_position, this saves an X server roundtrip.
6048 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6050 * doc/hildon-docs.sgml
6052 * examples/Makefile.am
6053 * examples/hildon-entry-example.c
6055 * src/hildon-entry.c
6056 * src/hildon-entry.h
6058 New HildonEntry widget, with example.
6060 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-button.c (hildon_button_construct_child): Pack the
6063 image with expand == fill == FALSE. This is a workaround for a bug
6066 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6068 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6069 labels for the text column, to make it more look more dynamic.
6071 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6073 * src/hildon-time-selector.c
6074 Define gettext auxiliar macro N_
6075 (_create_minutes_model)
6076 (_create_hours_model)
6077 (_create_ampm_model): use of strftime in order to fill the model
6078 * src/hildon-date-selector.c
6079 (hildon_date_selector_finalize):
6080 (_locales_init): remove the logic related to get the name of the months
6081 using nl_langinfo, as it is not required anymore
6083 (_create_year_model)
6084 (_create_month_model)
6085 (_update_day_model): use of strftime in order to fill the model properly
6088 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6090 * src/hildon-button.h
6091 * src/hildon-button.c (hildon_button_get_image): New method to
6094 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6096 * src/hildon-touch-selector.c:
6097 (hildon_touch_selector_remove_column): Remove from the correct parent
6098 and also remove the list element and free it.
6101 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6103 * src/hildon-time-selector.c
6104 (_create_hours_model): change the range on 12h ampm format in order to use
6105 a 12-11 range instead of previous 01-12 range
6106 (hildon_time_selector_set_time): change the way to select the current time
6107 on 12h ampm format, due the change on the range
6108 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6111 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6113 * src/hildon-touch-selector.c
6114 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6115 in order to allow use this function on multiple row selection mode if
6116 the column is different that the first one
6119 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6121 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6122 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6124 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6126 * src/hildon-date-selector.h: clean some comments, now on the .c
6127 * src/hildon-date-selector.c
6128 (hildon_date_selector_select_month): first implementation
6129 (hildon_date_selector_select_day): added documentation, reimplemented
6130 using hildon_date_selector_select_current_date to avoid repeat code
6133 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6135 Reviewed interaction logic based on device experiences, refactored
6138 * src/hildon-pannable-area.c,
6139 (hildon_pannable_area_class_init): Updated default vmax speed.
6140 (hildon_pannable_area_calculate_velocity): Added this function, it
6141 avoids duplicate valocity calculation. Adjusted calculation to
6142 avoid problems with zero dist events.
6144 (hildon_pannable_area_motion_notify_cb): Now we use the
6145 calculate_velocity function.
6147 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6149 * src/hildon-date-selector.c
6150 (hildon_date_selector_select_current_date): fix the day range check
6151 as it failed using the last day of the current month
6154 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6156 * src/hildon-touch-selector.c
6157 (hildon_touch_selector_get_num_columns): added a parameter validation
6160 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6162 * examples/Makefile.am
6163 * examples/hildon-edit-toolbar-example.c: Example of the
6164 HildonEditToolbar widget.
6166 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6168 * configure.ac: postrelease version bump.
6170 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6174 * configure.ac: prerelease version bump.
6175 * debian/changelog: update.
6177 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6179 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6180 renderer to display stock icons in the touch list. Also, set the sizes
6181 to the recommended in the style guide.
6183 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6184 * src/hildon-touch-selector.h
6185 (hildon_touch_selector_set_active_iter): renamed, now is
6186 hildon_touch_selector_select_iter
6187 (hildon_touch_selector_get_active_iter): renamed, now is
6188 hildon_touch_selector_get_selected
6189 (hildon_touch_selector_unselect_iter): added
6190 * src/hildon-touch-selector.c
6191 Update after API modification (methods renamed)
6192 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6193 order to avoid problems selecting multiple elements on the column
6194 (hildon_touch_selector_unselect_iter): added the implementation
6195 * src/hildon-time-selector.c
6196 * src/hildon-date-selector.c
6197 * src/hildon-touch-selector-entry.c
6198 Update methods calls after hildon-touch-selector.h API modification (methods
6201 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-stackable-window.c
6204 (hildon_stackable_window_finalize): Call the parent class's finalize.
6206 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6208 * examples/hildon-touch-selector-example.c: (create_selector): Use
6209 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6212 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6214 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6215 set a cell background color, to respect theming.
6217 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6219 * doc/hildon-docs.sgml
6222 * src/hildon-edit-toolbar.c
6223 * src/hildon-edit-toolbar.h
6224 * src/hildon.h: New HildonEditToolbar widget.
6226 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6228 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6231 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6232 * src/hildon-touch-selector.c
6233 (_create_new_column): use g_object_set instead of two g_object_set_property
6235 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6236 * src/hildon-touch-selector.c
6237 (_create_new_column): use of hildon_gtk_tree_view_new to create
6238 the treeview, instead of use directly g_object_new
6239 (_create_new_column): update the property name "vindicator-mode" for the
6240 new one "vscrollbar-policy"
6241 * examples/hildon-date-button-example.c
6242 * examples/hildon-picker-button-multicolumn-example.c
6243 * examples/hildon-touch-selector-entry-example.c
6244 * examples/hildon-touch-selector-example.c
6245 * examples/hildon-time-button-example.c
6246 * examples/hildon-picker-button-example.c
6247 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6248 to all the treeviews inside a pannable area.
6250 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-button.h
6253 * src/hildon-button.c (hildon_button_init)
6254 (hildon_button_set_arrangement, hildon_button_set_alignment)
6255 (hildon_button_set_title_alignment)
6256 (hildon_button_set_value_alignment)
6257 (hildon_button_set_image_alignment)
6258 (hildon_button_construct_child): New methods to set the alignment
6259 of the individual components of the button (title, value,
6260 image). Also, new method to alter the xscale and yscale properties
6261 of the GtkAlignment inside the button, so more complex layouts can
6264 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-button.c (hildon_button_style_set)
6267 (hildon_button_class_init, hildon_button_set_arrangement)
6268 (hildon_button_construct_child): Apply style properties
6269 correctly. Use the 'image-spacing' style property too.
6271 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6274 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6277 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6279 * src/hildon-pannable-area.c,
6280 (hildon_pannable_area_size_request): Fixed problem with
6281 pannable-area size_request.
6283 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6285 Added management for the grab-focus to a child widget, like a
6286 range, we need to fade out the scrollbar when releasing.
6288 * src/hildon-pannable-area.c,
6289 (hildon_pannable_area_init): Connected the grab-focus signal to
6291 (hildon_pannable_area_grab_notify): Added this function in order
6292 to manage the situation when the grab-focus ends. We have to
6293 fade-out the scrollbar.
6295 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6297 * src/hildon-app-menu.c: Minor documentation update.
6299 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-app-menu.c
6302 * examples/hildon-app-menu-example.c (create_menu): Update
6303 examples and documentation to explain how to connect callbacks.
6305 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6307 * examples/hildon-button-example.c
6308 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6309 hildon_stackable_window_new instead of gtk_window_new
6311 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6313 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6314 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6315 (hildon_pannable_area_set_property),
6316 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6317 (hildon_pannable_area_unrealize),
6318 (hildon_pannable_area_size_request),
6319 (hildon_pannable_area_size_allocate),
6320 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6321 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6322 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6323 (hildon_pannable_area_initial_effect),
6324 (hildon_pannable_area_redraw),
6325 (hildon_pannable_area_scroll_indicator_fade),
6326 (hildon_pannable_area_expose_event),
6327 (hildon_pannable_area_get_topmost), (synth_crossing),
6328 (hildon_pannable_area_button_press_cb),
6329 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6330 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6331 (hildon_pannable_area_motion_notify_cb),
6332 (hildon_pannable_area_button_release_cb),
6333 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6334 (hildon_pannable_area_remove),
6335 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6336 chage the code layout to a more GtkWidget like. Review the use of
6339 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6341 * examples/hildon-pannable-area-example-4.c,
6342 (main): Modified the name of the hindicator_mode to
6345 * src/hildon-pannable-area.c,
6346 (hildon_pannable_area_class_init),
6347 (hildon_pannable_area_motion_notify_cb),
6348 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6349 we have reduced the amount of signals and managed reviewed its
6350 rationale. Changed the default decelerate value.
6352 (hildon_pannable_area_add),
6353 (hildon_pannable_area_redraw): Refactored functions.
6355 (hildon_pannable_area_init),
6356 (hildon_pannable_area_get_property),
6357 (hildon_pannable_area_set_property):
6358 (hildon_pannable_draw_vscroll),
6359 (hildon_pannable_draw_hscroll),
6360 (hildon_pannable_area_initial_effect),
6361 (hildon_pannable_area_expose_event),
6362 (hildon_pannable_area_scroll),
6363 (hildon_pannable_area_button_press_cb),
6364 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6365 and vindicator_mode with hscrollbar_policy and
6366 vscrollbar_policy. Replaced hscroll and vscroll with
6367 hscroll_visible and vscroll_visible.
6369 (hildon_pannable_area_refresh): Refactor the function, remove
6370 variables and check the calls to this function, added resize
6371 conditions in case the children change their layout.
6373 (hildon_pannable_area_size_request): Added more detailed
6374 size_request calculation.
6377 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6379 * src/hildon-color-chooser.c
6380 (init_borders): use the correct gtk_border_free instead of g_free, to
6381 avoid a crash when this widget is used (ie: the three color selection
6384 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6386 * src/hildon-check-button.c,
6387 (hildon_check_button_set_active): Fixed problem when setting the
6388 active value, the widget was not redrawn.
6390 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6392 * src/hildon-pannable-area.c,
6393 (hildon_pannable_area_refresh),
6394 (hildon_pannable_area_scroll),
6395 (hildon_pannable_area_motion_notify_cb): Small code style change.
6397 (hildon_pannable_area_class_init): Default initial_hint set to
6398 FALSE, it is not in the specs.
6400 (hildon_pannable_area_initial_effect),
6401 (hildon_pannable_area_expose_event),
6402 (hildon_pannable_area_map),
6403 (hildon_pannable_area_init): Moved the launching point of the
6404 initial effect, it was in map but the sizes where not correct in
6405 that method so we do not know if we have the reproduce it. Now it
6406 is placed in the expose_event method and uses a variable to
6407 reproduce it just once.
6409 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6411 * src/hildon-pannable-area.c,
6412 (hildon_pannable_draw_vscroll),
6413 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6414 position allowed for the scrollbars.
6416 (hildon_pannable_area_size_allocate): Small style change.
6418 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6420 * src/hildon-pannable-area.c,
6421 (hildon_pannable_area_scroll_indicator_fade),
6422 (hildon_pannable_area_button_press_cb),
6423 (hildon_pannable_area_button_release_cb),
6424 (hildon_pannable_area_scroll_cb),
6425 (hildon_pannable_area_expose_event),
6426 (hildon_pannable_area_init): Added the define parameter
6427 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6428 and refactor the fade variable.
6430 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6432 * src/hildon-pannable-area.c,
6433 (hildon_pannable_area_redraw),
6434 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6435 lines, we were reimplemeting the redraw code.
6437 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6439 * src/hildon-pannable-area.c,
6440 (hildon_pannable_area_scroll_cb),
6441 (hildon_pannable_area_realize),
6442 (hildon_pannable_area_class_init): Added scroll_event management
6443 for pannable area, now we can scroll the usual desktop method.
6445 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6446 initialization of the parameters should depend on idle_id.
6448 (hildon_pannable_area_init),
6449 (hildon_pannable_area_map): Small code style modifications
6451 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6453 * src/hildon-pannable-area.c
6454 (hildon_pannable_area_button_press_cb),
6455 (hildon_pannable_area_motion_notify_cb),
6456 (hildon_pannable_area_button_release_cb),
6457 (hildon_pannable_area_size_allocate),
6458 (hildon_pannable_area_scroll_to): Improved the timeouts
6459 management, we avoid creating them each time.
6461 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6463 * src/hildon-pannable-area.c:
6464 (hildon_pannable_area_refresh),
6465 (hildon_pannable_area_motion_notify_cb),
6466 (hildon_pannable_area_class_init):
6467 * src/hildon-pannable-area.h:
6468 * src/hildon-touch-selector.c
6469 (_create_new_column):
6470 * examples/hildon-pannable-area-example-4.c:
6471 (horizontal_movement),
6472 (vertical_movement),
6474 Replaced the names of enums in the HildonPannableArea:
6475 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6476 HILDON_MOVEMENT_MODE_*
6477 - HILDON_PANNABLE_AREA_MOV_* ->
6479 - Removed HildonPannableAreaIndicatorMode, now we
6482 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6484 * examples/hildon-pannable-area-touch-grid-example.c
6485 * examples/hildon-pannable-area-touch-list-example.c: Fix
6486 compilation warnings.
6488 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-gtk.c (hildon_gtk_button_new)
6491 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6492 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6493 images overriding the value of the "gtk-button-images" setting.
6495 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6497 * src/hildon-check-button.c (hildon_check_button_new):
6498 Instead of using a custom container, display the label and the
6499 checkbox using the standard GtkButton API.
6501 * examples/hildon-check-button-example.c (main): Don't use
6502 hildon_check_button_set_label() anymore
6504 * src/hildon-check-button.h
6505 * src/hildon-check-button.c
6506 (hildon_check_button_set_label, hildon_check_button_get_label):
6507 Set as deprecated, now we're using gtk_button_{get,set}_label()
6509 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6511 * src/hildon-pannable-area.c,
6512 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6513 GtkTreeview first line we detected it after the inclusion of the
6514 GtkWindowImpl in gtk+. We now check if the window is visible, not
6515 just if the pointer is over the window.
6516 (hildon_pannable_axis_scroll),
6517 (hildon_pannable_area_expose_event): Small style changes.
6519 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-button.c: Update documentation.
6523 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6525 * examples/hildon-button-example.c: Add a switch to show images in
6528 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6530 * doc/hildon-docs.sgml: Some docs reorganization.
6532 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6534 * examples/hildon-pannable-area-touch-list-example.c
6536 * examples/hildon-pannable-area-touch-grid-example.c
6537 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6538 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6539 Fix memory leak when setting the tree model.
6541 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6545 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6547 * doc/hildon.types: Remove duplicated hildon_window_get_type
6548 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6549 documentation comment.
6551 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6553 * doc/Makefile.am: Complete list of private headers.
6555 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6557 * doc/hildon-docs.sgml
6558 * src/hildon-app-menu.c
6559 * src/hildon-bread-crumb.c
6560 * src/hildon-button.c
6562 * src/hildon-program.c
6563 * src/hildon-stackable-window.c
6564 * src/hildon-window.c: Lots of documentation updates.
6566 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6568 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6570 * configure.ac: Require Gtk+ 2.12.9 at least
6572 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6574 * src/hildon-pannable-area.c
6575 (hildon_pannable_area_scroll_indicator_fade),
6576 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6577 to protect the return of this timeout callbacks, avoiding deadlocks.
6579 2008-08-12 Christian Dywan <christian@imendio.com>
6582 * src/hildon-*.h: Ensure a consistent include order,
6583 include <gtk/gtk.h> instead of particular files and
6584 only include the topmost header in the gtk stack. See NB #39857
6586 2008-08-12 Christian Dywan <christian@imendio.com>
6588 * src/hildon-picker-dialog.c
6589 * src/hildon-touch-selector.c: Fix warnings about unused and
6590 uninitialized variables.
6592 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6594 * examples/Makefile.am
6595 * examples/hildon-check-button-example.c: Example of the hildon
6598 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-window.h
6601 * src/hildon-window.c (hildon_window_class_init)
6602 (hildon_window_unset_program): Don't make
6603 hildon_window_unset_program a virtual function anymore.
6605 * src/hildon-stackable-window.c: Update documentation
6607 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6610 * doc/hildon-docs.sgml
6611 * doc/visual_index.xml
6612 * src/hildon-defines.c
6614 * src/hildon-helper.c
6615 * src/hildon-range-editor.c: Lots of documentation fixes.
6617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6619 * examples/hildon-picker-button-multicolumn-example.c
6620 (create_touch_selector): Fix compilation warning.
6622 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6624 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6625 (hildon_pannable_area_button_release_cb)
6626 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6628 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6630 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6633 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6635 * src/hildon-bread-crumb-trail.h
6636 * src/hildon-date-editor.c
6637 * src/hildon-date-selector.c
6638 * src/hildon-pannable-area.c
6639 * src/hildon-picker-dialog.c
6640 * src/hildon-time-selector.c
6641 * src/hildon-touch-selector-entry.c
6642 * src/hildon-touch-selector.c
6643 * src/hildon-touch-selector.h: Misc documentation fixes
6645 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6647 * examples/hildon-date-editor-example.c (main): Updated date
6650 * examples/hildon-note-example.c (on_confirmation_clicked):
6651 Updated confirmation note example.
6653 * src/hildon-date-editor.c
6654 * src/hildon-note.c: Updated sample programs in documentation.
6657 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6659 * src/hildon-date-button.h:
6660 * src/hildon-picker-button.h:
6661 * src/hildon-time-button.c:
6662 * src/hildon-time-button.h:
6664 Some declarations changes to allow gtk-doc to document the widgets
6667 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6669 * src/hildon-date-button.c: Document the widget.
6670 * src/hildon-time-button.c: Document the widget.
6672 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6674 * src/hildon-picker-button.c: Document the widget.
6675 * src/hildon-touch-selector-entry.c: Document the widget.
6677 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6679 * doc/hildon-docs.sgml
6682 * src/hildon-check-button.h
6683 * src/hildon-check-button.c: New functions to create the Hildon
6687 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6689 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6691 * src/hildon-button.h
6692 * src/hildon-button.c
6693 (hildon_button_add_title_size_group)
6694 (hildon_button_add_value_size_group)
6695 (hildon_button_add_image_size_group)
6696 (hildon_button_add_size_groups): New functions to set size groups
6697 for the button labels and image.
6698 (hildon_button_new_full): Removed
6700 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6702 * src/hildon-time-selector.c
6703 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6704 in order to avoid a crash if gconf is not available
6706 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6708 * src/hildon-button.c (hildon_button_set_arrangement)
6709 (hildon_button_construct_child): Don't construct the button child
6710 before setting the arrangement.
6712 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-program-private.h
6715 * src/hildon-program.c
6716 * src/hildon-program.h
6717 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6718 (hildon_program_peek_window_stack)
6719 (hildon_program_pop_window_stack)
6720 (hildon_program_go_to_root_window): HildonProgram now has a
6721 separate list for stackable windows. Functions are provided to
6722 manage that list with a stack-like API.
6724 * src/hildon-stackable-window.c: Stackable window management is
6725 now much simpler with the new HildonProgram API. Windows no
6726 longer need to be manually added to the program, they're
6727 automatically pushed to the top of the stack when shown.
6729 * examples/hildon-stackable-window-example.c: Updated example to
6730 reflect the API changes.
6732 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6734 * src/hildon-touch-selector.c: Comment out unimplemented
6735 hildon_touch_selector_insert_column() to avoid a compile warning.
6737 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6739 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6740 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6741 (hildon_touch_selector_set_column_selection_mode),
6742 (_hildon_touch_selector_set_model),
6743 (hildon_touch_selector_set_model):
6745 Complete review of HildonTouchSelector documentation.
6747 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6749 * doc/hildon-docs.sgml
6753 * src/hildon-gtk.c: Convenience functions for standard Gtk
6754 widgets, used to easily perform frequent operations.
6756 * src/hildon-button-helpers.h
6757 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6759 * src/hildon-helper.h
6760 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6761 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6763 * src/hildon-button.h
6764 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6766 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-button.c (hildon_button_init)
6769 (hildon_button_set_arrangement, hildon_button_construct_child):
6770 Pack the image and the labels inside the same GtkAlignment so
6771 gtk_button_set_alignment() can be used
6773 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6775 * src/hildon-button.h
6776 * src/hildon-button.c
6777 (hildon_button_init, hildon_button_set_image)
6778 (hildon_button_set_image_position)
6779 (hildon_button_construct_child): New functions to add an image to
6782 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6784 * src/hildon-date-button.c
6785 * src/hildon-picker-button.c
6786 * src/hildon-time-button.c
6787 * src/hildon-button.c:
6788 (hildon_button_class_init): "size-flags" renamed to "size"
6789 (hildon_button_set_title): Hide the title label if set to NULL.
6791 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6793 HildonButtonFlags split into HildonButtonArrangement (to set the
6794 button layout) and HildonSizeType (which can be used for any
6797 * src/hildon-button.h
6798 * src/hildon-button.c
6799 (hildon_button_class_init)
6800 (hildon_button_set_arrangement)
6801 (hildon_button_set_property): New "size-flags"
6802 property. "arrangement-flags" renamed to "arrangement".
6803 (hildon_button_new, hildon_button_new_with_text)
6804 (hildon_button_new_full): Constructors updated to reflect type changes.
6806 * src/hildon-helper.h
6807 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6808 to set the size of a widget.
6812 * src/hildon-button-helpers.c
6813 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6815 * src/hildon-date-button.c
6816 * src/hildon-date-button.h
6817 * src/hildon-picker-button.c
6818 * src/hildon-picker-button.h
6819 * src/hildon-time-button.c
6820 * src/hildon-time-button.h: Updated widgets to reflect
6821 HildonButton API changes.
6823 * examples/hildon-button-example.c
6824 * examples/hildon-date-button-example.c
6825 * examples/hildon-picker-button-example.c
6826 * examples/hildon-picker-button-multicolumn-example.c
6827 * examples/hildon-time-button-example.c
6828 * examples/hildon-touch-selector-entry-example.c
6829 * examples/hildon-touch-selector-example.c: Updated examples to
6830 reflect HildonButton API changes.
6832 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6834 * doc/hildon-docs.sgml:
6836 * examples/Makefile.am:
6837 * examples/hildon-touch-selector-entry-example.c:
6839 * src/hildon-touch-selector-entry.c:
6840 * src/hildon-touch-selector-entry.h:
6843 Moved HildonTouchSelectorEntry from sandbox. Added its
6844 documentation and examples.
6846 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6848 * src/hildon-touch-selector.h:
6849 * examples/hildon-picker-button-multicolumn-example.c:
6850 (hildon_touch_selector_append_text_column): Add a gboolean
6851 parameter to determine if text must be centered in the column.
6853 * src/hildon-date-selector.c: (hildon_date_selector_init):
6854 * src/hildon-time-selector.c: (hildon_time_selector_init):
6855 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6856 (create_touch_selector): Update widgets and example to reflect
6859 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-touch-selector.c:
6862 (hildon_touch_selector_set_active_iter): Set also the cursor in
6865 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6867 * doc/hildon-docs.sgml
6870 * src/hildon-toggle-button.c
6871 * src/hildon-toggle-button.h
6872 * src/hildon.h: Removed HildonToggleButton widget, a derived
6873 class is not necessary for this.
6875 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6877 * src/hildon-pannable-area.c,
6878 (hildon_pannable_area_realize),
6879 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6882 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6885 "done" button the default widget for the dialog.
6887 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6889 * src/hildon-touch-selector.c:
6890 (hildon_touch_selector_class_init),
6891 (hildon_touch_selector_get_property),
6892 (_hildon_touch_selector_set_model),
6893 (_hildon_touch_selector_has_multiple_selection),
6894 (hildon_touch_selector_has_multiple_selection):
6895 Add a "has-multiple-selection" property with a virtual
6896 has_multiple_selection() method to allow derived classes to
6897 override the default value for it. See the method and property
6898 documentation for details.
6900 * src/hildon-touch-selector.h: Add the new API.
6902 * src/hildon-picker-dialog.c: (requires_done_button): Call
6903 hildon_touch_selector_has_multiple_selection() instead of
6904 determining the need for a button itself.
6906 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6908 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6909 (_hildon_touch_selector_set_model),
6910 (hildon_touch_selector_set_model): Move working code to
6911 _hildon_touch_selector_set_mode(). Call the class method instead.
6913 * src/hildon-touch-selector.h: Add (*set_model) to
6914 HildonTouchSelectorClass.
6916 Make hildon_touch_selector_set_model() a virtual method, so that
6917 derived classes can extend it and do fancy stuff with the model.
6919 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6921 * configure.ac: Set back the tarname in AC_INIT to hildon.
6923 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6927 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6928 instead of libesd (NB#86876). Volume handling is still an open issue.
6930 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6933 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6935 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6936 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6937 derived class to ease placement of an entry widget in
6938 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6939 end, where the selector columns are packed now.
6941 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6943 * src/hildon-picker-button.c: Removed the simple _text() API.
6944 * src/hildon-picker-button.h: Likewise.
6946 * src/hildon-touch-selector.h:
6947 * src/hildon-touch-selector.c:
6948 (hildon_touch_selector_new_text),
6949 (hildon_touch_selector_append_text),
6950 (hildon_touch_selector_prepend_text),
6951 (hildon_touch_selector_insert_text):
6953 Moved the simple _text() API from HildonPickerButton to
6954 HildonTouchPicker, to provide better escalability and not to tie
6955 that API to HildonPickerButton.
6957 * examples/hildon-picker-button-example.c: (main): Example updated.
6959 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-button.c: Updated documentation.
6963 * examples/hildon-button-example.c: Add the posibility to create
6964 the buttons using horizontal layout for title and value.
6966 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6968 * src/hildon-app-menu-private.h
6969 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6970 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6971 GtkSizeGroup for the filters, use the 'homogeneous' property of
6974 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6976 * examples/hildon-button-example.c: Updated example.
6978 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6980 * doc/hildon-docs.sgml:
6983 Update documentation.
6985 * examples/Makefile.am: Update renamed examples.
6987 * examples/hildon-picker-button-multicolumn-example.c:
6988 (create_touch_selector), (main): Update after the rename.
6990 * examples/hildon-touch-picker-example.c: Removed.
6991 * examples/hildon-touch-selector-example.c: (value_changed),
6992 (create_selector), (get_visible_content), (main): Renamed from
6993 hildon-touch-picker-example.c
6995 * src/Makefile.am: Updated renamed files.
6997 * src/hildon-date-button.c: (hildon_date_button_init),
6998 (hildon_date_button_get_date), (hildon_date_button_set_date):
6999 * src/hildon-date-selector.c: (hildon_date_selector_init),
7000 (_custom_print_func), (_update_day_model),
7001 (_manage_selector_change_cb),
7002 (hildon_date_selector_select_current_date),
7003 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7004 * src/hildon-date-selector.h:
7005 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7006 (hildon_picker_button_set_property),
7007 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7008 (hildon_picker_button_init), (hildon_picker_button_new_text),
7009 (hildon_picker_button_append_text),
7010 (hildon_picker_button_prepend_text),
7011 (hildon_picker_button_insert_text),
7012 (hildon_picker_button_set_selector),
7013 (hildon_picker_button_get_selector):
7014 * src/hildon-picker-button.h:
7015 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7016 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7017 (_update_title_on_selector_changed_cb), (requires_done_button),
7018 (_hildon_picker_dialog_set_selector),
7019 (hildon_picker_dialog_set_selector),
7020 (hildon_picker_dialog_get_selector):
7021 * src/hildon-picker-dialog.h:
7022 * src/hildon-time-button.c: (hildon_time_button_init),
7023 (hildon_time_button_get_time), (hildon_time_button_set_time):
7024 * src/hildon-time-selector.c: (hildon_time_selector_init),
7025 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7026 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7027 * src/hildon-time-selector.h:
7030 Massive code updates after the rename.
7032 * src/hildon-touch-picker.c: Removed.
7033 * src/hildon-touch-picker.h: Removed.
7035 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7036 (hildon_touch_selector_init), (hildon_touch_selector_map),
7037 (hildon_touch_selector_remove), (_default_print_func),
7038 (_selection_changed_cb), (_create_new_column),
7039 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7040 (hildon_touch_selector_append_text_column),
7041 (hildon_touch_selector_remove_column),
7042 (hildon_touch_selector_set_column_attributes),
7043 (hildon_touch_selector_insert_column),
7044 (hildon_touch_selector_get_num_columns),
7045 (hildon_touch_selector_get_column_selection_mode),
7046 (hildon_touch_selector_set_column_selection_mode),
7047 (hildon_touch_selector_set_print_func),
7048 (hildon_touch_selector_get_print_func),
7049 (hildon_touch_selector_get_active_iter),
7050 (hildon_touch_selector_set_active_iter),
7051 (hildon_touch_selector_get_selected_rows),
7052 (hildon_touch_selector_get_model),
7053 (hildon_touch_selector_set_model),
7054 (hildon_touch_selector_get_current_text),
7055 (_hildon_touch_selector_center_on_selected_items):
7056 * src/hildon-touch-selector.h: Renamed from
7057 hildon-touch-picker.[ch]
7059 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7060 references, code examples, and related documentation.
7062 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7064 * doc/hildon-docs.sgml
7067 * src/hildon-toggle-button.c
7068 * src/hildon-toggle-button.h
7069 * src/hildon.h: New HildonToggleButton widget.
7071 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7073 * src/hildon-button.c: Add API documentation.
7074 (hildon_button_set_size_groups): Check input parameters
7076 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7078 * src/hildon-pannable-area.c
7079 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7080 effect after reaching the movement thredshold. This way we start
7081 using the distance after passing the thredshold.
7083 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7085 * src/hildon-button.c: (hildon_button_set_property): Use the
7086 appropriate g_value_get_flags() method.
7088 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7090 * doc/hildon-docs.sgml:
7093 Add the touch pickers, picker dialogs, and picker button widgets
7094 to the documentation.
7096 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7098 * src/hildon-button.c: (hildon_button_set_property),
7099 (hildon_button_class_init): Make "arrangement-flags" a proper
7100 G_TYPE_FLAGS derived property.
7102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7104 * examples/Makefile.am: Add below examples.
7105 * examples/hildon-date-button-example.c:
7106 * examples/hildon-picker-button-example.c:
7107 * examples/hildon-picker-button-multicolumn-example.c:
7108 * examples/hildon-time-button-example.c:
7109 * examples/hildon-touch-picker-example.c:
7111 Add examples for the recently added touch pickers,
7112 picker dialogs, and picker button widgets.
7114 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7116 * src/hildon-button.c: Add some API documentation
7118 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7120 * src/hildon-button.h
7121 * src/hildon-button.c
7123 (hildon_button_new_with_text): New constructor to create a button
7124 with no text at all.
7125 (hildon_button_init, hildon_button_set_arrangement)
7126 (hildon_button_set_title, hildon_button_set_value)
7127 (hildon_button_set_text)
7128 (hildon_button_construct_child): Hide the value when it's not used
7129 so the rest of the text is properly aligned.
7130 Allow creating buttons with arbitrary widgets inside (not just
7131 title/value labels).
7133 * examples/hildon-button-example.c (vertical_buttons_window)
7134 (horizontal_buttons_window): Update example to use new API.
7136 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7138 * src/Makefile.am: Added HildonTimeButton.
7139 * src/hildon-time-button.c: Added missing LGPL header.
7140 * src/hildon-time-button.h: Added missing LGPL header.
7141 * src/hildon.h: Add hildon-time-button.h
7143 Copied HildonTimeButton from sandbox to trunk. Future work on this
7144 widget must take place in trunk.
7146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7148 * src/Makefile.am: Added HildonDateButton.
7149 * src/hildon-date-button.c: Update includes.
7150 * src/hildon.h: Add hildon-date-button.h
7152 Copied HildonDateButton from sandbox to trunk. Future work on this
7153 widget must take place in trunk.
7155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7157 * src/Makefile.am: Added HildonPickerButton.
7158 * src/hildon-picker-button.h: Update includes.
7159 * src/hildon.h: Add hildon-picker-button.h
7161 Copied HildonPickerButton from sandbox to trunk. Future work on
7162 this widget must take place in trunk.
7164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7166 * src/Makefile.am: Added HildonPickerDialog.
7167 * src/hildon-picker-dialog.c: Update includes.
7168 * src/hildon.h: Add hildon-picker-dialog.h
7170 Copied HildonPickerDialog from sandbox to trunk. Future work
7171 on this widget must take place in trunk.
7173 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7175 * src/Makefile.am: Added HildonTimeSelector.
7176 * src/hildon.h: Add hildon-time-selector.h
7178 Copied HildonTimeSelector widget from sandbox to trunk. Future
7179 work on this widget must happen in trunk.
7181 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7183 * src/Makefile.am: Added HildonDateSelector.
7184 * src/hildon.h: Add hildon-date-selector.h
7186 Copied HildonDateSelector widget from sandbox to trunk. Future
7187 work on this widget must happen in trunk.
7189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7191 * src/Makefile.am: Added HildonTouchPicker.
7192 * src/hildon-touch-picker.c: Update includes.
7193 * src/hildon.h: Add hildon-touch-picker.h
7195 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7196 on this widget must happen in trunk.
7198 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/hildon-pannable-area.c:
7201 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7203 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7205 * examples/hildon-app-menu-example.c (main): Let the window
7208 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7210 * src/hildon-pannable-area.c
7211 (hildon_pannable_area_class_init): Set the min value of the
7212 overshoot properties to zero, which points out that not
7213 overshooting allowed.
7215 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7217 Modified the procedure to get the widget at a point inside the
7218 pannable area when using the movement type signals. Now the user
7219 has to call a function to get the child, that way we just
7220 calculate the child in case the user really want to use it and not
7223 * src/hildon-marshalers.list: Modified the marshallers, now we do
7224 not have the widget as a parameter.
7226 * src/hildon-pannable-area.c
7227 (hildon_pannable_area_motion_notify_cb),
7228 (hildon_pannable_area_class_init),
7229 (hildon_pannable_get_child_widget_at): Removed the widget
7230 parameter from the signal callback. We have also refactored the
7231 emission of the signals.
7233 * src/hildon-pannable-area.h: Added a new method to the API to
7234 calculate a widget at a point inside the pannable area,
7235 hildon_pannable_get_child_widget_at.
7237 * examples/hildon-pannable-area-example-4.c
7238 (horizontal_movement): Modified the example to use the new API,
7239 added condition to control which widget is under the event. This
7240 way we can avoid scrolling laterally over other widgets.
7242 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7244 * src/hildon-pannable-area.c
7245 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7246 modes, we stop getting the pointer events due to returning the
7247 callback without properly calling the get pointer again. Fixed
7248 also an error using the hscroll and vscroll.
7250 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7252 * src/hildon-app-menu-private.h
7253 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7254 (hildon_app_menu_button_release, hildon_app_menu_init)
7255 (hildon_app_menu_class_init): Don't hide the menu on button
7256 release if the user didn't press outside first.
7258 * src/hildon-window.h
7259 * src/hildon-window.c (hildon_window_toggle_menu)
7260 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7261 hildon_window_toggle_menu a virtual function for the stackable
7262 window to override it.
7264 * src/hildon-stackable-window.h
7265 * src/hildon-stackable-window-private.h
7266 * src/hildon-stackable-window.c
7267 (hildon_stackable_window_realize)
7268 (hildon_stackable_window_finalize)
7269 (hildon_stackable_window_class_init)
7270 (hildon_stackable_window_init)
7271 (hildon_stackable_window_set_main_menu): New function to set the
7272 app menu of a HildonStackableWindow.
7274 * examples/hildon-app-menu-example.c: Remove the button to show
7275 the app menu, now it'll be shown when clicking on the title bar
7278 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7281 set the widget name if the arrangement flags do not specify
7284 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7286 * src/hildon-button.c: (hildon_button_set_property),
7287 (hildon_button_class_init), (hildon_button_new_full),
7288 (hildon_button_set_arrangement): Added "arrangement-flags"
7291 Make the HildonButtonFlags a construction-only property, to allow
7292 subclasses to set them properly.
7294 2008-07-21 Tim Janik <timj@imendio.com>
7296 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7297 insertion position after backspace, so additional digits are appended,
7300 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7302 * src/hildon-pannable-area.c,
7303 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7304 TODO list, it was complete and removed the g_debug and g_print
7307 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7309 Added the movement modes to the hildon-pannable-area, with this
7310 modes the developers can control in which directions the widget
7311 can scroll. They can also connect to signals in order to do
7312 something when that happens, allowing applications scroll. There
7313 is an example uploaded showing how to use it.
7315 * examples/Makefile.am:
7316 * examples/hildon-pannable-area-example-4.c: Added this example of
7317 an application using the modes.
7319 * src/hildon-marshalers.list: Added a new marshaller for the new
7322 * src/hildon-pannable-area.h: Added new enumerations and flags in
7323 order to control the movement modes and the new signals to warn
7324 about the movements in the area.
7326 * src/hildon-pannable-area.c:
7327 (hildon_pannable_axis_scroll),
7328 (hildon_pannable_area_scroll),
7329 (hildon_pannable_area_motion_notify_cb),
7330 (hildon_pannable_area_get_property),
7331 (hildon_pannable_area_set_property),
7332 (hildon_pannable_area_map),
7333 (hildon_pannable_area_class_init),
7334 (hildon_pannable_area_init),
7335 (hildon_pannable_area_jump_to): Added the modes to control the
7336 movement in the widget. We have added properties to control it,
7337 signals to warn about the movements and refactored some code.
7339 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7341 Changes required in order to allow vfast_factor set to zero to
7344 * src/hildon-pannable-area.c:
7345 (hildon_pannable_area_button_press_cb): Changed the condition, it
7346 is required for not allowing click when vfast_factor is zero.
7347 (hildon_pannable_area_timeout): Initialized velocity variables
7348 when we stop moving, it was less than 1 but not zero and we need
7349 to check zero in some situations.
7350 (hildon_pannable_area_class_init): Changed the default value of
7351 the speed factor, now the button_press is just sent in case the
7352 speed is 2 per cent of the max speed.
7353 (hildon_pannable_area_init): Initialization with 0.
7355 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7357 * src/hildon-pannable-area.c,
7358 (hildon_pannable_area_get_topmost): replaced
7359 gdk_window_get_children with gdk_window_peek_children, this way we
7360 do not have to free the list because it is not a copy.
7362 (hildon_pannable_axis_scroll),
7363 (hildon_pannable_area_scroll),
7364 (hildon_pannable_area_timeout),
7365 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7366 two parameters that were only used inside the
7367 hildon_pannable_area_scroll function.
7369 * examples/hildon-pannable-area-example.c,
7370 (get_sawtooth_label): Fixed small memory leak.
7372 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7374 More checks for the case where the overshoot is bigger than the
7377 * src/hildon-pannable-area.c:
7378 (hildon_pannable_draw_vscroll),
7379 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7380 to draw the slider of the scrollbar under the other scrollbar.
7381 (hildon_pannable_area_expose_event): added new checks to control
7382 the drawing of the overshooting area rectangle, in case it is too
7383 big for the area of the widget.
7384 (hildon_pannable_area_size_allocate): add more checks to avoid
7385 setting a position to the child widget outside the area.
7387 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7389 * src/hildon-pannable-area.c
7390 (hildon_pannable_area_size_allocate): Added conditions to control
7391 when overshooting is bigger than the allocated space for the
7392 children, this avoids negative allocations.
7394 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7396 * doc/hildon-docs.sgml
7398 * examples/Makefile.am
7399 * examples/hildon-button-example.c
7401 * src/hildon-button.c
7402 * src/hildon-button.h
7403 * src/hildon.h: Initial version of the new HildonButton widget,
7406 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7408 * src/hildon-pannable-area.c:
7409 (hildon_pannable_area_button_press_cb),
7410 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7411 (hildon_pannable_area_motion_notify_cb),
7412 (hildon_pannable_area_button_release_cb),
7413 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7414 (hildon_pannable_area_jump_to_child):
7416 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7418 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7420 * examples/Makefile.am
7421 * examples/hildon-pannable-area-touch-grid-example.c
7422 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7423 the Hildon Touch List and Hildon Touch Grid using the
7424 HildonPannableArea widget.
7426 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7428 * src/hildon-pannable-area.c,
7429 (hildon_pannable_area_button_press_cb),
7430 (hildon_pannable_area_refresh),
7431 (hildon_pannable_area_scroll),
7432 (hildon_pannable_area_motion_notify_cb),
7433 (hildon_pannable_area_button_release_cb),
7434 (hildon_pannable_area_expose_event),
7435 (hildon_pannable_area_add),
7436 (hildon_pannable_area_remove),
7437 (hildon_pannable_area_realize),
7438 (hildon_pannable_area_size_allocate),
7439 (hildon_pannable_area_class_init),
7440 (hildon_pannable_area_init),
7441 (hildon_pannable_area_scroll_to_child),
7442 (hildon_pannable_area_jump_to_child): Fixed the problem of
7443 removing the child from the GtkBin, we have rearranged the widget
7444 hierarchy, now there is no GtkAlignment which was not doing
7445 anything interesting but breaking some of the assumptions of
7446 GtkContainer. Now developers if they want to add a GtkAlignment
7447 they could, but it is not inside the area.
7449 We had to review the whole allocation/expose process, now it is
7450 improved and we save at least three signals which would be saving
7451 some time when rendering the widget. The allocation of the
7452 scrollbars is now made in the allocate method as usual.
7454 We have also added some conditions in order to control when there
7455 is no child of the pannable area. Maybe we will need more work
7458 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7460 * src/hildon-pannable-area.c,
7461 (hildon_pannable_area_dispose): Released the fade-out timeout when
7462 disposing the widget.
7464 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7466 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7467 zero, we are going to use that property in order to deactivate the
7469 (hildon_pannable_axis_scroll),
7470 (hildon_pannable_area_size_allocate): Added conditions to control
7471 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7472 call, now it is called in all situations and we can remove calls
7473 in the allocate method.
7474 (hildon_pannable_area_map): Control the situation when
7475 overshoot_max is zero, we do not need the timeout.
7476 (hildon_pannable_area_class_init): Added documentation in order to
7477 point out that setting zero to overshoot_max means deactivate
7480 NOTE: removed trailing whitespaces from my previous comments of
7483 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7485 * src/hildon-pannable-area.c
7486 (hildon_pannable_area_get_property),
7487 (hildon_pannable_area_set_property),
7488 (hildon_pannable_area_map),
7489 (hildon_pannable_area_class_init),
7490 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7491 to cause the widget give a hint about its panning abilities upon
7494 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7496 * src/hildon-pannable-area.c: Several documentation improvements.
7498 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7500 * src/hildon-program.c
7501 * src/hildon-stackable-window.c: Update documentation.
7503 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7505 * src/hildon-stackable-window.c (get_previous_window_if_last):
7506 Renamed get_last_window()
7507 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7508 (hildon_stackable_window_unset_program):
7510 (get_previous_window_if_last):
7511 Detect if the window hasn't been added to a HildonProgram.
7513 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7515 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7517 * src/hildon-pannable-area.c
7518 (hildon_pannable_area_button_press_cb),
7519 (hildon_pannable_axis_scroll),
7520 (hildon_pannable_area_scroll),
7521 (hildon_pannable_area_timeout),
7522 (hildon_pannable_calculate_vel_factor),
7523 (hildon_pannable_area_get_property),
7524 (hildon_pannable_area_set_property),
7525 (hildon_pannable_area_class_init),
7526 (hildon_pannable_area_init),
7527 (hildon_pannable_area_scroll_to),
7528 (hildon_pannable_area_jump_to),
7529 (hildon_pannable_area_scroll_to_child),
7530 (hildon_pannable_area_jump_to_child):
7531 * src/hildon-pannable-area.h: Added the new API functions:
7532 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7533 hildon_pannable_area_scroll_to_child,
7534 hildon_pannable_area_jump_to_child
7537 * examples/Makefile.am
7538 * examples/hildon-pannable-area-example-2.c
7539 * examples/hildon-pannable-area-example-3.c: Added these two new
7540 examples in order to test and show how the new APIs work.
7542 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7544 * examples/hildon-stackable-window-example.c (new_window):
7545 * src/Makefile.am (noinst_HEADERS):
7546 * src/hildon-program.c (hildon_program_go_to_root_window):
7547 * src/hildon-program.h:
7548 * src/hildon-stackable-window-private.h:
7549 * src/hildon-stackable-window.c:
7550 * src/hildon-stackable-window.h:
7551 Create hildon-stackable-window-private.h
7552 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7554 * examples/hildon-app-menu-example.c (create_menu):
7555 * examples/hildon-hvolumebar-insensitive-example.c (main):
7556 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7557 * examples/hildon-toolbar-seekbar-example.c (main):
7558 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7559 * src/hildon-banner.c (hildon_banner_set_property):
7560 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7561 Fix compilation warnings
7563 * src/hildon-window.c:
7566 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7568 * src/hildon-stackable-window.c
7569 (hildon_stackable_window_unset_program):
7570 Calculate correctly whether to show the previous window if the
7571 last one is removed from the stack.
7572 (hildon_stackable_window_go_to_root_window):
7573 Send delete events starting from the topmost window.
7574 Stop if one of the windows is not destroyed.
7576 (hildon_stackable_window_delete_event)
7577 (hildon_stackable_window_class_init):
7578 Ignore the delete event if the window is not the topmost one.
7580 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7582 * src/hildon-pannable-area.c
7583 (hildon_pannable_area_expose_event): Fixed a problem when
7584 selecting the background color of the scrollbars.
7586 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7588 * examples/hildon-stackable-window-example.c
7589 * src/hildon-stackable-window.c
7590 * src/hildon-stackable-window.h
7591 hildon_stackable_window_go_home() renamed to
7592 hildon_stackable_window_go_to_root_window()
7593 Send delete events to windows rather than closing them with
7594 gtk_widget_destroy()
7596 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7598 * src/hildon-pannable-area.c
7599 (hildon_pannable_area_button_release_cb): Fix overshooting in
7602 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7604 * src/hildon-pannable-area.c
7605 (hildon_pannable_area_init): Initially show the scroll indicators.
7606 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7608 Add initial effect showing the widget is pannable.
7610 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7612 * src/hildon-pannable-area.c
7613 (hildon_pannable_area_class_init)
7614 (hildon_pannable_area_set_property)
7615 (hildon_pannable_area_get_property)
7616 (hildon_pannable_area_button_press_cb):
7617 New 'velocity_fast_factor' property to decide which velocity is
7620 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7622 * src/hildon-pannable-area.c
7623 (hildon_pannable_draw_hscroll)
7624 (hildon_pannable_draw_vscroll):
7625 Use float variables to calculate the size of the scrollbars to
7626 avoid error propagation and resizing during scrolling.
7628 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7630 * src/hildon-pannable-area.c
7631 (hildon_pannable_draw_vscroll)
7632 (hildon_pannable_draw_hscroll):
7633 Define a minimum size for the scroll bars
7635 * src/hildon-stackable-window.c
7636 (hildon_stackable_window_go_home): Fix compilation warning
7637 (get_last_window): Minor optimizations
7638 (hildon_stackable_window_class_init): Fix initialization of
7641 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7643 * src/hildon-stackable-window.c: Fixed typos in doc
7645 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7647 * src/hildon-pannable-area.c
7648 (hildon_pannable_area_scroll):
7649 Calculate here whether we need to scroll instead of using the booleans
7650 that tell us whether to /draw/ the scrolling bars.
7652 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7654 * src/hildon-app-menu.h
7656 * src/hildon-app-menu.c
7657 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7658 multiple filter groups related code and API. Now we support only
7660 * examples/hildon-app-menu-example.c:
7662 Update to reflect API changes.
7664 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7666 * src/hildon-stackable-window.c
7667 (hildon_stackable_window_class_init):
7668 Add hildon_stackable_window_realize.
7669 (hildon_stackable_window_realize):
7670 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7671 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7672 to apply theming and behavior specific to HildonStackableWindow
7675 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7677 * src/hildon-note.c (hildon_note_button_release):
7678 Close information notes also when tapping on them
7680 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7682 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7683 ELASTICITY, refactor and review, fix some issues with drawing
7686 * src/hildon-pannable-area.c:
7687 (hildon_pannable_area_button_press_cb): removed the conditions to
7688 avoid clicks when overshooting. It is not required
7690 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7691 define. Refatored and reviewed the code, now we do not need to
7692 manage velocity in motion_notify.
7694 (hildon_pannable_area_motion_notify_cb): We have moved the code
7695 that controls the area_scroll to the axis_scroll function and get
7696 rid of duplicated code.
7698 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7700 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7702 (hildon_pannable_draw_vscroll),
7703 (hildon_pannable_draw_hscroll): Fixed the problems with the
7704 scrollbar drawing, now we do not use two surfaces, it is easier
7705 and saves resources.
7707 (hildon_pannable_area_get_property): Style modification.
7709 (hildon_pannable_area_class_init): Changed some default values.
7711 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7713 * src/hildon-stackable-window.c: Fix some typos in the
7716 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7718 * src/hildon-dialog.c:
7719 Change indentation style
7722 (hildon_note_button_release):
7723 Use root coordinates to check if the release event happened
7726 * src/hildon-app-menu.c
7727 (hildon_app_menu_button_release):
7728 Remove unnecessary check
7730 * examples/hildon-app-menu-example.c
7732 Add cast to fix warning
7734 * src/hildon-app-menu.c
7735 (hildon_app_menu_class_init):
7736 New inner-border style property.
7737 Set all default spacings to 16
7738 (hildon_app_menu_init):
7739 Use vertical-spacing to set the space between filter buttons and
7740 regular menu buttons.
7741 Set the default container border using the inner-border value.
7743 * examples/hildon-app-menu-example.c
7745 Don't set the menu border explicitly, now we have the inner-border
7746 style property for that.
7748 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7750 * src/hildon-app-menu.c (hildon_app_menu_init):
7751 Make the window modal
7753 * src/hildon-note.c (hildon_note_map)
7754 * src/hildon-app-menu.c (hildon_app_menu_map):
7755 Destroy the grab window if we're unable to grab the pointer
7757 * src/hildon-app-menu-private.h
7758 * src/hildon-app-menu.c
7759 (hildon_app_menu_init, hildon_app_menu_finalize)
7760 (hildon_app_menu_map, hildon_app_menu_unmap)
7761 (hildon_app_menu_button_release)
7762 (grab_transfer_window_get):
7763 Bring back the grab window
7764 (hildon_app_menu_realize):
7765 Decorate the window, set WM hint for Matchbox
7767 * src/hildon-note.c (hildon_note_realize):
7768 * src/hildon-banner.c (hildon_banner_realize):
7769 Add WM hints for Matchbox
7771 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-app-menu-private.h
7774 * src/hildon-app-menu.c
7775 (hildon_app_menu_init, hildon_app_menu_finalize)
7776 (hildon_app_menu_map, hildon_app_menu_unmap)
7777 (hildon_app_menu_button_release):
7778 Remove the grab window, it's not needed anymore
7780 * src/hildon-program.c
7781 Fixed typo in documentation
7783 * src/hildon-app-menu.h
7784 * src/hildon-app-menu.c
7785 * examples/hildon-app-menu-example.c
7786 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7788 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7791 Added new transfer_window and close_if_pressed_outside private
7793 (hildon_note_rebuild):
7794 Don't add a cancel button to the information note. It will be
7795 closed when tapping outside
7796 Remove the comment about the OK button in the documentation
7797 (hildon_note_realize):
7798 Set the notification type hint
7799 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7800 Grab/ungrab pointer and keyboard if the note has to be closed when
7802 (hildon_note_button_release):
7803 Close the note when tapping outside (if applicable)
7805 * src/hildon-app-menu.c
7806 Grab/ungrab pointer and keyboard on map/unmap
7807 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7808 Close the menu on button release, not button press
7810 * src/hildon-banner.c
7811 (hildon_banner_set_property)
7812 (hildon_banner_check_position):
7813 Make the banner use the full width of the screen
7814 (hildon_banner_show_information)
7815 (hildon_banner_show_information_with_markup):
7816 Don't display an icon by default
7818 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7820 Added fading scrollbars and adapted all the overshooting code to
7821 horizontal scrolling. We have also fixed bugs with overshooting
7822 and current fading implementation.
7824 * src/hildon-pannable-area.c
7825 (hildon_pannable_area_scroll_indicator_fade): Time out function
7826 used to change the transparency of the scrollbars.
7828 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7829 control and fixed a problem with fading, we now remove the fade
7830 timeout before adding a new one.
7832 (hildon_pannable_axis_scroll):
7833 (hildon_pannable_area_scroll):
7834 (hildon_pannable_area_timeout): Added this functions so we can use
7835 the scroll code both for vertical and horizontal.
7837 (hildon_pannable_area_motion_notify_cb):
7838 (hildon_pannable_area_button_release_cb): Added the horizontal
7839 scrolling control, fixed a problem with the overshooting timeout.
7841 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7842 painting of the scrolls.
7844 (hildon_pannable_draw_vscroll):
7845 (hildon_pannable_draw_hscroll):
7846 (hildon_pannable_area_expose_event):
7847 Draw both scrollbars and rectangles in the overshooting area.
7849 (hildon_pannable_area_get_property):
7850 (hildon_pannable_area_set_property):
7851 Modified the overshoot property to overshoot_max
7853 (hildon_pannable_area_map):
7854 Replaced the comments symbols.
7856 (hildon_pannable_area_size_allocate):
7857 (hildon_pannable_area_class_init):
7858 (hildon_pannable_area_init): Added horizontal scroll, fading
7859 effect properties, fixed a problem when overshooting in the bottom
7862 * examples/hildon-pannable-area-example.c:
7863 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7864 looks better in the example.
7866 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7868 * src/hildon-window.c
7869 * src/hildon-window.h
7870 (hildon_window_class_init)
7871 (hildon_window_unset_program)
7872 (hildon_window_unset_program_real):
7873 Make unset_program a virtual function
7875 * src/hildon-stackable-window.c
7876 * src/hildon-stackable-window.h
7877 Added hildon_stackable_window_go_home()
7879 * examples/Makefile.am
7880 * examples/hildon-stackable-window-example.c
7881 HildonStackableWindow example
7883 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7885 * hildon-pannable-area.c: Added the overshoot property and removed
7886 the OVERSHOOT define. Fixed an indent style error.
7887 (hildon_pannable_area_motion_notify_cb):
7888 (hildon_pannable_area_get_property):
7889 (hildon_pannable_area_set_property): Add overshoot property.
7891 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7894 (hildon_pannable_area_class_init): Installed the new property.
7896 * hildon-pannable-area-example.c: Added a sawtooth function, this
7897 way it is easier to check the movement in the pannable.
7898 (get_sawtooth_label): Added this function.
7899 (main): Now we get the labels from the new get_sawtooth_label
7902 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7904 * src/hildon-app-menu.h
7905 * src/hildon-app-menu.c
7906 Renamed API variables for consistency
7908 (hildon_app_menu_popup): Use also the default window size to
7909 decide where to place the menu
7911 (hildon_app_menu_init, hildon_app_menu_class_init): New
7912 external-border style property
7914 2008-05-26 Michael Natterer <mitch@imendio.com>
7916 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7917 widget_class->tap_and_hold_setup signal slot doesn't exist any
7918 longer, stop overriding it.
7920 (hildon_time_editor_init): g_signal_connect() to the
7921 tap-and-hold-setup signal instead.
7923 (hildon_time_editor_entry_keypress): add cast to fix warning.
7925 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7927 * doc/hildon-docs.sgml
7929 * examples/Makefile.am
7930 * examples/hildon-app-menu-example.c
7932 * src/hildon-app-menu-private.h
7933 * src/hildon-app-menu.c
7934 * src/hildon-app-menu.h
7936 New HildonAppMenu widget
7938 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7940 Rearranged the inheritance of the pannable area, now it inherits
7941 from GtkBin. This will allow us to control the event_window and
7942 the allocation process of the widget, required for some effects.
7944 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7945 GtkBin structures. * src/hildon-pannable-area.c: Added the
7946 event_window variable.
7947 (hildon_pannable_area_button_press_cb):
7948 (hildon_pannable_area_button_release_cb):
7949 (hildon_pannable_area_motion_notify_cb):
7950 Changed the signature of the method, now we override the event
7951 callback instead of connecting to the signal.
7953 (hildon_pannable_area_realize):
7954 (hildon_pannable_area_unrealize):
7955 (hildon_pannable_area_map):
7956 (hildon_pannable_area_unmap):
7957 (hildon_pannable_area_size_allocate):
7958 Added functions to control the widget construction. We add a
7959 INPUT_ONLY window and we put it over the widgets inside the
7960 container, this event_window handles the events.
7962 (hildon_pannable_area_class_init):
7963 Replaced the signal connections with overrides of the event
7966 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7968 Bouncing effect added when touching the borders, you can change
7969 the elasticity of the border changing the ELASTICITY define.
7971 * src/hildon-pannable-area.c: Added ELASTICITY define.
7972 (hildon_pannable_area_timeout): Added inverse velocity when
7973 touching the border of the child widget, that causes a bounce.
7975 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7977 Improved performance, we now do not go to the X server in order to
7978 get the list of window children. Apparently the effect is the
7979 same, we have to be careful and check if this breaks something in
7982 * src/hildon-pannable-area.c:
7983 (get_ordered_children): Removed this function.
7984 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7985 the children windows function with gdk_window_get_children.
7987 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7989 * src/hildon-pannable-area.c:
7990 (hildon_pannable_area_dispose): Fixed a crash when closing the
7991 window and kinetics is activated.
7993 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7995 * src/hildon-pannable-area.h
7996 * src/hildon-pannable-area.c
7997 Changed indentation style to meet the one used in Hildon
7999 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8001 Reviewed the interaction of the AUTO mode, now we use the time
8002 attribute of the events and calculate the velocity in the motion,
8003 doing a gimp like calculation. The velocity is calculated in each
8004 motion event using the last velocity and the current one, the
8005 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8007 * src/hildon-pannable-area.c: Replaced the time based algorithm
8009 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8010 timeout for the AUTO mode when we are still moving the cursor. We
8011 added also the velocity calculation in this function.
8012 (hildon_pannable_area_button_release_cb): launch the timeout in
8013 case we are in AUTO mode. There are still some constants here that
8014 come from the old implementation that should be reviewed and
8017 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8019 * doc/hildon-docs.sgml
8022 * src/hildon-stackable-window.c
8023 * src/hildon-stackable-window.h
8025 New HildonStackableWindow widget
8027 * examples/hildon-dialog-example.c
8028 * examples/hildon-pannable-area-example.c
8031 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8033 * src/hildon-dialog.c
8034 (hildon_dialog_new_with_buttons): New constructor.
8036 * examples/hildon-dialog-example.c
8037 (main): Update the example to use the new
8038 hildon_dialog_new_with_buttons().
8040 * examples/hildon-pannable-area-example.c
8041 (main): Update example.
8043 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8045 * doc/hildon-docs.sgml
8047 Added HildonPannableArea to the documentation.
8049 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8051 * doc/visual_index.xml
8052 Fix reference to HildonLoginDialog in documentation
8054 * doc/hildon-docs.sgml
8056 * examples/Makefile.am
8057 * examples/hildon-dialog-example.c
8059 * src/hildon-dialog.c
8060 * src/hildon-dialog.h
8062 New HildonDialog widget.
8064 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8066 * src/hildon-pannable-area.c
8067 Merge latest changes (r4318, r4342) from libmokoui trunk
8069 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8071 * examples/Makefile.am
8072 * examples/hildon-pannable-area-example.c
8074 * src/hildon-pannable-area.c
8075 * src/hildon-pannable-area.h
8077 New HildonPannableArea widget.
8079 2008-04-15 18:05:19 <timj@imendio.com>
8081 * src/hildon-banner.c: revert the recent change, that introduced
8082 gtk_window_present() calls. this reopens:
8083 Bug 78481 - [freetest] information banners are hidden under browser menu
8084 But resolves another variant of:
8085 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8087 2008-04-15 13:21:13 <timj@imendio.com>
8089 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8090 recreated its layout, spotted by Kris. this fixes all remaining
8091 artefacts and stability issues with the banner code. in particular:
8092 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8094 2008-04-14 16:52:59 <timj@imendio.com>
8096 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8097 operating on unrealized widgets, fixes:
8098 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8100 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8102 2008-04-09 Kristian Rietveld <kris@imendio.com>
8104 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8105 makes banner disappear.
8106 Fixes: NB#79182: info banner flickering with certain message lengts.
8108 * src/hildon-banner.c (hildon_banner_constructor),
8109 (hildon_banner_init), (hildon_banner_set_text),
8110 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8111 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8112 FALSE, reset size requests of label and banner,
8113 (force_to_wrap_truncated): when the text is too wide, always enforce
8114 the maximum possible width instead of recalculating it from the
8115 layout; enforce the maximum banner height of 3 lines,
8116 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8117 nicer wrapping and no truncated chars if space gets tight.
8119 * src/hildon-banner-private.h: add has_been_wrapped and
8120 has_been_truncated fields.
8122 2008-04-07 Sven Herzberg <sven@imendio.com>
8124 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8125 local values in hildon_date_editor_size_allocate
8127 * src/hildon-date-editor.c: moved the real allocation code into the
8130 2008-04-07 Sven Herzberg <sven@imendio.com>
8132 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8133 local values in hildon_date_editor_size_allocate
8135 * src/hildon-date-editor.c: merged the two if() branches together
8137 2008-04-07 Sven Herzberg <sven@imendio.com>
8139 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8140 local values in hildon_date_editor_size_allocate
8142 * src/hildon-date-editor.c: changed the arguments of the if()
8145 2008-04-07 Sven Herzberg <sven@imendio.com>
8147 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8148 local values in hildon_date_editor_size_allocate
8150 * src/hildon-date-editor.c: split the calculation of the allocation
8151 from the real allocation
8153 2008-03-27 Michael Natterer <mitch@imendio.com>
8155 Fixes: NB#81696: The passcode is not overwritten even after
8158 * src/hildon-code-dialog.c
8159 (hildon_code_dialog_button_clicked)
8160 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8161 because that doesn't overwrite selected text. Instead, emit the
8162 "commit" signal on the entry's im_context so the entry's normal
8163 insert logic is triggered. Set the cursor to the end of the entry
8164 after each insert operation so that we *only* insert in the middle
8165 of the text if something was selected.
8167 2008-03-27 Michael Natterer <mitch@imendio.com>
8169 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8170 selector cannot be opened
8172 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8173 when the popup color selector is created. Please connect to this
8174 signal in order to set the dialog's help ID.
8176 2008-03-25 Sven Herzberg <sven@imendio.com>
8178 Fixes: MB#1212: Hide info banners (infoprints) on click
8180 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8181 extracted the close event simulation into an extra function
8182 (hildon_banner_button_press_event): simulate a close event and destroy
8183 the widget if the event wasn't handled
8184 (hildon_banner_class_init): added the button_press_event handler
8185 (hildon_banner_init): added button-press events to the widget
8187 2008-03-25 Sven Herzberg <sven@imendio.com>
8189 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8190 Patch from: Mohammad Anwari <mdamt@maemo.org>
8192 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8193 instead of the right in RTL mode
8194 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8195 breadcrumb button list in RTL mode
8196 * src/hildon-caption.c: mirror the appearance of the caption widget in
8198 * src/hildon-date-editor.c: mirror appearance of the date editor in
8200 * src/hildon-time-editor.c: mirror appearance of the time editor in
8202 * src/hildon-window.c: fix the position of the popup in RTL mode
8204 2008-03-25 Sven Herzberg <sven@imendio.com>
8206 Amendment to the fix of NB#22072. Fix compilation.
8208 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8210 2008-03-19 Sven Herzberg <sven@imendio.com>
8212 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8215 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8216 timeout id properly when the timeout will disappear this leaves no
8217 artifacts around in the destroy(); there will only be the timeout
8218 created by hildon_banner_ensure_timeout() and adding a new timeout
8219 will also work if the timeout gets removed because the timeout_handler
8222 2008-03-19 Michael Natterer <mitch@imendio.com>
8224 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8226 * src/hildon-volumebar.c
8227 * src/hildon-vvolumebar.c
8228 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8229 the widget becomes focussable at all.
8231 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8232 set the focus to wither the mute button or the volumebar.
8234 Remove own "can-focus" property and instead listen to
8235 notify::can-focus in order to update the widget's state.
8237 Implement GtkWidget::focus() and make sure we can also *leave* the
8238 widget, not only enter it, depending on volumebar orientation and
8239 requested focus direction.
8241 Clean up set_mute() to cooperate nicely with all the above.
8243 2008-03-04 Michael Natterer <mitch@imendio.com>
8245 Fixes: NB#78481: information banners are hidden under browser menu
8247 * src/hildon-banner.c: call gtk_window_present() on the banners so
8248 they are risen if they are already visible.
8250 2008-03-03 Sven Herzberg <sven@imendio.com>
8252 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8254 * examples/hildon-window-menu-example.c: (main): extended the window
8255 menu example to serve as a testcase for automatically added
8256 accelerator groups, too
8257 * src/hildon-window.c: (hildon_window_add_accel_group),
8258 (hildon_window_set_menu): added patch by Tommi Komulainen
8260 2008-03-03 Sven Herzberg <sven@imendio.com>
8262 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8264 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8265 knowledge about the border allocators used within GTK+
8267 2008-02-26 Sven Herzberg <sven@imendio.com>
8269 Fixes: MB#2981: Build with asserts broken
8271 * src/hildon-date-editor.c,
8272 * src/hildon-number-editor.c,
8273 * src/hildon-time-editor.c,
8274 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8275 the proper GType instance check
8277 2008-02-25 Sven Herzberg <sven@imendio.com>
8279 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8281 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8282 * examples/hildon-window-menu-example.c: (main): explicitly show
8284 * src/hildon-window.c:
8285 (hildon_window_set_main_menu): moved most of the code from set_menu()
8286 to this place; skipped the call to gtk_widget_show_all(); also didn't
8287 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8288 (hildon_window_set_menu): removed most of the code, just keep the
8289 questionable gtk_widget_show_all()
8290 * src/hildon-window.h: added the new function and deprecate the old
8293 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8299 * debian/changelog: Updating.
8301 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8304 * pkgconfig/Makefile.am:
8305 * pkgconfig/hildon.pc.in:
8308 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8309 use newly created API_MAJOR_VERSION.
8311 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8317 * debian/changelog: Updating.
8319 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8323 Add outer_border style property, we use it but don't define it (!).
8327 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8329 * examples/hildon-bread-crumb-trail-example.c (main):
8333 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8335 Fix logic for the bread crumb trail node removal.
8339 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8345 * debian/changelog: Updating.
8347 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 Patch by Alejandro to get/set passwords dialogs accesibility.
8351 * hildon-1/src/hildon-get-password-dialog.c:
8352 * hildon-1/src/hildon-set-password-dialog.c:
8353 Set atk_set_name to the passwd entries in order to allow
8354 accessibility by name on this entries.
8356 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * debian/control: Updating gtk dep.
8363 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8365 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8366 USE_MAEMO_GTK is enabled.
8368 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8370 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8371 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8373 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * debian/changelog: Updating.
8381 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * examples/Makefile.am:
8384 * examples/hildon-logical-color-example.c:
8385 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8386 applied + adding a test case. Fixes: NB#71660.
8388 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8390 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8391 to be visible, fixes warning on map for windows without toolbars.
8393 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8395 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8396 2.11.0, add a check for that besides the MAEMO_GTK check.
8398 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * debian/changelog: Updating.
8406 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8409 visibility. Fixes: NB#70842 and MB#615.
8411 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8413 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8414 set the separator as no-show-all so it doesn't unintentionally appear when
8415 someone does a show_all.
8417 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8419 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8420 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8421 toplevel item. Fixes: NB#62031
8423 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8425 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8426 fix the name of the function in the docs.
8428 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * debian/changelog: Updating.
8436 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * examples/hildon-banner-long-example.c: Adding a test-case for long
8441 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8443 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 * src/hildon-color-chooser-dialog.c:
8446 * src/hildon-color-chooser.c:
8447 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8448 memory leaks in font selector and color selector. Fixes: NB#70499 and
8451 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8453 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8455 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8458 little bit bigger. Fixes: #NB63694.
8460 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * debian/changelog: Updating.
8468 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8471 * doc/hildon-docs.sgml:
8472 * doc/images/bread-crumb-trail.png:
8473 * doc/images/calendar-popup.png:
8474 * doc/images/caption.png:
8475 * doc/images/code-dialog.png:
8476 * doc/images/color-button.png:
8477 * doc/images/color-chooser-dialog.png:
8478 * doc/images/color-chooser.png:
8479 * doc/images/controlbar.png:
8480 * doc/images/date-editor.png:
8481 * doc/images/font-selection-dialog.png:
8482 * doc/images/get-password-dialog.png:
8483 * doc/images/hvolumebar.png:
8484 * doc/images/login-dialog.png:
8485 * doc/images/note.png:
8486 * doc/images/number-editor.png:
8487 * doc/images/range-editor.png:
8488 * doc/images/seekbar.png:
8489 * doc/images/set-password-dialog.png:
8490 * doc/images/sort-dialog.png:
8491 * doc/images/time-editor.png:
8492 * doc/images/time-picker.png:
8493 * doc/images/vvolumebar.png:
8494 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8495 Adding the bread-crumb-trial and helpers to the documentation.
8497 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * examples/hildon-find-toolbar-example.c:
8500 * src/hildon-find-toolbar.c:
8501 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8502 actually continue firing the other handlers if connected. Adding a new
8504 hildon_find_toolbar_get_last_index that gets the index of the most
8505 recently added (last) item. Fixes: NB#52301.
8507 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8510 behaviour. Fixes: NB#68610.
8512 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8514 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8517 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8520 when realizing the banner. Should make the infonbanner effect a bit more
8523 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8525 * src/hildon-volumebar.c:
8526 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8527 hildon_volumebar_set_range_insensitive_message and
8528 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8530 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-window.c: Fixing the border freeing on destroy.
8534 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * src/hildon-code-dialog-private.h:
8537 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8538 kw keyboard support in HildonCodeDialog.
8540 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * debian/changelog: Updating.
8548 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * src/hildon-date-editor.c:
8551 * src/hildon-number-editor.c:
8552 * src/hildon-private.c:
8553 * src/hildon-private.h:
8554 * src/hildon-time-editor.c:
8555 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8556 handling in subclassed composite widgets. Fixes: NB#66628.
8558 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8561 from destroy_ callback as it introduces problems in async dbus signal
8562 handlers. Fixes NB#66673.
8564 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * examples/hildon-hvolumebar-example.c:
8567 * src/hildon-volumebar.c: Improving the focus handling in the
8568 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8569 set_property accessor so that "mute" property can be actually set. I'm
8570 scared that nobody noticed it's totally broken.
8572 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8577 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-calendar.c:
8580 * src/hildon-number-editor.c:
8581 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8582 matches the spec of 6 chars per second. Fixes: NB#60489.
8584 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8587 gtk_style_lookup_color sometime returns FALSE even though color was
8588 found and values were filled properly. Weird. Removing the warning for the
8591 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8593 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8594 expand vertically. Adding some extra space to the find toolbar buttons to
8595 make them thumbable. Fixes NB#66060.
8597 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8599 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8600 popup with "Ok" and "Cancel". Fixes NB#59299.
8602 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * src/hildon-calendar.c: Process all window updates before executing next
8605 timeout. Fixes: NB#54146.
8607 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * debian/changelog: Updating.
8615 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8617 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8618 the client event and ignore it, since we use the delete event to close
8621 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * src/hildon-helper.c: Remove the bogus warning about color not being
8624 found. Fixes NB#58352.
8626 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * examples/Makefile.am:
8629 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8630 HildonSeekbar widget inside a toolbar.
8632 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8634 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8635 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8636 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8637 don't want to be closed by non-temporary windows on map.
8639 Also use G_DEFINE_TYPE instead of manually typed code.
8641 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * debian/rules: Updating.
8650 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * examples/Makefile.am:
8653 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8654 bug NB#61128. Strangely it works.
8656 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * src/hildon-date-editor.c: When the date editor entry has been changed
8659 but the numbers of characters < max, turn off the skip validation flag.
8660 Prevents a situation when we enter first a valid year and later re-write
8661 it with an invalid one. Fixes NB#60154.
8663 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8666 code dialog. Fixes NB#64355.
8668 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8671 switching the page. Fixes NB#49374.
8673 * examples/Makefile.am:
8674 * examples/hildon-wizard-dialog-example.c: Adding an example for
8675 HildonWizardDialog that shows how to handle manual sensitivity setting on
8678 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-version.h.in:
8683 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8685 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * src/hildon-volumebar.c: Updating the docs.
8689 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * debian/changelog: Updating.
8697 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * src/hildon-find-toolbar.c:
8700 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8701 selected item: hildon_find_toolbar_set_active,
8702 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8703 hildon_find_toolbar_get_active_iter . They correspond to respective
8704 GtkComboBox functions.
8706 * examples/Makefile.am:
8707 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8710 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8712 * examples/Makefile.am:
8713 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8716 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8717 when font size > 32 and we pack a focusable widget inside. Actually using
8718 the default response would work too, but since we don't show default
8719 response state in any way (no theming) it would not be visible to the
8720 user. Fixes NB#63430.
8722 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * src/hildon-date-editor.c: Adding the missing variable setter in the
8725 set_property handler. Fixes NB#54182.
8727 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * src/hildon-window.h: Changing the long key press time from 1500ms to
8730 800ms as requested in NB#63700. I have a bad feeling about this, let's
8731 see... Fixes NB#63700.
8733 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8735 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8736 hildon_time_picker_map, hildon_time_picker_realize,
8737 hildon_time_picker_style_set): Split the contents of map to more
8738 appropriate functions; set window decorations on realize and update
8739 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8741 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8746 * debian/changelog: Updating.
8748 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8750 * src/Makefile.am: fixed installation of the header files
8752 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * debian/changelog: Updating.
8760 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * configure.ac: Removing some remaining of --enable-xan.
8764 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8766 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8767 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8769 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8770 2.10.12-osso6 because the move-focus signal needs to be available in
8773 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * examples/Makefile.am:
8776 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8777 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8778 fine. Prolly NB#61128 is fixed now.
8780 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * src/hildon-volumebar.c:
8783 * src/hildon-volumebar.h: Adding the
8784 hildon_volumebar_set_range_insensitive_message and
8785 hildon_volumebar_set_range_insensitive_messagef functions to set
8786 insensitive message on the slider of the volumebar. Fixes NB#61129.
8788 * examples/Makefile.am:
8789 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8790 test the new insensitive messsage functionality on HildonVolumebar.
8792 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8794 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8797 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8800 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8801 button on after clearing the trail.
8803 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8807 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8809 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8810 by splitting the installed headers in generated and non-generated groups. Use
8811 only the non-generated headers to create the hildon-enum-types.h file.
8813 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8815 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8817 * src/hildon-window.c: Hide the window before performing the destroy.
8818 Should make the app closing a little tiny bit more snappy.
8820 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8822 * src/hildon-seekbar.c: add gtkrange.h header
8823 * src/hildon-caption.c: remove unused variable
8825 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8827 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8830 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * debian/changelog: Updating.
8838 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8840 * src/hildon-window.c (hildon_window_window_state_event,
8841 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8842 escape timeout on focus-out-event rather than notify::is-topmost; the
8843 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8845 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8848 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8850 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8852 * src/hildon-window: actually, you need to use the macro always, there's
8853 no private pointer in the instance structure. We should have cleaned this up
8854 when we had the chance...
8856 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8858 * src/hildon-window.c: do not get the private date from HildonWindow before
8859 it passes the g_return_if_fail check. Once it's passed the test, there's no
8860 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8861 if you are only going to access the data once. Whitespace cleanups.
8863 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8865 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8866 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8868 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * debian/changelog: Updating.
8876 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * src/hildon-window.c: When destroying the window, remove (if exists) the
8879 escape timeout handler. Fixes #NB59276.
8881 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * src/hildon-banner.c: When realizing the widget, set the window
8884 transiency. Setting the transiency in the gobject constructor is not
8885 good, as the widget is not realized at that point. Fixes: #NB56624.
8887 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8889 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8890 Add padding for future expansions.
8892 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8894 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8895 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8896 will fake an activation on the previous to the last item of the trail, so
8897 the effect can be overrided by the developer as usual.
8898 Also change the callback for the back button to do the same thing, so its
8899 effect can be overrided too. Fixes: NB#58982
8901 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8904 HildonCaption. Fixes NB#52379.
8906 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8908 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8909 the internal state of the trail after the user has had the chance of executing
8910 his handler for the signal. Specifically, it may happen that the activated button
8911 is removed and the user still lets the default handler run. This would segfault
8914 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8917 scrollbar to the preview dialog. Fixes NB#54147.
8919 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8922 max/min year properties can be altered, so the client can modify it
8923 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8925 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8928 hildonlike by default. Fixing a problem with disappearing arrows when
8929 scrolling through months and years. Fixes NB#54127.
8931 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * examples/hildon-date-editor-example.c: Adding error callback to the date
8936 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * configure.ac: Updating.
8944 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * configure.ac: Adding a special '--enable-xan' configure option that
8947 turns off the -Werror compilation setting. Usefull for development.
8949 * src/hildon-calendar.c:
8950 * src/hildon-number-editor.c:
8951 * src/hildon-time-picker.c: Adding the 5* multiplier to
8954 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8956 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8957 instead of g_object_ref + gtk_object_sink.
8959 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * debian/changelog: Updating.
8967 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * src/hildon-color-chooser-dialog.c:
8970 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8971 straight from Tommi labs.
8973 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * examples/hildon-finger-example.c: Correcting the header file path.
8977 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8978 the changed signal. Fixes a small memory leak.
8980 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * src/hildon-banner.c: Importing several usefull fixes from the
8985 ubuntu-mobile branch.
8987 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * examples/Makefile.am:
8990 * examples/hildon-finger-example.c: Adding a finger-checking code
8993 * src/hildon-font-selection-dialog.c: Do not allocate the color
8994 structure using the g_new. Fixes NB#54061.
8996 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * src/hildon-helper.c: Correcting tabs in file.
9000 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9003 control the visibility of the children.
9005 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9007 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * debian/changelog: Updating.
9015 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9017 * src/hildon-bread-crumb-trail.c:
9018 (hildon_bread_crumb_trail_size_allocate):
9020 Make the back button always a square.
9022 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9024 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9025 from the .c file as it's a private file.
9027 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9030 uses slightly bigger height.
9032 * src/hildon-font-selection-dialog.c: Adding some checks before
9033 freeing memory in the font selection dialog.
9035 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * src/hildon-font-selection-dialog.c: Adding a small check when
9040 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9041 buttons sensitivity on page switching.
9043 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9045 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9046 internal details of adding a bread crumb to the trail.
9048 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * debian/changelog: Updating.
9056 * src/hildon-bread-crumb-trail.h:
9057 * src/hildon-bread-crumb.h: Changing the API guard to
9058 HILDON_ENABLE_UNSTABLE_API.
9060 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-helper.h: Updating.
9070 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * src/hildon-helper.h: Small fix to make the package actually compile.
9084 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-bread-crumb-trail.h:
9087 * src/hildon-bread-crumb.h:
9089 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9090 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9092 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9094 * examples/hildon-bread-crumb-trail-example.c:
9096 * src/hildon-bread-crumb-trail.c:
9097 * src/hildon-bread-crumb-trail.h:
9098 * src/hildon-bread-crumb.c:
9099 * src/hildon-bread-crumb.h:
9100 * src/hildon-marshalers.list:
9101 * src/hildon-bread-crumb-widget.c:
9102 * src/hildon-bread-crumb-widget.h:
9104 Slight change in the widget design. The bread crumb trail API is
9105 unchanged, but HildonBreadCrumb is now an interface. A *private*
9106 implementation, hildon-bread-crumb-widget, is provided and used
9107 internally by the trail for the push_text/push_icon functions.
9109 The generic push API is still available, so anyone can implement
9110 and use its own bread crumb widget.
9112 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * debian/rules: Fixing the shlibs.
9116 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * src/hildon-banner.c: Fixing a problem with timed banners having
9119 their parrent destroyed before they are.
9121 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9123 * src/hildon-bread-crumb.c:
9124 * src/hildon-bread-crumb.h:
9126 Make the get_natural_size function a vfunc.
9128 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9130 * src/hildon-bread-crumb.c:
9131 * src/hildon-bread-crumb-trail.c:
9135 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * debian/changelog: Updating for release.
9144 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9146 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9147 don't leak the pango layout.
9149 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9152 * examples/hildon-bread-crumb-trail-example.c:
9156 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9158 * debian/changelog: Removing the bug-fixed entries that were actually
9159 resolved as WONTFIX.
9161 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9164 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9166 * src/hildon-bread-crumb-trail.c:
9167 * src/hildon-bread-crumb-trail.h:
9168 * src/hildon-bread-crumb.c:
9169 * src/hildon-bread-crumb.h:
9173 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9175 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9176 until it's passed the type check.
9178 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9180 * examples/hildon-bread-crumb-trail-example.c
9184 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9186 * examples/Makefile.am
9187 * examples/hildon-bread-crumb-trail-example.c
9189 * src/hildon-bread-crumb-trail.c
9190 * src/hildon-bread-crumb-trail.h
9191 * src/hildon-bread-crumb.c
9192 * src/hildon-bread-crumb.h
9194 New HildonBreadCrumbTrail widget.
9196 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9198 * src/hildon-range-editor.c (hildon_range_editor_init),
9199 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9200 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9201 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9202 hildon_time_editor_class_init, hildon_time_editor_init),
9203 src/hildon-get-password-dialog.c (invalid_input,
9204 hildon_get_password_set_property, hildon_get_password_get_property,
9205 create_contents, hildon_get_password_dialog_set_max_characters),
9206 src/hildon-set-password-dialog.c (create_contents),
9207 src/hildon-date-editor.c (hildon_date_editor_init),
9208 src/hildon-login-dialog.c (hildon_login_dialog_init),
9209 src/hildon-number-editor.c (hildon_number_editor_init),
9210 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9211 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9212 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9213 configure option and adding the respective checks in the code.
9214 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9215 hildon_calendar_drag_data_received): fixed some build warnings.
9217 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * debian/changelog: A 1.0.0 release notes.