1 2009-07-14 László Pere <lpere@blumsoft.eu>
3 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
4 the new size is applied.
6 Fixes: NB#124510 (The Application Menu is distorted when switched
7 between portrait and landscape mode)
8 Fixes: NB#115388 (Power key menu does not resize itself)
10 2009-07-01 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-banner.c (hildon_banner_map):
13 Set banner position after mapping.
15 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
17 * configure.ac: postrelease version bump.
18 * debian/changelog: post release version bump
20 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
25 * configure.ac: Bump version.
26 * debian/changelog: Updates.
28 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
30 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
33 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
35 * tests/check-hildon-banner.c
38 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
39 were testing deprecated functions.
40 * examples/hildon-banner-example.c: typo on button3 type, that causes
41 a fail compiling with --with-examples but without --disable-deprecated
43 Missed commit in order to fix compilation using '--enable-fatal' and
44 '--disable-deprecated' (see previous commit)
46 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
48 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
49 functions with #ifndef HILDON_DISABLE_DEPRECATED
50 * examples/hildon-find-toolbar.c: Protect deprecated
51 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
52 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
53 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
54 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
56 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
57 to allow proper compilation of deprecated functions defined on the header
59 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
61 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
63 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
64 Cache the panning indicator color.,
65 (hildon_pannable_area_style_set): Query the color on style changes.
66 (hildon_pannable_draw_vscroll),
67 (hildon_pannable_draw_hscroll),
68 (hildon_pannable_area_expose_event): Use the cached panning indicator
69 color instead of looking it up on every expose and more.
71 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
73 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
74 (hildon_pannable_draw_hscroll),
75 (hildon_pannable_area_expose_event): Fix the panning indicator color,
76 so that it's "SecondaryTextColor", as desired.
78 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
80 * hildon/hildon-picker-dialog.c:
81 (selection_completed): take into account HILDON_UI_MODE_NORMAL
82 * hildon/hildon-touch-selector.c
83 (hildon_touch_selector_init): Initialize hildon-ui-mode
84 (hildon_touch_selector_row_activated): new callback for the
85 "row-activated" signal, in order to save the last activated
86 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
87 if the current hildon-ui-mode is coherent with the touch selector
88 (hildon_touch_selector_class_init)
89 (hildon_touch_selector_get_property)
90 (hildon_touch_selector_set_property)
91 Added "hildon-ui-mode" property
92 (disconnect_model_handlers): renamed to clean_column
93 (hildon_touch_selector_remove): use clean_column function
94 (_create_new_column): use the hildon-ui-mode to create the treeview, and
95 only select the first element on HILDON_UI_MODE_EDIT
96 (hildon_touch_selector_column_init): Initialize last_activate
97 (hildon_touch_selector_append_column): check that the touch selector
98 is coherent with the current hildon-ui-mode
99 (hildon_touch_selector_get_hildon_ui_mode)
100 (hildon_touch_selector_set_hildon_ui_mode)
101 Added a getter/setter for the hildon-ui-mode property
102 (hildon_touch_selector_get_last_activated_row): Added this method in
103 order to get the last activated row.
104 * examples/hildon-touch-selector-normal-mode-example.c
105 New example, that shows how to use the HildonTouchSelector in
106 HILDON_UI_MODE_NORMAL
108 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
109 Kristian Rietveld <kris@lanedo.com> advices
111 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
113 * hildon/hildon-time-selector.c: (update_format_policy): Do
114 not call update_format_dependant_columns() if not necessary.
115 (update_format_dependant_columns): Remove unnecessary check for
116 the number of columns.
118 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
120 * hildon/hildon-note.c (+hildon_note_constructor),
121 (hildon_note_class_init), (+hildon_note_set_padding),
122 (hildon_note_rebuild): Install a constructor where to set the
123 padding properties in the note, so that it actually works fine.
124 Use hildon_note_set_padding() for this, and also to set it during
127 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
129 * configure.ac: Bump GTK+ requirement to 2.14.3.
130 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
131 when using maemo-gtk to define proper margins for the notes.
133 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
134 with the dialog edge)
136 2009-06-24 Alberto Garcia <agarcia@igalia.com>
138 * hildon/hildon-banner.c
139 (hildon_banner_class_init):
141 (+hildon_banner_size_request):
142 Request always the full width of the screen.
143 (hildon_banner_realize)
144 (-hildon_banner_check_position, hildon_banner_map):
145 hildon_banner_check_position() is not needed in Hildon 2.2.
146 (-hildon_banner_reset_wrap_state)
147 (hildon_banner_constructor, hildon_banner_init):
148 Remove unnecessary calls to hildon_banner_reset_wrap_state()
149 (+banner_do_set_text)
150 (force_to_wrap_truncated):
151 Remove has_been_wrapped and has_been_truncated attributes.
152 (+reshow_banner, hildon_banner_real_show_information)
153 (hildon_banner_show_information_with_markup)
154 (hildon_banner_show_animation, hildon_banner_show_progress)
155 (hildon_banner_set_text, hildon_banner_set_markup):
156 Refactor code. Shrink banner vertically to use the minimum space
157 necessary everytime the text of the label is updated.
158 (screen_size_changed):
159 Call force_to_wrap_truncated() when the size of the screen
162 Fixes: NB#120500 (only device memory connect mmc in use info
163 banner is left aligned)
165 Fixes: NB#120613 (Size of HildonBanner varies depending on
166 previously opened banners)
168 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-color-chooser.c
171 (hildon_color_chooser_pointer_motion): Take the widget allocation
174 Fixes: NB#124385 (Unable to select exact point in color mixing box
175 in color palette dialog)
177 2009-06-23 Alejandro G. Castro <alex@igalia.com>
179 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
180 (hildon_pannable_area_dispose)
181 (hildon_pannable_area_button_press_cb)
182 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
183 (hildon_pannable_area_button_release_cb)
184 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
185 New 'panning-started' and 'panning-finished' signals.
187 Fixes: NB#121732 (New feature request: Signal to pannable area
188 that informs when panning is stopped.)
190 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
192 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
193 instead of hardcoded colon.
195 Fixes: NB#124090 (New calendar wizard title is not using
196 ecdg_ti_caption_separator)
198 2009-06-22 David King <davidk@openismus.com>
200 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
201 constants and functions, as well as correct many typos throughout the
204 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
207 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
209 * configure.ac: postrelease version bump.
210 * debian/changelog: post release version bump
212 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
217 * configure.ac: Bump version.
218 * debian/changelog: Updates.
220 2009-06-18 Alberto Garcia <agarcia@igalia.com>
222 * hildon/hildon-window-stack.c
223 (hildon_window_stack_pop_and_push_list):
224 Prevent windows from having the same stack index
226 2009-06-18 Alberto Garcia <agarcia@igalia.com>
228 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
229 Use the index of the previous window rather than the stack length
230 to calculate the new index.
234 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
236 * hildon/hildon-date-selector.c
237 (hildon_date_selector_select_current_date)
238 (hildon_date_selector_get_date)
239 (hildon_date_selector_select_day):
240 Update the documentation: uses always the range (1-31), as it is obvious
241 that the final one will depend on the month and the year, but globally
242 the range is this, in a similar GtkCalendar approach
243 (hildon_date_selector_get_date):
244 Update the documentation: add NULL as a valid value for the day, month
247 Fix some details, after talk with David King on bug MB#4698
249 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
251 * hildon/hildon-touch-selector-entry.c
252 * hildon/hildon-touch-selector.c
253 Update the documentation of the "text-column" property
255 2009-06-18 David King <davidk@openismus.com>
257 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
258 several typos and errors throughout the documentation.
260 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
263 2009-06-18 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-note.c (hildon_note_realize):
266 Make HildonNote support portrait mode.
268 Fixes: NB#123448 (HildonNote is not portrait-friendly)
270 2009-06-17 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
273 Document this function
275 2009-06-17 David King <davidk@openismus.com>
277 * hildon/hildon-date-selector.c
278 (hildon_date_selector_select_current_date)
279 (hildon_date_selector_get_date): Update documentation regarding days,
280 as the day of the month is dependent on both the month and the year.
281 (hildon_date_selector_get_date): Fix documentation of output arguments.
283 Fixes: MB#4698 (DateSelector documentation has bad output argument
284 description, and the day depends on both the month and the year)
286 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-caption.c: Other documentation fixes to
291 2009-06-17 David King <davidk@openismus.com>
293 * hildon/hildon-caption.c: Minor documentation updates for
294 HildonCaption. Fixes MB#4697.
296 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
298 * doc/hildon-docs.sgml: Add hildon-version section.
299 * doc/hildon-sections.txt:
300 * hildon/hildon-version.h.in: Document versioning macros and
303 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
305 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
306 from HildonPickerDialog section.
308 2009-06-16 Alberto Garcia <agarcia@igalia.com>
310 * hildon/hildon-banner.c (hildon_banner_bind_style)
311 (screen_size_changed, hildon_banner_init)
312 (hildon_banner_real_show_information)
313 (hildon_banner_show_information_with_markup)
314 (hildon_banner_show_animation, hildon_banner_show_progress):
315 Set a different widget name to banners in portrait mode, for them
316 to be themed correctly.
318 2009-06-16 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
321 Set a different widget name to notes in portrait mode, for them to
324 Partially fixes: NB#118401 (HildonNote causes unnecessary
327 2009-06-16 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-note.c (hildon_note_class_init)
330 (+hildon_note_size_request, screen_size_changed):
331 Always request the full width of the screen.
333 Fixes: NB#118375 (unnecessary rescaling of images)
335 2009-06-16 Alejandro G. Castro <alex@igalia.com>
337 * hildon/hildon-pannable-area.c,
338 (hildon_pannable_area_init),
339 (hildon_pannable_area_realize): Replaced old code adding flags in
340 the object init, now we add it with the other flags in the realize
343 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
345 * hildon/hildon-note.c: (hildon_note_class_init): Several
346 documentation improvements to the HildonNote widget.
348 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
350 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
352 Fixes: MB#4556 (HildonNoteType is undocumented)
354 2009-06-15 Alberto Garcia <agarcia@igalia.com>
356 * hildon/hildon-picker-button.c:
357 Explain how HildonPickerButton sets the title of its dialog
359 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
360 the title of its dialog)
362 2009-06-15 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-check-button.c:
365 Documentation updates
367 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
370 2009-06-15 Alberto Garcia <agarcia@igalia.com>
373 * hildon/hildon-edit-toolbar-private.h
374 * hildon/hildon-edit-toolbar.c
375 (+hildon_edit_toolbar_set_progress_indicator)
376 (hildon_edit_toolbar_init): Add progress indicator to the
379 * hildon/hildon-gtk.c
380 (hildon_gtk_window_set_progress_indicator):
381 If the window contains a HildonEditToolbar, enable the progress
384 * hildon/hildon-private.h
385 * hildon/hildon-private.c
386 (+hildon_private_create_animation)
387 * hildon/hildon-banner.c
388 (-hildon_banner_create_animation):
389 Moved to hildon-private.c
391 Fixes: NB#102373 (Progress indicator also for the Edit mode
394 2009-06-15 Alberto Garcia <agarcia@igalia.com>
396 * hildon/hildon-app-menu-private.h
397 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
398 (hildon_app_menu_add_filter, +menu_item_button_event)
399 (hildon_app_menu_button_release, hildon_app_menu_init):
400 Make sure that buttons receive 'button-release-event' in spite of
401 the grab held by HildonAppMenu
403 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
405 2009-06-15 Alberto Garcia <agarcia@igalia.com>
407 * hildon/hildon-app-menu.c
408 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
409 New style property to set the size of the group of filter buttons.
411 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
413 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
418 * configure.ac: Bump version.
419 * debian/changelog: Updates.
421 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
423 * hildon/hildon-main.c: Minor documentation fixes.
425 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
427 * doc/hildon-sections.txt:
428 * hildon/hildon-defines.h: Document the defines, organize them,
429 and mark deprecations as such.
431 Fixes: MB#4463 (Hildon size #defines are undocumented)
433 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
435 * hildon/hildon-animation-actor.c:
436 * hildon/hildon-app-menu.c:
437 * hildon/hildon-button.c:
438 * hildon/hildon-date-editor.c:
439 * hildon/hildon-dialog.c:
440 * hildon/hildon-edit-toolbar.c:
441 * hildon/hildon-entry.c:
442 * hildon/hildon-program.c:
443 * hildon/hildon-remote-texture.c:
444 * hildon/hildon-stackable-window.c:
445 * hildon/hildon-text-view.c:
446 * hildon/hildon-touch-selector.c:
447 * hildon/hildon-window-stack.c:
448 * hildon/hildon-window.c:
450 Remove redundant "represents" wording from most of the documentation.
452 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
454 2009-06-12 Alberto Garcia <agarcia@igalia.com>
459 * hildon/hildon-banner-private.h
460 * hildon/hildon-banner.c:
461 Move HildonBannerPrivate to hildon-banner.c and remove
462 hildon-banner-private.h
463 Use a bit field to store private booleans.
465 2009-06-12 Alberto Garcia <agarcia@igalia.com>
467 * hildon/hildon-app-menu.c (hildon_app_menu_map):
468 Don't install a new idle function if there's already one
473 2009-06-11 Alberto Garcia <agarcia@igalia.com>
475 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
476 (+legacy_menu_realized, +legacy_menu_unmapped)
477 (+set_legacy_menu_type):
478 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
479 they can be identified by the window manager.
481 Fixes: NB#101437 (Invoking CSM on the left side of page area is
482 displayed in wrong location)
484 Fixes: MB#4563 (Popup menu won't locate at the left side of the
487 2009-06-11 Alberto Garcia <agarcia@igalia.com>
489 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
491 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
494 2009-06-11 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-code-dialog.c
497 * hildon/hildon-date-editor.c
498 * hildon/hildon-number-editor.c
499 * hildon/hildon-seekbar.c
500 * hildon/hildon-stackable-window.c
501 * hildon/hildon-window.c:
502 Misc documentation updates
504 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
506 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
507 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
509 Fixes: NB#117931 (Theming issues in accounts dialogs)
511 2009-06-09 Alejandro G. Castro <alex@igalia.com>
513 * hildon/hildon-pannable-area.c,
514 (hildon_pannable_area_button_release_cb): Changed the coordinates
515 of the original release in case we want to discard the release,
516 some widgets in Fremantle do not handle the leave-notify.
518 2009-06-09 Alejandro G. Castro <alex@igalia.com>
520 * hildon/hildon-pannable-area.c,
521 (hildon_pannable_area_button_release_cb): Reviewed the logic of
522 the release using the last refactored functions and avoiding the
523 movement if an element was selected.
525 2009-06-09 Alejandro G. Castro <alex@igalia.com>
527 * hildon/hildon-pannable-area.c,
528 (hildon_pannable_area_check_move),
529 (hildon_pannable_area_handle_move),
530 (hildon_pannable_area_motion_notify_cb): Refactored the
531 motion_notify method using a couple of new functions.
533 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
535 * hildon/hildon-date-selector.c:
536 (hildon_date_selector_construct_ui):
537 * hildon/hildon-time-selector.c:
538 (hildon_time_selector_constructor):
539 * hildon/hildon-touch-selector-entry.c:
540 (hildon_touch_selector_entry_set_text_column),
541 (hildon_touch_selector_entry_get_text_column):
542 * hildon/hildon-touch-selector.c: (_default_print_func),
543 (hildon_touch_selector_new_text): Use
544 hildon_touch_selector_set/get_text_column() instead of
545 setting/getting the "text-column" property.
547 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
549 * doc/hildon-sections.txt: Add the new public methods below.
551 * examples/hildon-picker-button-multicolumn-example.c:
552 (create_touch_selector):
553 * examples/hildon-touch-selector-example.c: (create_selector):
554 * examples/hildon-touch-selector-multi-cells-example.c:
556 Use hildon_touch_selector_column_set_text_column()
558 * hildon/hildon-touch-selector-column.h:
559 * hildon/hildon-touch-selector.c:
560 (hildon_touch_selector_column_set_text_column),
561 (hildon_touch_selector_column_get_text_column):
562 Make hildon_touch_selector_column_set/get_column() public, use
563 them in the inline example, document them, and reference to them
566 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
568 * hildon/hildon-time-selector.c: Fix the docs for
569 hildon_time_selector_new_step().
571 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
573 * hildon/hildon-touch-selector.c: Improve the documentation for
574 hildon_touch_selector_append_column().
576 Fixes MB#4641 (Documentation:
577 hildon_touch_selector_append_column() ref-counting)
579 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
581 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
582 Comment out test 5, since the hildon_controlbar_set_range() range
583 check is broken and fixing it would have side effects. Also,
584 this finally fixes make distcheck.
586 Fixes: NB#101420 (Update unit tests and fix make distcheck)
588 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
590 * tests/TEST-CASES.txt: Remove other bogus test.
591 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
592 Remove bogus test that was setting/retrieving a valid value.
594 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
596 * tests/TEST-CASES.txt: Remove bogus tests.
597 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
598 Remove three bogus tests that were actually setting valid colors.
600 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
602 * configure.ac: post release version bump
603 * debian/changelog: post release version bump
605 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
610 * configure.ac: Bump version.
611 * debian/changelog: Updates.
613 2009-06-08 Christian Dywan <christian@lanedo.com>
617 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
618 Correct errors in hildon_format_file-size_for_display and use
619 translations from the hildon-fm package instead of osso-filemanager.
621 2009-06-08 Alejandro G. Castro <alex@igalia.com>
623 * hildon/hildon-pannable-area.c,
624 (hildon_pannable_area_init): Initialized new values to handle the
626 (hildon_pannable_area_adjust_value_changed): Check if the values
627 changed before even call the redraw function.
628 (hildon_pannable_area_size_allocate),
629 (hildon_pannable_axis_scroll),
630 (hildon_pannable_area_scroll),
631 (hildon_pannable_area_jump_to): Improved the diagonal movement
634 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
637 2009-06-08 Alberto Garcia <agarcia@igalia.com>
639 * examples/hildon-banner-example.c:
640 Several style updates
641 (on_animation_clicked, on_animation_idle)
642 (on_progress_clicked, on_progress_idle):
643 Add additional reference for the cases when the parent window is
646 2009-06-08 Alberto Garcia <agarcia@igalia.com>
648 * doc/hildon-sections.txt
649 * hildon/hildon-pannable-area.c
650 * hildon/hildon-banner.h
651 * hildon/hildon-banner.c: Documentation updates.
653 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
656 2009-06-05 Alejandro G. Castro <alex@igalia.com>
658 * hildon/hildon-calendar-popup.h:
659 * hildon/hildon-caption.h:
660 * hildon/hildon-code-dialog.h:
661 * hildon/hildon-controlbar.h:
662 * hildon/hildon-date-editor.h:
663 * hildon/hildon-dialog.h:
664 * hildon/hildon-get-password-dialog.h:
665 * hildon/hildon-hvolumebar.h:
666 * hildon/hildon-login-dialog.h:
667 * hildon/hildon-note.h:
668 * hildon/hildon-number-editor.h:
669 * hildon/hildon-range-editor.h:
670 * hildon/hildon-seekbar.h:
671 * hildon/hildon-set-password-dialog.h:
672 * hildon/hildon-sort-dialog.h:
673 * hildon/hildon-time-editor.h:
674 * hildon/hildon-time-picker.h:
675 * hildon/hildon-volumebar-range.h:
676 * hildon/hildon-volumebar.h:
677 * hildon/hildon-vvolumebar.h:
678 * hildon/hildon-weekday-picker.h:
679 * hildon/hildon-window.h:
680 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
681 macros with the current replacements
683 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
685 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
687 * hildon/hildon-color-button.c (hildon_color_button_init): Use
688 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
689 itself, to make it fit better with Fremantle style.
691 Fixes: NB#109878 (height and width of focus on color icon is not
692 consistent with other item in the application tool bar)
694 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
696 * hildon/hildon-touch-selector.c:
697 (hildon_touch_selector_optimal_size_request): use the current requisition
698 as the base, in order to include any possible extra widget, like the
699 hildon entry on HildonTouchSelectorEntry
701 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
703 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
705 * configure.ac: post release version bump
706 * debian/changelog: post release version bump
708 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
713 * configure.ac: Bump version.
714 * debian/changelog: Updates.
716 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
718 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
720 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
721 to ensure the banner contents are centered, instead of relying on
722 the expand and fill properties in GtkHBox.
723 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
725 Fixes: NB#108265 (Animation banner not properly centered)
727 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
729 * hildon/hildon-pannable-area.c
730 (hildon_pannable_area_initial_effect): Remove the initial_effect
731 management, check initial_hint
732 (hildon_pannable_are_expose_event): Remove the initial_hint management,
733 set initial_effect to FALSE
734 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
735 by launching the fade_timeout if the scrollbars state has changed and are
737 * examples/hildon-pannable-area-initial-hint-example.c
738 Modified to allow to remove rows too. Add and remove rows one by one.
740 2009-05-28 Alberto Garcia <agarcia@igalia.com>
742 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
743 Don't close the menu if there's an animation actor below it.
745 Fixes: NB#117927 (Application menu not usable with animation
748 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
751 "focus-on-click" from the dialog button, to avoid stealing the
752 focus from the entry.
754 Fixes: NB#118903 (Account setup wizard: Text in Search field
755 should be focused when "Region" touch list picker is reopened
758 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
760 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
761 (prepare_action_area): Completely hide the dialog separator.
763 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
765 * hildon/hildon-touch-selector-entry.c
766 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
767 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
768 now that the entry is exposed.
770 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
772 * hildon/hildon-touch-selector-entry.c
773 (hildon_touch_selector_entry_init): Change the entry's size
774 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
776 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
778 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
779 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
780 avoid unnecessary scaling.
782 2009-05-27 Alberto Garcia <agarcia@igalia.com>
784 * hildon/hildon-app-menu.c (hildon_app_menu_map):
785 Create grab transfer window before calling parent's map function.
787 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
788 "crushed" button(s) in the top left corner)
790 2009-05-26 Alberto Garcia <agarcia@igalia.com>
792 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
793 Check if the window is already realized when pushing it.
795 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: post release version bump
798 * debian/changelog: post release version bump
800 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
805 * configure.ac: Bump version.
806 * debian/changelog: Updates.
808 2009-05-25 Alberto Garcia <agarcia@igalia.com>
810 * hildon/hildon-app-menu.c: Doc updates.
812 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
814 * hildon/hildon-banner.c: Remove leftover macro.
816 2009-05-25 Alejandro G. Castro <alex@igalia.com>
818 * hildon/hildon-pannable-area.c,
819 (hildon_pannable_area_scroll_indicator_fade),
820 (hildon_pannable_area_button_release_cb): Reviewed vmin
821 conditions, it could cause problems in the fadeout procedure.
823 2009-05-25 Alejandro G. Castro <alex@igalia.com>
825 * hildon/hildon-pannable-area.c
826 (hildon_pannable_area_button_release_cb): Added a threshold to
827 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
829 2009-05-25 Alejandro G. Castro <alex@igalia.com>
831 * hildon/hildon-pannable-area.c,
832 (hildon_pannable_area_set_property): Added code to sync the gtk
833 dnd threshold with the panning threshold.
835 2009-05-25 Alejandro G. Castro <alex@igalia.com>
837 * hildon/hildon-pannable-area.c,
838 (hildon_pannable_area_class_init): Changed some of the default
839 values, now it should be less responsive and more accurate.
841 2009-05-25 Alejandro G. Castro <alex@igalia.com>
843 * hildon/hildon-pannable-area.c,
844 (hildon_pannable_area_init),
845 (hildon_pannable_area_scroll_indicator_fade),
846 (hildon_pannable_area_button_press_cb),
847 (hildon_pannable_axis_scroll),
848 (hildon_pannable_area_timeout),
849 (hildon_pannable_area_motion_notify_cb),
850 (hildon_pannable_area_button_release_cb): Changed the name of the
851 clicked attribute to button_pressed, it is more clear about its use.
853 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
855 * src/hildon-pannable-area.c
856 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
858 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
859 vertical scrollbar visibility, and use the data on private section instead,
860 remove the initial_hint check
861 (hildon_pannable_area_expose_event): add the initial_hint check here
863 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
865 * src/hildon-pannable-area.c
866 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
867 if the fadeout effect was used
868 (hildon_pannable_area_expose_event): check if it is required to
869 manage the initial effect on the begining of the function. Previously
870 it was made at the end, but this doesn't ensure that the scrollbars
871 will be painted on the first show. Do not set to FALSE initial_effect,
872 to ensure that the initial hint is showed the first time the pannable
874 * examples/Makefile.am
875 * examples/hildon-pannable-area-initial-hint-example.c:
876 New example, to show that the initial-hint is showed when the widget
879 Fixes: NB#116607 (Pannable area should always have scrollbar visible
880 initially if the application can be scrolled)
882 2009-05-25 Alberto Garcia <agarcia@igalia.com>
884 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
885 Resize table before adding new items to make sure that
886 gtk_table_resize() is called just once.
888 2009-05-25 Alberto Garcia <agarcia@igalia.com>
890 * hildon/hildon-app-menu-private.h
891 * hildon/hildon-app-menu.c (item_visibility_changed)
892 (filter_visibility_changed, hildon_app_menu_show_all)
893 (hildon_app_menu_hide_all, hildon_app_menu_init):
894 Rearrange items just once when gtk_widget_show_all()/hide_all()
897 2009-05-25 Alberto Garcia <agarcia@igalia.com>
899 * hildon/hildon-app-menu.c
900 (hildon_app_menu_insert, hildon_app_menu_add_filter):
901 Don't call gtk_widget_show() on added items.
903 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
904 automatically when they're added)
906 2009-05-20 Alberto Garcia <agarcia@igalia.com>
908 * hildon/hildon-banner.c
909 (hildon_banner_realize, +hildon_banner_unrealize)
910 (+screen_size_changed, hildon_banner_class_init):
911 Redisplay the banner if the screen is rotated.
913 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
914 on transition from landscape to portrait)
916 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
918 * hildon/hildon-banner.[ch]:
919 (hildon_banner_show_information_override_dnd): remove icon_name from the
920 method definition as it is ignored.
921 * examples/hildon-banner-dnd-example.c: updated with the change on
924 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
926 * hildon/hildon-banner-private.h: new require_override_dnd and
927 overrides_dnd variables
928 * hildon/hildon-banner.h:
929 (hildon_banner_show_information_override_dnd): new method, that shows
930 the information but sets the override flag, in order to show important
932 * hildon/hildon-banner.c
933 (hildon_banner_show_information_override_dnd): new method
934 (hildon_banner_set_override_flag): new utility function
935 (hildon_banner_real_show_information): new utility function, in order to
936 generalize the current hildon_banner_show_information_override_dnd and
937 hildon_banner_show_information_override_dnd
938 * examples/Makefile.am
939 * examples/hildon-banner-dnd-example.c: New example that show how to
940 use the new hildon_banner_show_information_override_dnd
942 Fixes: NB#114874 (There is no possibility to show hildon banners with
945 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
947 * hildon/hildon-pannable-area.c: Add a comment explaining the math
948 behind hildon_pannable_calculate_vel_factor().
950 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
952 * hildon/hildon-pannable-area.c
953 (hildon_pannable_calculate_vel_factor): Correct the sum of the
954 deceleration factors.
956 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
958 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
959 Reduce the default value for 'scroll_time' to 1 second, since the
960 current initial scrolling takes too much time.
962 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
964 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
965 calculate velocity factor during initialization, since the properties
968 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
970 * hildon/hildon-pannable-area.c
971 (hildon_pannable_area_set_property): Calculate the velocity factor
972 after setting the deceleration property and not after.
974 2009-05-20 Alberto Garcia <agarcia@igalia.com>
976 * hildon/hildon-entry.c
977 (hildon_entry_class_init, +set_property, hildon_entry_new)
978 * hildon/hildon-check-button.c
979 (hildon_check_button_class_init)
980 (+set_property, hildon_check_button_new):
981 Make the theme size a property.
983 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
984 others) do too much in the _new function)
986 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
988 * configure.ac: post release version bump
989 * debian/changelog: post release version bump
991 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: Bump version.
997 * debian/changelog: Updates.
999 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1001 * hildon/hildon-gtk.h
1002 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1003 New API function to take a screenshot of a window
1005 Fixes: NB#106374 (Need API to take a loading screenshot)
1007 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1009 * hildon/hildon-time-selector.c
1010 (update_format_policy): prevent to use hours and minutes unitialized
1012 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1014 * hildon/hildon-window.c (hildon_window_size_request):
1015 Always request the full size of the screen (minus the title bar if
1016 not in fullscreen mode).
1018 Fixes: NB#107486 (HildonWindow should size itself properly)
1020 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1022 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1023 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1024 (on_show_cb), (sound_handling): Disconnect the idle handler for
1025 the sound when the note is finalized to avoid possible crashes.
1027 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1030 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1032 * src/hildon-animation-actor.c,
1033 * src/hildon-remote-texture.c:
1034 Added proper object cleanup to remove signal handler and object
1035 references as HildonAnimationActor and HildonRemoteTexture
1036 objects get destroyed.
1038 Fixes: NB#116682 (Destroying parented animation actors when
1039 parent in unmapped leads to crash)
1041 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1043 Based on a patch by Christian Dywan (christian@imendio.com)
1045 * doc/hildon-sections.txt:
1046 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1047 * hildon/hildon-helper.h: New file size formatting method.
1049 * debian/control: Depend on osso-filemanager l10n package for
1050 proper localization strings.
1052 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1054 * tests/Makefile.am: Include top_srcdir to make possible to build
1055 tests in a different builddir.
1056 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1057 on a different builddir.
1059 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1061 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1062 (hildon_touch_selector_remove): Disconnect model's signal handler
1065 Fixes: NB#116289 (Hildon home crashes while adding task
1068 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1070 * hildon/hildon-button.c
1071 (hildon_button_set_title, hildon_button_set_value):
1072 Hide labels containing an empty string.
1074 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1076 * configure.ac: post release version bump
1077 * debian/changelog: post release version bump
1079 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: Bump version.
1085 * debian/changelog: Updates.
1087 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1089 * hildon/hildon-note-private.h: Removed sound_signal_handler
1090 * hildon/hildon-note.c
1091 (on_show_cb): new callback on note "show" event, this simply adds
1092 a idle, with the function sound_handling
1093 (sound_handling): removed the sound_signal_handler management
1094 (hildon_note_init): connect note "show" event to on_show_cb
1095 (hildon_note_realize): remove the connection to "expose-event"
1097 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1098 device?' confirmation note)
1100 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1102 * hildon/hildon-note.c
1103 (hildon_note_new_information_with_icon_name)
1104 (hildon_note_new_confirmation_with_icon_name):
1105 Terminate the list of parameters in g_object_set() calls
1107 Fixes: NB#115166 (Formatting memory card is not taking place)
1109 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1111 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1112 "dialog-information" role for the sound being played.
1114 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1116 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1117 Don't make the menu a modal window, it causes strange interactions
1118 with the pointer grab and it's not really needed.
1120 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1122 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1124 * hildon/hildon-touch-selector.[ch]
1125 (hildon_touch_selector_optimal_size_request): function added to get a
1126 optimal size request from the touch selector, when you want a dialog to
1127 show as much of the selector
1128 * hildon/hildon-picker-dialog.c:
1129 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1130 (hildon_app_menu_class_init):
1131 New "max-height-landscape" and "max-height-portrait" style properties
1132 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1133 (hildon_picker_dialog_get_max_height): returns the maximum height using
1134 the style properties defined and checking the current portrait/landscape
1136 (_hildon_picker_dialog_set_selector): removed the set_size_request
1138 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1140 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1142 * hildon/hildon-bread-crumb-trail.c:
1143 * hildon/hildon-bread-crumb.c:
1144 * hildon/hildon-seekbar.c:
1145 Add reference to replacements for these deprecated widgets.
1147 Fixes: MB#4461 (Documentation: All deprecations should mention
1150 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1152 * examples/hildon-remote-texture-example.c
1154 Change the include to the hildon-remote-texture in order to compile
1155 properly the examples on the installed libhildon1-examples package
1157 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1159 * tests/Makefile.am: Add check for HildonPickerButton.
1160 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1161 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1162 checks for the HildonPickerButton.
1163 * tests/check_test.c (configure_tests): Add the test suite.
1164 * tests/test_suites.h: likewise.
1166 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1168 * hildon/hildon-touch-selector.c
1169 (+on_row_changed): Emit HildonTouchSelector:changed when the
1170 contents of a selected row change.
1171 (_create_new_column), (_hildon_touch_selector_set_model): connect
1172 to GtkTreeModel:row-changed on a newly set model.
1174 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1176 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1178 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1180 * hildon/hildon-banner.c (hildon_banner_destroy)
1181 (hildon_banner_show_progress, hildon_banner_set_fraction):
1182 Remove the progress bar from HildonBanner and use a progress
1185 Fixes: NB#113761 (Update progress banner to use progress
1188 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1190 * hildon/hildon-banner.c:
1191 Calculate size of the banner label using the actual screen width
1192 rather than using a fixed value.
1194 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1197 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1199 * hildon/hildon-pannable-area.c,
1200 (hildon_pannable_area_class_init): Fixed signals documentation
1203 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: post release version bump
1206 * debian/changelog: post release version bump
1208 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1213 * configure.ac: Bump version.
1214 * debian/changelog: Updates.
1216 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1218 * hildon/hildon-edit-toolbar.c
1219 (hildon_edit_toolbar_init):
1220 Don't let buttons in HildonEditToolbar receive focus.
1222 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1223 typing on an HW arrows key)
1225 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1227 * doc/Makefile.am: Fix build.
1229 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1231 * doc/Makefile.am: Do not redefine content_files.
1233 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1241 Renamed src/ to hildon/
1246 Include <hildon/hildon.h> directly in all examples.
1248 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1250 * src/hildon-sort-dialog.c
1251 (hildon_sort_dialog_add_sort_key_with_sorting)
1255 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1257 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1258 make distcheck passes.
1260 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1262 * Makefile.am: Enable gtk-doc during distcheck.
1264 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1266 * Makefile.am: Do not distribute the debian/ directory.
1268 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1270 * doc/Makefile.am: Add the extra SGML files to content_files,
1271 so that they are distributed properly.
1273 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1275 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1278 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1280 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1281 (hildon_note_new_information_with_icon_name): Set the "icon" property
1282 to preserve soundness.
1284 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1286 * src/hildon-font-selection-dialog.c
1287 (hildon_font_selection_dialog_set_property): Fail when the "family"
1288 property is set to NULL.
1290 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1292 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1295 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1297 * src/hildon-time-selector.h:
1298 Added HildonTimeSelectorFormatPolicy
1299 * src/hildon-time-selector.c:
1300 Added PROP_TIME_FORMAT_POLICY
1301 (_check_ampm_format): renamed to check_automatic_ampm_format
1302 (update_format_policy), (update_format_dependant_columns): new functions
1303 (hildon_time_selector_class_init)
1304 (hildon_time_selector_contructor)
1305 (hildon_time_selector_init)
1306 (hildon_time_selector_get_property)
1307 (hildon_time_selector_set_property)
1308 (hildon_time_selector_get_time)
1309 (hildon_time_selector_set_time)
1310 * src/hildon-touch-selector.h: new file
1311 * src/hildon-touch-selector.c
1312 (hildon_touch_selector_emit_changed)
1313 (hildon_touch_selector_block_changed)
1314 (hildon_touch_selector_unblock_changed)
1315 Added functions to allow to block the emission of the "changed" signal
1316 * src/hildon-picker-dialog.c
1317 (hildon_picker_dialog_show): call the parent show before the custom code
1318 * examples/hildon-time-button-example.c
1319 Modified, so now you can configure the time format using the new property
1321 Added a new property "time-format-policy" that allow to choose the time
1322 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1323 case it uses gconf in order to check if the time selector must use
1326 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1329 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-note.c (hildon_note_init):
1332 Label in HildonNote must be left aligned, not centered. This
1333 reverts the last commit in HildonNote.
1335 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1336 is connectivity dialog)
1338 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1343 * doc/hildon-sections.txt:
1344 Added hildon_gtk_window_set_do_not_disturb()
1346 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-note.c (hildon_note_init): Center label.
1350 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1353 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1358 * configure.ac: Bump version.
1359 * debian/changelog: Updates.
1361 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1363 * src/hildon-note-private.h: Add button-width to the private data.
1364 * src/hildon-note.c (+resize_button),
1365 (+hildon_note_orientation_update): methods to repack widgets on orientation
1367 (screen_size_changed): Call above method for confirmation notes.
1368 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1369 (hildon_note_rebuild): Store the original width request from buttons.
1371 Fixes: NB#109635 (Confirmation notes do not support portrait)
1373 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1375 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1376 when it is a progress note.
1378 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1380 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1381 in the note, since there are no horizontally arranged contents.
1383 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-gtk.c (+set_flag): new generic method to
1386 set/delay a flag setting in a window.
1387 (hildon_gtk_window_set_progress_indicator):
1388 (hildon_gtk_window_set_do_not_disturb),
1389 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1390 avoid code redundance.
1392 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1394 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1396 * src/hildon-gtk.c (set_clear_window_flag),
1397 (do_set_progress_indicator), (do_set_do_not_disturb),
1398 (do_set_portrait_flags),
1399 (hildon_gtk_window_set_progress_indicator),
1400 (hildon_gtk_window_set_do_not_disturb),
1401 (hildon_gtk_window_set_portrait_flags):
1402 Allow setting dnd-flag, progress indicator, and portrait flags
1403 when the window is not realized.
1405 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1407 * src/hildon-pannable-area.c,
1408 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1409 the size request policy function and defines.
1411 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1413 * doc/hildon-sections.txt: Add the new API.
1414 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1415 method to set the portrait flags.
1416 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1418 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1420 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1422 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1423 to allow using this method with other flags.
1424 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1425 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1427 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-touch-selector.c
1430 (hildon_touch_selector_append_text_column):
1431 Make the cell renderer use the smallest width possible.
1433 Fixes: NB#108470 (Selected items in multiple selection are either
1434 having a tick that is cut or not visible at all.)
1436 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-touch-selector.c
1439 (hildon_touch_selector_append_text_column):
1442 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1445 Use g_strdup_printf() instead of a fixed size buffer.
1447 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1450 Close banners when a HildonAppMenu is popped up.
1452 Fixes: NB#111027 (Title menu closed immediately if activated when
1453 "Invalid e-mail address" banner is shown)
1455 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1460 * configure.ac: Bump version.
1461 * debian/changelog: Updates.
1463 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-banner.c (hildon_banner_realize):
1466 Mark HildonBanner as supporting portrait mode.
1467 Use GDK to set window properties insetad of direct Xlib calls.
1469 Fixes: NB#111830 (HildonBanner should be marked as supporting
1472 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-note.c (hildon_note_rebuild):
1475 Hide action area in information notes. Prevents text from being
1476 slightly aligned to the left.
1478 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1481 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1483 Patch by Mox Soini (ext-mox.soini@nokia.com)
1485 * src/hildon-banner.c (hildon_banner_create_animation):
1486 Use stylus-sized icons in animation banner.
1488 Fixes: NB#111206 (stylus sized icon for animation banner)
1490 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1494 (+hildon_gtk_window_set_do_not_disturb):
1495 New API to set the do-not-disturb flag.
1497 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1499 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1501 * examples/hildon-progress-indicator-example.c: Fix example
1503 * src/hildon-gtk.c (set_clear_window_flag)
1504 (hildon_gtk_window_set_progress_indicator):
1505 Create a generic function for setting flags to a window.
1506 Use GDK instead of direct Xlib calls.
1508 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-button.c (hildon_button_set_arrangement):
1511 Due to NB#88126, if one of the labels is too long it will be
1512 painted outside the button. The 'value' label is more likely to be
1513 the longest one, so we change its packing options in order to
1514 truncate it if necessary. As a side effect, the 'title' label will
1515 no longer be truncated.
1517 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1519 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1524 * configure.ac: Bump version.
1525 * debian/changelog: Updates.
1527 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1529 Deprecation of the hildon_pannable_area_set_size_request_policy
1530 API, the only policy properly supported in gtk+ nowadays is the
1533 * src/hildon-pannable-area.c,
1534 (hildon_pannable_area_size_request): Added a workaround for the
1535 size_request to avoid the problems of huge pixmaps in case someone
1536 is still using the function.
1537 * src/hildon-pannable-area.h: Deprecated the enum with the
1540 Fixes: NB#110244 (Problems with the
1541 hildon_pannable_area_set_size_request_policy API)
1543 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1545 * src/hildon-pannable-area.c,
1546 (hildon_pannable_area_init),
1547 (hildon_pannable_area_size_request),
1548 (hildon_pannable_area_style_set),
1549 (hildon_pannable_draw_vscroll),
1550 (hildon_pannable_draw_hscroll),
1551 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1552 indicator_width to clarify the use of the attribute.
1554 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1559 * configure.ac: Bump version.
1560 * debian/changelog: Updates.
1562 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1564 * src/hildon-picker-dialog.c
1565 * src/hildon-touch-selector.c
1566 Reverting the change that tried to avoid the hardcoded height on
1567 the picker dialog, as causes problems on the hildon-touch-selector
1570 Fixes: NB#110029 (selectors not scrolling to selected value)
1572 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-touch-selector.c: Fix typos
1576 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1578 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1579 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1580 request more motions after using it.
1582 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1584 * src/hildon-calendar.c (hildon_calendar_expose),
1585 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1586 Remove unused variables.
1588 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1590 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1591 variable assignment.
1593 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1596 Check the return value of gtk_tree_selection_get_selected()
1599 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-animation-actor.c
1602 * src/hildon-button.c
1604 * src/hildon-pannable-area.c
1605 * src/hildon-picker-button.c
1606 * src/hildon-program.c
1607 * src/hildon-remote-texture.c
1608 * src/hildon-text-view.c
1609 * src/hildon-touch-selector.c
1610 * src/hildon-window-stack.c
1611 * src/hildon-window.c:
1612 Add missing 'Since: 2.2' tags.
1614 * doc/hildon-sections.txt:
1615 Add some missing symbols.
1617 * doc/hildon-docs.sgml:
1618 New 'Other' section for HildonAnimationActor and
1621 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1623 Patch by Iván Gómez (igomez@igalia.com)
1626 * doc/compiling.sgml
1627 * doc/hildon-docs.sgml
1628 * doc/hildon-sections.txt
1629 * doc/migration.sgml
1630 * doc/resources.sgml
1632 New chapters on using the Hildon library.
1633 Updated the general structure of the reference manual.
1634 Other minor documentation fixes.
1636 * src/hildon-calendar-popup.c
1637 * src/hildon-calendar.c
1638 * src/hildon-controlbar.c
1639 * src/hildon-date-editor.c
1640 * src/hildon-dialog.c
1641 * src/hildon-hvolumebar.c
1642 * src/hildon-number-editor.c
1643 * src/hildon-range-editor.c
1644 * src/hildon-sort-dialog.c
1645 * src/hildon-time-editor.c
1646 * src/hildon-time-picker.c
1647 * src/hildon-volumebar-range.c
1648 * src/hildon-volumebar.c
1649 * src/hildon-vvolumebar.c
1650 * src/hildon-weekday-picker.c:
1651 Add deprecation notes
1653 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1654 Document 'horizontal-movement' and 'vertical-movement' signals.
1656 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1661 * configure.ac: Bump version.
1662 * debian/changelog: Updates.
1664 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1666 * src/hildon-pannable-area.c,
1667 (hildon_pannable_area_class_init): increased the minimum velocity.
1668 (hildon_pannable_area_button_release_cb): Updated the
1669 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1670 setup. Review the code to control that last event.
1672 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1675 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1677 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1679 * src/hildon-get-password-dialog.c
1680 (hildon_get_password_set_property),
1681 (hildon_get_password_get_property), (create_contents):
1682 * src/hildon-login-dialog-private.h:
1683 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1684 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1685 (hildon_login_dialog_get_password):
1686 * src/hildon-set-password-dialog-private.h:
1687 * src/hildon-set-password-dialog.c
1688 (hildon_set_password_set_property),
1689 (hildon_set_password_get_property), (create_contents),
1690 (hildon_set_password_response_change),
1691 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1693 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1694 instead and look more Fremantle style.
1696 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1698 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1700 * doc/hildon-sections.txt
1701 * src/hildon-window-stack.h
1702 * src/hildon-window-stack.c
1703 (+hildon_window_stack_get_windows):
1704 New API to obtain the list of windows on a stack.
1706 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-app-menu.c (hildon_app_menu_popup)
1709 (hildon_app_menu_class_init, -hildon_app_menu_show):
1710 Remove hildon_app_menu_show() and move all its checks to
1711 hildon_app_menu_popup()
1713 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1716 (_hildon_picker_dialog_set_selector): removed call to
1717 gtk_widget_set_size_request
1718 * src/hildon-touch-selector.c
1719 (_create_new_column): change the pannable size request policy
1721 Avoid to use a hardcoded height for the hildon picker dialog. In order
1722 to get that, we needed to change the hildon pannable size request
1724 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1726 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1729 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1732 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1734 * debian/control: Depend on osso-system-lock localization package.
1735 * src/hildon-code-dialog.c: Obtain the secu_application_title
1736 translation from osso-system-lock.
1737 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1738 for translation the atk related strings, that's not necessary.
1739 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1740 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1741 cancel button, it is not required.
1743 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1745 * src/hildon-pannable-area.c,
1746 (hildon_pannable_area_class_init): Modified the default value of
1747 the overshooting max speed, we have reduced it.
1749 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1751 * doc/hildon-sections.txt
1752 * src/hildon-window-private.h
1753 * src/hildon-window.h
1754 * src/hildon-window.c (hildon_window_class_init)
1755 (hildon_window_init, hildon_window_finalize)
1756 (hildon_window_realize, hildon_window_get_property)
1757 (hildon_window_set_property, hildon_window_update_markup)
1758 (hildon_window_get_markup, hildon_window_set_markup):
1759 New "markup" property and hildon_window_{get,set}_markup() methods.
1761 * examples/hildon-stackable-window-example.c (new_window):
1762 Update example to use hildon_window_set_markup()
1764 Fixes: NB#106375 (Need API to retitle a window with a title
1767 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1769 * src/hildon-pannable-area.c,
1770 (hildon_pannable_area_class_init): Changed the default value of
1771 the initial_hint to TRUE.
1772 (hildon_pannable_area_initial_effect): Changed the initial effect,
1773 not the effect is just the fade-out of the scrollbars.
1775 Fixes: NB#107775 (No scrollbars can be seen when several items are
1776 available in a dialog)
1778 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-program.c (hildon_program_update_top_most):
1783 Fixes: NB#109179 (Memory leak in Hildon program)
1785 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-banner.c (-get_current_app_window):
1788 Remove unused function.
1790 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1792 * src/hildon-pannable-area.c: Modified the documentation of the
1793 get adjustments functions to explain the problem of using the
1794 adjustment directly.
1795 (hildon_pannable_area_class_init): Improved the explanation about
1798 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-app-menu-private.h
1801 * src/hildon-app-menu.c
1802 (hildon_app_menu_class_init):
1803 Bring back the 'external-border' style property
1804 (hildon_app_menu_class_init, hildon_app_menu_init)
1805 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1806 Set a fixed width-request for the menu, independent of the number
1809 Fixes: NB#94957 (Smoothly opened application menu)
1811 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1815 * src/hildon-banner.c
1816 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1818 Make sure that the banner is correctly placed the first time it's
1820 (hildon_banner_check_position, -check_fullscreen_state):
1821 Show the banner in the same place no matter if the window is in
1822 fullscreen mode or not.
1824 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1826 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-touch-selector.c (_default_print_func): reorder
1829 concatenation for clarity.
1831 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1833 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1834 for multicolumn selectors.
1836 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1838 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1843 * configure.ac: Bump version.
1844 * debian/changelog: Updates.
1846 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1851 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1853 * configure.ac: removed libcangerra-gtk dependency
1854 * debian/control: removed libcanberra-gtk dependency
1855 * src/Makefile.am: removed libcanberra gtk related flags
1856 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1857 context, and manage a global canberra context instead
1859 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1861 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1863 Patch by Daniel Borgmann (danielb@openismus.com)
1865 * src/hildon-edit-toolbar.c:
1866 Adjust the left padding.
1867 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1868 Paint background of the edit toolbar.
1870 Fixes: NB#107897 (Patch to make editmodetoolbar background
1871 themeable and adjust margin)
1873 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1875 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1877 * src/hildon-program.c (hildon_program_update_top_most):
1878 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1880 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1881 change when the user tasks in/out of an application)
1883 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1885 * configure.ac: added libcangerra-gtk dependency
1886 * debian/control: added libcanberra-gtk dependency
1887 * src/Makefile.am: added libcanberra gtk related flags
1888 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1891 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1893 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-program.c (hildon_program_remove_window)
1896 (hildon_program_add_window): Add checks for the window
1897 parameter. Don't decrease the window counter if the window is not
1900 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1902 * src/hildon-pannable-area.c,
1903 (hildon_pannable_area_realize): Fixed position of the event_window
1904 in the realize method.
1906 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-app-menu-private.h
1909 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1910 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1911 (hildon_app_menu_key_press, hildon_app_menu_init)
1912 (hildon_app_menu_finalize):
1913 Make sure that all idle functions are removed when the widget is
1916 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1918 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1923 * configure.ac: Bump version.
1924 * debian/changelog: Updates.
1926 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1928 * src/hildon-entry.c
1929 (+hildon_entry_show_placeholder),
1930 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1931 that replace hildon_entry_update_contents().
1932 (hildon_entry_set_text),
1933 (hildon_entry_set_placeholder),
1934 (hildon_entry_focus_in_event),
1935 (hildon_entry_focus_out_event): Determine when it is needed
1936 either to show or hide the placeholder and call the above methods.
1938 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1939 when the placeholder text is already set)
1941 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1944 simple GdkPixbufAnim using the new icons for the banner.
1945 (hildon_banner_show_animation): Use the above mentioned method to
1946 create the animation widget.
1948 Fixes: NB#103564 (Make hildon animation banner use individual
1949 image files as the animation)
1951 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1953 * src/hildon-pannable-area.c,
1954 (hildon_pannable_leave_notify_event): Check if the child is NULL
1955 to avoid sending the leave.
1957 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1959 * src/hildon-pannable-area.c,
1960 (hildon_pannable_area_class_init),
1961 (hildon_pannable_leave_notify_event): Added a handler of the
1962 leave-notify-signal to consider when no motion notify before
1965 Fixes: NB#107494 (Items stay selected when clicking and moving
1966 away when inside pannable area)
1968 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1973 * configure.ac: Bump version.
1974 * debian/changelog: Updates.
1976 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1978 Patch by Alberto Garcia (agarcia@igalia.com)
1980 * src/hildon-date-button.c,
1981 (hildon_date_button_class_init),
1982 (hildon_date_button_init): Removed the construct property handling
1983 and created a default selector in the init method.
1984 * src/hildon-picker-button.c,
1985 (hildon_picker_button_class_init): Removed the construct flag of the
1988 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-main.c (hildon_init):
1991 Don't allow hildon_init() to be called more than once.
1993 Fixes: NB#106607 (hildon_init should issue error message upon
1996 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1998 * examples/hildon-pannable-area-touch-list-example.c
1999 * examples/hildon-pannagle-area-touch-grid-example.c
2000 * examples/hildon-edit-toolbar-example.c
2001 * examples/hildon-touch-selector-multi-cells-example.c
2002 Removed the call to gtk_rc_parse_string, as it is not required since
2005 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2007 * src/hildon-pannable-area.c,
2008 (hildon_pannable_area_class_init): Modified the default panning
2009 threshold of the widget to 6px.
2011 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2012 than the threshold value ) within the button is not sending the
2015 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2018 for the treeview in the new column. This way, the touch list will never
2021 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2022 be selected manually for the HW keys to work)
2024 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2027 comparison instead of using strcmp(). Fixes a compiler warning as well.
2029 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2031 * doc/hildon-docs.sgml: Do not set the library version in the
2032 document title, use the releaseinfo tag for that purpose instead.
2034 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2037 Do not jump to the first item if the text in the entry is removed.
2039 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2044 * configure.ac: Bump version.
2045 * debian/changelog: Updates.
2047 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-entry.c (hildon_entry_refresh_contents):
2050 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2051 Use "ReversedSecondaryTextColor" for the placeholder text.
2053 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-text-view.c: Fix compilation warning.
2057 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-button.c (hildon_button_class_init): Don't make
2060 "title" and "value" construction properties, to prevent them from
2061 overwriting labels set from derived classes.
2063 * src/hildon-picker-button.c
2064 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2065 (hildon_picker_button_class_init): Make touch-selector a
2066 construction property.
2068 * src/hildon-date-button.c (hildon_date_button_class_init)
2069 (+hildon_date_button_constructed): Add a default date selector if
2072 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-touch-selector.c: Small documentation fixes.
2076 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2078 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2080 * src/hildon-entry.c (hildon_entry_refresh_contents),
2081 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2082 widget name, set the logical color directly instead and a boolean
2083 showing_placeholder instead.
2084 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2085 use the widget name here either.
2087 Fixes: NB#105678 (HildonTextView should use logical colours
2088 instead of setting widget name)
2090 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2092 Patch by Daniel Elster (danielk@openismus.com)
2094 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2095 Add user_data parameter.
2096 (hildon_touch_selector_set_print_func_full): New function akin
2097 hildon_touch_selector_set_print_func() but with support for user
2098 data and a destroy callback.
2099 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2100 to clean up the print function user data.
2101 (hildon_touch_selector_class_init): Install dispose function.
2102 (HildonTouchSelectorPrivate::print_user_data),
2103 (HildonTouchSelectorPrivate::print_destroy_func): New private
2105 (hildon_touch_selector_init): Initialize new private members.
2106 (hildon_touch_selector_get_current_text): Pass along user data
2107 to the print function.
2108 (_default_print_func): Add dummy user_data to parameter list.
2109 * hildon-date-selector.c (_custom_print_func): ditto,
2110 * hildon-time-selector.c (_custom_print_func): ditto,
2111 * hildon-touch-selector-entry.c
2112 (hildon_touch_selector_entry_print_func): ditto.
2114 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2116 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2118 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2120 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_init),
2124 (hildon_pannable_area_button_press_cb),
2125 (hildon_pannable_area_motion_notify_cb): We have added code to
2126 handle the leave and enter events when using the motion events.
2128 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2130 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-date-button.c (hildon_date_button_get_date)
2133 (hildon_date_button_set_date): Make sure that the button has a
2136 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2138 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c,
2141 (hildon_pannable_area_class_init),
2142 (hildon_pannable_area_calculate_velocity): Modify the use of the
2143 force and adapt the value.
2145 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2148 (hildon_app_menu_class_init): Hide the menu if it receives a
2149 delete-event, but don't destroy it
2151 Fixes: NB#104485 (Not able to address the call when application
2152 menu is opened at background)
2154 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-app-menu.c
2157 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2158 Remove the "external-border" style property, let the menu take its
2159 natural size (or the one set by the window manager)
2160 (hildon_app_menu_repack_items):
2161 Don't reshow the menu, avoid flickers.
2163 Partially fixes NB#94957 (Smoothly opened application menu)
2165 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2170 * configure.ac: Bump version.
2171 * debian/changelog: Updates.
2173 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2175 * src/hildon-pannable-area.c,
2176 (hildon_pannable_area_motion_notify_cb): We control that the
2177 direction error margin is used just in case the movement is
2178 allowed in the other direction.
2180 Fixes: NB#105012 (buttons inside a pannable area not getting
2181 release event when dragging/releasing)
2183 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2185 * src/hildon-pannable-area.c,
2186 (hildon_pannable_area_class_init),
2187 (hildon_pannable_area_get_property),
2188 (hildon_pannable_area_set_property),
2189 (hildon_pannable_area_initial_effect),
2190 (hildon_pannable_axis_scroll),
2191 (hildon_pannable_area_button_release_cb): Reviewed the
2192 overshooting effect, now it has its own max
2193 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2194 speed when bouncing.
2196 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2201 * configure.ac: Bump version.
2202 * debian/changelog: Updates.
2204 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2206 * src/hildon-pannable-area.c,
2207 (hildon_pannable_area_class_init): Changed the max speed, now
2208 users can launch the widget very fast. Reduced the default force,
2209 that way it is easier to control the launch speed.
2211 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-pannable-area.c,
2214 (hildon_pannable_area_button_release_cb): Removed this check
2215 because it causes problems when the device is overloaded.
2217 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2220 add a current_text field to store the text entered in the
2221 touch selector entry.
2222 (_clean_current_selection): clean up the current text as well.
2223 (_save_current_selection), (_restore_current_selection):
2224 Save/restore the text in the entry if the selector is a
2225 HildonTouchSelectorEntry.
2227 Fixes: NB#102541 (value entered in the touch selector entry is not
2228 shown when opened for second time)
2230 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2232 * doc/hildon-sections.txt:
2233 * src/hildon-touch-selector-entry.c
2234 (+hildon_touch_selector_entry_get_entry):
2235 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2237 Fixes: NB#104815 (I need accessor to the entry inside
2238 HildonTouchSelectorEntry)
2240 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2243 (hildon_app_menu_class_init):
2244 New "filter-vertical-spacing" style property.
2246 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-find-toolbar.c
2249 (hildon_find_toolbar_emit_close)
2250 (hildon_find_toolbar_emit_invalid_input)
2251 (hildon_find_toolbar_entry_activate):
2252 Use g_signal_emit() instead of g_signal_emit_by_name()
2254 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2256 Patch by Mox Soini (ext-mox.soini@nokia.com)
2258 * tests/TEST-CASES.txt
2259 * tests/check-hildon-banner.c
2260 * tests/check-hildon-note.c
2261 * src/hildon-banner.c
2262 * src/hildon-code-dialog.c
2263 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2264 * src/hildon-time-editor.c
2265 * examples/hildon-lookup-example.c (main):
2266 Replace obsolete icon names with new ones.
2268 * src/hildon-find-toolbar-private.h:
2269 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2270 (-hildon_find_toolbar_emit_search):
2271 Remove find button and change icon of close button.
2273 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2275 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-time-button.c (hildon_time_button_new_step):
2278 Use the "touch-selector" property to set the selector directly
2279 when creating the object.
2281 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2283 Added a new example application that allows tuning the pannable
2284 area and replaced defines with properties in order to simplify the
2285 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2286 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2287 PROP_DIRECTION_ERROR_MARGIN.
2289 * examples/hildon-pannable-area-tuning-example.c: New example
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_class_init),
2293 (hildon_pannable_area_init),
2294 (hildon_pannable_area_get_property),
2295 (hildon_pannable_area_set_property),
2296 (hildon_pannable_area_launch_fade_timeout),
2297 (hildon_pannable_area_adjust_value_changed),
2298 (hildon_pannable_axis_scroll),
2299 (hildon_pannable_area_motion_notify_cb),
2300 (hildon_pannable_area_scroll_cb),
2301 (hildon_pannable_area_button_release_cb): We have converted some
2302 of the defines that control the widget to properties to simplify
2305 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-app-menu.c (hildon_app_menu_map)
2308 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2309 so it's closed if a new window appears.
2311 Fixes: NB#104485 (Not able to address the call when application
2312 menu is opened at background)
2314 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2317 missing 'break' statement in in 'case' construct to avoid
2320 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-touch-selector-entry.c
2323 (hildon_touch_selector_entry_get_property),
2324 (hildon_touch_selector_entry_set_property): Add missing 'break'
2325 statements in in 'case' constructs to avoid incorrect warnings.
2327 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2329 * src/hildon-time-editor.c
2330 (hildon_time_editor_get_time_separators): Do not crash if
2331 the first label is NULL.
2333 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2335 * src/hildon-date-selector.c (_month_days): Check for month to be
2336 strictly less than 12, since otherwise we may overrun the array.
2338 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2340 * src/hildon-date-button.c (+hildon_date_button_new_full)
2341 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2342 (hildon_date_button_init): Set the date selector using a
2343 construction property, to make it happen after HildonButton's
2344 "value" property is set.
2346 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2347 current date by default)
2349 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2351 * doc/hildon-sections.txt
2352 * src/hildon-program.c
2353 * src/hildon-stackable-window.c
2354 * src/hildon-window.c:
2355 Documentation updates
2357 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2360 (hildon_window_stack_new, +hildon_window_stack_set_property)
2361 (+hildon_window_stack_get_property)
2362 (hildon_window_stack_class_init)
2363 (+hildon_window_stack_set_window_group)
2364 (+hildon_window_stack_get_window_group):
2365 Make the window group a construction property.
2367 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2369 * doc/hildon-sections.txt
2370 * src/hildon-stackable-window-private.h
2371 * src/hildon-stackable-window.h
2372 * src/hildon-stackable-window.c
2373 (-hildon_stackable_window_set_app_menu)
2374 (-hildon_stackable_window_get_app_menu)
2375 (-hildon_stackable_window_toggle_menu)
2376 (-hildon_stackable_window_finalize)
2377 (hildon_stackable_window_class_init)
2378 (hildon_stackable_window_init)
2379 * src/hildon-window-private.h
2380 * src/hildon-window.h
2381 * src/hildon-window.c (hildon_window_init)
2382 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2383 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2384 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2385 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2386 Moved all HildonAppMenu code to HildonWindow. The menu does not
2387 require a HildonStackableWindow anymore.
2389 * src/hildon-app-menu.c
2390 * src/hildon-program.c
2391 * examples/hildon-app-menu-example.c (main):
2392 Update examples and documentation to reflect HildonAppMenu
2395 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-remote-texture.c
2398 * src/hildon-animation-actor.c:
2399 Don't include unused private headers.
2401 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-program-private.h
2404 * src/hildon-program.c
2405 (hildon_program_set_common_menu)
2406 (hildon_program_get_common_menu)
2407 (hildon_program_set_common_app_menu)
2408 (hildon_program_get_common_app_menu):
2409 Change common menu pointers from GtkWidget* to GtkMenu* and
2410 HildonAppMenu* to avoid unnecessary casts.
2412 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-window.c (hildon_window_set_main_menu):
2415 Removed incorrect 'Since:' tag
2417 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_calculate_velocity): We use now the
2421 RATIO_TOLERANCE here to check the distance, fixed typo in the
2423 (hildon_pannable_area_motion_notify_cb): We have to set the type
2424 and time even if we are not sending the motion.
2426 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2428 * doc/hildon-sections.txt
2429 * src/hildon-app-menu.h
2430 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2431 (+hildon_app_menu_get_filters): New methods to get the contents of
2434 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2437 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-app-menu.c (hildon_app_menu_popup):
2442 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-window.h
2445 * src/hildon-window.c (+hildon_window_get_main_menu)
2446 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2447 and deprecated hildon_window_get_menu().
2449 * src/hildon-stackable-window.h
2450 * src/hildon-stackable-window.c
2451 (+hildon_stackable_window_set_app_menu)
2452 (+hildon_stackable_window_get_app_menu)
2453 (hildon_stackable_window_set_main_menu): Created
2454 hildon_stackable_window_{get,set}_app_menu() and deprecated
2455 hildon_stackable_window_set_main_menu().
2457 * doc/hildon-sections.txt
2458 * examples/hildon-app-menu-example.c (main)
2459 * src/hildon-app-menu.c
2460 * src/hildon-program.c:
2461 Updated examples and documentation.
2463 Fixes: NB#103758 (No way to obtain a menu from a
2464 HildonStackableWindow)
2466 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2471 * configure.ac: Bump version.
2472 * debian/changelog: Updates.
2474 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2476 * examples/hildon-remote-texture-example.c: Include
2477 hildon-remote-texture.h explicitely.
2478 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2479 applications not defining _XOPEN_SOURCE which don't require this header.
2481 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2483 * doc/hildon-sections.txt
2484 * src/hildon-app-menu.h
2485 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2486 New function to pop up a HildonAppMenu
2488 * src/hildon-stackable-window.c
2489 (hildon_stackable_window_toggle_menu):
2490 Use hildon_app_menu_popup() to show the menu.
2492 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-app-menu.c (hildon_app_menu_show)
2495 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2496 menu if there's another window between it and its parent window.
2498 Fixes: NB#100468 (Application menu window is launched even when a
2499 new secondary-window/dialog is pending to be shown/realized)
2501 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-window-stack.c (hildon_window_stack_push)
2504 (hildon_window_stack_pop_and_push):
2505 Don't forget to push/pop the first window.
2506 Reverse the window list before calling _push_list()
2508 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-picker-button.h
2511 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2512 Remove "value_changed" slot to avoid ABI breakage
2514 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_area_realize),
2518 (hildon_pannable_area_unrealize),
2519 (hildon_pannable_draw_vscroll),
2520 (hildon_pannable_draw_hscroll): Changed the method to handle the
2521 GC used to draw the transparent scrollbar, this way we avoid
2522 creating the GC all the time when drawing the scrollbars.
2524 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2526 * src/hildon-pannable-area.c,
2527 (hildon_pannable_area_init),
2528 (hildon_pannable_area_remove): Removed some unnecessary casts.
2529 (hildon_pannable_area_dispose): Disconnected some signals before
2530 releasing the adjustments.
2532 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2535 Make sure that all widgets contained in the toolbar are shown.
2537 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2539 * doc/hildon-sections.txt
2540 * src/hildon-picker-button.h
2541 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2542 (_selection_changed, hildon_picker_button_on_dialog_response)
2543 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2544 New hildon_picker_button_value_changed() method.
2547 * src/hildon-picker-button-private.h
2548 * src/hildon-picker-button.c (hildon_picker_button_init)
2549 (+hildon_picker_button_disable_value_changed): Add protected
2550 function for disabling the "value-changed" signal.
2552 * src/hildon-date-button.c (hildon_date_button_set_date):
2553 Don't emit "value-changed" for each one of the three columns.
2555 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2556 before actual change of values)
2558 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-pannable-area.c,
2561 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2562 for the treeview overshooting.
2564 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-banner.c (+hildon_banner_bind_style):
2567 Renamed from hildon_banner_bind_label_style(), now naming the
2568 banner itself as well.
2569 (hildon_banner_show_information),
2570 (hildon_banner_show_information_with_markup),
2571 (hildon_banner_show_animation), (hildon_banner_show_progress):
2572 Name the widgets and labels, based on their type.
2574 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2577 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-note.c (hildon_note_set_property): call
2580 hildon_note_rename() on HildonNote:note-type set.
2581 (hildon_note_rename): Name the note and its label, based on the
2582 HildonNote:note-type property.
2584 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2587 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c,
2590 (hildon_pannable_area_class_init),
2591 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2592 panning parameters, increased SPS and deceleration factor. Added
2593 also a margin to control fake directions.
2595 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2597 Patch by Sven Herzberg (sven@imendio.com)
2599 * configure.ac: Add missing AM_PROG_CC_C_0
2600 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2602 See NB#101420 (Update unit tests and fix make check)
2604 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2606 This patch was applied before but reverted because it caused
2607 problems, we have changed the main condition and tested the
2608 regressions we detected before and they work ok. We have done a
2609 complete review of the topmost algorithm in order to get a more
2612 * src/hildon-pannable-area.c,
2613 (hildon_pannable_area_get_topmost): Added a new parameter to
2614 filter the the windows that do not include those events.
2615 (hildon_pannable_area_button_press_cb),
2616 (hildon_pannable_area_button_release_cb),
2617 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2618 topmost function, we have added the new parameter.
2620 Fixes: NB#97458 (Pannable area prevents propagation of button
2623 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2626 if all columns in the selector have an item selected.
2627 (_on_dialog_response): Stop "response" signal emission if there is
2628 any selector column without selected items.
2630 Fixes: NB#101889 (Picker dialog should not close when nothing is
2631 selected in multiple selection list)
2633 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-font-selection-dialog.c
2636 (hildon_font_selection_dialog_class_init),
2637 (hildon_font_selection_dialog_init): Remove the preview
2638 button and dialog, since previewing with default theming is likely
2639 to be overcomplicated. The :preview property has now no effect.
2640 Update documentation blurbs to inform about this.
2642 Fixes: NB#92297 (Preview content is not clearly visible for
2643 default colour text)
2645 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2647 Reviewed the geometry that handles the children size and
2648 scrollbar, now it tries a size and reviews the results depending
2649 on the scrollbars visibility.
2651 * src/hildon-pannable-area.c,
2652 (hildon_pannable_area_realize): Fixed a typo.
2653 (hildon_pannable_area_child_allocate_calculate): Added this
2654 function to calculate the child allocation.
2655 (hildon_pannable_area_size_allocate): Reviewed the allocation
2657 (hildon_pannable_area_check_scrollbars),
2658 (hildon_pannable_area_refresh): Refactored refresh function, this
2659 way we can call the code handling the scrollbars without causing a
2660 size_request, it is interesting in the allocate.
2661 (hildon_pannable_area_init): Replace the callbacks of the
2662 value_changed and changed signals to propertly deal with the
2664 (hildon_pannable_area_grab_notify),
2665 (hildon_pannable_area_initial_effect),
2666 (hildon_pannable_area_launch_fade_timeout),
2667 (hildon_pannable_area_adjust_changed),
2668 (hildon_pannable_area_adjust_value_changed),
2669 (hildon_pannable_area_redraw),
2670 (hildon_pannable_area_button_press_cb),
2671 (hildon_pannable_area_button_release_cb),
2672 (hildon_pannable_area_scroll_cb),
2673 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2674 code and use the new functions adjust_changed and
2675 adjust_value_changed.
2677 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2678 Contact editor dialog)
2680 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2685 * configure.ac: Bump version.
2686 * debian/changelog: Updates.
2688 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2690 * src/hildon-pannable-area.c,
2691 (hildon_pannable_area_get_topmost),
2692 (hildon_pannable_area_button_press_cb),
2693 (hildon_pannable_area_button_release_cb),
2694 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2695 topmost function adding the event mask. We have to try a
2696 differente approach because it is still causing problems (NB#9745,
2699 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-banner.c:
2702 Update the maximum width of timed banners.
2703 (force_to_wrap_truncated): Enforce the maximum text width if the
2706 Fixes: NB#102413 (The text margins (wrapping) in information
2707 banner should be HILDON_MARGIN_TRIPLE)
2709 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2711 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2713 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2714 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2715 bound when calculating the scroll indicator position.
2717 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2718 treat ->lower correctly)
2720 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2723 expose event handling, since it is not necessary to draw the focus
2726 Fixes: NB#102467 (Do not show highlight on the text in
2729 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2732 full height of the toolbar for the button and the label.
2734 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2737 padding before the label and after the button.
2739 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2743 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2744 Add a GtkVSeparator between the button and the back arrow.
2745 Let the button have automatic size.
2746 Set a name to the widget for theming handling.
2748 Fixes: NB#101793 (Make edit toolbar the same height as window
2749 title bar (use title area theming))
2751 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-helper.c (attach_new_color_element): Fix memory
2756 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2758 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2760 * examples/hildon-button-example.c (common_buttons_window): Don't
2763 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2766 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2768 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2770 * src/hildon-gtk.c: Check that the window is realized.
2772 Fixes: NB#102225 (Crash setting the progress indicator to a non
2775 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2778 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2779 instead of modifying the one in the widget style.
2781 Fixes: NB#101043 (Second row of all the command button are
2782 displayed in transparent mode.)
2784 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-date-button.c
2787 * src/hildon-time-button.c: Add gettext macros
2789 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-date-button.c (hildon_date_button_new):
2792 * src/hildon-time-button.c (hildon_time_button_new_step):
2793 Use new logical strings to set the button default title.
2795 Fixes: NB#99915 (Date and Time options are not localised in Date
2798 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c
2801 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2802 the PANNING_THRESHOLD.
2804 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2806 * src/hildon-pannable-area.c,
2807 (hildon_pannable_area_class_init): Increased the maximum speed.
2808 (hildon_pannable_area_get_property),
2809 (hildon_pannable_area_set_property),
2810 (hildon_pannable_area_timeout): Added a new low friction mode, it
2811 allows the user avoid friction when launching the widget fast
2812 enough. It is interesting to traverse long lists.
2814 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2817 (+hildon_stackable_window_delete_event): Ignore delete events if
2818 the window is not the topmost one.
2820 Fixes: NB#101698 (Back button long press and delete-event handling)
2822 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-pannable-area.c,
2825 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2826 gtk-dnd-drag-threshold, it was too big. We have defined our own
2827 dnd define and set a smaller value: PANNIG_THRESHOLD.
2829 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2832 user-defined icons, use always the default one.
2834 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2836 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2838 This patch was applied before but reverted because it caused
2839 problems, we have changed the main condition and tested the
2840 regressions we detected before and they work ok.
2842 * src/hildon-pannable-area.c,
2843 (hildon_pannable_area_get_topmost): Added a new parameter to
2844 filter the the windows that do not include those events. Added
2845 also a condition when finding the window to filter windows that do
2846 not ask for those events.
2847 (hildon_pannable_area_button_press_cb),
2848 (hildon_pannable_area_button_release_cb),
2849 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2850 topmost function, we have added the new parameter.
2852 Fixes: NB#97458 (Pannable area prevents propagation of button
2855 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2857 * tests/check-hildon-color-button.c (START_TEST): do not leak
2860 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/hildon-font-selection-dialog.c
2863 (hildon_font_selection_dialog_get_preview_text): Return NULL
2864 instead of FALSE on the g_return_val_if_fail().
2866 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2869 * src/hildon-date-selector.c
2870 (hildon_date_selector_select_current_date):
2871 Do not compare unsigned integers to be greater than or equal 0,
2872 because it's always TRUE.
2874 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2877 (hildon_date_selector_constructor): Do not select the current
2878 date until we are handle the "changed" signal, to avoid having bogus
2879 elements in the days model.
2881 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2883 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2884 for num_days, since _month_days() can return a negative value.
2886 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-caption.c (hildon_caption_size_allocate):
2889 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2890 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2892 Initialize allocation variables to 0, to avoid eventually using
2893 unitialized variables.
2895 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/hildon-bread-crumb-trail.c
2898 (hildon_bread_crumb_trail_size_allocate):
2899 * src/hildon-calendar.c (hildon_calendar_set_background):
2900 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2901 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2902 * src/hildon-seekbar.c (hildon_seekbar_init):
2903 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2904 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2905 * src/hildon-touch-selector-entry.c
2906 (hildon_touch_selector_get_text_from_model):
2907 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2908 * src/hildon-window.c (hildon_window_finalize):
2910 Remove many unused variables.
2912 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2914 * src/hildon-seekbar.c: (hildon_seekbar_init),
2915 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2917 Remove unnecessary g_assert() calls.
2919 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-caption.c: (hildon_caption_expose),
2922 (hildon_caption_set_property), (hildon_caption_init),
2923 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2924 (hildon_caption_size_request), (hildon_caption_size_allocate),
2925 (hildon_caption_forall), (hildon_caption_set_separator),
2926 (hildon_caption_activate), (hildon_caption_set_child_expand),
2927 (hildon_caption_set_label_text),
2928 (hildon_caption_get_label_alignment):
2930 Remove unnecessary g_assert() calls.
2932 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2934 * src/hildon-banner.c
2935 (hildon_banner_map, hildon_banner_init): Make banner temporary
2936 before mapping it to avoid closing other temporary windows, but
2937 make it non-temporary afterwards to avoid being closed by other
2938 non-temporary windows.
2939 (-hildon_banner_client_event, hildon_banner_init):
2940 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2942 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2945 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2947 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2950 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2952 * src/hildon-remote-texture.c
2953 * src/hildon-remote-texture.h
2954 * src/hildon-remote-texture-private.h
2955 * examples/hildon-remote-texture-example.c:
2956 Updates/fixes to remote-texture and its example.
2958 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2960 Patch by Mox Soini (ext-mox.soini@nokia.com)
2962 * src/hildon-code-dialog.c: Update logical id.
2963 * src/hildon-set-password-dialog.c: Update logical id.
2965 Fixes: NB#100646 (Logical strings is shown for ok in set
2966 password,Password needed dialogs)
2968 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2971 * src/hildon-remote-texture.c
2972 * src/hildon-remote-texture.h
2973 * src/hildon-remote-texture-private.h
2975 Added remote texture widget (for Clutter shared memory textures)
2977 * examples/hildon-remote-texture-example.c
2978 * examples/Makefile.am
2979 Added example file for remote texture usage
2981 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2983 * configure.ac: post release version bump.
2984 * debian/changelog: version bump.
2986 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2991 * configure.ac: Bump version.
2992 * debian/changelog: Updates.
2994 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2996 * src/hildon-date-selector.c (hildon_date_selector_init)
2997 (hildon_date_selector_constructor): Don't connect to the "changed"
2998 signal until the selector is completely constructed.
3000 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-touch-selector.c: (_create_new_column),
3003 (hildon_touch_selector_append_column),
3004 (hildon_touch_selector_set_column_selection_mode),
3005 (hildon_touch_selector_set_active),
3006 (hildon_touch_selector_select_iter):
3007 Emit the HildonTouchSelector::changed signal every time selection
3008 is changed in any of the methods above. This behavior was already
3009 documented but not fully functional.
3011 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3012 selection is programmatically changed)
3014 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * doc/hildon-sections.txt: Remove obsolete icon
3017 sizes from here as well.
3019 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3021 * examples/hildon-stackable-window-example.c (add_window): Remove
3024 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-app-menu.c
3027 (hildon_app_menu_show): Check whether the parent window of a menu
3028 is topmost before popping it up.
3030 Fixes: NB#100468 (Application menu window is launched even when a
3031 new secondary-window/dialog is pending to be shown/realized.)
3033 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3035 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3038 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3040 Patch by Mox Soini (ext-mox.soini@nokia.com)
3042 * src/hildon-banner.c: (hildon_banner_show_animation):
3043 use stylus size instead of obsolete note size.
3044 * src/hildon-defines.h: Update icon sizes.
3046 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/hildon-touch-selector-entry.c:
3049 (hildon_touch_selector_entry_init): Disable unsupported
3051 (hildon_touch_selector_entry_get_text_column): Emit a warning
3052 if an unsupported input modes is used and explicitile state
3053 these modes in the documentation.
3055 Fixes: NB#99802 (Hildon touch selector entry not working properly
3056 for some of the input modes)
3058 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c,
3061 (hildon_pannable_area_init): Added the changed signal handlers of
3064 Fixes: NB#100320 (HildonPannableArea does not listen to
3065 GtkAdjustment "change" signals)
3067 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3069 * doc/hildon-sections.txt
3070 * src/hildon-window-private.h
3071 * src/hildon-window.h
3072 * src/hildon-window.c (hildon_window_init)
3073 (hildon_window_realize, hildon_window_unrealize)
3074 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3075 (hildon_window_size_request, hildon_window_size_allocate)
3076 (hildon_window_forall, hildon_window_show_all)
3077 (hildon_window_destroy, +paint_edit_toolbar)
3078 (+hildon_window_set_edit_toolbar):
3079 New hildon_window_set_edit_toolbar() method, to add a
3080 HildonEditToolbar to a window without having to pack it manually.
3082 Reorganize hildon_window_size_allocate()
3084 * src/hildon-edit-toolbar.c: Update documentation.
3086 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3087 example to use the new API.
3089 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3091 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3094 Remove from stack before calling parent's hide.
3096 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3099 window is removed from the middle of the stack, update the
3100 transiency of the previous one.
3102 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3105 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3107 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3108 block/unblock the signal handler if it's not actually being used.
3109 Fixes some critical warnings.
3111 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3113 Based on a patch by Iván Gómez (igomez@igalia.com)
3115 * src/hildon-banner.c
3119 * src/hildon-pannable-area.c
3120 * src/hildon-picker-dialog.c
3121 * src/hildon-wizard-dialog.h
3122 * src/hildon-wizard-dialog.c: Documentation updates.
3124 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3125 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3127 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3129 * configure.ac: post release version bump.
3130 * debian/changelog: version bump.
3132 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3137 * configure.ac: Bump version.
3138 * debian/changelog: Updates.
3140 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3143 a stock icon nor change the relief of the back arrow.
3145 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3146 graphics from theme)
3148 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-button.c (hildon_button_set_alignment): Use
3151 priv->alignment if the button has no child yet.
3153 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-button.c: (hildon_button_init): Set the
3156 button style during initialization to give it the proper
3159 Fixes: NB#99713 (HildonButton value label color is wrong)
3161 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-touch-selector.c: Document
3164 hildon_touch_selector_center_on_selected()
3166 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3169 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3170 all menu items, but not the menu itself.
3171 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3172 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3173 items after adding them to the menu so keyboard accelerators work.
3174 (hildon_app_menu_show): Don't show the menu if it contains items
3175 but none of them are visible.
3177 * examples/hildon-app-menu-example.c (create_menu): Use
3178 gtk_widget_show_all() to show all menu items.
3180 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-picker-dialog.c:
3183 (-_update_title_on_selector_changed_cb),
3184 (-_dialog_update_title): Removed.
3185 (_select_on_selector_changed_cb), (_on_dialog_response),
3186 (on_selector_columns_changed): Do not update the dialog title.
3187 (setup_interaction_mode): Do not connect to
3188 HildonTouchSelector::changed signal if there's a "done" button, as
3189 the dialog title doesn't need to be updated.
3191 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3194 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3196 Patch by Kristian Rietveld (kris@imendio.com)
3198 * src/hildon-touch-selector.c: (_create_new_column): Use new
3199 GtkTreeView::hildon-row-tapped signal to react to user interactions
3200 instead of ::changed.
3202 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3203 with some dynamic tree model)
3205 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3208 (+screen_size_changed, +label_size_request)
3209 (hildon_note_class_init): Make the Hildon information note have a
3210 minimum height, and make its text hvae a maximum width.
3212 Fixes: NB#98614 (Hildon information note (background) should have
3213 minimum height and maximum text width)
3215 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3217 * src/hildon-banner.h
3218 * src/hildon-banner.c (hildon_banner_show_information)
3219 (hildon_banner_show_informationf)
3220 (hildon_banner_show_information_with_markup): Update documentation
3221 to reflect that the icon_name parameter is not used anymore.
3222 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3223 Remove all code from these functions and mark them as deprecated.
3224 (hildon_banner_show_progress): Mark as deprecated.
3226 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3228 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3230 * src/hildon-pannable-area.c,
3231 (hildon_pannable_area_class_init),
3232 (tranparency_color),
3233 (hildon_pannable_draw_vscroll),
3234 (hildon_pannable_draw_hscroll),
3235 (hildon_pannable_area_expose_event): Added a new way to render the
3236 scrollbars of the pannable area avoiding using cairo at all. This
3237 way we improve the performance of the pannable area rendering. The
3238 cairo rendering procedure is still in the code, we can control
3239 which one to use changing the value of the define
3240 USE_CAIRO_SCROLLBARS.
3242 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3244 * configure.ac: post release version bump.
3245 * debian/changelog: version bump.
3247 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3252 * configure.ac: Bump version.
3253 * debian/changelog: Updates.
3255 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3258 banners instead of destroying them when they receive a button
3261 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3263 Reverted commit 34028, it was causing regressions, probably the
3264 topmost condition is not correct, we have to check it in more
3265 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3266 propagation of button press events)
3268 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3271 that the selection is not empty before attempting to retrieve the
3272 current ampm selection.
3274 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-picker-button.c:
3277 (hildon_picker_button_on_dialog_response): Directly update the
3278 button contents when required instead of calling _selection_changed.
3280 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-program.c (hildon_program_update_top_most): Update
3283 'is-topmost' property also when wm_hints is not set.
3285 Fixes: NB#98383 (is-topmost signal is not emitted when task
3286 switcher is clicked.)
3288 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3290 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3294 * src/hildon-animation-actor.c,
3295 * src/hildon-animation-actor.h: Added the animation actor class,
3296 this widget represents an animation actor for WM-assisted
3297 animation effects in the Hildon framework.
3299 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-window-stack-private.h
3302 * src/hildon-window-stack.c
3303 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3304 Avoid calling gtk_widget_show() again indirectly from
3305 hildon_stackable_window_show()
3307 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3312 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3315 (hildon_time_selector_init): Move the construction of the hours and
3316 ampm columns to the constructor to preserve the order the columns
3319 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-picker-dialog.c:
3322 (hildon_picker_dialog_class_init): Connect a realize method.
3323 (+hildon_picker_dialog_realize): Setup the interaction mode here
3325 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3326 yet, do it during the realize instead.
3327 (_on_dialog_response):
3328 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3329 if the widget is not realized, to avoid the dialog response before it
3332 Avoid premature responses in the HildonPickerDialog that can cause it
3333 to be hidden before it's even shown.
3335 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3338 (on_selector_columns_changed), (requires_done_button),
3339 (+prepare_action_area), (setup_interaction_mode),
3340 (_hildon_picker_dialog_set_selector):
3342 Split the interaction mode setup into preparation of the
3343 action area (prepare_action_area()) and the connection of
3344 the signals in setup_interaction_mode() and update the code to
3347 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3349 * src/hildon-pannable-area.c,
3350 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3351 per second to 15, we will check if this is ok regarding
3354 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3356 * src/hildon-pannable-area.c,
3357 (hildon_pannable_axis_scroll): Avoid resize if we already have
3358 reached overshoot_max.
3360 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3362 * src/hildon-pannable-area.c,
3363 (hildon_pannable_area_init),
3364 (hildon_pannable_area_realize),
3365 (hildon_pannable_area_size_allocate),
3366 (hildon_pannable_area_map),
3367 (hildon_pannable_area_unmap),
3368 (hildon_pannable_draw_vscroll),
3369 (hildon_pannable_draw_hscroll),
3370 (hildon_pannable_area_expose_event),
3371 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3372 pannable are to avoid the expose events go to the window and
3373 redraw the window. We save this way that part of the stack and the
3374 paint_boxes. We had to change the positions of the elements when
3377 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3380 * src/hildon-color-chooser-dialog.c:
3381 (hildon_color_chooser_dialog_init):
3382 * src/hildon-font-selection-dialog.c:
3383 (hildon_font_selection_dialog_init),
3384 (hildon_font_selection_dialog_show_preview):
3385 * src/hildon-get-password-dialog.c:
3386 * src/hildon-login-dialog.c:
3387 * src/hildon-set-password-dialog.c:
3388 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3389 * src/hildon-time-picker.c: (hildon_time_picker_init):
3391 Remove obsolete logical string IDs and update to the appropriate ones.
3393 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3395 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3397 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3398 that happens if the window hasn't been realized yet.
3400 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3401 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3403 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3405 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3406 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3409 Fixes: NB#98537 (Device hangs in account settings dialog)
3411 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3413 * configure.ac: post release version bump.
3414 * debian/changelog: version bump
3416 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3421 * configure.ac: Bump version.
3422 * debian/changelog: Updates.
3424 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3426 Added a new function to the HildonTimeButton widget that allows to
3427 change the step of the minutes in the selector associated with the
3428 button: hildon_time_button_new_step
3430 * src/hildon-time-button.c,
3431 (hildon_time_button_init),
3432 (hildon_time_button_new),
3433 (hildon_time_button_new_step):
3434 * src/hildon-time-button.h: Added the new function and refactored
3436 * examples/hildon-time-button-example.c,
3437 (main): We have replaced the function without parameters with the
3438 function with the steps set to 5
3440 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3442 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3444 * src/hildon-time-selector.c,
3445 (hildon_time_selector_class_init),
3446 (hildon_time_selector_constructor),
3447 (hildon_time_selector_get_property),
3448 (hildon_time_selector_set_property),
3449 (_create_minutes_model),
3450 (hildon_time_selector_new_step),
3451 (hildon_time_selector_set_time),
3452 * src/hildon-time-selector.h: Added a new property to the
3453 HildonTimeSelector (minutes-step), we use that property to control
3454 the steps between the minutes in the list of the selector. We have
3455 added a new function to the API to create a widget changing the
3456 step: hildon_time_selector_new_step.
3458 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3460 * src/hildon-time-selector.c,
3461 (hildon_time_selector_class_init),
3462 (hildon_time_selector_constructor),
3463 (hildon_time_selector_init): Overrided the construct function when
3464 creating the time selector object. We have moved the minutes model
3465 handling code from the init to the new construction function:
3466 hildon_time_selector_constructor.
3468 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3470 * examples/hildon-date-button-example.c: (main): Use the new
3471 hildon_date_button_new_with_year_range() method in the example.
3472 * src/hildon-date-button.c:
3473 (+hildon_date_button_new_with_year_range): New public method
3474 to conveniently create a HildonDateButton with a custom year range
3475 in its HildonDateSelector.
3476 * src/hildon-date-button.h: Add the new public method definition.
3478 Fixes: NB#97908 (Not possible to change the year range in
3479 HildonDateSelector/HildonDateButton)
3481 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3483 * src/hildon-date-selector.c:
3484 (+hildon_date_selector_set_property),
3485 (+hildon_date_selector_get_property),
3486 (hildon_date_selector_class_init): Install new properties "min-year"
3487 and "max-year" to define boundaries for the year column.
3488 (_create_year_model): Use the boundary properties to populate the model.
3489 (+hildon_date_selector_new_with_year_range): New public method to
3490 create a HildonDateSelector with a user defined year range.
3491 (hildon_date_selector_select_current_date): Use the new boundaries to
3492 calculate the iterator of current year.
3493 * src/hildon-date-selector.h: Add the new public method definition.
3495 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3498 Install a constructor method.
3499 (+hildon_date_selector_construct_ui): construct the widget.
3500 (+hildon_date_selector_constructor): new constructor.
3501 (+hildon_date_selector_init): move out widget construction code to
3502 the new constructor.
3504 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3507 that there's actually a month or year selected before obtaining them.
3508 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3509 of the HildonTouchSelector::changed signal, as it was emitted on every
3510 single item selection.
3512 Fix some warnings and possible crashers due to the selection restoring.
3514 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3516 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3517 the signal handlers only after creating the dialog instead of on every
3520 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3522 * src/hildon-button.c (hildon_button_init)
3523 * src/hildon-check-button.c (hildon_check_button_init)
3524 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3525 focus when clicked by default.
3527 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3532 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3534 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3535 Alejandro G. Castro (alex@igalia.com)
3537 * src/hildon-picker-dialog.c:
3538 (hildon_picker_dialog_class_init): install new "center-on-show"
3540 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3541 (hildon_picker_dialog_set_property): add setter code for the new
3543 (hildon_picker_dialog_get_property): add getter code for the new
3545 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3546 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3549 Fixes: NB#92849 (Selected item is not always visible when
3550 HildonTouchSelector is shown)
3552 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3554 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3555 Alejandro G. Castro (alex@igalia.com)
3557 * src/hildon-touch-selector.c:
3558 (_create_new_column): Do not connect to the "realize" signal of the
3560 (hildon_touch_selector_append_column): center on the selected items
3561 when a new column is appended.
3562 (hildon_touch_selector_select_iter): Factor out the code to select a
3563 column to hildon_touch_selector_scroll_to().
3564 (+search_nearest_element): Method to retrieve the nearest selected
3565 element to the visible area of the pannable area in a column.
3566 (+on_realize_cb): scroll to the initially selected item.
3567 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3568 the pannable area is realized, otherwise delay this until it is.
3569 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3570 selected items of a given column.
3571 (+hildon_touch_selector_center_on_selected): Public method to center
3572 all columns on the nearest selected item.
3573 * src/hildon-touch-selector.h: Add definition for
3574 hildon_touch_selector_center_on_selected().
3576 Implement public API to ensure visibility of all selected items in
3577 a HildonTouchSelector.
3579 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3581 Fixed a problem in the fading when calling the scroll_to API, and
3582 improve scrollbar fading handling.
3584 * src/hildon-pannable-area.c,
3585 (hildon_pannable_area_grab_notify): avoid the timeout when the
3587 (hildon_pannable_area_button_press_cb),
3588 (hildon_pannable_area_motion_notify_cb): Code style changes.
3589 (hildon_pannable_area_button_release_cb): Review the conditions
3590 when releasing the mouse button to avoid unrequired fading
3592 (hildon_pannable_area_scroll_to): Do not calculate and set the
3593 velocity if the scroll is not required.
3595 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3598 Don't check whether the new selector is NULL: it cannot be.
3599 Hold a reference to the selector while doing the replacement.
3601 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3604 unnecessary size_request in a removed widget.
3606 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3609 an unnecessary reference tracking that was leaking.
3611 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3613 Added delayed motion notify event handling, this way we can
3614 discard redrawing if more than 25 events arrive per second.
3616 * src/hildon-pannable-area.c,
3617 (hildon_pannable_area_init): Initialized the new private atributes
3618 controlling this timeout
3619 (hildon_pannable_area_dispose): Remove the timeout that controls
3620 the motion notify events.
3621 (hildon_pannable_area_scroll): Added a condition to control the
3622 use of the acceleration.
3623 (hildon_pannable_area_motion_event_scroll_timeout),
3624 (hildon_pannable_area_motion_event_scroll): Added this two
3625 functions, they handle the motion notify events inside the
3627 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3628 to the scroll method with the new function.
3629 (hildon_pannable_area_button_release_cb): We have to remove the
3630 timeout handler and move to the last position if the last motion
3631 events were not handled.
3633 Fixes: NB#97028 (Pannable area updates on every motion event)
3635 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3637 * src/hildon-pannable-area.c,
3638 (hildon_pannable_area_get_topmost): Added a new parameter to
3639 filter the the windows that do not include those events. Added
3640 also a condition when finding the window to filter windows that do
3641 not ask for those events.
3642 (hildon_pannable_area_button_press_cb),
3643 (hildon_pannable_area_button_release_cb),
3644 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3645 topmost function, we have added the new parameter.
3647 Fixes: NB#97458 (Pannable area prevents propagation of button
3650 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3652 * src/hildon-pannable-area.c,
3653 (hildon_pannable_area_initial_effect): Added controls before
3654 launching the timeout and the idle functions.
3655 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3656 of the method, in some situations it can return with TRUE and 0 in
3658 (hildon_pannable_area_button_press_cb): We do not need to set
3659 DELAY for fading out here.
3661 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3663 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3666 post-cleaning if the selection is not NULL.
3668 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3671 all items before restoring the selection.
3673 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-touch-selector.c:
3676 (+hildon_touch_selector_unselect_all):
3677 * src/hildon-touch-selector.h: New API to unselect all items in a
3678 column of the touch selector.
3680 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3682 * src/hildon-pannable-area.c,
3683 (hildon_pannable_area_redraw): Added a call to the refresh
3684 function inside the redraw because apparently in some cases the
3685 change in the adjustment does not imply a size allocate.
3687 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3688 despite the view not being scrollable)
3690 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3693 leak. Check for NULL before attempting to set the window title.
3695 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3698 whether to show or not the 'Done' button each time the dialog is
3699 shown, as it depends on the HildonTouchSelector selection mode.
3701 Fixes: NB#96226 (In multiple selection mode Done button is shown
3702 sometimes in listpicker)
3704 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3707 for the number of columns in the HildonTouchSelector more than once.
3709 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-touch-selector.c: Minor documentation fixes.
3713 * src/hildon-picker-dialog.c (+_dialog_update_title)
3714 (_select_on_selector_changed_cb)
3715 (_update_title_on_selector_changed_cb)
3716 (on_selector_columns_changed): Update dialog title when there's no
3717 'Done' button and also when the number of columns in the selector
3721 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3722 (+_selection_changed, hildon_picker_button_on_dialog_response)
3723 (hildon_picker_button_selector_selection_changed)
3724 (+hildon_picker_button_selector_columns_changed)
3725 (hildon_picker_button_set_selector): Update button value and emit
3726 'value-changed' when the number of columns in the selector
3730 Fixes: NB#96225 (Dialog titles are not shown according to the
3731 values selected in the list picker)
3733 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3735 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3736 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3737 New "arrow-width" and "arrow-height" style properties to set the
3738 size of the arrow button.
3739 Set name of arrow button ("hildon-edit-toolbar-arrow").
3741 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3742 graphics from theme)
3744 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3746 * src/hildon-picker-button.c:
3747 (hildon_picker_button_selector_selection_changed): Use
3748 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3749 the dialog is present.
3751 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3752 the selection is accepted in the dialog)
3754 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-color-chooser.h
3757 * src/hildon-color-chooser-dialog.h:
3758 Added G_BEGIN_DECLS and G_END_DECLS
3760 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3762 (_clean_current_selection): plug a leak in the list.
3764 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-picker-dialog.c:
3767 (+free_path_list): Method to free a GList of GtkTreePaths.
3768 (_clean_current_selection), (_save_current_selection),
3769 (_restore_current_selection): Save the current selection in
3770 as a list of lists, to support multiple selection properly.
3772 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3774 patch by Claudio Saavedra (csaavedra@igalia.com)
3776 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3777 Store the press position.
3778 (+hildon_text_view_button_release_event): If the release position is
3779 close enough to the press position, move the cursor here. Otherwise,
3781 (hildon_text_view_class_init): Override GtkTextView press, release, and
3782 motion event handlers, disabling this way text selection through
3783 pointer interaction, and allowing the container widget to handle the
3786 Fixes: NB#95828 (HildonTextView functionality)
3788 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3790 Based on a patch by Iván Gómez (igomez@igalia.com)
3792 * src/hildon-button.[ch]
3793 * src/hildon-calendar.c
3794 * src/hildon-check-button.c
3795 * src/hildon-date-editor.c
3796 * src/hildon-date-selector.c
3797 * src/hildon-picker-button.c
3798 * src/hildon-time-editor.c
3799 * src/hildon-time-selector.c
3800 * src/hildon-touch-selector.[ch]:
3801 Documentation updates
3803 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3805 * src/hildon-pannable-area.c,
3806 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3807 threshold, it was required due to X events handling.
3809 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3811 * src/hildon-pannable-area.c,
3812 (hildon_pannable_area_grab_notify),
3813 (hildon_pannable_area_initial_effect),
3814 (hildon_pannable_area_button_press_cb),
3815 (hildon_pannable_area_button_release_cb),
3816 (hildon_pannable_area_scroll_cb),
3817 (hildon_pannable_area_scroll_to): Review the timeout management of
3818 the scrollbar, the frecuency was incorrectly set.
3820 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-picker-button.c:
3823 (+hildon_picker_button_on_dialog_response),
3824 (hildon_picker_button_clicked): Present the dialog instead of
3825 running it with gtk_dialog_run().
3827 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3830 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3833 (hildon_app_menu_finalize): When a window is hidden it doesn't
3834 emit notify::is-topmost, so make sure than the menu also
3835 disappears in that case.
3836 (parent_window_topmost_notify): Renamed from parent_window_hidden
3838 Fixes: NB#94460 (stackable window's menu is not closed when its
3841 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-touch-selector-entry.c:
3844 (+hildon_touch_selector_entry_set_input_mode),
3845 (+hildon_touch_selector_entry_get_input_mode):
3846 * src/hildon-touch-selector-entry.h: New methods to access the input
3847 mode in the selector's entry.
3849 Fixes: NB#93410 (API required for setting IM mode in
3850 HildonTouchSelectorEntry)
3852 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3854 * configure.ac: post release version bump.
3855 * debian/changelog: version bump
3857 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3862 * configure.ac: Bump version.
3863 * debian/changelog: Updates.
3865 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-touch-selector.c:
3868 (_hildon_touch_selector_has_multiple_selection): No need
3869 to initialize the variables here.
3871 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-note-private.h
3874 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3875 (hildon_note_finalize, hildon_note_rebuild): Close information
3876 notes when they receive a button press.
3878 Fixes: NB#89890 (Information notes does not get disappeared after
3881 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3883 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3884 mark from the wizard title, as it's not really necessary. Also,
3885 do not display the page title if not set.
3887 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3890 (parent_window_hidden): Use the window's "is-topmost" property to
3891 detect when to hide the menu.
3893 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3895 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3896 (hildon_app_menu_finalize): If the parent window of the menu is
3897 hidden, hide the menu too.
3899 Fixes: NB#94460 (stackable window's menu is not closed when its
3902 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3905 * debian/libhildon1-examples.install
3907 * examples/Makefile.am:
3908 Use dh_install to install all examples.
3909 Use DEB_SRCDIR instead of defining SOURCE_DIR
3911 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3913 * configure.ac: post release version bump.
3914 * debian/changelog: version bump
3916 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3921 * configure.ac: bump version
3922 * debian/changelog: updates
3923 * debian/control: bump gtk+ dependency
3925 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3927 patch by Christian Dywan (christian@imendio.com)
3929 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3930 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3932 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-check-button.c (hildon_check_button_init)
3935 (hildon_check_button_class_init, hildon_check_button_style_set)
3936 (hildon_check_button_apply_style):
3937 New "checkbox-size" style property.
3939 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3940 larger / configurable size)
3942 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3944 * configure.ac: post release version bump.
3945 * debian/changelog: version bump
3947 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3952 * configure.ac: bump version
3953 * debian/changelog: updates
3955 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3957 * doc/hildon-sections.txt
3958 * src/hildon-pannable-area.c
3959 * src/hildon-program.c
3960 * src/hildon-time-editor.c
3961 * src/hildon-touch-selector-entry.c:
3963 More documentation updates.
3965 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3967 * doc/hildon-sections.txt
3968 * src/hildon-caption.c
3969 * src/hildon-code-dialog.c
3970 * src/hildon-color-button.c
3971 * src/hildon-controlbar.c
3972 * src/hildon-date-editor.c
3973 * src/hildon-date-selector.c
3974 * src/hildon-edit-toolbar.c
3975 * src/hildon-find-toolbar.c
3976 * src/hildon-font-selection-dialog.c
3978 * src/hildon-program.c
3979 * src/hildon-range-editor.c
3980 * src/hildon-seekbar.c
3981 * src/hildon-time-editor.c
3982 * src/hildon-time-selector.c
3983 * src/hildon-volumebar-range.c
3984 * src/hildon-volumebar.c
3985 * src/hildon-vvolumebar.c
3986 * src/hildon-weekday-picker.c
3987 * src/hildon-window.c
3988 * src/hildon-wizard-dialog.c:
3990 Lots of documentation fixes.
3992 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3994 Patch contributed by Iván Gómez (igomez@igalia.com)
3996 * src/hildon-check-button.c:
3997 * src/hildon-date-button.c:
3998 * src/hildon-date-selector.c:
3999 * src/hildon-dialog.c:
4000 * src/hildon-edit-toolbar.c:
4001 * src/hildon-entry.c:
4002 * src/hildon-picker-button.c:
4003 * src/hildon-program.c:
4004 * src/hildon-text-view.c:
4005 * src/hildon-time-button.c:
4006 * src/hildon-touch-selector-entry.c:
4007 * src/hildon-window-stack.c:
4009 Add more "since" tags to the new API.
4011 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4013 * doc/hildon-sections.txt: Add below method.
4014 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4015 version for the hildonized scale.
4016 * src/hildon-gtk.h: Add the definition.
4018 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4020 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4022 * doc/hildon-sections.txt: Add missing entries for new methods.
4024 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4026 Added API to pannable are in order to get its adjustments. We
4027 added two properties to manage the values we had in the private
4030 * src/hildon-pannable-area.c:
4031 (hildon_pannable_area_class_init): Added hadjustment and
4032 vadjustment properties in order to expose horizontal and vertical
4034 (hildon_pannable_area_get_property),
4035 (hildon_pannable_area_set_property): Added code to handle the new
4037 (hildon_pannable_area_get_hadjustment),
4038 (hildon_pannable_area_get_vadjustment): API functions to get the
4040 * src/hildon-pannable-area.h:
4041 (hildon_pannable_area_get_hadjustment),
4042 (hildon_pannable_area_get_vadjustment): API functions to get the
4045 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4047 Fixed some leaks, after valgrinding.
4049 * src/hildon-touch-selector.c:
4050 (_default_print_func): Fixed a leak.
4051 (hildon_touch_selector_append_column): Fixed a leak.
4052 * src/hildon-date-button.c:
4053 (hildon_date_button_init): Fixed a leak.
4054 * src/hildon-date-selector.c
4055 (hildon_date_selector_finalize): Fixed a leak.
4057 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4059 Based on a patch by Christian Dywan (christian@imendio.com)
4061 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4063 * src/hildon-gtk.h: Add definition.
4065 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4067 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-picker-button.c: (hildon_picker_button_init),
4070 (hildon_picker_button_new): Set the HildonButton::style property
4071 in the init method, to propagate the value to the derived classes.
4073 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-button.c: (hildon_button_class_init): Do not make
4076 the "style" property a construct property.
4078 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4080 * src/hildon-wizard-dialog.h
4081 * src/hildon-wizard-dialog.c
4082 (hildon_wizard_dialog_set_forward_page_func)
4083 * src/hildon-pannable-area.h
4084 * src/hildon-pannable-area.c
4085 (hildon_pannable_area_set_size_request_policy):
4086 Documentation fixes.
4088 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4090 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4092 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4094 * doc/hildon-sections.txt: Added sections file.
4096 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/*.[ch]: Updates.
4101 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4103 * examples/hildon-progress-indicator-example.c: new file
4104 * examples/Makefile.am: include the new example program
4106 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4110 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4112 * configure.ac: post release version bump
4113 * debian/changelog: version bump
4115 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4120 * configure.ac: bump version
4121 * debian/changelog: updates
4122 * debian/control: bump gtk+ dependency
4124 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-dialog.c: Mark as deprecated.
4127 * src/hildon-dialog.h: Mark as deprecated.
4128 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4129 from HildonDialog and still work, even if
4130 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4131 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4133 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4134 maemo changes) instead)
4136 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4138 * src/hildon-pannable_area.h:
4139 * src/hildon-pannable_area.c:
4140 (hildon_pannable_area_class_init),
4141 (hildon_pannable_area_set_property),
4142 (hildon_pannable_area_get_property),
4143 (hildon_pannable_area_size_request),
4144 (hildon_pannable_area_get_size_request_policy),
4145 (hildon_pannable_area_set_size_request_policy): Added new API
4146 allowing applications to control the request policy. Now they can
4147 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4148 children allocation (HILDON_MOVEMENT_CHILDREN).
4150 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4154 (hildon_gtk_tree_view_set_ui_mode)
4155 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4156 mode of treeviews and iconviews.
4158 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-touch-selector-entry.c:
4161 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4162 of a GtkEntry to get proper theming.
4164 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4165 widget, not GtkEntry)
4167 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4170 no HildonWizardDialogPageFunc.
4172 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4174 Patch contributed by Iván Gómez (igomez@igalia.com)
4176 * src/hildon-app-menu.c:
4177 * src/hildon-button.c:
4178 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4179 * src/hildon-stackable-window.c:
4180 * src/hildon-time-selector.c:
4181 * src/hildon-touch-selector.c:
4182 * src/hildon-window.c:
4184 Add more "since" tags to the new API in hildon 2.2.
4186 2008-12-05 Tim Janik <timj@imendio.com>
4188 Patch contributed by Christian Dywan (christian@imendio.com)
4190 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4191 HildonSizeType, which are supplied by Gtk+ now.
4193 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4195 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4196 (with maemo changes) instead)
4198 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4200 Patch contributed by Iván Gómez (igomez@igalia.com)
4202 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4205 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4207 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4208 (some_page_func), (main): Update the example to use a
4209 HildonWizardDialogPageFunc function.
4211 * src/hildon-wizard-dialog-private.h: Add private data for
4212 the HildonWizardDialogPageFunc function usage.
4214 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4215 (destroy), (hildon_wizard_dialog_init), (response),
4216 (hildon_wizard_dialog_set_forward_page_func):
4217 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4218 that applications can use to stop a HildonWizardDialog to jump to
4221 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4224 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-program.h
4227 * src/hildon-program-private.h
4228 * src/hildon-program.c (hildon_program_init)
4229 (hildon_program_set_common_app_menu)
4230 (hildon_program_get_common_app_menu):
4231 New API for setting a common HildonAppMenu for all
4232 HildonStackableWindows registered with the HildonProgram.
4234 * src/hildon-stackable-window.c
4235 (hildon_stackable_window_toggle_menu):
4236 Use the common HildonAppMenu if a window doesn't have a specific
4239 * src/hildon-app-menu-private.h
4240 * src/hildon-app-menu.c
4241 (hildon_app_menu_get_parent_window):
4242 Function to obtain the window a HildonAppMenu is attached to.
4243 (hildon_app_menu_set_parent_window):
4244 Hide the menu if the parent window is set to NULL.
4246 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4249 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4250 search widget to popup.
4252 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4254 * configure.ac: post release version bump
4255 * debian/changelog: version bump
4257 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4262 * configure.ac: bump version
4263 * debian/changelog: updates
4265 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4267 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4269 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4270 (hildon_window_stack_window_realized)
4271 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4272 Set the leader GdkWindow when a window is stacked and realized,
4273 unset it when it's unstacked.
4274 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4276 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4278 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-stackable-window.h
4281 * src/hildon-window-stack.h:
4282 Protect definition of HildonWindowStack using the preprocessor.
4284 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4286 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4287 Fix warning if all menu items are hidden.
4289 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4291 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4293 * src/hildon-controlbar.c:
4294 * src/hildon-hvolumebar.c:
4295 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4296 Multiple scale size defines updates.
4298 Fixes: NB#94322 (Scale Updates)
4300 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4302 * examples/hildon-app-menu-example.c (create_menu)
4303 Show items after adding them to the menu, as in the future the
4304 menu will no longer call gtk_widget_show() on the added items.
4306 * src/hildon-app-menu.c:
4307 Update example as explained above.
4309 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-app-menu.c
4312 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4313 Make sure that all menu items have finger height.
4315 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4317 * src/hildon-picker-dialog.c:
4318 (_on_dialog_response), (_save_current_selection),
4319 (_restore_current_selection), (_clean_current_selection),
4320 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4321 Defined new functions in order to save the current internal selector
4322 selection previous open the dialog, in case that the use cancel the
4323 interaction, so the widget restores the previous selection.
4325 Fixes: NB#92032 (In calendar application, date values in 'new event'
4328 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4330 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-button.c: Add a reference to the button examples in
4333 hildon-button-example.c
4335 * examples/hildon-button-example.c: Added examples of the most
4336 common button layouts.
4338 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-app-menu.c (hildon_app_menu_show)
4341 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4343 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4345 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4347 * src/hildon-picker-dialog.c:
4348 (hildon_picker_dialog_init): Initialize the signal id for
4349 HildonTouchSelector::columns-changed.
4350 (+on_selector_columns_changed): Set up the interaction mode everytime a
4351 column is added or removed from the HildonTouchSelector.
4352 (_hildon_picker_dialog_set_selector): Connect to
4353 HildonTouchSelector::columns-changed and keep track of it.
4355 Make sure to update the interaction mode of the dialog everytime a
4356 column is added or removed in the HildonTouchSelector.
4358 Fixes: NB#93228 (Done button is not shown always in listpicker)
4360 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4363 a new ::columns-changed signal.
4364 (hildon_touch_selector_append_column): Emit ::columns-changed.
4365 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4367 Add a ::columns-changed signal, emitted when the number of columns in a
4368 HildonTouchSelector changes.
4370 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4373 (_hildon_picker_dialog_set_selector): Factor out the code
4374 to set up the dialog interaction mode.
4376 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4378 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4379 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4380 to signal_changed_id.
4382 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4387 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4389 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4390 Updated the logical ids related to ampm format, as now it is required to
4391 show it correctly localized even on languages with no default
4392 abbreviations for am or pm
4393 (_check_am_pm_format): check correctly the 24h format gconf property
4395 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4397 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4399 * src/hildon-button.c: Documentation updates.
4401 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4404 * src/hildon-caption.c: (hildon_caption_class_init):
4405 * src/hildon-color-button.c: (hildon_color_button_class_init):
4406 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4407 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4408 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4409 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4411 Remove deprecated GTK+ marshalers and replace them with the ones
4412 provided by GLib, for those available, add a marshaler for
4413 BOOLEAN:VOID, which is not available in GLib, and use it.
4415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4417 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4418 the text from the previous column if there is no
4419 HildonTouchSelectorColumn::text-property set.
4421 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-button.h
4424 * src/hildon-button.c (hildon_button_set_property)
4425 (hildon_button_get_property, hildon_button_class_init)
4426 (hildon_button_set_style, hildon_button_get_style):
4427 New "style" property to change the visual appearance of the
4430 * src/hildon-picker-button.c (hildon_picker_button_new):
4431 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4433 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4434 HildonButton look like PickerButton)
4436 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4439 column while building the default string.
4441 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4444 scroll indicator by default.
4446 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4448 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4450 * src/hildon-main.c: Fix the documentation for hildon_init()
4452 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4454 * doc/hildon-docs.sgml
4458 * src/hildon-window-stack-private.h
4459 * src/hildon-window-stack.h
4460 * src/hildon-window-stack.c:
4461 New HildonWindowStack object, that adds support for multiple
4462 stacks of windows per process.
4464 * src/hildon-stackable-window-private.h
4465 * src/hildon-stackable-window.h
4466 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4467 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4468 (hildon_stackable_window_show, hildon_stackable_window_hide)
4469 (hildon_stackable_window_class_init)
4470 (hildon_stackable_window_init):
4471 Use HildonWindowStack for stack management.
4473 * src/hildon-program.c (hildon_program_pop_window_stack)
4474 (hildon_program_peek_window_stack)
4475 (hildon_program_go_to_root_window):
4476 Add a fallback implementation to the deprecated functions using
4479 * examples/hildon-stackable-window-example.c:
4480 Use the new HildonWindowStack API.
4482 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-stackable-window-private.h
4485 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4486 (hildon_stackable_window_hide, hildon_stackable_window_init):
4487 Remove all window stack management.
4489 * src/hildon-program-private.h
4490 * src/hildon-program.h
4491 * src/hildon-program.c (hildon_program_init)
4492 (hildon_program_pop_window_stack)
4493 (hildon_program_peek_window_stack)
4494 (hildon_program_go_to_root_window):
4495 Remove all window stack management and mark functions as
4498 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4500 * src/hildon-app-menu.c (hildon_app_menu_realize):
4501 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4503 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4505 * configure.ac: post release version bump
4506 * debian/changelog: version bump
4508 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4513 * configure.ac: bump version
4514 * debian/changelog: updates
4516 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4518 Based on initial code by Christian Dywan (christian@imendio.com)
4520 * doc/hildon-docs.sgml: Add section for hildon-main.
4521 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4522 * src/Makefile.am: Add new hildon-main.[ch]
4523 * src/hildon-defines.h: Update the icon sizes.
4524 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4525 new library initialization files and register icon sizes.
4526 * src/hildon-main.h: New declarations.
4527 * src/hildon.h: Include hildon-main.h
4529 Add new initialization functions to the library. These methods
4530 will register the hildon specific icon sizes and can be used in the
4531 future for other hildon specific bits.
4533 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4535 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4537 * src/hildon-window.c: (hildon_window_realize),
4538 (hildon_window_notify), (-hildon_window_update_title): Do not set
4539 the application name in the window title.
4541 Fixes: NB#89754 (Applications shouldn't display their names in the
4544 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-note-private.h:
4547 * src/hildon-note.c: (hildon_note_set_property),
4548 (hildon_note_get_property), (hildon_note_class_init),
4549 (hildon_note_init), (hildon_note_finalize),
4550 (hildon_note_new_confirmation_with_icon_name),
4551 (hildon_note_new_information_with_icon_name):
4553 No need to mark as deprecated the actual code. Revert
4554 to avoid missing symbols in widgets using deprecated API.
4556 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4558 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4560 * src/hildon-volumebar.h
4561 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4562 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4564 * src/hildon-helper.h
4565 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4566 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4568 * examples/Makefile.am:
4569 Deprecate hildon-insensitive-example
4571 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4573 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4575 * examples/hildon-pannable-area-buttons-scroll-example.c:
4576 Make all buttons finger height
4578 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4580 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4582 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4583 update the day model only if it is really required, and to avoid the
4584 full-reconstruction aproach. Now it only add or remove the required days.
4586 The purpose of this is avoid superfluous HildonTouchSelector::changed
4589 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4590 with strange parameters)
4592 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4594 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4596 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4597 the WINDOW_TYPE property.
4599 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4601 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4604 Fix dependency to allow parallel compilation with make -jX
4606 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4609 color frame and some minor tweaks to make it more consistent with
4612 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4613 highlighted but not visible)
4615 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4617 * examples/Makefile.am: Fixed typo in the Makefile.am.
4619 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4621 Reviewed the use of MAEMO_GTK define, now we add the define in the
4622 compilation line, and we also add it to the pc file.
4624 * configure.ac: Added MAEMO_GTK define to the compilation command
4625 and removed it from the config.h.
4627 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4628 do not have to take care about this define if the library was
4632 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4634 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4636 * examples/Makefile.am,
4637 * examples/hildon-pannable-area-buttons-scroll-example.c,
4638 * examples/hildon-pannable-area-gesture-signals-example.c,
4639 * examples/hildon-pannable-area-scroll-jump-example.c,
4640 * examples/hildon-pannable-area-tree-view-example.c:
4641 Renamed the pannable area examples, now they have more meaningful
4644 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4646 * src/hildon-touch-selector.c:
4647 (hildon_touch_selector_set_column_selection_mode): Used of
4648 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4649 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4650 to avoid re-seting the same selection mode.
4652 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4653 breaks HildonPickerDialog)
4655 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4657 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4658 conditional in the Makefile.am
4660 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4662 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4663 Remove unused methods.
4665 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-button.c (hildon_button_init):
4668 Make button images center-aligned by default
4670 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4673 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4674 activated, we have to think about how to deal with both defines
4675 MAEMO_GTK and MAEMO_CHANGES.
4677 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4679 * examples/hildon-app-menu-example.c (create_menu): Make all
4680 buttons finger size.
4682 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4684 Fixed the compilation without maemo gtk adding ifdefs with
4685 MAEMO_GTK define to the code, we have to check this version more
4688 * examples/Makefile.am: Added control to avoid some examples that
4689 just make sense with maemo gtk.
4692 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4693 hildon modes with the define.
4695 * examples/hildon-edit-toolbar-example.c,
4696 (create_icon_view): Create the icon view without hildon-gtk
4697 helpers if we are not using maemo gtk.
4699 * src/hildon-touch-selector.c,
4700 (_create_new_column): Create the treeview without hildon-gtk
4701 helpers if we are not using maemo gtk.
4703 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4705 * src/hildon-pnnable-area.c,
4706 (hildon_pannable_area_dispose),
4707 (hildon_pannable_area_button_press_cb),
4708 (hildon_pannable_area_child_mapped),
4709 (hildon_pannable_area_add),
4710 (hildon_pannable_area_remove): Added code to control the position
4711 of the event_window when adding and removing children from the
4712 pannable. We have to raise the event window when the child is
4715 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4716 selection mode using custom widget inside pannable)
4718 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4720 * configure.ac: post release version bump
4721 * debian/changelog: version bump
4723 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4728 * configure.ac: bump version
4729 * debian/changelog: updates
4731 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4733 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4734 search mode, in order to avoid lose the focus on the treeview when
4735 a hw key (like enter) is pressed.
4737 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4738 in HildonDateSelector dialog)
4740 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4742 * debian/rules: Added --enable-maintainer-mode
4743 * Makefile.am: Added ACLOCAL_AMFLAGS
4745 This allows to properly regenerate the Makefiles if you modify the
4746 configure.ac or any Makefile.am.
4748 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4750 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4751 properties, not needed at all.
4753 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4755 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4757 * src/hildon-note.c: (hildon_note_set_property),
4758 (hildon_note_get_property), (hildon_note_class_init),
4759 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4760 (hildon_note_new_confirmation_add_buttons): Remove icons.
4761 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4762 (hildon_note_new_information_with_icon_name): Deprecate.
4763 (hildon_note_new_confirmation): Act directly, without calling
4764 the deprecated constructor.
4765 (hildon_note_new_information): Act directly, without calling
4766 the deprecated constructor.
4767 * src/hildon-note.h: Mark deprecate methods as such.
4768 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4769 not run tests on the deprecated methods if built with deprecation
4772 Fixes: NB#91688 (Never show icons in information notes/confirmation
4775 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4777 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4778 (hildon_app_menu_key_press): Remove leftover usage of the
4779 private structure in HildonAppMenu struct.
4780 * src/hildon-app-menu.h: Remove leftover private structure
4781 from the HildonAppMenu struct.
4783 Fixes a crasher when using the HildonAppMenu.
4785 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-picker-dialog.c: Use appropriate logical id
4788 for the default "Done" text.
4790 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4792 * configure.ac: post release version bump
4793 * debian/changelog: version bump
4795 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4797 Modified the way to scroll to the current selection just when the touch
4798 selector is shown on the screen, avoiding a g_idle. Added too a property
4799 to configure this behaviour. See hildon_pannable_area_jump_to_child
4800 documentation for more information.
4802 * src/hildon-touch-selector.c
4803 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4804 Added 'initial-scroll' property
4805 (hildon_touch_selector_set_property): Added
4806 (hildon_touch_selector_map): Removed as not required anymore
4807 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4808 only a concrete column, instead of iterate along all the columns
4810 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4815 * configure.ac: bump version
4816 * debian/changelog: updates
4818 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4821 compilation time warnings.
4823 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4825 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4826 the default value for HildonPannableArea::mov-mode to
4827 HILDON_PANNABLE_AREA_MODE_VERT.
4829 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4831 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4833 Reverting following commit:
4835 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-app-menu-private.h
4838 * src/hildon-app-menu.[ch]
4839 * src/hildon-button.[ch]
4840 * src/hildon-check-button.[ch]
4841 * src/hildon-entry.[ch]
4842 * src/hildon-pannable-area.[ch]
4843 * src/hildon-text-view.[ch]:
4844 Added private field to the object's structure.
4846 because it causes an ABI breakage. We will need to introduce these
4847 changes later at some point. See NB#91636 for an extensive
4848 explanation and status.
4850 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4852 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4854 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4855 remove special cases that are no longer necessary.
4857 Fixes: NB#91016 (Change toolbar sizes, simplification)
4859 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4862 is shown in the cancel note.
4864 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4867 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4868 (hildon_seekbar_init): Remove steppers, remove expose event.
4869 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4871 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4873 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4876 label font to "SmallSystemFont" for vertically arranged buttons.
4878 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4881 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-check-button.c
4884 (hildon_check_button_set_active, hildon_check_button_clicked):
4885 Don't access private parts directly, use getters instead.
4887 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4889 * src/hildon-check-button.c (hildon_check_button_new):
4890 Align the contents of the check button to the left.
4892 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4894 * src/hildon-pannable-area.c,
4895 (hildon_pannable_area_scroll_to),
4896 (hildon_pannable_area_jump_to),
4897 (hildon_pannable_area_scroll_to_child),
4898 (hildon_pannable_area_jump_to_child): Replace the mapped
4899 precondition of these functions with the realized, it is the
4900 correct state of the widget in this case. Changed the
4901 documentation according to this modification.
4903 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4905 Added a new EXTRA_CFLAGS option to add the deprecated define to
4906 the compilation command. This way we can avoid using the define in
4907 the documentation compilation.
4909 * configure.ac: Defined EXTRA_CFLAGS.
4911 * examples/Makefile.am:
4913 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4915 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4917 * src/hildon-picker-dialog.c:
4918 Defined a utility macro with the desired touch selector height
4919 Removed currently unused separator, and title_label variables from
4921 (hildon_picker_dialog_init): Removed code related to the creation
4922 of unused private variables title_label and separator.
4923 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4924 to ensure correct visualization of the touch selector inside the dialog.
4925 * src/hildon-touch-selector.c
4926 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4927 ensure a concrete height of the widget.
4929 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4932 * tests/Makefile.am:
4934 Remove spurious whitespaces.
4936 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4938 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4939 compilation warning after the cancel button removal.
4941 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4943 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4945 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4946 Makefile.am, that way we can choose not to compile some examples
4947 and tests of the deprecated widgets.
4949 * examples/Makefile.am: Divided the sources in deprecated and
4952 * src/Makefile.am: Added undef statement of the deprecated
4953 symbol to the enums file generation process.
4955 * src/hildon-color-chooser-dialog.c
4956 * src/hildon-color-chooser-dialog.h
4957 * src/hildon-color-button.c
4958 * src/hildon-color-button.h
4959 * src/hildon-color-chooser.c
4960 * src/hildon-color-chooser.h
4961 * src/hildon-controlbar.c
4962 * src/hildon-controlbar.h
4963 * src/hildon-date-editor.c
4964 * src/hildon-date-editor.h
4965 * src/hildon-hvolumebar.c
4966 * src/hildon-hvolumebar.h
4967 * src/hildon-private.c
4968 * src/hildon-private.h
4969 * src/hildon-range-editor.c
4970 * src/hildon-range-editor.h
4971 * src/hildon-seekbar.c
4972 * src/hildon-seekbar.h
4973 * src/hildon-time-editor.c
4974 * src/hildon-time-editor.h
4975 * src/hildon-time-picker.c
4976 * src/hildon-time-picker.h
4977 * src/hildon-volumebar.c
4978 * src/hildon-volumebar.h
4979 * src/hildon-vvolumebar.c
4980 * src/hildon-vvolumebar.h
4981 * src/hildon-bread-crumb-trail.h
4982 * src/hildon-bread-crumb-trail.c
4983 * src/hildon-calendar-popup.c
4984 * src/hildon-calendar-popup.h
4985 * src/hildon-weekday-picker.c:
4986 * src/hildon-weekday-picker.h:
4987 * src/hildon-bread-crumb-widget.c:
4988 * src/hildon-bread-crumb-widget.h:
4989 * src/hildon-bread-crumb.c:
4990 * src/hildon-bread-crumb.h:
4991 * src/hildon-calendar.c:
4992 * src/hildon-calendar.h:
4993 * src/hildon-caption.c:
4994 * src/hildon-code-dialog.c:
4995 * src/hildon-code-dialog.h:
4996 * src/hildon-font-selection-dialog.c:
4997 * src/hildon-font-selection-dialog.h:
4998 * src/hildon-get-password-dialog.c:
4999 * src/hildon-get-password-dialog.h:
5000 * src/hildon-login-dialog.c:
5001 * src/hildon-login-dialog.h:
5002 * src/hildon-number-editor.c:
5003 * src/hildon-number-editor.h:
5004 * src/hildon-set-password-dialog.c:
5005 * src/hildon-set-password-dialog.h:
5006 * src/hildon-sort-dialog.c:
5007 * src/hildon-sort-dialog.h: This is the list of deprecated
5010 * src/hildon-touch-selector.c:
5011 * src/hildon-window.c: Added undef statement to avoid compilation
5014 * tests/Makefile.am: Divided the sources in deprecated and
5017 * tests/check_test.c,
5018 (configure_tests): Marked the deprecated code that was adding
5019 suites with deprecated tests.
5021 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5023 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5025 * src/hildon-touch-selector.c: (_default_print_func): Do not
5026 duplicate a string returned by gtk_tree_model_get(), it is already
5029 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5032 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5034 * src/hildon-pannable-area.c
5035 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5036 method, it had problems when adding a widget with viewport the
5037 second time. Now checks if it already has a viewport and uses it.
5039 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5042 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5044 * src/hildon-pannable-area.c,
5045 (hildon_pannable_area_scroll_to),
5046 (hildon_pannable_area_jump_to),
5047 (hildon_pannable_area_scroll_to_child),
5048 (hildon_pannable_area_jump_to_child): Added a precondition to the
5049 scroll and jump to functions: the widget must be mapped before we
5050 can safely call these functions. We have also added documentation
5051 to the functions to explain how to use them in this situation.
5054 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5056 Reviewed the threading handling of the pannable widget, we have
5057 used the gdk_threads_add_timeout function instead of the usual
5058 glib handlers. This avoids some problems with the threads.
5060 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5061 (hildon_pannable_area_initial_effect),
5062 (hildon_pannable_area_scroll_indicator_fade),
5063 (hildon_pannable_area_button_press_cb),
5064 (hildon_pannable_area_timeout),
5065 (hildon_pannable_area_motion_notify_cb),
5066 (hildon_pannable_area_button_release_cb),
5067 (hildon_pannable_area_scroll_cb),
5068 (hildon_pannable_area_scroll_to): Removed the
5069 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5070 gdk_threads_add_timeout.
5072 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5074 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5079 * configure.ac: bump version
5080 * debian/changelog: updates
5082 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5085 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5086 * src/hildon-color-chooser-dialog.c:
5087 (hildon_color_chooser_dialog_init):
5088 * src/hildon-font-selection-dialog.c:
5089 (hildon_font_selection_dialog_init):
5090 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5092 Remove all cancel/close-like dialogs, as these are not going to be
5095 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-note.c: (hildon_note_rebuild),
5098 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5101 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5103 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5105 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5106 sure all buttons are shown, even the Cancel/Close-like ones.
5108 Fixes: NB#90861 (Custom Confirmation dialogs should be
5109 protected from cancel button removal)
5111 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5113 * debian/control: Change libhildon1-examples dependency from libhildon1
5115 * debian/libhildon1-examples.install
5117 * Makefile.am: Modified the final install directory for the examples on
5118 package libhildon1-examples
5119 * Makefile.static: Update clean target in order to remove all the binary
5122 Changes suggested by Claudio after review new libhildon1-examples package
5124 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5126 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5127 * src/hildon-touch-selector.c: Ditto.
5129 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5131 * debian/control: Added new package libhildon1-examples, in order to pack
5132 the current hildon examples as documentation
5133 * debian/rules: Not to compress .c files, modify some includes on the
5134 examples (as normally are compiled locally, but when installed it will
5135 require to include the installed libhildon1 library), and rename
5137 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5138 install all the example files on the new example package
5139 * examples/Makefile.static: Added static makefile that can be used to
5140 compile the examples, once installed the new example package
5141 * examples: Most of the examples were modified in order to grant that
5142 all use only '#include "hildon.h"', in order to be easy to prepare
5143 it on the example package
5145 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5148 * debian/libhildon1-dev.install
5149 * debian/libhildon1-doc.install:
5150 Move all gtk-doc files to a separate libhildon1-doc package.
5152 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5154 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5156 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5158 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5160 * debian/rules: Fixed a error in order to avoid unnecessary calls
5161 to autogen.sh on package building
5163 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5165 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5167 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5169 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5172 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-picker-button.c
5175 (hildon_picker_button_finalize):
5176 Free priv->done_button_text
5178 * src/hildon-time-button.c
5179 (hildon_time_button_set_time)
5180 * src/hildon-picker-button.c
5181 (hildon_picker_button_clicked)
5182 (hildon_picker_button_selector_selection_changed)
5183 (hildon_picker_button_set_selector)
5184 * src/hildon-date-button.c
5185 (hildon_date_button_set_date):
5186 Free strings returned by hildon_touch_selector_get_current_text()
5188 * src/hildon-button.c (hildon_button_construct_child):
5189 Fix leaks in priv->image and priv->label_box
5191 Fixes: NB#90535 (Memory leak in picker button)
5193 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-button.c: (hildon_button_get_property): Do not access
5196 private elements directly, use getters instead.
5198 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-app-menu-private.h
5201 * src/hildon-app-menu.c
5202 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5203 Store the menu's parent window.
5205 * src/hildon-stackable-window.c
5206 (hildon_stackable_window_toggle_menu)
5207 (hildon_stackable_window_finalize):
5208 Set the menu's parent window when the menu is shown, unset it when
5211 * src/hildon-app-menu.c
5212 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5213 (hildon_app_menu_class_init):
5214 Send unhandled keyboard accelerators to the parent window.
5216 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-stackable-window.c
5219 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5221 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5223 * configure.ac: post release version bump
5225 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5228 * configure.ac: Bump version
5229 * debian/changelog: Updates
5230 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5233 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5235 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5238 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5239 GtkMenu with Hildon style.
5241 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-picker-button.c:
5244 (hildon_picker_button_set_done_button_text): Set the dialog's
5245 done button text here as well.
5247 Fixes: NB#90232 (Picker button does not set the label on done button
5248 for the second time)
5250 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5255 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-app-menu.c (hildon_app_menu_insert)
5258 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5259 the HildonAppMenu to be activatable using keyboard accelerators
5260 when the menu is not being shown.
5262 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5264 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5266 * src/hildon-stackable-window.c
5267 (hildon_stackable_window_show):
5268 Don't hide old windows automatically when new windows are shown:
5269 this is now a task for the window manager.
5270 (hildon_stackable_window_class_init)
5271 (hildon_stackable_window_hide):
5272 Remove windows from the stack everytime they're hidden.
5273 (hildon_stackable_window_realize):
5274 Don't change the _NET_WM_WINDOW_TYPE property. Use
5275 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5276 it as a stackable window.
5278 * src/hildon-program.c
5279 (hildon_program_pop_window_stack):
5280 Just hide the window to remove it from the stack.
5281 (hildon_program_go_to_root_window):
5282 Don't call gtk_widget_show(), this is now a task for the window
5285 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5287 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-button.c
5290 (hildon_button_construct_child):
5291 Don't pack anything in the button until text or image are
5292 set. This allows adding a custom child after creating the button
5293 with hildon_button_new().
5294 (hildon_button_finalize, hildon_button_class_init)
5295 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5296 alignment and the label box even when they're not packed in the
5299 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5301 * src/hildon-touch-selector.h:
5302 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5303 currently the type definition was using GTK_TYPE_VBOX
5304 * src/hildon-touch-selector.c:
5305 Added some implementation notes in order to clarify that any other widget
5306 added without the column related API will not be included on the
5307 selection logic, and how the widget is freed, as some people ask about
5309 (hildon_touch_selector_remove): Reimplemented in order to free properly
5310 the column related data when you remove the private hbox.
5311 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5312 to get a proper HildonTouchSelectorColumn documentation
5314 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5316 * src/hildon-touch-selector-entry.c:
5317 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5318 text in the GtkEntry and there is no item selected. Fixes a
5321 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-app-menu-private.h
5324 * src/hildon-app-menu.[ch]
5325 * src/hildon-button.[ch]
5326 * src/hildon-check-button.[ch]
5327 * src/hildon-entry.[ch]
5328 * src/hildon-pannable-area.[ch]
5329 * src/hildon-text-view.[ch]:
5330 Added private field to the object's structure.
5332 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5334 * configure.ac: post-release version bump
5336 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5340 * configure.ac: pre-release version bump
5342 * debian/changelog: updates.
5344 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5346 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5347 Disconnect the handler for HildonTouchSelector::changed.
5349 (hildon_picker_button_selector_selection_changed): Update the button
5350 value if the selection change was not triggered by the
5353 (hildon_picker_button_set_selector): connect to
5354 HildonTouchSelector::changed.
5356 Fixes: NB#89650 (Picker button is not updated, when selection in
5357 selector has changed)
5359 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5361 * src/hildon-picker-dialog.c
5362 (hildon_picker_dialog_realize): Removed as not required
5363 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5364 * src/hildon-picker-button.c
5365 (_current_selector_empty): New function, checks if the selector is empty
5366 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5367 if the current selector is empty, in order to avoid to show the dialog
5368 close the dialog in this case (and shows a g_warning).
5370 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5372 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5374 * src/hildon-pannable-area.c,
5375 (hildon_pannable_area_scroll): Added clause to stop movement when
5376 the child of pannable is smaller than one page.
5377 (hildon_pannable_area_scroll_to): Added conditions to avoid
5378 starting the scrolling movement if the child is smaller than one
5379 page, the complete child is in the screen, we do not have to move.
5381 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5383 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5385 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5386 this is managed automatically by the widget when the size of the
5389 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5391 * src/hildon-picker-button.c
5392 (hildon_picker_button_set_done_button_text): Make a copy of the
5393 text, and free the previous value.
5395 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-touch-selector-entry.c:
5398 (hildon_touch_selector_entry_print_func): Return the selected row's
5399 text if the entry is empty.
5401 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5404 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5406 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5408 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-check-button.h
5412 * src/hildon-check-button.c
5413 * examples/hildon-check-button-example.c:
5414 HildonCheckButton is now a new widget. 'toggled' signal added.
5416 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5418 * src/hildon-program-private.h
5419 * src/hildon-program.c (hildon_program_init)
5420 (hildon_program_finalize): Removed unused variables group_leader
5421 and name from HildonProgramPrivate.
5423 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-check-button.c (hildon_check_button_set_active)
5426 (hildon_check_button_get_active, hildon_check_button_new): Use
5427 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5429 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5431 * src/hildon-touch-selector.h
5432 (hildon_touch_selector_set_column_attributes): added deprecation
5433 guard HILDON_DISABLE_DEPRECATED
5434 * src/hildon-time-selector.c
5435 (hildon_time_selector_set_time)
5436 (hildon_time_selector_get_time): Fixed a typo on documentation
5437 * src/hildon-touch-selector.c: update HildonTouchSelector and
5438 HildonTouchSelectorColumn documentation
5439 * src/hildon-touch-selector-entry.c: update "text-column" property
5441 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5442 to be added to the general documentation.
5444 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5446 * examples/hildon-pannable-area-example-4.c,
5448 * examples/hildon-pannable-area-example.c,
5449 (main): Modified the code in order to use the container add, with
5450 viewport treeviews could have problems if they are really big.
5452 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5454 * src/hildon-weekday-picker.c,
5455 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5456 the agreement regarding deprecation in the library.
5458 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5460 * examples/hildon-picker-button-multicolumn-example.c:
5461 (main): Use custom "done" button text.
5463 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5464 (hildon_picker_button_set_property),
5465 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5466 (hildon_picker_button_init),
5467 (+hildon_picker_button_get_done_button_text),
5468 (+hildon_picker_button_set_done_button_text): New methods to customize
5469 the "done" button label in the launched HildonPickerDialog. Also,
5472 * src/hildon-picker-button.h: add the public API.
5474 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5476 * src/hildon-date-selector.h:
5477 * src/hildon-picker-dialog.h:
5478 * src/hildon-time-selector.h:
5479 * src/hildon-touch-selector-column.h:
5480 * src/hildon-touch-selector.h:
5482 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5483 declarations. Fixes gtk-doc warnings.
5485 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-picker-dialog.h
5488 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5489 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5491 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5492 long text is set as label for done button)
5494 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5496 * src/hildon-dialog.c (hildon_dialog_add_button):
5497 Set fixed width to all buttons in the HildonDialog.
5499 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5501 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5503 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5504 Set widget name using class name plus "-finger" or "-thumb".
5506 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5509 'clicked' when the state of the button is manually changed.
5511 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-app-menu.c (hildon_app_menu_realize)
5514 (hildon_app_menu_unrealize, hildon_app_menu_init)
5515 (hildon_app_menu_class_init, item_visibility_changed):
5516 Change the menu layout when the size of the screen changes.
5517 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5518 Show warning only when changing the number of colums using the
5521 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5523 * debian/compat: Set to 5
5524 * debian/control: Update dependencies.
5525 * debian/libhildon1-dbg.install: Remove.
5526 * debian/libhildon1-dev.install: Update according to cdbs paths.
5527 * debian/libhildon1.install: Update according to cdbs paths.
5528 * debian/rules: Switch to cdbs.
5530 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5533 'item' variable renamed to 'filter'
5535 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-app-menu.c (hildon_app_menu_insert)
5538 (hildon_app_menu_add_filter, remove_item_from_list)
5539 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5540 Don't leak hidden items when the menu is destroyed.
5542 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-app-menu.c (hildon_app_menu_insert)
5545 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5546 (hildon_app_menu_set_columns, item_visibility_changed)
5547 (filter_visibility_changed, hildon_app_menu_repack_filters)
5548 (hildon_app_menu_repack_items):
5549 Repack items and filters separately.
5551 Don't repack all items, change only the ones that are needed to
5554 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5556 * src/Makefile.am: added hildon-touch-selector-column.h
5558 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5560 * src/hildon-touch-selector.c: added the property "text-column" to the
5561 class HildonTouchSelectorColumn, and related get/set functions
5562 (_default_printf_func): updated to use "text-column" property
5563 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5564 "text-column" in his documentation, as this is now included on
5565 HildonTouchSelectorColumn. The get/set_property can still be used,
5566 working as a wrapper to the concrete column "text-column" property
5567 (_text_column_modified): callback added in order to handle the signal
5568 "notify::text-column" of the concrete HildonTouchSelectorColumn
5569 (hildon_touch_selector_entry_get_text_column)
5570 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5571 modified in order to use the HildonTouchSelectorColumn "text-column"
5573 * src/hildon-time-selector.c:
5574 * src/hildon-date-selector.c:
5575 * examples/hildon-touch-selector-example.c
5576 * examples/hildon-touch-selector-multi-cells-example.c
5577 * examples/hildon-picker-button-multicolumn-example.c
5578 Set the right value to "text-column" property on the creation of a new
5579 column using hildon_touch_selector_append_column()
5581 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5583 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5585 * src/hildon-app-menu.c
5586 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5587 updating the layout of the menu, don't create all widgets again,
5588 just repack the items in their new places.
5590 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5592 * src/hildon-time-selector.c
5593 (hildon_time_selector_get_time)
5594 (hildon_time_selector_set_time)
5595 Added documentation of these public methods
5597 * src/hildon-date-button.h
5598 * src/hildon-touch-selector-column.h
5599 * src/hildon-time-button.h
5600 * src/hildon-picker-dialog.h
5601 * src/hildon-time-selector.h
5602 * src/hildon-picker-button.h
5603 * src/hildon-touch-selector.h
5604 * src/hildon-time-picker.h
5605 * src/hildon-date-selector.h
5606 * src/hildon-touch-selector-entry.h
5607 Modified in order to use hildon-widgets code style
5609 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5611 Added deprecated support to the compilation process using
5612 HILDON_DISABLE_DEPRECATED
5614 * configure.ac: Added the --disable-deprecated to the configure
5617 * src/hildon-weekday-picker.c:
5618 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5619 to use the deprecated support. We will update the other deprecated
5620 widgets status in a new patch.
5622 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5624 * configure.ac: Fixed typo with fatal warnings support, the
5625 variable name was not correct
5627 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5629 * src/hildon-app-menu.c
5630 * src/hildon-program.c: Update documentation.
5632 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5634 * configure.ac: Post-release version bump.
5636 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5641 * configure.ac: Pre-release version bump.
5642 * debian/changelog: Updates.
5644 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5646 * NEWS: Update news for previous releases.
5648 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5650 * examples/hildon-touch-selector-multi-cells-example.c:
5651 (create_selector): Update the example to use
5652 hildon_touch_selector_append_column() with a NULL renderer and set
5653 the renderers later.
5654 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5655 passed a NULL renderer. This is documented behavior now.
5657 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5658 This must be used if the developer wants full control on the layout of
5659 the renderers to be added to the column.
5661 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5663 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5665 * src/hildon-touch-selector.c: Documentation fixes.
5667 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5669 * src/hildon-wizard-dialog-private.h: Remove image and box.
5670 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5671 (hildon_wizard_dialog_set_property), (response): Completely remove
5672 image/icon support, and the containers required for the layout.
5674 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5676 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5678 * src/hildon-app-menu.c: Updated documentation.
5680 * src/hildon-stackable-window.c
5681 (hildon_stackable_window_set_main_menu): Unref the old menu after
5682 ref'ing the new one.
5684 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-stackable-window.c
5687 (hildon_stackable_window_set_main_menu): Unref the previous menu
5688 instead of destroying it.
5690 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5691 floating reference and set has_user_ref_count to FALSE to make
5692 HildonAppMenu act like a normal ref-counted widget and not a
5695 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5698 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5700 * src/hildon-touch-selector-column.h: new file
5701 * src/hildon-touch-selector.h
5702 * src/hildon-touch-selector.c
5703 Implemented GtkCellLayout interface, in order to allow to configure
5704 the cell layout on each individual selector column
5705 (hildon_touch_selector_set_column_attributes): marked as deprecated
5706 * examples/hildon-touch-selector-multi-cells-example.c
5707 Example of how to use the GtkCellLayout interface on the selector
5709 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5711 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5713 * src/hildon-app-menu.h
5714 * src/hildon-app-menu.c
5715 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5716 (hildon_app_menu_append, hildon_app_menu_prepend):
5717 New methods to prepend, insert and move items in the menu.
5719 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-wizard-dialog.c:
5723 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5725 (create_title): Update logical IDs and related code.
5726 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5728 * src/hildon-wizard-dialog.h: Note that
5729 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5730 point, as it is not used anymore.
5732 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5734 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5736 * src/hildon-note.c:
5737 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5738 shown. Do not display an icon in confirmation notes nor information
5740 (hildon_note_set_button_text): Update logical ID for cancel button.
5742 Fixes: NB#88850 (Update HildonNote button strings + signals)
5744 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-stackable-window.c
5747 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5749 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu-private.h
5752 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5753 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5754 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5755 temporary property 'columns' to change the number of columns.
5757 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5759 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5761 * examples/hildon-note-example.c: (on_information_clicked),
5762 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5763 debugging information.
5764 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5766 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5767 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5768 in order to close: this will be handled by the WM from now on.
5770 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5772 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-app-menu-private.h
5775 * src/hildon-app-menu.c
5776 (hildon_app_menu_append, hildon_app_menu_add_filter)
5777 (button_visibility_changed, hildon_app_menu_apply_style)
5778 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5779 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5780 layout everytime a button (item or filter) is shown or hidden.
5782 * src/hildon-stackable-window.c
5783 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5786 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5788 * src/hildon-touch-selector.c:
5789 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5790 that the treeview inside the touch selector is in fremantle hildon mode
5791 * examples/hildon-date-button-example.c
5792 * examples/hildon-picker-button-multicolumn-example.c
5793 * examples/hildon-touch-selector-entry-example.c
5794 * examples/hildon-touch-selector-example.c
5795 * examples/hildon-time-button-example.c
5796 * examples/hildon-picker-button-example.c:
5797 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5799 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5801 * examples/hildon-text-view-example.c: (main): Remove the
5802 gtkrc bits, now handled by the theme.
5804 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5809 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5811 * po/Makefile.am: Install properly the mo files.
5812 * po/en_GB.po: Update translation, to ease testing purposes.
5814 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5816 * examples/hildon-picker-button-example.c: (main): Select an item
5817 in the selector before setting it to the button.
5819 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5822 Update button's value if the selector has an item active.
5824 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5825 'value' with the selector)
5827 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5829 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5830 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5831 (hildon_picker_button_class_init): Plug the finalize method.
5832 (hildon_picker_button_set_selector): If there's a previously set
5833 selector, unref'it before setting a new one.
5835 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5836 HildonTouchSelector)
5838 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-touch-selector-entry.c:
5841 (hildon_touch_selector_entry_changed): Check if there is no text
5842 selected before setting the entry text.
5845 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-touch-selector.h
5848 * src/hildon-touch-selector.c
5849 (hildon_touch_selector_get_active)
5850 (hildon_touch_selector_set_active): New methods to set/get the
5851 index of the selected item.
5853 * src/hildon-picker-button.h
5854 * src/hildon-picker-button.c
5855 (hildon_picker_button_get_active)
5856 (hildon_picker_button_set_active): New methods to set/get the
5857 index of the selected item.
5859 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5861 * configure.ac: post-release version bump.
5863 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5867 * configure.ac: Pre-release version bump.
5868 * debian/changelog: Updates.
5869 * debian/control: Add myself as maintainer and depend on l10n
5872 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-window.c
5875 (hildon_window_set_main_menu)
5876 * src/hildon-stackable-window.c
5877 (hildon_stackable_window_set_main_menu):
5878 Updated documentation.
5880 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5882 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5883 Don't free selector->priv manually.
5886 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5889 (hildon_gtk_window_set_progress_indicator):
5890 * src/hildon-gtk.h: Added the new API
5891 hildon_gtk_window_set_progress_indicator, it changes the state of
5892 the window progress hint.
5894 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5896 * src/hildon-button.c
5897 * src/hildon-stackable-window.c: Minor documentation updates.
5899 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5901 * src/hildon-stackable-window.c: Updated documentation.
5903 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5905 * src/hildon-defines.h: Update margins definitions
5906 to the Fremantle sizes.
5909 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5911 * src/hildon-touch-selector.c,
5912 (_hildon_touch_selector_set_model): Cleaning the code after
5913 review, removed g_print and #if 0 from the code.
5915 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5917 * src/hildon-edit-toolbar.c: Update documentation.
5919 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-check-button.h
5922 * src/hildon-check-button.c
5923 (hildon_check_button_set_label, hildon_check_button_get_label)
5924 * examples/hildon-check-button-example.c
5925 (button_clicked_cb):
5926 Removed deprecated methods.
5928 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-text-view.c:
5931 Add sample code to the documentation.
5933 * src/hildon-entry.h
5934 * src/hildon-text-view.h:
5935 Minor cosmetic changes.
5937 * src/hildon-entry.c:
5938 Add sample code to the documentation.
5939 (hildon_entry_init, hildon_entry_refresh_contents):
5940 Don't allow NULL values in the placeholder.
5942 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5944 * doc/hildon-docs.sgml
5946 * examples/Makefile.am
5947 * examples/hildon-text-view-example.c
5949 * src/hildon-text-view.c
5950 * src/hildon-text-view.h
5952 New HildonTextView widget, with example.
5954 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5956 * po/POTFILES.in: Add missing files with translatable strings.
5957 Partially fixes NB#88287.
5959 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5961 * examples/hildon-pannable-area-example-2.c: (main): No need to
5962 set the cellrenderer height inside hildon touch lists, the theme does
5965 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5967 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5968 they are integrated in the theme.
5970 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5972 * examples/hildon-entry-example.c: Update the example adding
5973 widgets to modify the text and the placeholder of the HildonEntry.
5975 * src/hildon-entry.c: Show the placeholder everytime the widget
5976 is empty and loses the focus.
5978 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5980 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5982 * src/hildon-pannable-area.c,
5983 (hildon_pannable_area_size_request): Fixed bug in height
5984 requisition, avoid increasing size and add border twice.
5986 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5988 * configure.ac: postrelease version bump.
5990 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5994 * configure.ac: Prerelease version bump.
5995 * debian/changelog: update.
5996 * debian/rules: make -dbg package contain useful debugging symbols.
5998 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6000 * src/hildon-dialog.h
6001 * src/hildon-dialog.c
6002 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6003 New methods to add buttons with finger size.
6004 (hildon_dialog_new_with_buttons):
6005 Create buttons with finger size.
6007 * examples/hildon-dialog-example.c (main): Use HildonDialog
6008 methods to add buttons.
6010 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6012 * src/hildon-entry.c: Updated HildonButton documentation.
6014 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6017 button value label with (FALSE, FALSE) to prevent NB#88126 from
6020 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6022 * examples/hildon-pannable-area-example.c,
6023 (main): Removed examples panning a vbox inside a pannable
6024 area. Check bug NB#87965
6026 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6028 Patch contributed by Kris Rietveld (kris@imendio.com)
6030 * src/hildon-pannable-area.c,
6031 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6032 get_size and get_position, this saves an X server roundtrip.
6034 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6036 * doc/hildon-docs.sgml
6038 * examples/Makefile.am
6039 * examples/hildon-entry-example.c
6041 * src/hildon-entry.c
6042 * src/hildon-entry.h
6044 New HildonEntry widget, with example.
6046 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6048 * src/hildon-button.c (hildon_button_construct_child): Pack the
6049 image with expand == fill == FALSE. This is a workaround for a bug
6052 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6054 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6055 labels for the text column, to make it more look more dynamic.
6057 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6059 * src/hildon-time-selector.c
6060 Define gettext auxiliar macro N_
6061 (_create_minutes_model)
6062 (_create_hours_model)
6063 (_create_ampm_model): use of strftime in order to fill the model
6064 * src/hildon-date-selector.c
6065 (hildon_date_selector_finalize):
6066 (_locales_init): remove the logic related to get the name of the months
6067 using nl_langinfo, as it is not required anymore
6069 (_create_year_model)
6070 (_create_month_model)
6071 (_update_day_model): use of strftime in order to fill the model properly
6074 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6076 * src/hildon-button.h
6077 * src/hildon-button.c (hildon_button_get_image): New method to
6080 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6082 * src/hildon-touch-selector.c:
6083 (hildon_touch_selector_remove_column): Remove from the correct parent
6084 and also remove the list element and free it.
6087 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6089 * src/hildon-time-selector.c
6090 (_create_hours_model): change the range on 12h ampm format in order to use
6091 a 12-11 range instead of previous 01-12 range
6092 (hildon_time_selector_set_time): change the way to select the current time
6093 on 12h ampm format, due the change on the range
6094 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6097 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6099 * src/hildon-touch-selector.c
6100 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6101 in order to allow use this function on multiple row selection mode if
6102 the column is different that the first one
6105 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6107 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6108 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6110 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6112 * src/hildon-date-selector.h: clean some comments, now on the .c
6113 * src/hildon-date-selector.c
6114 (hildon_date_selector_select_month): first implementation
6115 (hildon_date_selector_select_day): added documentation, reimplemented
6116 using hildon_date_selector_select_current_date to avoid repeat code
6119 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6121 Reviewed interaction logic based on device experiences, refactored
6124 * src/hildon-pannable-area.c,
6125 (hildon_pannable_area_class_init): Updated default vmax speed.
6126 (hildon_pannable_area_calculate_velocity): Added this function, it
6127 avoids duplicate valocity calculation. Adjusted calculation to
6128 avoid problems with zero dist events.
6130 (hildon_pannable_area_motion_notify_cb): Now we use the
6131 calculate_velocity function.
6133 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6135 * src/hildon-date-selector.c
6136 (hildon_date_selector_select_current_date): fix the day range check
6137 as it failed using the last day of the current month
6140 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6142 * src/hildon-touch-selector.c
6143 (hildon_touch_selector_get_num_columns): added a parameter validation
6146 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6148 * examples/Makefile.am
6149 * examples/hildon-edit-toolbar-example.c: Example of the
6150 HildonEditToolbar widget.
6152 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6154 * configure.ac: postrelease version bump.
6156 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6160 * configure.ac: prerelease version bump.
6161 * debian/changelog: update.
6163 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6165 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6166 renderer to display stock icons in the touch list. Also, set the sizes
6167 to the recommended in the style guide.
6169 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6170 * src/hildon-touch-selector.h
6171 (hildon_touch_selector_set_active_iter): renamed, now is
6172 hildon_touch_selector_select_iter
6173 (hildon_touch_selector_get_active_iter): renamed, now is
6174 hildon_touch_selector_get_selected
6175 (hildon_touch_selector_unselect_iter): added
6176 * src/hildon-touch-selector.c
6177 Update after API modification (methods renamed)
6178 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6179 order to avoid problems selecting multiple elements on the column
6180 (hildon_touch_selector_unselect_iter): added the implementation
6181 * src/hildon-time-selector.c
6182 * src/hildon-date-selector.c
6183 * src/hildon-touch-selector-entry.c
6184 Update methods calls after hildon-touch-selector.h API modification (methods
6187 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6189 * src/hildon-stackable-window.c
6190 (hildon_stackable_window_finalize): Call the parent class's finalize.
6192 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6194 * examples/hildon-touch-selector-example.c: (create_selector): Use
6195 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6198 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6200 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6201 set a cell background color, to respect theming.
6203 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6205 * doc/hildon-docs.sgml
6208 * src/hildon-edit-toolbar.c
6209 * src/hildon-edit-toolbar.h
6210 * src/hildon.h: New HildonEditToolbar widget.
6212 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6214 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6217 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6218 * src/hildon-touch-selector.c
6219 (_create_new_column): use g_object_set instead of two g_object_set_property
6221 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6222 * src/hildon-touch-selector.c
6223 (_create_new_column): use of hildon_gtk_tree_view_new to create
6224 the treeview, instead of use directly g_object_new
6225 (_create_new_column): update the property name "vindicator-mode" for the
6226 new one "vscrollbar-policy"
6227 * examples/hildon-date-button-example.c
6228 * examples/hildon-picker-button-multicolumn-example.c
6229 * examples/hildon-touch-selector-entry-example.c
6230 * examples/hildon-touch-selector-example.c
6231 * examples/hildon-time-button-example.c
6232 * examples/hildon-picker-button-example.c
6233 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6234 to all the treeviews inside a pannable area.
6236 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-button.h
6239 * src/hildon-button.c (hildon_button_init)
6240 (hildon_button_set_arrangement, hildon_button_set_alignment)
6241 (hildon_button_set_title_alignment)
6242 (hildon_button_set_value_alignment)
6243 (hildon_button_set_image_alignment)
6244 (hildon_button_construct_child): New methods to set the alignment
6245 of the individual components of the button (title, value,
6246 image). Also, new method to alter the xscale and yscale properties
6247 of the GtkAlignment inside the button, so more complex layouts can
6250 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-button.c (hildon_button_style_set)
6253 (hildon_button_class_init, hildon_button_set_arrangement)
6254 (hildon_button_construct_child): Apply style properties
6255 correctly. Use the 'image-spacing' style property too.
6257 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6260 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6263 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6265 * src/hildon-pannable-area.c,
6266 (hildon_pannable_area_size_request): Fixed problem with
6267 pannable-area size_request.
6269 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6271 Added management for the grab-focus to a child widget, like a
6272 range, we need to fade out the scrollbar when releasing.
6274 * src/hildon-pannable-area.c,
6275 (hildon_pannable_area_init): Connected the grab-focus signal to
6277 (hildon_pannable_area_grab_notify): Added this function in order
6278 to manage the situation when the grab-focus ends. We have to
6279 fade-out the scrollbar.
6281 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-app-menu.c: Minor documentation update.
6285 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-app-menu.c
6288 * examples/hildon-app-menu-example.c (create_menu): Update
6289 examples and documentation to explain how to connect callbacks.
6291 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6293 * examples/hildon-button-example.c
6294 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6295 hildon_stackable_window_new instead of gtk_window_new
6297 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6299 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6300 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6301 (hildon_pannable_area_set_property),
6302 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6303 (hildon_pannable_area_unrealize),
6304 (hildon_pannable_area_size_request),
6305 (hildon_pannable_area_size_allocate),
6306 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6307 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6308 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6309 (hildon_pannable_area_initial_effect),
6310 (hildon_pannable_area_redraw),
6311 (hildon_pannable_area_scroll_indicator_fade),
6312 (hildon_pannable_area_expose_event),
6313 (hildon_pannable_area_get_topmost), (synth_crossing),
6314 (hildon_pannable_area_button_press_cb),
6315 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6316 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6317 (hildon_pannable_area_motion_notify_cb),
6318 (hildon_pannable_area_button_release_cb),
6319 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6320 (hildon_pannable_area_remove),
6321 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6322 chage the code layout to a more GtkWidget like. Review the use of
6325 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6327 * examples/hildon-pannable-area-example-4.c,
6328 (main): Modified the name of the hindicator_mode to
6331 * src/hildon-pannable-area.c,
6332 (hildon_pannable_area_class_init),
6333 (hildon_pannable_area_motion_notify_cb),
6334 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6335 we have reduced the amount of signals and managed reviewed its
6336 rationale. Changed the default decelerate value.
6338 (hildon_pannable_area_add),
6339 (hildon_pannable_area_redraw): Refactored functions.
6341 (hildon_pannable_area_init),
6342 (hildon_pannable_area_get_property),
6343 (hildon_pannable_area_set_property):
6344 (hildon_pannable_draw_vscroll),
6345 (hildon_pannable_draw_hscroll),
6346 (hildon_pannable_area_initial_effect),
6347 (hildon_pannable_area_expose_event),
6348 (hildon_pannable_area_scroll),
6349 (hildon_pannable_area_button_press_cb),
6350 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6351 and vindicator_mode with hscrollbar_policy and
6352 vscrollbar_policy. Replaced hscroll and vscroll with
6353 hscroll_visible and vscroll_visible.
6355 (hildon_pannable_area_refresh): Refactor the function, remove
6356 variables and check the calls to this function, added resize
6357 conditions in case the children change their layout.
6359 (hildon_pannable_area_size_request): Added more detailed
6360 size_request calculation.
6363 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6365 * src/hildon-color-chooser.c
6366 (init_borders): use the correct gtk_border_free instead of g_free, to
6367 avoid a crash when this widget is used (ie: the three color selection
6370 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6372 * src/hildon-check-button.c,
6373 (hildon_check_button_set_active): Fixed problem when setting the
6374 active value, the widget was not redrawn.
6376 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6378 * src/hildon-pannable-area.c,
6379 (hildon_pannable_area_refresh),
6380 (hildon_pannable_area_scroll),
6381 (hildon_pannable_area_motion_notify_cb): Small code style change.
6383 (hildon_pannable_area_class_init): Default initial_hint set to
6384 FALSE, it is not in the specs.
6386 (hildon_pannable_area_initial_effect),
6387 (hildon_pannable_area_expose_event),
6388 (hildon_pannable_area_map),
6389 (hildon_pannable_area_init): Moved the launching point of the
6390 initial effect, it was in map but the sizes where not correct in
6391 that method so we do not know if we have the reproduce it. Now it
6392 is placed in the expose_event method and uses a variable to
6393 reproduce it just once.
6395 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6397 * src/hildon-pannable-area.c,
6398 (hildon_pannable_draw_vscroll),
6399 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6400 position allowed for the scrollbars.
6402 (hildon_pannable_area_size_allocate): Small style change.
6404 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6406 * src/hildon-pannable-area.c,
6407 (hildon_pannable_area_scroll_indicator_fade),
6408 (hildon_pannable_area_button_press_cb),
6409 (hildon_pannable_area_button_release_cb),
6410 (hildon_pannable_area_scroll_cb),
6411 (hildon_pannable_area_expose_event),
6412 (hildon_pannable_area_init): Added the define parameter
6413 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6414 and refactor the fade variable.
6416 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6418 * src/hildon-pannable-area.c,
6419 (hildon_pannable_area_redraw),
6420 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6421 lines, we were reimplemeting the redraw code.
6423 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6425 * src/hildon-pannable-area.c,
6426 (hildon_pannable_area_scroll_cb),
6427 (hildon_pannable_area_realize),
6428 (hildon_pannable_area_class_init): Added scroll_event management
6429 for pannable area, now we can scroll the usual desktop method.
6431 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6432 initialization of the parameters should depend on idle_id.
6434 (hildon_pannable_area_init),
6435 (hildon_pannable_area_map): Small code style modifications
6437 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6439 * src/hildon-pannable-area.c
6440 (hildon_pannable_area_button_press_cb),
6441 (hildon_pannable_area_motion_notify_cb),
6442 (hildon_pannable_area_button_release_cb),
6443 (hildon_pannable_area_size_allocate),
6444 (hildon_pannable_area_scroll_to): Improved the timeouts
6445 management, we avoid creating them each time.
6447 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6449 * src/hildon-pannable-area.c:
6450 (hildon_pannable_area_refresh),
6451 (hildon_pannable_area_motion_notify_cb),
6452 (hildon_pannable_area_class_init):
6453 * src/hildon-pannable-area.h:
6454 * src/hildon-touch-selector.c
6455 (_create_new_column):
6456 * examples/hildon-pannable-area-example-4.c:
6457 (horizontal_movement),
6458 (vertical_movement),
6460 Replaced the names of enums in the HildonPannableArea:
6461 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6462 HILDON_MOVEMENT_MODE_*
6463 - HILDON_PANNABLE_AREA_MOV_* ->
6465 - Removed HildonPannableAreaIndicatorMode, now we
6468 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6470 * examples/hildon-pannable-area-touch-grid-example.c
6471 * examples/hildon-pannable-area-touch-list-example.c: Fix
6472 compilation warnings.
6474 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-gtk.c (hildon_gtk_button_new)
6477 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6478 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6479 images overriding the value of the "gtk-button-images" setting.
6481 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6483 * src/hildon-check-button.c (hildon_check_button_new):
6484 Instead of using a custom container, display the label and the
6485 checkbox using the standard GtkButton API.
6487 * examples/hildon-check-button-example.c (main): Don't use
6488 hildon_check_button_set_label() anymore
6490 * src/hildon-check-button.h
6491 * src/hildon-check-button.c
6492 (hildon_check_button_set_label, hildon_check_button_get_label):
6493 Set as deprecated, now we're using gtk_button_{get,set}_label()
6495 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6497 * src/hildon-pannable-area.c,
6498 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6499 GtkTreeview first line we detected it after the inclusion of the
6500 GtkWindowImpl in gtk+. We now check if the window is visible, not
6501 just if the pointer is over the window.
6502 (hildon_pannable_axis_scroll),
6503 (hildon_pannable_area_expose_event): Small style changes.
6505 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6507 * src/hildon-button.c: Update documentation.
6509 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6511 * examples/hildon-button-example.c: Add a switch to show images in
6514 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6516 * doc/hildon-docs.sgml: Some docs reorganization.
6518 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6520 * examples/hildon-pannable-area-touch-list-example.c
6522 * examples/hildon-pannable-area-touch-grid-example.c
6523 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6524 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6525 Fix memory leak when setting the tree model.
6527 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6531 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6533 * doc/hildon.types: Remove duplicated hildon_window_get_type
6534 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6535 documentation comment.
6537 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6539 * doc/Makefile.am: Complete list of private headers.
6541 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6543 * doc/hildon-docs.sgml
6544 * src/hildon-app-menu.c
6545 * src/hildon-bread-crumb.c
6546 * src/hildon-button.c
6548 * src/hildon-program.c
6549 * src/hildon-stackable-window.c
6550 * src/hildon-window.c: Lots of documentation updates.
6552 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6554 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6556 * configure.ac: Require Gtk+ 2.12.9 at least
6558 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6560 * src/hildon-pannable-area.c
6561 (hildon_pannable_area_scroll_indicator_fade),
6562 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6563 to protect the return of this timeout callbacks, avoiding deadlocks.
6565 2008-08-12 Christian Dywan <christian@imendio.com>
6568 * src/hildon-*.h: Ensure a consistent include order,
6569 include <gtk/gtk.h> instead of particular files and
6570 only include the topmost header in the gtk stack. See NB #39857
6572 2008-08-12 Christian Dywan <christian@imendio.com>
6574 * src/hildon-picker-dialog.c
6575 * src/hildon-touch-selector.c: Fix warnings about unused and
6576 uninitialized variables.
6578 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6580 * examples/Makefile.am
6581 * examples/hildon-check-button-example.c: Example of the hildon
6584 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6586 * src/hildon-window.h
6587 * src/hildon-window.c (hildon_window_class_init)
6588 (hildon_window_unset_program): Don't make
6589 hildon_window_unset_program a virtual function anymore.
6591 * src/hildon-stackable-window.c: Update documentation
6593 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6596 * doc/hildon-docs.sgml
6597 * doc/visual_index.xml
6598 * src/hildon-defines.c
6600 * src/hildon-helper.c
6601 * src/hildon-range-editor.c: Lots of documentation fixes.
6603 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6605 * examples/hildon-picker-button-multicolumn-example.c
6606 (create_touch_selector): Fix compilation warning.
6608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6611 (hildon_pannable_area_button_release_cb)
6612 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6614 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6616 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6619 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6621 * src/hildon-bread-crumb-trail.h
6622 * src/hildon-date-editor.c
6623 * src/hildon-date-selector.c
6624 * src/hildon-pannable-area.c
6625 * src/hildon-picker-dialog.c
6626 * src/hildon-time-selector.c
6627 * src/hildon-touch-selector-entry.c
6628 * src/hildon-touch-selector.c
6629 * src/hildon-touch-selector.h: Misc documentation fixes
6631 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6633 * examples/hildon-date-editor-example.c (main): Updated date
6636 * examples/hildon-note-example.c (on_confirmation_clicked):
6637 Updated confirmation note example.
6639 * src/hildon-date-editor.c
6640 * src/hildon-note.c: Updated sample programs in documentation.
6643 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6645 * src/hildon-date-button.h:
6646 * src/hildon-picker-button.h:
6647 * src/hildon-time-button.c:
6648 * src/hildon-time-button.h:
6650 Some declarations changes to allow gtk-doc to document the widgets
6653 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6655 * src/hildon-date-button.c: Document the widget.
6656 * src/hildon-time-button.c: Document the widget.
6658 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-picker-button.c: Document the widget.
6661 * src/hildon-touch-selector-entry.c: Document the widget.
6663 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6665 * doc/hildon-docs.sgml
6668 * src/hildon-check-button.h
6669 * src/hildon-check-button.c: New functions to create the Hildon
6673 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6675 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6677 * src/hildon-button.h
6678 * src/hildon-button.c
6679 (hildon_button_add_title_size_group)
6680 (hildon_button_add_value_size_group)
6681 (hildon_button_add_image_size_group)
6682 (hildon_button_add_size_groups): New functions to set size groups
6683 for the button labels and image.
6684 (hildon_button_new_full): Removed
6686 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6688 * src/hildon-time-selector.c
6689 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6690 in order to avoid a crash if gconf is not available
6692 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6694 * src/hildon-button.c (hildon_button_set_arrangement)
6695 (hildon_button_construct_child): Don't construct the button child
6696 before setting the arrangement.
6698 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6700 * src/hildon-program-private.h
6701 * src/hildon-program.c
6702 * src/hildon-program.h
6703 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6704 (hildon_program_peek_window_stack)
6705 (hildon_program_pop_window_stack)
6706 (hildon_program_go_to_root_window): HildonProgram now has a
6707 separate list for stackable windows. Functions are provided to
6708 manage that list with a stack-like API.
6710 * src/hildon-stackable-window.c: Stackable window management is
6711 now much simpler with the new HildonProgram API. Windows no
6712 longer need to be manually added to the program, they're
6713 automatically pushed to the top of the stack when shown.
6715 * examples/hildon-stackable-window-example.c: Updated example to
6716 reflect the API changes.
6718 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6720 * src/hildon-touch-selector.c: Comment out unimplemented
6721 hildon_touch_selector_insert_column() to avoid a compile warning.
6723 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6725 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6726 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6727 (hildon_touch_selector_set_column_selection_mode),
6728 (_hildon_touch_selector_set_model),
6729 (hildon_touch_selector_set_model):
6731 Complete review of HildonTouchSelector documentation.
6733 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6735 * doc/hildon-docs.sgml
6739 * src/hildon-gtk.c: Convenience functions for standard Gtk
6740 widgets, used to easily perform frequent operations.
6742 * src/hildon-button-helpers.h
6743 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6745 * src/hildon-helper.h
6746 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6747 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6749 * src/hildon-button.h
6750 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6752 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6754 * src/hildon-button.c (hildon_button_init)
6755 (hildon_button_set_arrangement, hildon_button_construct_child):
6756 Pack the image and the labels inside the same GtkAlignment so
6757 gtk_button_set_alignment() can be used
6759 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6761 * src/hildon-button.h
6762 * src/hildon-button.c
6763 (hildon_button_init, hildon_button_set_image)
6764 (hildon_button_set_image_position)
6765 (hildon_button_construct_child): New functions to add an image to
6768 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6770 * src/hildon-date-button.c
6771 * src/hildon-picker-button.c
6772 * src/hildon-time-button.c
6773 * src/hildon-button.c:
6774 (hildon_button_class_init): "size-flags" renamed to "size"
6775 (hildon_button_set_title): Hide the title label if set to NULL.
6777 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6779 HildonButtonFlags split into HildonButtonArrangement (to set the
6780 button layout) and HildonSizeType (which can be used for any
6783 * src/hildon-button.h
6784 * src/hildon-button.c
6785 (hildon_button_class_init)
6786 (hildon_button_set_arrangement)
6787 (hildon_button_set_property): New "size-flags"
6788 property. "arrangement-flags" renamed to "arrangement".
6789 (hildon_button_new, hildon_button_new_with_text)
6790 (hildon_button_new_full): Constructors updated to reflect type changes.
6792 * src/hildon-helper.h
6793 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6794 to set the size of a widget.
6798 * src/hildon-button-helpers.c
6799 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6801 * src/hildon-date-button.c
6802 * src/hildon-date-button.h
6803 * src/hildon-picker-button.c
6804 * src/hildon-picker-button.h
6805 * src/hildon-time-button.c
6806 * src/hildon-time-button.h: Updated widgets to reflect
6807 HildonButton API changes.
6809 * examples/hildon-button-example.c
6810 * examples/hildon-date-button-example.c
6811 * examples/hildon-picker-button-example.c
6812 * examples/hildon-picker-button-multicolumn-example.c
6813 * examples/hildon-time-button-example.c
6814 * examples/hildon-touch-selector-entry-example.c
6815 * examples/hildon-touch-selector-example.c: Updated examples to
6816 reflect HildonButton API changes.
6818 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6820 * doc/hildon-docs.sgml:
6822 * examples/Makefile.am:
6823 * examples/hildon-touch-selector-entry-example.c:
6825 * src/hildon-touch-selector-entry.c:
6826 * src/hildon-touch-selector-entry.h:
6829 Moved HildonTouchSelectorEntry from sandbox. Added its
6830 documentation and examples.
6832 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6834 * src/hildon-touch-selector.h:
6835 * examples/hildon-picker-button-multicolumn-example.c:
6836 (hildon_touch_selector_append_text_column): Add a gboolean
6837 parameter to determine if text must be centered in the column.
6839 * src/hildon-date-selector.c: (hildon_date_selector_init):
6840 * src/hildon-time-selector.c: (hildon_time_selector_init):
6841 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6842 (create_touch_selector): Update widgets and example to reflect
6845 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6847 * src/hildon-touch-selector.c:
6848 (hildon_touch_selector_set_active_iter): Set also the cursor in
6851 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6853 * doc/hildon-docs.sgml
6856 * src/hildon-toggle-button.c
6857 * src/hildon-toggle-button.h
6858 * src/hildon.h: Removed HildonToggleButton widget, a derived
6859 class is not necessary for this.
6861 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6863 * src/hildon-pannable-area.c,
6864 (hildon_pannable_area_realize),
6865 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6868 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6870 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6871 "done" button the default widget for the dialog.
6873 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6875 * src/hildon-touch-selector.c:
6876 (hildon_touch_selector_class_init),
6877 (hildon_touch_selector_get_property),
6878 (_hildon_touch_selector_set_model),
6879 (_hildon_touch_selector_has_multiple_selection),
6880 (hildon_touch_selector_has_multiple_selection):
6881 Add a "has-multiple-selection" property with a virtual
6882 has_multiple_selection() method to allow derived classes to
6883 override the default value for it. See the method and property
6884 documentation for details.
6886 * src/hildon-touch-selector.h: Add the new API.
6888 * src/hildon-picker-dialog.c: (requires_done_button): Call
6889 hildon_touch_selector_has_multiple_selection() instead of
6890 determining the need for a button itself.
6892 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6894 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6895 (_hildon_touch_selector_set_model),
6896 (hildon_touch_selector_set_model): Move working code to
6897 _hildon_touch_selector_set_mode(). Call the class method instead.
6899 * src/hildon-touch-selector.h: Add (*set_model) to
6900 HildonTouchSelectorClass.
6902 Make hildon_touch_selector_set_model() a virtual method, so that
6903 derived classes can extend it and do fancy stuff with the model.
6905 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6907 * configure.ac: Set back the tarname in AC_INIT to hildon.
6909 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6913 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6914 instead of libesd (NB#86876). Volume handling is still an open issue.
6916 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6919 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6921 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6922 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6923 derived class to ease placement of an entry widget in
6924 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6925 end, where the selector columns are packed now.
6927 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6929 * src/hildon-picker-button.c: Removed the simple _text() API.
6930 * src/hildon-picker-button.h: Likewise.
6932 * src/hildon-touch-selector.h:
6933 * src/hildon-touch-selector.c:
6934 (hildon_touch_selector_new_text),
6935 (hildon_touch_selector_append_text),
6936 (hildon_touch_selector_prepend_text),
6937 (hildon_touch_selector_insert_text):
6939 Moved the simple _text() API from HildonPickerButton to
6940 HildonTouchPicker, to provide better escalability and not to tie
6941 that API to HildonPickerButton.
6943 * examples/hildon-picker-button-example.c: (main): Example updated.
6945 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6947 * src/hildon-button.c: Updated documentation.
6949 * examples/hildon-button-example.c: Add the posibility to create
6950 the buttons using horizontal layout for title and value.
6952 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6954 * src/hildon-app-menu-private.h
6955 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6956 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6957 GtkSizeGroup for the filters, use the 'homogeneous' property of
6960 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6962 * examples/hildon-button-example.c: Updated example.
6964 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6966 * doc/hildon-docs.sgml:
6969 Update documentation.
6971 * examples/Makefile.am: Update renamed examples.
6973 * examples/hildon-picker-button-multicolumn-example.c:
6974 (create_touch_selector), (main): Update after the rename.
6976 * examples/hildon-touch-picker-example.c: Removed.
6977 * examples/hildon-touch-selector-example.c: (value_changed),
6978 (create_selector), (get_visible_content), (main): Renamed from
6979 hildon-touch-picker-example.c
6981 * src/Makefile.am: Updated renamed files.
6983 * src/hildon-date-button.c: (hildon_date_button_init),
6984 (hildon_date_button_get_date), (hildon_date_button_set_date):
6985 * src/hildon-date-selector.c: (hildon_date_selector_init),
6986 (_custom_print_func), (_update_day_model),
6987 (_manage_selector_change_cb),
6988 (hildon_date_selector_select_current_date),
6989 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6990 * src/hildon-date-selector.h:
6991 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6992 (hildon_picker_button_set_property),
6993 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6994 (hildon_picker_button_init), (hildon_picker_button_new_text),
6995 (hildon_picker_button_append_text),
6996 (hildon_picker_button_prepend_text),
6997 (hildon_picker_button_insert_text),
6998 (hildon_picker_button_set_selector),
6999 (hildon_picker_button_get_selector):
7000 * src/hildon-picker-button.h:
7001 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7002 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7003 (_update_title_on_selector_changed_cb), (requires_done_button),
7004 (_hildon_picker_dialog_set_selector),
7005 (hildon_picker_dialog_set_selector),
7006 (hildon_picker_dialog_get_selector):
7007 * src/hildon-picker-dialog.h:
7008 * src/hildon-time-button.c: (hildon_time_button_init),
7009 (hildon_time_button_get_time), (hildon_time_button_set_time):
7010 * src/hildon-time-selector.c: (hildon_time_selector_init),
7011 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7012 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7013 * src/hildon-time-selector.h:
7016 Massive code updates after the rename.
7018 * src/hildon-touch-picker.c: Removed.
7019 * src/hildon-touch-picker.h: Removed.
7021 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7022 (hildon_touch_selector_init), (hildon_touch_selector_map),
7023 (hildon_touch_selector_remove), (_default_print_func),
7024 (_selection_changed_cb), (_create_new_column),
7025 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7026 (hildon_touch_selector_append_text_column),
7027 (hildon_touch_selector_remove_column),
7028 (hildon_touch_selector_set_column_attributes),
7029 (hildon_touch_selector_insert_column),
7030 (hildon_touch_selector_get_num_columns),
7031 (hildon_touch_selector_get_column_selection_mode),
7032 (hildon_touch_selector_set_column_selection_mode),
7033 (hildon_touch_selector_set_print_func),
7034 (hildon_touch_selector_get_print_func),
7035 (hildon_touch_selector_get_active_iter),
7036 (hildon_touch_selector_set_active_iter),
7037 (hildon_touch_selector_get_selected_rows),
7038 (hildon_touch_selector_get_model),
7039 (hildon_touch_selector_set_model),
7040 (hildon_touch_selector_get_current_text),
7041 (_hildon_touch_selector_center_on_selected_items):
7042 * src/hildon-touch-selector.h: Renamed from
7043 hildon-touch-picker.[ch]
7045 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7046 references, code examples, and related documentation.
7048 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7050 * doc/hildon-docs.sgml
7053 * src/hildon-toggle-button.c
7054 * src/hildon-toggle-button.h
7055 * src/hildon.h: New HildonToggleButton widget.
7057 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-button.c: Add API documentation.
7060 (hildon_button_set_size_groups): Check input parameters
7062 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7064 * src/hildon-pannable-area.c
7065 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7066 effect after reaching the movement thredshold. This way we start
7067 using the distance after passing the thredshold.
7069 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7071 * src/hildon-button.c: (hildon_button_set_property): Use the
7072 appropriate g_value_get_flags() method.
7074 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7076 * doc/hildon-docs.sgml:
7079 Add the touch pickers, picker dialogs, and picker button widgets
7080 to the documentation.
7082 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7084 * src/hildon-button.c: (hildon_button_set_property),
7085 (hildon_button_class_init): Make "arrangement-flags" a proper
7086 G_TYPE_FLAGS derived property.
7088 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7090 * examples/Makefile.am: Add below examples.
7091 * examples/hildon-date-button-example.c:
7092 * examples/hildon-picker-button-example.c:
7093 * examples/hildon-picker-button-multicolumn-example.c:
7094 * examples/hildon-time-button-example.c:
7095 * examples/hildon-touch-picker-example.c:
7097 Add examples for the recently added touch pickers,
7098 picker dialogs, and picker button widgets.
7100 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7102 * src/hildon-button.c: Add some API documentation
7104 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7106 * src/hildon-button.h
7107 * src/hildon-button.c
7109 (hildon_button_new_with_text): New constructor to create a button
7110 with no text at all.
7111 (hildon_button_init, hildon_button_set_arrangement)
7112 (hildon_button_set_title, hildon_button_set_value)
7113 (hildon_button_set_text)
7114 (hildon_button_construct_child): Hide the value when it's not used
7115 so the rest of the text is properly aligned.
7116 Allow creating buttons with arbitrary widgets inside (not just
7117 title/value labels).
7119 * examples/hildon-button-example.c (vertical_buttons_window)
7120 (horizontal_buttons_window): Update example to use new API.
7122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7124 * src/Makefile.am: Added HildonTimeButton.
7125 * src/hildon-time-button.c: Added missing LGPL header.
7126 * src/hildon-time-button.h: Added missing LGPL header.
7127 * src/hildon.h: Add hildon-time-button.h
7129 Copied HildonTimeButton from sandbox to trunk. Future work on this
7130 widget must take place in trunk.
7132 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7134 * src/Makefile.am: Added HildonDateButton.
7135 * src/hildon-date-button.c: Update includes.
7136 * src/hildon.h: Add hildon-date-button.h
7138 Copied HildonDateButton from sandbox to trunk. Future work on this
7139 widget must take place in trunk.
7141 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7143 * src/Makefile.am: Added HildonPickerButton.
7144 * src/hildon-picker-button.h: Update includes.
7145 * src/hildon.h: Add hildon-picker-button.h
7147 Copied HildonPickerButton from sandbox to trunk. Future work on
7148 this widget must take place in trunk.
7150 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7152 * src/Makefile.am: Added HildonPickerDialog.
7153 * src/hildon-picker-dialog.c: Update includes.
7154 * src/hildon.h: Add hildon-picker-dialog.h
7156 Copied HildonPickerDialog from sandbox to trunk. Future work
7157 on this widget must take place in trunk.
7159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7161 * src/Makefile.am: Added HildonTimeSelector.
7162 * src/hildon.h: Add hildon-time-selector.h
7164 Copied HildonTimeSelector widget from sandbox to trunk. Future
7165 work on this widget must happen in trunk.
7167 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/Makefile.am: Added HildonDateSelector.
7170 * src/hildon.h: Add hildon-date-selector.h
7172 Copied HildonDateSelector widget from sandbox to trunk. Future
7173 work on this widget must happen in trunk.
7175 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7177 * src/Makefile.am: Added HildonTouchPicker.
7178 * src/hildon-touch-picker.c: Update includes.
7179 * src/hildon.h: Add hildon-touch-picker.h
7181 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7182 on this widget must happen in trunk.
7184 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7186 * src/hildon-pannable-area.c:
7187 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7189 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7191 * examples/hildon-app-menu-example.c (main): Let the window
7194 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7196 * src/hildon-pannable-area.c
7197 (hildon_pannable_area_class_init): Set the min value of the
7198 overshoot properties to zero, which points out that not
7199 overshooting allowed.
7201 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7203 Modified the procedure to get the widget at a point inside the
7204 pannable area when using the movement type signals. Now the user
7205 has to call a function to get the child, that way we just
7206 calculate the child in case the user really want to use it and not
7209 * src/hildon-marshalers.list: Modified the marshallers, now we do
7210 not have the widget as a parameter.
7212 * src/hildon-pannable-area.c
7213 (hildon_pannable_area_motion_notify_cb),
7214 (hildon_pannable_area_class_init),
7215 (hildon_pannable_get_child_widget_at): Removed the widget
7216 parameter from the signal callback. We have also refactored the
7217 emission of the signals.
7219 * src/hildon-pannable-area.h: Added a new method to the API to
7220 calculate a widget at a point inside the pannable area,
7221 hildon_pannable_get_child_widget_at.
7223 * examples/hildon-pannable-area-example-4.c
7224 (horizontal_movement): Modified the example to use the new API,
7225 added condition to control which widget is under the event. This
7226 way we can avoid scrolling laterally over other widgets.
7228 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7230 * src/hildon-pannable-area.c
7231 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7232 modes, we stop getting the pointer events due to returning the
7233 callback without properly calling the get pointer again. Fixed
7234 also an error using the hscroll and vscroll.
7236 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7238 * src/hildon-app-menu-private.h
7239 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7240 (hildon_app_menu_button_release, hildon_app_menu_init)
7241 (hildon_app_menu_class_init): Don't hide the menu on button
7242 release if the user didn't press outside first.
7244 * src/hildon-window.h
7245 * src/hildon-window.c (hildon_window_toggle_menu)
7246 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7247 hildon_window_toggle_menu a virtual function for the stackable
7248 window to override it.
7250 * src/hildon-stackable-window.h
7251 * src/hildon-stackable-window-private.h
7252 * src/hildon-stackable-window.c
7253 (hildon_stackable_window_realize)
7254 (hildon_stackable_window_finalize)
7255 (hildon_stackable_window_class_init)
7256 (hildon_stackable_window_init)
7257 (hildon_stackable_window_set_main_menu): New function to set the
7258 app menu of a HildonStackableWindow.
7260 * examples/hildon-app-menu-example.c: Remove the button to show
7261 the app menu, now it'll be shown when clicking on the title bar
7264 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7267 set the widget name if the arrangement flags do not specify
7270 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7272 * src/hildon-button.c: (hildon_button_set_property),
7273 (hildon_button_class_init), (hildon_button_new_full),
7274 (hildon_button_set_arrangement): Added "arrangement-flags"
7277 Make the HildonButtonFlags a construction-only property, to allow
7278 subclasses to set them properly.
7280 2008-07-21 Tim Janik <timj@imendio.com>
7282 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7283 insertion position after backspace, so additional digits are appended,
7286 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7288 * src/hildon-pannable-area.c,
7289 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7290 TODO list, it was complete and removed the g_debug and g_print
7293 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7295 Added the movement modes to the hildon-pannable-area, with this
7296 modes the developers can control in which directions the widget
7297 can scroll. They can also connect to signals in order to do
7298 something when that happens, allowing applications scroll. There
7299 is an example uploaded showing how to use it.
7301 * examples/Makefile.am:
7302 * examples/hildon-pannable-area-example-4.c: Added this example of
7303 an application using the modes.
7305 * src/hildon-marshalers.list: Added a new marshaller for the new
7308 * src/hildon-pannable-area.h: Added new enumerations and flags in
7309 order to control the movement modes and the new signals to warn
7310 about the movements in the area.
7312 * src/hildon-pannable-area.c:
7313 (hildon_pannable_axis_scroll),
7314 (hildon_pannable_area_scroll),
7315 (hildon_pannable_area_motion_notify_cb),
7316 (hildon_pannable_area_get_property),
7317 (hildon_pannable_area_set_property),
7318 (hildon_pannable_area_map),
7319 (hildon_pannable_area_class_init),
7320 (hildon_pannable_area_init),
7321 (hildon_pannable_area_jump_to): Added the modes to control the
7322 movement in the widget. We have added properties to control it,
7323 signals to warn about the movements and refactored some code.
7325 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7327 Changes required in order to allow vfast_factor set to zero to
7330 * src/hildon-pannable-area.c:
7331 (hildon_pannable_area_button_press_cb): Changed the condition, it
7332 is required for not allowing click when vfast_factor is zero.
7333 (hildon_pannable_area_timeout): Initialized velocity variables
7334 when we stop moving, it was less than 1 but not zero and we need
7335 to check zero in some situations.
7336 (hildon_pannable_area_class_init): Changed the default value of
7337 the speed factor, now the button_press is just sent in case the
7338 speed is 2 per cent of the max speed.
7339 (hildon_pannable_area_init): Initialization with 0.
7341 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7343 * src/hildon-pannable-area.c,
7344 (hildon_pannable_area_get_topmost): replaced
7345 gdk_window_get_children with gdk_window_peek_children, this way we
7346 do not have to free the list because it is not a copy.
7348 (hildon_pannable_axis_scroll),
7349 (hildon_pannable_area_scroll),
7350 (hildon_pannable_area_timeout),
7351 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7352 two parameters that were only used inside the
7353 hildon_pannable_area_scroll function.
7355 * examples/hildon-pannable-area-example.c,
7356 (get_sawtooth_label): Fixed small memory leak.
7358 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7360 More checks for the case where the overshoot is bigger than the
7363 * src/hildon-pannable-area.c:
7364 (hildon_pannable_draw_vscroll),
7365 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7366 to draw the slider of the scrollbar under the other scrollbar.
7367 (hildon_pannable_area_expose_event): added new checks to control
7368 the drawing of the overshooting area rectangle, in case it is too
7369 big for the area of the widget.
7370 (hildon_pannable_area_size_allocate): add more checks to avoid
7371 setting a position to the child widget outside the area.
7373 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7375 * src/hildon-pannable-area.c
7376 (hildon_pannable_area_size_allocate): Added conditions to control
7377 when overshooting is bigger than the allocated space for the
7378 children, this avoids negative allocations.
7380 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7382 * doc/hildon-docs.sgml
7384 * examples/Makefile.am
7385 * examples/hildon-button-example.c
7387 * src/hildon-button.c
7388 * src/hildon-button.h
7389 * src/hildon.h: Initial version of the new HildonButton widget,
7392 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7394 * src/hildon-pannable-area.c:
7395 (hildon_pannable_area_button_press_cb),
7396 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7397 (hildon_pannable_area_motion_notify_cb),
7398 (hildon_pannable_area_button_release_cb),
7399 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7400 (hildon_pannable_area_jump_to_child):
7402 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7404 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7406 * examples/Makefile.am
7407 * examples/hildon-pannable-area-touch-grid-example.c
7408 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7409 the Hildon Touch List and Hildon Touch Grid using the
7410 HildonPannableArea widget.
7412 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7414 * src/hildon-pannable-area.c,
7415 (hildon_pannable_area_button_press_cb),
7416 (hildon_pannable_area_refresh),
7417 (hildon_pannable_area_scroll),
7418 (hildon_pannable_area_motion_notify_cb),
7419 (hildon_pannable_area_button_release_cb),
7420 (hildon_pannable_area_expose_event),
7421 (hildon_pannable_area_add),
7422 (hildon_pannable_area_remove),
7423 (hildon_pannable_area_realize),
7424 (hildon_pannable_area_size_allocate),
7425 (hildon_pannable_area_class_init),
7426 (hildon_pannable_area_init),
7427 (hildon_pannable_area_scroll_to_child),
7428 (hildon_pannable_area_jump_to_child): Fixed the problem of
7429 removing the child from the GtkBin, we have rearranged the widget
7430 hierarchy, now there is no GtkAlignment which was not doing
7431 anything interesting but breaking some of the assumptions of
7432 GtkContainer. Now developers if they want to add a GtkAlignment
7433 they could, but it is not inside the area.
7435 We had to review the whole allocation/expose process, now it is
7436 improved and we save at least three signals which would be saving
7437 some time when rendering the widget. The allocation of the
7438 scrollbars is now made in the allocate method as usual.
7440 We have also added some conditions in order to control when there
7441 is no child of the pannable area. Maybe we will need more work
7444 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7446 * src/hildon-pannable-area.c,
7447 (hildon_pannable_area_dispose): Released the fade-out timeout when
7448 disposing the widget.
7450 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7452 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7453 zero, we are going to use that property in order to deactivate the
7455 (hildon_pannable_axis_scroll),
7456 (hildon_pannable_area_size_allocate): Added conditions to control
7457 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7458 call, now it is called in all situations and we can remove calls
7459 in the allocate method.
7460 (hildon_pannable_area_map): Control the situation when
7461 overshoot_max is zero, we do not need the timeout.
7462 (hildon_pannable_area_class_init): Added documentation in order to
7463 point out that setting zero to overshoot_max means deactivate
7466 NOTE: removed trailing whitespaces from my previous comments of
7469 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7471 * src/hildon-pannable-area.c
7472 (hildon_pannable_area_get_property),
7473 (hildon_pannable_area_set_property),
7474 (hildon_pannable_area_map),
7475 (hildon_pannable_area_class_init),
7476 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7477 to cause the widget give a hint about its panning abilities upon
7480 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7482 * src/hildon-pannable-area.c: Several documentation improvements.
7484 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7486 * src/hildon-program.c
7487 * src/hildon-stackable-window.c: Update documentation.
7489 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7491 * src/hildon-stackable-window.c (get_previous_window_if_last):
7492 Renamed get_last_window()
7493 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7494 (hildon_stackable_window_unset_program):
7496 (get_previous_window_if_last):
7497 Detect if the window hasn't been added to a HildonProgram.
7499 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7501 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7503 * src/hildon-pannable-area.c
7504 (hildon_pannable_area_button_press_cb),
7505 (hildon_pannable_axis_scroll),
7506 (hildon_pannable_area_scroll),
7507 (hildon_pannable_area_timeout),
7508 (hildon_pannable_calculate_vel_factor),
7509 (hildon_pannable_area_get_property),
7510 (hildon_pannable_area_set_property),
7511 (hildon_pannable_area_class_init),
7512 (hildon_pannable_area_init),
7513 (hildon_pannable_area_scroll_to),
7514 (hildon_pannable_area_jump_to),
7515 (hildon_pannable_area_scroll_to_child),
7516 (hildon_pannable_area_jump_to_child):
7517 * src/hildon-pannable-area.h: Added the new API functions:
7518 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7519 hildon_pannable_area_scroll_to_child,
7520 hildon_pannable_area_jump_to_child
7523 * examples/Makefile.am
7524 * examples/hildon-pannable-area-example-2.c
7525 * examples/hildon-pannable-area-example-3.c: Added these two new
7526 examples in order to test and show how the new APIs work.
7528 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7530 * examples/hildon-stackable-window-example.c (new_window):
7531 * src/Makefile.am (noinst_HEADERS):
7532 * src/hildon-program.c (hildon_program_go_to_root_window):
7533 * src/hildon-program.h:
7534 * src/hildon-stackable-window-private.h:
7535 * src/hildon-stackable-window.c:
7536 * src/hildon-stackable-window.h:
7537 Create hildon-stackable-window-private.h
7538 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7540 * examples/hildon-app-menu-example.c (create_menu):
7541 * examples/hildon-hvolumebar-insensitive-example.c (main):
7542 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7543 * examples/hildon-toolbar-seekbar-example.c (main):
7544 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7545 * src/hildon-banner.c (hildon_banner_set_property):
7546 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7547 Fix compilation warnings
7549 * src/hildon-window.c:
7552 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7554 * src/hildon-stackable-window.c
7555 (hildon_stackable_window_unset_program):
7556 Calculate correctly whether to show the previous window if the
7557 last one is removed from the stack.
7558 (hildon_stackable_window_go_to_root_window):
7559 Send delete events starting from the topmost window.
7560 Stop if one of the windows is not destroyed.
7562 (hildon_stackable_window_delete_event)
7563 (hildon_stackable_window_class_init):
7564 Ignore the delete event if the window is not the topmost one.
7566 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7568 * src/hildon-pannable-area.c
7569 (hildon_pannable_area_expose_event): Fixed a problem when
7570 selecting the background color of the scrollbars.
7572 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7574 * examples/hildon-stackable-window-example.c
7575 * src/hildon-stackable-window.c
7576 * src/hildon-stackable-window.h
7577 hildon_stackable_window_go_home() renamed to
7578 hildon_stackable_window_go_to_root_window()
7579 Send delete events to windows rather than closing them with
7580 gtk_widget_destroy()
7582 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7584 * src/hildon-pannable-area.c
7585 (hildon_pannable_area_button_release_cb): Fix overshooting in
7588 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7590 * src/hildon-pannable-area.c
7591 (hildon_pannable_area_init): Initially show the scroll indicators.
7592 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7594 Add initial effect showing the widget is pannable.
7596 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7598 * src/hildon-pannable-area.c
7599 (hildon_pannable_area_class_init)
7600 (hildon_pannable_area_set_property)
7601 (hildon_pannable_area_get_property)
7602 (hildon_pannable_area_button_press_cb):
7603 New 'velocity_fast_factor' property to decide which velocity is
7606 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7608 * src/hildon-pannable-area.c
7609 (hildon_pannable_draw_hscroll)
7610 (hildon_pannable_draw_vscroll):
7611 Use float variables to calculate the size of the scrollbars to
7612 avoid error propagation and resizing during scrolling.
7614 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7616 * src/hildon-pannable-area.c
7617 (hildon_pannable_draw_vscroll)
7618 (hildon_pannable_draw_hscroll):
7619 Define a minimum size for the scroll bars
7621 * src/hildon-stackable-window.c
7622 (hildon_stackable_window_go_home): Fix compilation warning
7623 (get_last_window): Minor optimizations
7624 (hildon_stackable_window_class_init): Fix initialization of
7627 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7629 * src/hildon-stackable-window.c: Fixed typos in doc
7631 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7633 * src/hildon-pannable-area.c
7634 (hildon_pannable_area_scroll):
7635 Calculate here whether we need to scroll instead of using the booleans
7636 that tell us whether to /draw/ the scrolling bars.
7638 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7640 * src/hildon-app-menu.h
7642 * src/hildon-app-menu.c
7643 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7644 multiple filter groups related code and API. Now we support only
7646 * examples/hildon-app-menu-example.c:
7648 Update to reflect API changes.
7650 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/hildon-stackable-window.c
7653 (hildon_stackable_window_class_init):
7654 Add hildon_stackable_window_realize.
7655 (hildon_stackable_window_realize):
7656 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7657 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7658 to apply theming and behavior specific to HildonStackableWindow
7661 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7663 * src/hildon-note.c (hildon_note_button_release):
7664 Close information notes also when tapping on them
7666 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7668 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7669 ELASTICITY, refactor and review, fix some issues with drawing
7672 * src/hildon-pannable-area.c:
7673 (hildon_pannable_area_button_press_cb): removed the conditions to
7674 avoid clicks when overshooting. It is not required
7676 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7677 define. Refatored and reviewed the code, now we do not need to
7678 manage velocity in motion_notify.
7680 (hildon_pannable_area_motion_notify_cb): We have moved the code
7681 that controls the area_scroll to the axis_scroll function and get
7682 rid of duplicated code.
7684 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7686 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7688 (hildon_pannable_draw_vscroll),
7689 (hildon_pannable_draw_hscroll): Fixed the problems with the
7690 scrollbar drawing, now we do not use two surfaces, it is easier
7691 and saves resources.
7693 (hildon_pannable_area_get_property): Style modification.
7695 (hildon_pannable_area_class_init): Changed some default values.
7697 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7699 * src/hildon-stackable-window.c: Fix some typos in the
7702 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7704 * src/hildon-dialog.c:
7705 Change indentation style
7708 (hildon_note_button_release):
7709 Use root coordinates to check if the release event happened
7712 * src/hildon-app-menu.c
7713 (hildon_app_menu_button_release):
7714 Remove unnecessary check
7716 * examples/hildon-app-menu-example.c
7718 Add cast to fix warning
7720 * src/hildon-app-menu.c
7721 (hildon_app_menu_class_init):
7722 New inner-border style property.
7723 Set all default spacings to 16
7724 (hildon_app_menu_init):
7725 Use vertical-spacing to set the space between filter buttons and
7726 regular menu buttons.
7727 Set the default container border using the inner-border value.
7729 * examples/hildon-app-menu-example.c
7731 Don't set the menu border explicitly, now we have the inner-border
7732 style property for that.
7734 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7736 * src/hildon-app-menu.c (hildon_app_menu_init):
7737 Make the window modal
7739 * src/hildon-note.c (hildon_note_map)
7740 * src/hildon-app-menu.c (hildon_app_menu_map):
7741 Destroy the grab window if we're unable to grab the pointer
7743 * src/hildon-app-menu-private.h
7744 * src/hildon-app-menu.c
7745 (hildon_app_menu_init, hildon_app_menu_finalize)
7746 (hildon_app_menu_map, hildon_app_menu_unmap)
7747 (hildon_app_menu_button_release)
7748 (grab_transfer_window_get):
7749 Bring back the grab window
7750 (hildon_app_menu_realize):
7751 Decorate the window, set WM hint for Matchbox
7753 * src/hildon-note.c (hildon_note_realize):
7754 * src/hildon-banner.c (hildon_banner_realize):
7755 Add WM hints for Matchbox
7757 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7759 * src/hildon-app-menu-private.h
7760 * src/hildon-app-menu.c
7761 (hildon_app_menu_init, hildon_app_menu_finalize)
7762 (hildon_app_menu_map, hildon_app_menu_unmap)
7763 (hildon_app_menu_button_release):
7764 Remove the grab window, it's not needed anymore
7766 * src/hildon-program.c
7767 Fixed typo in documentation
7769 * src/hildon-app-menu.h
7770 * src/hildon-app-menu.c
7771 * examples/hildon-app-menu-example.c
7772 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7774 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7777 Added new transfer_window and close_if_pressed_outside private
7779 (hildon_note_rebuild):
7780 Don't add a cancel button to the information note. It will be
7781 closed when tapping outside
7782 Remove the comment about the OK button in the documentation
7783 (hildon_note_realize):
7784 Set the notification type hint
7785 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7786 Grab/ungrab pointer and keyboard if the note has to be closed when
7788 (hildon_note_button_release):
7789 Close the note when tapping outside (if applicable)
7791 * src/hildon-app-menu.c
7792 Grab/ungrab pointer and keyboard on map/unmap
7793 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7794 Close the menu on button release, not button press
7796 * src/hildon-banner.c
7797 (hildon_banner_set_property)
7798 (hildon_banner_check_position):
7799 Make the banner use the full width of the screen
7800 (hildon_banner_show_information)
7801 (hildon_banner_show_information_with_markup):
7802 Don't display an icon by default
7804 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7806 Added fading scrollbars and adapted all the overshooting code to
7807 horizontal scrolling. We have also fixed bugs with overshooting
7808 and current fading implementation.
7810 * src/hildon-pannable-area.c
7811 (hildon_pannable_area_scroll_indicator_fade): Time out function
7812 used to change the transparency of the scrollbars.
7814 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7815 control and fixed a problem with fading, we now remove the fade
7816 timeout before adding a new one.
7818 (hildon_pannable_axis_scroll):
7819 (hildon_pannable_area_scroll):
7820 (hildon_pannable_area_timeout): Added this functions so we can use
7821 the scroll code both for vertical and horizontal.
7823 (hildon_pannable_area_motion_notify_cb):
7824 (hildon_pannable_area_button_release_cb): Added the horizontal
7825 scrolling control, fixed a problem with the overshooting timeout.
7827 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7828 painting of the scrolls.
7830 (hildon_pannable_draw_vscroll):
7831 (hildon_pannable_draw_hscroll):
7832 (hildon_pannable_area_expose_event):
7833 Draw both scrollbars and rectangles in the overshooting area.
7835 (hildon_pannable_area_get_property):
7836 (hildon_pannable_area_set_property):
7837 Modified the overshoot property to overshoot_max
7839 (hildon_pannable_area_map):
7840 Replaced the comments symbols.
7842 (hildon_pannable_area_size_allocate):
7843 (hildon_pannable_area_class_init):
7844 (hildon_pannable_area_init): Added horizontal scroll, fading
7845 effect properties, fixed a problem when overshooting in the bottom
7848 * examples/hildon-pannable-area-example.c:
7849 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7850 looks better in the example.
7852 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7854 * src/hildon-window.c
7855 * src/hildon-window.h
7856 (hildon_window_class_init)
7857 (hildon_window_unset_program)
7858 (hildon_window_unset_program_real):
7859 Make unset_program a virtual function
7861 * src/hildon-stackable-window.c
7862 * src/hildon-stackable-window.h
7863 Added hildon_stackable_window_go_home()
7865 * examples/Makefile.am
7866 * examples/hildon-stackable-window-example.c
7867 HildonStackableWindow example
7869 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7871 * hildon-pannable-area.c: Added the overshoot property and removed
7872 the OVERSHOOT define. Fixed an indent style error.
7873 (hildon_pannable_area_motion_notify_cb):
7874 (hildon_pannable_area_get_property):
7875 (hildon_pannable_area_set_property): Add overshoot property.
7877 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7880 (hildon_pannable_area_class_init): Installed the new property.
7882 * hildon-pannable-area-example.c: Added a sawtooth function, this
7883 way it is easier to check the movement in the pannable.
7884 (get_sawtooth_label): Added this function.
7885 (main): Now we get the labels from the new get_sawtooth_label
7888 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7890 * src/hildon-app-menu.h
7891 * src/hildon-app-menu.c
7892 Renamed API variables for consistency
7894 (hildon_app_menu_popup): Use also the default window size to
7895 decide where to place the menu
7897 (hildon_app_menu_init, hildon_app_menu_class_init): New
7898 external-border style property
7900 2008-05-26 Michael Natterer <mitch@imendio.com>
7902 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7903 widget_class->tap_and_hold_setup signal slot doesn't exist any
7904 longer, stop overriding it.
7906 (hildon_time_editor_init): g_signal_connect() to the
7907 tap-and-hold-setup signal instead.
7909 (hildon_time_editor_entry_keypress): add cast to fix warning.
7911 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7913 * doc/hildon-docs.sgml
7915 * examples/Makefile.am
7916 * examples/hildon-app-menu-example.c
7918 * src/hildon-app-menu-private.h
7919 * src/hildon-app-menu.c
7920 * src/hildon-app-menu.h
7922 New HildonAppMenu widget
7924 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7926 Rearranged the inheritance of the pannable area, now it inherits
7927 from GtkBin. This will allow us to control the event_window and
7928 the allocation process of the widget, required for some effects.
7930 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7931 GtkBin structures. * src/hildon-pannable-area.c: Added the
7932 event_window variable.
7933 (hildon_pannable_area_button_press_cb):
7934 (hildon_pannable_area_button_release_cb):
7935 (hildon_pannable_area_motion_notify_cb):
7936 Changed the signature of the method, now we override the event
7937 callback instead of connecting to the signal.
7939 (hildon_pannable_area_realize):
7940 (hildon_pannable_area_unrealize):
7941 (hildon_pannable_area_map):
7942 (hildon_pannable_area_unmap):
7943 (hildon_pannable_area_size_allocate):
7944 Added functions to control the widget construction. We add a
7945 INPUT_ONLY window and we put it over the widgets inside the
7946 container, this event_window handles the events.
7948 (hildon_pannable_area_class_init):
7949 Replaced the signal connections with overrides of the event
7952 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7954 Bouncing effect added when touching the borders, you can change
7955 the elasticity of the border changing the ELASTICITY define.
7957 * src/hildon-pannable-area.c: Added ELASTICITY define.
7958 (hildon_pannable_area_timeout): Added inverse velocity when
7959 touching the border of the child widget, that causes a bounce.
7961 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7963 Improved performance, we now do not go to the X server in order to
7964 get the list of window children. Apparently the effect is the
7965 same, we have to be careful and check if this breaks something in
7968 * src/hildon-pannable-area.c:
7969 (get_ordered_children): Removed this function.
7970 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7971 the children windows function with gdk_window_get_children.
7973 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7975 * src/hildon-pannable-area.c:
7976 (hildon_pannable_area_dispose): Fixed a crash when closing the
7977 window and kinetics is activated.
7979 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7981 * src/hildon-pannable-area.h
7982 * src/hildon-pannable-area.c
7983 Changed indentation style to meet the one used in Hildon
7985 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7987 Reviewed the interaction of the AUTO mode, now we use the time
7988 attribute of the events and calculate the velocity in the motion,
7989 doing a gimp like calculation. The velocity is calculated in each
7990 motion event using the last velocity and the current one, the
7991 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7993 * src/hildon-pannable-area.c: Replaced the time based algorithm
7995 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7996 timeout for the AUTO mode when we are still moving the cursor. We
7997 added also the velocity calculation in this function.
7998 (hildon_pannable_area_button_release_cb): launch the timeout in
7999 case we are in AUTO mode. There are still some constants here that
8000 come from the old implementation that should be reviewed and
8003 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8005 * doc/hildon-docs.sgml
8008 * src/hildon-stackable-window.c
8009 * src/hildon-stackable-window.h
8011 New HildonStackableWindow widget
8013 * examples/hildon-dialog-example.c
8014 * examples/hildon-pannable-area-example.c
8017 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8019 * src/hildon-dialog.c
8020 (hildon_dialog_new_with_buttons): New constructor.
8022 * examples/hildon-dialog-example.c
8023 (main): Update the example to use the new
8024 hildon_dialog_new_with_buttons().
8026 * examples/hildon-pannable-area-example.c
8027 (main): Update example.
8029 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8031 * doc/hildon-docs.sgml
8033 Added HildonPannableArea to the documentation.
8035 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8037 * doc/visual_index.xml
8038 Fix reference to HildonLoginDialog in documentation
8040 * doc/hildon-docs.sgml
8042 * examples/Makefile.am
8043 * examples/hildon-dialog-example.c
8045 * src/hildon-dialog.c
8046 * src/hildon-dialog.h
8048 New HildonDialog widget.
8050 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8052 * src/hildon-pannable-area.c
8053 Merge latest changes (r4318, r4342) from libmokoui trunk
8055 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8057 * examples/Makefile.am
8058 * examples/hildon-pannable-area-example.c
8060 * src/hildon-pannable-area.c
8061 * src/hildon-pannable-area.h
8063 New HildonPannableArea widget.
8065 2008-04-15 18:05:19 <timj@imendio.com>
8067 * src/hildon-banner.c: revert the recent change, that introduced
8068 gtk_window_present() calls. this reopens:
8069 Bug 78481 - [freetest] information banners are hidden under browser menu
8070 But resolves another variant of:
8071 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8073 2008-04-15 13:21:13 <timj@imendio.com>
8075 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8076 recreated its layout, spotted by Kris. this fixes all remaining
8077 artefacts and stability issues with the banner code. in particular:
8078 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8080 2008-04-14 16:52:59 <timj@imendio.com>
8082 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8083 operating on unrealized widgets, fixes:
8084 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8086 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8088 2008-04-09 Kristian Rietveld <kris@imendio.com>
8090 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8091 makes banner disappear.
8092 Fixes: NB#79182: info banner flickering with certain message lengts.
8094 * src/hildon-banner.c (hildon_banner_constructor),
8095 (hildon_banner_init), (hildon_banner_set_text),
8096 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8097 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8098 FALSE, reset size requests of label and banner,
8099 (force_to_wrap_truncated): when the text is too wide, always enforce
8100 the maximum possible width instead of recalculating it from the
8101 layout; enforce the maximum banner height of 3 lines,
8102 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8103 nicer wrapping and no truncated chars if space gets tight.
8105 * src/hildon-banner-private.h: add has_been_wrapped and
8106 has_been_truncated fields.
8108 2008-04-07 Sven Herzberg <sven@imendio.com>
8110 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8111 local values in hildon_date_editor_size_allocate
8113 * src/hildon-date-editor.c: moved the real allocation code into the
8116 2008-04-07 Sven Herzberg <sven@imendio.com>
8118 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8119 local values in hildon_date_editor_size_allocate
8121 * src/hildon-date-editor.c: merged the two if() branches together
8123 2008-04-07 Sven Herzberg <sven@imendio.com>
8125 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8126 local values in hildon_date_editor_size_allocate
8128 * src/hildon-date-editor.c: changed the arguments of the if()
8131 2008-04-07 Sven Herzberg <sven@imendio.com>
8133 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8134 local values in hildon_date_editor_size_allocate
8136 * src/hildon-date-editor.c: split the calculation of the allocation
8137 from the real allocation
8139 2008-03-27 Michael Natterer <mitch@imendio.com>
8141 Fixes: NB#81696: The passcode is not overwritten even after
8144 * src/hildon-code-dialog.c
8145 (hildon_code_dialog_button_clicked)
8146 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8147 because that doesn't overwrite selected text. Instead, emit the
8148 "commit" signal on the entry's im_context so the entry's normal
8149 insert logic is triggered. Set the cursor to the end of the entry
8150 after each insert operation so that we *only* insert in the middle
8151 of the text if something was selected.
8153 2008-03-27 Michael Natterer <mitch@imendio.com>
8155 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8156 selector cannot be opened
8158 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8159 when the popup color selector is created. Please connect to this
8160 signal in order to set the dialog's help ID.
8162 2008-03-25 Sven Herzberg <sven@imendio.com>
8164 Fixes: MB#1212: Hide info banners (infoprints) on click
8166 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8167 extracted the close event simulation into an extra function
8168 (hildon_banner_button_press_event): simulate a close event and destroy
8169 the widget if the event wasn't handled
8170 (hildon_banner_class_init): added the button_press_event handler
8171 (hildon_banner_init): added button-press events to the widget
8173 2008-03-25 Sven Herzberg <sven@imendio.com>
8175 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8176 Patch from: Mohammad Anwari <mdamt@maemo.org>
8178 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8179 instead of the right in RTL mode
8180 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8181 breadcrumb button list in RTL mode
8182 * src/hildon-caption.c: mirror the appearance of the caption widget in
8184 * src/hildon-date-editor.c: mirror appearance of the date editor in
8186 * src/hildon-time-editor.c: mirror appearance of the time editor in
8188 * src/hildon-window.c: fix the position of the popup in RTL mode
8190 2008-03-25 Sven Herzberg <sven@imendio.com>
8192 Amendment to the fix of NB#22072. Fix compilation.
8194 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8196 2008-03-19 Sven Herzberg <sven@imendio.com>
8198 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8201 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8202 timeout id properly when the timeout will disappear this leaves no
8203 artifacts around in the destroy(); there will only be the timeout
8204 created by hildon_banner_ensure_timeout() and adding a new timeout
8205 will also work if the timeout gets removed because the timeout_handler
8208 2008-03-19 Michael Natterer <mitch@imendio.com>
8210 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8212 * src/hildon-volumebar.c
8213 * src/hildon-vvolumebar.c
8214 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8215 the widget becomes focussable at all.
8217 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8218 set the focus to wither the mute button or the volumebar.
8220 Remove own "can-focus" property and instead listen to
8221 notify::can-focus in order to update the widget's state.
8223 Implement GtkWidget::focus() and make sure we can also *leave* the
8224 widget, not only enter it, depending on volumebar orientation and
8225 requested focus direction.
8227 Clean up set_mute() to cooperate nicely with all the above.
8229 2008-03-04 Michael Natterer <mitch@imendio.com>
8231 Fixes: NB#78481: information banners are hidden under browser menu
8233 * src/hildon-banner.c: call gtk_window_present() on the banners so
8234 they are risen if they are already visible.
8236 2008-03-03 Sven Herzberg <sven@imendio.com>
8238 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8240 * examples/hildon-window-menu-example.c: (main): extended the window
8241 menu example to serve as a testcase for automatically added
8242 accelerator groups, too
8243 * src/hildon-window.c: (hildon_window_add_accel_group),
8244 (hildon_window_set_menu): added patch by Tommi Komulainen
8246 2008-03-03 Sven Herzberg <sven@imendio.com>
8248 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8250 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8251 knowledge about the border allocators used within GTK+
8253 2008-02-26 Sven Herzberg <sven@imendio.com>
8255 Fixes: MB#2981: Build with asserts broken
8257 * src/hildon-date-editor.c,
8258 * src/hildon-number-editor.c,
8259 * src/hildon-time-editor.c,
8260 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8261 the proper GType instance check
8263 2008-02-25 Sven Herzberg <sven@imendio.com>
8265 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8267 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8268 * examples/hildon-window-menu-example.c: (main): explicitly show
8270 * src/hildon-window.c:
8271 (hildon_window_set_main_menu): moved most of the code from set_menu()
8272 to this place; skipped the call to gtk_widget_show_all(); also didn't
8273 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8274 (hildon_window_set_menu): removed most of the code, just keep the
8275 questionable gtk_widget_show_all()
8276 * src/hildon-window.h: added the new function and deprecate the old
8279 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8285 * debian/changelog: Updating.
8287 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8290 * pkgconfig/Makefile.am:
8291 * pkgconfig/hildon.pc.in:
8294 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8295 use newly created API_MAJOR_VERSION.
8297 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8303 * debian/changelog: Updating.
8305 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8307 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8309 Add outer_border style property, we use it but don't define it (!).
8313 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8315 * examples/hildon-bread-crumb-trail-example.c (main):
8319 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8321 Fix logic for the bread crumb trail node removal.
8325 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * debian/changelog: Updating.
8333 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 Patch by Alejandro to get/set passwords dialogs accesibility.
8337 * hildon-1/src/hildon-get-password-dialog.c:
8338 * hildon-1/src/hildon-set-password-dialog.c:
8339 Set atk_set_name to the passwd entries in order to allow
8340 accessibility by name on this entries.
8342 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * debian/control: Updating gtk dep.
8349 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8351 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8352 USE_MAEMO_GTK is enabled.
8354 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8356 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8357 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8359 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8365 * debian/changelog: Updating.
8367 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8369 * examples/Makefile.am:
8370 * examples/hildon-logical-color-example.c:
8371 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8372 applied + adding a test case. Fixes: NB#71660.
8374 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8376 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8377 to be visible, fixes warning on map for windows without toolbars.
8379 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8381 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8382 2.11.0, add a check for that besides the MAEMO_GTK check.
8384 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * debian/changelog: Updating.
8392 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8394 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8395 visibility. Fixes: NB#70842 and MB#615.
8397 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8399 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8400 set the separator as no-show-all so it doesn't unintentionally appear when
8401 someone does a show_all.
8403 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8405 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8406 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8407 toplevel item. Fixes: NB#62031
8409 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8411 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8412 fix the name of the function in the docs.
8414 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * debian/changelog: Updating.
8422 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 * examples/hildon-banner-long-example.c: Adding a test-case for long
8427 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8429 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8431 * src/hildon-color-chooser-dialog.c:
8432 * src/hildon-color-chooser.c:
8433 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8434 memory leaks in font selector and color selector. Fixes: NB#70499 and
8437 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8439 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8441 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8444 little bit bigger. Fixes: #NB63694.
8446 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * debian/changelog: Updating.
8454 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * doc/hildon-docs.sgml:
8458 * doc/images/bread-crumb-trail.png:
8459 * doc/images/calendar-popup.png:
8460 * doc/images/caption.png:
8461 * doc/images/code-dialog.png:
8462 * doc/images/color-button.png:
8463 * doc/images/color-chooser-dialog.png:
8464 * doc/images/color-chooser.png:
8465 * doc/images/controlbar.png:
8466 * doc/images/date-editor.png:
8467 * doc/images/font-selection-dialog.png:
8468 * doc/images/get-password-dialog.png:
8469 * doc/images/hvolumebar.png:
8470 * doc/images/login-dialog.png:
8471 * doc/images/note.png:
8472 * doc/images/number-editor.png:
8473 * doc/images/range-editor.png:
8474 * doc/images/seekbar.png:
8475 * doc/images/set-password-dialog.png:
8476 * doc/images/sort-dialog.png:
8477 * doc/images/time-editor.png:
8478 * doc/images/time-picker.png:
8479 * doc/images/vvolumebar.png:
8480 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8481 Adding the bread-crumb-trial and helpers to the documentation.
8483 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8485 * examples/hildon-find-toolbar-example.c:
8486 * src/hildon-find-toolbar.c:
8487 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8488 actually continue firing the other handlers if connected. Adding a new
8490 hildon_find_toolbar_get_last_index that gets the index of the most
8491 recently added (last) item. Fixes: NB#52301.
8493 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8496 behaviour. Fixes: NB#68610.
8498 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8503 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8506 when realizing the banner. Should make the infonbanner effect a bit more
8509 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8511 * src/hildon-volumebar.c:
8512 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8513 hildon_volumebar_set_range_insensitive_message and
8514 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8516 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * src/hildon-window.c: Fixing the border freeing on destroy.
8520 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-code-dialog-private.h:
8523 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8524 kw keyboard support in HildonCodeDialog.
8526 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * debian/changelog: Updating.
8534 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * src/hildon-date-editor.c:
8537 * src/hildon-number-editor.c:
8538 * src/hildon-private.c:
8539 * src/hildon-private.h:
8540 * src/hildon-time-editor.c:
8541 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8542 handling in subclassed composite widgets. Fixes: NB#66628.
8544 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8547 from destroy_ callback as it introduces problems in async dbus signal
8548 handlers. Fixes NB#66673.
8550 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * examples/hildon-hvolumebar-example.c:
8553 * src/hildon-volumebar.c: Improving the focus handling in the
8554 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8555 set_property accessor so that "mute" property can be actually set. I'm
8556 scared that nobody noticed it's totally broken.
8558 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8563 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8565 * src/hildon-calendar.c:
8566 * src/hildon-number-editor.c:
8567 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8568 matches the spec of 6 chars per second. Fixes: NB#60489.
8570 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8573 gtk_style_lookup_color sometime returns FALSE even though color was
8574 found and values were filled properly. Weird. Removing the warning for the
8577 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8580 expand vertically. Adding some extra space to the find toolbar buttons to
8581 make them thumbable. Fixes NB#66060.
8583 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8586 popup with "Ok" and "Cancel". Fixes NB#59299.
8588 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-calendar.c: Process all window updates before executing next
8591 timeout. Fixes: NB#54146.
8593 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8599 * debian/changelog: Updating.
8601 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8603 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8604 the client event and ignore it, since we use the delete event to close
8607 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * src/hildon-helper.c: Remove the bogus warning about color not being
8610 found. Fixes NB#58352.
8612 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * examples/Makefile.am:
8615 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8616 HildonSeekbar widget inside a toolbar.
8618 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8620 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8621 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8622 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8623 don't want to be closed by non-temporary windows on map.
8625 Also use G_DEFINE_TYPE instead of manually typed code.
8627 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * debian/rules: Updating.
8636 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * examples/Makefile.am:
8639 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8640 bug NB#61128. Strangely it works.
8642 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * src/hildon-date-editor.c: When the date editor entry has been changed
8645 but the numbers of characters < max, turn off the skip validation flag.
8646 Prevents a situation when we enter first a valid year and later re-write
8647 it with an invalid one. Fixes NB#60154.
8649 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8652 code dialog. Fixes NB#64355.
8654 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8657 switching the page. Fixes NB#49374.
8659 * examples/Makefile.am:
8660 * examples/hildon-wizard-dialog-example.c: Adding an example for
8661 HildonWizardDialog that shows how to handle manual sensitivity setting on
8664 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * src/hildon-version.h.in:
8669 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8671 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * src/hildon-volumebar.c: Updating the docs.
8675 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * debian/changelog: Updating.
8683 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * src/hildon-find-toolbar.c:
8686 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8687 selected item: hildon_find_toolbar_set_active,
8688 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8689 hildon_find_toolbar_get_active_iter . They correspond to respective
8690 GtkComboBox functions.
8692 * examples/Makefile.am:
8693 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8696 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * examples/Makefile.am:
8699 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8702 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8703 when font size > 32 and we pack a focusable widget inside. Actually using
8704 the default response would work too, but since we don't show default
8705 response state in any way (no theming) it would not be visible to the
8706 user. Fixes NB#63430.
8708 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-date-editor.c: Adding the missing variable setter in the
8711 set_property handler. Fixes NB#54182.
8713 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8715 * src/hildon-window.h: Changing the long key press time from 1500ms to
8716 800ms as requested in NB#63700. I have a bad feeling about this, let's
8717 see... Fixes NB#63700.
8719 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8721 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8722 hildon_time_picker_map, hildon_time_picker_realize,
8723 hildon_time_picker_style_set): Split the contents of map to more
8724 appropriate functions; set window decorations on realize and update
8725 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8727 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8732 * debian/changelog: Updating.
8734 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8736 * src/Makefile.am: fixed installation of the header files
8738 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8744 * debian/changelog: Updating.
8746 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * configure.ac: Removing some remaining of --enable-xan.
8750 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8752 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8753 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8755 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8756 2.10.12-osso6 because the move-focus signal needs to be available in
8759 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * examples/Makefile.am:
8762 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8763 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8764 fine. Prolly NB#61128 is fixed now.
8766 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8768 * src/hildon-volumebar.c:
8769 * src/hildon-volumebar.h: Adding the
8770 hildon_volumebar_set_range_insensitive_message and
8771 hildon_volumebar_set_range_insensitive_messagef functions to set
8772 insensitive message on the slider of the volumebar. Fixes NB#61129.
8774 * examples/Makefile.am:
8775 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8776 test the new insensitive messsage functionality on HildonVolumebar.
8778 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8780 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8783 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8785 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8786 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8787 button on after clearing the trail.
8789 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8793 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8795 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8796 by splitting the installed headers in generated and non-generated groups. Use
8797 only the non-generated headers to create the hildon-enum-types.h file.
8799 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8801 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8803 * src/hildon-window.c: Hide the window before performing the destroy.
8804 Should make the app closing a little tiny bit more snappy.
8806 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8808 * src/hildon-seekbar.c: add gtkrange.h header
8809 * src/hildon-caption.c: remove unused variable
8811 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8813 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8816 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * debian/changelog: Updating.
8824 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8826 * src/hildon-window.c (hildon_window_window_state_event,
8827 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8828 escape timeout on focus-out-event rather than notify::is-topmost; the
8829 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8831 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8834 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8836 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8838 * src/hildon-window: actually, you need to use the macro always, there's
8839 no private pointer in the instance structure. We should have cleaned this up
8840 when we had the chance...
8842 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8844 * src/hildon-window.c: do not get the private date from HildonWindow before
8845 it passes the g_return_if_fail check. Once it's passed the test, there's no
8846 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8847 if you are only going to access the data once. Whitespace cleanups.
8849 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8851 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8852 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8854 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * debian/changelog: Updating.
8862 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * src/hildon-window.c: When destroying the window, remove (if exists) the
8865 escape timeout handler. Fixes #NB59276.
8867 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-banner.c: When realizing the widget, set the window
8870 transiency. Setting the transiency in the gobject constructor is not
8871 good, as the widget is not realized at that point. Fixes: #NB56624.
8873 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8876 Add padding for future expansions.
8878 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8880 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8881 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8882 will fake an activation on the previous to the last item of the trail, so
8883 the effect can be overrided by the developer as usual.
8884 Also change the callback for the back button to do the same thing, so its
8885 effect can be overrided too. Fixes: NB#58982
8887 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8889 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8890 HildonCaption. Fixes NB#52379.
8892 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8894 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8895 the internal state of the trail after the user has had the chance of executing
8896 his handler for the signal. Specifically, it may happen that the activated button
8897 is removed and the user still lets the default handler run. This would segfault
8900 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8903 scrollbar to the preview dialog. Fixes NB#54147.
8905 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8908 max/min year properties can be altered, so the client can modify it
8909 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8911 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8914 hildonlike by default. Fixing a problem with disappearing arrows when
8915 scrolling through months and years. Fixes NB#54127.
8917 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * examples/hildon-date-editor-example.c: Adding error callback to the date
8922 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * configure.ac: Updating.
8930 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * configure.ac: Adding a special '--enable-xan' configure option that
8933 turns off the -Werror compilation setting. Usefull for development.
8935 * src/hildon-calendar.c:
8936 * src/hildon-number-editor.c:
8937 * src/hildon-time-picker.c: Adding the 5* multiplier to
8940 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8942 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8943 instead of g_object_ref + gtk_object_sink.
8945 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * debian/changelog: Updating.
8953 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * src/hildon-color-chooser-dialog.c:
8956 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8957 straight from Tommi labs.
8959 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * examples/hildon-finger-example.c: Correcting the header file path.
8963 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8964 the changed signal. Fixes a small memory leak.
8966 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-banner.c: Importing several usefull fixes from the
8971 ubuntu-mobile branch.
8973 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * examples/Makefile.am:
8976 * examples/hildon-finger-example.c: Adding a finger-checking code
8979 * src/hildon-font-selection-dialog.c: Do not allocate the color
8980 structure using the g_new. Fixes NB#54061.
8982 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * src/hildon-helper.c: Correcting tabs in file.
8986 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8988 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8989 control the visibility of the children.
8991 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8993 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * debian/changelog: Updating.
9001 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9003 * src/hildon-bread-crumb-trail.c:
9004 (hildon_bread_crumb_trail_size_allocate):
9006 Make the back button always a square.
9008 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9010 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9011 from the .c file as it's a private file.
9013 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9015 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9016 uses slightly bigger height.
9018 * src/hildon-font-selection-dialog.c: Adding some checks before
9019 freeing memory in the font selection dialog.
9021 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * src/hildon-font-selection-dialog.c: Adding a small check when
9026 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9027 buttons sensitivity on page switching.
9029 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9031 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9032 internal details of adding a bread crumb to the trail.
9034 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * debian/changelog: Updating.
9042 * src/hildon-bread-crumb-trail.h:
9043 * src/hildon-bread-crumb.h: Changing the API guard to
9044 HILDON_ENABLE_UNSTABLE_API.
9046 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-helper.h: Updating.
9056 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-helper.h: Small fix to make the package actually compile.
9070 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9072 * src/hildon-bread-crumb-trail.h:
9073 * src/hildon-bread-crumb.h:
9075 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9076 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9078 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9080 * examples/hildon-bread-crumb-trail-example.c:
9082 * src/hildon-bread-crumb-trail.c:
9083 * src/hildon-bread-crumb-trail.h:
9084 * src/hildon-bread-crumb.c:
9085 * src/hildon-bread-crumb.h:
9086 * src/hildon-marshalers.list:
9087 * src/hildon-bread-crumb-widget.c:
9088 * src/hildon-bread-crumb-widget.h:
9090 Slight change in the widget design. The bread crumb trail API is
9091 unchanged, but HildonBreadCrumb is now an interface. A *private*
9092 implementation, hildon-bread-crumb-widget, is provided and used
9093 internally by the trail for the push_text/push_icon functions.
9095 The generic push API is still available, so anyone can implement
9096 and use its own bread crumb widget.
9098 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * debian/rules: Fixing the shlibs.
9102 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9104 * src/hildon-banner.c: Fixing a problem with timed banners having
9105 their parrent destroyed before they are.
9107 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9109 * src/hildon-bread-crumb.c:
9110 * src/hildon-bread-crumb.h:
9112 Make the get_natural_size function a vfunc.
9114 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9116 * src/hildon-bread-crumb.c:
9117 * src/hildon-bread-crumb-trail.c:
9121 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * debian/changelog: Updating for release.
9130 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9132 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9133 don't leak the pango layout.
9135 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9138 * examples/hildon-bread-crumb-trail-example.c:
9142 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * debian/changelog: Removing the bug-fixed entries that were actually
9145 resolved as WONTFIX.
9147 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9150 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9152 * src/hildon-bread-crumb-trail.c:
9153 * src/hildon-bread-crumb-trail.h:
9154 * src/hildon-bread-crumb.c:
9155 * src/hildon-bread-crumb.h:
9159 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9161 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9162 until it's passed the type check.
9164 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9166 * examples/hildon-bread-crumb-trail-example.c
9170 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9172 * examples/Makefile.am
9173 * examples/hildon-bread-crumb-trail-example.c
9175 * src/hildon-bread-crumb-trail.c
9176 * src/hildon-bread-crumb-trail.h
9177 * src/hildon-bread-crumb.c
9178 * src/hildon-bread-crumb.h
9180 New HildonBreadCrumbTrail widget.
9182 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9184 * src/hildon-range-editor.c (hildon_range_editor_init),
9185 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9186 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9187 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9188 hildon_time_editor_class_init, hildon_time_editor_init),
9189 src/hildon-get-password-dialog.c (invalid_input,
9190 hildon_get_password_set_property, hildon_get_password_get_property,
9191 create_contents, hildon_get_password_dialog_set_max_characters),
9192 src/hildon-set-password-dialog.c (create_contents),
9193 src/hildon-date-editor.c (hildon_date_editor_init),
9194 src/hildon-login-dialog.c (hildon_login_dialog_init),
9195 src/hildon-number-editor.c (hildon_number_editor_init),
9196 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9197 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9198 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9199 configure option and adding the respective checks in the code.
9200 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9201 hildon_calendar_drag_data_received): fixed some build warnings.
9203 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * debian/changelog: A 1.0.0 release notes.