1 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
4 Cache the panning indicator color.,
5 (hildon_pannable_area_style_set): Query the color on style changes.
6 (hildon_pannable_draw_vscroll),
7 (hildon_pannable_draw_hscroll),
8 (hildon_pannable_area_expose_event): Use the cached panning indicator
9 color instead of looking it up on every expose and more.
11 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
13 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
14 (hildon_pannable_draw_hscroll),
15 (hildon_pannable_area_expose_event): Fix the panning indicator color,
16 so that it's "SecondaryTextColor", as desired.
18 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
20 * hildon/hildon-picker-dialog.c:
21 (selection_completed): take into account HILDON_UI_MODE_NORMAL
22 * hildon/hildon-touch-selector.c
23 (hildon_touch_selector_init): Initialize hildon-ui-mode
24 (hildon_touch_selector_row_activated): new callback for the
25 "row-activated" signal, in order to save the last activated
26 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
27 if the current hildon-ui-mode is coherent with the touch selector
28 (hildon_touch_selector_class_init)
29 (hildon_touch_selector_get_property)
30 (hildon_touch_selector_set_property)
31 Added "hildon-ui-mode" property
32 (disconnect_model_handlers): renamed to clean_column
33 (hildon_touch_selector_remove): use clean_column function
34 (_create_new_column): use the hildon-ui-mode to create the treeview, and
35 only select the first element on HILDON_UI_MODE_EDIT
36 (hildon_touch_selector_column_init): Initialize last_activate
37 (hildon_touch_selector_append_column): check that the touch selector
38 is coherent with the current hildon-ui-mode
39 (hildon_touch_selector_get_hildon_ui_mode)
40 (hildon_touch_selector_set_hildon_ui_mode)
41 Added a getter/setter for the hildon-ui-mode property
42 (hildon_touch_selector_get_last_activated_row): Added this method in
43 order to get the last activated row.
44 * examples/hildon-touch-selector-normal-mode-example.c
45 New example, that shows how to use the HildonTouchSelector in
48 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
49 Kristian Rietveld <kris@lanedo.com> advices
51 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
53 * hildon/hildon-time-selector.c: (update_format_policy): Do
54 not call update_format_dependant_columns() if not necessary.
55 (update_format_dependant_columns): Remove unnecessary check for
56 the number of columns.
58 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
60 * hildon/hildon-note.c (+hildon_note_constructor),
61 (hildon_note_class_init), (+hildon_note_set_padding),
62 (hildon_note_rebuild): Install a constructor where to set the
63 padding properties in the note, so that it actually works fine.
64 Use hildon_note_set_padding() for this, and also to set it during
67 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: Bump GTK+ requirement to 2.14.3.
70 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
71 when using maemo-gtk to define proper margins for the notes.
73 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
76 2009-06-24 Alberto Garcia <agarcia@igalia.com>
78 * hildon/hildon-banner.c
79 (hildon_banner_class_init):
81 (+hildon_banner_size_request):
82 Request always the full width of the screen.
83 (hildon_banner_realize)
84 (-hildon_banner_check_position, hildon_banner_map):
85 hildon_banner_check_position() is not needed in Hildon 2.2.
86 (-hildon_banner_reset_wrap_state)
87 (hildon_banner_constructor, hildon_banner_init):
88 Remove unnecessary calls to hildon_banner_reset_wrap_state()
90 (force_to_wrap_truncated):
91 Remove has_been_wrapped and has_been_truncated attributes.
92 (+reshow_banner, hildon_banner_real_show_information)
93 (hildon_banner_show_information_with_markup)
94 (hildon_banner_show_animation, hildon_banner_show_progress)
95 (hildon_banner_set_text, hildon_banner_set_markup):
96 Refactor code. Shrink banner vertically to use the minimum space
97 necessary everytime the text of the label is updated.
98 (screen_size_changed):
99 Call force_to_wrap_truncated() when the size of the screen
102 Fixes: NB#120500 (only device memory connect mmc in use info
103 banner is left aligned)
105 Fixes: NB#120613 (Size of HildonBanner varies depending on
106 previously opened banners)
108 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
110 * hildon/hildon-color-chooser.c
111 (hildon_color_chooser_pointer_motion): Take the widget allocation
114 Fixes: NB#124385 (Unable to select exact point in color mixing box
115 in color palette dialog)
117 2009-06-23 Alejandro G. Castro <alex@igalia.com>
119 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
120 (hildon_pannable_area_dispose)
121 (hildon_pannable_area_button_press_cb)
122 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
123 (hildon_pannable_area_button_release_cb)
124 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
125 New 'panning-started' and 'panning-finished' signals.
127 Fixes: NB#121732 (New feature request: Signal to pannable area
128 that informs when panning is stopped.)
130 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
132 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
133 instead of hardcoded colon.
135 Fixes: NB#124090 (New calendar wizard title is not using
136 ecdg_ti_caption_separator)
138 2009-06-22 David King <davidk@openismus.com>
140 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
141 constants and functions, as well as correct many typos throughout the
144 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
147 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: postrelease version bump.
150 * debian/changelog: post release version bump
152 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
157 * configure.ac: Bump version.
158 * debian/changelog: Updates.
160 2009-06-18 Alberto Garcia <agarcia@igalia.com>
162 * hildon/hildon-window-stack.c
163 (hildon_window_stack_pop_and_push_list):
164 Prevent windows from having the same stack index
166 2009-06-18 Alberto Garcia <agarcia@igalia.com>
168 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
169 Use the index of the previous window rather than the stack length
170 to calculate the new index.
174 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
176 * hildon/hildon-date-selector.c
177 (hildon_date_selector_select_current_date)
178 (hildon_date_selector_get_date)
179 (hildon_date_selector_select_day):
180 Update the documentation: uses always the range (1-31), as it is obvious
181 that the final one will depend on the month and the year, but globally
182 the range is this, in a similar GtkCalendar approach
183 (hildon_date_selector_get_date):
184 Update the documentation: add NULL as a valid value for the day, month
187 Fix some details, after talk with David King on bug MB#4698
189 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
191 * hildon/hildon-touch-selector-entry.c
192 * hildon/hildon-touch-selector.c
193 Update the documentation of the "text-column" property
195 2009-06-18 David King <davidk@openismus.com>
197 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
198 several typos and errors throughout the documentation.
200 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
203 2009-06-18 Alberto Garcia <agarcia@igalia.com>
205 * hildon/hildon-note.c (hildon_note_realize):
206 Make HildonNote support portrait mode.
208 Fixes: NB#123448 (HildonNote is not portrait-friendly)
210 2009-06-17 Alberto Garcia <agarcia@igalia.com>
212 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
213 Document this function
215 2009-06-17 David King <davidk@openismus.com>
217 * hildon/hildon-date-selector.c
218 (hildon_date_selector_select_current_date)
219 (hildon_date_selector_get_date): Update documentation regarding days,
220 as the day of the month is dependent on both the month and the year.
221 (hildon_date_selector_get_date): Fix documentation of output arguments.
223 Fixes: MB#4698 (DateSelector documentation has bad output argument
224 description, and the day depends on both the month and the year)
226 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
228 * hildon/hildon-caption.c: Other documentation fixes to
231 2009-06-17 David King <davidk@openismus.com>
233 * hildon/hildon-caption.c: Minor documentation updates for
234 HildonCaption. Fixes MB#4697.
236 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
238 * doc/hildon-docs.sgml: Add hildon-version section.
239 * doc/hildon-sections.txt:
240 * hildon/hildon-version.h.in: Document versioning macros and
243 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
245 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
246 from HildonPickerDialog section.
248 2009-06-16 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-banner.c (hildon_banner_bind_style)
251 (screen_size_changed, hildon_banner_init)
252 (hildon_banner_real_show_information)
253 (hildon_banner_show_information_with_markup)
254 (hildon_banner_show_animation, hildon_banner_show_progress):
255 Set a different widget name to banners in portrait mode, for them
256 to be themed correctly.
258 2009-06-16 Alberto Garcia <agarcia@igalia.com>
260 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
261 Set a different widget name to notes in portrait mode, for them to
264 Partially fixes: NB#118401 (HildonNote causes unnecessary
267 2009-06-16 Alberto Garcia <agarcia@igalia.com>
269 * hildon/hildon-note.c (hildon_note_class_init)
270 (+hildon_note_size_request, screen_size_changed):
271 Always request the full width of the screen.
273 Fixes: NB#118375 (unnecessary rescaling of images)
275 2009-06-16 Alejandro G. Castro <alex@igalia.com>
277 * hildon/hildon-pannable-area.c,
278 (hildon_pannable_area_init),
279 (hildon_pannable_area_realize): Replaced old code adding flags in
280 the object init, now we add it with the other flags in the realize
283 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
285 * hildon/hildon-note.c: (hildon_note_class_init): Several
286 documentation improvements to the HildonNote widget.
288 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
290 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
292 Fixes: MB#4556 (HildonNoteType is undocumented)
294 2009-06-15 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-picker-button.c:
297 Explain how HildonPickerButton sets the title of its dialog
299 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
300 the title of its dialog)
302 2009-06-15 Alberto Garcia <agarcia@igalia.com>
304 * hildon/hildon-check-button.c:
305 Documentation updates
307 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
310 2009-06-15 Alberto Garcia <agarcia@igalia.com>
313 * hildon/hildon-edit-toolbar-private.h
314 * hildon/hildon-edit-toolbar.c
315 (+hildon_edit_toolbar_set_progress_indicator)
316 (hildon_edit_toolbar_init): Add progress indicator to the
319 * hildon/hildon-gtk.c
320 (hildon_gtk_window_set_progress_indicator):
321 If the window contains a HildonEditToolbar, enable the progress
324 * hildon/hildon-private.h
325 * hildon/hildon-private.c
326 (+hildon_private_create_animation)
327 * hildon/hildon-banner.c
328 (-hildon_banner_create_animation):
329 Moved to hildon-private.c
331 Fixes: NB#102373 (Progress indicator also for the Edit mode
334 2009-06-15 Alberto Garcia <agarcia@igalia.com>
336 * hildon/hildon-app-menu-private.h
337 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
338 (hildon_app_menu_add_filter, +menu_item_button_event)
339 (hildon_app_menu_button_release, hildon_app_menu_init):
340 Make sure that buttons receive 'button-release-event' in spite of
341 the grab held by HildonAppMenu
343 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
345 2009-06-15 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-app-menu.c
348 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
349 New style property to set the size of the group of filter buttons.
351 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
353 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
358 * configure.ac: Bump version.
359 * debian/changelog: Updates.
361 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
363 * hildon/hildon-main.c: Minor documentation fixes.
365 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
367 * doc/hildon-sections.txt:
368 * hildon/hildon-defines.h: Document the defines, organize them,
369 and mark deprecations as such.
371 Fixes: MB#4463 (Hildon size #defines are undocumented)
373 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
375 * hildon/hildon-animation-actor.c:
376 * hildon/hildon-app-menu.c:
377 * hildon/hildon-button.c:
378 * hildon/hildon-date-editor.c:
379 * hildon/hildon-dialog.c:
380 * hildon/hildon-edit-toolbar.c:
381 * hildon/hildon-entry.c:
382 * hildon/hildon-program.c:
383 * hildon/hildon-remote-texture.c:
384 * hildon/hildon-stackable-window.c:
385 * hildon/hildon-text-view.c:
386 * hildon/hildon-touch-selector.c:
387 * hildon/hildon-window-stack.c:
388 * hildon/hildon-window.c:
390 Remove redundant "represents" wording from most of the documentation.
392 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
394 2009-06-12 Alberto Garcia <agarcia@igalia.com>
399 * hildon/hildon-banner-private.h
400 * hildon/hildon-banner.c:
401 Move HildonBannerPrivate to hildon-banner.c and remove
402 hildon-banner-private.h
403 Use a bit field to store private booleans.
405 2009-06-12 Alberto Garcia <agarcia@igalia.com>
407 * hildon/hildon-app-menu.c (hildon_app_menu_map):
408 Don't install a new idle function if there's already one
413 2009-06-11 Alberto Garcia <agarcia@igalia.com>
415 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
416 (+legacy_menu_realized, +legacy_menu_unmapped)
417 (+set_legacy_menu_type):
418 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
419 they can be identified by the window manager.
421 Fixes: NB#101437 (Invoking CSM on the left side of page area is
422 displayed in wrong location)
424 Fixes: MB#4563 (Popup menu won't locate at the left side of the
427 2009-06-11 Alberto Garcia <agarcia@igalia.com>
429 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
431 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
434 2009-06-11 Alberto Garcia <agarcia@igalia.com>
436 * hildon/hildon-code-dialog.c
437 * hildon/hildon-date-editor.c
438 * hildon/hildon-number-editor.c
439 * hildon/hildon-seekbar.c
440 * hildon/hildon-stackable-window.c
441 * hildon/hildon-window.c:
442 Misc documentation updates
444 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
446 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
447 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
449 Fixes: NB#117931 (Theming issues in accounts dialogs)
451 2009-06-09 Alejandro G. Castro <alex@igalia.com>
453 * hildon/hildon-pannable-area.c,
454 (hildon_pannable_area_button_release_cb): Changed the coordinates
455 of the original release in case we want to discard the release,
456 some widgets in Fremantle do not handle the leave-notify.
458 2009-06-09 Alejandro G. Castro <alex@igalia.com>
460 * hildon/hildon-pannable-area.c,
461 (hildon_pannable_area_button_release_cb): Reviewed the logic of
462 the release using the last refactored functions and avoiding the
463 movement if an element was selected.
465 2009-06-09 Alejandro G. Castro <alex@igalia.com>
467 * hildon/hildon-pannable-area.c,
468 (hildon_pannable_area_check_move),
469 (hildon_pannable_area_handle_move),
470 (hildon_pannable_area_motion_notify_cb): Refactored the
471 motion_notify method using a couple of new functions.
473 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-date-selector.c:
476 (hildon_date_selector_construct_ui):
477 * hildon/hildon-time-selector.c:
478 (hildon_time_selector_constructor):
479 * hildon/hildon-touch-selector-entry.c:
480 (hildon_touch_selector_entry_set_text_column),
481 (hildon_touch_selector_entry_get_text_column):
482 * hildon/hildon-touch-selector.c: (_default_print_func),
483 (hildon_touch_selector_new_text): Use
484 hildon_touch_selector_set/get_text_column() instead of
485 setting/getting the "text-column" property.
487 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
489 * doc/hildon-sections.txt: Add the new public methods below.
491 * examples/hildon-picker-button-multicolumn-example.c:
492 (create_touch_selector):
493 * examples/hildon-touch-selector-example.c: (create_selector):
494 * examples/hildon-touch-selector-multi-cells-example.c:
496 Use hildon_touch_selector_column_set_text_column()
498 * hildon/hildon-touch-selector-column.h:
499 * hildon/hildon-touch-selector.c:
500 (hildon_touch_selector_column_set_text_column),
501 (hildon_touch_selector_column_get_text_column):
502 Make hildon_touch_selector_column_set/get_column() public, use
503 them in the inline example, document them, and reference to them
506 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
508 * hildon/hildon-time-selector.c: Fix the docs for
509 hildon_time_selector_new_step().
511 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
513 * hildon/hildon-touch-selector.c: Improve the documentation for
514 hildon_touch_selector_append_column().
516 Fixes MB#4641 (Documentation:
517 hildon_touch_selector_append_column() ref-counting)
519 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
521 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
522 Comment out test 5, since the hildon_controlbar_set_range() range
523 check is broken and fixing it would have side effects. Also,
524 this finally fixes make distcheck.
526 Fixes: NB#101420 (Update unit tests and fix make distcheck)
528 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
530 * tests/TEST-CASES.txt: Remove other bogus test.
531 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
532 Remove bogus test that was setting/retrieving a valid value.
534 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
536 * tests/TEST-CASES.txt: Remove bogus tests.
537 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
538 Remove three bogus tests that were actually setting valid colors.
540 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
542 * configure.ac: post release version bump
543 * debian/changelog: post release version bump
545 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
550 * configure.ac: Bump version.
551 * debian/changelog: Updates.
553 2009-06-08 Christian Dywan <christian@lanedo.com>
557 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
558 Correct errors in hildon_format_file-size_for_display and use
559 translations from the hildon-fm package instead of osso-filemanager.
561 2009-06-08 Alejandro G. Castro <alex@igalia.com>
563 * hildon/hildon-pannable-area.c,
564 (hildon_pannable_area_init): Initialized new values to handle the
566 (hildon_pannable_area_adjust_value_changed): Check if the values
567 changed before even call the redraw function.
568 (hildon_pannable_area_size_allocate),
569 (hildon_pannable_axis_scroll),
570 (hildon_pannable_area_scroll),
571 (hildon_pannable_area_jump_to): Improved the diagonal movement
574 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
577 2009-06-08 Alberto Garcia <agarcia@igalia.com>
579 * examples/hildon-banner-example.c:
580 Several style updates
581 (on_animation_clicked, on_animation_idle)
582 (on_progress_clicked, on_progress_idle):
583 Add additional reference for the cases when the parent window is
586 2009-06-08 Alberto Garcia <agarcia@igalia.com>
588 * doc/hildon-sections.txt
589 * hildon/hildon-pannable-area.c
590 * hildon/hildon-banner.h
591 * hildon/hildon-banner.c: Documentation updates.
593 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
596 2009-06-05 Alejandro G. Castro <alex@igalia.com>
598 * hildon/hildon-calendar-popup.h:
599 * hildon/hildon-caption.h:
600 * hildon/hildon-code-dialog.h:
601 * hildon/hildon-controlbar.h:
602 * hildon/hildon-date-editor.h:
603 * hildon/hildon-dialog.h:
604 * hildon/hildon-get-password-dialog.h:
605 * hildon/hildon-hvolumebar.h:
606 * hildon/hildon-login-dialog.h:
607 * hildon/hildon-note.h:
608 * hildon/hildon-number-editor.h:
609 * hildon/hildon-range-editor.h:
610 * hildon/hildon-seekbar.h:
611 * hildon/hildon-set-password-dialog.h:
612 * hildon/hildon-sort-dialog.h:
613 * hildon/hildon-time-editor.h:
614 * hildon/hildon-time-picker.h:
615 * hildon/hildon-volumebar-range.h:
616 * hildon/hildon-volumebar.h:
617 * hildon/hildon-vvolumebar.h:
618 * hildon/hildon-weekday-picker.h:
619 * hildon/hildon-window.h:
620 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
621 macros with the current replacements
623 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
625 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
627 * hildon/hildon-color-button.c (hildon_color_button_init): Use
628 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
629 itself, to make it fit better with Fremantle style.
631 Fixes: NB#109878 (height and width of focus on color icon is not
632 consistent with other item in the application tool bar)
634 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
636 * hildon/hildon-touch-selector.c:
637 (hildon_touch_selector_optimal_size_request): use the current requisition
638 as the base, in order to include any possible extra widget, like the
639 hildon entry on HildonTouchSelectorEntry
641 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
643 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
645 * configure.ac: post release version bump
646 * debian/changelog: post release version bump
648 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
653 * configure.ac: Bump version.
654 * debian/changelog: Updates.
656 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
658 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
660 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
661 to ensure the banner contents are centered, instead of relying on
662 the expand and fill properties in GtkHBox.
663 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
665 Fixes: NB#108265 (Animation banner not properly centered)
667 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
669 * hildon/hildon-pannable-area.c
670 (hildon_pannable_area_initial_effect): Remove the initial_effect
671 management, check initial_hint
672 (hildon_pannable_are_expose_event): Remove the initial_hint management,
673 set initial_effect to FALSE
674 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
675 by launching the fade_timeout if the scrollbars state has changed and are
677 * examples/hildon-pannable-area-initial-hint-example.c
678 Modified to allow to remove rows too. Add and remove rows one by one.
680 2009-05-28 Alberto Garcia <agarcia@igalia.com>
682 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
683 Don't close the menu if there's an animation actor below it.
685 Fixes: NB#117927 (Application menu not usable with animation
688 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
690 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
691 "focus-on-click" from the dialog button, to avoid stealing the
692 focus from the entry.
694 Fixes: NB#118903 (Account setup wizard: Text in Search field
695 should be focused when "Region" touch list picker is reopened
698 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
700 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
701 (prepare_action_area): Completely hide the dialog separator.
703 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
705 * hildon/hildon-touch-selector-entry.c
706 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
707 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
708 now that the entry is exposed.
710 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
712 * hildon/hildon-touch-selector-entry.c
713 (hildon_touch_selector_entry_init): Change the entry's size
714 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
716 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
718 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
719 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
720 avoid unnecessary scaling.
722 2009-05-27 Alberto Garcia <agarcia@igalia.com>
724 * hildon/hildon-app-menu.c (hildon_app_menu_map):
725 Create grab transfer window before calling parent's map function.
727 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
728 "crushed" button(s) in the top left corner)
730 2009-05-26 Alberto Garcia <agarcia@igalia.com>
732 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
733 Check if the window is already realized when pushing it.
735 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: post release version bump
738 * debian/changelog: post release version bump
740 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
745 * configure.ac: Bump version.
746 * debian/changelog: Updates.
748 2009-05-25 Alberto Garcia <agarcia@igalia.com>
750 * hildon/hildon-app-menu.c: Doc updates.
752 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
754 * hildon/hildon-banner.c: Remove leftover macro.
756 2009-05-25 Alejandro G. Castro <alex@igalia.com>
758 * hildon/hildon-pannable-area.c,
759 (hildon_pannable_area_scroll_indicator_fade),
760 (hildon_pannable_area_button_release_cb): Reviewed vmin
761 conditions, it could cause problems in the fadeout procedure.
763 2009-05-25 Alejandro G. Castro <alex@igalia.com>
765 * hildon/hildon-pannable-area.c
766 (hildon_pannable_area_button_release_cb): Added a threshold to
767 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
769 2009-05-25 Alejandro G. Castro <alex@igalia.com>
771 * hildon/hildon-pannable-area.c,
772 (hildon_pannable_area_set_property): Added code to sync the gtk
773 dnd threshold with the panning threshold.
775 2009-05-25 Alejandro G. Castro <alex@igalia.com>
777 * hildon/hildon-pannable-area.c,
778 (hildon_pannable_area_class_init): Changed some of the default
779 values, now it should be less responsive and more accurate.
781 2009-05-25 Alejandro G. Castro <alex@igalia.com>
783 * hildon/hildon-pannable-area.c,
784 (hildon_pannable_area_init),
785 (hildon_pannable_area_scroll_indicator_fade),
786 (hildon_pannable_area_button_press_cb),
787 (hildon_pannable_axis_scroll),
788 (hildon_pannable_area_timeout),
789 (hildon_pannable_area_motion_notify_cb),
790 (hildon_pannable_area_button_release_cb): Changed the name of the
791 clicked attribute to button_pressed, it is more clear about its use.
793 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
795 * src/hildon-pannable-area.c
796 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
798 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
799 vertical scrollbar visibility, and use the data on private section instead,
800 remove the initial_hint check
801 (hildon_pannable_area_expose_event): add the initial_hint check here
803 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
805 * src/hildon-pannable-area.c
806 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
807 if the fadeout effect was used
808 (hildon_pannable_area_expose_event): check if it is required to
809 manage the initial effect on the begining of the function. Previously
810 it was made at the end, but this doesn't ensure that the scrollbars
811 will be painted on the first show. Do not set to FALSE initial_effect,
812 to ensure that the initial hint is showed the first time the pannable
814 * examples/Makefile.am
815 * examples/hildon-pannable-area-initial-hint-example.c:
816 New example, to show that the initial-hint is showed when the widget
819 Fixes: NB#116607 (Pannable area should always have scrollbar visible
820 initially if the application can be scrolled)
822 2009-05-25 Alberto Garcia <agarcia@igalia.com>
824 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
825 Resize table before adding new items to make sure that
826 gtk_table_resize() is called just once.
828 2009-05-25 Alberto Garcia <agarcia@igalia.com>
830 * hildon/hildon-app-menu-private.h
831 * hildon/hildon-app-menu.c (item_visibility_changed)
832 (filter_visibility_changed, hildon_app_menu_show_all)
833 (hildon_app_menu_hide_all, hildon_app_menu_init):
834 Rearrange items just once when gtk_widget_show_all()/hide_all()
837 2009-05-25 Alberto Garcia <agarcia@igalia.com>
839 * hildon/hildon-app-menu.c
840 (hildon_app_menu_insert, hildon_app_menu_add_filter):
841 Don't call gtk_widget_show() on added items.
843 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
844 automatically when they're added)
846 2009-05-20 Alberto Garcia <agarcia@igalia.com>
848 * hildon/hildon-banner.c
849 (hildon_banner_realize, +hildon_banner_unrealize)
850 (+screen_size_changed, hildon_banner_class_init):
851 Redisplay the banner if the screen is rotated.
853 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
854 on transition from landscape to portrait)
856 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
858 * hildon/hildon-banner.[ch]:
859 (hildon_banner_show_information_override_dnd): remove icon_name from the
860 method definition as it is ignored.
861 * examples/hildon-banner-dnd-example.c: updated with the change on
864 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
866 * hildon/hildon-banner-private.h: new require_override_dnd and
867 overrides_dnd variables
868 * hildon/hildon-banner.h:
869 (hildon_banner_show_information_override_dnd): new method, that shows
870 the information but sets the override flag, in order to show important
872 * hildon/hildon-banner.c
873 (hildon_banner_show_information_override_dnd): new method
874 (hildon_banner_set_override_flag): new utility function
875 (hildon_banner_real_show_information): new utility function, in order to
876 generalize the current hildon_banner_show_information_override_dnd and
877 hildon_banner_show_information_override_dnd
878 * examples/Makefile.am
879 * examples/hildon-banner-dnd-example.c: New example that show how to
880 use the new hildon_banner_show_information_override_dnd
882 Fixes: NB#114874 (There is no possibility to show hildon banners with
885 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-pannable-area.c: Add a comment explaining the math
888 behind hildon_pannable_calculate_vel_factor().
890 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
892 * hildon/hildon-pannable-area.c
893 (hildon_pannable_calculate_vel_factor): Correct the sum of the
894 deceleration factors.
896 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
898 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
899 Reduce the default value for 'scroll_time' to 1 second, since the
900 current initial scrolling takes too much time.
902 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
904 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
905 calculate velocity factor during initialization, since the properties
908 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-pannable-area.c
911 (hildon_pannable_area_set_property): Calculate the velocity factor
912 after setting the deceleration property and not after.
914 2009-05-20 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-entry.c
917 (hildon_entry_class_init, +set_property, hildon_entry_new)
918 * hildon/hildon-check-button.c
919 (hildon_check_button_class_init)
920 (+set_property, hildon_check_button_new):
921 Make the theme size a property.
923 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
924 others) do too much in the _new function)
926 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: post release version bump
929 * debian/changelog: post release version bump
931 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
936 * configure.ac: Bump version.
937 * debian/changelog: Updates.
939 2009-05-15 Alberto Garcia <agarcia@igalia.com>
941 * hildon/hildon-gtk.h
942 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
943 New API function to take a screenshot of a window
945 Fixes: NB#106374 (Need API to take a loading screenshot)
947 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
949 * hildon/hildon-time-selector.c
950 (update_format_policy): prevent to use hours and minutes unitialized
952 2009-05-15 Alberto Garcia <agarcia@igalia.com>
954 * hildon/hildon-window.c (hildon_window_size_request):
955 Always request the full size of the screen (minus the title bar if
956 not in fullscreen mode).
958 Fixes: NB#107486 (HildonWindow should size itself properly)
960 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
962 * hildon/hildon-note-private.h: Add idle_handler to the private data.
963 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
964 (on_show_cb), (sound_handling): Disconnect the idle handler for
965 the sound when the note is finalized to avoid possible crashes.
967 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
970 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
972 * src/hildon-animation-actor.c,
973 * src/hildon-remote-texture.c:
974 Added proper object cleanup to remove signal handler and object
975 references as HildonAnimationActor and HildonRemoteTexture
976 objects get destroyed.
978 Fixes: NB#116682 (Destroying parented animation actors when
979 parent in unmapped leads to crash)
981 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
983 Based on a patch by Christian Dywan (christian@imendio.com)
985 * doc/hildon-sections.txt:
986 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
987 * hildon/hildon-helper.h: New file size formatting method.
989 * debian/control: Depend on osso-filemanager l10n package for
990 proper localization strings.
992 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
994 * tests/Makefile.am: Include top_srcdir to make possible to build
995 tests in a different builddir.
996 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
997 on a different builddir.
999 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1001 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1002 (hildon_touch_selector_remove): Disconnect model's signal handler
1005 Fixes: NB#116289 (Hildon home crashes while adding task
1008 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1010 * hildon/hildon-button.c
1011 (hildon_button_set_title, hildon_button_set_value):
1012 Hide labels containing an empty string.
1014 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: post release version bump
1017 * debian/changelog: post release version bump
1019 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1029 * hildon/hildon-note-private.h: Removed sound_signal_handler
1030 * hildon/hildon-note.c
1031 (on_show_cb): new callback on note "show" event, this simply adds
1032 a idle, with the function sound_handling
1033 (sound_handling): removed the sound_signal_handler management
1034 (hildon_note_init): connect note "show" event to on_show_cb
1035 (hildon_note_realize): remove the connection to "expose-event"
1037 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1038 device?' confirmation note)
1040 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-note.c
1043 (hildon_note_new_information_with_icon_name)
1044 (hildon_note_new_confirmation_with_icon_name):
1045 Terminate the list of parameters in g_object_set() calls
1047 Fixes: NB#115166 (Formatting memory card is not taking place)
1049 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1051 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1052 "dialog-information" role for the sound being played.
1054 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1056 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1057 Don't make the menu a modal window, it causes strange interactions
1058 with the pointer grab and it's not really needed.
1060 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1062 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1064 * hildon/hildon-touch-selector.[ch]
1065 (hildon_touch_selector_optimal_size_request): function added to get a
1066 optimal size request from the touch selector, when you want a dialog to
1067 show as much of the selector
1068 * hildon/hildon-picker-dialog.c:
1069 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1070 (hildon_app_menu_class_init):
1071 New "max-height-landscape" and "max-height-portrait" style properties
1072 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1073 (hildon_picker_dialog_get_max_height): returns the maximum height using
1074 the style properties defined and checking the current portrait/landscape
1076 (_hildon_picker_dialog_set_selector): removed the set_size_request
1078 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1080 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1082 * hildon/hildon-bread-crumb-trail.c:
1083 * hildon/hildon-bread-crumb.c:
1084 * hildon/hildon-seekbar.c:
1085 Add reference to replacements for these deprecated widgets.
1087 Fixes: MB#4461 (Documentation: All deprecations should mention
1090 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1092 * examples/hildon-remote-texture-example.c
1094 Change the include to the hildon-remote-texture in order to compile
1095 properly the examples on the installed libhildon1-examples package
1097 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1099 * tests/Makefile.am: Add check for HildonPickerButton.
1100 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1101 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1102 checks for the HildonPickerButton.
1103 * tests/check_test.c (configure_tests): Add the test suite.
1104 * tests/test_suites.h: likewise.
1106 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1108 * hildon/hildon-touch-selector.c
1109 (+on_row_changed): Emit HildonTouchSelector:changed when the
1110 contents of a selected row change.
1111 (_create_new_column), (_hildon_touch_selector_set_model): connect
1112 to GtkTreeModel:row-changed on a newly set model.
1114 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1116 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1118 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1120 * hildon/hildon-banner.c (hildon_banner_destroy)
1121 (hildon_banner_show_progress, hildon_banner_set_fraction):
1122 Remove the progress bar from HildonBanner and use a progress
1125 Fixes: NB#113761 (Update progress banner to use progress
1128 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1130 * hildon/hildon-banner.c:
1131 Calculate size of the banner label using the actual screen width
1132 rather than using a fixed value.
1134 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1137 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1139 * hildon/hildon-pannable-area.c,
1140 (hildon_pannable_area_class_init): Fixed signals documentation
1143 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1145 * configure.ac: post release version bump
1146 * debian/changelog: post release version bump
1148 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1153 * configure.ac: Bump version.
1154 * debian/changelog: Updates.
1156 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1158 * hildon/hildon-edit-toolbar.c
1159 (hildon_edit_toolbar_init):
1160 Don't let buttons in HildonEditToolbar receive focus.
1162 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1163 typing on an HW arrows key)
1165 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1167 * doc/Makefile.am: Fix build.
1169 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1171 * doc/Makefile.am: Do not redefine content_files.
1173 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1181 Renamed src/ to hildon/
1186 Include <hildon/hildon.h> directly in all examples.
1188 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1190 * src/hildon-sort-dialog.c
1191 (hildon_sort_dialog_add_sort_key_with_sorting)
1195 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1197 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1198 make distcheck passes.
1200 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1202 * Makefile.am: Enable gtk-doc during distcheck.
1204 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1206 * Makefile.am: Do not distribute the debian/ directory.
1208 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1210 * doc/Makefile.am: Add the extra SGML files to content_files,
1211 so that they are distributed properly.
1213 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1215 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1218 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1220 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1221 (hildon_note_new_information_with_icon_name): Set the "icon" property
1222 to preserve soundness.
1224 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1226 * src/hildon-font-selection-dialog.c
1227 (hildon_font_selection_dialog_set_property): Fail when the "family"
1228 property is set to NULL.
1230 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1232 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1235 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1237 * src/hildon-time-selector.h:
1238 Added HildonTimeSelectorFormatPolicy
1239 * src/hildon-time-selector.c:
1240 Added PROP_TIME_FORMAT_POLICY
1241 (_check_ampm_format): renamed to check_automatic_ampm_format
1242 (update_format_policy), (update_format_dependant_columns): new functions
1243 (hildon_time_selector_class_init)
1244 (hildon_time_selector_contructor)
1245 (hildon_time_selector_init)
1246 (hildon_time_selector_get_property)
1247 (hildon_time_selector_set_property)
1248 (hildon_time_selector_get_time)
1249 (hildon_time_selector_set_time)
1250 * src/hildon-touch-selector.h: new file
1251 * src/hildon-touch-selector.c
1252 (hildon_touch_selector_emit_changed)
1253 (hildon_touch_selector_block_changed)
1254 (hildon_touch_selector_unblock_changed)
1255 Added functions to allow to block the emission of the "changed" signal
1256 * src/hildon-picker-dialog.c
1257 (hildon_picker_dialog_show): call the parent show before the custom code
1258 * examples/hildon-time-button-example.c
1259 Modified, so now you can configure the time format using the new property
1261 Added a new property "time-format-policy" that allow to choose the time
1262 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1263 case it uses gconf in order to check if the time selector must use
1266 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1269 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1271 * src/hildon-note.c (hildon_note_init):
1272 Label in HildonNote must be left aligned, not centered. This
1273 reverts the last commit in HildonNote.
1275 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1276 is connectivity dialog)
1278 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1283 * doc/hildon-sections.txt:
1284 Added hildon_gtk_window_set_do_not_disturb()
1286 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-note.c (hildon_note_init): Center label.
1290 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1293 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1298 * configure.ac: Bump version.
1299 * debian/changelog: Updates.
1301 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1303 * src/hildon-note-private.h: Add button-width to the private data.
1304 * src/hildon-note.c (+resize_button),
1305 (+hildon_note_orientation_update): methods to repack widgets on orientation
1307 (screen_size_changed): Call above method for confirmation notes.
1308 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1309 (hildon_note_rebuild): Store the original width request from buttons.
1311 Fixes: NB#109635 (Confirmation notes do not support portrait)
1313 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1316 when it is a progress note.
1318 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1320 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1321 in the note, since there are no horizontally arranged contents.
1323 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-gtk.c (+set_flag): new generic method to
1326 set/delay a flag setting in a window.
1327 (hildon_gtk_window_set_progress_indicator):
1328 (hildon_gtk_window_set_do_not_disturb),
1329 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1330 avoid code redundance.
1332 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1334 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1336 * src/hildon-gtk.c (set_clear_window_flag),
1337 (do_set_progress_indicator), (do_set_do_not_disturb),
1338 (do_set_portrait_flags),
1339 (hildon_gtk_window_set_progress_indicator),
1340 (hildon_gtk_window_set_do_not_disturb),
1341 (hildon_gtk_window_set_portrait_flags):
1342 Allow setting dnd-flag, progress indicator, and portrait flags
1343 when the window is not realized.
1345 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1347 * src/hildon-pannable-area.c,
1348 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1349 the size request policy function and defines.
1351 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1353 * doc/hildon-sections.txt: Add the new API.
1354 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1355 method to set the portrait flags.
1356 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1358 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1360 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1363 to allow using this method with other flags.
1364 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1365 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1367 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1369 * src/hildon-touch-selector.c
1370 (hildon_touch_selector_append_text_column):
1371 Make the cell renderer use the smallest width possible.
1373 Fixes: NB#108470 (Selected items in multiple selection are either
1374 having a tick that is cut or not visible at all.)
1376 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-touch-selector.c
1379 (hildon_touch_selector_append_text_column):
1382 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1384 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1385 Use g_strdup_printf() instead of a fixed size buffer.
1387 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1389 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1390 Close banners when a HildonAppMenu is popped up.
1392 Fixes: NB#111027 (Title menu closed immediately if activated when
1393 "Invalid e-mail address" banner is shown)
1395 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1400 * configure.ac: Bump version.
1401 * debian/changelog: Updates.
1403 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-banner.c (hildon_banner_realize):
1406 Mark HildonBanner as supporting portrait mode.
1407 Use GDK to set window properties insetad of direct Xlib calls.
1409 Fixes: NB#111830 (HildonBanner should be marked as supporting
1412 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-note.c (hildon_note_rebuild):
1415 Hide action area in information notes. Prevents text from being
1416 slightly aligned to the left.
1418 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1421 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1423 Patch by Mox Soini (ext-mox.soini@nokia.com)
1425 * src/hildon-banner.c (hildon_banner_create_animation):
1426 Use stylus-sized icons in animation banner.
1428 Fixes: NB#111206 (stylus sized icon for animation banner)
1430 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1434 (+hildon_gtk_window_set_do_not_disturb):
1435 New API to set the do-not-disturb flag.
1437 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1439 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1441 * examples/hildon-progress-indicator-example.c: Fix example
1443 * src/hildon-gtk.c (set_clear_window_flag)
1444 (hildon_gtk_window_set_progress_indicator):
1445 Create a generic function for setting flags to a window.
1446 Use GDK instead of direct Xlib calls.
1448 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1450 * src/hildon-button.c (hildon_button_set_arrangement):
1451 Due to NB#88126, if one of the labels is too long it will be
1452 painted outside the button. The 'value' label is more likely to be
1453 the longest one, so we change its packing options in order to
1454 truncate it if necessary. As a side effect, the 'title' label will
1455 no longer be truncated.
1457 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1459 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1464 * configure.ac: Bump version.
1465 * debian/changelog: Updates.
1467 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1469 Deprecation of the hildon_pannable_area_set_size_request_policy
1470 API, the only policy properly supported in gtk+ nowadays is the
1473 * src/hildon-pannable-area.c,
1474 (hildon_pannable_area_size_request): Added a workaround for the
1475 size_request to avoid the problems of huge pixmaps in case someone
1476 is still using the function.
1477 * src/hildon-pannable-area.h: Deprecated the enum with the
1480 Fixes: NB#110244 (Problems with the
1481 hildon_pannable_area_set_size_request_policy API)
1483 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1485 * src/hildon-pannable-area.c,
1486 (hildon_pannable_area_init),
1487 (hildon_pannable_area_size_request),
1488 (hildon_pannable_area_style_set),
1489 (hildon_pannable_draw_vscroll),
1490 (hildon_pannable_draw_hscroll),
1491 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1492 indicator_width to clarify the use of the attribute.
1494 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1499 * configure.ac: Bump version.
1500 * debian/changelog: Updates.
1502 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1504 * src/hildon-picker-dialog.c
1505 * src/hildon-touch-selector.c
1506 Reverting the change that tried to avoid the hardcoded height on
1507 the picker dialog, as causes problems on the hildon-touch-selector
1510 Fixes: NB#110029 (selectors not scrolling to selected value)
1512 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1514 * src/hildon-touch-selector.c: Fix typos
1516 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1518 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1519 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1520 request more motions after using it.
1522 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1524 * src/hildon-calendar.c (hildon_calendar_expose),
1525 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1526 Remove unused variables.
1528 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1530 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1531 variable assignment.
1533 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1536 Check the return value of gtk_tree_selection_get_selected()
1539 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-animation-actor.c
1542 * src/hildon-button.c
1544 * src/hildon-pannable-area.c
1545 * src/hildon-picker-button.c
1546 * src/hildon-program.c
1547 * src/hildon-remote-texture.c
1548 * src/hildon-text-view.c
1549 * src/hildon-touch-selector.c
1550 * src/hildon-window-stack.c
1551 * src/hildon-window.c:
1552 Add missing 'Since: 2.2' tags.
1554 * doc/hildon-sections.txt:
1555 Add some missing symbols.
1557 * doc/hildon-docs.sgml:
1558 New 'Other' section for HildonAnimationActor and
1561 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1563 Patch by Iván Gómez (igomez@igalia.com)
1566 * doc/compiling.sgml
1567 * doc/hildon-docs.sgml
1568 * doc/hildon-sections.txt
1569 * doc/migration.sgml
1570 * doc/resources.sgml
1572 New chapters on using the Hildon library.
1573 Updated the general structure of the reference manual.
1574 Other minor documentation fixes.
1576 * src/hildon-calendar-popup.c
1577 * src/hildon-calendar.c
1578 * src/hildon-controlbar.c
1579 * src/hildon-date-editor.c
1580 * src/hildon-dialog.c
1581 * src/hildon-hvolumebar.c
1582 * src/hildon-number-editor.c
1583 * src/hildon-range-editor.c
1584 * src/hildon-sort-dialog.c
1585 * src/hildon-time-editor.c
1586 * src/hildon-time-picker.c
1587 * src/hildon-volumebar-range.c
1588 * src/hildon-volumebar.c
1589 * src/hildon-vvolumebar.c
1590 * src/hildon-weekday-picker.c:
1591 Add deprecation notes
1593 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1594 Document 'horizontal-movement' and 'vertical-movement' signals.
1596 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1601 * configure.ac: Bump version.
1602 * debian/changelog: Updates.
1604 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_class_init): increased the minimum velocity.
1608 (hildon_pannable_area_button_release_cb): Updated the
1609 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1610 setup. Review the code to control that last event.
1612 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1615 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1617 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1619 * src/hildon-get-password-dialog.c
1620 (hildon_get_password_set_property),
1621 (hildon_get_password_get_property), (create_contents):
1622 * src/hildon-login-dialog-private.h:
1623 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1624 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1625 (hildon_login_dialog_get_password):
1626 * src/hildon-set-password-dialog-private.h:
1627 * src/hildon-set-password-dialog.c
1628 (hildon_set_password_set_property),
1629 (hildon_set_password_get_property), (create_contents),
1630 (hildon_set_password_response_change),
1631 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1633 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1634 instead and look more Fremantle style.
1636 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1638 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1640 * doc/hildon-sections.txt
1641 * src/hildon-window-stack.h
1642 * src/hildon-window-stack.c
1643 (+hildon_window_stack_get_windows):
1644 New API to obtain the list of windows on a stack.
1646 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1648 * src/hildon-app-menu.c (hildon_app_menu_popup)
1649 (hildon_app_menu_class_init, -hildon_app_menu_show):
1650 Remove hildon_app_menu_show() and move all its checks to
1651 hildon_app_menu_popup()
1653 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1655 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1656 (_hildon_picker_dialog_set_selector): removed call to
1657 gtk_widget_set_size_request
1658 * src/hildon-touch-selector.c
1659 (_create_new_column): change the pannable size request policy
1661 Avoid to use a hardcoded height for the hildon picker dialog. In order
1662 to get that, we needed to change the hildon pannable size request
1664 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1666 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1669 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1672 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1674 * debian/control: Depend on osso-system-lock localization package.
1675 * src/hildon-code-dialog.c: Obtain the secu_application_title
1676 translation from osso-system-lock.
1677 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1678 for translation the atk related strings, that's not necessary.
1679 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1680 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1681 cancel button, it is not required.
1683 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1685 * src/hildon-pannable-area.c,
1686 (hildon_pannable_area_class_init): Modified the default value of
1687 the overshooting max speed, we have reduced it.
1689 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1691 * doc/hildon-sections.txt
1692 * src/hildon-window-private.h
1693 * src/hildon-window.h
1694 * src/hildon-window.c (hildon_window_class_init)
1695 (hildon_window_init, hildon_window_finalize)
1696 (hildon_window_realize, hildon_window_get_property)
1697 (hildon_window_set_property, hildon_window_update_markup)
1698 (hildon_window_get_markup, hildon_window_set_markup):
1699 New "markup" property and hildon_window_{get,set}_markup() methods.
1701 * examples/hildon-stackable-window-example.c (new_window):
1702 Update example to use hildon_window_set_markup()
1704 Fixes: NB#106375 (Need API to retitle a window with a title
1707 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1709 * src/hildon-pannable-area.c,
1710 (hildon_pannable_area_class_init): Changed the default value of
1711 the initial_hint to TRUE.
1712 (hildon_pannable_area_initial_effect): Changed the initial effect,
1713 not the effect is just the fade-out of the scrollbars.
1715 Fixes: NB#107775 (No scrollbars can be seen when several items are
1716 available in a dialog)
1718 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1720 * src/hildon-program.c (hildon_program_update_top_most):
1723 Fixes: NB#109179 (Memory leak in Hildon program)
1725 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1727 * src/hildon-banner.c (-get_current_app_window):
1728 Remove unused function.
1730 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-pannable-area.c: Modified the documentation of the
1733 get adjustments functions to explain the problem of using the
1734 adjustment directly.
1735 (hildon_pannable_area_class_init): Improved the explanation about
1738 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-app-menu-private.h
1741 * src/hildon-app-menu.c
1742 (hildon_app_menu_class_init):
1743 Bring back the 'external-border' style property
1744 (hildon_app_menu_class_init, hildon_app_menu_init)
1745 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1746 Set a fixed width-request for the menu, independent of the number
1749 Fixes: NB#94957 (Smoothly opened application menu)
1751 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1755 * src/hildon-banner.c
1756 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1758 Make sure that the banner is correctly placed the first time it's
1760 (hildon_banner_check_position, -check_fullscreen_state):
1761 Show the banner in the same place no matter if the window is in
1762 fullscreen mode or not.
1764 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1766 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-touch-selector.c (_default_print_func): reorder
1769 concatenation for clarity.
1771 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1774 for multicolumn selectors.
1776 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1778 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1783 * configure.ac: Bump version.
1784 * debian/changelog: Updates.
1786 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1791 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1793 * configure.ac: removed libcangerra-gtk dependency
1794 * debian/control: removed libcanberra-gtk dependency
1795 * src/Makefile.am: removed libcanberra gtk related flags
1796 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1797 context, and manage a global canberra context instead
1799 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1801 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1803 Patch by Daniel Borgmann (danielb@openismus.com)
1805 * src/hildon-edit-toolbar.c:
1806 Adjust the left padding.
1807 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1808 Paint background of the edit toolbar.
1810 Fixes: NB#107897 (Patch to make editmodetoolbar background
1811 themeable and adjust margin)
1813 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1815 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1817 * src/hildon-program.c (hildon_program_update_top_most):
1818 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1820 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1821 change when the user tasks in/out of an application)
1823 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1825 * configure.ac: added libcangerra-gtk dependency
1826 * debian/control: added libcanberra-gtk dependency
1827 * src/Makefile.am: added libcanberra gtk related flags
1828 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1831 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1833 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1835 * src/hildon-program.c (hildon_program_remove_window)
1836 (hildon_program_add_window): Add checks for the window
1837 parameter. Don't decrease the window counter if the window is not
1840 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_realize): Fixed position of the event_window
1844 in the realize method.
1846 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-app-menu-private.h
1849 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1850 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1851 (hildon_app_menu_key_press, hildon_app_menu_init)
1852 (hildon_app_menu_finalize):
1853 Make sure that all idle functions are removed when the widget is
1856 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1858 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1863 * configure.ac: Bump version.
1864 * debian/changelog: Updates.
1866 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1868 * src/hildon-entry.c
1869 (+hildon_entry_show_placeholder),
1870 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1871 that replace hildon_entry_update_contents().
1872 (hildon_entry_set_text),
1873 (hildon_entry_set_placeholder),
1874 (hildon_entry_focus_in_event),
1875 (hildon_entry_focus_out_event): Determine when it is needed
1876 either to show or hide the placeholder and call the above methods.
1878 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1879 when the placeholder text is already set)
1881 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1884 simple GdkPixbufAnim using the new icons for the banner.
1885 (hildon_banner_show_animation): Use the above mentioned method to
1886 create the animation widget.
1888 Fixes: NB#103564 (Make hildon animation banner use individual
1889 image files as the animation)
1891 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1893 * src/hildon-pannable-area.c,
1894 (hildon_pannable_leave_notify_event): Check if the child is NULL
1895 to avoid sending the leave.
1897 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-pannable-area.c,
1900 (hildon_pannable_area_class_init),
1901 (hildon_pannable_leave_notify_event): Added a handler of the
1902 leave-notify-signal to consider when no motion notify before
1905 Fixes: NB#107494 (Items stay selected when clicking and moving
1906 away when inside pannable area)
1908 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1913 * configure.ac: Bump version.
1914 * debian/changelog: Updates.
1916 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1918 Patch by Alberto Garcia (agarcia@igalia.com)
1920 * src/hildon-date-button.c,
1921 (hildon_date_button_class_init),
1922 (hildon_date_button_init): Removed the construct property handling
1923 and created a default selector in the init method.
1924 * src/hildon-picker-button.c,
1925 (hildon_picker_button_class_init): Removed the construct flag of the
1928 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-main.c (hildon_init):
1931 Don't allow hildon_init() to be called more than once.
1933 Fixes: NB#106607 (hildon_init should issue error message upon
1936 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1938 * examples/hildon-pannable-area-touch-list-example.c
1939 * examples/hildon-pannagle-area-touch-grid-example.c
1940 * examples/hildon-edit-toolbar-example.c
1941 * examples/hildon-touch-selector-multi-cells-example.c
1942 Removed the call to gtk_rc_parse_string, as it is not required since
1945 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1947 * src/hildon-pannable-area.c,
1948 (hildon_pannable_area_class_init): Modified the default panning
1949 threshold of the widget to 6px.
1951 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1952 than the threshold value ) within the button is not sending the
1955 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1958 for the treeview in the new column. This way, the touch list will never
1961 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1962 be selected manually for the HW keys to work)
1964 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1967 comparison instead of using strcmp(). Fixes a compiler warning as well.
1969 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1971 * doc/hildon-docs.sgml: Do not set the library version in the
1972 document title, use the releaseinfo tag for that purpose instead.
1974 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1976 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1977 Do not jump to the first item if the text in the entry is removed.
1979 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1984 * configure.ac: Bump version.
1985 * debian/changelog: Updates.
1987 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-entry.c (hildon_entry_refresh_contents):
1990 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1991 Use "ReversedSecondaryTextColor" for the placeholder text.
1993 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-text-view.c: Fix compilation warning.
1997 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-button.c (hildon_button_class_init): Don't make
2000 "title" and "value" construction properties, to prevent them from
2001 overwriting labels set from derived classes.
2003 * src/hildon-picker-button.c
2004 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2005 (hildon_picker_button_class_init): Make touch-selector a
2006 construction property.
2008 * src/hildon-date-button.c (hildon_date_button_class_init)
2009 (+hildon_date_button_constructed): Add a default date selector if
2012 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2014 * src/hildon-touch-selector.c: Small documentation fixes.
2016 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2018 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2020 * src/hildon-entry.c (hildon_entry_refresh_contents),
2021 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2022 widget name, set the logical color directly instead and a boolean
2023 showing_placeholder instead.
2024 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2025 use the widget name here either.
2027 Fixes: NB#105678 (HildonTextView should use logical colours
2028 instead of setting widget name)
2030 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2032 Patch by Daniel Elster (danielk@openismus.com)
2034 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2035 Add user_data parameter.
2036 (hildon_touch_selector_set_print_func_full): New function akin
2037 hildon_touch_selector_set_print_func() but with support for user
2038 data and a destroy callback.
2039 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2040 to clean up the print function user data.
2041 (hildon_touch_selector_class_init): Install dispose function.
2042 (HildonTouchSelectorPrivate::print_user_data),
2043 (HildonTouchSelectorPrivate::print_destroy_func): New private
2045 (hildon_touch_selector_init): Initialize new private members.
2046 (hildon_touch_selector_get_current_text): Pass along user data
2047 to the print function.
2048 (_default_print_func): Add dummy user_data to parameter list.
2049 * hildon-date-selector.c (_custom_print_func): ditto,
2050 * hildon-time-selector.c (_custom_print_func): ditto,
2051 * hildon-touch-selector-entry.c
2052 (hildon_touch_selector_entry_print_func): ditto.
2054 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2056 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2058 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2060 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_init),
2064 (hildon_pannable_area_button_press_cb),
2065 (hildon_pannable_area_motion_notify_cb): We have added code to
2066 handle the leave and enter events when using the motion events.
2068 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2070 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-date-button.c (hildon_date_button_get_date)
2073 (hildon_date_button_set_date): Make sure that the button has a
2076 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2078 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2080 * src/hildon-pannable-area.c,
2081 (hildon_pannable_area_class_init),
2082 (hildon_pannable_area_calculate_velocity): Modify the use of the
2083 force and adapt the value.
2085 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2088 (hildon_app_menu_class_init): Hide the menu if it receives a
2089 delete-event, but don't destroy it
2091 Fixes: NB#104485 (Not able to address the call when application
2092 menu is opened at background)
2094 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-app-menu.c
2097 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2098 Remove the "external-border" style property, let the menu take its
2099 natural size (or the one set by the window manager)
2100 (hildon_app_menu_repack_items):
2101 Don't reshow the menu, avoid flickers.
2103 Partially fixes NB#94957 (Smoothly opened application menu)
2105 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2110 * configure.ac: Bump version.
2111 * debian/changelog: Updates.
2113 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2115 * src/hildon-pannable-area.c,
2116 (hildon_pannable_area_motion_notify_cb): We control that the
2117 direction error margin is used just in case the movement is
2118 allowed in the other direction.
2120 Fixes: NB#105012 (buttons inside a pannable area not getting
2121 release event when dragging/releasing)
2123 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2125 * src/hildon-pannable-area.c,
2126 (hildon_pannable_area_class_init),
2127 (hildon_pannable_area_get_property),
2128 (hildon_pannable_area_set_property),
2129 (hildon_pannable_area_initial_effect),
2130 (hildon_pannable_axis_scroll),
2131 (hildon_pannable_area_button_release_cb): Reviewed the
2132 overshooting effect, now it has its own max
2133 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2134 speed when bouncing.
2136 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2141 * configure.ac: Bump version.
2142 * debian/changelog: Updates.
2144 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2146 * src/hildon-pannable-area.c,
2147 (hildon_pannable_area_class_init): Changed the max speed, now
2148 users can launch the widget very fast. Reduced the default force,
2149 that way it is easier to control the launch speed.
2151 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2153 * src/hildon-pannable-area.c,
2154 (hildon_pannable_area_button_release_cb): Removed this check
2155 because it causes problems when the device is overloaded.
2157 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2160 add a current_text field to store the text entered in the
2161 touch selector entry.
2162 (_clean_current_selection): clean up the current text as well.
2163 (_save_current_selection), (_restore_current_selection):
2164 Save/restore the text in the entry if the selector is a
2165 HildonTouchSelectorEntry.
2167 Fixes: NB#102541 (value entered in the touch selector entry is not
2168 shown when opened for second time)
2170 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2172 * doc/hildon-sections.txt:
2173 * src/hildon-touch-selector-entry.c
2174 (+hildon_touch_selector_entry_get_entry):
2175 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2177 Fixes: NB#104815 (I need accessor to the entry inside
2178 HildonTouchSelectorEntry)
2180 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2183 (hildon_app_menu_class_init):
2184 New "filter-vertical-spacing" style property.
2186 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-find-toolbar.c
2189 (hildon_find_toolbar_emit_close)
2190 (hildon_find_toolbar_emit_invalid_input)
2191 (hildon_find_toolbar_entry_activate):
2192 Use g_signal_emit() instead of g_signal_emit_by_name()
2194 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2196 Patch by Mox Soini (ext-mox.soini@nokia.com)
2198 * tests/TEST-CASES.txt
2199 * tests/check-hildon-banner.c
2200 * tests/check-hildon-note.c
2201 * src/hildon-banner.c
2202 * src/hildon-code-dialog.c
2203 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2204 * src/hildon-time-editor.c
2205 * examples/hildon-lookup-example.c (main):
2206 Replace obsolete icon names with new ones.
2208 * src/hildon-find-toolbar-private.h:
2209 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2210 (-hildon_find_toolbar_emit_search):
2211 Remove find button and change icon of close button.
2213 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2215 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-time-button.c (hildon_time_button_new_step):
2218 Use the "touch-selector" property to set the selector directly
2219 when creating the object.
2221 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2223 Added a new example application that allows tuning the pannable
2224 area and replaced defines with properties in order to simplify the
2225 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2226 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2227 PROP_DIRECTION_ERROR_MARGIN.
2229 * examples/hildon-pannable-area-tuning-example.c: New example
2231 * src/hildon-pannable-area.c,
2232 (hildon_pannable_area_class_init),
2233 (hildon_pannable_area_init),
2234 (hildon_pannable_area_get_property),
2235 (hildon_pannable_area_set_property),
2236 (hildon_pannable_area_launch_fade_timeout),
2237 (hildon_pannable_area_adjust_value_changed),
2238 (hildon_pannable_axis_scroll),
2239 (hildon_pannable_area_motion_notify_cb),
2240 (hildon_pannable_area_scroll_cb),
2241 (hildon_pannable_area_button_release_cb): We have converted some
2242 of the defines that control the widget to properties to simplify
2245 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-app-menu.c (hildon_app_menu_map)
2248 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2249 so it's closed if a new window appears.
2251 Fixes: NB#104485 (Not able to address the call when application
2252 menu is opened at background)
2254 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2257 missing 'break' statement in in 'case' construct to avoid
2260 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-touch-selector-entry.c
2263 (hildon_touch_selector_entry_get_property),
2264 (hildon_touch_selector_entry_set_property): Add missing 'break'
2265 statements in in 'case' constructs to avoid incorrect warnings.
2267 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-time-editor.c
2270 (hildon_time_editor_get_time_separators): Do not crash if
2271 the first label is NULL.
2273 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-date-selector.c (_month_days): Check for month to be
2276 strictly less than 12, since otherwise we may overrun the array.
2278 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-date-button.c (+hildon_date_button_new_full)
2281 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2282 (hildon_date_button_init): Set the date selector using a
2283 construction property, to make it happen after HildonButton's
2284 "value" property is set.
2286 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2287 current date by default)
2289 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2291 * doc/hildon-sections.txt
2292 * src/hildon-program.c
2293 * src/hildon-stackable-window.c
2294 * src/hildon-window.c:
2295 Documentation updates
2297 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2300 (hildon_window_stack_new, +hildon_window_stack_set_property)
2301 (+hildon_window_stack_get_property)
2302 (hildon_window_stack_class_init)
2303 (+hildon_window_stack_set_window_group)
2304 (+hildon_window_stack_get_window_group):
2305 Make the window group a construction property.
2307 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2309 * doc/hildon-sections.txt
2310 * src/hildon-stackable-window-private.h
2311 * src/hildon-stackable-window.h
2312 * src/hildon-stackable-window.c
2313 (-hildon_stackable_window_set_app_menu)
2314 (-hildon_stackable_window_get_app_menu)
2315 (-hildon_stackable_window_toggle_menu)
2316 (-hildon_stackable_window_finalize)
2317 (hildon_stackable_window_class_init)
2318 (hildon_stackable_window_init)
2319 * src/hildon-window-private.h
2320 * src/hildon-window.h
2321 * src/hildon-window.c (hildon_window_init)
2322 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2323 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2324 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2325 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2326 Moved all HildonAppMenu code to HildonWindow. The menu does not
2327 require a HildonStackableWindow anymore.
2329 * src/hildon-app-menu.c
2330 * src/hildon-program.c
2331 * examples/hildon-app-menu-example.c (main):
2332 Update examples and documentation to reflect HildonAppMenu
2335 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-remote-texture.c
2338 * src/hildon-animation-actor.c:
2339 Don't include unused private headers.
2341 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2343 * src/hildon-program-private.h
2344 * src/hildon-program.c
2345 (hildon_program_set_common_menu)
2346 (hildon_program_get_common_menu)
2347 (hildon_program_set_common_app_menu)
2348 (hildon_program_get_common_app_menu):
2349 Change common menu pointers from GtkWidget* to GtkMenu* and
2350 HildonAppMenu* to avoid unnecessary casts.
2352 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-window.c (hildon_window_set_main_menu):
2355 Removed incorrect 'Since:' tag
2357 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2359 * src/hildon-pannable-area.c,
2360 (hildon_pannable_area_calculate_velocity): We use now the
2361 RATIO_TOLERANCE here to check the distance, fixed typo in the
2363 (hildon_pannable_area_motion_notify_cb): We have to set the type
2364 and time even if we are not sending the motion.
2366 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2368 * doc/hildon-sections.txt
2369 * src/hildon-app-menu.h
2370 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2371 (+hildon_app_menu_get_filters): New methods to get the contents of
2374 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2377 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2379 * src/hildon-app-menu.c (hildon_app_menu_popup):
2382 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-window.h
2385 * src/hildon-window.c (+hildon_window_get_main_menu)
2386 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2387 and deprecated hildon_window_get_menu().
2389 * src/hildon-stackable-window.h
2390 * src/hildon-stackable-window.c
2391 (+hildon_stackable_window_set_app_menu)
2392 (+hildon_stackable_window_get_app_menu)
2393 (hildon_stackable_window_set_main_menu): Created
2394 hildon_stackable_window_{get,set}_app_menu() and deprecated
2395 hildon_stackable_window_set_main_menu().
2397 * doc/hildon-sections.txt
2398 * examples/hildon-app-menu-example.c (main)
2399 * src/hildon-app-menu.c
2400 * src/hildon-program.c:
2401 Updated examples and documentation.
2403 Fixes: NB#103758 (No way to obtain a menu from a
2404 HildonStackableWindow)
2406 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2411 * configure.ac: Bump version.
2412 * debian/changelog: Updates.
2414 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2416 * examples/hildon-remote-texture-example.c: Include
2417 hildon-remote-texture.h explicitely.
2418 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2419 applications not defining _XOPEN_SOURCE which don't require this header.
2421 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2423 * doc/hildon-sections.txt
2424 * src/hildon-app-menu.h
2425 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2426 New function to pop up a HildonAppMenu
2428 * src/hildon-stackable-window.c
2429 (hildon_stackable_window_toggle_menu):
2430 Use hildon_app_menu_popup() to show the menu.
2432 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-app-menu.c (hildon_app_menu_show)
2435 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2436 menu if there's another window between it and its parent window.
2438 Fixes: NB#100468 (Application menu window is launched even when a
2439 new secondary-window/dialog is pending to be shown/realized)
2441 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-window-stack.c (hildon_window_stack_push)
2444 (hildon_window_stack_pop_and_push):
2445 Don't forget to push/pop the first window.
2446 Reverse the window list before calling _push_list()
2448 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-picker-button.h
2451 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2452 Remove "value_changed" slot to avoid ABI breakage
2454 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_realize),
2458 (hildon_pannable_area_unrealize),
2459 (hildon_pannable_draw_vscroll),
2460 (hildon_pannable_draw_hscroll): Changed the method to handle the
2461 GC used to draw the transparent scrollbar, this way we avoid
2462 creating the GC all the time when drawing the scrollbars.
2464 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c,
2467 (hildon_pannable_area_init),
2468 (hildon_pannable_area_remove): Removed some unnecessary casts.
2469 (hildon_pannable_area_dispose): Disconnected some signals before
2470 releasing the adjustments.
2472 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2475 Make sure that all widgets contained in the toolbar are shown.
2477 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2479 * doc/hildon-sections.txt
2480 * src/hildon-picker-button.h
2481 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2482 (_selection_changed, hildon_picker_button_on_dialog_response)
2483 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2484 New hildon_picker_button_value_changed() method.
2487 * src/hildon-picker-button-private.h
2488 * src/hildon-picker-button.c (hildon_picker_button_init)
2489 (+hildon_picker_button_disable_value_changed): Add protected
2490 function for disabling the "value-changed" signal.
2492 * src/hildon-date-button.c (hildon_date_button_set_date):
2493 Don't emit "value-changed" for each one of the three columns.
2495 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2496 before actual change of values)
2498 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2500 * src/hildon-pannable-area.c,
2501 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2502 for the treeview overshooting.
2504 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-banner.c (+hildon_banner_bind_style):
2507 Renamed from hildon_banner_bind_label_style(), now naming the
2508 banner itself as well.
2509 (hildon_banner_show_information),
2510 (hildon_banner_show_information_with_markup),
2511 (hildon_banner_show_animation), (hildon_banner_show_progress):
2512 Name the widgets and labels, based on their type.
2514 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2517 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-note.c (hildon_note_set_property): call
2520 hildon_note_rename() on HildonNote:note-type set.
2521 (hildon_note_rename): Name the note and its label, based on the
2522 HildonNote:note-type property.
2524 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2527 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2529 * src/hildon-pannable-area.c,
2530 (hildon_pannable_area_class_init),
2531 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2532 panning parameters, increased SPS and deceleration factor. Added
2533 also a margin to control fake directions.
2535 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2537 Patch by Sven Herzberg (sven@imendio.com)
2539 * configure.ac: Add missing AM_PROG_CC_C_0
2540 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2542 See NB#101420 (Update unit tests and fix make check)
2544 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2546 This patch was applied before but reverted because it caused
2547 problems, we have changed the main condition and tested the
2548 regressions we detected before and they work ok. We have done a
2549 complete review of the topmost algorithm in order to get a more
2552 * src/hildon-pannable-area.c,
2553 (hildon_pannable_area_get_topmost): Added a new parameter to
2554 filter the the windows that do not include those events.
2555 (hildon_pannable_area_button_press_cb),
2556 (hildon_pannable_area_button_release_cb),
2557 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2558 topmost function, we have added the new parameter.
2560 Fixes: NB#97458 (Pannable area prevents propagation of button
2563 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2566 if all columns in the selector have an item selected.
2567 (_on_dialog_response): Stop "response" signal emission if there is
2568 any selector column without selected items.
2570 Fixes: NB#101889 (Picker dialog should not close when nothing is
2571 selected in multiple selection list)
2573 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-font-selection-dialog.c
2576 (hildon_font_selection_dialog_class_init),
2577 (hildon_font_selection_dialog_init): Remove the preview
2578 button and dialog, since previewing with default theming is likely
2579 to be overcomplicated. The :preview property has now no effect.
2580 Update documentation blurbs to inform about this.
2582 Fixes: NB#92297 (Preview content is not clearly visible for
2583 default colour text)
2585 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2587 Reviewed the geometry that handles the children size and
2588 scrollbar, now it tries a size and reviews the results depending
2589 on the scrollbars visibility.
2591 * src/hildon-pannable-area.c,
2592 (hildon_pannable_area_realize): Fixed a typo.
2593 (hildon_pannable_area_child_allocate_calculate): Added this
2594 function to calculate the child allocation.
2595 (hildon_pannable_area_size_allocate): Reviewed the allocation
2597 (hildon_pannable_area_check_scrollbars),
2598 (hildon_pannable_area_refresh): Refactored refresh function, this
2599 way we can call the code handling the scrollbars without causing a
2600 size_request, it is interesting in the allocate.
2601 (hildon_pannable_area_init): Replace the callbacks of the
2602 value_changed and changed signals to propertly deal with the
2604 (hildon_pannable_area_grab_notify),
2605 (hildon_pannable_area_initial_effect),
2606 (hildon_pannable_area_launch_fade_timeout),
2607 (hildon_pannable_area_adjust_changed),
2608 (hildon_pannable_area_adjust_value_changed),
2609 (hildon_pannable_area_redraw),
2610 (hildon_pannable_area_button_press_cb),
2611 (hildon_pannable_area_button_release_cb),
2612 (hildon_pannable_area_scroll_cb),
2613 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2614 code and use the new functions adjust_changed and
2615 adjust_value_changed.
2617 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2618 Contact editor dialog)
2620 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2625 * configure.ac: Bump version.
2626 * debian/changelog: Updates.
2628 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2630 * src/hildon-pannable-area.c,
2631 (hildon_pannable_area_get_topmost),
2632 (hildon_pannable_area_button_press_cb),
2633 (hildon_pannable_area_button_release_cb),
2634 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2635 topmost function adding the event mask. We have to try a
2636 differente approach because it is still causing problems (NB#9745,
2639 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-banner.c:
2642 Update the maximum width of timed banners.
2643 (force_to_wrap_truncated): Enforce the maximum text width if the
2646 Fixes: NB#102413 (The text margins (wrapping) in information
2647 banner should be HILDON_MARGIN_TRIPLE)
2649 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2651 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2653 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2654 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2655 bound when calculating the scroll indicator position.
2657 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2658 treat ->lower correctly)
2660 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2663 expose event handling, since it is not necessary to draw the focus
2666 Fixes: NB#102467 (Do not show highlight on the text in
2669 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2672 full height of the toolbar for the button and the label.
2674 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2677 padding before the label and after the button.
2679 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2683 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2684 Add a GtkVSeparator between the button and the back arrow.
2685 Let the button have automatic size.
2686 Set a name to the widget for theming handling.
2688 Fixes: NB#101793 (Make edit toolbar the same height as window
2689 title bar (use title area theming))
2691 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-helper.c (attach_new_color_element): Fix memory
2696 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2698 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2700 * examples/hildon-button-example.c (common_buttons_window): Don't
2703 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2706 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2708 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2710 * src/hildon-gtk.c: Check that the window is realized.
2712 Fixes: NB#102225 (Crash setting the progress indicator to a non
2715 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2718 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2719 instead of modifying the one in the widget style.
2721 Fixes: NB#101043 (Second row of all the command button are
2722 displayed in transparent mode.)
2724 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-date-button.c
2727 * src/hildon-time-button.c: Add gettext macros
2729 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-date-button.c (hildon_date_button_new):
2732 * src/hildon-time-button.c (hildon_time_button_new_step):
2733 Use new logical strings to set the button default title.
2735 Fixes: NB#99915 (Date and Time options are not localised in Date
2738 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2740 * src/hildon-pannable-area.c
2741 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2742 the PANNING_THRESHOLD.
2744 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2746 * src/hildon-pannable-area.c,
2747 (hildon_pannable_area_class_init): Increased the maximum speed.
2748 (hildon_pannable_area_get_property),
2749 (hildon_pannable_area_set_property),
2750 (hildon_pannable_area_timeout): Added a new low friction mode, it
2751 allows the user avoid friction when launching the widget fast
2752 enough. It is interesting to traverse long lists.
2754 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2757 (+hildon_stackable_window_delete_event): Ignore delete events if
2758 the window is not the topmost one.
2760 Fixes: NB#101698 (Back button long press and delete-event handling)
2762 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2764 * src/hildon-pannable-area.c,
2765 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2766 gtk-dnd-drag-threshold, it was too big. We have defined our own
2767 dnd define and set a smaller value: PANNIG_THRESHOLD.
2769 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2772 user-defined icons, use always the default one.
2774 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2776 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2778 This patch was applied before but reverted because it caused
2779 problems, we have changed the main condition and tested the
2780 regressions we detected before and they work ok.
2782 * src/hildon-pannable-area.c,
2783 (hildon_pannable_area_get_topmost): Added a new parameter to
2784 filter the the windows that do not include those events. Added
2785 also a condition when finding the window to filter windows that do
2786 not ask for those events.
2787 (hildon_pannable_area_button_press_cb),
2788 (hildon_pannable_area_button_release_cb),
2789 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2790 topmost function, we have added the new parameter.
2792 Fixes: NB#97458 (Pannable area prevents propagation of button
2795 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2797 * tests/check-hildon-color-button.c (START_TEST): do not leak
2800 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2802 * src/hildon-font-selection-dialog.c
2803 (hildon_font_selection_dialog_get_preview_text): Return NULL
2804 instead of FALSE on the g_return_val_if_fail().
2806 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2808 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2809 * src/hildon-date-selector.c
2810 (hildon_date_selector_select_current_date):
2811 Do not compare unsigned integers to be greater than or equal 0,
2812 because it's always TRUE.
2814 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2817 (hildon_date_selector_constructor): Do not select the current
2818 date until we are handle the "changed" signal, to avoid having bogus
2819 elements in the days model.
2821 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2824 for num_days, since _month_days() can return a negative value.
2826 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-caption.c (hildon_caption_size_allocate):
2829 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2830 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2832 Initialize allocation variables to 0, to avoid eventually using
2833 unitialized variables.
2835 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-bread-crumb-trail.c
2838 (hildon_bread_crumb_trail_size_allocate):
2839 * src/hildon-calendar.c (hildon_calendar_set_background):
2840 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2841 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2842 * src/hildon-seekbar.c (hildon_seekbar_init):
2843 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2844 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2845 * src/hildon-touch-selector-entry.c
2846 (hildon_touch_selector_get_text_from_model):
2847 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2848 * src/hildon-window.c (hildon_window_finalize):
2850 Remove many unused variables.
2852 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-seekbar.c: (hildon_seekbar_init),
2855 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2857 Remove unnecessary g_assert() calls.
2859 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-caption.c: (hildon_caption_expose),
2862 (hildon_caption_set_property), (hildon_caption_init),
2863 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2864 (hildon_caption_size_request), (hildon_caption_size_allocate),
2865 (hildon_caption_forall), (hildon_caption_set_separator),
2866 (hildon_caption_activate), (hildon_caption_set_child_expand),
2867 (hildon_caption_set_label_text),
2868 (hildon_caption_get_label_alignment):
2870 Remove unnecessary g_assert() calls.
2872 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2874 * src/hildon-banner.c
2875 (hildon_banner_map, hildon_banner_init): Make banner temporary
2876 before mapping it to avoid closing other temporary windows, but
2877 make it non-temporary afterwards to avoid being closed by other
2878 non-temporary windows.
2879 (-hildon_banner_client_event, hildon_banner_init):
2880 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2882 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2885 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2890 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2892 * src/hildon-remote-texture.c
2893 * src/hildon-remote-texture.h
2894 * src/hildon-remote-texture-private.h
2895 * examples/hildon-remote-texture-example.c:
2896 Updates/fixes to remote-texture and its example.
2898 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2900 Patch by Mox Soini (ext-mox.soini@nokia.com)
2902 * src/hildon-code-dialog.c: Update logical id.
2903 * src/hildon-set-password-dialog.c: Update logical id.
2905 Fixes: NB#100646 (Logical strings is shown for ok in set
2906 password,Password needed dialogs)
2908 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2911 * src/hildon-remote-texture.c
2912 * src/hildon-remote-texture.h
2913 * src/hildon-remote-texture-private.h
2915 Added remote texture widget (for Clutter shared memory textures)
2917 * examples/hildon-remote-texture-example.c
2918 * examples/Makefile.am
2919 Added example file for remote texture usage
2921 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2923 * configure.ac: post release version bump.
2924 * debian/changelog: version bump.
2926 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2931 * configure.ac: Bump version.
2932 * debian/changelog: Updates.
2934 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-date-selector.c (hildon_date_selector_init)
2937 (hildon_date_selector_constructor): Don't connect to the "changed"
2938 signal until the selector is completely constructed.
2940 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2942 * src/hildon-touch-selector.c: (_create_new_column),
2943 (hildon_touch_selector_append_column),
2944 (hildon_touch_selector_set_column_selection_mode),
2945 (hildon_touch_selector_set_active),
2946 (hildon_touch_selector_select_iter):
2947 Emit the HildonTouchSelector::changed signal every time selection
2948 is changed in any of the methods above. This behavior was already
2949 documented but not fully functional.
2951 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2952 selection is programmatically changed)
2954 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2956 * doc/hildon-sections.txt: Remove obsolete icon
2957 sizes from here as well.
2959 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2961 * examples/hildon-stackable-window-example.c (add_window): Remove
2964 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-app-menu.c
2967 (hildon_app_menu_show): Check whether the parent window of a menu
2968 is topmost before popping it up.
2970 Fixes: NB#100468 (Application menu window is launched even when a
2971 new secondary-window/dialog is pending to be shown/realized.)
2973 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2975 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2978 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2980 Patch by Mox Soini (ext-mox.soini@nokia.com)
2982 * src/hildon-banner.c: (hildon_banner_show_animation):
2983 use stylus size instead of obsolete note size.
2984 * src/hildon-defines.h: Update icon sizes.
2986 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-touch-selector-entry.c:
2989 (hildon_touch_selector_entry_init): Disable unsupported
2991 (hildon_touch_selector_entry_get_text_column): Emit a warning
2992 if an unsupported input modes is used and explicitile state
2993 these modes in the documentation.
2995 Fixes: NB#99802 (Hildon touch selector entry not working properly
2996 for some of the input modes)
2998 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3000 * src/hildon-pannable-area.c,
3001 (hildon_pannable_area_init): Added the changed signal handlers of
3004 Fixes: NB#100320 (HildonPannableArea does not listen to
3005 GtkAdjustment "change" signals)
3007 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3009 * doc/hildon-sections.txt
3010 * src/hildon-window-private.h
3011 * src/hildon-window.h
3012 * src/hildon-window.c (hildon_window_init)
3013 (hildon_window_realize, hildon_window_unrealize)
3014 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3015 (hildon_window_size_request, hildon_window_size_allocate)
3016 (hildon_window_forall, hildon_window_show_all)
3017 (hildon_window_destroy, +paint_edit_toolbar)
3018 (+hildon_window_set_edit_toolbar):
3019 New hildon_window_set_edit_toolbar() method, to add a
3020 HildonEditToolbar to a window without having to pack it manually.
3022 Reorganize hildon_window_size_allocate()
3024 * src/hildon-edit-toolbar.c: Update documentation.
3026 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3027 example to use the new API.
3029 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3031 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3034 Remove from stack before calling parent's hide.
3036 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3039 window is removed from the middle of the stack, update the
3040 transiency of the previous one.
3042 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3045 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3048 block/unblock the signal handler if it's not actually being used.
3049 Fixes some critical warnings.
3051 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3053 Based on a patch by Iván Gómez (igomez@igalia.com)
3055 * src/hildon-banner.c
3059 * src/hildon-pannable-area.c
3060 * src/hildon-picker-dialog.c
3061 * src/hildon-wizard-dialog.h
3062 * src/hildon-wizard-dialog.c: Documentation updates.
3064 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3065 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3067 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3069 * configure.ac: post release version bump.
3070 * debian/changelog: version bump.
3072 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3077 * configure.ac: Bump version.
3078 * debian/changelog: Updates.
3080 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3083 a stock icon nor change the relief of the back arrow.
3085 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3086 graphics from theme)
3088 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-button.c (hildon_button_set_alignment): Use
3091 priv->alignment if the button has no child yet.
3093 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3095 * src/hildon-button.c: (hildon_button_init): Set the
3096 button style during initialization to give it the proper
3099 Fixes: NB#99713 (HildonButton value label color is wrong)
3101 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3103 * src/hildon-touch-selector.c: Document
3104 hildon_touch_selector_center_on_selected()
3106 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3109 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3110 all menu items, but not the menu itself.
3111 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3112 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3113 items after adding them to the menu so keyboard accelerators work.
3114 (hildon_app_menu_show): Don't show the menu if it contains items
3115 but none of them are visible.
3117 * examples/hildon-app-menu-example.c (create_menu): Use
3118 gtk_widget_show_all() to show all menu items.
3120 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3122 * src/hildon-picker-dialog.c:
3123 (-_update_title_on_selector_changed_cb),
3124 (-_dialog_update_title): Removed.
3125 (_select_on_selector_changed_cb), (_on_dialog_response),
3126 (on_selector_columns_changed): Do not update the dialog title.
3127 (setup_interaction_mode): Do not connect to
3128 HildonTouchSelector::changed signal if there's a "done" button, as
3129 the dialog title doesn't need to be updated.
3131 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3134 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3136 Patch by Kristian Rietveld (kris@imendio.com)
3138 * src/hildon-touch-selector.c: (_create_new_column): Use new
3139 GtkTreeView::hildon-row-tapped signal to react to user interactions
3140 instead of ::changed.
3142 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3143 with some dynamic tree model)
3145 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3148 (+screen_size_changed, +label_size_request)
3149 (hildon_note_class_init): Make the Hildon information note have a
3150 minimum height, and make its text hvae a maximum width.
3152 Fixes: NB#98614 (Hildon information note (background) should have
3153 minimum height and maximum text width)
3155 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-banner.h
3158 * src/hildon-banner.c (hildon_banner_show_information)
3159 (hildon_banner_show_informationf)
3160 (hildon_banner_show_information_with_markup): Update documentation
3161 to reflect that the icon_name parameter is not used anymore.
3162 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3163 Remove all code from these functions and mark them as deprecated.
3164 (hildon_banner_show_progress): Mark as deprecated.
3166 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3168 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3170 * src/hildon-pannable-area.c,
3171 (hildon_pannable_area_class_init),
3172 (tranparency_color),
3173 (hildon_pannable_draw_vscroll),
3174 (hildon_pannable_draw_hscroll),
3175 (hildon_pannable_area_expose_event): Added a new way to render the
3176 scrollbars of the pannable area avoiding using cairo at all. This
3177 way we improve the performance of the pannable area rendering. The
3178 cairo rendering procedure is still in the code, we can control
3179 which one to use changing the value of the define
3180 USE_CAIRO_SCROLLBARS.
3182 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3184 * configure.ac: post release version bump.
3185 * debian/changelog: version bump.
3187 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3192 * configure.ac: Bump version.
3193 * debian/changelog: Updates.
3195 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3198 banners instead of destroying them when they receive a button
3201 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3203 Reverted commit 34028, it was causing regressions, probably the
3204 topmost condition is not correct, we have to check it in more
3205 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3206 propagation of button press events)
3208 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3210 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3211 that the selection is not empty before attempting to retrieve the
3212 current ampm selection.
3214 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3216 * src/hildon-picker-button.c:
3217 (hildon_picker_button_on_dialog_response): Directly update the
3218 button contents when required instead of calling _selection_changed.
3220 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-program.c (hildon_program_update_top_most): Update
3223 'is-topmost' property also when wm_hints is not set.
3225 Fixes: NB#98383 (is-topmost signal is not emitted when task
3226 switcher is clicked.)
3228 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3230 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3234 * src/hildon-animation-actor.c,
3235 * src/hildon-animation-actor.h: Added the animation actor class,
3236 this widget represents an animation actor for WM-assisted
3237 animation effects in the Hildon framework.
3239 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-window-stack-private.h
3242 * src/hildon-window-stack.c
3243 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3244 Avoid calling gtk_widget_show() again indirectly from
3245 hildon_stackable_window_show()
3247 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3249 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3252 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3255 (hildon_time_selector_init): Move the construction of the hours and
3256 ampm columns to the constructor to preserve the order the columns
3259 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-picker-dialog.c:
3262 (hildon_picker_dialog_class_init): Connect a realize method.
3263 (+hildon_picker_dialog_realize): Setup the interaction mode here
3265 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3266 yet, do it during the realize instead.
3267 (_on_dialog_response):
3268 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3269 if the widget is not realized, to avoid the dialog response before it
3272 Avoid premature responses in the HildonPickerDialog that can cause it
3273 to be hidden before it's even shown.
3275 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3277 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3278 (on_selector_columns_changed), (requires_done_button),
3279 (+prepare_action_area), (setup_interaction_mode),
3280 (_hildon_picker_dialog_set_selector):
3282 Split the interaction mode setup into preparation of the
3283 action area (prepare_action_area()) and the connection of
3284 the signals in setup_interaction_mode() and update the code to
3287 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3289 * src/hildon-pannable-area.c,
3290 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3291 per second to 15, we will check if this is ok regarding
3294 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3296 * src/hildon-pannable-area.c,
3297 (hildon_pannable_axis_scroll): Avoid resize if we already have
3298 reached overshoot_max.
3300 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_area_init),
3304 (hildon_pannable_area_realize),
3305 (hildon_pannable_area_size_allocate),
3306 (hildon_pannable_area_map),
3307 (hildon_pannable_area_unmap),
3308 (hildon_pannable_draw_vscroll),
3309 (hildon_pannable_draw_hscroll),
3310 (hildon_pannable_area_expose_event),
3311 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3312 pannable are to avoid the expose events go to the window and
3313 redraw the window. We save this way that part of the stack and the
3314 paint_boxes. We had to change the positions of the elements when
3317 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3320 * src/hildon-color-chooser-dialog.c:
3321 (hildon_color_chooser_dialog_init):
3322 * src/hildon-font-selection-dialog.c:
3323 (hildon_font_selection_dialog_init),
3324 (hildon_font_selection_dialog_show_preview):
3325 * src/hildon-get-password-dialog.c:
3326 * src/hildon-login-dialog.c:
3327 * src/hildon-set-password-dialog.c:
3328 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3329 * src/hildon-time-picker.c: (hildon_time_picker_init):
3331 Remove obsolete logical string IDs and update to the appropriate ones.
3333 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3335 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3338 that happens if the window hasn't been realized yet.
3340 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3341 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3343 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3346 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3349 Fixes: NB#98537 (Device hangs in account settings dialog)
3351 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3353 * configure.ac: post release version bump.
3354 * debian/changelog: version bump
3356 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3361 * configure.ac: Bump version.
3362 * debian/changelog: Updates.
3364 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3366 Added a new function to the HildonTimeButton widget that allows to
3367 change the step of the minutes in the selector associated with the
3368 button: hildon_time_button_new_step
3370 * src/hildon-time-button.c,
3371 (hildon_time_button_init),
3372 (hildon_time_button_new),
3373 (hildon_time_button_new_step):
3374 * src/hildon-time-button.h: Added the new function and refactored
3376 * examples/hildon-time-button-example.c,
3377 (main): We have replaced the function without parameters with the
3378 function with the steps set to 5
3380 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3382 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3384 * src/hildon-time-selector.c,
3385 (hildon_time_selector_class_init),
3386 (hildon_time_selector_constructor),
3387 (hildon_time_selector_get_property),
3388 (hildon_time_selector_set_property),
3389 (_create_minutes_model),
3390 (hildon_time_selector_new_step),
3391 (hildon_time_selector_set_time),
3392 * src/hildon-time-selector.h: Added a new property to the
3393 HildonTimeSelector (minutes-step), we use that property to control
3394 the steps between the minutes in the list of the selector. We have
3395 added a new function to the API to create a widget changing the
3396 step: hildon_time_selector_new_step.
3398 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3400 * src/hildon-time-selector.c,
3401 (hildon_time_selector_class_init),
3402 (hildon_time_selector_constructor),
3403 (hildon_time_selector_init): Overrided the construct function when
3404 creating the time selector object. We have moved the minutes model
3405 handling code from the init to the new construction function:
3406 hildon_time_selector_constructor.
3408 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3410 * examples/hildon-date-button-example.c: (main): Use the new
3411 hildon_date_button_new_with_year_range() method in the example.
3412 * src/hildon-date-button.c:
3413 (+hildon_date_button_new_with_year_range): New public method
3414 to conveniently create a HildonDateButton with a custom year range
3415 in its HildonDateSelector.
3416 * src/hildon-date-button.h: Add the new public method definition.
3418 Fixes: NB#97908 (Not possible to change the year range in
3419 HildonDateSelector/HildonDateButton)
3421 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-date-selector.c:
3424 (+hildon_date_selector_set_property),
3425 (+hildon_date_selector_get_property),
3426 (hildon_date_selector_class_init): Install new properties "min-year"
3427 and "max-year" to define boundaries for the year column.
3428 (_create_year_model): Use the boundary properties to populate the model.
3429 (+hildon_date_selector_new_with_year_range): New public method to
3430 create a HildonDateSelector with a user defined year range.
3431 (hildon_date_selector_select_current_date): Use the new boundaries to
3432 calculate the iterator of current year.
3433 * src/hildon-date-selector.h: Add the new public method definition.
3435 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3438 Install a constructor method.
3439 (+hildon_date_selector_construct_ui): construct the widget.
3440 (+hildon_date_selector_constructor): new constructor.
3441 (+hildon_date_selector_init): move out widget construction code to
3442 the new constructor.
3444 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3447 that there's actually a month or year selected before obtaining them.
3448 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3449 of the HildonTouchSelector::changed signal, as it was emitted on every
3450 single item selection.
3452 Fix some warnings and possible crashers due to the selection restoring.
3454 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3457 the signal handlers only after creating the dialog instead of on every
3460 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-button.c (hildon_button_init)
3463 * src/hildon-check-button.c (hildon_check_button_init)
3464 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3465 focus when clicked by default.
3467 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3472 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3474 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3475 Alejandro G. Castro (alex@igalia.com)
3477 * src/hildon-picker-dialog.c:
3478 (hildon_picker_dialog_class_init): install new "center-on-show"
3480 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3481 (hildon_picker_dialog_set_property): add setter code for the new
3483 (hildon_picker_dialog_get_property): add getter code for the new
3485 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3486 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3489 Fixes: NB#92849 (Selected item is not always visible when
3490 HildonTouchSelector is shown)
3492 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3494 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3495 Alejandro G. Castro (alex@igalia.com)
3497 * src/hildon-touch-selector.c:
3498 (_create_new_column): Do not connect to the "realize" signal of the
3500 (hildon_touch_selector_append_column): center on the selected items
3501 when a new column is appended.
3502 (hildon_touch_selector_select_iter): Factor out the code to select a
3503 column to hildon_touch_selector_scroll_to().
3504 (+search_nearest_element): Method to retrieve the nearest selected
3505 element to the visible area of the pannable area in a column.
3506 (+on_realize_cb): scroll to the initially selected item.
3507 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3508 the pannable area is realized, otherwise delay this until it is.
3509 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3510 selected items of a given column.
3511 (+hildon_touch_selector_center_on_selected): Public method to center
3512 all columns on the nearest selected item.
3513 * src/hildon-touch-selector.h: Add definition for
3514 hildon_touch_selector_center_on_selected().
3516 Implement public API to ensure visibility of all selected items in
3517 a HildonTouchSelector.
3519 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3521 Fixed a problem in the fading when calling the scroll_to API, and
3522 improve scrollbar fading handling.
3524 * src/hildon-pannable-area.c,
3525 (hildon_pannable_area_grab_notify): avoid the timeout when the
3527 (hildon_pannable_area_button_press_cb),
3528 (hildon_pannable_area_motion_notify_cb): Code style changes.
3529 (hildon_pannable_area_button_release_cb): Review the conditions
3530 when releasing the mouse button to avoid unrequired fading
3532 (hildon_pannable_area_scroll_to): Do not calculate and set the
3533 velocity if the scroll is not required.
3535 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3537 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3538 Don't check whether the new selector is NULL: it cannot be.
3539 Hold a reference to the selector while doing the replacement.
3541 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3544 unnecessary size_request in a removed widget.
3546 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3549 an unnecessary reference tracking that was leaking.
3551 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3553 Added delayed motion notify event handling, this way we can
3554 discard redrawing if more than 25 events arrive per second.
3556 * src/hildon-pannable-area.c,
3557 (hildon_pannable_area_init): Initialized the new private atributes
3558 controlling this timeout
3559 (hildon_pannable_area_dispose): Remove the timeout that controls
3560 the motion notify events.
3561 (hildon_pannable_area_scroll): Added a condition to control the
3562 use of the acceleration.
3563 (hildon_pannable_area_motion_event_scroll_timeout),
3564 (hildon_pannable_area_motion_event_scroll): Added this two
3565 functions, they handle the motion notify events inside the
3567 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3568 to the scroll method with the new function.
3569 (hildon_pannable_area_button_release_cb): We have to remove the
3570 timeout handler and move to the last position if the last motion
3571 events were not handled.
3573 Fixes: NB#97028 (Pannable area updates on every motion event)
3575 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3577 * src/hildon-pannable-area.c,
3578 (hildon_pannable_area_get_topmost): Added a new parameter to
3579 filter the the windows that do not include those events. Added
3580 also a condition when finding the window to filter windows that do
3581 not ask for those events.
3582 (hildon_pannable_area_button_press_cb),
3583 (hildon_pannable_area_button_release_cb),
3584 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3585 topmost function, we have added the new parameter.
3587 Fixes: NB#97458 (Pannable area prevents propagation of button
3590 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3592 * src/hildon-pannable-area.c,
3593 (hildon_pannable_area_initial_effect): Added controls before
3594 launching the timeout and the idle functions.
3595 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3596 of the method, in some situations it can return with TRUE and 0 in
3598 (hildon_pannable_area_button_press_cb): We do not need to set
3599 DELAY for fading out here.
3601 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3603 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3606 post-cleaning if the selection is not NULL.
3608 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3611 all items before restoring the selection.
3613 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-touch-selector.c:
3616 (+hildon_touch_selector_unselect_all):
3617 * src/hildon-touch-selector.h: New API to unselect all items in a
3618 column of the touch selector.
3620 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3622 * src/hildon-pannable-area.c,
3623 (hildon_pannable_area_redraw): Added a call to the refresh
3624 function inside the redraw because apparently in some cases the
3625 change in the adjustment does not imply a size allocate.
3627 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3628 despite the view not being scrollable)
3630 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3633 leak. Check for NULL before attempting to set the window title.
3635 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3637 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3638 whether to show or not the 'Done' button each time the dialog is
3639 shown, as it depends on the HildonTouchSelector selection mode.
3641 Fixes: NB#96226 (In multiple selection mode Done button is shown
3642 sometimes in listpicker)
3644 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3647 for the number of columns in the HildonTouchSelector more than once.
3649 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-touch-selector.c: Minor documentation fixes.
3653 * src/hildon-picker-dialog.c (+_dialog_update_title)
3654 (_select_on_selector_changed_cb)
3655 (_update_title_on_selector_changed_cb)
3656 (on_selector_columns_changed): Update dialog title when there's no
3657 'Done' button and also when the number of columns in the selector
3661 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3662 (+_selection_changed, hildon_picker_button_on_dialog_response)
3663 (hildon_picker_button_selector_selection_changed)
3664 (+hildon_picker_button_selector_columns_changed)
3665 (hildon_picker_button_set_selector): Update button value and emit
3666 'value-changed' when the number of columns in the selector
3670 Fixes: NB#96225 (Dialog titles are not shown according to the
3671 values selected in the list picker)
3673 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3675 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3676 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3677 New "arrow-width" and "arrow-height" style properties to set the
3678 size of the arrow button.
3679 Set name of arrow button ("hildon-edit-toolbar-arrow").
3681 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3682 graphics from theme)
3684 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3686 * src/hildon-picker-button.c:
3687 (hildon_picker_button_selector_selection_changed): Use
3688 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3689 the dialog is present.
3691 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3692 the selection is accepted in the dialog)
3694 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3696 * src/hildon-color-chooser.h
3697 * src/hildon-color-chooser-dialog.h:
3698 Added G_BEGIN_DECLS and G_END_DECLS
3700 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3702 (_clean_current_selection): plug a leak in the list.
3704 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-picker-dialog.c:
3707 (+free_path_list): Method to free a GList of GtkTreePaths.
3708 (_clean_current_selection), (_save_current_selection),
3709 (_restore_current_selection): Save the current selection in
3710 as a list of lists, to support multiple selection properly.
3712 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3714 patch by Claudio Saavedra (csaavedra@igalia.com)
3716 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3717 Store the press position.
3718 (+hildon_text_view_button_release_event): If the release position is
3719 close enough to the press position, move the cursor here. Otherwise,
3721 (hildon_text_view_class_init): Override GtkTextView press, release, and
3722 motion event handlers, disabling this way text selection through
3723 pointer interaction, and allowing the container widget to handle the
3726 Fixes: NB#95828 (HildonTextView functionality)
3728 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3730 Based on a patch by Iván Gómez (igomez@igalia.com)
3732 * src/hildon-button.[ch]
3733 * src/hildon-calendar.c
3734 * src/hildon-check-button.c
3735 * src/hildon-date-editor.c
3736 * src/hildon-date-selector.c
3737 * src/hildon-picker-button.c
3738 * src/hildon-time-editor.c
3739 * src/hildon-time-selector.c
3740 * src/hildon-touch-selector.[ch]:
3741 Documentation updates
3743 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3745 * src/hildon-pannable-area.c,
3746 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3747 threshold, it was required due to X events handling.
3749 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3751 * src/hildon-pannable-area.c,
3752 (hildon_pannable_area_grab_notify),
3753 (hildon_pannable_area_initial_effect),
3754 (hildon_pannable_area_button_press_cb),
3755 (hildon_pannable_area_button_release_cb),
3756 (hildon_pannable_area_scroll_cb),
3757 (hildon_pannable_area_scroll_to): Review the timeout management of
3758 the scrollbar, the frecuency was incorrectly set.
3760 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-picker-button.c:
3763 (+hildon_picker_button_on_dialog_response),
3764 (hildon_picker_button_clicked): Present the dialog instead of
3765 running it with gtk_dialog_run().
3767 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3770 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3773 (hildon_app_menu_finalize): When a window is hidden it doesn't
3774 emit notify::is-topmost, so make sure than the menu also
3775 disappears in that case.
3776 (parent_window_topmost_notify): Renamed from parent_window_hidden
3778 Fixes: NB#94460 (stackable window's menu is not closed when its
3781 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3783 * src/hildon-touch-selector-entry.c:
3784 (+hildon_touch_selector_entry_set_input_mode),
3785 (+hildon_touch_selector_entry_get_input_mode):
3786 * src/hildon-touch-selector-entry.h: New methods to access the input
3787 mode in the selector's entry.
3789 Fixes: NB#93410 (API required for setting IM mode in
3790 HildonTouchSelectorEntry)
3792 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3794 * configure.ac: post release version bump.
3795 * debian/changelog: version bump
3797 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3802 * configure.ac: Bump version.
3803 * debian/changelog: Updates.
3805 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-touch-selector.c:
3808 (_hildon_touch_selector_has_multiple_selection): No need
3809 to initialize the variables here.
3811 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-note-private.h
3814 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3815 (hildon_note_finalize, hildon_note_rebuild): Close information
3816 notes when they receive a button press.
3818 Fixes: NB#89890 (Information notes does not get disappeared after
3821 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3824 mark from the wizard title, as it's not really necessary. Also,
3825 do not display the page title if not set.
3827 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3830 (parent_window_hidden): Use the window's "is-topmost" property to
3831 detect when to hide the menu.
3833 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3835 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3836 (hildon_app_menu_finalize): If the parent window of the menu is
3837 hidden, hide the menu too.
3839 Fixes: NB#94460 (stackable window's menu is not closed when its
3842 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3845 * debian/libhildon1-examples.install
3847 * examples/Makefile.am:
3848 Use dh_install to install all examples.
3849 Use DEB_SRCDIR instead of defining SOURCE_DIR
3851 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3853 * configure.ac: post release version bump.
3854 * debian/changelog: version bump
3856 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3861 * configure.ac: bump version
3862 * debian/changelog: updates
3863 * debian/control: bump gtk+ dependency
3865 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3867 patch by Christian Dywan (christian@imendio.com)
3869 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3870 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3872 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-check-button.c (hildon_check_button_init)
3875 (hildon_check_button_class_init, hildon_check_button_style_set)
3876 (hildon_check_button_apply_style):
3877 New "checkbox-size" style property.
3879 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3880 larger / configurable size)
3882 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3884 * configure.ac: post release version bump.
3885 * debian/changelog: version bump
3887 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3892 * configure.ac: bump version
3893 * debian/changelog: updates
3895 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3897 * doc/hildon-sections.txt
3898 * src/hildon-pannable-area.c
3899 * src/hildon-program.c
3900 * src/hildon-time-editor.c
3901 * src/hildon-touch-selector-entry.c:
3903 More documentation updates.
3905 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3907 * doc/hildon-sections.txt
3908 * src/hildon-caption.c
3909 * src/hildon-code-dialog.c
3910 * src/hildon-color-button.c
3911 * src/hildon-controlbar.c
3912 * src/hildon-date-editor.c
3913 * src/hildon-date-selector.c
3914 * src/hildon-edit-toolbar.c
3915 * src/hildon-find-toolbar.c
3916 * src/hildon-font-selection-dialog.c
3918 * src/hildon-program.c
3919 * src/hildon-range-editor.c
3920 * src/hildon-seekbar.c
3921 * src/hildon-time-editor.c
3922 * src/hildon-time-selector.c
3923 * src/hildon-volumebar-range.c
3924 * src/hildon-volumebar.c
3925 * src/hildon-vvolumebar.c
3926 * src/hildon-weekday-picker.c
3927 * src/hildon-window.c
3928 * src/hildon-wizard-dialog.c:
3930 Lots of documentation fixes.
3932 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3934 Patch contributed by Iván Gómez (igomez@igalia.com)
3936 * src/hildon-check-button.c:
3937 * src/hildon-date-button.c:
3938 * src/hildon-date-selector.c:
3939 * src/hildon-dialog.c:
3940 * src/hildon-edit-toolbar.c:
3941 * src/hildon-entry.c:
3942 * src/hildon-picker-button.c:
3943 * src/hildon-program.c:
3944 * src/hildon-text-view.c:
3945 * src/hildon-time-button.c:
3946 * src/hildon-touch-selector-entry.c:
3947 * src/hildon-window-stack.c:
3949 Add more "since" tags to the new API.
3951 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3953 * doc/hildon-sections.txt: Add below method.
3954 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3955 version for the hildonized scale.
3956 * src/hildon-gtk.h: Add the definition.
3958 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3960 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3962 * doc/hildon-sections.txt: Add missing entries for new methods.
3964 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3966 Added API to pannable are in order to get its adjustments. We
3967 added two properties to manage the values we had in the private
3970 * src/hildon-pannable-area.c:
3971 (hildon_pannable_area_class_init): Added hadjustment and
3972 vadjustment properties in order to expose horizontal and vertical
3974 (hildon_pannable_area_get_property),
3975 (hildon_pannable_area_set_property): Added code to handle the new
3977 (hildon_pannable_area_get_hadjustment),
3978 (hildon_pannable_area_get_vadjustment): API functions to get the
3980 * src/hildon-pannable-area.h:
3981 (hildon_pannable_area_get_hadjustment),
3982 (hildon_pannable_area_get_vadjustment): API functions to get the
3985 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3987 Fixed some leaks, after valgrinding.
3989 * src/hildon-touch-selector.c:
3990 (_default_print_func): Fixed a leak.
3991 (hildon_touch_selector_append_column): Fixed a leak.
3992 * src/hildon-date-button.c:
3993 (hildon_date_button_init): Fixed a leak.
3994 * src/hildon-date-selector.c
3995 (hildon_date_selector_finalize): Fixed a leak.
3997 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3999 Based on a patch by Christian Dywan (christian@imendio.com)
4001 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4003 * src/hildon-gtk.h: Add definition.
4005 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4007 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-picker-button.c: (hildon_picker_button_init),
4010 (hildon_picker_button_new): Set the HildonButton::style property
4011 in the init method, to propagate the value to the derived classes.
4013 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-button.c: (hildon_button_class_init): Do not make
4016 the "style" property a construct property.
4018 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-wizard-dialog.h
4021 * src/hildon-wizard-dialog.c
4022 (hildon_wizard_dialog_set_forward_page_func)
4023 * src/hildon-pannable-area.h
4024 * src/hildon-pannable-area.c
4025 (hildon_pannable_area_set_size_request_policy):
4026 Documentation fixes.
4028 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4030 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4032 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4034 * doc/hildon-sections.txt: Added sections file.
4036 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/*.[ch]: Updates.
4041 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4043 * examples/hildon-progress-indicator-example.c: new file
4044 * examples/Makefile.am: include the new example program
4046 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4048 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4050 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4052 * configure.ac: post release version bump
4053 * debian/changelog: version bump
4055 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4060 * configure.ac: bump version
4061 * debian/changelog: updates
4062 * debian/control: bump gtk+ dependency
4064 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-dialog.c: Mark as deprecated.
4067 * src/hildon-dialog.h: Mark as deprecated.
4068 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4069 from HildonDialog and still work, even if
4070 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4071 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4073 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4074 maemo changes) instead)
4076 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4078 * src/hildon-pannable_area.h:
4079 * src/hildon-pannable_area.c:
4080 (hildon_pannable_area_class_init),
4081 (hildon_pannable_area_set_property),
4082 (hildon_pannable_area_get_property),
4083 (hildon_pannable_area_size_request),
4084 (hildon_pannable_area_get_size_request_policy),
4085 (hildon_pannable_area_set_size_request_policy): Added new API
4086 allowing applications to control the request policy. Now they can
4087 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4088 children allocation (HILDON_MOVEMENT_CHILDREN).
4090 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4094 (hildon_gtk_tree_view_set_ui_mode)
4095 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4096 mode of treeviews and iconviews.
4098 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4100 * src/hildon-touch-selector-entry.c:
4101 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4102 of a GtkEntry to get proper theming.
4104 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4105 widget, not GtkEntry)
4107 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4110 no HildonWizardDialogPageFunc.
4112 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4114 Patch contributed by Iván Gómez (igomez@igalia.com)
4116 * src/hildon-app-menu.c:
4117 * src/hildon-button.c:
4118 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4119 * src/hildon-stackable-window.c:
4120 * src/hildon-time-selector.c:
4121 * src/hildon-touch-selector.c:
4122 * src/hildon-window.c:
4124 Add more "since" tags to the new API in hildon 2.2.
4126 2008-12-05 Tim Janik <timj@imendio.com>
4128 Patch contributed by Christian Dywan (christian@imendio.com)
4130 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4131 HildonSizeType, which are supplied by Gtk+ now.
4133 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4135 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4136 (with maemo changes) instead)
4138 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4140 Patch contributed by Iván Gómez (igomez@igalia.com)
4142 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4145 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4147 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4148 (some_page_func), (main): Update the example to use a
4149 HildonWizardDialogPageFunc function.
4151 * src/hildon-wizard-dialog-private.h: Add private data for
4152 the HildonWizardDialogPageFunc function usage.
4154 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4155 (destroy), (hildon_wizard_dialog_init), (response),
4156 (hildon_wizard_dialog_set_forward_page_func):
4157 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4158 that applications can use to stop a HildonWizardDialog to jump to
4161 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4164 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4166 * src/hildon-program.h
4167 * src/hildon-program-private.h
4168 * src/hildon-program.c (hildon_program_init)
4169 (hildon_program_set_common_app_menu)
4170 (hildon_program_get_common_app_menu):
4171 New API for setting a common HildonAppMenu for all
4172 HildonStackableWindows registered with the HildonProgram.
4174 * src/hildon-stackable-window.c
4175 (hildon_stackable_window_toggle_menu):
4176 Use the common HildonAppMenu if a window doesn't have a specific
4179 * src/hildon-app-menu-private.h
4180 * src/hildon-app-menu.c
4181 (hildon_app_menu_get_parent_window):
4182 Function to obtain the window a HildonAppMenu is attached to.
4183 (hildon_app_menu_set_parent_window):
4184 Hide the menu if the parent window is set to NULL.
4186 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4189 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4190 search widget to popup.
4192 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4194 * configure.ac: post release version bump
4195 * debian/changelog: version bump
4197 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4202 * configure.ac: bump version
4203 * debian/changelog: updates
4205 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4207 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4209 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4210 (hildon_window_stack_window_realized)
4211 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4212 Set the leader GdkWindow when a window is stacked and realized,
4213 unset it when it's unstacked.
4214 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4216 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4218 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-stackable-window.h
4221 * src/hildon-window-stack.h:
4222 Protect definition of HildonWindowStack using the preprocessor.
4224 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4227 Fix warning if all menu items are hidden.
4229 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4231 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4233 * src/hildon-controlbar.c:
4234 * src/hildon-hvolumebar.c:
4235 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4236 Multiple scale size defines updates.
4238 Fixes: NB#94322 (Scale Updates)
4240 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4242 * examples/hildon-app-menu-example.c (create_menu)
4243 Show items after adding them to the menu, as in the future the
4244 menu will no longer call gtk_widget_show() on the added items.
4246 * src/hildon-app-menu.c:
4247 Update example as explained above.
4249 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-app-menu.c
4252 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4253 Make sure that all menu items have finger height.
4255 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4257 * src/hildon-picker-dialog.c:
4258 (_on_dialog_response), (_save_current_selection),
4259 (_restore_current_selection), (_clean_current_selection),
4260 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4261 Defined new functions in order to save the current internal selector
4262 selection previous open the dialog, in case that the use cancel the
4263 interaction, so the widget restores the previous selection.
4265 Fixes: NB#92032 (In calendar application, date values in 'new event'
4268 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4270 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-button.c: Add a reference to the button examples in
4273 hildon-button-example.c
4275 * examples/hildon-button-example.c: Added examples of the most
4276 common button layouts.
4278 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-app-menu.c (hildon_app_menu_show)
4281 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4283 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4285 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4287 * src/hildon-picker-dialog.c:
4288 (hildon_picker_dialog_init): Initialize the signal id for
4289 HildonTouchSelector::columns-changed.
4290 (+on_selector_columns_changed): Set up the interaction mode everytime a
4291 column is added or removed from the HildonTouchSelector.
4292 (_hildon_picker_dialog_set_selector): Connect to
4293 HildonTouchSelector::columns-changed and keep track of it.
4295 Make sure to update the interaction mode of the dialog everytime a
4296 column is added or removed in the HildonTouchSelector.
4298 Fixes: NB#93228 (Done button is not shown always in listpicker)
4300 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4303 a new ::columns-changed signal.
4304 (hildon_touch_selector_append_column): Emit ::columns-changed.
4305 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4307 Add a ::columns-changed signal, emitted when the number of columns in a
4308 HildonTouchSelector changes.
4310 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4312 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4313 (_hildon_picker_dialog_set_selector): Factor out the code
4314 to set up the dialog interaction mode.
4316 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4319 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4320 to signal_changed_id.
4322 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4324 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4327 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4329 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4330 Updated the logical ids related to ampm format, as now it is required to
4331 show it correctly localized even on languages with no default
4332 abbreviations for am or pm
4333 (_check_am_pm_format): check correctly the 24h format gconf property
4335 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4337 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4339 * src/hildon-button.c: Documentation updates.
4341 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4344 * src/hildon-caption.c: (hildon_caption_class_init):
4345 * src/hildon-color-button.c: (hildon_color_button_class_init):
4346 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4347 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4348 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4349 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4351 Remove deprecated GTK+ marshalers and replace them with the ones
4352 provided by GLib, for those available, add a marshaler for
4353 BOOLEAN:VOID, which is not available in GLib, and use it.
4355 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4358 the text from the previous column if there is no
4359 HildonTouchSelectorColumn::text-property set.
4361 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4363 * src/hildon-button.h
4364 * src/hildon-button.c (hildon_button_set_property)
4365 (hildon_button_get_property, hildon_button_class_init)
4366 (hildon_button_set_style, hildon_button_get_style):
4367 New "style" property to change the visual appearance of the
4370 * src/hildon-picker-button.c (hildon_picker_button_new):
4371 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4373 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4374 HildonButton look like PickerButton)
4376 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4378 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4379 column while building the default string.
4381 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4383 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4384 scroll indicator by default.
4386 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4388 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/hildon-main.c: Fix the documentation for hildon_init()
4392 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4394 * doc/hildon-docs.sgml
4398 * src/hildon-window-stack-private.h
4399 * src/hildon-window-stack.h
4400 * src/hildon-window-stack.c:
4401 New HildonWindowStack object, that adds support for multiple
4402 stacks of windows per process.
4404 * src/hildon-stackable-window-private.h
4405 * src/hildon-stackable-window.h
4406 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4407 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4408 (hildon_stackable_window_show, hildon_stackable_window_hide)
4409 (hildon_stackable_window_class_init)
4410 (hildon_stackable_window_init):
4411 Use HildonWindowStack for stack management.
4413 * src/hildon-program.c (hildon_program_pop_window_stack)
4414 (hildon_program_peek_window_stack)
4415 (hildon_program_go_to_root_window):
4416 Add a fallback implementation to the deprecated functions using
4419 * examples/hildon-stackable-window-example.c:
4420 Use the new HildonWindowStack API.
4422 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-stackable-window-private.h
4425 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4426 (hildon_stackable_window_hide, hildon_stackable_window_init):
4427 Remove all window stack management.
4429 * src/hildon-program-private.h
4430 * src/hildon-program.h
4431 * src/hildon-program.c (hildon_program_init)
4432 (hildon_program_pop_window_stack)
4433 (hildon_program_peek_window_stack)
4434 (hildon_program_go_to_root_window):
4435 Remove all window stack management and mark functions as
4438 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4440 * src/hildon-app-menu.c (hildon_app_menu_realize):
4441 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4443 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4445 * configure.ac: post release version bump
4446 * debian/changelog: version bump
4448 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4453 * configure.ac: bump version
4454 * debian/changelog: updates
4456 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4458 Based on initial code by Christian Dywan (christian@imendio.com)
4460 * doc/hildon-docs.sgml: Add section for hildon-main.
4461 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4462 * src/Makefile.am: Add new hildon-main.[ch]
4463 * src/hildon-defines.h: Update the icon sizes.
4464 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4465 new library initialization files and register icon sizes.
4466 * src/hildon-main.h: New declarations.
4467 * src/hildon.h: Include hildon-main.h
4469 Add new initialization functions to the library. These methods
4470 will register the hildon specific icon sizes and can be used in the
4471 future for other hildon specific bits.
4473 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4475 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-window.c: (hildon_window_realize),
4478 (hildon_window_notify), (-hildon_window_update_title): Do not set
4479 the application name in the window title.
4481 Fixes: NB#89754 (Applications shouldn't display their names in the
4484 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-note-private.h:
4487 * src/hildon-note.c: (hildon_note_set_property),
4488 (hildon_note_get_property), (hildon_note_class_init),
4489 (hildon_note_init), (hildon_note_finalize),
4490 (hildon_note_new_confirmation_with_icon_name),
4491 (hildon_note_new_information_with_icon_name):
4493 No need to mark as deprecated the actual code. Revert
4494 to avoid missing symbols in widgets using deprecated API.
4496 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4498 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4500 * src/hildon-volumebar.h
4501 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4502 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4504 * src/hildon-helper.h
4505 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4506 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4508 * examples/Makefile.am:
4509 Deprecate hildon-insensitive-example
4511 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4513 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4515 * examples/hildon-pannable-area-buttons-scroll-example.c:
4516 Make all buttons finger height
4518 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4520 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4522 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4523 update the day model only if it is really required, and to avoid the
4524 full-reconstruction aproach. Now it only add or remove the required days.
4526 The purpose of this is avoid superfluous HildonTouchSelector::changed
4529 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4530 with strange parameters)
4532 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4534 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4536 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4537 the WINDOW_TYPE property.
4539 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4541 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4544 Fix dependency to allow parallel compilation with make -jX
4546 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4549 color frame and some minor tweaks to make it more consistent with
4552 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4553 highlighted but not visible)
4555 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4557 * examples/Makefile.am: Fixed typo in the Makefile.am.
4559 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4561 Reviewed the use of MAEMO_GTK define, now we add the define in the
4562 compilation line, and we also add it to the pc file.
4564 * configure.ac: Added MAEMO_GTK define to the compilation command
4565 and removed it from the config.h.
4567 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4568 do not have to take care about this define if the library was
4572 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4574 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4576 * examples/Makefile.am,
4577 * examples/hildon-pannable-area-buttons-scroll-example.c,
4578 * examples/hildon-pannable-area-gesture-signals-example.c,
4579 * examples/hildon-pannable-area-scroll-jump-example.c,
4580 * examples/hildon-pannable-area-tree-view-example.c:
4581 Renamed the pannable area examples, now they have more meaningful
4584 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4586 * src/hildon-touch-selector.c:
4587 (hildon_touch_selector_set_column_selection_mode): Used of
4588 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4589 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4590 to avoid re-seting the same selection mode.
4592 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4593 breaks HildonPickerDialog)
4595 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4597 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4598 conditional in the Makefile.am
4600 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4602 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4603 Remove unused methods.
4605 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4607 * src/hildon-button.c (hildon_button_init):
4608 Make button images center-aligned by default
4610 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4613 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4614 activated, we have to think about how to deal with both defines
4615 MAEMO_GTK and MAEMO_CHANGES.
4617 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4619 * examples/hildon-app-menu-example.c (create_menu): Make all
4620 buttons finger size.
4622 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4624 Fixed the compilation without maemo gtk adding ifdefs with
4625 MAEMO_GTK define to the code, we have to check this version more
4628 * examples/Makefile.am: Added control to avoid some examples that
4629 just make sense with maemo gtk.
4632 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4633 hildon modes with the define.
4635 * examples/hildon-edit-toolbar-example.c,
4636 (create_icon_view): Create the icon view without hildon-gtk
4637 helpers if we are not using maemo gtk.
4639 * src/hildon-touch-selector.c,
4640 (_create_new_column): Create the treeview without hildon-gtk
4641 helpers if we are not using maemo gtk.
4643 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4645 * src/hildon-pnnable-area.c,
4646 (hildon_pannable_area_dispose),
4647 (hildon_pannable_area_button_press_cb),
4648 (hildon_pannable_area_child_mapped),
4649 (hildon_pannable_area_add),
4650 (hildon_pannable_area_remove): Added code to control the position
4651 of the event_window when adding and removing children from the
4652 pannable. We have to raise the event window when the child is
4655 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4656 selection mode using custom widget inside pannable)
4658 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4660 * configure.ac: post release version bump
4661 * debian/changelog: version bump
4663 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4668 * configure.ac: bump version
4669 * debian/changelog: updates
4671 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4673 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4674 search mode, in order to avoid lose the focus on the treeview when
4675 a hw key (like enter) is pressed.
4677 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4678 in HildonDateSelector dialog)
4680 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4682 * debian/rules: Added --enable-maintainer-mode
4683 * Makefile.am: Added ACLOCAL_AMFLAGS
4685 This allows to properly regenerate the Makefiles if you modify the
4686 configure.ac or any Makefile.am.
4688 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4690 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4691 properties, not needed at all.
4693 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4695 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4697 * src/hildon-note.c: (hildon_note_set_property),
4698 (hildon_note_get_property), (hildon_note_class_init),
4699 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4700 (hildon_note_new_confirmation_add_buttons): Remove icons.
4701 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4702 (hildon_note_new_information_with_icon_name): Deprecate.
4703 (hildon_note_new_confirmation): Act directly, without calling
4704 the deprecated constructor.
4705 (hildon_note_new_information): Act directly, without calling
4706 the deprecated constructor.
4707 * src/hildon-note.h: Mark deprecate methods as such.
4708 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4709 not run tests on the deprecated methods if built with deprecation
4712 Fixes: NB#91688 (Never show icons in information notes/confirmation
4715 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4717 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4718 (hildon_app_menu_key_press): Remove leftover usage of the
4719 private structure in HildonAppMenu struct.
4720 * src/hildon-app-menu.h: Remove leftover private structure
4721 from the HildonAppMenu struct.
4723 Fixes a crasher when using the HildonAppMenu.
4725 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4727 * src/hildon-picker-dialog.c: Use appropriate logical id
4728 for the default "Done" text.
4730 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4732 * configure.ac: post release version bump
4733 * debian/changelog: version bump
4735 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4737 Modified the way to scroll to the current selection just when the touch
4738 selector is shown on the screen, avoiding a g_idle. Added too a property
4739 to configure this behaviour. See hildon_pannable_area_jump_to_child
4740 documentation for more information.
4742 * src/hildon-touch-selector.c
4743 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4744 Added 'initial-scroll' property
4745 (hildon_touch_selector_set_property): Added
4746 (hildon_touch_selector_map): Removed as not required anymore
4747 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4748 only a concrete column, instead of iterate along all the columns
4750 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4755 * configure.ac: bump version
4756 * debian/changelog: updates
4758 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4761 compilation time warnings.
4763 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4765 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4766 the default value for HildonPannableArea::mov-mode to
4767 HILDON_PANNABLE_AREA_MODE_VERT.
4769 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4771 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4773 Reverting following commit:
4775 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-app-menu-private.h
4778 * src/hildon-app-menu.[ch]
4779 * src/hildon-button.[ch]
4780 * src/hildon-check-button.[ch]
4781 * src/hildon-entry.[ch]
4782 * src/hildon-pannable-area.[ch]
4783 * src/hildon-text-view.[ch]:
4784 Added private field to the object's structure.
4786 because it causes an ABI breakage. We will need to introduce these
4787 changes later at some point. See NB#91636 for an extensive
4788 explanation and status.
4790 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4792 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4794 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4795 remove special cases that are no longer necessary.
4797 Fixes: NB#91016 (Change toolbar sizes, simplification)
4799 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4802 is shown in the cancel note.
4804 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4807 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4808 (hildon_seekbar_init): Remove steppers, remove expose event.
4809 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4811 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4813 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4815 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4816 label font to "SmallSystemFont" for vertically arranged buttons.
4818 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4821 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-check-button.c
4824 (hildon_check_button_set_active, hildon_check_button_clicked):
4825 Don't access private parts directly, use getters instead.
4827 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-check-button.c (hildon_check_button_new):
4830 Align the contents of the check button to the left.
4832 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4834 * src/hildon-pannable-area.c,
4835 (hildon_pannable_area_scroll_to),
4836 (hildon_pannable_area_jump_to),
4837 (hildon_pannable_area_scroll_to_child),
4838 (hildon_pannable_area_jump_to_child): Replace the mapped
4839 precondition of these functions with the realized, it is the
4840 correct state of the widget in this case. Changed the
4841 documentation according to this modification.
4843 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4845 Added a new EXTRA_CFLAGS option to add the deprecated define to
4846 the compilation command. This way we can avoid using the define in
4847 the documentation compilation.
4849 * configure.ac: Defined EXTRA_CFLAGS.
4851 * examples/Makefile.am:
4853 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4855 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4857 * src/hildon-picker-dialog.c:
4858 Defined a utility macro with the desired touch selector height
4859 Removed currently unused separator, and title_label variables from
4861 (hildon_picker_dialog_init): Removed code related to the creation
4862 of unused private variables title_label and separator.
4863 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4864 to ensure correct visualization of the touch selector inside the dialog.
4865 * src/hildon-touch-selector.c
4866 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4867 ensure a concrete height of the widget.
4869 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4872 * tests/Makefile.am:
4874 Remove spurious whitespaces.
4876 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4879 compilation warning after the cancel button removal.
4881 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4883 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4885 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4886 Makefile.am, that way we can choose not to compile some examples
4887 and tests of the deprecated widgets.
4889 * examples/Makefile.am: Divided the sources in deprecated and
4892 * src/Makefile.am: Added undef statement of the deprecated
4893 symbol to the enums file generation process.
4895 * src/hildon-color-chooser-dialog.c
4896 * src/hildon-color-chooser-dialog.h
4897 * src/hildon-color-button.c
4898 * src/hildon-color-button.h
4899 * src/hildon-color-chooser.c
4900 * src/hildon-color-chooser.h
4901 * src/hildon-controlbar.c
4902 * src/hildon-controlbar.h
4903 * src/hildon-date-editor.c
4904 * src/hildon-date-editor.h
4905 * src/hildon-hvolumebar.c
4906 * src/hildon-hvolumebar.h
4907 * src/hildon-private.c
4908 * src/hildon-private.h
4909 * src/hildon-range-editor.c
4910 * src/hildon-range-editor.h
4911 * src/hildon-seekbar.c
4912 * src/hildon-seekbar.h
4913 * src/hildon-time-editor.c
4914 * src/hildon-time-editor.h
4915 * src/hildon-time-picker.c
4916 * src/hildon-time-picker.h
4917 * src/hildon-volumebar.c
4918 * src/hildon-volumebar.h
4919 * src/hildon-vvolumebar.c
4920 * src/hildon-vvolumebar.h
4921 * src/hildon-bread-crumb-trail.h
4922 * src/hildon-bread-crumb-trail.c
4923 * src/hildon-calendar-popup.c
4924 * src/hildon-calendar-popup.h
4925 * src/hildon-weekday-picker.c:
4926 * src/hildon-weekday-picker.h:
4927 * src/hildon-bread-crumb-widget.c:
4928 * src/hildon-bread-crumb-widget.h:
4929 * src/hildon-bread-crumb.c:
4930 * src/hildon-bread-crumb.h:
4931 * src/hildon-calendar.c:
4932 * src/hildon-calendar.h:
4933 * src/hildon-caption.c:
4934 * src/hildon-code-dialog.c:
4935 * src/hildon-code-dialog.h:
4936 * src/hildon-font-selection-dialog.c:
4937 * src/hildon-font-selection-dialog.h:
4938 * src/hildon-get-password-dialog.c:
4939 * src/hildon-get-password-dialog.h:
4940 * src/hildon-login-dialog.c:
4941 * src/hildon-login-dialog.h:
4942 * src/hildon-number-editor.c:
4943 * src/hildon-number-editor.h:
4944 * src/hildon-set-password-dialog.c:
4945 * src/hildon-set-password-dialog.h:
4946 * src/hildon-sort-dialog.c:
4947 * src/hildon-sort-dialog.h: This is the list of deprecated
4950 * src/hildon-touch-selector.c:
4951 * src/hildon-window.c: Added undef statement to avoid compilation
4954 * tests/Makefile.am: Divided the sources in deprecated and
4957 * tests/check_test.c,
4958 (configure_tests): Marked the deprecated code that was adding
4959 suites with deprecated tests.
4961 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4963 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4965 * src/hildon-touch-selector.c: (_default_print_func): Do not
4966 duplicate a string returned by gtk_tree_model_get(), it is already
4969 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4972 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4974 * src/hildon-pannable-area.c
4975 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4976 method, it had problems when adding a widget with viewport the
4977 second time. Now checks if it already has a viewport and uses it.
4979 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4982 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4984 * src/hildon-pannable-area.c,
4985 (hildon_pannable_area_scroll_to),
4986 (hildon_pannable_area_jump_to),
4987 (hildon_pannable_area_scroll_to_child),
4988 (hildon_pannable_area_jump_to_child): Added a precondition to the
4989 scroll and jump to functions: the widget must be mapped before we
4990 can safely call these functions. We have also added documentation
4991 to the functions to explain how to use them in this situation.
4994 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4996 Reviewed the threading handling of the pannable widget, we have
4997 used the gdk_threads_add_timeout function instead of the usual
4998 glib handlers. This avoids some problems with the threads.
5000 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5001 (hildon_pannable_area_initial_effect),
5002 (hildon_pannable_area_scroll_indicator_fade),
5003 (hildon_pannable_area_button_press_cb),
5004 (hildon_pannable_area_timeout),
5005 (hildon_pannable_area_motion_notify_cb),
5006 (hildon_pannable_area_button_release_cb),
5007 (hildon_pannable_area_scroll_cb),
5008 (hildon_pannable_area_scroll_to): Removed the
5009 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5010 gdk_threads_add_timeout.
5012 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5014 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5019 * configure.ac: bump version
5020 * debian/changelog: updates
5022 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5024 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5025 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5026 * src/hildon-color-chooser-dialog.c:
5027 (hildon_color_chooser_dialog_init):
5028 * src/hildon-font-selection-dialog.c:
5029 (hildon_font_selection_dialog_init):
5030 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5032 Remove all cancel/close-like dialogs, as these are not going to be
5035 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-note.c: (hildon_note_rebuild),
5038 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5041 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5043 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5045 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5046 sure all buttons are shown, even the Cancel/Close-like ones.
5048 Fixes: NB#90861 (Custom Confirmation dialogs should be
5049 protected from cancel button removal)
5051 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5053 * debian/control: Change libhildon1-examples dependency from libhildon1
5055 * debian/libhildon1-examples.install
5057 * Makefile.am: Modified the final install directory for the examples on
5058 package libhildon1-examples
5059 * Makefile.static: Update clean target in order to remove all the binary
5062 Changes suggested by Claudio after review new libhildon1-examples package
5064 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5066 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5067 * src/hildon-touch-selector.c: Ditto.
5069 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5071 * debian/control: Added new package libhildon1-examples, in order to pack
5072 the current hildon examples as documentation
5073 * debian/rules: Not to compress .c files, modify some includes on the
5074 examples (as normally are compiled locally, but when installed it will
5075 require to include the installed libhildon1 library), and rename
5077 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5078 install all the example files on the new example package
5079 * examples/Makefile.static: Added static makefile that can be used to
5080 compile the examples, once installed the new example package
5081 * examples: Most of the examples were modified in order to grant that
5082 all use only '#include "hildon.h"', in order to be easy to prepare
5083 it on the example package
5085 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5088 * debian/libhildon1-dev.install
5089 * debian/libhildon1-doc.install:
5090 Move all gtk-doc files to a separate libhildon1-doc package.
5092 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5094 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5098 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5100 * debian/rules: Fixed a error in order to avoid unnecessary calls
5101 to autogen.sh on package building
5103 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5105 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5107 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5109 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5112 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5114 * src/hildon-picker-button.c
5115 (hildon_picker_button_finalize):
5116 Free priv->done_button_text
5118 * src/hildon-time-button.c
5119 (hildon_time_button_set_time)
5120 * src/hildon-picker-button.c
5121 (hildon_picker_button_clicked)
5122 (hildon_picker_button_selector_selection_changed)
5123 (hildon_picker_button_set_selector)
5124 * src/hildon-date-button.c
5125 (hildon_date_button_set_date):
5126 Free strings returned by hildon_touch_selector_get_current_text()
5128 * src/hildon-button.c (hildon_button_construct_child):
5129 Fix leaks in priv->image and priv->label_box
5131 Fixes: NB#90535 (Memory leak in picker button)
5133 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-button.c: (hildon_button_get_property): Do not access
5136 private elements directly, use getters instead.
5138 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-app-menu-private.h
5141 * src/hildon-app-menu.c
5142 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5143 Store the menu's parent window.
5145 * src/hildon-stackable-window.c
5146 (hildon_stackable_window_toggle_menu)
5147 (hildon_stackable_window_finalize):
5148 Set the menu's parent window when the menu is shown, unset it when
5151 * src/hildon-app-menu.c
5152 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5153 (hildon_app_menu_class_init):
5154 Send unhandled keyboard accelerators to the parent window.
5156 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5158 * src/hildon-stackable-window.c
5159 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5161 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5163 * configure.ac: post release version bump
5165 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5168 * configure.ac: Bump version
5169 * debian/changelog: Updates
5170 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5173 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5175 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5178 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5179 GtkMenu with Hildon style.
5181 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-picker-button.c:
5184 (hildon_picker_button_set_done_button_text): Set the dialog's
5185 done button text here as well.
5187 Fixes: NB#90232 (Picker button does not set the label on done button
5188 for the second time)
5190 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5192 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5195 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-app-menu.c (hildon_app_menu_insert)
5198 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5199 the HildonAppMenu to be activatable using keyboard accelerators
5200 when the menu is not being shown.
5202 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5204 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-stackable-window.c
5207 (hildon_stackable_window_show):
5208 Don't hide old windows automatically when new windows are shown:
5209 this is now a task for the window manager.
5210 (hildon_stackable_window_class_init)
5211 (hildon_stackable_window_hide):
5212 Remove windows from the stack everytime they're hidden.
5213 (hildon_stackable_window_realize):
5214 Don't change the _NET_WM_WINDOW_TYPE property. Use
5215 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5216 it as a stackable window.
5218 * src/hildon-program.c
5219 (hildon_program_pop_window_stack):
5220 Just hide the window to remove it from the stack.
5221 (hildon_program_go_to_root_window):
5222 Don't call gtk_widget_show(), this is now a task for the window
5225 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5227 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-button.c
5230 (hildon_button_construct_child):
5231 Don't pack anything in the button until text or image are
5232 set. This allows adding a custom child after creating the button
5233 with hildon_button_new().
5234 (hildon_button_finalize, hildon_button_class_init)
5235 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5236 alignment and the label box even when they're not packed in the
5239 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5241 * src/hildon-touch-selector.h:
5242 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5243 currently the type definition was using GTK_TYPE_VBOX
5244 * src/hildon-touch-selector.c:
5245 Added some implementation notes in order to clarify that any other widget
5246 added without the column related API will not be included on the
5247 selection logic, and how the widget is freed, as some people ask about
5249 (hildon_touch_selector_remove): Reimplemented in order to free properly
5250 the column related data when you remove the private hbox.
5251 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5252 to get a proper HildonTouchSelectorColumn documentation
5254 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5256 * src/hildon-touch-selector-entry.c:
5257 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5258 text in the GtkEntry and there is no item selected. Fixes a
5261 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-app-menu-private.h
5264 * src/hildon-app-menu.[ch]
5265 * src/hildon-button.[ch]
5266 * src/hildon-check-button.[ch]
5267 * src/hildon-entry.[ch]
5268 * src/hildon-pannable-area.[ch]
5269 * src/hildon-text-view.[ch]:
5270 Added private field to the object's structure.
5272 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5274 * configure.ac: post-release version bump
5276 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5280 * configure.ac: pre-release version bump
5282 * debian/changelog: updates.
5284 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5286 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5287 Disconnect the handler for HildonTouchSelector::changed.
5289 (hildon_picker_button_selector_selection_changed): Update the button
5290 value if the selection change was not triggered by the
5293 (hildon_picker_button_set_selector): connect to
5294 HildonTouchSelector::changed.
5296 Fixes: NB#89650 (Picker button is not updated, when selection in
5297 selector has changed)
5299 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5301 * src/hildon-picker-dialog.c
5302 (hildon_picker_dialog_realize): Removed as not required
5303 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5304 * src/hildon-picker-button.c
5305 (_current_selector_empty): New function, checks if the selector is empty
5306 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5307 if the current selector is empty, in order to avoid to show the dialog
5308 close the dialog in this case (and shows a g_warning).
5310 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5312 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5314 * src/hildon-pannable-area.c,
5315 (hildon_pannable_area_scroll): Added clause to stop movement when
5316 the child of pannable is smaller than one page.
5317 (hildon_pannable_area_scroll_to): Added conditions to avoid
5318 starting the scrolling movement if the child is smaller than one
5319 page, the complete child is in the screen, we do not have to move.
5321 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5323 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5326 this is managed automatically by the widget when the size of the
5329 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-picker-button.c
5332 (hildon_picker_button_set_done_button_text): Make a copy of the
5333 text, and free the previous value.
5335 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5337 * src/hildon-touch-selector-entry.c:
5338 (hildon_touch_selector_entry_print_func): Return the selected row's
5339 text if the entry is empty.
5341 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5344 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5346 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5348 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5351 * src/hildon-check-button.h
5352 * src/hildon-check-button.c
5353 * examples/hildon-check-button-example.c:
5354 HildonCheckButton is now a new widget. 'toggled' signal added.
5356 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-program-private.h
5359 * src/hildon-program.c (hildon_program_init)
5360 (hildon_program_finalize): Removed unused variables group_leader
5361 and name from HildonProgramPrivate.
5363 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5365 * src/hildon-check-button.c (hildon_check_button_set_active)
5366 (hildon_check_button_get_active, hildon_check_button_new): Use
5367 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5369 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5371 * src/hildon-touch-selector.h
5372 (hildon_touch_selector_set_column_attributes): added deprecation
5373 guard HILDON_DISABLE_DEPRECATED
5374 * src/hildon-time-selector.c
5375 (hildon_time_selector_set_time)
5376 (hildon_time_selector_get_time): Fixed a typo on documentation
5377 * src/hildon-touch-selector.c: update HildonTouchSelector and
5378 HildonTouchSelectorColumn documentation
5379 * src/hildon-touch-selector-entry.c: update "text-column" property
5381 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5382 to be added to the general documentation.
5384 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5386 * examples/hildon-pannable-area-example-4.c,
5388 * examples/hildon-pannable-area-example.c,
5389 (main): Modified the code in order to use the container add, with
5390 viewport treeviews could have problems if they are really big.
5392 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5394 * src/hildon-weekday-picker.c,
5395 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5396 the agreement regarding deprecation in the library.
5398 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5400 * examples/hildon-picker-button-multicolumn-example.c:
5401 (main): Use custom "done" button text.
5403 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5404 (hildon_picker_button_set_property),
5405 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5406 (hildon_picker_button_init),
5407 (+hildon_picker_button_get_done_button_text),
5408 (+hildon_picker_button_set_done_button_text): New methods to customize
5409 the "done" button label in the launched HildonPickerDialog. Also,
5412 * src/hildon-picker-button.h: add the public API.
5414 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5416 * src/hildon-date-selector.h:
5417 * src/hildon-picker-dialog.h:
5418 * src/hildon-time-selector.h:
5419 * src/hildon-touch-selector-column.h:
5420 * src/hildon-touch-selector.h:
5422 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5423 declarations. Fixes gtk-doc warnings.
5425 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-picker-dialog.h
5428 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5429 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5431 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5432 long text is set as label for done button)
5434 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5436 * src/hildon-dialog.c (hildon_dialog_add_button):
5437 Set fixed width to all buttons in the HildonDialog.
5439 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5441 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5443 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5444 Set widget name using class name plus "-finger" or "-thumb".
5446 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5449 'clicked' when the state of the button is manually changed.
5451 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-app-menu.c (hildon_app_menu_realize)
5454 (hildon_app_menu_unrealize, hildon_app_menu_init)
5455 (hildon_app_menu_class_init, item_visibility_changed):
5456 Change the menu layout when the size of the screen changes.
5457 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5458 Show warning only when changing the number of colums using the
5461 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5463 * debian/compat: Set to 5
5464 * debian/control: Update dependencies.
5465 * debian/libhildon1-dbg.install: Remove.
5466 * debian/libhildon1-dev.install: Update according to cdbs paths.
5467 * debian/libhildon1.install: Update according to cdbs paths.
5468 * debian/rules: Switch to cdbs.
5470 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5473 'item' variable renamed to 'filter'
5475 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-app-menu.c (hildon_app_menu_insert)
5478 (hildon_app_menu_add_filter, remove_item_from_list)
5479 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5480 Don't leak hidden items when the menu is destroyed.
5482 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-app-menu.c (hildon_app_menu_insert)
5485 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5486 (hildon_app_menu_set_columns, item_visibility_changed)
5487 (filter_visibility_changed, hildon_app_menu_repack_filters)
5488 (hildon_app_menu_repack_items):
5489 Repack items and filters separately.
5491 Don't repack all items, change only the ones that are needed to
5494 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5496 * src/Makefile.am: added hildon-touch-selector-column.h
5498 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5500 * src/hildon-touch-selector.c: added the property "text-column" to the
5501 class HildonTouchSelectorColumn, and related get/set functions
5502 (_default_printf_func): updated to use "text-column" property
5503 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5504 "text-column" in his documentation, as this is now included on
5505 HildonTouchSelectorColumn. The get/set_property can still be used,
5506 working as a wrapper to the concrete column "text-column" property
5507 (_text_column_modified): callback added in order to handle the signal
5508 "notify::text-column" of the concrete HildonTouchSelectorColumn
5509 (hildon_touch_selector_entry_get_text_column)
5510 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5511 modified in order to use the HildonTouchSelectorColumn "text-column"
5513 * src/hildon-time-selector.c:
5514 * src/hildon-date-selector.c:
5515 * examples/hildon-touch-selector-example.c
5516 * examples/hildon-touch-selector-multi-cells-example.c
5517 * examples/hildon-picker-button-multicolumn-example.c
5518 Set the right value to "text-column" property on the creation of a new
5519 column using hildon_touch_selector_append_column()
5521 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5523 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5525 * src/hildon-app-menu.c
5526 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5527 updating the layout of the menu, don't create all widgets again,
5528 just repack the items in their new places.
5530 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5532 * src/hildon-time-selector.c
5533 (hildon_time_selector_get_time)
5534 (hildon_time_selector_set_time)
5535 Added documentation of these public methods
5537 * src/hildon-date-button.h
5538 * src/hildon-touch-selector-column.h
5539 * src/hildon-time-button.h
5540 * src/hildon-picker-dialog.h
5541 * src/hildon-time-selector.h
5542 * src/hildon-picker-button.h
5543 * src/hildon-touch-selector.h
5544 * src/hildon-time-picker.h
5545 * src/hildon-date-selector.h
5546 * src/hildon-touch-selector-entry.h
5547 Modified in order to use hildon-widgets code style
5549 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5551 Added deprecated support to the compilation process using
5552 HILDON_DISABLE_DEPRECATED
5554 * configure.ac: Added the --disable-deprecated to the configure
5557 * src/hildon-weekday-picker.c:
5558 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5559 to use the deprecated support. We will update the other deprecated
5560 widgets status in a new patch.
5562 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5564 * configure.ac: Fixed typo with fatal warnings support, the
5565 variable name was not correct
5567 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-app-menu.c
5570 * src/hildon-program.c: Update documentation.
5572 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5574 * configure.ac: Post-release version bump.
5576 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5581 * configure.ac: Pre-release version bump.
5582 * debian/changelog: Updates.
5584 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5586 * NEWS: Update news for previous releases.
5588 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5590 * examples/hildon-touch-selector-multi-cells-example.c:
5591 (create_selector): Update the example to use
5592 hildon_touch_selector_append_column() with a NULL renderer and set
5593 the renderers later.
5594 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5595 passed a NULL renderer. This is documented behavior now.
5597 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5598 This must be used if the developer wants full control on the layout of
5599 the renderers to be added to the column.
5601 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5603 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-touch-selector.c: Documentation fixes.
5607 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5609 * src/hildon-wizard-dialog-private.h: Remove image and box.
5610 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5611 (hildon_wizard_dialog_set_property), (response): Completely remove
5612 image/icon support, and the containers required for the layout.
5614 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5616 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-app-menu.c: Updated documentation.
5620 * src/hildon-stackable-window.c
5621 (hildon_stackable_window_set_main_menu): Unref the old menu after
5622 ref'ing the new one.
5624 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-stackable-window.c
5627 (hildon_stackable_window_set_main_menu): Unref the previous menu
5628 instead of destroying it.
5630 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5631 floating reference and set has_user_ref_count to FALSE to make
5632 HildonAppMenu act like a normal ref-counted widget and not a
5635 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5638 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5640 * src/hildon-touch-selector-column.h: new file
5641 * src/hildon-touch-selector.h
5642 * src/hildon-touch-selector.c
5643 Implemented GtkCellLayout interface, in order to allow to configure
5644 the cell layout on each individual selector column
5645 (hildon_touch_selector_set_column_attributes): marked as deprecated
5646 * examples/hildon-touch-selector-multi-cells-example.c
5647 Example of how to use the GtkCellLayout interface on the selector
5649 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5651 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-app-menu.h
5654 * src/hildon-app-menu.c
5655 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5656 (hildon_app_menu_append, hildon_app_menu_prepend):
5657 New methods to prepend, insert and move items in the menu.
5659 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5661 * src/hildon-wizard-dialog.c:
5663 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5665 (create_title): Update logical IDs and related code.
5666 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5668 * src/hildon-wizard-dialog.h: Note that
5669 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5670 point, as it is not used anymore.
5672 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5674 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5676 * src/hildon-note.c:
5677 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5678 shown. Do not display an icon in confirmation notes nor information
5680 (hildon_note_set_button_text): Update logical ID for cancel button.
5682 Fixes: NB#88850 (Update HildonNote button strings + signals)
5684 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-stackable-window.c
5687 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5689 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5691 * src/hildon-app-menu-private.h
5692 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5693 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5694 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5695 temporary property 'columns' to change the number of columns.
5697 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5699 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5701 * examples/hildon-note-example.c: (on_information_clicked),
5702 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5703 debugging information.
5704 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5706 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5707 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5708 in order to close: this will be handled by the WM from now on.
5710 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5712 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-app-menu-private.h
5715 * src/hildon-app-menu.c
5716 (hildon_app_menu_append, hildon_app_menu_add_filter)
5717 (button_visibility_changed, hildon_app_menu_apply_style)
5718 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5719 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5720 layout everytime a button (item or filter) is shown or hidden.
5722 * src/hildon-stackable-window.c
5723 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5726 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5728 * src/hildon-touch-selector.c:
5729 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5730 that the treeview inside the touch selector is in fremantle hildon mode
5731 * examples/hildon-date-button-example.c
5732 * examples/hildon-picker-button-multicolumn-example.c
5733 * examples/hildon-touch-selector-entry-example.c
5734 * examples/hildon-touch-selector-example.c
5735 * examples/hildon-time-button-example.c
5736 * examples/hildon-picker-button-example.c:
5737 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5739 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5741 * examples/hildon-text-view-example.c: (main): Remove the
5742 gtkrc bits, now handled by the theme.
5744 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5749 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5751 * po/Makefile.am: Install properly the mo files.
5752 * po/en_GB.po: Update translation, to ease testing purposes.
5754 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5756 * examples/hildon-picker-button-example.c: (main): Select an item
5757 in the selector before setting it to the button.
5759 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5761 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5762 Update button's value if the selector has an item active.
5764 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5765 'value' with the selector)
5767 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5769 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5770 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5771 (hildon_picker_button_class_init): Plug the finalize method.
5772 (hildon_picker_button_set_selector): If there's a previously set
5773 selector, unref'it before setting a new one.
5775 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5776 HildonTouchSelector)
5778 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5780 * src/hildon-touch-selector-entry.c:
5781 (hildon_touch_selector_entry_changed): Check if there is no text
5782 selected before setting the entry text.
5785 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-touch-selector.h
5788 * src/hildon-touch-selector.c
5789 (hildon_touch_selector_get_active)
5790 (hildon_touch_selector_set_active): New methods to set/get the
5791 index of the selected item.
5793 * src/hildon-picker-button.h
5794 * src/hildon-picker-button.c
5795 (hildon_picker_button_get_active)
5796 (hildon_picker_button_set_active): New methods to set/get the
5797 index of the selected item.
5799 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5801 * configure.ac: post-release version bump.
5803 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5807 * configure.ac: Pre-release version bump.
5808 * debian/changelog: Updates.
5809 * debian/control: Add myself as maintainer and depend on l10n
5812 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5814 * src/hildon-window.c
5815 (hildon_window_set_main_menu)
5816 * src/hildon-stackable-window.c
5817 (hildon_stackable_window_set_main_menu):
5818 Updated documentation.
5820 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5823 Don't free selector->priv manually.
5826 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5829 (hildon_gtk_window_set_progress_indicator):
5830 * src/hildon-gtk.h: Added the new API
5831 hildon_gtk_window_set_progress_indicator, it changes the state of
5832 the window progress hint.
5834 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5836 * src/hildon-button.c
5837 * src/hildon-stackable-window.c: Minor documentation updates.
5839 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5841 * src/hildon-stackable-window.c: Updated documentation.
5843 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5845 * src/hildon-defines.h: Update margins definitions
5846 to the Fremantle sizes.
5849 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5851 * src/hildon-touch-selector.c,
5852 (_hildon_touch_selector_set_model): Cleaning the code after
5853 review, removed g_print and #if 0 from the code.
5855 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5857 * src/hildon-edit-toolbar.c: Update documentation.
5859 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-check-button.h
5862 * src/hildon-check-button.c
5863 (hildon_check_button_set_label, hildon_check_button_get_label)
5864 * examples/hildon-check-button-example.c
5865 (button_clicked_cb):
5866 Removed deprecated methods.
5868 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5870 * src/hildon-text-view.c:
5871 Add sample code to the documentation.
5873 * src/hildon-entry.h
5874 * src/hildon-text-view.h:
5875 Minor cosmetic changes.
5877 * src/hildon-entry.c:
5878 Add sample code to the documentation.
5879 (hildon_entry_init, hildon_entry_refresh_contents):
5880 Don't allow NULL values in the placeholder.
5882 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5884 * doc/hildon-docs.sgml
5886 * examples/Makefile.am
5887 * examples/hildon-text-view-example.c
5889 * src/hildon-text-view.c
5890 * src/hildon-text-view.h
5892 New HildonTextView widget, with example.
5894 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5896 * po/POTFILES.in: Add missing files with translatable strings.
5897 Partially fixes NB#88287.
5899 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5901 * examples/hildon-pannable-area-example-2.c: (main): No need to
5902 set the cellrenderer height inside hildon touch lists, the theme does
5905 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5907 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5908 they are integrated in the theme.
5910 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5912 * examples/hildon-entry-example.c: Update the example adding
5913 widgets to modify the text and the placeholder of the HildonEntry.
5915 * src/hildon-entry.c: Show the placeholder everytime the widget
5916 is empty and loses the focus.
5918 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5920 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5922 * src/hildon-pannable-area.c,
5923 (hildon_pannable_area_size_request): Fixed bug in height
5924 requisition, avoid increasing size and add border twice.
5926 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5928 * configure.ac: postrelease version bump.
5930 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5934 * configure.ac: Prerelease version bump.
5935 * debian/changelog: update.
5936 * debian/rules: make -dbg package contain useful debugging symbols.
5938 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-dialog.h
5941 * src/hildon-dialog.c
5942 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5943 New methods to add buttons with finger size.
5944 (hildon_dialog_new_with_buttons):
5945 Create buttons with finger size.
5947 * examples/hildon-dialog-example.c (main): Use HildonDialog
5948 methods to add buttons.
5950 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5952 * src/hildon-entry.c: Updated HildonButton documentation.
5954 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5957 button value label with (FALSE, FALSE) to prevent NB#88126 from
5960 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5962 * examples/hildon-pannable-area-example.c,
5963 (main): Removed examples panning a vbox inside a pannable
5964 area. Check bug NB#87965
5966 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5968 Patch contributed by Kris Rietveld (kris@imendio.com)
5970 * src/hildon-pannable-area.c,
5971 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5972 get_size and get_position, this saves an X server roundtrip.
5974 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5976 * doc/hildon-docs.sgml
5978 * examples/Makefile.am
5979 * examples/hildon-entry-example.c
5981 * src/hildon-entry.c
5982 * src/hildon-entry.h
5984 New HildonEntry widget, with example.
5986 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-button.c (hildon_button_construct_child): Pack the
5989 image with expand == fill == FALSE. This is a workaround for a bug
5992 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5994 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5995 labels for the text column, to make it more look more dynamic.
5997 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5999 * src/hildon-time-selector.c
6000 Define gettext auxiliar macro N_
6001 (_create_minutes_model)
6002 (_create_hours_model)
6003 (_create_ampm_model): use of strftime in order to fill the model
6004 * src/hildon-date-selector.c
6005 (hildon_date_selector_finalize):
6006 (_locales_init): remove the logic related to get the name of the months
6007 using nl_langinfo, as it is not required anymore
6009 (_create_year_model)
6010 (_create_month_model)
6011 (_update_day_model): use of strftime in order to fill the model properly
6014 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-button.h
6017 * src/hildon-button.c (hildon_button_get_image): New method to
6020 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6022 * src/hildon-touch-selector.c:
6023 (hildon_touch_selector_remove_column): Remove from the correct parent
6024 and also remove the list element and free it.
6027 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6029 * src/hildon-time-selector.c
6030 (_create_hours_model): change the range on 12h ampm format in order to use
6031 a 12-11 range instead of previous 01-12 range
6032 (hildon_time_selector_set_time): change the way to select the current time
6033 on 12h ampm format, due the change on the range
6034 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6037 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6039 * src/hildon-touch-selector.c
6040 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6041 in order to allow use this function on multiple row selection mode if
6042 the column is different that the first one
6045 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6048 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6050 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6052 * src/hildon-date-selector.h: clean some comments, now on the .c
6053 * src/hildon-date-selector.c
6054 (hildon_date_selector_select_month): first implementation
6055 (hildon_date_selector_select_day): added documentation, reimplemented
6056 using hildon_date_selector_select_current_date to avoid repeat code
6059 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6061 Reviewed interaction logic based on device experiences, refactored
6064 * src/hildon-pannable-area.c,
6065 (hildon_pannable_area_class_init): Updated default vmax speed.
6066 (hildon_pannable_area_calculate_velocity): Added this function, it
6067 avoids duplicate valocity calculation. Adjusted calculation to
6068 avoid problems with zero dist events.
6070 (hildon_pannable_area_motion_notify_cb): Now we use the
6071 calculate_velocity function.
6073 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6075 * src/hildon-date-selector.c
6076 (hildon_date_selector_select_current_date): fix the day range check
6077 as it failed using the last day of the current month
6080 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6082 * src/hildon-touch-selector.c
6083 (hildon_touch_selector_get_num_columns): added a parameter validation
6086 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6088 * examples/Makefile.am
6089 * examples/hildon-edit-toolbar-example.c: Example of the
6090 HildonEditToolbar widget.
6092 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6094 * configure.ac: postrelease version bump.
6096 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6100 * configure.ac: prerelease version bump.
6101 * debian/changelog: update.
6103 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6105 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6106 renderer to display stock icons in the touch list. Also, set the sizes
6107 to the recommended in the style guide.
6109 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6110 * src/hildon-touch-selector.h
6111 (hildon_touch_selector_set_active_iter): renamed, now is
6112 hildon_touch_selector_select_iter
6113 (hildon_touch_selector_get_active_iter): renamed, now is
6114 hildon_touch_selector_get_selected
6115 (hildon_touch_selector_unselect_iter): added
6116 * src/hildon-touch-selector.c
6117 Update after API modification (methods renamed)
6118 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6119 order to avoid problems selecting multiple elements on the column
6120 (hildon_touch_selector_unselect_iter): added the implementation
6121 * src/hildon-time-selector.c
6122 * src/hildon-date-selector.c
6123 * src/hildon-touch-selector-entry.c
6124 Update methods calls after hildon-touch-selector.h API modification (methods
6127 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-stackable-window.c
6130 (hildon_stackable_window_finalize): Call the parent class's finalize.
6132 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6134 * examples/hildon-touch-selector-example.c: (create_selector): Use
6135 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6138 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6140 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6141 set a cell background color, to respect theming.
6143 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6145 * doc/hildon-docs.sgml
6148 * src/hildon-edit-toolbar.c
6149 * src/hildon-edit-toolbar.h
6150 * src/hildon.h: New HildonEditToolbar widget.
6152 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6154 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6157 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6158 * src/hildon-touch-selector.c
6159 (_create_new_column): use g_object_set instead of two g_object_set_property
6161 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6162 * src/hildon-touch-selector.c
6163 (_create_new_column): use of hildon_gtk_tree_view_new to create
6164 the treeview, instead of use directly g_object_new
6165 (_create_new_column): update the property name "vindicator-mode" for the
6166 new one "vscrollbar-policy"
6167 * examples/hildon-date-button-example.c
6168 * examples/hildon-picker-button-multicolumn-example.c
6169 * examples/hildon-touch-selector-entry-example.c
6170 * examples/hildon-touch-selector-example.c
6171 * examples/hildon-time-button-example.c
6172 * examples/hildon-picker-button-example.c
6173 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6174 to all the treeviews inside a pannable area.
6176 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-button.h
6179 * src/hildon-button.c (hildon_button_init)
6180 (hildon_button_set_arrangement, hildon_button_set_alignment)
6181 (hildon_button_set_title_alignment)
6182 (hildon_button_set_value_alignment)
6183 (hildon_button_set_image_alignment)
6184 (hildon_button_construct_child): New methods to set the alignment
6185 of the individual components of the button (title, value,
6186 image). Also, new method to alter the xscale and yscale properties
6187 of the GtkAlignment inside the button, so more complex layouts can
6190 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6192 * src/hildon-button.c (hildon_button_style_set)
6193 (hildon_button_class_init, hildon_button_set_arrangement)
6194 (hildon_button_construct_child): Apply style properties
6195 correctly. Use the 'image-spacing' style property too.
6197 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6199 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6200 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6203 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6205 * src/hildon-pannable-area.c,
6206 (hildon_pannable_area_size_request): Fixed problem with
6207 pannable-area size_request.
6209 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6211 Added management for the grab-focus to a child widget, like a
6212 range, we need to fade out the scrollbar when releasing.
6214 * src/hildon-pannable-area.c,
6215 (hildon_pannable_area_init): Connected the grab-focus signal to
6217 (hildon_pannable_area_grab_notify): Added this function in order
6218 to manage the situation when the grab-focus ends. We have to
6219 fade-out the scrollbar.
6221 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6223 * src/hildon-app-menu.c: Minor documentation update.
6225 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-app-menu.c
6228 * examples/hildon-app-menu-example.c (create_menu): Update
6229 examples and documentation to explain how to connect callbacks.
6231 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6233 * examples/hildon-button-example.c
6234 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6235 hildon_stackable_window_new instead of gtk_window_new
6237 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6239 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6240 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6241 (hildon_pannable_area_set_property),
6242 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6243 (hildon_pannable_area_unrealize),
6244 (hildon_pannable_area_size_request),
6245 (hildon_pannable_area_size_allocate),
6246 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6247 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6248 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6249 (hildon_pannable_area_initial_effect),
6250 (hildon_pannable_area_redraw),
6251 (hildon_pannable_area_scroll_indicator_fade),
6252 (hildon_pannable_area_expose_event),
6253 (hildon_pannable_area_get_topmost), (synth_crossing),
6254 (hildon_pannable_area_button_press_cb),
6255 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6256 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6257 (hildon_pannable_area_motion_notify_cb),
6258 (hildon_pannable_area_button_release_cb),
6259 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6260 (hildon_pannable_area_remove),
6261 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6262 chage the code layout to a more GtkWidget like. Review the use of
6265 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6267 * examples/hildon-pannable-area-example-4.c,
6268 (main): Modified the name of the hindicator_mode to
6271 * src/hildon-pannable-area.c,
6272 (hildon_pannable_area_class_init),
6273 (hildon_pannable_area_motion_notify_cb),
6274 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6275 we have reduced the amount of signals and managed reviewed its
6276 rationale. Changed the default decelerate value.
6278 (hildon_pannable_area_add),
6279 (hildon_pannable_area_redraw): Refactored functions.
6281 (hildon_pannable_area_init),
6282 (hildon_pannable_area_get_property),
6283 (hildon_pannable_area_set_property):
6284 (hildon_pannable_draw_vscroll),
6285 (hildon_pannable_draw_hscroll),
6286 (hildon_pannable_area_initial_effect),
6287 (hildon_pannable_area_expose_event),
6288 (hildon_pannable_area_scroll),
6289 (hildon_pannable_area_button_press_cb),
6290 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6291 and vindicator_mode with hscrollbar_policy and
6292 vscrollbar_policy. Replaced hscroll and vscroll with
6293 hscroll_visible and vscroll_visible.
6295 (hildon_pannable_area_refresh): Refactor the function, remove
6296 variables and check the calls to this function, added resize
6297 conditions in case the children change their layout.
6299 (hildon_pannable_area_size_request): Added more detailed
6300 size_request calculation.
6303 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6305 * src/hildon-color-chooser.c
6306 (init_borders): use the correct gtk_border_free instead of g_free, to
6307 avoid a crash when this widget is used (ie: the three color selection
6310 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6312 * src/hildon-check-button.c,
6313 (hildon_check_button_set_active): Fixed problem when setting the
6314 active value, the widget was not redrawn.
6316 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6318 * src/hildon-pannable-area.c,
6319 (hildon_pannable_area_refresh),
6320 (hildon_pannable_area_scroll),
6321 (hildon_pannable_area_motion_notify_cb): Small code style change.
6323 (hildon_pannable_area_class_init): Default initial_hint set to
6324 FALSE, it is not in the specs.
6326 (hildon_pannable_area_initial_effect),
6327 (hildon_pannable_area_expose_event),
6328 (hildon_pannable_area_map),
6329 (hildon_pannable_area_init): Moved the launching point of the
6330 initial effect, it was in map but the sizes where not correct in
6331 that method so we do not know if we have the reproduce it. Now it
6332 is placed in the expose_event method and uses a variable to
6333 reproduce it just once.
6335 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6337 * src/hildon-pannable-area.c,
6338 (hildon_pannable_draw_vscroll),
6339 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6340 position allowed for the scrollbars.
6342 (hildon_pannable_area_size_allocate): Small style change.
6344 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6346 * src/hildon-pannable-area.c,
6347 (hildon_pannable_area_scroll_indicator_fade),
6348 (hildon_pannable_area_button_press_cb),
6349 (hildon_pannable_area_button_release_cb),
6350 (hildon_pannable_area_scroll_cb),
6351 (hildon_pannable_area_expose_event),
6352 (hildon_pannable_area_init): Added the define parameter
6353 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6354 and refactor the fade variable.
6356 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6358 * src/hildon-pannable-area.c,
6359 (hildon_pannable_area_redraw),
6360 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6361 lines, we were reimplemeting the redraw code.
6363 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6365 * src/hildon-pannable-area.c,
6366 (hildon_pannable_area_scroll_cb),
6367 (hildon_pannable_area_realize),
6368 (hildon_pannable_area_class_init): Added scroll_event management
6369 for pannable area, now we can scroll the usual desktop method.
6371 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6372 initialization of the parameters should depend on idle_id.
6374 (hildon_pannable_area_init),
6375 (hildon_pannable_area_map): Small code style modifications
6377 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6379 * src/hildon-pannable-area.c
6380 (hildon_pannable_area_button_press_cb),
6381 (hildon_pannable_area_motion_notify_cb),
6382 (hildon_pannable_area_button_release_cb),
6383 (hildon_pannable_area_size_allocate),
6384 (hildon_pannable_area_scroll_to): Improved the timeouts
6385 management, we avoid creating them each time.
6387 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6389 * src/hildon-pannable-area.c:
6390 (hildon_pannable_area_refresh),
6391 (hildon_pannable_area_motion_notify_cb),
6392 (hildon_pannable_area_class_init):
6393 * src/hildon-pannable-area.h:
6394 * src/hildon-touch-selector.c
6395 (_create_new_column):
6396 * examples/hildon-pannable-area-example-4.c:
6397 (horizontal_movement),
6398 (vertical_movement),
6400 Replaced the names of enums in the HildonPannableArea:
6401 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6402 HILDON_MOVEMENT_MODE_*
6403 - HILDON_PANNABLE_AREA_MOV_* ->
6405 - Removed HildonPannableAreaIndicatorMode, now we
6408 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6410 * examples/hildon-pannable-area-touch-grid-example.c
6411 * examples/hildon-pannable-area-touch-list-example.c: Fix
6412 compilation warnings.
6414 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6416 * src/hildon-gtk.c (hildon_gtk_button_new)
6417 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6418 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6419 images overriding the value of the "gtk-button-images" setting.
6421 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-check-button.c (hildon_check_button_new):
6424 Instead of using a custom container, display the label and the
6425 checkbox using the standard GtkButton API.
6427 * examples/hildon-check-button-example.c (main): Don't use
6428 hildon_check_button_set_label() anymore
6430 * src/hildon-check-button.h
6431 * src/hildon-check-button.c
6432 (hildon_check_button_set_label, hildon_check_button_get_label):
6433 Set as deprecated, now we're using gtk_button_{get,set}_label()
6435 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6437 * src/hildon-pannable-area.c,
6438 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6439 GtkTreeview first line we detected it after the inclusion of the
6440 GtkWindowImpl in gtk+. We now check if the window is visible, not
6441 just if the pointer is over the window.
6442 (hildon_pannable_axis_scroll),
6443 (hildon_pannable_area_expose_event): Small style changes.
6445 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-button.c: Update documentation.
6449 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6451 * examples/hildon-button-example.c: Add a switch to show images in
6454 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6456 * doc/hildon-docs.sgml: Some docs reorganization.
6458 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6460 * examples/hildon-pannable-area-touch-list-example.c
6462 * examples/hildon-pannable-area-touch-grid-example.c
6463 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6464 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6465 Fix memory leak when setting the tree model.
6467 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6471 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6473 * doc/hildon.types: Remove duplicated hildon_window_get_type
6474 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6475 documentation comment.
6477 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6479 * doc/Makefile.am: Complete list of private headers.
6481 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6483 * doc/hildon-docs.sgml
6484 * src/hildon-app-menu.c
6485 * src/hildon-bread-crumb.c
6486 * src/hildon-button.c
6488 * src/hildon-program.c
6489 * src/hildon-stackable-window.c
6490 * src/hildon-window.c: Lots of documentation updates.
6492 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6494 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6496 * configure.ac: Require Gtk+ 2.12.9 at least
6498 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6500 * src/hildon-pannable-area.c
6501 (hildon_pannable_area_scroll_indicator_fade),
6502 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6503 to protect the return of this timeout callbacks, avoiding deadlocks.
6505 2008-08-12 Christian Dywan <christian@imendio.com>
6508 * src/hildon-*.h: Ensure a consistent include order,
6509 include <gtk/gtk.h> instead of particular files and
6510 only include the topmost header in the gtk stack. See NB #39857
6512 2008-08-12 Christian Dywan <christian@imendio.com>
6514 * src/hildon-picker-dialog.c
6515 * src/hildon-touch-selector.c: Fix warnings about unused and
6516 uninitialized variables.
6518 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6520 * examples/Makefile.am
6521 * examples/hildon-check-button-example.c: Example of the hildon
6524 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6526 * src/hildon-window.h
6527 * src/hildon-window.c (hildon_window_class_init)
6528 (hildon_window_unset_program): Don't make
6529 hildon_window_unset_program a virtual function anymore.
6531 * src/hildon-stackable-window.c: Update documentation
6533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6536 * doc/hildon-docs.sgml
6537 * doc/visual_index.xml
6538 * src/hildon-defines.c
6540 * src/hildon-helper.c
6541 * src/hildon-range-editor.c: Lots of documentation fixes.
6543 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6545 * examples/hildon-picker-button-multicolumn-example.c
6546 (create_touch_selector): Fix compilation warning.
6548 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6550 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6551 (hildon_pannable_area_button_release_cb)
6552 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6554 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6559 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6561 * src/hildon-bread-crumb-trail.h
6562 * src/hildon-date-editor.c
6563 * src/hildon-date-selector.c
6564 * src/hildon-pannable-area.c
6565 * src/hildon-picker-dialog.c
6566 * src/hildon-time-selector.c
6567 * src/hildon-touch-selector-entry.c
6568 * src/hildon-touch-selector.c
6569 * src/hildon-touch-selector.h: Misc documentation fixes
6571 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6573 * examples/hildon-date-editor-example.c (main): Updated date
6576 * examples/hildon-note-example.c (on_confirmation_clicked):
6577 Updated confirmation note example.
6579 * src/hildon-date-editor.c
6580 * src/hildon-note.c: Updated sample programs in documentation.
6583 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6585 * src/hildon-date-button.h:
6586 * src/hildon-picker-button.h:
6587 * src/hildon-time-button.c:
6588 * src/hildon-time-button.h:
6590 Some declarations changes to allow gtk-doc to document the widgets
6593 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6595 * src/hildon-date-button.c: Document the widget.
6596 * src/hildon-time-button.c: Document the widget.
6598 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6600 * src/hildon-picker-button.c: Document the widget.
6601 * src/hildon-touch-selector-entry.c: Document the widget.
6603 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6605 * doc/hildon-docs.sgml
6608 * src/hildon-check-button.h
6609 * src/hildon-check-button.c: New functions to create the Hildon
6613 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6615 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-button.h
6618 * src/hildon-button.c
6619 (hildon_button_add_title_size_group)
6620 (hildon_button_add_value_size_group)
6621 (hildon_button_add_image_size_group)
6622 (hildon_button_add_size_groups): New functions to set size groups
6623 for the button labels and image.
6624 (hildon_button_new_full): Removed
6626 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6628 * src/hildon-time-selector.c
6629 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6630 in order to avoid a crash if gconf is not available
6632 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-button.c (hildon_button_set_arrangement)
6635 (hildon_button_construct_child): Don't construct the button child
6636 before setting the arrangement.
6638 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6640 * src/hildon-program-private.h
6641 * src/hildon-program.c
6642 * src/hildon-program.h
6643 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6644 (hildon_program_peek_window_stack)
6645 (hildon_program_pop_window_stack)
6646 (hildon_program_go_to_root_window): HildonProgram now has a
6647 separate list for stackable windows. Functions are provided to
6648 manage that list with a stack-like API.
6650 * src/hildon-stackable-window.c: Stackable window management is
6651 now much simpler with the new HildonProgram API. Windows no
6652 longer need to be manually added to the program, they're
6653 automatically pushed to the top of the stack when shown.
6655 * examples/hildon-stackable-window-example.c: Updated example to
6656 reflect the API changes.
6658 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-touch-selector.c: Comment out unimplemented
6661 hildon_touch_selector_insert_column() to avoid a compile warning.
6663 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6665 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6666 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6667 (hildon_touch_selector_set_column_selection_mode),
6668 (_hildon_touch_selector_set_model),
6669 (hildon_touch_selector_set_model):
6671 Complete review of HildonTouchSelector documentation.
6673 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6675 * doc/hildon-docs.sgml
6679 * src/hildon-gtk.c: Convenience functions for standard Gtk
6680 widgets, used to easily perform frequent operations.
6682 * src/hildon-button-helpers.h
6683 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6685 * src/hildon-helper.h
6686 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6687 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6689 * src/hildon-button.h
6690 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6692 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6694 * src/hildon-button.c (hildon_button_init)
6695 (hildon_button_set_arrangement, hildon_button_construct_child):
6696 Pack the image and the labels inside the same GtkAlignment so
6697 gtk_button_set_alignment() can be used
6699 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6701 * src/hildon-button.h
6702 * src/hildon-button.c
6703 (hildon_button_init, hildon_button_set_image)
6704 (hildon_button_set_image_position)
6705 (hildon_button_construct_child): New functions to add an image to
6708 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6710 * src/hildon-date-button.c
6711 * src/hildon-picker-button.c
6712 * src/hildon-time-button.c
6713 * src/hildon-button.c:
6714 (hildon_button_class_init): "size-flags" renamed to "size"
6715 (hildon_button_set_title): Hide the title label if set to NULL.
6717 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6719 HildonButtonFlags split into HildonButtonArrangement (to set the
6720 button layout) and HildonSizeType (which can be used for any
6723 * src/hildon-button.h
6724 * src/hildon-button.c
6725 (hildon_button_class_init)
6726 (hildon_button_set_arrangement)
6727 (hildon_button_set_property): New "size-flags"
6728 property. "arrangement-flags" renamed to "arrangement".
6729 (hildon_button_new, hildon_button_new_with_text)
6730 (hildon_button_new_full): Constructors updated to reflect type changes.
6732 * src/hildon-helper.h
6733 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6734 to set the size of a widget.
6738 * src/hildon-button-helpers.c
6739 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6741 * src/hildon-date-button.c
6742 * src/hildon-date-button.h
6743 * src/hildon-picker-button.c
6744 * src/hildon-picker-button.h
6745 * src/hildon-time-button.c
6746 * src/hildon-time-button.h: Updated widgets to reflect
6747 HildonButton API changes.
6749 * examples/hildon-button-example.c
6750 * examples/hildon-date-button-example.c
6751 * examples/hildon-picker-button-example.c
6752 * examples/hildon-picker-button-multicolumn-example.c
6753 * examples/hildon-time-button-example.c
6754 * examples/hildon-touch-selector-entry-example.c
6755 * examples/hildon-touch-selector-example.c: Updated examples to
6756 reflect HildonButton API changes.
6758 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6760 * doc/hildon-docs.sgml:
6762 * examples/Makefile.am:
6763 * examples/hildon-touch-selector-entry-example.c:
6765 * src/hildon-touch-selector-entry.c:
6766 * src/hildon-touch-selector-entry.h:
6769 Moved HildonTouchSelectorEntry from sandbox. Added its
6770 documentation and examples.
6772 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/hildon-touch-selector.h:
6775 * examples/hildon-picker-button-multicolumn-example.c:
6776 (hildon_touch_selector_append_text_column): Add a gboolean
6777 parameter to determine if text must be centered in the column.
6779 * src/hildon-date-selector.c: (hildon_date_selector_init):
6780 * src/hildon-time-selector.c: (hildon_time_selector_init):
6781 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6782 (create_touch_selector): Update widgets and example to reflect
6785 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6787 * src/hildon-touch-selector.c:
6788 (hildon_touch_selector_set_active_iter): Set also the cursor in
6791 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6793 * doc/hildon-docs.sgml
6796 * src/hildon-toggle-button.c
6797 * src/hildon-toggle-button.h
6798 * src/hildon.h: Removed HildonToggleButton widget, a derived
6799 class is not necessary for this.
6801 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6803 * src/hildon-pannable-area.c,
6804 (hildon_pannable_area_realize),
6805 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6808 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6810 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6811 "done" button the default widget for the dialog.
6813 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6815 * src/hildon-touch-selector.c:
6816 (hildon_touch_selector_class_init),
6817 (hildon_touch_selector_get_property),
6818 (_hildon_touch_selector_set_model),
6819 (_hildon_touch_selector_has_multiple_selection),
6820 (hildon_touch_selector_has_multiple_selection):
6821 Add a "has-multiple-selection" property with a virtual
6822 has_multiple_selection() method to allow derived classes to
6823 override the default value for it. See the method and property
6824 documentation for details.
6826 * src/hildon-touch-selector.h: Add the new API.
6828 * src/hildon-picker-dialog.c: (requires_done_button): Call
6829 hildon_touch_selector_has_multiple_selection() instead of
6830 determining the need for a button itself.
6832 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6834 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6835 (_hildon_touch_selector_set_model),
6836 (hildon_touch_selector_set_model): Move working code to
6837 _hildon_touch_selector_set_mode(). Call the class method instead.
6839 * src/hildon-touch-selector.h: Add (*set_model) to
6840 HildonTouchSelectorClass.
6842 Make hildon_touch_selector_set_model() a virtual method, so that
6843 derived classes can extend it and do fancy stuff with the model.
6845 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6847 * configure.ac: Set back the tarname in AC_INIT to hildon.
6849 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6853 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6854 instead of libesd (NB#86876). Volume handling is still an open issue.
6856 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6859 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6862 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6863 derived class to ease placement of an entry widget in
6864 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6865 end, where the selector columns are packed now.
6867 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6869 * src/hildon-picker-button.c: Removed the simple _text() API.
6870 * src/hildon-picker-button.h: Likewise.
6872 * src/hildon-touch-selector.h:
6873 * src/hildon-touch-selector.c:
6874 (hildon_touch_selector_new_text),
6875 (hildon_touch_selector_append_text),
6876 (hildon_touch_selector_prepend_text),
6877 (hildon_touch_selector_insert_text):
6879 Moved the simple _text() API from HildonPickerButton to
6880 HildonTouchPicker, to provide better escalability and not to tie
6881 that API to HildonPickerButton.
6883 * examples/hildon-picker-button-example.c: (main): Example updated.
6885 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6887 * src/hildon-button.c: Updated documentation.
6889 * examples/hildon-button-example.c: Add the posibility to create
6890 the buttons using horizontal layout for title and value.
6892 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6894 * src/hildon-app-menu-private.h
6895 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6896 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6897 GtkSizeGroup for the filters, use the 'homogeneous' property of
6900 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6902 * examples/hildon-button-example.c: Updated example.
6904 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6906 * doc/hildon-docs.sgml:
6909 Update documentation.
6911 * examples/Makefile.am: Update renamed examples.
6913 * examples/hildon-picker-button-multicolumn-example.c:
6914 (create_touch_selector), (main): Update after the rename.
6916 * examples/hildon-touch-picker-example.c: Removed.
6917 * examples/hildon-touch-selector-example.c: (value_changed),
6918 (create_selector), (get_visible_content), (main): Renamed from
6919 hildon-touch-picker-example.c
6921 * src/Makefile.am: Updated renamed files.
6923 * src/hildon-date-button.c: (hildon_date_button_init),
6924 (hildon_date_button_get_date), (hildon_date_button_set_date):
6925 * src/hildon-date-selector.c: (hildon_date_selector_init),
6926 (_custom_print_func), (_update_day_model),
6927 (_manage_selector_change_cb),
6928 (hildon_date_selector_select_current_date),
6929 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6930 * src/hildon-date-selector.h:
6931 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6932 (hildon_picker_button_set_property),
6933 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6934 (hildon_picker_button_init), (hildon_picker_button_new_text),
6935 (hildon_picker_button_append_text),
6936 (hildon_picker_button_prepend_text),
6937 (hildon_picker_button_insert_text),
6938 (hildon_picker_button_set_selector),
6939 (hildon_picker_button_get_selector):
6940 * src/hildon-picker-button.h:
6941 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6942 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6943 (_update_title_on_selector_changed_cb), (requires_done_button),
6944 (_hildon_picker_dialog_set_selector),
6945 (hildon_picker_dialog_set_selector),
6946 (hildon_picker_dialog_get_selector):
6947 * src/hildon-picker-dialog.h:
6948 * src/hildon-time-button.c: (hildon_time_button_init),
6949 (hildon_time_button_get_time), (hildon_time_button_set_time):
6950 * src/hildon-time-selector.c: (hildon_time_selector_init),
6951 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6952 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6953 * src/hildon-time-selector.h:
6956 Massive code updates after the rename.
6958 * src/hildon-touch-picker.c: Removed.
6959 * src/hildon-touch-picker.h: Removed.
6961 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6962 (hildon_touch_selector_init), (hildon_touch_selector_map),
6963 (hildon_touch_selector_remove), (_default_print_func),
6964 (_selection_changed_cb), (_create_new_column),
6965 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6966 (hildon_touch_selector_append_text_column),
6967 (hildon_touch_selector_remove_column),
6968 (hildon_touch_selector_set_column_attributes),
6969 (hildon_touch_selector_insert_column),
6970 (hildon_touch_selector_get_num_columns),
6971 (hildon_touch_selector_get_column_selection_mode),
6972 (hildon_touch_selector_set_column_selection_mode),
6973 (hildon_touch_selector_set_print_func),
6974 (hildon_touch_selector_get_print_func),
6975 (hildon_touch_selector_get_active_iter),
6976 (hildon_touch_selector_set_active_iter),
6977 (hildon_touch_selector_get_selected_rows),
6978 (hildon_touch_selector_get_model),
6979 (hildon_touch_selector_set_model),
6980 (hildon_touch_selector_get_current_text),
6981 (_hildon_touch_selector_center_on_selected_items):
6982 * src/hildon-touch-selector.h: Renamed from
6983 hildon-touch-picker.[ch]
6985 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6986 references, code examples, and related documentation.
6988 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6990 * doc/hildon-docs.sgml
6993 * src/hildon-toggle-button.c
6994 * src/hildon-toggle-button.h
6995 * src/hildon.h: New HildonToggleButton widget.
6997 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6999 * src/hildon-button.c: Add API documentation.
7000 (hildon_button_set_size_groups): Check input parameters
7002 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7004 * src/hildon-pannable-area.c
7005 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7006 effect after reaching the movement thredshold. This way we start
7007 using the distance after passing the thredshold.
7009 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7011 * src/hildon-button.c: (hildon_button_set_property): Use the
7012 appropriate g_value_get_flags() method.
7014 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7016 * doc/hildon-docs.sgml:
7019 Add the touch pickers, picker dialogs, and picker button widgets
7020 to the documentation.
7022 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7024 * src/hildon-button.c: (hildon_button_set_property),
7025 (hildon_button_class_init): Make "arrangement-flags" a proper
7026 G_TYPE_FLAGS derived property.
7028 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7030 * examples/Makefile.am: Add below examples.
7031 * examples/hildon-date-button-example.c:
7032 * examples/hildon-picker-button-example.c:
7033 * examples/hildon-picker-button-multicolumn-example.c:
7034 * examples/hildon-time-button-example.c:
7035 * examples/hildon-touch-picker-example.c:
7037 Add examples for the recently added touch pickers,
7038 picker dialogs, and picker button widgets.
7040 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7042 * src/hildon-button.c: Add some API documentation
7044 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7046 * src/hildon-button.h
7047 * src/hildon-button.c
7049 (hildon_button_new_with_text): New constructor to create a button
7050 with no text at all.
7051 (hildon_button_init, hildon_button_set_arrangement)
7052 (hildon_button_set_title, hildon_button_set_value)
7053 (hildon_button_set_text)
7054 (hildon_button_construct_child): Hide the value when it's not used
7055 so the rest of the text is properly aligned.
7056 Allow creating buttons with arbitrary widgets inside (not just
7057 title/value labels).
7059 * examples/hildon-button-example.c (vertical_buttons_window)
7060 (horizontal_buttons_window): Update example to use new API.
7062 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7064 * src/Makefile.am: Added HildonTimeButton.
7065 * src/hildon-time-button.c: Added missing LGPL header.
7066 * src/hildon-time-button.h: Added missing LGPL header.
7067 * src/hildon.h: Add hildon-time-button.h
7069 Copied HildonTimeButton from sandbox to trunk. Future work on this
7070 widget must take place in trunk.
7072 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7074 * src/Makefile.am: Added HildonDateButton.
7075 * src/hildon-date-button.c: Update includes.
7076 * src/hildon.h: Add hildon-date-button.h
7078 Copied HildonDateButton from sandbox to trunk. Future work on this
7079 widget must take place in trunk.
7081 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7083 * src/Makefile.am: Added HildonPickerButton.
7084 * src/hildon-picker-button.h: Update includes.
7085 * src/hildon.h: Add hildon-picker-button.h
7087 Copied HildonPickerButton from sandbox to trunk. Future work on
7088 this widget must take place in trunk.
7090 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7092 * src/Makefile.am: Added HildonPickerDialog.
7093 * src/hildon-picker-dialog.c: Update includes.
7094 * src/hildon.h: Add hildon-picker-dialog.h
7096 Copied HildonPickerDialog from sandbox to trunk. Future work
7097 on this widget must take place in trunk.
7099 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7101 * src/Makefile.am: Added HildonTimeSelector.
7102 * src/hildon.h: Add hildon-time-selector.h
7104 Copied HildonTimeSelector widget from sandbox to trunk. Future
7105 work on this widget must happen in trunk.
7107 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7109 * src/Makefile.am: Added HildonDateSelector.
7110 * src/hildon.h: Add hildon-date-selector.h
7112 Copied HildonDateSelector widget from sandbox to trunk. Future
7113 work on this widget must happen in trunk.
7115 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7117 * src/Makefile.am: Added HildonTouchPicker.
7118 * src/hildon-touch-picker.c: Update includes.
7119 * src/hildon.h: Add hildon-touch-picker.h
7121 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7122 on this widget must happen in trunk.
7124 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7126 * src/hildon-pannable-area.c:
7127 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7129 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7131 * examples/hildon-app-menu-example.c (main): Let the window
7134 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7136 * src/hildon-pannable-area.c
7137 (hildon_pannable_area_class_init): Set the min value of the
7138 overshoot properties to zero, which points out that not
7139 overshooting allowed.
7141 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7143 Modified the procedure to get the widget at a point inside the
7144 pannable area when using the movement type signals. Now the user
7145 has to call a function to get the child, that way we just
7146 calculate the child in case the user really want to use it and not
7149 * src/hildon-marshalers.list: Modified the marshallers, now we do
7150 not have the widget as a parameter.
7152 * src/hildon-pannable-area.c
7153 (hildon_pannable_area_motion_notify_cb),
7154 (hildon_pannable_area_class_init),
7155 (hildon_pannable_get_child_widget_at): Removed the widget
7156 parameter from the signal callback. We have also refactored the
7157 emission of the signals.
7159 * src/hildon-pannable-area.h: Added a new method to the API to
7160 calculate a widget at a point inside the pannable area,
7161 hildon_pannable_get_child_widget_at.
7163 * examples/hildon-pannable-area-example-4.c
7164 (horizontal_movement): Modified the example to use the new API,
7165 added condition to control which widget is under the event. This
7166 way we can avoid scrolling laterally over other widgets.
7168 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7170 * src/hildon-pannable-area.c
7171 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7172 modes, we stop getting the pointer events due to returning the
7173 callback without properly calling the get pointer again. Fixed
7174 also an error using the hscroll and vscroll.
7176 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7178 * src/hildon-app-menu-private.h
7179 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7180 (hildon_app_menu_button_release, hildon_app_menu_init)
7181 (hildon_app_menu_class_init): Don't hide the menu on button
7182 release if the user didn't press outside first.
7184 * src/hildon-window.h
7185 * src/hildon-window.c (hildon_window_toggle_menu)
7186 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7187 hildon_window_toggle_menu a virtual function for the stackable
7188 window to override it.
7190 * src/hildon-stackable-window.h
7191 * src/hildon-stackable-window-private.h
7192 * src/hildon-stackable-window.c
7193 (hildon_stackable_window_realize)
7194 (hildon_stackable_window_finalize)
7195 (hildon_stackable_window_class_init)
7196 (hildon_stackable_window_init)
7197 (hildon_stackable_window_set_main_menu): New function to set the
7198 app menu of a HildonStackableWindow.
7200 * examples/hildon-app-menu-example.c: Remove the button to show
7201 the app menu, now it'll be shown when clicking on the title bar
7204 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7206 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7207 set the widget name if the arrangement flags do not specify
7210 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7212 * src/hildon-button.c: (hildon_button_set_property),
7213 (hildon_button_class_init), (hildon_button_new_full),
7214 (hildon_button_set_arrangement): Added "arrangement-flags"
7217 Make the HildonButtonFlags a construction-only property, to allow
7218 subclasses to set them properly.
7220 2008-07-21 Tim Janik <timj@imendio.com>
7222 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7223 insertion position after backspace, so additional digits are appended,
7226 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7228 * src/hildon-pannable-area.c,
7229 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7230 TODO list, it was complete and removed the g_debug and g_print
7233 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7235 Added the movement modes to the hildon-pannable-area, with this
7236 modes the developers can control in which directions the widget
7237 can scroll. They can also connect to signals in order to do
7238 something when that happens, allowing applications scroll. There
7239 is an example uploaded showing how to use it.
7241 * examples/Makefile.am:
7242 * examples/hildon-pannable-area-example-4.c: Added this example of
7243 an application using the modes.
7245 * src/hildon-marshalers.list: Added a new marshaller for the new
7248 * src/hildon-pannable-area.h: Added new enumerations and flags in
7249 order to control the movement modes and the new signals to warn
7250 about the movements in the area.
7252 * src/hildon-pannable-area.c:
7253 (hildon_pannable_axis_scroll),
7254 (hildon_pannable_area_scroll),
7255 (hildon_pannable_area_motion_notify_cb),
7256 (hildon_pannable_area_get_property),
7257 (hildon_pannable_area_set_property),
7258 (hildon_pannable_area_map),
7259 (hildon_pannable_area_class_init),
7260 (hildon_pannable_area_init),
7261 (hildon_pannable_area_jump_to): Added the modes to control the
7262 movement in the widget. We have added properties to control it,
7263 signals to warn about the movements and refactored some code.
7265 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7267 Changes required in order to allow vfast_factor set to zero to
7270 * src/hildon-pannable-area.c:
7271 (hildon_pannable_area_button_press_cb): Changed the condition, it
7272 is required for not allowing click when vfast_factor is zero.
7273 (hildon_pannable_area_timeout): Initialized velocity variables
7274 when we stop moving, it was less than 1 but not zero and we need
7275 to check zero in some situations.
7276 (hildon_pannable_area_class_init): Changed the default value of
7277 the speed factor, now the button_press is just sent in case the
7278 speed is 2 per cent of the max speed.
7279 (hildon_pannable_area_init): Initialization with 0.
7281 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7283 * src/hildon-pannable-area.c,
7284 (hildon_pannable_area_get_topmost): replaced
7285 gdk_window_get_children with gdk_window_peek_children, this way we
7286 do not have to free the list because it is not a copy.
7288 (hildon_pannable_axis_scroll),
7289 (hildon_pannable_area_scroll),
7290 (hildon_pannable_area_timeout),
7291 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7292 two parameters that were only used inside the
7293 hildon_pannable_area_scroll function.
7295 * examples/hildon-pannable-area-example.c,
7296 (get_sawtooth_label): Fixed small memory leak.
7298 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7300 More checks for the case where the overshoot is bigger than the
7303 * src/hildon-pannable-area.c:
7304 (hildon_pannable_draw_vscroll),
7305 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7306 to draw the slider of the scrollbar under the other scrollbar.
7307 (hildon_pannable_area_expose_event): added new checks to control
7308 the drawing of the overshooting area rectangle, in case it is too
7309 big for the area of the widget.
7310 (hildon_pannable_area_size_allocate): add more checks to avoid
7311 setting a position to the child widget outside the area.
7313 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7315 * src/hildon-pannable-area.c
7316 (hildon_pannable_area_size_allocate): Added conditions to control
7317 when overshooting is bigger than the allocated space for the
7318 children, this avoids negative allocations.
7320 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7322 * doc/hildon-docs.sgml
7324 * examples/Makefile.am
7325 * examples/hildon-button-example.c
7327 * src/hildon-button.c
7328 * src/hildon-button.h
7329 * src/hildon.h: Initial version of the new HildonButton widget,
7332 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-pannable-area.c:
7335 (hildon_pannable_area_button_press_cb),
7336 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7337 (hildon_pannable_area_motion_notify_cb),
7338 (hildon_pannable_area_button_release_cb),
7339 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7340 (hildon_pannable_area_jump_to_child):
7342 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7344 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7346 * examples/Makefile.am
7347 * examples/hildon-pannable-area-touch-grid-example.c
7348 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7349 the Hildon Touch List and Hildon Touch Grid using the
7350 HildonPannableArea widget.
7352 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7354 * src/hildon-pannable-area.c,
7355 (hildon_pannable_area_button_press_cb),
7356 (hildon_pannable_area_refresh),
7357 (hildon_pannable_area_scroll),
7358 (hildon_pannable_area_motion_notify_cb),
7359 (hildon_pannable_area_button_release_cb),
7360 (hildon_pannable_area_expose_event),
7361 (hildon_pannable_area_add),
7362 (hildon_pannable_area_remove),
7363 (hildon_pannable_area_realize),
7364 (hildon_pannable_area_size_allocate),
7365 (hildon_pannable_area_class_init),
7366 (hildon_pannable_area_init),
7367 (hildon_pannable_area_scroll_to_child),
7368 (hildon_pannable_area_jump_to_child): Fixed the problem of
7369 removing the child from the GtkBin, we have rearranged the widget
7370 hierarchy, now there is no GtkAlignment which was not doing
7371 anything interesting but breaking some of the assumptions of
7372 GtkContainer. Now developers if they want to add a GtkAlignment
7373 they could, but it is not inside the area.
7375 We had to review the whole allocation/expose process, now it is
7376 improved and we save at least three signals which would be saving
7377 some time when rendering the widget. The allocation of the
7378 scrollbars is now made in the allocate method as usual.
7380 We have also added some conditions in order to control when there
7381 is no child of the pannable area. Maybe we will need more work
7384 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7386 * src/hildon-pannable-area.c,
7387 (hildon_pannable_area_dispose): Released the fade-out timeout when
7388 disposing the widget.
7390 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7392 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7393 zero, we are going to use that property in order to deactivate the
7395 (hildon_pannable_axis_scroll),
7396 (hildon_pannable_area_size_allocate): Added conditions to control
7397 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7398 call, now it is called in all situations and we can remove calls
7399 in the allocate method.
7400 (hildon_pannable_area_map): Control the situation when
7401 overshoot_max is zero, we do not need the timeout.
7402 (hildon_pannable_area_class_init): Added documentation in order to
7403 point out that setting zero to overshoot_max means deactivate
7406 NOTE: removed trailing whitespaces from my previous comments of
7409 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/hildon-pannable-area.c
7412 (hildon_pannable_area_get_property),
7413 (hildon_pannable_area_set_property),
7414 (hildon_pannable_area_map),
7415 (hildon_pannable_area_class_init),
7416 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7417 to cause the widget give a hint about its panning abilities upon
7420 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/hildon-pannable-area.c: Several documentation improvements.
7424 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7426 * src/hildon-program.c
7427 * src/hildon-stackable-window.c: Update documentation.
7429 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7431 * src/hildon-stackable-window.c (get_previous_window_if_last):
7432 Renamed get_last_window()
7433 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7434 (hildon_stackable_window_unset_program):
7436 (get_previous_window_if_last):
7437 Detect if the window hasn't been added to a HildonProgram.
7439 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7441 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7443 * src/hildon-pannable-area.c
7444 (hildon_pannable_area_button_press_cb),
7445 (hildon_pannable_axis_scroll),
7446 (hildon_pannable_area_scroll),
7447 (hildon_pannable_area_timeout),
7448 (hildon_pannable_calculate_vel_factor),
7449 (hildon_pannable_area_get_property),
7450 (hildon_pannable_area_set_property),
7451 (hildon_pannable_area_class_init),
7452 (hildon_pannable_area_init),
7453 (hildon_pannable_area_scroll_to),
7454 (hildon_pannable_area_jump_to),
7455 (hildon_pannable_area_scroll_to_child),
7456 (hildon_pannable_area_jump_to_child):
7457 * src/hildon-pannable-area.h: Added the new API functions:
7458 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7459 hildon_pannable_area_scroll_to_child,
7460 hildon_pannable_area_jump_to_child
7463 * examples/Makefile.am
7464 * examples/hildon-pannable-area-example-2.c
7465 * examples/hildon-pannable-area-example-3.c: Added these two new
7466 examples in order to test and show how the new APIs work.
7468 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7470 * examples/hildon-stackable-window-example.c (new_window):
7471 * src/Makefile.am (noinst_HEADERS):
7472 * src/hildon-program.c (hildon_program_go_to_root_window):
7473 * src/hildon-program.h:
7474 * src/hildon-stackable-window-private.h:
7475 * src/hildon-stackable-window.c:
7476 * src/hildon-stackable-window.h:
7477 Create hildon-stackable-window-private.h
7478 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7480 * examples/hildon-app-menu-example.c (create_menu):
7481 * examples/hildon-hvolumebar-insensitive-example.c (main):
7482 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7483 * examples/hildon-toolbar-seekbar-example.c (main):
7484 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7485 * src/hildon-banner.c (hildon_banner_set_property):
7486 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7487 Fix compilation warnings
7489 * src/hildon-window.c:
7492 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7494 * src/hildon-stackable-window.c
7495 (hildon_stackable_window_unset_program):
7496 Calculate correctly whether to show the previous window if the
7497 last one is removed from the stack.
7498 (hildon_stackable_window_go_to_root_window):
7499 Send delete events starting from the topmost window.
7500 Stop if one of the windows is not destroyed.
7502 (hildon_stackable_window_delete_event)
7503 (hildon_stackable_window_class_init):
7504 Ignore the delete event if the window is not the topmost one.
7506 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7508 * src/hildon-pannable-area.c
7509 (hildon_pannable_area_expose_event): Fixed a problem when
7510 selecting the background color of the scrollbars.
7512 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7514 * examples/hildon-stackable-window-example.c
7515 * src/hildon-stackable-window.c
7516 * src/hildon-stackable-window.h
7517 hildon_stackable_window_go_home() renamed to
7518 hildon_stackable_window_go_to_root_window()
7519 Send delete events to windows rather than closing them with
7520 gtk_widget_destroy()
7522 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7524 * src/hildon-pannable-area.c
7525 (hildon_pannable_area_button_release_cb): Fix overshooting in
7528 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7530 * src/hildon-pannable-area.c
7531 (hildon_pannable_area_init): Initially show the scroll indicators.
7532 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7534 Add initial effect showing the widget is pannable.
7536 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7538 * src/hildon-pannable-area.c
7539 (hildon_pannable_area_class_init)
7540 (hildon_pannable_area_set_property)
7541 (hildon_pannable_area_get_property)
7542 (hildon_pannable_area_button_press_cb):
7543 New 'velocity_fast_factor' property to decide which velocity is
7546 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7548 * src/hildon-pannable-area.c
7549 (hildon_pannable_draw_hscroll)
7550 (hildon_pannable_draw_vscroll):
7551 Use float variables to calculate the size of the scrollbars to
7552 avoid error propagation and resizing during scrolling.
7554 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7556 * src/hildon-pannable-area.c
7557 (hildon_pannable_draw_vscroll)
7558 (hildon_pannable_draw_hscroll):
7559 Define a minimum size for the scroll bars
7561 * src/hildon-stackable-window.c
7562 (hildon_stackable_window_go_home): Fix compilation warning
7563 (get_last_window): Minor optimizations
7564 (hildon_stackable_window_class_init): Fix initialization of
7567 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7569 * src/hildon-stackable-window.c: Fixed typos in doc
7571 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7573 * src/hildon-pannable-area.c
7574 (hildon_pannable_area_scroll):
7575 Calculate here whether we need to scroll instead of using the booleans
7576 that tell us whether to /draw/ the scrolling bars.
7578 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7580 * src/hildon-app-menu.h
7582 * src/hildon-app-menu.c
7583 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7584 multiple filter groups related code and API. Now we support only
7586 * examples/hildon-app-menu-example.c:
7588 Update to reflect API changes.
7590 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7592 * src/hildon-stackable-window.c
7593 (hildon_stackable_window_class_init):
7594 Add hildon_stackable_window_realize.
7595 (hildon_stackable_window_realize):
7596 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7597 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7598 to apply theming and behavior specific to HildonStackableWindow
7601 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7603 * src/hildon-note.c (hildon_note_button_release):
7604 Close information notes also when tapping on them
7606 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7608 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7609 ELASTICITY, refactor and review, fix some issues with drawing
7612 * src/hildon-pannable-area.c:
7613 (hildon_pannable_area_button_press_cb): removed the conditions to
7614 avoid clicks when overshooting. It is not required
7616 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7617 define. Refatored and reviewed the code, now we do not need to
7618 manage velocity in motion_notify.
7620 (hildon_pannable_area_motion_notify_cb): We have moved the code
7621 that controls the area_scroll to the axis_scroll function and get
7622 rid of duplicated code.
7624 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7626 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7628 (hildon_pannable_draw_vscroll),
7629 (hildon_pannable_draw_hscroll): Fixed the problems with the
7630 scrollbar drawing, now we do not use two surfaces, it is easier
7631 and saves resources.
7633 (hildon_pannable_area_get_property): Style modification.
7635 (hildon_pannable_area_class_init): Changed some default values.
7637 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7639 * src/hildon-stackable-window.c: Fix some typos in the
7642 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7644 * src/hildon-dialog.c:
7645 Change indentation style
7648 (hildon_note_button_release):
7649 Use root coordinates to check if the release event happened
7652 * src/hildon-app-menu.c
7653 (hildon_app_menu_button_release):
7654 Remove unnecessary check
7656 * examples/hildon-app-menu-example.c
7658 Add cast to fix warning
7660 * src/hildon-app-menu.c
7661 (hildon_app_menu_class_init):
7662 New inner-border style property.
7663 Set all default spacings to 16
7664 (hildon_app_menu_init):
7665 Use vertical-spacing to set the space between filter buttons and
7666 regular menu buttons.
7667 Set the default container border using the inner-border value.
7669 * examples/hildon-app-menu-example.c
7671 Don't set the menu border explicitly, now we have the inner-border
7672 style property for that.
7674 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7676 * src/hildon-app-menu.c (hildon_app_menu_init):
7677 Make the window modal
7679 * src/hildon-note.c (hildon_note_map)
7680 * src/hildon-app-menu.c (hildon_app_menu_map):
7681 Destroy the grab window if we're unable to grab the pointer
7683 * src/hildon-app-menu-private.h
7684 * src/hildon-app-menu.c
7685 (hildon_app_menu_init, hildon_app_menu_finalize)
7686 (hildon_app_menu_map, hildon_app_menu_unmap)
7687 (hildon_app_menu_button_release)
7688 (grab_transfer_window_get):
7689 Bring back the grab window
7690 (hildon_app_menu_realize):
7691 Decorate the window, set WM hint for Matchbox
7693 * src/hildon-note.c (hildon_note_realize):
7694 * src/hildon-banner.c (hildon_banner_realize):
7695 Add WM hints for Matchbox
7697 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7699 * src/hildon-app-menu-private.h
7700 * src/hildon-app-menu.c
7701 (hildon_app_menu_init, hildon_app_menu_finalize)
7702 (hildon_app_menu_map, hildon_app_menu_unmap)
7703 (hildon_app_menu_button_release):
7704 Remove the grab window, it's not needed anymore
7706 * src/hildon-program.c
7707 Fixed typo in documentation
7709 * src/hildon-app-menu.h
7710 * src/hildon-app-menu.c
7711 * examples/hildon-app-menu-example.c
7712 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7714 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7717 Added new transfer_window and close_if_pressed_outside private
7719 (hildon_note_rebuild):
7720 Don't add a cancel button to the information note. It will be
7721 closed when tapping outside
7722 Remove the comment about the OK button in the documentation
7723 (hildon_note_realize):
7724 Set the notification type hint
7725 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7726 Grab/ungrab pointer and keyboard if the note has to be closed when
7728 (hildon_note_button_release):
7729 Close the note when tapping outside (if applicable)
7731 * src/hildon-app-menu.c
7732 Grab/ungrab pointer and keyboard on map/unmap
7733 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7734 Close the menu on button release, not button press
7736 * src/hildon-banner.c
7737 (hildon_banner_set_property)
7738 (hildon_banner_check_position):
7739 Make the banner use the full width of the screen
7740 (hildon_banner_show_information)
7741 (hildon_banner_show_information_with_markup):
7742 Don't display an icon by default
7744 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7746 Added fading scrollbars and adapted all the overshooting code to
7747 horizontal scrolling. We have also fixed bugs with overshooting
7748 and current fading implementation.
7750 * src/hildon-pannable-area.c
7751 (hildon_pannable_area_scroll_indicator_fade): Time out function
7752 used to change the transparency of the scrollbars.
7754 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7755 control and fixed a problem with fading, we now remove the fade
7756 timeout before adding a new one.
7758 (hildon_pannable_axis_scroll):
7759 (hildon_pannable_area_scroll):
7760 (hildon_pannable_area_timeout): Added this functions so we can use
7761 the scroll code both for vertical and horizontal.
7763 (hildon_pannable_area_motion_notify_cb):
7764 (hildon_pannable_area_button_release_cb): Added the horizontal
7765 scrolling control, fixed a problem with the overshooting timeout.
7767 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7768 painting of the scrolls.
7770 (hildon_pannable_draw_vscroll):
7771 (hildon_pannable_draw_hscroll):
7772 (hildon_pannable_area_expose_event):
7773 Draw both scrollbars and rectangles in the overshooting area.
7775 (hildon_pannable_area_get_property):
7776 (hildon_pannable_area_set_property):
7777 Modified the overshoot property to overshoot_max
7779 (hildon_pannable_area_map):
7780 Replaced the comments symbols.
7782 (hildon_pannable_area_size_allocate):
7783 (hildon_pannable_area_class_init):
7784 (hildon_pannable_area_init): Added horizontal scroll, fading
7785 effect properties, fixed a problem when overshooting in the bottom
7788 * examples/hildon-pannable-area-example.c:
7789 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7790 looks better in the example.
7792 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7794 * src/hildon-window.c
7795 * src/hildon-window.h
7796 (hildon_window_class_init)
7797 (hildon_window_unset_program)
7798 (hildon_window_unset_program_real):
7799 Make unset_program a virtual function
7801 * src/hildon-stackable-window.c
7802 * src/hildon-stackable-window.h
7803 Added hildon_stackable_window_go_home()
7805 * examples/Makefile.am
7806 * examples/hildon-stackable-window-example.c
7807 HildonStackableWindow example
7809 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7811 * hildon-pannable-area.c: Added the overshoot property and removed
7812 the OVERSHOOT define. Fixed an indent style error.
7813 (hildon_pannable_area_motion_notify_cb):
7814 (hildon_pannable_area_get_property):
7815 (hildon_pannable_area_set_property): Add overshoot property.
7817 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7820 (hildon_pannable_area_class_init): Installed the new property.
7822 * hildon-pannable-area-example.c: Added a sawtooth function, this
7823 way it is easier to check the movement in the pannable.
7824 (get_sawtooth_label): Added this function.
7825 (main): Now we get the labels from the new get_sawtooth_label
7828 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7830 * src/hildon-app-menu.h
7831 * src/hildon-app-menu.c
7832 Renamed API variables for consistency
7834 (hildon_app_menu_popup): Use also the default window size to
7835 decide where to place the menu
7837 (hildon_app_menu_init, hildon_app_menu_class_init): New
7838 external-border style property
7840 2008-05-26 Michael Natterer <mitch@imendio.com>
7842 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7843 widget_class->tap_and_hold_setup signal slot doesn't exist any
7844 longer, stop overriding it.
7846 (hildon_time_editor_init): g_signal_connect() to the
7847 tap-and-hold-setup signal instead.
7849 (hildon_time_editor_entry_keypress): add cast to fix warning.
7851 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7853 * doc/hildon-docs.sgml
7855 * examples/Makefile.am
7856 * examples/hildon-app-menu-example.c
7858 * src/hildon-app-menu-private.h
7859 * src/hildon-app-menu.c
7860 * src/hildon-app-menu.h
7862 New HildonAppMenu widget
7864 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7866 Rearranged the inheritance of the pannable area, now it inherits
7867 from GtkBin. This will allow us to control the event_window and
7868 the allocation process of the widget, required for some effects.
7870 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7871 GtkBin structures. * src/hildon-pannable-area.c: Added the
7872 event_window variable.
7873 (hildon_pannable_area_button_press_cb):
7874 (hildon_pannable_area_button_release_cb):
7875 (hildon_pannable_area_motion_notify_cb):
7876 Changed the signature of the method, now we override the event
7877 callback instead of connecting to the signal.
7879 (hildon_pannable_area_realize):
7880 (hildon_pannable_area_unrealize):
7881 (hildon_pannable_area_map):
7882 (hildon_pannable_area_unmap):
7883 (hildon_pannable_area_size_allocate):
7884 Added functions to control the widget construction. We add a
7885 INPUT_ONLY window and we put it over the widgets inside the
7886 container, this event_window handles the events.
7888 (hildon_pannable_area_class_init):
7889 Replaced the signal connections with overrides of the event
7892 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7894 Bouncing effect added when touching the borders, you can change
7895 the elasticity of the border changing the ELASTICITY define.
7897 * src/hildon-pannable-area.c: Added ELASTICITY define.
7898 (hildon_pannable_area_timeout): Added inverse velocity when
7899 touching the border of the child widget, that causes a bounce.
7901 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7903 Improved performance, we now do not go to the X server in order to
7904 get the list of window children. Apparently the effect is the
7905 same, we have to be careful and check if this breaks something in
7908 * src/hildon-pannable-area.c:
7909 (get_ordered_children): Removed this function.
7910 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7911 the children windows function with gdk_window_get_children.
7913 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7915 * src/hildon-pannable-area.c:
7916 (hildon_pannable_area_dispose): Fixed a crash when closing the
7917 window and kinetics is activated.
7919 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7921 * src/hildon-pannable-area.h
7922 * src/hildon-pannable-area.c
7923 Changed indentation style to meet the one used in Hildon
7925 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7927 Reviewed the interaction of the AUTO mode, now we use the time
7928 attribute of the events and calculate the velocity in the motion,
7929 doing a gimp like calculation. The velocity is calculated in each
7930 motion event using the last velocity and the current one, the
7931 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7933 * src/hildon-pannable-area.c: Replaced the time based algorithm
7935 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7936 timeout for the AUTO mode when we are still moving the cursor. We
7937 added also the velocity calculation in this function.
7938 (hildon_pannable_area_button_release_cb): launch the timeout in
7939 case we are in AUTO mode. There are still some constants here that
7940 come from the old implementation that should be reviewed and
7943 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7945 * doc/hildon-docs.sgml
7948 * src/hildon-stackable-window.c
7949 * src/hildon-stackable-window.h
7951 New HildonStackableWindow widget
7953 * examples/hildon-dialog-example.c
7954 * examples/hildon-pannable-area-example.c
7957 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7959 * src/hildon-dialog.c
7960 (hildon_dialog_new_with_buttons): New constructor.
7962 * examples/hildon-dialog-example.c
7963 (main): Update the example to use the new
7964 hildon_dialog_new_with_buttons().
7966 * examples/hildon-pannable-area-example.c
7967 (main): Update example.
7969 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7971 * doc/hildon-docs.sgml
7973 Added HildonPannableArea to the documentation.
7975 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7977 * doc/visual_index.xml
7978 Fix reference to HildonLoginDialog in documentation
7980 * doc/hildon-docs.sgml
7982 * examples/Makefile.am
7983 * examples/hildon-dialog-example.c
7985 * src/hildon-dialog.c
7986 * src/hildon-dialog.h
7988 New HildonDialog widget.
7990 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7992 * src/hildon-pannable-area.c
7993 Merge latest changes (r4318, r4342) from libmokoui trunk
7995 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7997 * examples/Makefile.am
7998 * examples/hildon-pannable-area-example.c
8000 * src/hildon-pannable-area.c
8001 * src/hildon-pannable-area.h
8003 New HildonPannableArea widget.
8005 2008-04-15 18:05:19 <timj@imendio.com>
8007 * src/hildon-banner.c: revert the recent change, that introduced
8008 gtk_window_present() calls. this reopens:
8009 Bug 78481 - [freetest] information banners are hidden under browser menu
8010 But resolves another variant of:
8011 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8013 2008-04-15 13:21:13 <timj@imendio.com>
8015 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8016 recreated its layout, spotted by Kris. this fixes all remaining
8017 artefacts and stability issues with the banner code. in particular:
8018 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8020 2008-04-14 16:52:59 <timj@imendio.com>
8022 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8023 operating on unrealized widgets, fixes:
8024 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8026 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8028 2008-04-09 Kristian Rietveld <kris@imendio.com>
8030 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8031 makes banner disappear.
8032 Fixes: NB#79182: info banner flickering with certain message lengts.
8034 * src/hildon-banner.c (hildon_banner_constructor),
8035 (hildon_banner_init), (hildon_banner_set_text),
8036 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8037 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8038 FALSE, reset size requests of label and banner,
8039 (force_to_wrap_truncated): when the text is too wide, always enforce
8040 the maximum possible width instead of recalculating it from the
8041 layout; enforce the maximum banner height of 3 lines,
8042 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8043 nicer wrapping and no truncated chars if space gets tight.
8045 * src/hildon-banner-private.h: add has_been_wrapped and
8046 has_been_truncated fields.
8048 2008-04-07 Sven Herzberg <sven@imendio.com>
8050 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8051 local values in hildon_date_editor_size_allocate
8053 * src/hildon-date-editor.c: moved the real allocation code into the
8056 2008-04-07 Sven Herzberg <sven@imendio.com>
8058 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8059 local values in hildon_date_editor_size_allocate
8061 * src/hildon-date-editor.c: merged the two if() branches together
8063 2008-04-07 Sven Herzberg <sven@imendio.com>
8065 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8066 local values in hildon_date_editor_size_allocate
8068 * src/hildon-date-editor.c: changed the arguments of the if()
8071 2008-04-07 Sven Herzberg <sven@imendio.com>
8073 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8074 local values in hildon_date_editor_size_allocate
8076 * src/hildon-date-editor.c: split the calculation of the allocation
8077 from the real allocation
8079 2008-03-27 Michael Natterer <mitch@imendio.com>
8081 Fixes: NB#81696: The passcode is not overwritten even after
8084 * src/hildon-code-dialog.c
8085 (hildon_code_dialog_button_clicked)
8086 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8087 because that doesn't overwrite selected text. Instead, emit the
8088 "commit" signal on the entry's im_context so the entry's normal
8089 insert logic is triggered. Set the cursor to the end of the entry
8090 after each insert operation so that we *only* insert in the middle
8091 of the text if something was selected.
8093 2008-03-27 Michael Natterer <mitch@imendio.com>
8095 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8096 selector cannot be opened
8098 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8099 when the popup color selector is created. Please connect to this
8100 signal in order to set the dialog's help ID.
8102 2008-03-25 Sven Herzberg <sven@imendio.com>
8104 Fixes: MB#1212: Hide info banners (infoprints) on click
8106 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8107 extracted the close event simulation into an extra function
8108 (hildon_banner_button_press_event): simulate a close event and destroy
8109 the widget if the event wasn't handled
8110 (hildon_banner_class_init): added the button_press_event handler
8111 (hildon_banner_init): added button-press events to the widget
8113 2008-03-25 Sven Herzberg <sven@imendio.com>
8115 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8116 Patch from: Mohammad Anwari <mdamt@maemo.org>
8118 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8119 instead of the right in RTL mode
8120 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8121 breadcrumb button list in RTL mode
8122 * src/hildon-caption.c: mirror the appearance of the caption widget in
8124 * src/hildon-date-editor.c: mirror appearance of the date editor in
8126 * src/hildon-time-editor.c: mirror appearance of the time editor in
8128 * src/hildon-window.c: fix the position of the popup in RTL mode
8130 2008-03-25 Sven Herzberg <sven@imendio.com>
8132 Amendment to the fix of NB#22072. Fix compilation.
8134 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8136 2008-03-19 Sven Herzberg <sven@imendio.com>
8138 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8141 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8142 timeout id properly when the timeout will disappear this leaves no
8143 artifacts around in the destroy(); there will only be the timeout
8144 created by hildon_banner_ensure_timeout() and adding a new timeout
8145 will also work if the timeout gets removed because the timeout_handler
8148 2008-03-19 Michael Natterer <mitch@imendio.com>
8150 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8152 * src/hildon-volumebar.c
8153 * src/hildon-vvolumebar.c
8154 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8155 the widget becomes focussable at all.
8157 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8158 set the focus to wither the mute button or the volumebar.
8160 Remove own "can-focus" property and instead listen to
8161 notify::can-focus in order to update the widget's state.
8163 Implement GtkWidget::focus() and make sure we can also *leave* the
8164 widget, not only enter it, depending on volumebar orientation and
8165 requested focus direction.
8167 Clean up set_mute() to cooperate nicely with all the above.
8169 2008-03-04 Michael Natterer <mitch@imendio.com>
8171 Fixes: NB#78481: information banners are hidden under browser menu
8173 * src/hildon-banner.c: call gtk_window_present() on the banners so
8174 they are risen if they are already visible.
8176 2008-03-03 Sven Herzberg <sven@imendio.com>
8178 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8180 * examples/hildon-window-menu-example.c: (main): extended the window
8181 menu example to serve as a testcase for automatically added
8182 accelerator groups, too
8183 * src/hildon-window.c: (hildon_window_add_accel_group),
8184 (hildon_window_set_menu): added patch by Tommi Komulainen
8186 2008-03-03 Sven Herzberg <sven@imendio.com>
8188 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8190 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8191 knowledge about the border allocators used within GTK+
8193 2008-02-26 Sven Herzberg <sven@imendio.com>
8195 Fixes: MB#2981: Build with asserts broken
8197 * src/hildon-date-editor.c,
8198 * src/hildon-number-editor.c,
8199 * src/hildon-time-editor.c,
8200 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8201 the proper GType instance check
8203 2008-02-25 Sven Herzberg <sven@imendio.com>
8205 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8207 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8208 * examples/hildon-window-menu-example.c: (main): explicitly show
8210 * src/hildon-window.c:
8211 (hildon_window_set_main_menu): moved most of the code from set_menu()
8212 to this place; skipped the call to gtk_widget_show_all(); also didn't
8213 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8214 (hildon_window_set_menu): removed most of the code, just keep the
8215 questionable gtk_widget_show_all()
8216 * src/hildon-window.h: added the new function and deprecate the old
8219 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8225 * debian/changelog: Updating.
8227 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8230 * pkgconfig/Makefile.am:
8231 * pkgconfig/hildon.pc.in:
8234 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8235 use newly created API_MAJOR_VERSION.
8237 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8243 * debian/changelog: Updating.
8245 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8247 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8249 Add outer_border style property, we use it but don't define it (!).
8253 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8255 * examples/hildon-bread-crumb-trail-example.c (main):
8259 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8261 Fix logic for the bread crumb trail node removal.
8265 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8271 * debian/changelog: Updating.
8273 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 Patch by Alejandro to get/set passwords dialogs accesibility.
8277 * hildon-1/src/hildon-get-password-dialog.c:
8278 * hildon-1/src/hildon-set-password-dialog.c:
8279 Set atk_set_name to the passwd entries in order to allow
8280 accessibility by name on this entries.
8282 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * debian/control: Updating gtk dep.
8289 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8291 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8292 USE_MAEMO_GTK is enabled.
8294 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8296 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8297 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8299 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * debian/changelog: Updating.
8307 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8309 * examples/Makefile.am:
8310 * examples/hildon-logical-color-example.c:
8311 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8312 applied + adding a test case. Fixes: NB#71660.
8314 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8316 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8317 to be visible, fixes warning on map for windows without toolbars.
8319 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8322 2.11.0, add a check for that besides the MAEMO_GTK check.
8324 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8330 * debian/changelog: Updating.
8332 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8335 visibility. Fixes: NB#70842 and MB#615.
8337 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8339 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8340 set the separator as no-show-all so it doesn't unintentionally appear when
8341 someone does a show_all.
8343 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8345 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8346 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8347 toplevel item. Fixes: NB#62031
8349 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8351 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8352 fix the name of the function in the docs.
8354 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * debian/changelog: Updating.
8362 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * examples/hildon-banner-long-example.c: Adding a test-case for long
8367 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8369 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-color-chooser-dialog.c:
8372 * src/hildon-color-chooser.c:
8373 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8374 memory leaks in font selector and color selector. Fixes: NB#70499 and
8377 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8379 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8381 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8384 little bit bigger. Fixes: #NB63694.
8386 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8392 * debian/changelog: Updating.
8394 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * doc/hildon-docs.sgml:
8398 * doc/images/bread-crumb-trail.png:
8399 * doc/images/calendar-popup.png:
8400 * doc/images/caption.png:
8401 * doc/images/code-dialog.png:
8402 * doc/images/color-button.png:
8403 * doc/images/color-chooser-dialog.png:
8404 * doc/images/color-chooser.png:
8405 * doc/images/controlbar.png:
8406 * doc/images/date-editor.png:
8407 * doc/images/font-selection-dialog.png:
8408 * doc/images/get-password-dialog.png:
8409 * doc/images/hvolumebar.png:
8410 * doc/images/login-dialog.png:
8411 * doc/images/note.png:
8412 * doc/images/number-editor.png:
8413 * doc/images/range-editor.png:
8414 * doc/images/seekbar.png:
8415 * doc/images/set-password-dialog.png:
8416 * doc/images/sort-dialog.png:
8417 * doc/images/time-editor.png:
8418 * doc/images/time-picker.png:
8419 * doc/images/vvolumebar.png:
8420 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8421 Adding the bread-crumb-trial and helpers to the documentation.
8423 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * examples/hildon-find-toolbar-example.c:
8426 * src/hildon-find-toolbar.c:
8427 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8428 actually continue firing the other handlers if connected. Adding a new
8430 hildon_find_toolbar_get_last_index that gets the index of the most
8431 recently added (last) item. Fixes: NB#52301.
8433 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8436 behaviour. Fixes: NB#68610.
8438 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8440 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8443 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8446 when realizing the banner. Should make the infonbanner effect a bit more
8449 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8451 * src/hildon-volumebar.c:
8452 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8453 hildon_volumebar_set_range_insensitive_message and
8454 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8456 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * src/hildon-window.c: Fixing the border freeing on destroy.
8460 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * src/hildon-code-dialog-private.h:
8463 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8464 kw keyboard support in HildonCodeDialog.
8466 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8472 * debian/changelog: Updating.
8474 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * src/hildon-date-editor.c:
8477 * src/hildon-number-editor.c:
8478 * src/hildon-private.c:
8479 * src/hildon-private.h:
8480 * src/hildon-time-editor.c:
8481 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8482 handling in subclassed composite widgets. Fixes: NB#66628.
8484 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8487 from destroy_ callback as it introduces problems in async dbus signal
8488 handlers. Fixes NB#66673.
8490 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * examples/hildon-hvolumebar-example.c:
8493 * src/hildon-volumebar.c: Improving the focus handling in the
8494 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8495 set_property accessor so that "mute" property can be actually set. I'm
8496 scared that nobody noticed it's totally broken.
8498 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8503 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * src/hildon-calendar.c:
8506 * src/hildon-number-editor.c:
8507 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8508 matches the spec of 6 chars per second. Fixes: NB#60489.
8510 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8512 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8513 gtk_style_lookup_color sometime returns FALSE even though color was
8514 found and values were filled properly. Weird. Removing the warning for the
8517 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8520 expand vertically. Adding some extra space to the find toolbar buttons to
8521 make them thumbable. Fixes NB#66060.
8523 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8525 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8526 popup with "Ok" and "Cancel". Fixes NB#59299.
8528 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8530 * src/hildon-calendar.c: Process all window updates before executing next
8531 timeout. Fixes: NB#54146.
8533 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * debian/changelog: Updating.
8541 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8543 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8544 the client event and ignore it, since we use the delete event to close
8547 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8549 * src/hildon-helper.c: Remove the bogus warning about color not being
8550 found. Fixes NB#58352.
8552 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * examples/Makefile.am:
8555 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8556 HildonSeekbar widget inside a toolbar.
8558 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8560 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8561 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8562 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8563 don't want to be closed by non-temporary windows on map.
8565 Also use G_DEFINE_TYPE instead of manually typed code.
8567 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * debian/rules: Updating.
8576 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 * examples/Makefile.am:
8579 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8580 bug NB#61128. Strangely it works.
8582 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-date-editor.c: When the date editor entry has been changed
8585 but the numbers of characters < max, turn off the skip validation flag.
8586 Prevents a situation when we enter first a valid year and later re-write
8587 it with an invalid one. Fixes NB#60154.
8589 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8592 code dialog. Fixes NB#64355.
8594 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8597 switching the page. Fixes NB#49374.
8599 * examples/Makefile.am:
8600 * examples/hildon-wizard-dialog-example.c: Adding an example for
8601 HildonWizardDialog that shows how to handle manual sensitivity setting on
8604 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * src/hildon-version.h.in:
8609 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8611 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * src/hildon-volumebar.c: Updating the docs.
8615 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * debian/changelog: Updating.
8623 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * src/hildon-find-toolbar.c:
8626 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8627 selected item: hildon_find_toolbar_set_active,
8628 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8629 hildon_find_toolbar_get_active_iter . They correspond to respective
8630 GtkComboBox functions.
8632 * examples/Makefile.am:
8633 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8636 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * examples/Makefile.am:
8639 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8642 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8643 when font size > 32 and we pack a focusable widget inside. Actually using
8644 the default response would work too, but since we don't show default
8645 response state in any way (no theming) it would not be visible to the
8646 user. Fixes NB#63430.
8648 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8650 * src/hildon-date-editor.c: Adding the missing variable setter in the
8651 set_property handler. Fixes NB#54182.
8653 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8655 * src/hildon-window.h: Changing the long key press time from 1500ms to
8656 800ms as requested in NB#63700. I have a bad feeling about this, let's
8657 see... Fixes NB#63700.
8659 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8661 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8662 hildon_time_picker_map, hildon_time_picker_realize,
8663 hildon_time_picker_style_set): Split the contents of map to more
8664 appropriate functions; set window decorations on realize and update
8665 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8667 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8672 * debian/changelog: Updating.
8674 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8676 * src/Makefile.am: fixed installation of the header files
8678 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * debian/changelog: Updating.
8686 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * configure.ac: Removing some remaining of --enable-xan.
8690 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8692 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8693 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8695 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8696 2.10.12-osso6 because the move-focus signal needs to be available in
8699 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * examples/Makefile.am:
8702 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8703 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8704 fine. Prolly NB#61128 is fixed now.
8706 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8708 * src/hildon-volumebar.c:
8709 * src/hildon-volumebar.h: Adding the
8710 hildon_volumebar_set_range_insensitive_message and
8711 hildon_volumebar_set_range_insensitive_messagef functions to set
8712 insensitive message on the slider of the volumebar. Fixes NB#61129.
8714 * examples/Makefile.am:
8715 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8716 test the new insensitive messsage functionality on HildonVolumebar.
8718 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8720 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8723 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8725 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8726 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8727 button on after clearing the trail.
8729 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8733 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8735 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8736 by splitting the installed headers in generated and non-generated groups. Use
8737 only the non-generated headers to create the hildon-enum-types.h file.
8739 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8741 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * src/hildon-window.c: Hide the window before performing the destroy.
8744 Should make the app closing a little tiny bit more snappy.
8746 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8748 * src/hildon-seekbar.c: add gtkrange.h header
8749 * src/hildon-caption.c: remove unused variable
8751 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8753 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8756 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * debian/changelog: Updating.
8764 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8766 * src/hildon-window.c (hildon_window_window_state_event,
8767 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8768 escape timeout on focus-out-event rather than notify::is-topmost; the
8769 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8771 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8773 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8774 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8776 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8778 * src/hildon-window: actually, you need to use the macro always, there's
8779 no private pointer in the instance structure. We should have cleaned this up
8780 when we had the chance...
8782 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8784 * src/hildon-window.c: do not get the private date from HildonWindow before
8785 it passes the g_return_if_fail check. Once it's passed the test, there's no
8786 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8787 if you are only going to access the data once. Whitespace cleanups.
8789 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8791 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8792 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8794 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8800 * debian/changelog: Updating.
8802 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8804 * src/hildon-window.c: When destroying the window, remove (if exists) the
8805 escape timeout handler. Fixes #NB59276.
8807 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8809 * src/hildon-banner.c: When realizing the widget, set the window
8810 transiency. Setting the transiency in the gobject constructor is not
8811 good, as the widget is not realized at that point. Fixes: #NB56624.
8813 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8815 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8816 Add padding for future expansions.
8818 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8820 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8821 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8822 will fake an activation on the previous to the last item of the trail, so
8823 the effect can be overrided by the developer as usual.
8824 Also change the callback for the back button to do the same thing, so its
8825 effect can be overrided too. Fixes: NB#58982
8827 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8830 HildonCaption. Fixes NB#52379.
8832 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8834 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8835 the internal state of the trail after the user has had the chance of executing
8836 his handler for the signal. Specifically, it may happen that the activated button
8837 is removed and the user still lets the default handler run. This would segfault
8840 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8843 scrollbar to the preview dialog. Fixes NB#54147.
8845 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8848 max/min year properties can be altered, so the client can modify it
8849 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8851 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8854 hildonlike by default. Fixing a problem with disappearing arrows when
8855 scrolling through months and years. Fixes NB#54127.
8857 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * examples/hildon-date-editor-example.c: Adding error callback to the date
8862 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8868 * configure.ac: Updating.
8870 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8872 * configure.ac: Adding a special '--enable-xan' configure option that
8873 turns off the -Werror compilation setting. Usefull for development.
8875 * src/hildon-calendar.c:
8876 * src/hildon-number-editor.c:
8877 * src/hildon-time-picker.c: Adding the 5* multiplier to
8880 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8882 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8883 instead of g_object_ref + gtk_object_sink.
8885 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * debian/changelog: Updating.
8893 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * src/hildon-color-chooser-dialog.c:
8896 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8897 straight from Tommi labs.
8899 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * examples/hildon-finger-example.c: Correcting the header file path.
8903 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8904 the changed signal. Fixes a small memory leak.
8906 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * src/hildon-banner.c: Importing several usefull fixes from the
8911 ubuntu-mobile branch.
8913 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 * examples/Makefile.am:
8916 * examples/hildon-finger-example.c: Adding a finger-checking code
8919 * src/hildon-font-selection-dialog.c: Do not allocate the color
8920 structure using the g_new. Fixes NB#54061.
8922 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * src/hildon-helper.c: Correcting tabs in file.
8926 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8928 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8929 control the visibility of the children.
8931 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8933 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * debian/changelog: Updating.
8941 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8943 * src/hildon-bread-crumb-trail.c:
8944 (hildon_bread_crumb_trail_size_allocate):
8946 Make the back button always a square.
8948 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8950 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8951 from the .c file as it's a private file.
8953 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8956 uses slightly bigger height.
8958 * src/hildon-font-selection-dialog.c: Adding some checks before
8959 freeing memory in the font selection dialog.
8961 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8963 * src/hildon-font-selection-dialog.c: Adding a small check when
8966 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8967 buttons sensitivity on page switching.
8969 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8971 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8972 internal details of adding a bread crumb to the trail.
8974 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * debian/changelog: Updating.
8982 * src/hildon-bread-crumb-trail.h:
8983 * src/hildon-bread-crumb.h: Changing the API guard to
8984 HILDON_ENABLE_UNSTABLE_API.
8986 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-helper.h: Updating.
8996 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * src/hildon-helper.h: Small fix to make the package actually compile.
9010 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-bread-crumb-trail.h:
9013 * src/hildon-bread-crumb.h:
9015 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9016 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9018 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9020 * examples/hildon-bread-crumb-trail-example.c:
9022 * src/hildon-bread-crumb-trail.c:
9023 * src/hildon-bread-crumb-trail.h:
9024 * src/hildon-bread-crumb.c:
9025 * src/hildon-bread-crumb.h:
9026 * src/hildon-marshalers.list:
9027 * src/hildon-bread-crumb-widget.c:
9028 * src/hildon-bread-crumb-widget.h:
9030 Slight change in the widget design. The bread crumb trail API is
9031 unchanged, but HildonBreadCrumb is now an interface. A *private*
9032 implementation, hildon-bread-crumb-widget, is provided and used
9033 internally by the trail for the push_text/push_icon functions.
9035 The generic push API is still available, so anyone can implement
9036 and use its own bread crumb widget.
9038 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * debian/rules: Fixing the shlibs.
9042 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-banner.c: Fixing a problem with timed banners having
9045 their parrent destroyed before they are.
9047 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9049 * src/hildon-bread-crumb.c:
9050 * src/hildon-bread-crumb.h:
9052 Make the get_natural_size function a vfunc.
9054 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9056 * src/hildon-bread-crumb.c:
9057 * src/hildon-bread-crumb-trail.c:
9061 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * debian/changelog: Updating for release.
9070 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9072 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9073 don't leak the pango layout.
9075 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9078 * examples/hildon-bread-crumb-trail-example.c:
9082 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * debian/changelog: Removing the bug-fixed entries that were actually
9085 resolved as WONTFIX.
9087 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9090 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9092 * src/hildon-bread-crumb-trail.c:
9093 * src/hildon-bread-crumb-trail.h:
9094 * src/hildon-bread-crumb.c:
9095 * src/hildon-bread-crumb.h:
9099 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9101 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9102 until it's passed the type check.
9104 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9106 * examples/hildon-bread-crumb-trail-example.c
9110 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9112 * examples/Makefile.am
9113 * examples/hildon-bread-crumb-trail-example.c
9115 * src/hildon-bread-crumb-trail.c
9116 * src/hildon-bread-crumb-trail.h
9117 * src/hildon-bread-crumb.c
9118 * src/hildon-bread-crumb.h
9120 New HildonBreadCrumbTrail widget.
9122 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9124 * src/hildon-range-editor.c (hildon_range_editor_init),
9125 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9126 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9127 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9128 hildon_time_editor_class_init, hildon_time_editor_init),
9129 src/hildon-get-password-dialog.c (invalid_input,
9130 hildon_get_password_set_property, hildon_get_password_get_property,
9131 create_contents, hildon_get_password_dialog_set_max_characters),
9132 src/hildon-set-password-dialog.c (create_contents),
9133 src/hildon-date-editor.c (hildon_date_editor_init),
9134 src/hildon-login-dialog.c (hildon_login_dialog_init),
9135 src/hildon-number-editor.c (hildon_number_editor_init),
9136 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9137 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9138 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9139 configure option and adding the respective checks in the code.
9140 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9141 hildon_calendar_drag_data_received): fixed some build warnings.
9143 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * debian/changelog: A 1.0.0 release notes.