1 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
3 * src/hildon-animation-actor.c,
4 * src/hildon-remote-texture.c:
5 Added proper object cleanup to remove signal handler and object
6 references as HildonAnimationActor and HildonRemoteTexture
9 Fixes: NB#116682 (Destroying parented animation actors when
10 parent in unmapped leads to crash)
12 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
14 Based on a patch by Christian Dywan (christian@imendio.com)
16 * doc/hildon-sections.txt:
17 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
18 * hildon/hildon-helper.h: New file size formatting method.
20 * debian/control: Depend on osso-filemanager l10n package for
21 proper localization strings.
23 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
25 * tests/Makefile.am: Include top_srcdir to make possible to build
26 tests in a different builddir.
27 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
28 on a different builddir.
30 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
32 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
33 (hildon_touch_selector_remove): Disconnect model's signal handler
36 Fixes: NB#116289 (Hildon home crashes while adding task
39 2009-05-11 Alberto Garcia <agarcia@igalia.com>
41 * hildon/hildon-button.c
42 (hildon_button_set_title, hildon_button_set_value):
43 Hide labels containing an empty string.
45 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
47 * configure.ac: post release version bump
48 * debian/changelog: post release version bump
50 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
55 * configure.ac: Bump version.
56 * debian/changelog: Updates.
58 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
60 * hildon/hildon-note-private.h: Removed sound_signal_handler
61 * hildon/hildon-note.c
62 (on_show_cb): new callback on note "show" event, this simply adds
63 a idle, with the function sound_handling
64 (sound_handling): removed the sound_signal_handler management
65 (hildon_note_init): connect note "show" event to on_show_cb
66 (hildon_note_realize): remove the connection to "expose-event"
68 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
69 device?' confirmation note)
71 2009-05-08 Alberto Garcia <agarcia@igalia.com>
73 * hildon/hildon-note.c
74 (hildon_note_new_information_with_icon_name)
75 (hildon_note_new_confirmation_with_icon_name):
76 Terminate the list of parameters in g_object_set() calls
78 Fixes: NB#115166 (Formatting memory card is not taking place)
80 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
83 "dialog-information" role for the sound being played.
85 2009-05-06 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-app-menu.c (hildon_app_menu_init):
88 Don't make the menu a modal window, it causes strange interactions
89 with the pointer grab and it's not really needed.
91 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
93 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
95 * hildon/hildon-touch-selector.[ch]
96 (hildon_touch_selector_optimal_size_request): function added to get a
97 optimal size request from the touch selector, when you want a dialog to
98 show as much of the selector
99 * hildon/hildon-picker-dialog.c:
100 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
101 (hildon_app_menu_class_init):
102 New "max-height-landscape" and "max-height-portrait" style properties
103 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
104 (hildon_picker_dialog_get_max_height): returns the maximum height using
105 the style properties defined and checking the current portrait/landscape
107 (_hildon_picker_dialog_set_selector): removed the set_size_request
109 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
111 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
113 * hildon/hildon-bread-crumb-trail.c:
114 * hildon/hildon-bread-crumb.c:
115 * hildon/hildon-seekbar.c:
116 Add reference to replacements for these deprecated widgets.
118 Fixes: MB#4461 (Documentation: All deprecations should mention
121 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
123 * examples/hildon-remote-texture-example.c
125 Change the include to the hildon-remote-texture in order to compile
126 properly the examples on the installed libhildon1-examples package
128 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
130 * tests/Makefile.am: Add check for HildonPickerButton.
131 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
132 (START_TEST), (create_hildon_picker_button_suite): Add three simple
133 checks for the HildonPickerButton.
134 * tests/check_test.c (configure_tests): Add the test suite.
135 * tests/test_suites.h: likewise.
137 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
139 * hildon/hildon-touch-selector.c
140 (+on_row_changed): Emit HildonTouchSelector:changed when the
141 contents of a selected row change.
142 (_create_new_column), (_hildon_touch_selector_set_model): connect
143 to GtkTreeModel:row-changed on a newly set model.
145 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
147 2009-05-05 Alberto Garcia <agarcia@igalia.com>
149 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
151 * hildon/hildon-banner.c (hildon_banner_destroy)
152 (hildon_banner_show_progress, hildon_banner_set_fraction):
153 Remove the progress bar from HildonBanner and use a progress
156 Fixes: NB#113761 (Update progress banner to use progress
159 2009-05-04 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-banner.c:
162 Calculate size of the banner label using the actual screen width
163 rather than using a fixed value.
165 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
168 2009-05-04 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c,
171 (hildon_pannable_area_class_init): Fixed signals documentation
174 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
176 * configure.ac: post release version bump
177 * debian/changelog: post release version bump
179 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
184 * configure.ac: Bump version.
185 * debian/changelog: Updates.
187 2009-05-01 Alberto Garcia <agarcia@igalia.com>
189 * hildon/hildon-edit-toolbar.c
190 (hildon_edit_toolbar_init):
191 Don't let buttons in HildonEditToolbar receive focus.
193 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
194 typing on an HW arrows key)
196 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
198 * doc/Makefile.am: Fix build.
200 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
202 * doc/Makefile.am: Do not redefine content_files.
204 2009-04-30 Alberto Garcia <agarcia@igalia.com>
212 Renamed src/ to hildon/
217 Include <hildon/hildon.h> directly in all examples.
219 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
221 * src/hildon-sort-dialog.c
222 (hildon_sort_dialog_add_sort_key_with_sorting)
226 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
228 * src/Makefile.am: Move generated sources to CLEANFILES, so that
229 make distcheck passes.
231 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
233 * Makefile.am: Enable gtk-doc during distcheck.
235 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
237 * Makefile.am: Do not distribute the debian/ directory.
239 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
241 * doc/Makefile.am: Add the extra SGML files to content_files,
242 so that they are distributed properly.
244 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
246 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
249 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
251 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
252 (hildon_note_new_information_with_icon_name): Set the "icon" property
253 to preserve soundness.
255 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
257 * src/hildon-font-selection-dialog.c
258 (hildon_font_selection_dialog_set_property): Fail when the "family"
259 property is set to NULL.
261 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
263 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
266 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
268 * src/hildon-time-selector.h:
269 Added HildonTimeSelectorFormatPolicy
270 * src/hildon-time-selector.c:
271 Added PROP_TIME_FORMAT_POLICY
272 (_check_ampm_format): renamed to check_automatic_ampm_format
273 (update_format_policy), (update_format_dependant_columns): new functions
274 (hildon_time_selector_class_init)
275 (hildon_time_selector_contructor)
276 (hildon_time_selector_init)
277 (hildon_time_selector_get_property)
278 (hildon_time_selector_set_property)
279 (hildon_time_selector_get_time)
280 (hildon_time_selector_set_time)
281 * src/hildon-touch-selector.h: new file
282 * src/hildon-touch-selector.c
283 (hildon_touch_selector_emit_changed)
284 (hildon_touch_selector_block_changed)
285 (hildon_touch_selector_unblock_changed)
286 Added functions to allow to block the emission of the "changed" signal
287 * src/hildon-picker-dialog.c
288 (hildon_picker_dialog_show): call the parent show before the custom code
289 * examples/hildon-time-button-example.c
290 Modified, so now you can configure the time format using the new property
292 Added a new property "time-format-policy" that allow to choose the time
293 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
294 case it uses gconf in order to check if the time selector must use
297 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
300 2009-04-28 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-note.c (hildon_note_init):
303 Label in HildonNote must be left aligned, not centered. This
304 reverts the last commit in HildonNote.
306 Fixes: NB#112933 (text is not left aligned in confirmation dialog
307 is connectivity dialog)
309 2009-04-27 Alberto Garcia <agarcia@igalia.com>
314 * doc/hildon-sections.txt:
315 Added hildon_gtk_window_set_do_not_disturb()
317 2009-04-27 Alberto Garcia <agarcia@igalia.com>
319 * src/hildon-note.c (hildon_note_init): Center label.
321 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
324 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
329 * configure.ac: Bump version.
330 * debian/changelog: Updates.
332 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
334 * src/hildon-note-private.h: Add button-width to the private data.
335 * src/hildon-note.c (+resize_button),
336 (+hildon_note_orientation_update): methods to repack widgets on orientation
338 (screen_size_changed): Call above method for confirmation notes.
339 (hildon_note_realize): Always connect to the "screen-size" changed signal.
340 (hildon_note_rebuild): Store the original width request from buttons.
342 Fixes: NB#109635 (Confirmation notes do not support portrait)
344 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
346 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
347 when it is a progress note.
349 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
351 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
352 in the note, since there are no horizontally arranged contents.
354 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
356 * src/hildon-gtk.c (+set_flag): new generic method to
357 set/delay a flag setting in a window.
358 (hildon_gtk_window_set_progress_indicator):
359 (hildon_gtk_window_set_do_not_disturb),
360 (hildon_gtk_window_set_portrait_flags): use set_flag() to
361 avoid code redundance.
363 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
365 Based on a patch by Alberto Garcia (agarcia@igalia.com)
367 * src/hildon-gtk.c (set_clear_window_flag),
368 (do_set_progress_indicator), (do_set_do_not_disturb),
369 (do_set_portrait_flags),
370 (hildon_gtk_window_set_progress_indicator),
371 (hildon_gtk_window_set_do_not_disturb),
372 (hildon_gtk_window_set_portrait_flags):
373 Allow setting dnd-flag, progress indicator, and portrait flags
374 when the window is not realized.
376 2009-04-24 Alejandro G. Castro <alex@igalia.com>
378 * src/hildon-pannable-area.c,
379 * src/hildon-pannable-area.h: Add the hildon deprecated define to
380 the size request policy function and defines.
382 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
384 * doc/hildon-sections.txt: Add the new API.
385 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
386 method to set the portrait flags.
387 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
389 Fixes: NB#112328 (Adding helpers for setting portrait properties)
391 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
394 to allow using this method with other flags.
395 (hildon_gtk_window_set_progress_indicator): Update accordingly.
396 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
398 2009-04-22 Alberto Garcia <agarcia@igalia.com>
400 * src/hildon-touch-selector.c
401 (hildon_touch_selector_append_text_column):
402 Make the cell renderer use the smallest width possible.
404 Fixes: NB#108470 (Selected items in multiple selection are either
405 having a tick that is cut or not visible at all.)
407 2009-04-22 Alberto Garcia <agarcia@igalia.com>
409 * src/hildon-touch-selector.c
410 (hildon_touch_selector_append_text_column):
413 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
415 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
416 Use g_strdup_printf() instead of a fixed size buffer.
418 2009-04-21 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
421 Close banners when a HildonAppMenu is popped up.
423 Fixes: NB#111027 (Title menu closed immediately if activated when
424 "Invalid e-mail address" banner is shown)
426 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
431 * configure.ac: Bump version.
432 * debian/changelog: Updates.
434 2009-04-20 Alberto Garcia <agarcia@igalia.com>
436 * src/hildon-banner.c (hildon_banner_realize):
437 Mark HildonBanner as supporting portrait mode.
438 Use GDK to set window properties insetad of direct Xlib calls.
440 Fixes: NB#111830 (HildonBanner should be marked as supporting
443 2009-04-20 Alberto Garcia <agarcia@igalia.com>
445 * src/hildon-note.c (hildon_note_rebuild):
446 Hide action area in information notes. Prevents text from being
447 slightly aligned to the left.
449 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
452 2009-04-20 Alberto Garcia <agarcia@igalia.com>
454 Patch by Mox Soini (ext-mox.soini@nokia.com)
456 * src/hildon-banner.c (hildon_banner_create_animation):
457 Use stylus-sized icons in animation banner.
459 Fixes: NB#111206 (stylus sized icon for animation banner)
461 2009-04-20 Alberto Garcia <agarcia@igalia.com>
465 (+hildon_gtk_window_set_do_not_disturb):
466 New API to set the do-not-disturb flag.
468 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
470 2009-04-20 Alberto Garcia <agarcia@igalia.com>
472 * examples/hildon-progress-indicator-example.c: Fix example
474 * src/hildon-gtk.c (set_clear_window_flag)
475 (hildon_gtk_window_set_progress_indicator):
476 Create a generic function for setting flags to a window.
477 Use GDK instead of direct Xlib calls.
479 2009-04-14 Alberto Garcia <agarcia@igalia.com>
481 * src/hildon-button.c (hildon_button_set_arrangement):
482 Due to NB#88126, if one of the labels is too long it will be
483 painted outside the button. The 'value' label is more likely to be
484 the longest one, so we change its packing options in order to
485 truncate it if necessary. As a side effect, the 'title' label will
486 no longer be truncated.
488 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
490 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
495 * configure.ac: Bump version.
496 * debian/changelog: Updates.
498 2009-04-13 Alejandro G. Castro <alex@igalia.com>
500 Deprecation of the hildon_pannable_area_set_size_request_policy
501 API, the only policy properly supported in gtk+ nowadays is the
504 * src/hildon-pannable-area.c,
505 (hildon_pannable_area_size_request): Added a workaround for the
506 size_request to avoid the problems of huge pixmaps in case someone
507 is still using the function.
508 * src/hildon-pannable-area.h: Deprecated the enum with the
511 Fixes: NB#110244 (Problems with the
512 hildon_pannable_area_set_size_request_policy API)
514 2009-04-08 Alejandro G. Castro <alex@igalia.com>
516 * src/hildon-pannable-area.c,
517 (hildon_pannable_area_init),
518 (hildon_pannable_area_size_request),
519 (hildon_pannable_area_style_set),
520 (hildon_pannable_draw_vscroll),
521 (hildon_pannable_draw_hscroll),
522 (hildon_pannable_area_check_scrollbars): Replaced area_width with
523 indicator_width to clarify the use of the attribute.
525 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
530 * configure.ac: Bump version.
531 * debian/changelog: Updates.
533 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
535 * src/hildon-picker-dialog.c
536 * src/hildon-touch-selector.c
537 Reverting the change that tried to avoid the hardcoded height on
538 the picker dialog, as causes problems on the hildon-touch-selector
541 Fixes: NB#110029 (selectors not scrolling to selected value)
543 2009-04-07 Alberto Garcia <agarcia@igalia.com>
545 * src/hildon-touch-selector.c: Fix typos
547 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
549 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
550 Use the event coordinates instead of gdk_window_get_pointer(). Also,
551 request more motions after using it.
553 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
555 * src/hildon-calendar.c (hildon_calendar_expose),
556 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
557 Remove unused variables.
559 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
561 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
564 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
567 Check the return value of gtk_tree_selection_get_selected()
570 2009-04-06 Alberto Garcia <agarcia@igalia.com>
572 * src/hildon-animation-actor.c
573 * src/hildon-button.c
575 * src/hildon-pannable-area.c
576 * src/hildon-picker-button.c
577 * src/hildon-program.c
578 * src/hildon-remote-texture.c
579 * src/hildon-text-view.c
580 * src/hildon-touch-selector.c
581 * src/hildon-window-stack.c
582 * src/hildon-window.c:
583 Add missing 'Since: 2.2' tags.
585 * doc/hildon-sections.txt:
586 Add some missing symbols.
588 * doc/hildon-docs.sgml:
589 New 'Other' section for HildonAnimationActor and
592 2009-04-06 Alberto Garcia <agarcia@igalia.com>
594 Patch by Iván Gómez (igomez@igalia.com)
598 * doc/hildon-docs.sgml
599 * doc/hildon-sections.txt
603 New chapters on using the Hildon library.
604 Updated the general structure of the reference manual.
605 Other minor documentation fixes.
607 * src/hildon-calendar-popup.c
608 * src/hildon-calendar.c
609 * src/hildon-controlbar.c
610 * src/hildon-date-editor.c
611 * src/hildon-dialog.c
612 * src/hildon-hvolumebar.c
613 * src/hildon-number-editor.c
614 * src/hildon-range-editor.c
615 * src/hildon-sort-dialog.c
616 * src/hildon-time-editor.c
617 * src/hildon-time-picker.c
618 * src/hildon-volumebar-range.c
619 * src/hildon-volumebar.c
620 * src/hildon-vvolumebar.c
621 * src/hildon-weekday-picker.c:
622 Add deprecation notes
624 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
625 Document 'horizontal-movement' and 'vertical-movement' signals.
627 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
632 * configure.ac: Bump version.
633 * debian/changelog: Updates.
635 2009-04-06 Alejandro G. Castro <alex@igalia.com>
637 * src/hildon-pannable-area.c,
638 (hildon_pannable_area_class_init): increased the minimum velocity.
639 (hildon_pannable_area_button_release_cb): Updated the
640 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
641 setup. Review the code to control that last event.
643 Fixes: NB#109790 (Releasing finger in pannable area easily causes
646 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
648 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
650 * src/hildon-get-password-dialog.c
651 (hildon_get_password_set_property),
652 (hildon_get_password_get_property), (create_contents):
653 * src/hildon-login-dialog-private.h:
654 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
655 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
656 (hildon_login_dialog_get_password):
657 * src/hildon-set-password-dialog-private.h:
658 * src/hildon-set-password-dialog.c
659 (hildon_set_password_set_property),
660 (hildon_set_password_get_property), (create_contents),
661 (hildon_set_password_response_change),
662 (hildon_set_password_response_set), (hildon_checkbox_toggled):
664 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
665 instead and look more Fremantle style.
667 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
669 2009-04-03 Alberto Garcia <agarcia@igalia.com>
671 * doc/hildon-sections.txt
672 * src/hildon-window-stack.h
673 * src/hildon-window-stack.c
674 (+hildon_window_stack_get_windows):
675 New API to obtain the list of windows on a stack.
677 2009-04-02 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-app-menu.c (hildon_app_menu_popup)
680 (hildon_app_menu_class_init, -hildon_app_menu_show):
681 Remove hildon_app_menu_show() and move all its checks to
682 hildon_app_menu_popup()
684 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
686 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
687 (_hildon_picker_dialog_set_selector): removed call to
688 gtk_widget_set_size_request
689 * src/hildon-touch-selector.c
690 (_create_new_column): change the pannable size request policy
692 Avoid to use a hardcoded height for the hildon picker dialog. In order
693 to get that, we needed to change the hildon pannable size request
695 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
697 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
699 * src/hildon-window.c (hildon_window_map): Check for vbox to be
700 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
703 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
705 * debian/control: Depend on osso-system-lock localization package.
706 * src/hildon-code-dialog.c: Obtain the secu_application_title
707 translation from osso-system-lock.
708 * src/hildon-get-password-dialog.c (create_contents): Do not mark
709 for translation the atk related strings, that's not necessary.
710 * src/hildon-set-password-dialog.c (create_contents): Ditto.
711 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
712 cancel button, it is not required.
714 2009-04-02 Alejandro G. Castro <alex@igalia.com>
716 * src/hildon-pannable-area.c,
717 (hildon_pannable_area_class_init): Modified the default value of
718 the overshooting max speed, we have reduced it.
720 2009-04-02 Alberto Garcia <agarcia@igalia.com>
722 * doc/hildon-sections.txt
723 * src/hildon-window-private.h
724 * src/hildon-window.h
725 * src/hildon-window.c (hildon_window_class_init)
726 (hildon_window_init, hildon_window_finalize)
727 (hildon_window_realize, hildon_window_get_property)
728 (hildon_window_set_property, hildon_window_update_markup)
729 (hildon_window_get_markup, hildon_window_set_markup):
730 New "markup" property and hildon_window_{get,set}_markup() methods.
732 * examples/hildon-stackable-window-example.c (new_window):
733 Update example to use hildon_window_set_markup()
735 Fixes: NB#106375 (Need API to retitle a window with a title
738 2009-04-01 Alejandro G. Castro <alex@igalia.com>
740 * src/hildon-pannable-area.c,
741 (hildon_pannable_area_class_init): Changed the default value of
742 the initial_hint to TRUE.
743 (hildon_pannable_area_initial_effect): Changed the initial effect,
744 not the effect is just the fade-out of the scrollbars.
746 Fixes: NB#107775 (No scrollbars can be seen when several items are
747 available in a dialog)
749 2009-04-01 Alberto Garcia <agarcia@igalia.com>
751 * src/hildon-program.c (hildon_program_update_top_most):
754 Fixes: NB#109179 (Memory leak in Hildon program)
756 2009-04-01 Alberto Garcia <agarcia@igalia.com>
758 * src/hildon-banner.c (-get_current_app_window):
759 Remove unused function.
761 2009-04-01 Alejandro G. Castro <alex@igalia.com>
763 * src/hildon-pannable-area.c: Modified the documentation of the
764 get adjustments functions to explain the problem of using the
766 (hildon_pannable_area_class_init): Improved the explanation about
769 2009-04-01 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-app-menu-private.h
772 * src/hildon-app-menu.c
773 (hildon_app_menu_class_init):
774 Bring back the 'external-border' style property
775 (hildon_app_menu_class_init, hildon_app_menu_init)
776 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
777 Set a fixed width-request for the menu, independent of the number
780 Fixes: NB#94957 (Smoothly opened application menu)
782 2009-03-30 Alberto Garcia <agarcia@igalia.com>
784 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
786 * src/hildon-banner.c
787 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
789 Make sure that the banner is correctly placed the first time it's
791 (hildon_banner_check_position, -check_fullscreen_state):
792 Show the banner in the same place no matter if the window is in
793 fullscreen mode or not.
795 Fixes: NB#107386 (Odd stacking behaviour for information banners)
797 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
799 * src/hildon-touch-selector.c (_default_print_func): reorder
800 concatenation for clarity.
802 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
805 for multicolumn selectors.
807 Fixes: NB#109099 (Memory leak in Hildon touch selector)
809 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
814 * configure.ac: Bump version.
815 * debian/changelog: Updates.
817 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
819 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
822 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
824 * configure.ac: removed libcangerra-gtk dependency
825 * debian/control: removed libcanberra-gtk dependency
826 * src/Makefile.am: removed libcanberra gtk related flags
827 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
828 context, and manage a global canberra context instead
830 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
832 2009-03-26 Alberto Garcia <agarcia@igalia.com>
834 Patch by Daniel Borgmann (danielb@openismus.com)
836 * src/hildon-edit-toolbar.c:
837 Adjust the left padding.
838 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
839 Paint background of the edit toolbar.
841 Fixes: NB#107897 (Patch to make editmodetoolbar background
842 themeable and adjust margin)
844 2009-03-25 Alberto Garcia <agarcia@igalia.com>
846 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
848 * src/hildon-program.c (hildon_program_update_top_most):
849 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
851 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
852 change when the user tasks in/out of an application)
854 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
856 * configure.ac: added libcangerra-gtk dependency
857 * debian/control: added libcanberra-gtk dependency
858 * src/Makefile.am: added libcanberra gtk related flags
859 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
862 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
864 2009-03-25 Alberto Garcia <agarcia@igalia.com>
866 * src/hildon-program.c (hildon_program_remove_window)
867 (hildon_program_add_window): Add checks for the window
868 parameter. Don't decrease the window counter if the window is not
871 2009-03-24 Alejandro G. Castro <alex@igalia.com>
873 * src/hildon-pannable-area.c,
874 (hildon_pannable_area_realize): Fixed position of the event_window
875 in the realize method.
877 2009-03-24 Alberto Garcia <agarcia@igalia.com>
879 * src/hildon-app-menu-private.h
880 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
881 (hildon_app_menu_map, hildon_app_menu_hide_idle)
882 (hildon_app_menu_key_press, hildon_app_menu_init)
883 (hildon_app_menu_finalize):
884 Make sure that all idle functions are removed when the widget is
887 Fixes: NB#107583 (Hildon app menu crashes in various applications)
889 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Bump version.
895 * debian/changelog: Updates.
897 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
900 (+hildon_entry_show_placeholder),
901 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
902 that replace hildon_entry_update_contents().
903 (hildon_entry_set_text),
904 (hildon_entry_set_placeholder),
905 (hildon_entry_focus_in_event),
906 (hildon_entry_focus_out_event): Determine when it is needed
907 either to show or hide the placeholder and call the above methods.
909 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
910 when the placeholder text is already set)
912 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
914 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
915 simple GdkPixbufAnim using the new icons for the banner.
916 (hildon_banner_show_animation): Use the above mentioned method to
917 create the animation widget.
919 Fixes: NB#103564 (Make hildon animation banner use individual
920 image files as the animation)
922 2009-03-24 Alejandro G. Castro <alex@igalia.com>
924 * src/hildon-pannable-area.c,
925 (hildon_pannable_leave_notify_event): Check if the child is NULL
926 to avoid sending the leave.
928 2009-03-24 Alejandro G. Castro <alex@igalia.com>
930 * src/hildon-pannable-area.c,
931 (hildon_pannable_area_class_init),
932 (hildon_pannable_leave_notify_event): Added a handler of the
933 leave-notify-signal to consider when no motion notify before
936 Fixes: NB#107494 (Items stay selected when clicking and moving
937 away when inside pannable area)
939 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
944 * configure.ac: Bump version.
945 * debian/changelog: Updates.
947 2009-03-19 Alejandro G. Castro <alex@igalia.com>
949 Patch by Alberto Garcia (agarcia@igalia.com)
951 * src/hildon-date-button.c,
952 (hildon_date_button_class_init),
953 (hildon_date_button_init): Removed the construct property handling
954 and created a default selector in the init method.
955 * src/hildon-picker-button.c,
956 (hildon_picker_button_class_init): Removed the construct flag of the
959 2009-03-18 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-main.c (hildon_init):
962 Don't allow hildon_init() to be called more than once.
964 Fixes: NB#106607 (hildon_init should issue error message upon
967 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
969 * examples/hildon-pannable-area-touch-list-example.c
970 * examples/hildon-pannagle-area-touch-grid-example.c
971 * examples/hildon-edit-toolbar-example.c
972 * examples/hildon-touch-selector-multi-cells-example.c
973 Removed the call to gtk_rc_parse_string, as it is not required since
976 2009-03-17 Alejandro G. Castro <alex@igalia.com>
978 * src/hildon-pannable-area.c,
979 (hildon_pannable_area_class_init): Modified the default panning
980 threshold of the widget to 6px.
982 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
983 than the threshold value ) within the button is not sending the
986 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
988 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
989 for the treeview in the new column. This way, the touch list will never
992 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
993 be selected manually for the HW keys to work)
995 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
997 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
998 comparison instead of using strcmp(). Fixes a compiler warning as well.
1000 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1002 * doc/hildon-docs.sgml: Do not set the library version in the
1003 document title, use the releaseinfo tag for that purpose instead.
1005 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1008 Do not jump to the first item if the text in the entry is removed.
1010 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1015 * configure.ac: Bump version.
1016 * debian/changelog: Updates.
1018 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1020 * src/hildon-entry.c (hildon_entry_refresh_contents):
1021 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1022 Use "ReversedSecondaryTextColor" for the placeholder text.
1024 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1026 * src/hildon-text-view.c: Fix compilation warning.
1028 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-button.c (hildon_button_class_init): Don't make
1031 "title" and "value" construction properties, to prevent them from
1032 overwriting labels set from derived classes.
1034 * src/hildon-picker-button.c
1035 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1036 (hildon_picker_button_class_init): Make touch-selector a
1037 construction property.
1039 * src/hildon-date-button.c (hildon_date_button_class_init)
1040 (+hildon_date_button_constructed): Add a default date selector if
1043 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1045 * src/hildon-touch-selector.c: Small documentation fixes.
1047 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1049 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1051 * src/hildon-entry.c (hildon_entry_refresh_contents),
1052 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1053 widget name, set the logical color directly instead and a boolean
1054 showing_placeholder instead.
1055 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1056 use the widget name here either.
1058 Fixes: NB#105678 (HildonTextView should use logical colours
1059 instead of setting widget name)
1061 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1063 Patch by Daniel Elster (danielk@openismus.com)
1065 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1066 Add user_data parameter.
1067 (hildon_touch_selector_set_print_func_full): New function akin
1068 hildon_touch_selector_set_print_func() but with support for user
1069 data and a destroy callback.
1070 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1071 to clean up the print function user data.
1072 (hildon_touch_selector_class_init): Install dispose function.
1073 (HildonTouchSelectorPrivate::print_user_data),
1074 (HildonTouchSelectorPrivate::print_destroy_func): New private
1076 (hildon_touch_selector_init): Initialize new private members.
1077 (hildon_touch_selector_get_current_text): Pass along user data
1078 to the print function.
1079 (_default_print_func): Add dummy user_data to parameter list.
1080 * hildon-date-selector.c (_custom_print_func): ditto,
1081 * hildon-time-selector.c (_custom_print_func): ditto,
1082 * hildon-touch-selector-entry.c
1083 (hildon_touch_selector_entry_print_func): ditto.
1085 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1087 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1089 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1091 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1093 * src/hildon-pannable-area.c,
1094 (hildon_pannable_area_init),
1095 (hildon_pannable_area_button_press_cb),
1096 (hildon_pannable_area_motion_notify_cb): We have added code to
1097 handle the leave and enter events when using the motion events.
1099 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1101 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-date-button.c (hildon_date_button_get_date)
1104 (hildon_date_button_set_date): Make sure that the button has a
1107 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1109 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1111 * src/hildon-pannable-area.c,
1112 (hildon_pannable_area_class_init),
1113 (hildon_pannable_area_calculate_velocity): Modify the use of the
1114 force and adapt the value.
1116 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1118 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1119 (hildon_app_menu_class_init): Hide the menu if it receives a
1120 delete-event, but don't destroy it
1122 Fixes: NB#104485 (Not able to address the call when application
1123 menu is opened at background)
1125 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu.c
1128 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1129 Remove the "external-border" style property, let the menu take its
1130 natural size (or the one set by the window manager)
1131 (hildon_app_menu_repack_items):
1132 Don't reshow the menu, avoid flickers.
1134 Partially fixes NB#94957 (Smoothly opened application menu)
1136 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1141 * configure.ac: Bump version.
1142 * debian/changelog: Updates.
1144 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1146 * src/hildon-pannable-area.c,
1147 (hildon_pannable_area_motion_notify_cb): We control that the
1148 direction error margin is used just in case the movement is
1149 allowed in the other direction.
1151 Fixes: NB#105012 (buttons inside a pannable area not getting
1152 release event when dragging/releasing)
1154 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1156 * src/hildon-pannable-area.c,
1157 (hildon_pannable_area_class_init),
1158 (hildon_pannable_area_get_property),
1159 (hildon_pannable_area_set_property),
1160 (hildon_pannable_area_initial_effect),
1161 (hildon_pannable_axis_scroll),
1162 (hildon_pannable_area_button_release_cb): Reviewed the
1163 overshooting effect, now it has its own max
1164 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1165 speed when bouncing.
1167 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: Bump version.
1173 * debian/changelog: Updates.
1175 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1177 * src/hildon-pannable-area.c,
1178 (hildon_pannable_area_class_init): Changed the max speed, now
1179 users can launch the widget very fast. Reduced the default force,
1180 that way it is easier to control the launch speed.
1182 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1184 * src/hildon-pannable-area.c,
1185 (hildon_pannable_area_button_release_cb): Removed this check
1186 because it causes problems when the device is overloaded.
1188 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1191 add a current_text field to store the text entered in the
1192 touch selector entry.
1193 (_clean_current_selection): clean up the current text as well.
1194 (_save_current_selection), (_restore_current_selection):
1195 Save/restore the text in the entry if the selector is a
1196 HildonTouchSelectorEntry.
1198 Fixes: NB#102541 (value entered in the touch selector entry is not
1199 shown when opened for second time)
1201 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1203 * doc/hildon-sections.txt:
1204 * src/hildon-touch-selector-entry.c
1205 (+hildon_touch_selector_entry_get_entry):
1206 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1208 Fixes: NB#104815 (I need accessor to the entry inside
1209 HildonTouchSelectorEntry)
1211 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1214 (hildon_app_menu_class_init):
1215 New "filter-vertical-spacing" style property.
1217 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1219 * src/hildon-find-toolbar.c
1220 (hildon_find_toolbar_emit_close)
1221 (hildon_find_toolbar_emit_invalid_input)
1222 (hildon_find_toolbar_entry_activate):
1223 Use g_signal_emit() instead of g_signal_emit_by_name()
1225 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1227 Patch by Mox Soini (ext-mox.soini@nokia.com)
1229 * tests/TEST-CASES.txt
1230 * tests/check-hildon-banner.c
1231 * tests/check-hildon-note.c
1232 * src/hildon-banner.c
1233 * src/hildon-code-dialog.c
1234 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1235 * src/hildon-time-editor.c
1236 * examples/hildon-lookup-example.c (main):
1237 Replace obsolete icon names with new ones.
1239 * src/hildon-find-toolbar-private.h:
1240 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1241 (-hildon_find_toolbar_emit_search):
1242 Remove find button and change icon of close button.
1244 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1246 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-time-button.c (hildon_time_button_new_step):
1249 Use the "touch-selector" property to set the selector directly
1250 when creating the object.
1252 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1254 Added a new example application that allows tuning the pannable
1255 area and replaced defines with properties in order to simplify the
1256 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1257 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1258 PROP_DIRECTION_ERROR_MARGIN.
1260 * examples/hildon-pannable-area-tuning-example.c: New example
1262 * src/hildon-pannable-area.c,
1263 (hildon_pannable_area_class_init),
1264 (hildon_pannable_area_init),
1265 (hildon_pannable_area_get_property),
1266 (hildon_pannable_area_set_property),
1267 (hildon_pannable_area_launch_fade_timeout),
1268 (hildon_pannable_area_adjust_value_changed),
1269 (hildon_pannable_axis_scroll),
1270 (hildon_pannable_area_motion_notify_cb),
1271 (hildon_pannable_area_scroll_cb),
1272 (hildon_pannable_area_button_release_cb): We have converted some
1273 of the defines that control the widget to properties to simplify
1276 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1278 * src/hildon-app-menu.c (hildon_app_menu_map)
1279 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1280 so it's closed if a new window appears.
1282 Fixes: NB#104485 (Not able to address the call when application
1283 menu is opened at background)
1285 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1288 missing 'break' statement in in 'case' construct to avoid
1291 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-touch-selector-entry.c
1294 (hildon_touch_selector_entry_get_property),
1295 (hildon_touch_selector_entry_set_property): Add missing 'break'
1296 statements in in 'case' constructs to avoid incorrect warnings.
1298 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1300 * src/hildon-time-editor.c
1301 (hildon_time_editor_get_time_separators): Do not crash if
1302 the first label is NULL.
1304 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/hildon-date-selector.c (_month_days): Check for month to be
1307 strictly less than 12, since otherwise we may overrun the array.
1309 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1311 * src/hildon-date-button.c (+hildon_date_button_new_full)
1312 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1313 (hildon_date_button_init): Set the date selector using a
1314 construction property, to make it happen after HildonButton's
1315 "value" property is set.
1317 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1318 current date by default)
1320 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1322 * doc/hildon-sections.txt
1323 * src/hildon-program.c
1324 * src/hildon-stackable-window.c
1325 * src/hildon-window.c:
1326 Documentation updates
1328 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1330 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1331 (hildon_window_stack_new, +hildon_window_stack_set_property)
1332 (+hildon_window_stack_get_property)
1333 (hildon_window_stack_class_init)
1334 (+hildon_window_stack_set_window_group)
1335 (+hildon_window_stack_get_window_group):
1336 Make the window group a construction property.
1338 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1340 * doc/hildon-sections.txt
1341 * src/hildon-stackable-window-private.h
1342 * src/hildon-stackable-window.h
1343 * src/hildon-stackable-window.c
1344 (-hildon_stackable_window_set_app_menu)
1345 (-hildon_stackable_window_get_app_menu)
1346 (-hildon_stackable_window_toggle_menu)
1347 (-hildon_stackable_window_finalize)
1348 (hildon_stackable_window_class_init)
1349 (hildon_stackable_window_init)
1350 * src/hildon-window-private.h
1351 * src/hildon-window.h
1352 * src/hildon-window.c (hildon_window_init)
1353 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1354 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1355 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1356 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1357 Moved all HildonAppMenu code to HildonWindow. The menu does not
1358 require a HildonStackableWindow anymore.
1360 * src/hildon-app-menu.c
1361 * src/hildon-program.c
1362 * examples/hildon-app-menu-example.c (main):
1363 Update examples and documentation to reflect HildonAppMenu
1366 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-remote-texture.c
1369 * src/hildon-animation-actor.c:
1370 Don't include unused private headers.
1372 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-program-private.h
1375 * src/hildon-program.c
1376 (hildon_program_set_common_menu)
1377 (hildon_program_get_common_menu)
1378 (hildon_program_set_common_app_menu)
1379 (hildon_program_get_common_app_menu):
1380 Change common menu pointers from GtkWidget* to GtkMenu* and
1381 HildonAppMenu* to avoid unnecessary casts.
1383 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1385 * src/hildon-window.c (hildon_window_set_main_menu):
1386 Removed incorrect 'Since:' tag
1388 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1390 * src/hildon-pannable-area.c,
1391 (hildon_pannable_area_calculate_velocity): We use now the
1392 RATIO_TOLERANCE here to check the distance, fixed typo in the
1394 (hildon_pannable_area_motion_notify_cb): We have to set the type
1395 and time even if we are not sending the motion.
1397 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1399 * doc/hildon-sections.txt
1400 * src/hildon-app-menu.h
1401 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1402 (+hildon_app_menu_get_filters): New methods to get the contents of
1405 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1408 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-app-menu.c (hildon_app_menu_popup):
1413 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-window.h
1416 * src/hildon-window.c (+hildon_window_get_main_menu)
1417 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1418 and deprecated hildon_window_get_menu().
1420 * src/hildon-stackable-window.h
1421 * src/hildon-stackable-window.c
1422 (+hildon_stackable_window_set_app_menu)
1423 (+hildon_stackable_window_get_app_menu)
1424 (hildon_stackable_window_set_main_menu): Created
1425 hildon_stackable_window_{get,set}_app_menu() and deprecated
1426 hildon_stackable_window_set_main_menu().
1428 * doc/hildon-sections.txt
1429 * examples/hildon-app-menu-example.c (main)
1430 * src/hildon-app-menu.c
1431 * src/hildon-program.c:
1432 Updated examples and documentation.
1434 Fixes: NB#103758 (No way to obtain a menu from a
1435 HildonStackableWindow)
1437 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1442 * configure.ac: Bump version.
1443 * debian/changelog: Updates.
1445 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1447 * examples/hildon-remote-texture-example.c: Include
1448 hildon-remote-texture.h explicitely.
1449 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1450 applications not defining _XOPEN_SOURCE which don't require this header.
1452 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1454 * doc/hildon-sections.txt
1455 * src/hildon-app-menu.h
1456 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1457 New function to pop up a HildonAppMenu
1459 * src/hildon-stackable-window.c
1460 (hildon_stackable_window_toggle_menu):
1461 Use hildon_app_menu_popup() to show the menu.
1463 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-app-menu.c (hildon_app_menu_show)
1466 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1467 menu if there's another window between it and its parent window.
1469 Fixes: NB#100468 (Application menu window is launched even when a
1470 new secondary-window/dialog is pending to be shown/realized)
1472 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-window-stack.c (hildon_window_stack_push)
1475 (hildon_window_stack_pop_and_push):
1476 Don't forget to push/pop the first window.
1477 Reverse the window list before calling _push_list()
1479 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-picker-button.h
1482 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1483 Remove "value_changed" slot to avoid ABI breakage
1485 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1487 * src/hildon-pannable-area.c,
1488 (hildon_pannable_area_realize),
1489 (hildon_pannable_area_unrealize),
1490 (hildon_pannable_draw_vscroll),
1491 (hildon_pannable_draw_hscroll): Changed the method to handle the
1492 GC used to draw the transparent scrollbar, this way we avoid
1493 creating the GC all the time when drawing the scrollbars.
1495 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1497 * src/hildon-pannable-area.c,
1498 (hildon_pannable_area_init),
1499 (hildon_pannable_area_remove): Removed some unnecessary casts.
1500 (hildon_pannable_area_dispose): Disconnected some signals before
1501 releasing the adjustments.
1503 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1506 Make sure that all widgets contained in the toolbar are shown.
1508 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1510 * doc/hildon-sections.txt
1511 * src/hildon-picker-button.h
1512 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1513 (_selection_changed, hildon_picker_button_on_dialog_response)
1514 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1515 New hildon_picker_button_value_changed() method.
1518 * src/hildon-picker-button-private.h
1519 * src/hildon-picker-button.c (hildon_picker_button_init)
1520 (+hildon_picker_button_disable_value_changed): Add protected
1521 function for disabling the "value-changed" signal.
1523 * src/hildon-date-button.c (hildon_date_button_set_date):
1524 Don't emit "value-changed" for each one of the three columns.
1526 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1527 before actual change of values)
1529 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1531 * src/hildon-pannable-area.c,
1532 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1533 for the treeview overshooting.
1535 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1537 * src/hildon-banner.c (+hildon_banner_bind_style):
1538 Renamed from hildon_banner_bind_label_style(), now naming the
1539 banner itself as well.
1540 (hildon_banner_show_information),
1541 (hildon_banner_show_information_with_markup),
1542 (hildon_banner_show_animation), (hildon_banner_show_progress):
1543 Name the widgets and labels, based on their type.
1545 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1548 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-note.c (hildon_note_set_property): call
1551 hildon_note_rename() on HildonNote:note-type set.
1552 (hildon_note_rename): Name the note and its label, based on the
1553 HildonNote:note-type property.
1555 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1558 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1560 * src/hildon-pannable-area.c,
1561 (hildon_pannable_area_class_init),
1562 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1563 panning parameters, increased SPS and deceleration factor. Added
1564 also a margin to control fake directions.
1566 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1568 Patch by Sven Herzberg (sven@imendio.com)
1570 * configure.ac: Add missing AM_PROG_CC_C_0
1571 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1573 See NB#101420 (Update unit tests and fix make check)
1575 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1577 This patch was applied before but reverted because it caused
1578 problems, we have changed the main condition and tested the
1579 regressions we detected before and they work ok. We have done a
1580 complete review of the topmost algorithm in order to get a more
1583 * src/hildon-pannable-area.c,
1584 (hildon_pannable_area_get_topmost): Added a new parameter to
1585 filter the the windows that do not include those events.
1586 (hildon_pannable_area_button_press_cb),
1587 (hildon_pannable_area_button_release_cb),
1588 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1589 topmost function, we have added the new parameter.
1591 Fixes: NB#97458 (Pannable area prevents propagation of button
1594 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1597 if all columns in the selector have an item selected.
1598 (_on_dialog_response): Stop "response" signal emission if there is
1599 any selector column without selected items.
1601 Fixes: NB#101889 (Picker dialog should not close when nothing is
1602 selected in multiple selection list)
1604 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-font-selection-dialog.c
1607 (hildon_font_selection_dialog_class_init),
1608 (hildon_font_selection_dialog_init): Remove the preview
1609 button and dialog, since previewing with default theming is likely
1610 to be overcomplicated. The :preview property has now no effect.
1611 Update documentation blurbs to inform about this.
1613 Fixes: NB#92297 (Preview content is not clearly visible for
1614 default colour text)
1616 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1618 Reviewed the geometry that handles the children size and
1619 scrollbar, now it tries a size and reviews the results depending
1620 on the scrollbars visibility.
1622 * src/hildon-pannable-area.c,
1623 (hildon_pannable_area_realize): Fixed a typo.
1624 (hildon_pannable_area_child_allocate_calculate): Added this
1625 function to calculate the child allocation.
1626 (hildon_pannable_area_size_allocate): Reviewed the allocation
1628 (hildon_pannable_area_check_scrollbars),
1629 (hildon_pannable_area_refresh): Refactored refresh function, this
1630 way we can call the code handling the scrollbars without causing a
1631 size_request, it is interesting in the allocate.
1632 (hildon_pannable_area_init): Replace the callbacks of the
1633 value_changed and changed signals to propertly deal with the
1635 (hildon_pannable_area_grab_notify),
1636 (hildon_pannable_area_initial_effect),
1637 (hildon_pannable_area_launch_fade_timeout),
1638 (hildon_pannable_area_adjust_changed),
1639 (hildon_pannable_area_adjust_value_changed),
1640 (hildon_pannable_area_redraw),
1641 (hildon_pannable_area_button_press_cb),
1642 (hildon_pannable_area_button_release_cb),
1643 (hildon_pannable_area_scroll_cb),
1644 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1645 code and use the new functions adjust_changed and
1646 adjust_value_changed.
1648 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1649 Contact editor dialog)
1651 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1656 * configure.ac: Bump version.
1657 * debian/changelog: Updates.
1659 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1661 * src/hildon-pannable-area.c,
1662 (hildon_pannable_area_get_topmost),
1663 (hildon_pannable_area_button_press_cb),
1664 (hildon_pannable_area_button_release_cb),
1665 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1666 topmost function adding the event mask. We have to try a
1667 differente approach because it is still causing problems (NB#9745,
1670 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-banner.c:
1673 Update the maximum width of timed banners.
1674 (force_to_wrap_truncated): Enforce the maximum text width if the
1677 Fixes: NB#102413 (The text margins (wrapping) in information
1678 banner should be HILDON_MARGIN_TRIPLE)
1680 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1682 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1684 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1685 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1686 bound when calculating the scroll indicator position.
1688 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1689 treat ->lower correctly)
1691 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1694 expose event handling, since it is not necessary to draw the focus
1697 Fixes: NB#102467 (Do not show highlight on the text in
1700 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1703 full height of the toolbar for the button and the label.
1705 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1708 padding before the label and after the button.
1710 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1714 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1715 Add a GtkVSeparator between the button and the back arrow.
1716 Let the button have automatic size.
1717 Set a name to the widget for theming handling.
1719 Fixes: NB#101793 (Make edit toolbar the same height as window
1720 title bar (use title area theming))
1722 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-helper.c (attach_new_color_element): Fix memory
1727 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1729 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1731 * examples/hildon-button-example.c (common_buttons_window): Don't
1734 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1737 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1739 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1741 * src/hildon-gtk.c: Check that the window is realized.
1743 Fixes: NB#102225 (Crash setting the progress indicator to a non
1746 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1749 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1750 instead of modifying the one in the widget style.
1752 Fixes: NB#101043 (Second row of all the command button are
1753 displayed in transparent mode.)
1755 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-date-button.c
1758 * src/hildon-time-button.c: Add gettext macros
1760 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-date-button.c (hildon_date_button_new):
1763 * src/hildon-time-button.c (hildon_time_button_new_step):
1764 Use new logical strings to set the button default title.
1766 Fixes: NB#99915 (Date and Time options are not localised in Date
1769 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1771 * src/hildon-pannable-area.c
1772 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1773 the PANNING_THRESHOLD.
1775 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1777 * src/hildon-pannable-area.c,
1778 (hildon_pannable_area_class_init): Increased the maximum speed.
1779 (hildon_pannable_area_get_property),
1780 (hildon_pannable_area_set_property),
1781 (hildon_pannable_area_timeout): Added a new low friction mode, it
1782 allows the user avoid friction when launching the widget fast
1783 enough. It is interesting to traverse long lists.
1785 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1788 (+hildon_stackable_window_delete_event): Ignore delete events if
1789 the window is not the topmost one.
1791 Fixes: NB#101698 (Back button long press and delete-event handling)
1793 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1797 gtk-dnd-drag-threshold, it was too big. We have defined our own
1798 dnd define and set a smaller value: PANNIG_THRESHOLD.
1800 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1802 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1803 user-defined icons, use always the default one.
1805 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1807 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1809 This patch was applied before but reverted because it caused
1810 problems, we have changed the main condition and tested the
1811 regressions we detected before and they work ok.
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_get_topmost): Added a new parameter to
1815 filter the the windows that do not include those events. Added
1816 also a condition when finding the window to filter windows that do
1817 not ask for those events.
1818 (hildon_pannable_area_button_press_cb),
1819 (hildon_pannable_area_button_release_cb),
1820 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1821 topmost function, we have added the new parameter.
1823 Fixes: NB#97458 (Pannable area prevents propagation of button
1826 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1828 * tests/check-hildon-color-button.c (START_TEST): do not leak
1831 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1833 * src/hildon-font-selection-dialog.c
1834 (hildon_font_selection_dialog_get_preview_text): Return NULL
1835 instead of FALSE on the g_return_val_if_fail().
1837 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1840 * src/hildon-date-selector.c
1841 (hildon_date_selector_select_current_date):
1842 Do not compare unsigned integers to be greater than or equal 0,
1843 because it's always TRUE.
1845 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1848 (hildon_date_selector_constructor): Do not select the current
1849 date until we are handle the "changed" signal, to avoid having bogus
1850 elements in the days model.
1852 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1854 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1855 for num_days, since _month_days() can return a negative value.
1857 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-caption.c (hildon_caption_size_allocate):
1860 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1861 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1863 Initialize allocation variables to 0, to avoid eventually using
1864 unitialized variables.
1866 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1868 * src/hildon-bread-crumb-trail.c
1869 (hildon_bread_crumb_trail_size_allocate):
1870 * src/hildon-calendar.c (hildon_calendar_set_background):
1871 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1872 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1873 * src/hildon-seekbar.c (hildon_seekbar_init):
1874 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1875 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1876 * src/hildon-touch-selector-entry.c
1877 (hildon_touch_selector_get_text_from_model):
1878 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1879 * src/hildon-window.c (hildon_window_finalize):
1881 Remove many unused variables.
1883 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-seekbar.c: (hildon_seekbar_init),
1886 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1888 Remove unnecessary g_assert() calls.
1890 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-caption.c: (hildon_caption_expose),
1893 (hildon_caption_set_property), (hildon_caption_init),
1894 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1895 (hildon_caption_size_request), (hildon_caption_size_allocate),
1896 (hildon_caption_forall), (hildon_caption_set_separator),
1897 (hildon_caption_activate), (hildon_caption_set_child_expand),
1898 (hildon_caption_set_label_text),
1899 (hildon_caption_get_label_alignment):
1901 Remove unnecessary g_assert() calls.
1903 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1905 * src/hildon-banner.c
1906 (hildon_banner_map, hildon_banner_init): Make banner temporary
1907 before mapping it to avoid closing other temporary windows, but
1908 make it non-temporary afterwards to avoid being closed by other
1909 non-temporary windows.
1910 (-hildon_banner_client_event, hildon_banner_init):
1911 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1913 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1916 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1921 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1923 * src/hildon-remote-texture.c
1924 * src/hildon-remote-texture.h
1925 * src/hildon-remote-texture-private.h
1926 * examples/hildon-remote-texture-example.c:
1927 Updates/fixes to remote-texture and its example.
1929 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1931 Patch by Mox Soini (ext-mox.soini@nokia.com)
1933 * src/hildon-code-dialog.c: Update logical id.
1934 * src/hildon-set-password-dialog.c: Update logical id.
1936 Fixes: NB#100646 (Logical strings is shown for ok in set
1937 password,Password needed dialogs)
1939 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1942 * src/hildon-remote-texture.c
1943 * src/hildon-remote-texture.h
1944 * src/hildon-remote-texture-private.h
1946 Added remote texture widget (for Clutter shared memory textures)
1948 * examples/hildon-remote-texture-example.c
1949 * examples/Makefile.am
1950 Added example file for remote texture usage
1952 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: post release version bump.
1955 * debian/changelog: version bump.
1957 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1962 * configure.ac: Bump version.
1963 * debian/changelog: Updates.
1965 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-date-selector.c (hildon_date_selector_init)
1968 (hildon_date_selector_constructor): Don't connect to the "changed"
1969 signal until the selector is completely constructed.
1971 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-touch-selector.c: (_create_new_column),
1974 (hildon_touch_selector_append_column),
1975 (hildon_touch_selector_set_column_selection_mode),
1976 (hildon_touch_selector_set_active),
1977 (hildon_touch_selector_select_iter):
1978 Emit the HildonTouchSelector::changed signal every time selection
1979 is changed in any of the methods above. This behavior was already
1980 documented but not fully functional.
1982 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1983 selection is programmatically changed)
1985 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1987 * doc/hildon-sections.txt: Remove obsolete icon
1988 sizes from here as well.
1990 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1992 * examples/hildon-stackable-window-example.c (add_window): Remove
1995 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1997 * src/hildon-app-menu.c
1998 (hildon_app_menu_show): Check whether the parent window of a menu
1999 is topmost before popping it up.
2001 Fixes: NB#100468 (Application menu window is launched even when a
2002 new secondary-window/dialog is pending to be shown/realized.)
2004 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2006 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2009 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2011 Patch by Mox Soini (ext-mox.soini@nokia.com)
2013 * src/hildon-banner.c: (hildon_banner_show_animation):
2014 use stylus size instead of obsolete note size.
2015 * src/hildon-defines.h: Update icon sizes.
2017 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2019 * src/hildon-touch-selector-entry.c:
2020 (hildon_touch_selector_entry_init): Disable unsupported
2022 (hildon_touch_selector_entry_get_text_column): Emit a warning
2023 if an unsupported input modes is used and explicitile state
2024 these modes in the documentation.
2026 Fixes: NB#99802 (Hildon touch selector entry not working properly
2027 for some of the input modes)
2029 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_init): Added the changed signal handlers of
2035 Fixes: NB#100320 (HildonPannableArea does not listen to
2036 GtkAdjustment "change" signals)
2038 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2040 * doc/hildon-sections.txt
2041 * src/hildon-window-private.h
2042 * src/hildon-window.h
2043 * src/hildon-window.c (hildon_window_init)
2044 (hildon_window_realize, hildon_window_unrealize)
2045 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2046 (hildon_window_size_request, hildon_window_size_allocate)
2047 (hildon_window_forall, hildon_window_show_all)
2048 (hildon_window_destroy, +paint_edit_toolbar)
2049 (+hildon_window_set_edit_toolbar):
2050 New hildon_window_set_edit_toolbar() method, to add a
2051 HildonEditToolbar to a window without having to pack it manually.
2053 Reorganize hildon_window_size_allocate()
2055 * src/hildon-edit-toolbar.c: Update documentation.
2057 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2058 example to use the new API.
2060 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2062 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2065 Remove from stack before calling parent's hide.
2067 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2070 window is removed from the middle of the stack, update the
2071 transiency of the previous one.
2073 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2076 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2078 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2079 block/unblock the signal handler if it's not actually being used.
2080 Fixes some critical warnings.
2082 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2084 Based on a patch by Iván Gómez (igomez@igalia.com)
2086 * src/hildon-banner.c
2090 * src/hildon-pannable-area.c
2091 * src/hildon-picker-dialog.c
2092 * src/hildon-wizard-dialog.h
2093 * src/hildon-wizard-dialog.c: Documentation updates.
2095 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2096 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2098 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2100 * configure.ac: post release version bump.
2101 * debian/changelog: version bump.
2103 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2108 * configure.ac: Bump version.
2109 * debian/changelog: Updates.
2111 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2114 a stock icon nor change the relief of the back arrow.
2116 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2117 graphics from theme)
2119 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-button.c (hildon_button_set_alignment): Use
2122 priv->alignment if the button has no child yet.
2124 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2126 * src/hildon-button.c: (hildon_button_init): Set the
2127 button style during initialization to give it the proper
2130 Fixes: NB#99713 (HildonButton value label color is wrong)
2132 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2134 * src/hildon-touch-selector.c: Document
2135 hildon_touch_selector_center_on_selected()
2137 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2140 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2141 all menu items, but not the menu itself.
2142 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2143 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2144 items after adding them to the menu so keyboard accelerators work.
2145 (hildon_app_menu_show): Don't show the menu if it contains items
2146 but none of them are visible.
2148 * examples/hildon-app-menu-example.c (create_menu): Use
2149 gtk_widget_show_all() to show all menu items.
2151 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-picker-dialog.c:
2154 (-_update_title_on_selector_changed_cb),
2155 (-_dialog_update_title): Removed.
2156 (_select_on_selector_changed_cb), (_on_dialog_response),
2157 (on_selector_columns_changed): Do not update the dialog title.
2158 (setup_interaction_mode): Do not connect to
2159 HildonTouchSelector::changed signal if there's a "done" button, as
2160 the dialog title doesn't need to be updated.
2162 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2165 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2167 Patch by Kristian Rietveld (kris@imendio.com)
2169 * src/hildon-touch-selector.c: (_create_new_column): Use new
2170 GtkTreeView::hildon-row-tapped signal to react to user interactions
2171 instead of ::changed.
2173 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2174 with some dynamic tree model)
2176 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2179 (+screen_size_changed, +label_size_request)
2180 (hildon_note_class_init): Make the Hildon information note have a
2181 minimum height, and make its text hvae a maximum width.
2183 Fixes: NB#98614 (Hildon information note (background) should have
2184 minimum height and maximum text width)
2186 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-banner.h
2189 * src/hildon-banner.c (hildon_banner_show_information)
2190 (hildon_banner_show_informationf)
2191 (hildon_banner_show_information_with_markup): Update documentation
2192 to reflect that the icon_name parameter is not used anymore.
2193 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2194 Remove all code from these functions and mark them as deprecated.
2195 (hildon_banner_show_progress): Mark as deprecated.
2197 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2199 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2201 * src/hildon-pannable-area.c,
2202 (hildon_pannable_area_class_init),
2203 (tranparency_color),
2204 (hildon_pannable_draw_vscroll),
2205 (hildon_pannable_draw_hscroll),
2206 (hildon_pannable_area_expose_event): Added a new way to render the
2207 scrollbars of the pannable area avoiding using cairo at all. This
2208 way we improve the performance of the pannable area rendering. The
2209 cairo rendering procedure is still in the code, we can control
2210 which one to use changing the value of the define
2211 USE_CAIRO_SCROLLBARS.
2213 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2215 * configure.ac: post release version bump.
2216 * debian/changelog: version bump.
2218 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2223 * configure.ac: Bump version.
2224 * debian/changelog: Updates.
2226 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2229 banners instead of destroying them when they receive a button
2232 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2234 Reverted commit 34028, it was causing regressions, probably the
2235 topmost condition is not correct, we have to check it in more
2236 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2237 propagation of button press events)
2239 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2242 that the selection is not empty before attempting to retrieve the
2243 current ampm selection.
2245 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2247 * src/hildon-picker-button.c:
2248 (hildon_picker_button_on_dialog_response): Directly update the
2249 button contents when required instead of calling _selection_changed.
2251 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-program.c (hildon_program_update_top_most): Update
2254 'is-topmost' property also when wm_hints is not set.
2256 Fixes: NB#98383 (is-topmost signal is not emitted when task
2257 switcher is clicked.)
2259 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2261 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2265 * src/hildon-animation-actor.c,
2266 * src/hildon-animation-actor.h: Added the animation actor class,
2267 this widget represents an animation actor for WM-assisted
2268 animation effects in the Hildon framework.
2270 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-window-stack-private.h
2273 * src/hildon-window-stack.c
2274 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2275 Avoid calling gtk_widget_show() again indirectly from
2276 hildon_stackable_window_show()
2278 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2283 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2286 (hildon_time_selector_init): Move the construction of the hours and
2287 ampm columns to the constructor to preserve the order the columns
2290 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-picker-dialog.c:
2293 (hildon_picker_dialog_class_init): Connect a realize method.
2294 (+hildon_picker_dialog_realize): Setup the interaction mode here
2296 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2297 yet, do it during the realize instead.
2298 (_on_dialog_response):
2299 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2300 if the widget is not realized, to avoid the dialog response before it
2303 Avoid premature responses in the HildonPickerDialog that can cause it
2304 to be hidden before it's even shown.
2306 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2309 (on_selector_columns_changed), (requires_done_button),
2310 (+prepare_action_area), (setup_interaction_mode),
2311 (_hildon_picker_dialog_set_selector):
2313 Split the interaction mode setup into preparation of the
2314 action area (prepare_action_area()) and the connection of
2315 the signals in setup_interaction_mode() and update the code to
2318 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2320 * src/hildon-pannable-area.c,
2321 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2322 per second to 15, we will check if this is ok regarding
2325 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2327 * src/hildon-pannable-area.c,
2328 (hildon_pannable_axis_scroll): Avoid resize if we already have
2329 reached overshoot_max.
2331 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_init),
2335 (hildon_pannable_area_realize),
2336 (hildon_pannable_area_size_allocate),
2337 (hildon_pannable_area_map),
2338 (hildon_pannable_area_unmap),
2339 (hildon_pannable_draw_vscroll),
2340 (hildon_pannable_draw_hscroll),
2341 (hildon_pannable_area_expose_event),
2342 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2343 pannable are to avoid the expose events go to the window and
2344 redraw the window. We save this way that part of the stack and the
2345 paint_boxes. We had to change the positions of the elements when
2348 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2350 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2351 * src/hildon-color-chooser-dialog.c:
2352 (hildon_color_chooser_dialog_init):
2353 * src/hildon-font-selection-dialog.c:
2354 (hildon_font_selection_dialog_init),
2355 (hildon_font_selection_dialog_show_preview):
2356 * src/hildon-get-password-dialog.c:
2357 * src/hildon-login-dialog.c:
2358 * src/hildon-set-password-dialog.c:
2359 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2360 * src/hildon-time-picker.c: (hildon_time_picker_init):
2362 Remove obsolete logical string IDs and update to the appropriate ones.
2364 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2366 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2369 that happens if the window hasn't been realized yet.
2371 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2372 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2374 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2377 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2380 Fixes: NB#98537 (Device hangs in account settings dialog)
2382 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2384 * configure.ac: post release version bump.
2385 * debian/changelog: version bump
2387 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: Bump version.
2393 * debian/changelog: Updates.
2395 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2397 Added a new function to the HildonTimeButton widget that allows to
2398 change the step of the minutes in the selector associated with the
2399 button: hildon_time_button_new_step
2401 * src/hildon-time-button.c,
2402 (hildon_time_button_init),
2403 (hildon_time_button_new),
2404 (hildon_time_button_new_step):
2405 * src/hildon-time-button.h: Added the new function and refactored
2407 * examples/hildon-time-button-example.c,
2408 (main): We have replaced the function without parameters with the
2409 function with the steps set to 5
2411 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2413 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2415 * src/hildon-time-selector.c,
2416 (hildon_time_selector_class_init),
2417 (hildon_time_selector_constructor),
2418 (hildon_time_selector_get_property),
2419 (hildon_time_selector_set_property),
2420 (_create_minutes_model),
2421 (hildon_time_selector_new_step),
2422 (hildon_time_selector_set_time),
2423 * src/hildon-time-selector.h: Added a new property to the
2424 HildonTimeSelector (minutes-step), we use that property to control
2425 the steps between the minutes in the list of the selector. We have
2426 added a new function to the API to create a widget changing the
2427 step: hildon_time_selector_new_step.
2429 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2431 * src/hildon-time-selector.c,
2432 (hildon_time_selector_class_init),
2433 (hildon_time_selector_constructor),
2434 (hildon_time_selector_init): Overrided the construct function when
2435 creating the time selector object. We have moved the minutes model
2436 handling code from the init to the new construction function:
2437 hildon_time_selector_constructor.
2439 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2441 * examples/hildon-date-button-example.c: (main): Use the new
2442 hildon_date_button_new_with_year_range() method in the example.
2443 * src/hildon-date-button.c:
2444 (+hildon_date_button_new_with_year_range): New public method
2445 to conveniently create a HildonDateButton with a custom year range
2446 in its HildonDateSelector.
2447 * src/hildon-date-button.h: Add the new public method definition.
2449 Fixes: NB#97908 (Not possible to change the year range in
2450 HildonDateSelector/HildonDateButton)
2452 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-date-selector.c:
2455 (+hildon_date_selector_set_property),
2456 (+hildon_date_selector_get_property),
2457 (hildon_date_selector_class_init): Install new properties "min-year"
2458 and "max-year" to define boundaries for the year column.
2459 (_create_year_model): Use the boundary properties to populate the model.
2460 (+hildon_date_selector_new_with_year_range): New public method to
2461 create a HildonDateSelector with a user defined year range.
2462 (hildon_date_selector_select_current_date): Use the new boundaries to
2463 calculate the iterator of current year.
2464 * src/hildon-date-selector.h: Add the new public method definition.
2466 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2468 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2469 Install a constructor method.
2470 (+hildon_date_selector_construct_ui): construct the widget.
2471 (+hildon_date_selector_constructor): new constructor.
2472 (+hildon_date_selector_init): move out widget construction code to
2473 the new constructor.
2475 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2478 that there's actually a month or year selected before obtaining them.
2479 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2480 of the HildonTouchSelector::changed signal, as it was emitted on every
2481 single item selection.
2483 Fix some warnings and possible crashers due to the selection restoring.
2485 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2487 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2488 the signal handlers only after creating the dialog instead of on every
2491 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-button.c (hildon_button_init)
2494 * src/hildon-check-button.c (hildon_check_button_init)
2495 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2496 focus when clicked by default.
2498 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2503 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2505 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2506 Alejandro G. Castro (alex@igalia.com)
2508 * src/hildon-picker-dialog.c:
2509 (hildon_picker_dialog_class_init): install new "center-on-show"
2511 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2512 (hildon_picker_dialog_set_property): add setter code for the new
2514 (hildon_picker_dialog_get_property): add getter code for the new
2516 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2517 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2520 Fixes: NB#92849 (Selected item is not always visible when
2521 HildonTouchSelector is shown)
2523 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2525 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2526 Alejandro G. Castro (alex@igalia.com)
2528 * src/hildon-touch-selector.c:
2529 (_create_new_column): Do not connect to the "realize" signal of the
2531 (hildon_touch_selector_append_column): center on the selected items
2532 when a new column is appended.
2533 (hildon_touch_selector_select_iter): Factor out the code to select a
2534 column to hildon_touch_selector_scroll_to().
2535 (+search_nearest_element): Method to retrieve the nearest selected
2536 element to the visible area of the pannable area in a column.
2537 (+on_realize_cb): scroll to the initially selected item.
2538 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2539 the pannable area is realized, otherwise delay this until it is.
2540 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2541 selected items of a given column.
2542 (+hildon_touch_selector_center_on_selected): Public method to center
2543 all columns on the nearest selected item.
2544 * src/hildon-touch-selector.h: Add definition for
2545 hildon_touch_selector_center_on_selected().
2547 Implement public API to ensure visibility of all selected items in
2548 a HildonTouchSelector.
2550 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2552 Fixed a problem in the fading when calling the scroll_to API, and
2553 improve scrollbar fading handling.
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_grab_notify): avoid the timeout when the
2558 (hildon_pannable_area_button_press_cb),
2559 (hildon_pannable_area_motion_notify_cb): Code style changes.
2560 (hildon_pannable_area_button_release_cb): Review the conditions
2561 when releasing the mouse button to avoid unrequired fading
2563 (hildon_pannable_area_scroll_to): Do not calculate and set the
2564 velocity if the scroll is not required.
2566 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2569 Don't check whether the new selector is NULL: it cannot be.
2570 Hold a reference to the selector while doing the replacement.
2572 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2575 unnecessary size_request in a removed widget.
2577 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2580 an unnecessary reference tracking that was leaking.
2582 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2584 Added delayed motion notify event handling, this way we can
2585 discard redrawing if more than 25 events arrive per second.
2587 * src/hildon-pannable-area.c,
2588 (hildon_pannable_area_init): Initialized the new private atributes
2589 controlling this timeout
2590 (hildon_pannable_area_dispose): Remove the timeout that controls
2591 the motion notify events.
2592 (hildon_pannable_area_scroll): Added a condition to control the
2593 use of the acceleration.
2594 (hildon_pannable_area_motion_event_scroll_timeout),
2595 (hildon_pannable_area_motion_event_scroll): Added this two
2596 functions, they handle the motion notify events inside the
2598 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2599 to the scroll method with the new function.
2600 (hildon_pannable_area_button_release_cb): We have to remove the
2601 timeout handler and move to the last position if the last motion
2602 events were not handled.
2604 Fixes: NB#97028 (Pannable area updates on every motion event)
2606 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2608 * src/hildon-pannable-area.c,
2609 (hildon_pannable_area_get_topmost): Added a new parameter to
2610 filter the the windows that do not include those events. Added
2611 also a condition when finding the window to filter windows that do
2612 not ask for those events.
2613 (hildon_pannable_area_button_press_cb),
2614 (hildon_pannable_area_button_release_cb),
2615 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2616 topmost function, we have added the new parameter.
2618 Fixes: NB#97458 (Pannable area prevents propagation of button
2621 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2623 * src/hildon-pannable-area.c,
2624 (hildon_pannable_area_initial_effect): Added controls before
2625 launching the timeout and the idle functions.
2626 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2627 of the method, in some situations it can return with TRUE and 0 in
2629 (hildon_pannable_area_button_press_cb): We do not need to set
2630 DELAY for fading out here.
2632 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2634 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2637 post-cleaning if the selection is not NULL.
2639 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2642 all items before restoring the selection.
2644 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-touch-selector.c:
2647 (+hildon_touch_selector_unselect_all):
2648 * src/hildon-touch-selector.h: New API to unselect all items in a
2649 column of the touch selector.
2651 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2653 * src/hildon-pannable-area.c,
2654 (hildon_pannable_area_redraw): Added a call to the refresh
2655 function inside the redraw because apparently in some cases the
2656 change in the adjustment does not imply a size allocate.
2658 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2659 despite the view not being scrollable)
2661 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2664 leak. Check for NULL before attempting to set the window title.
2666 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2669 whether to show or not the 'Done' button each time the dialog is
2670 shown, as it depends on the HildonTouchSelector selection mode.
2672 Fixes: NB#96226 (In multiple selection mode Done button is shown
2673 sometimes in listpicker)
2675 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2678 for the number of columns in the HildonTouchSelector more than once.
2680 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-touch-selector.c: Minor documentation fixes.
2684 * src/hildon-picker-dialog.c (+_dialog_update_title)
2685 (_select_on_selector_changed_cb)
2686 (_update_title_on_selector_changed_cb)
2687 (on_selector_columns_changed): Update dialog title when there's no
2688 'Done' button and also when the number of columns in the selector
2692 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2693 (+_selection_changed, hildon_picker_button_on_dialog_response)
2694 (hildon_picker_button_selector_selection_changed)
2695 (+hildon_picker_button_selector_columns_changed)
2696 (hildon_picker_button_set_selector): Update button value and emit
2697 'value-changed' when the number of columns in the selector
2701 Fixes: NB#96225 (Dialog titles are not shown according to the
2702 values selected in the list picker)
2704 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2707 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2708 New "arrow-width" and "arrow-height" style properties to set the
2709 size of the arrow button.
2710 Set name of arrow button ("hildon-edit-toolbar-arrow").
2712 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2713 graphics from theme)
2715 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-picker-button.c:
2718 (hildon_picker_button_selector_selection_changed): Use
2719 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2720 the dialog is present.
2722 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2723 the selection is accepted in the dialog)
2725 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-color-chooser.h
2728 * src/hildon-color-chooser-dialog.h:
2729 Added G_BEGIN_DECLS and G_END_DECLS
2731 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2733 (_clean_current_selection): plug a leak in the list.
2735 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2737 * src/hildon-picker-dialog.c:
2738 (+free_path_list): Method to free a GList of GtkTreePaths.
2739 (_clean_current_selection), (_save_current_selection),
2740 (_restore_current_selection): Save the current selection in
2741 as a list of lists, to support multiple selection properly.
2743 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2745 patch by Claudio Saavedra (csaavedra@igalia.com)
2747 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2748 Store the press position.
2749 (+hildon_text_view_button_release_event): If the release position is
2750 close enough to the press position, move the cursor here. Otherwise,
2752 (hildon_text_view_class_init): Override GtkTextView press, release, and
2753 motion event handlers, disabling this way text selection through
2754 pointer interaction, and allowing the container widget to handle the
2757 Fixes: NB#95828 (HildonTextView functionality)
2759 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2761 Based on a patch by Iván Gómez (igomez@igalia.com)
2763 * src/hildon-button.[ch]
2764 * src/hildon-calendar.c
2765 * src/hildon-check-button.c
2766 * src/hildon-date-editor.c
2767 * src/hildon-date-selector.c
2768 * src/hildon-picker-button.c
2769 * src/hildon-time-editor.c
2770 * src/hildon-time-selector.c
2771 * src/hildon-touch-selector.[ch]:
2772 Documentation updates
2774 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2776 * src/hildon-pannable-area.c,
2777 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2778 threshold, it was required due to X events handling.
2780 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2782 * src/hildon-pannable-area.c,
2783 (hildon_pannable_area_grab_notify),
2784 (hildon_pannable_area_initial_effect),
2785 (hildon_pannable_area_button_press_cb),
2786 (hildon_pannable_area_button_release_cb),
2787 (hildon_pannable_area_scroll_cb),
2788 (hildon_pannable_area_scroll_to): Review the timeout management of
2789 the scrollbar, the frecuency was incorrectly set.
2791 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/hildon-picker-button.c:
2794 (+hildon_picker_button_on_dialog_response),
2795 (hildon_picker_button_clicked): Present the dialog instead of
2796 running it with gtk_dialog_run().
2798 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2801 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2804 (hildon_app_menu_finalize): When a window is hidden it doesn't
2805 emit notify::is-topmost, so make sure than the menu also
2806 disappears in that case.
2807 (parent_window_topmost_notify): Renamed from parent_window_hidden
2809 Fixes: NB#94460 (stackable window's menu is not closed when its
2812 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2814 * src/hildon-touch-selector-entry.c:
2815 (+hildon_touch_selector_entry_set_input_mode),
2816 (+hildon_touch_selector_entry_get_input_mode):
2817 * src/hildon-touch-selector-entry.h: New methods to access the input
2818 mode in the selector's entry.
2820 Fixes: NB#93410 (API required for setting IM mode in
2821 HildonTouchSelectorEntry)
2823 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2825 * configure.ac: post release version bump.
2826 * debian/changelog: version bump
2828 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2833 * configure.ac: Bump version.
2834 * debian/changelog: Updates.
2836 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-touch-selector.c:
2839 (_hildon_touch_selector_has_multiple_selection): No need
2840 to initialize the variables here.
2842 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2844 * src/hildon-note-private.h
2845 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2846 (hildon_note_finalize, hildon_note_rebuild): Close information
2847 notes when they receive a button press.
2849 Fixes: NB#89890 (Information notes does not get disappeared after
2852 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2855 mark from the wizard title, as it's not really necessary. Also,
2856 do not display the page title if not set.
2858 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2861 (parent_window_hidden): Use the window's "is-topmost" property to
2862 detect when to hide the menu.
2864 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2867 (hildon_app_menu_finalize): If the parent window of the menu is
2868 hidden, hide the menu too.
2870 Fixes: NB#94460 (stackable window's menu is not closed when its
2873 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2876 * debian/libhildon1-examples.install
2878 * examples/Makefile.am:
2879 Use dh_install to install all examples.
2880 Use DEB_SRCDIR instead of defining SOURCE_DIR
2882 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2884 * configure.ac: post release version bump.
2885 * debian/changelog: version bump
2887 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2892 * configure.ac: bump version
2893 * debian/changelog: updates
2894 * debian/control: bump gtk+ dependency
2896 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2898 patch by Christian Dywan (christian@imendio.com)
2900 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2901 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2903 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-check-button.c (hildon_check_button_init)
2906 (hildon_check_button_class_init, hildon_check_button_style_set)
2907 (hildon_check_button_apply_style):
2908 New "checkbox-size" style property.
2910 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2911 larger / configurable size)
2913 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2915 * configure.ac: post release version bump.
2916 * debian/changelog: version bump
2918 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2923 * configure.ac: bump version
2924 * debian/changelog: updates
2926 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2928 * doc/hildon-sections.txt
2929 * src/hildon-pannable-area.c
2930 * src/hildon-program.c
2931 * src/hildon-time-editor.c
2932 * src/hildon-touch-selector-entry.c:
2934 More documentation updates.
2936 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2938 * doc/hildon-sections.txt
2939 * src/hildon-caption.c
2940 * src/hildon-code-dialog.c
2941 * src/hildon-color-button.c
2942 * src/hildon-controlbar.c
2943 * src/hildon-date-editor.c
2944 * src/hildon-date-selector.c
2945 * src/hildon-edit-toolbar.c
2946 * src/hildon-find-toolbar.c
2947 * src/hildon-font-selection-dialog.c
2949 * src/hildon-program.c
2950 * src/hildon-range-editor.c
2951 * src/hildon-seekbar.c
2952 * src/hildon-time-editor.c
2953 * src/hildon-time-selector.c
2954 * src/hildon-volumebar-range.c
2955 * src/hildon-volumebar.c
2956 * src/hildon-vvolumebar.c
2957 * src/hildon-weekday-picker.c
2958 * src/hildon-window.c
2959 * src/hildon-wizard-dialog.c:
2961 Lots of documentation fixes.
2963 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2965 Patch contributed by Iván Gómez (igomez@igalia.com)
2967 * src/hildon-check-button.c:
2968 * src/hildon-date-button.c:
2969 * src/hildon-date-selector.c:
2970 * src/hildon-dialog.c:
2971 * src/hildon-edit-toolbar.c:
2972 * src/hildon-entry.c:
2973 * src/hildon-picker-button.c:
2974 * src/hildon-program.c:
2975 * src/hildon-text-view.c:
2976 * src/hildon-time-button.c:
2977 * src/hildon-touch-selector-entry.c:
2978 * src/hildon-window-stack.c:
2980 Add more "since" tags to the new API.
2982 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2984 * doc/hildon-sections.txt: Add below method.
2985 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2986 version for the hildonized scale.
2987 * src/hildon-gtk.h: Add the definition.
2989 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2991 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2993 * doc/hildon-sections.txt: Add missing entries for new methods.
2995 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2997 Added API to pannable are in order to get its adjustments. We
2998 added two properties to manage the values we had in the private
3001 * src/hildon-pannable-area.c:
3002 (hildon_pannable_area_class_init): Added hadjustment and
3003 vadjustment properties in order to expose horizontal and vertical
3005 (hildon_pannable_area_get_property),
3006 (hildon_pannable_area_set_property): Added code to handle the new
3008 (hildon_pannable_area_get_hadjustment),
3009 (hildon_pannable_area_get_vadjustment): API functions to get the
3011 * src/hildon-pannable-area.h:
3012 (hildon_pannable_area_get_hadjustment),
3013 (hildon_pannable_area_get_vadjustment): API functions to get the
3016 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3018 Fixed some leaks, after valgrinding.
3020 * src/hildon-touch-selector.c:
3021 (_default_print_func): Fixed a leak.
3022 (hildon_touch_selector_append_column): Fixed a leak.
3023 * src/hildon-date-button.c:
3024 (hildon_date_button_init): Fixed a leak.
3025 * src/hildon-date-selector.c
3026 (hildon_date_selector_finalize): Fixed a leak.
3028 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3030 Based on a patch by Christian Dywan (christian@imendio.com)
3032 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3034 * src/hildon-gtk.h: Add definition.
3036 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3038 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-picker-button.c: (hildon_picker_button_init),
3041 (hildon_picker_button_new): Set the HildonButton::style property
3042 in the init method, to propagate the value to the derived classes.
3044 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-button.c: (hildon_button_class_init): Do not make
3047 the "style" property a construct property.
3049 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-wizard-dialog.h
3052 * src/hildon-wizard-dialog.c
3053 (hildon_wizard_dialog_set_forward_page_func)
3054 * src/hildon-pannable-area.h
3055 * src/hildon-pannable-area.c
3056 (hildon_pannable_area_set_size_request_policy):
3057 Documentation fixes.
3059 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3061 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3063 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3065 * doc/hildon-sections.txt: Added sections file.
3067 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/*.[ch]: Updates.
3072 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3074 * examples/hildon-progress-indicator-example.c: new file
3075 * examples/Makefile.am: include the new example program
3077 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3081 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3083 * configure.ac: post release version bump
3084 * debian/changelog: version bump
3086 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3091 * configure.ac: bump version
3092 * debian/changelog: updates
3093 * debian/control: bump gtk+ dependency
3095 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-dialog.c: Mark as deprecated.
3098 * src/hildon-dialog.h: Mark as deprecated.
3099 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3100 from HildonDialog and still work, even if
3101 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3102 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3104 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3105 maemo changes) instead)
3107 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3109 * src/hildon-pannable_area.h:
3110 * src/hildon-pannable_area.c:
3111 (hildon_pannable_area_class_init),
3112 (hildon_pannable_area_set_property),
3113 (hildon_pannable_area_get_property),
3114 (hildon_pannable_area_size_request),
3115 (hildon_pannable_area_get_size_request_policy),
3116 (hildon_pannable_area_set_size_request_policy): Added new API
3117 allowing applications to control the request policy. Now they can
3118 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3119 children allocation (HILDON_MOVEMENT_CHILDREN).
3121 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3125 (hildon_gtk_tree_view_set_ui_mode)
3126 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3127 mode of treeviews and iconviews.
3129 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-touch-selector-entry.c:
3132 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3133 of a GtkEntry to get proper theming.
3135 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3136 widget, not GtkEntry)
3138 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3140 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3141 no HildonWizardDialogPageFunc.
3143 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3145 Patch contributed by Iván Gómez (igomez@igalia.com)
3147 * src/hildon-app-menu.c:
3148 * src/hildon-button.c:
3149 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3150 * src/hildon-stackable-window.c:
3151 * src/hildon-time-selector.c:
3152 * src/hildon-touch-selector.c:
3153 * src/hildon-window.c:
3155 Add more "since" tags to the new API in hildon 2.2.
3157 2008-12-05 Tim Janik <timj@imendio.com>
3159 Patch contributed by Christian Dywan (christian@imendio.com)
3161 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3162 HildonSizeType, which are supplied by Gtk+ now.
3164 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3166 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3167 (with maemo changes) instead)
3169 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3171 Patch contributed by Iván Gómez (igomez@igalia.com)
3173 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3176 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3178 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3179 (some_page_func), (main): Update the example to use a
3180 HildonWizardDialogPageFunc function.
3182 * src/hildon-wizard-dialog-private.h: Add private data for
3183 the HildonWizardDialogPageFunc function usage.
3185 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3186 (destroy), (hildon_wizard_dialog_init), (response),
3187 (hildon_wizard_dialog_set_forward_page_func):
3188 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3189 that applications can use to stop a HildonWizardDialog to jump to
3192 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3195 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-program.h
3198 * src/hildon-program-private.h
3199 * src/hildon-program.c (hildon_program_init)
3200 (hildon_program_set_common_app_menu)
3201 (hildon_program_get_common_app_menu):
3202 New API for setting a common HildonAppMenu for all
3203 HildonStackableWindows registered with the HildonProgram.
3205 * src/hildon-stackable-window.c
3206 (hildon_stackable_window_toggle_menu):
3207 Use the common HildonAppMenu if a window doesn't have a specific
3210 * src/hildon-app-menu-private.h
3211 * src/hildon-app-menu.c
3212 (hildon_app_menu_get_parent_window):
3213 Function to obtain the window a HildonAppMenu is attached to.
3214 (hildon_app_menu_set_parent_window):
3215 Hide the menu if the parent window is set to NULL.
3217 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3219 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3220 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3221 search widget to popup.
3223 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3225 * configure.ac: post release version bump
3226 * debian/changelog: version bump
3228 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: bump version
3234 * debian/changelog: updates
3236 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3238 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3240 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3241 (hildon_window_stack_window_realized)
3242 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3243 Set the leader GdkWindow when a window is stacked and realized,
3244 unset it when it's unstacked.
3245 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3247 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3249 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-stackable-window.h
3252 * src/hildon-window-stack.h:
3253 Protect definition of HildonWindowStack using the preprocessor.
3255 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3258 Fix warning if all menu items are hidden.
3260 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3262 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3264 * src/hildon-controlbar.c:
3265 * src/hildon-hvolumebar.c:
3266 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3267 Multiple scale size defines updates.
3269 Fixes: NB#94322 (Scale Updates)
3271 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3273 * examples/hildon-app-menu-example.c (create_menu)
3274 Show items after adding them to the menu, as in the future the
3275 menu will no longer call gtk_widget_show() on the added items.
3277 * src/hildon-app-menu.c:
3278 Update example as explained above.
3280 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-app-menu.c
3283 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3284 Make sure that all menu items have finger height.
3286 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3288 * src/hildon-picker-dialog.c:
3289 (_on_dialog_response), (_save_current_selection),
3290 (_restore_current_selection), (_clean_current_selection),
3291 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3292 Defined new functions in order to save the current internal selector
3293 selection previous open the dialog, in case that the use cancel the
3294 interaction, so the widget restores the previous selection.
3296 Fixes: NB#92032 (In calendar application, date values in 'new event'
3299 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3301 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-button.c: Add a reference to the button examples in
3304 hildon-button-example.c
3306 * examples/hildon-button-example.c: Added examples of the most
3307 common button layouts.
3309 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3311 * src/hildon-app-menu.c (hildon_app_menu_show)
3312 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3314 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3316 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-picker-dialog.c:
3319 (hildon_picker_dialog_init): Initialize the signal id for
3320 HildonTouchSelector::columns-changed.
3321 (+on_selector_columns_changed): Set up the interaction mode everytime a
3322 column is added or removed from the HildonTouchSelector.
3323 (_hildon_picker_dialog_set_selector): Connect to
3324 HildonTouchSelector::columns-changed and keep track of it.
3326 Make sure to update the interaction mode of the dialog everytime a
3327 column is added or removed in the HildonTouchSelector.
3329 Fixes: NB#93228 (Done button is not shown always in listpicker)
3331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3334 a new ::columns-changed signal.
3335 (hildon_touch_selector_append_column): Emit ::columns-changed.
3336 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3338 Add a ::columns-changed signal, emitted when the number of columns in a
3339 HildonTouchSelector changes.
3341 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3344 (_hildon_picker_dialog_set_selector): Factor out the code
3345 to set up the dialog interaction mode.
3347 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3350 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3351 to signal_changed_id.
3353 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3358 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3360 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3361 Updated the logical ids related to ampm format, as now it is required to
3362 show it correctly localized even on languages with no default
3363 abbreviations for am or pm
3364 (_check_am_pm_format): check correctly the 24h format gconf property
3366 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3368 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3370 * src/hildon-button.c: Documentation updates.
3372 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3375 * src/hildon-caption.c: (hildon_caption_class_init):
3376 * src/hildon-color-button.c: (hildon_color_button_class_init):
3377 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3378 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3379 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3380 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3382 Remove deprecated GTK+ marshalers and replace them with the ones
3383 provided by GLib, for those available, add a marshaler for
3384 BOOLEAN:VOID, which is not available in GLib, and use it.
3386 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3389 the text from the previous column if there is no
3390 HildonTouchSelectorColumn::text-property set.
3392 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-button.h
3395 * src/hildon-button.c (hildon_button_set_property)
3396 (hildon_button_get_property, hildon_button_class_init)
3397 (hildon_button_set_style, hildon_button_get_style):
3398 New "style" property to change the visual appearance of the
3401 * src/hildon-picker-button.c (hildon_picker_button_new):
3402 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3404 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3405 HildonButton look like PickerButton)
3407 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3409 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3410 column while building the default string.
3412 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3415 scroll indicator by default.
3417 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3419 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-main.c: Fix the documentation for hildon_init()
3423 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3425 * doc/hildon-docs.sgml
3429 * src/hildon-window-stack-private.h
3430 * src/hildon-window-stack.h
3431 * src/hildon-window-stack.c:
3432 New HildonWindowStack object, that adds support for multiple
3433 stacks of windows per process.
3435 * src/hildon-stackable-window-private.h
3436 * src/hildon-stackable-window.h
3437 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3438 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3439 (hildon_stackable_window_show, hildon_stackable_window_hide)
3440 (hildon_stackable_window_class_init)
3441 (hildon_stackable_window_init):
3442 Use HildonWindowStack for stack management.
3444 * src/hildon-program.c (hildon_program_pop_window_stack)
3445 (hildon_program_peek_window_stack)
3446 (hildon_program_go_to_root_window):
3447 Add a fallback implementation to the deprecated functions using
3450 * examples/hildon-stackable-window-example.c:
3451 Use the new HildonWindowStack API.
3453 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3455 * src/hildon-stackable-window-private.h
3456 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3457 (hildon_stackable_window_hide, hildon_stackable_window_init):
3458 Remove all window stack management.
3460 * src/hildon-program-private.h
3461 * src/hildon-program.h
3462 * src/hildon-program.c (hildon_program_init)
3463 (hildon_program_pop_window_stack)
3464 (hildon_program_peek_window_stack)
3465 (hildon_program_go_to_root_window):
3466 Remove all window stack management and mark functions as
3469 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-app-menu.c (hildon_app_menu_realize):
3472 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3474 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3476 * configure.ac: post release version bump
3477 * debian/changelog: version bump
3479 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3484 * configure.ac: bump version
3485 * debian/changelog: updates
3487 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3489 Based on initial code by Christian Dywan (christian@imendio.com)
3491 * doc/hildon-docs.sgml: Add section for hildon-main.
3492 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3493 * src/Makefile.am: Add new hildon-main.[ch]
3494 * src/hildon-defines.h: Update the icon sizes.
3495 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3496 new library initialization files and register icon sizes.
3497 * src/hildon-main.h: New declarations.
3498 * src/hildon.h: Include hildon-main.h
3500 Add new initialization functions to the library. These methods
3501 will register the hildon specific icon sizes and can be used in the
3502 future for other hildon specific bits.
3504 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3506 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3508 * src/hildon-window.c: (hildon_window_realize),
3509 (hildon_window_notify), (-hildon_window_update_title): Do not set
3510 the application name in the window title.
3512 Fixes: NB#89754 (Applications shouldn't display their names in the
3515 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3517 * src/hildon-note-private.h:
3518 * src/hildon-note.c: (hildon_note_set_property),
3519 (hildon_note_get_property), (hildon_note_class_init),
3520 (hildon_note_init), (hildon_note_finalize),
3521 (hildon_note_new_confirmation_with_icon_name),
3522 (hildon_note_new_information_with_icon_name):
3524 No need to mark as deprecated the actual code. Revert
3525 to avoid missing symbols in widgets using deprecated API.
3527 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3529 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3531 * src/hildon-volumebar.h
3532 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3533 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3535 * src/hildon-helper.h
3536 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3537 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3539 * examples/Makefile.am:
3540 Deprecate hildon-insensitive-example
3542 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3544 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3546 * examples/hildon-pannable-area-buttons-scroll-example.c:
3547 Make all buttons finger height
3549 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3551 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3553 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3554 update the day model only if it is really required, and to avoid the
3555 full-reconstruction aproach. Now it only add or remove the required days.
3557 The purpose of this is avoid superfluous HildonTouchSelector::changed
3560 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3561 with strange parameters)
3563 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3565 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3567 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3568 the WINDOW_TYPE property.
3570 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3572 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3575 Fix dependency to allow parallel compilation with make -jX
3577 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3580 color frame and some minor tweaks to make it more consistent with
3583 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3584 highlighted but not visible)
3586 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3588 * examples/Makefile.am: Fixed typo in the Makefile.am.
3590 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3592 Reviewed the use of MAEMO_GTK define, now we add the define in the
3593 compilation line, and we also add it to the pc file.
3595 * configure.ac: Added MAEMO_GTK define to the compilation command
3596 and removed it from the config.h.
3598 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3599 do not have to take care about this define if the library was
3603 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3605 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3607 * examples/Makefile.am,
3608 * examples/hildon-pannable-area-buttons-scroll-example.c,
3609 * examples/hildon-pannable-area-gesture-signals-example.c,
3610 * examples/hildon-pannable-area-scroll-jump-example.c,
3611 * examples/hildon-pannable-area-tree-view-example.c:
3612 Renamed the pannable area examples, now they have more meaningful
3615 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3617 * src/hildon-touch-selector.c:
3618 (hildon_touch_selector_set_column_selection_mode): Used of
3619 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3620 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3621 to avoid re-seting the same selection mode.
3623 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3624 breaks HildonPickerDialog)
3626 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3628 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3629 conditional in the Makefile.am
3631 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3633 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3634 Remove unused methods.
3636 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3638 * src/hildon-button.c (hildon_button_init):
3639 Make button images center-aligned by default
3641 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3644 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3645 activated, we have to think about how to deal with both defines
3646 MAEMO_GTK and MAEMO_CHANGES.
3648 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3650 * examples/hildon-app-menu-example.c (create_menu): Make all
3651 buttons finger size.
3653 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3655 Fixed the compilation without maemo gtk adding ifdefs with
3656 MAEMO_GTK define to the code, we have to check this version more
3659 * examples/Makefile.am: Added control to avoid some examples that
3660 just make sense with maemo gtk.
3663 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3664 hildon modes with the define.
3666 * examples/hildon-edit-toolbar-example.c,
3667 (create_icon_view): Create the icon view without hildon-gtk
3668 helpers if we are not using maemo gtk.
3670 * src/hildon-touch-selector.c,
3671 (_create_new_column): Create the treeview without hildon-gtk
3672 helpers if we are not using maemo gtk.
3674 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3676 * src/hildon-pnnable-area.c,
3677 (hildon_pannable_area_dispose),
3678 (hildon_pannable_area_button_press_cb),
3679 (hildon_pannable_area_child_mapped),
3680 (hildon_pannable_area_add),
3681 (hildon_pannable_area_remove): Added code to control the position
3682 of the event_window when adding and removing children from the
3683 pannable. We have to raise the event window when the child is
3686 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3687 selection mode using custom widget inside pannable)
3689 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3691 * configure.ac: post release version bump
3692 * debian/changelog: version bump
3694 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3699 * configure.ac: bump version
3700 * debian/changelog: updates
3702 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3704 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3705 search mode, in order to avoid lose the focus on the treeview when
3706 a hw key (like enter) is pressed.
3708 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3709 in HildonDateSelector dialog)
3711 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3713 * debian/rules: Added --enable-maintainer-mode
3714 * Makefile.am: Added ACLOCAL_AMFLAGS
3716 This allows to properly regenerate the Makefiles if you modify the
3717 configure.ac or any Makefile.am.
3719 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3721 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3722 properties, not needed at all.
3724 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3728 * src/hildon-note.c: (hildon_note_set_property),
3729 (hildon_note_get_property), (hildon_note_class_init),
3730 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3731 (hildon_note_new_confirmation_add_buttons): Remove icons.
3732 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3733 (hildon_note_new_information_with_icon_name): Deprecate.
3734 (hildon_note_new_confirmation): Act directly, without calling
3735 the deprecated constructor.
3736 (hildon_note_new_information): Act directly, without calling
3737 the deprecated constructor.
3738 * src/hildon-note.h: Mark deprecate methods as such.
3739 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3740 not run tests on the deprecated methods if built with deprecation
3743 Fixes: NB#91688 (Never show icons in information notes/confirmation
3746 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3749 (hildon_app_menu_key_press): Remove leftover usage of the
3750 private structure in HildonAppMenu struct.
3751 * src/hildon-app-menu.h: Remove leftover private structure
3752 from the HildonAppMenu struct.
3754 Fixes a crasher when using the HildonAppMenu.
3756 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-picker-dialog.c: Use appropriate logical id
3759 for the default "Done" text.
3761 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3763 * configure.ac: post release version bump
3764 * debian/changelog: version bump
3766 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3768 Modified the way to scroll to the current selection just when the touch
3769 selector is shown on the screen, avoiding a g_idle. Added too a property
3770 to configure this behaviour. See hildon_pannable_area_jump_to_child
3771 documentation for more information.
3773 * src/hildon-touch-selector.c
3774 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3775 Added 'initial-scroll' property
3776 (hildon_touch_selector_set_property): Added
3777 (hildon_touch_selector_map): Removed as not required anymore
3778 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3779 only a concrete column, instead of iterate along all the columns
3781 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3786 * configure.ac: bump version
3787 * debian/changelog: updates
3789 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3791 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3792 compilation time warnings.
3794 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3797 the default value for HildonPannableArea::mov-mode to
3798 HILDON_PANNABLE_AREA_MODE_VERT.
3800 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3802 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3804 Reverting following commit:
3806 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-app-menu-private.h
3809 * src/hildon-app-menu.[ch]
3810 * src/hildon-button.[ch]
3811 * src/hildon-check-button.[ch]
3812 * src/hildon-entry.[ch]
3813 * src/hildon-pannable-area.[ch]
3814 * src/hildon-text-view.[ch]:
3815 Added private field to the object's structure.
3817 because it causes an ABI breakage. We will need to introduce these
3818 changes later at some point. See NB#91636 for an extensive
3819 explanation and status.
3821 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3823 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3825 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3826 remove special cases that are no longer necessary.
3828 Fixes: NB#91016 (Change toolbar sizes, simplification)
3830 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3833 is shown in the cancel note.
3835 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3838 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3839 (hildon_seekbar_init): Remove steppers, remove expose event.
3840 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3842 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3844 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3847 label font to "SmallSystemFont" for vertically arranged buttons.
3849 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3852 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-check-button.c
3855 (hildon_check_button_set_active, hildon_check_button_clicked):
3856 Don't access private parts directly, use getters instead.
3858 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-check-button.c (hildon_check_button_new):
3861 Align the contents of the check button to the left.
3863 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3865 * src/hildon-pannable-area.c,
3866 (hildon_pannable_area_scroll_to),
3867 (hildon_pannable_area_jump_to),
3868 (hildon_pannable_area_scroll_to_child),
3869 (hildon_pannable_area_jump_to_child): Replace the mapped
3870 precondition of these functions with the realized, it is the
3871 correct state of the widget in this case. Changed the
3872 documentation according to this modification.
3874 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3876 Added a new EXTRA_CFLAGS option to add the deprecated define to
3877 the compilation command. This way we can avoid using the define in
3878 the documentation compilation.
3880 * configure.ac: Defined EXTRA_CFLAGS.
3882 * examples/Makefile.am:
3884 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3886 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3888 * src/hildon-picker-dialog.c:
3889 Defined a utility macro with the desired touch selector height
3890 Removed currently unused separator, and title_label variables from
3892 (hildon_picker_dialog_init): Removed code related to the creation
3893 of unused private variables title_label and separator.
3894 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3895 to ensure correct visualization of the touch selector inside the dialog.
3896 * src/hildon-touch-selector.c
3897 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3898 ensure a concrete height of the widget.
3900 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3903 * tests/Makefile.am:
3905 Remove spurious whitespaces.
3907 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3910 compilation warning after the cancel button removal.
3912 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3914 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3916 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3917 Makefile.am, that way we can choose not to compile some examples
3918 and tests of the deprecated widgets.
3920 * examples/Makefile.am: Divided the sources in deprecated and
3923 * src/Makefile.am: Added undef statement of the deprecated
3924 symbol to the enums file generation process.
3926 * src/hildon-color-chooser-dialog.c
3927 * src/hildon-color-chooser-dialog.h
3928 * src/hildon-color-button.c
3929 * src/hildon-color-button.h
3930 * src/hildon-color-chooser.c
3931 * src/hildon-color-chooser.h
3932 * src/hildon-controlbar.c
3933 * src/hildon-controlbar.h
3934 * src/hildon-date-editor.c
3935 * src/hildon-date-editor.h
3936 * src/hildon-hvolumebar.c
3937 * src/hildon-hvolumebar.h
3938 * src/hildon-private.c
3939 * src/hildon-private.h
3940 * src/hildon-range-editor.c
3941 * src/hildon-range-editor.h
3942 * src/hildon-seekbar.c
3943 * src/hildon-seekbar.h
3944 * src/hildon-time-editor.c
3945 * src/hildon-time-editor.h
3946 * src/hildon-time-picker.c
3947 * src/hildon-time-picker.h
3948 * src/hildon-volumebar.c
3949 * src/hildon-volumebar.h
3950 * src/hildon-vvolumebar.c
3951 * src/hildon-vvolumebar.h
3952 * src/hildon-bread-crumb-trail.h
3953 * src/hildon-bread-crumb-trail.c
3954 * src/hildon-calendar-popup.c
3955 * src/hildon-calendar-popup.h
3956 * src/hildon-weekday-picker.c:
3957 * src/hildon-weekday-picker.h:
3958 * src/hildon-bread-crumb-widget.c:
3959 * src/hildon-bread-crumb-widget.h:
3960 * src/hildon-bread-crumb.c:
3961 * src/hildon-bread-crumb.h:
3962 * src/hildon-calendar.c:
3963 * src/hildon-calendar.h:
3964 * src/hildon-caption.c:
3965 * src/hildon-code-dialog.c:
3966 * src/hildon-code-dialog.h:
3967 * src/hildon-font-selection-dialog.c:
3968 * src/hildon-font-selection-dialog.h:
3969 * src/hildon-get-password-dialog.c:
3970 * src/hildon-get-password-dialog.h:
3971 * src/hildon-login-dialog.c:
3972 * src/hildon-login-dialog.h:
3973 * src/hildon-number-editor.c:
3974 * src/hildon-number-editor.h:
3975 * src/hildon-set-password-dialog.c:
3976 * src/hildon-set-password-dialog.h:
3977 * src/hildon-sort-dialog.c:
3978 * src/hildon-sort-dialog.h: This is the list of deprecated
3981 * src/hildon-touch-selector.c:
3982 * src/hildon-window.c: Added undef statement to avoid compilation
3985 * tests/Makefile.am: Divided the sources in deprecated and
3988 * tests/check_test.c,
3989 (configure_tests): Marked the deprecated code that was adding
3990 suites with deprecated tests.
3992 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3994 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-touch-selector.c: (_default_print_func): Do not
3997 duplicate a string returned by gtk_tree_model_get(), it is already
4000 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4003 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4005 * src/hildon-pannable-area.c
4006 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4007 method, it had problems when adding a widget with viewport the
4008 second time. Now checks if it already has a viewport and uses it.
4010 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4013 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4015 * src/hildon-pannable-area.c,
4016 (hildon_pannable_area_scroll_to),
4017 (hildon_pannable_area_jump_to),
4018 (hildon_pannable_area_scroll_to_child),
4019 (hildon_pannable_area_jump_to_child): Added a precondition to the
4020 scroll and jump to functions: the widget must be mapped before we
4021 can safely call these functions. We have also added documentation
4022 to the functions to explain how to use them in this situation.
4025 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4027 Reviewed the threading handling of the pannable widget, we have
4028 used the gdk_threads_add_timeout function instead of the usual
4029 glib handlers. This avoids some problems with the threads.
4031 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4032 (hildon_pannable_area_initial_effect),
4033 (hildon_pannable_area_scroll_indicator_fade),
4034 (hildon_pannable_area_button_press_cb),
4035 (hildon_pannable_area_timeout),
4036 (hildon_pannable_area_motion_notify_cb),
4037 (hildon_pannable_area_button_release_cb),
4038 (hildon_pannable_area_scroll_cb),
4039 (hildon_pannable_area_scroll_to): Removed the
4040 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4041 gdk_threads_add_timeout.
4043 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4045 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4050 * configure.ac: bump version
4051 * debian/changelog: updates
4053 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4056 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4057 * src/hildon-color-chooser-dialog.c:
4058 (hildon_color_chooser_dialog_init):
4059 * src/hildon-font-selection-dialog.c:
4060 (hildon_font_selection_dialog_init):
4061 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4063 Remove all cancel/close-like dialogs, as these are not going to be
4066 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4068 * src/hildon-note.c: (hildon_note_rebuild),
4069 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4072 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4074 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4077 sure all buttons are shown, even the Cancel/Close-like ones.
4079 Fixes: NB#90861 (Custom Confirmation dialogs should be
4080 protected from cancel button removal)
4082 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4084 * debian/control: Change libhildon1-examples dependency from libhildon1
4086 * debian/libhildon1-examples.install
4088 * Makefile.am: Modified the final install directory for the examples on
4089 package libhildon1-examples
4090 * Makefile.static: Update clean target in order to remove all the binary
4093 Changes suggested by Claudio after review new libhildon1-examples package
4095 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4098 * src/hildon-touch-selector.c: Ditto.
4100 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * debian/control: Added new package libhildon1-examples, in order to pack
4103 the current hildon examples as documentation
4104 * debian/rules: Not to compress .c files, modify some includes on the
4105 examples (as normally are compiled locally, but when installed it will
4106 require to include the installed libhildon1 library), and rename
4108 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4109 install all the example files on the new example package
4110 * examples/Makefile.static: Added static makefile that can be used to
4111 compile the examples, once installed the new example package
4112 * examples: Most of the examples were modified in order to grant that
4113 all use only '#include "hildon.h"', in order to be easy to prepare
4114 it on the example package
4116 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4119 * debian/libhildon1-dev.install
4120 * debian/libhildon1-doc.install:
4121 Move all gtk-doc files to a separate libhildon1-doc package.
4123 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4125 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4127 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4129 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4131 * debian/rules: Fixed a error in order to avoid unnecessary calls
4132 to autogen.sh on package building
4134 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4136 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4138 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4143 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-picker-button.c
4146 (hildon_picker_button_finalize):
4147 Free priv->done_button_text
4149 * src/hildon-time-button.c
4150 (hildon_time_button_set_time)
4151 * src/hildon-picker-button.c
4152 (hildon_picker_button_clicked)
4153 (hildon_picker_button_selector_selection_changed)
4154 (hildon_picker_button_set_selector)
4155 * src/hildon-date-button.c
4156 (hildon_date_button_set_date):
4157 Free strings returned by hildon_touch_selector_get_current_text()
4159 * src/hildon-button.c (hildon_button_construct_child):
4160 Fix leaks in priv->image and priv->label_box
4162 Fixes: NB#90535 (Memory leak in picker button)
4164 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-button.c: (hildon_button_get_property): Do not access
4167 private elements directly, use getters instead.
4169 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-app-menu-private.h
4172 * src/hildon-app-menu.c
4173 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4174 Store the menu's parent window.
4176 * src/hildon-stackable-window.c
4177 (hildon_stackable_window_toggle_menu)
4178 (hildon_stackable_window_finalize):
4179 Set the menu's parent window when the menu is shown, unset it when
4182 * src/hildon-app-menu.c
4183 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4184 (hildon_app_menu_class_init):
4185 Send unhandled keyboard accelerators to the parent window.
4187 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-stackable-window.c
4190 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4192 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4194 * configure.ac: post release version bump
4196 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4199 * configure.ac: Bump version
4200 * debian/changelog: Updates
4201 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4204 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4206 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4209 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4210 GtkMenu with Hildon style.
4212 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-picker-button.c:
4215 (hildon_picker_button_set_done_button_text): Set the dialog's
4216 done button text here as well.
4218 Fixes: NB#90232 (Picker button does not set the label on done button
4219 for the second time)
4221 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4226 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4228 * src/hildon-app-menu.c (hildon_app_menu_insert)
4229 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4230 the HildonAppMenu to be activatable using keyboard accelerators
4231 when the menu is not being shown.
4233 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4235 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-stackable-window.c
4238 (hildon_stackable_window_show):
4239 Don't hide old windows automatically when new windows are shown:
4240 this is now a task for the window manager.
4241 (hildon_stackable_window_class_init)
4242 (hildon_stackable_window_hide):
4243 Remove windows from the stack everytime they're hidden.
4244 (hildon_stackable_window_realize):
4245 Don't change the _NET_WM_WINDOW_TYPE property. Use
4246 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4247 it as a stackable window.
4249 * src/hildon-program.c
4250 (hildon_program_pop_window_stack):
4251 Just hide the window to remove it from the stack.
4252 (hildon_program_go_to_root_window):
4253 Don't call gtk_widget_show(), this is now a task for the window
4256 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4258 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-button.c
4261 (hildon_button_construct_child):
4262 Don't pack anything in the button until text or image are
4263 set. This allows adding a custom child after creating the button
4264 with hildon_button_new().
4265 (hildon_button_finalize, hildon_button_class_init)
4266 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4267 alignment and the label box even when they're not packed in the
4270 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4272 * src/hildon-touch-selector.h:
4273 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4274 currently the type definition was using GTK_TYPE_VBOX
4275 * src/hildon-touch-selector.c:
4276 Added some implementation notes in order to clarify that any other widget
4277 added without the column related API will not be included on the
4278 selection logic, and how the widget is freed, as some people ask about
4280 (hildon_touch_selector_remove): Reimplemented in order to free properly
4281 the column related data when you remove the private hbox.
4282 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4283 to get a proper HildonTouchSelectorColumn documentation
4285 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4287 * src/hildon-touch-selector-entry.c:
4288 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4289 text in the GtkEntry and there is no item selected. Fixes a
4292 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-app-menu-private.h
4295 * src/hildon-app-menu.[ch]
4296 * src/hildon-button.[ch]
4297 * src/hildon-check-button.[ch]
4298 * src/hildon-entry.[ch]
4299 * src/hildon-pannable-area.[ch]
4300 * src/hildon-text-view.[ch]:
4301 Added private field to the object's structure.
4303 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4305 * configure.ac: post-release version bump
4307 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4311 * configure.ac: pre-release version bump
4313 * debian/changelog: updates.
4315 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4318 Disconnect the handler for HildonTouchSelector::changed.
4320 (hildon_picker_button_selector_selection_changed): Update the button
4321 value if the selection change was not triggered by the
4324 (hildon_picker_button_set_selector): connect to
4325 HildonTouchSelector::changed.
4327 Fixes: NB#89650 (Picker button is not updated, when selection in
4328 selector has changed)
4330 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4332 * src/hildon-picker-dialog.c
4333 (hildon_picker_dialog_realize): Removed as not required
4334 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4335 * src/hildon-picker-button.c
4336 (_current_selector_empty): New function, checks if the selector is empty
4337 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4338 if the current selector is empty, in order to avoid to show the dialog
4339 close the dialog in this case (and shows a g_warning).
4341 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4343 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4345 * src/hildon-pannable-area.c,
4346 (hildon_pannable_area_scroll): Added clause to stop movement when
4347 the child of pannable is smaller than one page.
4348 (hildon_pannable_area_scroll_to): Added conditions to avoid
4349 starting the scrolling movement if the child is smaller than one
4350 page, the complete child is in the screen, we do not have to move.
4352 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4354 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4356 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4357 this is managed automatically by the widget when the size of the
4360 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-picker-button.c
4363 (hildon_picker_button_set_done_button_text): Make a copy of the
4364 text, and free the previous value.
4366 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-touch-selector-entry.c:
4369 (hildon_touch_selector_entry_print_func): Return the selected row's
4370 text if the entry is empty.
4372 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4375 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4379 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-check-button.h
4383 * src/hildon-check-button.c
4384 * examples/hildon-check-button-example.c:
4385 HildonCheckButton is now a new widget. 'toggled' signal added.
4387 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-program-private.h
4390 * src/hildon-program.c (hildon_program_init)
4391 (hildon_program_finalize): Removed unused variables group_leader
4392 and name from HildonProgramPrivate.
4394 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-check-button.c (hildon_check_button_set_active)
4397 (hildon_check_button_get_active, hildon_check_button_new): Use
4398 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4400 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4402 * src/hildon-touch-selector.h
4403 (hildon_touch_selector_set_column_attributes): added deprecation
4404 guard HILDON_DISABLE_DEPRECATED
4405 * src/hildon-time-selector.c
4406 (hildon_time_selector_set_time)
4407 (hildon_time_selector_get_time): Fixed a typo on documentation
4408 * src/hildon-touch-selector.c: update HildonTouchSelector and
4409 HildonTouchSelectorColumn documentation
4410 * src/hildon-touch-selector-entry.c: update "text-column" property
4412 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4413 to be added to the general documentation.
4415 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4417 * examples/hildon-pannable-area-example-4.c,
4419 * examples/hildon-pannable-area-example.c,
4420 (main): Modified the code in order to use the container add, with
4421 viewport treeviews could have problems if they are really big.
4423 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-weekday-picker.c,
4426 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4427 the agreement regarding deprecation in the library.
4429 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4431 * examples/hildon-picker-button-multicolumn-example.c:
4432 (main): Use custom "done" button text.
4434 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4435 (hildon_picker_button_set_property),
4436 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4437 (hildon_picker_button_init),
4438 (+hildon_picker_button_get_done_button_text),
4439 (+hildon_picker_button_set_done_button_text): New methods to customize
4440 the "done" button label in the launched HildonPickerDialog. Also,
4443 * src/hildon-picker-button.h: add the public API.
4445 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-date-selector.h:
4448 * src/hildon-picker-dialog.h:
4449 * src/hildon-time-selector.h:
4450 * src/hildon-touch-selector-column.h:
4451 * src/hildon-touch-selector.h:
4453 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4454 declarations. Fixes gtk-doc warnings.
4456 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-picker-dialog.h
4459 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4460 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4462 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4463 long text is set as label for done button)
4465 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-dialog.c (hildon_dialog_add_button):
4468 Set fixed width to all buttons in the HildonDialog.
4470 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4472 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4474 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4475 Set widget name using class name plus "-finger" or "-thumb".
4477 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4479 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4480 'clicked' when the state of the button is manually changed.
4482 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-app-menu.c (hildon_app_menu_realize)
4485 (hildon_app_menu_unrealize, hildon_app_menu_init)
4486 (hildon_app_menu_class_init, item_visibility_changed):
4487 Change the menu layout when the size of the screen changes.
4488 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4489 Show warning only when changing the number of colums using the
4492 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4494 * debian/compat: Set to 5
4495 * debian/control: Update dependencies.
4496 * debian/libhildon1-dbg.install: Remove.
4497 * debian/libhildon1-dev.install: Update according to cdbs paths.
4498 * debian/libhildon1.install: Update according to cdbs paths.
4499 * debian/rules: Switch to cdbs.
4501 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4504 'item' variable renamed to 'filter'
4506 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4508 * src/hildon-app-menu.c (hildon_app_menu_insert)
4509 (hildon_app_menu_add_filter, remove_item_from_list)
4510 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4511 Don't leak hidden items when the menu is destroyed.
4513 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4515 * src/hildon-app-menu.c (hildon_app_menu_insert)
4516 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4517 (hildon_app_menu_set_columns, item_visibility_changed)
4518 (filter_visibility_changed, hildon_app_menu_repack_filters)
4519 (hildon_app_menu_repack_items):
4520 Repack items and filters separately.
4522 Don't repack all items, change only the ones that are needed to
4525 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4527 * src/Makefile.am: added hildon-touch-selector-column.h
4529 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4531 * src/hildon-touch-selector.c: added the property "text-column" to the
4532 class HildonTouchSelectorColumn, and related get/set functions
4533 (_default_printf_func): updated to use "text-column" property
4534 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4535 "text-column" in his documentation, as this is now included on
4536 HildonTouchSelectorColumn. The get/set_property can still be used,
4537 working as a wrapper to the concrete column "text-column" property
4538 (_text_column_modified): callback added in order to handle the signal
4539 "notify::text-column" of the concrete HildonTouchSelectorColumn
4540 (hildon_touch_selector_entry_get_text_column)
4541 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4542 modified in order to use the HildonTouchSelectorColumn "text-column"
4544 * src/hildon-time-selector.c:
4545 * src/hildon-date-selector.c:
4546 * examples/hildon-touch-selector-example.c
4547 * examples/hildon-touch-selector-multi-cells-example.c
4548 * examples/hildon-picker-button-multicolumn-example.c
4549 Set the right value to "text-column" property on the creation of a new
4550 column using hildon_touch_selector_append_column()
4552 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4554 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4556 * src/hildon-app-menu.c
4557 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4558 updating the layout of the menu, don't create all widgets again,
4559 just repack the items in their new places.
4561 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4563 * src/hildon-time-selector.c
4564 (hildon_time_selector_get_time)
4565 (hildon_time_selector_set_time)
4566 Added documentation of these public methods
4568 * src/hildon-date-button.h
4569 * src/hildon-touch-selector-column.h
4570 * src/hildon-time-button.h
4571 * src/hildon-picker-dialog.h
4572 * src/hildon-time-selector.h
4573 * src/hildon-picker-button.h
4574 * src/hildon-touch-selector.h
4575 * src/hildon-time-picker.h
4576 * src/hildon-date-selector.h
4577 * src/hildon-touch-selector-entry.h
4578 Modified in order to use hildon-widgets code style
4580 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4582 Added deprecated support to the compilation process using
4583 HILDON_DISABLE_DEPRECATED
4585 * configure.ac: Added the --disable-deprecated to the configure
4588 * src/hildon-weekday-picker.c:
4589 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4590 to use the deprecated support. We will update the other deprecated
4591 widgets status in a new patch.
4593 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4595 * configure.ac: Fixed typo with fatal warnings support, the
4596 variable name was not correct
4598 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-app-menu.c
4601 * src/hildon-program.c: Update documentation.
4603 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4605 * configure.ac: Post-release version bump.
4607 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4612 * configure.ac: Pre-release version bump.
4613 * debian/changelog: Updates.
4615 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4617 * NEWS: Update news for previous releases.
4619 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4621 * examples/hildon-touch-selector-multi-cells-example.c:
4622 (create_selector): Update the example to use
4623 hildon_touch_selector_append_column() with a NULL renderer and set
4624 the renderers later.
4625 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4626 passed a NULL renderer. This is documented behavior now.
4628 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4629 This must be used if the developer wants full control on the layout of
4630 the renderers to be added to the column.
4632 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4634 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-touch-selector.c: Documentation fixes.
4638 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4640 * src/hildon-wizard-dialog-private.h: Remove image and box.
4641 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4642 (hildon_wizard_dialog_set_property), (response): Completely remove
4643 image/icon support, and the containers required for the layout.
4645 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4647 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-app-menu.c: Updated documentation.
4651 * src/hildon-stackable-window.c
4652 (hildon_stackable_window_set_main_menu): Unref the old menu after
4653 ref'ing the new one.
4655 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-stackable-window.c
4658 (hildon_stackable_window_set_main_menu): Unref the previous menu
4659 instead of destroying it.
4661 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4662 floating reference and set has_user_ref_count to FALSE to make
4663 HildonAppMenu act like a normal ref-counted widget and not a
4666 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4669 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4671 * src/hildon-touch-selector-column.h: new file
4672 * src/hildon-touch-selector.h
4673 * src/hildon-touch-selector.c
4674 Implemented GtkCellLayout interface, in order to allow to configure
4675 the cell layout on each individual selector column
4676 (hildon_touch_selector_set_column_attributes): marked as deprecated
4677 * examples/hildon-touch-selector-multi-cells-example.c
4678 Example of how to use the GtkCellLayout interface on the selector
4680 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4682 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4684 * src/hildon-app-menu.h
4685 * src/hildon-app-menu.c
4686 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4687 (hildon_app_menu_append, hildon_app_menu_prepend):
4688 New methods to prepend, insert and move items in the menu.
4690 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4692 * src/hildon-wizard-dialog.c:
4694 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4696 (create_title): Update logical IDs and related code.
4697 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4699 * src/hildon-wizard-dialog.h: Note that
4700 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4701 point, as it is not used anymore.
4703 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4705 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-note.c:
4708 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4709 shown. Do not display an icon in confirmation notes nor information
4711 (hildon_note_set_button_text): Update logical ID for cancel button.
4713 Fixes: NB#88850 (Update HildonNote button strings + signals)
4715 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4717 * src/hildon-stackable-window.c
4718 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4720 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu-private.h
4723 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4724 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4725 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4726 temporary property 'columns' to change the number of columns.
4728 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4730 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4732 * examples/hildon-note-example.c: (on_information_clicked),
4733 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4734 debugging information.
4735 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4737 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4738 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4739 in order to close: this will be handled by the WM from now on.
4741 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4743 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-app-menu-private.h
4746 * src/hildon-app-menu.c
4747 (hildon_app_menu_append, hildon_app_menu_add_filter)
4748 (button_visibility_changed, hildon_app_menu_apply_style)
4749 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4750 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4751 layout everytime a button (item or filter) is shown or hidden.
4753 * src/hildon-stackable-window.c
4754 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4757 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4759 * src/hildon-touch-selector.c:
4760 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4761 that the treeview inside the touch selector is in fremantle hildon mode
4762 * examples/hildon-date-button-example.c
4763 * examples/hildon-picker-button-multicolumn-example.c
4764 * examples/hildon-touch-selector-entry-example.c
4765 * examples/hildon-touch-selector-example.c
4766 * examples/hildon-time-button-example.c
4767 * examples/hildon-picker-button-example.c:
4768 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4770 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4772 * examples/hildon-text-view-example.c: (main): Remove the
4773 gtkrc bits, now handled by the theme.
4775 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4780 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4782 * po/Makefile.am: Install properly the mo files.
4783 * po/en_GB.po: Update translation, to ease testing purposes.
4785 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4787 * examples/hildon-picker-button-example.c: (main): Select an item
4788 in the selector before setting it to the button.
4790 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4793 Update button's value if the selector has an item active.
4795 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4796 'value' with the selector)
4798 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4801 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4802 (hildon_picker_button_class_init): Plug the finalize method.
4803 (hildon_picker_button_set_selector): If there's a previously set
4804 selector, unref'it before setting a new one.
4806 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4807 HildonTouchSelector)
4809 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-touch-selector-entry.c:
4812 (hildon_touch_selector_entry_changed): Check if there is no text
4813 selected before setting the entry text.
4816 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-touch-selector.h
4819 * src/hildon-touch-selector.c
4820 (hildon_touch_selector_get_active)
4821 (hildon_touch_selector_set_active): New methods to set/get the
4822 index of the selected item.
4824 * src/hildon-picker-button.h
4825 * src/hildon-picker-button.c
4826 (hildon_picker_button_get_active)
4827 (hildon_picker_button_set_active): New methods to set/get the
4828 index of the selected item.
4830 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4832 * configure.ac: post-release version bump.
4834 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4838 * configure.ac: Pre-release version bump.
4839 * debian/changelog: Updates.
4840 * debian/control: Add myself as maintainer and depend on l10n
4843 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-window.c
4846 (hildon_window_set_main_menu)
4847 * src/hildon-stackable-window.c
4848 (hildon_stackable_window_set_main_menu):
4849 Updated documentation.
4851 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4854 Don't free selector->priv manually.
4857 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4860 (hildon_gtk_window_set_progress_indicator):
4861 * src/hildon-gtk.h: Added the new API
4862 hildon_gtk_window_set_progress_indicator, it changes the state of
4863 the window progress hint.
4865 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-button.c
4868 * src/hildon-stackable-window.c: Minor documentation updates.
4870 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-stackable-window.c: Updated documentation.
4874 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4876 * src/hildon-defines.h: Update margins definitions
4877 to the Fremantle sizes.
4880 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4882 * src/hildon-touch-selector.c,
4883 (_hildon_touch_selector_set_model): Cleaning the code after
4884 review, removed g_print and #if 0 from the code.
4886 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-edit-toolbar.c: Update documentation.
4890 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-check-button.h
4893 * src/hildon-check-button.c
4894 (hildon_check_button_set_label, hildon_check_button_get_label)
4895 * examples/hildon-check-button-example.c
4896 (button_clicked_cb):
4897 Removed deprecated methods.
4899 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-text-view.c:
4902 Add sample code to the documentation.
4904 * src/hildon-entry.h
4905 * src/hildon-text-view.h:
4906 Minor cosmetic changes.
4908 * src/hildon-entry.c:
4909 Add sample code to the documentation.
4910 (hildon_entry_init, hildon_entry_refresh_contents):
4911 Don't allow NULL values in the placeholder.
4913 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4915 * doc/hildon-docs.sgml
4917 * examples/Makefile.am
4918 * examples/hildon-text-view-example.c
4920 * src/hildon-text-view.c
4921 * src/hildon-text-view.h
4923 New HildonTextView widget, with example.
4925 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4927 * po/POTFILES.in: Add missing files with translatable strings.
4928 Partially fixes NB#88287.
4930 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4932 * examples/hildon-pannable-area-example-2.c: (main): No need to
4933 set the cellrenderer height inside hildon touch lists, the theme does
4936 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4938 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4939 they are integrated in the theme.
4941 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4943 * examples/hildon-entry-example.c: Update the example adding
4944 widgets to modify the text and the placeholder of the HildonEntry.
4946 * src/hildon-entry.c: Show the placeholder everytime the widget
4947 is empty and loses the focus.
4949 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4951 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4953 * src/hildon-pannable-area.c,
4954 (hildon_pannable_area_size_request): Fixed bug in height
4955 requisition, avoid increasing size and add border twice.
4957 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4959 * configure.ac: postrelease version bump.
4961 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4965 * configure.ac: Prerelease version bump.
4966 * debian/changelog: update.
4967 * debian/rules: make -dbg package contain useful debugging symbols.
4969 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-dialog.h
4972 * src/hildon-dialog.c
4973 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4974 New methods to add buttons with finger size.
4975 (hildon_dialog_new_with_buttons):
4976 Create buttons with finger size.
4978 * examples/hildon-dialog-example.c (main): Use HildonDialog
4979 methods to add buttons.
4981 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4983 * src/hildon-entry.c: Updated HildonButton documentation.
4985 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4988 button value label with (FALSE, FALSE) to prevent NB#88126 from
4991 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4993 * examples/hildon-pannable-area-example.c,
4994 (main): Removed examples panning a vbox inside a pannable
4995 area. Check bug NB#87965
4997 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4999 Patch contributed by Kris Rietveld (kris@imendio.com)
5001 * src/hildon-pannable-area.c,
5002 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5003 get_size and get_position, this saves an X server roundtrip.
5005 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5007 * doc/hildon-docs.sgml
5009 * examples/Makefile.am
5010 * examples/hildon-entry-example.c
5012 * src/hildon-entry.c
5013 * src/hildon-entry.h
5015 New HildonEntry widget, with example.
5017 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5019 * src/hildon-button.c (hildon_button_construct_child): Pack the
5020 image with expand == fill == FALSE. This is a workaround for a bug
5023 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5025 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5026 labels for the text column, to make it more look more dynamic.
5028 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5030 * src/hildon-time-selector.c
5031 Define gettext auxiliar macro N_
5032 (_create_minutes_model)
5033 (_create_hours_model)
5034 (_create_ampm_model): use of strftime in order to fill the model
5035 * src/hildon-date-selector.c
5036 (hildon_date_selector_finalize):
5037 (_locales_init): remove the logic related to get the name of the months
5038 using nl_langinfo, as it is not required anymore
5040 (_create_year_model)
5041 (_create_month_model)
5042 (_update_day_model): use of strftime in order to fill the model properly
5045 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5047 * src/hildon-button.h
5048 * src/hildon-button.c (hildon_button_get_image): New method to
5051 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-touch-selector.c:
5054 (hildon_touch_selector_remove_column): Remove from the correct parent
5055 and also remove the list element and free it.
5058 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5060 * src/hildon-time-selector.c
5061 (_create_hours_model): change the range on 12h ampm format in order to use
5062 a 12-11 range instead of previous 01-12 range
5063 (hildon_time_selector_set_time): change the way to select the current time
5064 on 12h ampm format, due the change on the range
5065 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5068 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5070 * src/hildon-touch-selector.c
5071 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5072 in order to allow use this function on multiple row selection mode if
5073 the column is different that the first one
5076 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5079 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5081 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5083 * src/hildon-date-selector.h: clean some comments, now on the .c
5084 * src/hildon-date-selector.c
5085 (hildon_date_selector_select_month): first implementation
5086 (hildon_date_selector_select_day): added documentation, reimplemented
5087 using hildon_date_selector_select_current_date to avoid repeat code
5090 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5092 Reviewed interaction logic based on device experiences, refactored
5095 * src/hildon-pannable-area.c,
5096 (hildon_pannable_area_class_init): Updated default vmax speed.
5097 (hildon_pannable_area_calculate_velocity): Added this function, it
5098 avoids duplicate valocity calculation. Adjusted calculation to
5099 avoid problems with zero dist events.
5101 (hildon_pannable_area_motion_notify_cb): Now we use the
5102 calculate_velocity function.
5104 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5106 * src/hildon-date-selector.c
5107 (hildon_date_selector_select_current_date): fix the day range check
5108 as it failed using the last day of the current month
5111 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5113 * src/hildon-touch-selector.c
5114 (hildon_touch_selector_get_num_columns): added a parameter validation
5117 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5119 * examples/Makefile.am
5120 * examples/hildon-edit-toolbar-example.c: Example of the
5121 HildonEditToolbar widget.
5123 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5125 * configure.ac: postrelease version bump.
5127 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5131 * configure.ac: prerelease version bump.
5132 * debian/changelog: update.
5134 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5136 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5137 renderer to display stock icons in the touch list. Also, set the sizes
5138 to the recommended in the style guide.
5140 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5141 * src/hildon-touch-selector.h
5142 (hildon_touch_selector_set_active_iter): renamed, now is
5143 hildon_touch_selector_select_iter
5144 (hildon_touch_selector_get_active_iter): renamed, now is
5145 hildon_touch_selector_get_selected
5146 (hildon_touch_selector_unselect_iter): added
5147 * src/hildon-touch-selector.c
5148 Update after API modification (methods renamed)
5149 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5150 order to avoid problems selecting multiple elements on the column
5151 (hildon_touch_selector_unselect_iter): added the implementation
5152 * src/hildon-time-selector.c
5153 * src/hildon-date-selector.c
5154 * src/hildon-touch-selector-entry.c
5155 Update methods calls after hildon-touch-selector.h API modification (methods
5158 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-stackable-window.c
5161 (hildon_stackable_window_finalize): Call the parent class's finalize.
5163 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5165 * examples/hildon-touch-selector-example.c: (create_selector): Use
5166 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5169 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5171 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5172 set a cell background color, to respect theming.
5174 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5176 * doc/hildon-docs.sgml
5179 * src/hildon-edit-toolbar.c
5180 * src/hildon-edit-toolbar.h
5181 * src/hildon.h: New HildonEditToolbar widget.
5183 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5185 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5188 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5189 * src/hildon-touch-selector.c
5190 (_create_new_column): use g_object_set instead of two g_object_set_property
5192 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5193 * src/hildon-touch-selector.c
5194 (_create_new_column): use of hildon_gtk_tree_view_new to create
5195 the treeview, instead of use directly g_object_new
5196 (_create_new_column): update the property name "vindicator-mode" for the
5197 new one "vscrollbar-policy"
5198 * examples/hildon-date-button-example.c
5199 * examples/hildon-picker-button-multicolumn-example.c
5200 * examples/hildon-touch-selector-entry-example.c
5201 * examples/hildon-touch-selector-example.c
5202 * examples/hildon-time-button-example.c
5203 * examples/hildon-picker-button-example.c
5204 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5205 to all the treeviews inside a pannable area.
5207 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-button.h
5210 * src/hildon-button.c (hildon_button_init)
5211 (hildon_button_set_arrangement, hildon_button_set_alignment)
5212 (hildon_button_set_title_alignment)
5213 (hildon_button_set_value_alignment)
5214 (hildon_button_set_image_alignment)
5215 (hildon_button_construct_child): New methods to set the alignment
5216 of the individual components of the button (title, value,
5217 image). Also, new method to alter the xscale and yscale properties
5218 of the GtkAlignment inside the button, so more complex layouts can
5221 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-button.c (hildon_button_style_set)
5224 (hildon_button_class_init, hildon_button_set_arrangement)
5225 (hildon_button_construct_child): Apply style properties
5226 correctly. Use the 'image-spacing' style property too.
5228 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5230 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5231 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5234 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5236 * src/hildon-pannable-area.c,
5237 (hildon_pannable_area_size_request): Fixed problem with
5238 pannable-area size_request.
5240 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5242 Added management for the grab-focus to a child widget, like a
5243 range, we need to fade out the scrollbar when releasing.
5245 * src/hildon-pannable-area.c,
5246 (hildon_pannable_area_init): Connected the grab-focus signal to
5248 (hildon_pannable_area_grab_notify): Added this function in order
5249 to manage the situation when the grab-focus ends. We have to
5250 fade-out the scrollbar.
5252 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-app-menu.c: Minor documentation update.
5256 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5258 * src/hildon-app-menu.c
5259 * examples/hildon-app-menu-example.c (create_menu): Update
5260 examples and documentation to explain how to connect callbacks.
5262 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5264 * examples/hildon-button-example.c
5265 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5266 hildon_stackable_window_new instead of gtk_window_new
5268 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5270 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5271 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5272 (hildon_pannable_area_set_property),
5273 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5274 (hildon_pannable_area_unrealize),
5275 (hildon_pannable_area_size_request),
5276 (hildon_pannable_area_size_allocate),
5277 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5278 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5279 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5280 (hildon_pannable_area_initial_effect),
5281 (hildon_pannable_area_redraw),
5282 (hildon_pannable_area_scroll_indicator_fade),
5283 (hildon_pannable_area_expose_event),
5284 (hildon_pannable_area_get_topmost), (synth_crossing),
5285 (hildon_pannable_area_button_press_cb),
5286 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5287 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5288 (hildon_pannable_area_motion_notify_cb),
5289 (hildon_pannable_area_button_release_cb),
5290 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5291 (hildon_pannable_area_remove),
5292 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5293 chage the code layout to a more GtkWidget like. Review the use of
5296 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5298 * examples/hildon-pannable-area-example-4.c,
5299 (main): Modified the name of the hindicator_mode to
5302 * src/hildon-pannable-area.c,
5303 (hildon_pannable_area_class_init),
5304 (hildon_pannable_area_motion_notify_cb),
5305 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5306 we have reduced the amount of signals and managed reviewed its
5307 rationale. Changed the default decelerate value.
5309 (hildon_pannable_area_add),
5310 (hildon_pannable_area_redraw): Refactored functions.
5312 (hildon_pannable_area_init),
5313 (hildon_pannable_area_get_property),
5314 (hildon_pannable_area_set_property):
5315 (hildon_pannable_draw_vscroll),
5316 (hildon_pannable_draw_hscroll),
5317 (hildon_pannable_area_initial_effect),
5318 (hildon_pannable_area_expose_event),
5319 (hildon_pannable_area_scroll),
5320 (hildon_pannable_area_button_press_cb),
5321 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5322 and vindicator_mode with hscrollbar_policy and
5323 vscrollbar_policy. Replaced hscroll and vscroll with
5324 hscroll_visible and vscroll_visible.
5326 (hildon_pannable_area_refresh): Refactor the function, remove
5327 variables and check the calls to this function, added resize
5328 conditions in case the children change their layout.
5330 (hildon_pannable_area_size_request): Added more detailed
5331 size_request calculation.
5334 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5336 * src/hildon-color-chooser.c
5337 (init_borders): use the correct gtk_border_free instead of g_free, to
5338 avoid a crash when this widget is used (ie: the three color selection
5341 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5343 * src/hildon-check-button.c,
5344 (hildon_check_button_set_active): Fixed problem when setting the
5345 active value, the widget was not redrawn.
5347 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5349 * src/hildon-pannable-area.c,
5350 (hildon_pannable_area_refresh),
5351 (hildon_pannable_area_scroll),
5352 (hildon_pannable_area_motion_notify_cb): Small code style change.
5354 (hildon_pannable_area_class_init): Default initial_hint set to
5355 FALSE, it is not in the specs.
5357 (hildon_pannable_area_initial_effect),
5358 (hildon_pannable_area_expose_event),
5359 (hildon_pannable_area_map),
5360 (hildon_pannable_area_init): Moved the launching point of the
5361 initial effect, it was in map but the sizes where not correct in
5362 that method so we do not know if we have the reproduce it. Now it
5363 is placed in the expose_event method and uses a variable to
5364 reproduce it just once.
5366 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5368 * src/hildon-pannable-area.c,
5369 (hildon_pannable_draw_vscroll),
5370 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5371 position allowed for the scrollbars.
5373 (hildon_pannable_area_size_allocate): Small style change.
5375 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5377 * src/hildon-pannable-area.c,
5378 (hildon_pannable_area_scroll_indicator_fade),
5379 (hildon_pannable_area_button_press_cb),
5380 (hildon_pannable_area_button_release_cb),
5381 (hildon_pannable_area_scroll_cb),
5382 (hildon_pannable_area_expose_event),
5383 (hildon_pannable_area_init): Added the define parameter
5384 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5385 and refactor the fade variable.
5387 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5389 * src/hildon-pannable-area.c,
5390 (hildon_pannable_area_redraw),
5391 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5392 lines, we were reimplemeting the redraw code.
5394 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5396 * src/hildon-pannable-area.c,
5397 (hildon_pannable_area_scroll_cb),
5398 (hildon_pannable_area_realize),
5399 (hildon_pannable_area_class_init): Added scroll_event management
5400 for pannable area, now we can scroll the usual desktop method.
5402 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5403 initialization of the parameters should depend on idle_id.
5405 (hildon_pannable_area_init),
5406 (hildon_pannable_area_map): Small code style modifications
5408 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5410 * src/hildon-pannable-area.c
5411 (hildon_pannable_area_button_press_cb),
5412 (hildon_pannable_area_motion_notify_cb),
5413 (hildon_pannable_area_button_release_cb),
5414 (hildon_pannable_area_size_allocate),
5415 (hildon_pannable_area_scroll_to): Improved the timeouts
5416 management, we avoid creating them each time.
5418 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5420 * src/hildon-pannable-area.c:
5421 (hildon_pannable_area_refresh),
5422 (hildon_pannable_area_motion_notify_cb),
5423 (hildon_pannable_area_class_init):
5424 * src/hildon-pannable-area.h:
5425 * src/hildon-touch-selector.c
5426 (_create_new_column):
5427 * examples/hildon-pannable-area-example-4.c:
5428 (horizontal_movement),
5429 (vertical_movement),
5431 Replaced the names of enums in the HildonPannableArea:
5432 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5433 HILDON_MOVEMENT_MODE_*
5434 - HILDON_PANNABLE_AREA_MOV_* ->
5436 - Removed HildonPannableAreaIndicatorMode, now we
5439 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5441 * examples/hildon-pannable-area-touch-grid-example.c
5442 * examples/hildon-pannable-area-touch-list-example.c: Fix
5443 compilation warnings.
5445 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-gtk.c (hildon_gtk_button_new)
5448 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5449 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5450 images overriding the value of the "gtk-button-images" setting.
5452 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-check-button.c (hildon_check_button_new):
5455 Instead of using a custom container, display the label and the
5456 checkbox using the standard GtkButton API.
5458 * examples/hildon-check-button-example.c (main): Don't use
5459 hildon_check_button_set_label() anymore
5461 * src/hildon-check-button.h
5462 * src/hildon-check-button.c
5463 (hildon_check_button_set_label, hildon_check_button_get_label):
5464 Set as deprecated, now we're using gtk_button_{get,set}_label()
5466 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5468 * src/hildon-pannable-area.c,
5469 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5470 GtkTreeview first line we detected it after the inclusion of the
5471 GtkWindowImpl in gtk+. We now check if the window is visible, not
5472 just if the pointer is over the window.
5473 (hildon_pannable_axis_scroll),
5474 (hildon_pannable_area_expose_event): Small style changes.
5476 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-button.c: Update documentation.
5480 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5482 * examples/hildon-button-example.c: Add a switch to show images in
5485 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5487 * doc/hildon-docs.sgml: Some docs reorganization.
5489 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5491 * examples/hildon-pannable-area-touch-list-example.c
5493 * examples/hildon-pannable-area-touch-grid-example.c
5494 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5495 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5496 Fix memory leak when setting the tree model.
5498 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5502 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5504 * doc/hildon.types: Remove duplicated hildon_window_get_type
5505 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5506 documentation comment.
5508 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5510 * doc/Makefile.am: Complete list of private headers.
5512 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5514 * doc/hildon-docs.sgml
5515 * src/hildon-app-menu.c
5516 * src/hildon-bread-crumb.c
5517 * src/hildon-button.c
5519 * src/hildon-program.c
5520 * src/hildon-stackable-window.c
5521 * src/hildon-window.c: Lots of documentation updates.
5523 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5525 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5527 * configure.ac: Require Gtk+ 2.12.9 at least
5529 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5531 * src/hildon-pannable-area.c
5532 (hildon_pannable_area_scroll_indicator_fade),
5533 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5534 to protect the return of this timeout callbacks, avoiding deadlocks.
5536 2008-08-12 Christian Dywan <christian@imendio.com>
5539 * src/hildon-*.h: Ensure a consistent include order,
5540 include <gtk/gtk.h> instead of particular files and
5541 only include the topmost header in the gtk stack. See NB #39857
5543 2008-08-12 Christian Dywan <christian@imendio.com>
5545 * src/hildon-picker-dialog.c
5546 * src/hildon-touch-selector.c: Fix warnings about unused and
5547 uninitialized variables.
5549 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5551 * examples/Makefile.am
5552 * examples/hildon-check-button-example.c: Example of the hildon
5555 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-window.h
5558 * src/hildon-window.c (hildon_window_class_init)
5559 (hildon_window_unset_program): Don't make
5560 hildon_window_unset_program a virtual function anymore.
5562 * src/hildon-stackable-window.c: Update documentation
5564 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5567 * doc/hildon-docs.sgml
5568 * doc/visual_index.xml
5569 * src/hildon-defines.c
5571 * src/hildon-helper.c
5572 * src/hildon-range-editor.c: Lots of documentation fixes.
5574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5576 * examples/hildon-picker-button-multicolumn-example.c
5577 (create_touch_selector): Fix compilation warning.
5579 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5582 (hildon_pannable_area_button_release_cb)
5583 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5585 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5590 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-bread-crumb-trail.h
5593 * src/hildon-date-editor.c
5594 * src/hildon-date-selector.c
5595 * src/hildon-pannable-area.c
5596 * src/hildon-picker-dialog.c
5597 * src/hildon-time-selector.c
5598 * src/hildon-touch-selector-entry.c
5599 * src/hildon-touch-selector.c
5600 * src/hildon-touch-selector.h: Misc documentation fixes
5602 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5604 * examples/hildon-date-editor-example.c (main): Updated date
5607 * examples/hildon-note-example.c (on_confirmation_clicked):
5608 Updated confirmation note example.
5610 * src/hildon-date-editor.c
5611 * src/hildon-note.c: Updated sample programs in documentation.
5614 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5616 * src/hildon-date-button.h:
5617 * src/hildon-picker-button.h:
5618 * src/hildon-time-button.c:
5619 * src/hildon-time-button.h:
5621 Some declarations changes to allow gtk-doc to document the widgets
5624 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5626 * src/hildon-date-button.c: Document the widget.
5627 * src/hildon-time-button.c: Document the widget.
5629 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5631 * src/hildon-picker-button.c: Document the widget.
5632 * src/hildon-touch-selector-entry.c: Document the widget.
5634 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5636 * doc/hildon-docs.sgml
5639 * src/hildon-check-button.h
5640 * src/hildon-check-button.c: New functions to create the Hildon
5644 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5646 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-button.h
5649 * src/hildon-button.c
5650 (hildon_button_add_title_size_group)
5651 (hildon_button_add_value_size_group)
5652 (hildon_button_add_image_size_group)
5653 (hildon_button_add_size_groups): New functions to set size groups
5654 for the button labels and image.
5655 (hildon_button_new_full): Removed
5657 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5659 * src/hildon-time-selector.c
5660 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5661 in order to avoid a crash if gconf is not available
5663 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-button.c (hildon_button_set_arrangement)
5666 (hildon_button_construct_child): Don't construct the button child
5667 before setting the arrangement.
5669 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-program-private.h
5672 * src/hildon-program.c
5673 * src/hildon-program.h
5674 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5675 (hildon_program_peek_window_stack)
5676 (hildon_program_pop_window_stack)
5677 (hildon_program_go_to_root_window): HildonProgram now has a
5678 separate list for stackable windows. Functions are provided to
5679 manage that list with a stack-like API.
5681 * src/hildon-stackable-window.c: Stackable window management is
5682 now much simpler with the new HildonProgram API. Windows no
5683 longer need to be manually added to the program, they're
5684 automatically pushed to the top of the stack when shown.
5686 * examples/hildon-stackable-window-example.c: Updated example to
5687 reflect the API changes.
5689 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-touch-selector.c: Comment out unimplemented
5692 hildon_touch_selector_insert_column() to avoid a compile warning.
5694 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5696 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5697 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5698 (hildon_touch_selector_set_column_selection_mode),
5699 (_hildon_touch_selector_set_model),
5700 (hildon_touch_selector_set_model):
5702 Complete review of HildonTouchSelector documentation.
5704 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5706 * doc/hildon-docs.sgml
5710 * src/hildon-gtk.c: Convenience functions for standard Gtk
5711 widgets, used to easily perform frequent operations.
5713 * src/hildon-button-helpers.h
5714 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5716 * src/hildon-helper.h
5717 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5718 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5720 * src/hildon-button.h
5721 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5723 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5725 * src/hildon-button.c (hildon_button_init)
5726 (hildon_button_set_arrangement, hildon_button_construct_child):
5727 Pack the image and the labels inside the same GtkAlignment so
5728 gtk_button_set_alignment() can be used
5730 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-button.h
5733 * src/hildon-button.c
5734 (hildon_button_init, hildon_button_set_image)
5735 (hildon_button_set_image_position)
5736 (hildon_button_construct_child): New functions to add an image to
5739 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-date-button.c
5742 * src/hildon-picker-button.c
5743 * src/hildon-time-button.c
5744 * src/hildon-button.c:
5745 (hildon_button_class_init): "size-flags" renamed to "size"
5746 (hildon_button_set_title): Hide the title label if set to NULL.
5748 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5750 HildonButtonFlags split into HildonButtonArrangement (to set the
5751 button layout) and HildonSizeType (which can be used for any
5754 * src/hildon-button.h
5755 * src/hildon-button.c
5756 (hildon_button_class_init)
5757 (hildon_button_set_arrangement)
5758 (hildon_button_set_property): New "size-flags"
5759 property. "arrangement-flags" renamed to "arrangement".
5760 (hildon_button_new, hildon_button_new_with_text)
5761 (hildon_button_new_full): Constructors updated to reflect type changes.
5763 * src/hildon-helper.h
5764 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5765 to set the size of a widget.
5769 * src/hildon-button-helpers.c
5770 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5772 * src/hildon-date-button.c
5773 * src/hildon-date-button.h
5774 * src/hildon-picker-button.c
5775 * src/hildon-picker-button.h
5776 * src/hildon-time-button.c
5777 * src/hildon-time-button.h: Updated widgets to reflect
5778 HildonButton API changes.
5780 * examples/hildon-button-example.c
5781 * examples/hildon-date-button-example.c
5782 * examples/hildon-picker-button-example.c
5783 * examples/hildon-picker-button-multicolumn-example.c
5784 * examples/hildon-time-button-example.c
5785 * examples/hildon-touch-selector-entry-example.c
5786 * examples/hildon-touch-selector-example.c: Updated examples to
5787 reflect HildonButton API changes.
5789 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5791 * doc/hildon-docs.sgml:
5793 * examples/Makefile.am:
5794 * examples/hildon-touch-selector-entry-example.c:
5796 * src/hildon-touch-selector-entry.c:
5797 * src/hildon-touch-selector-entry.h:
5800 Moved HildonTouchSelectorEntry from sandbox. Added its
5801 documentation and examples.
5803 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-touch-selector.h:
5806 * examples/hildon-picker-button-multicolumn-example.c:
5807 (hildon_touch_selector_append_text_column): Add a gboolean
5808 parameter to determine if text must be centered in the column.
5810 * src/hildon-date-selector.c: (hildon_date_selector_init):
5811 * src/hildon-time-selector.c: (hildon_time_selector_init):
5812 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5813 (create_touch_selector): Update widgets and example to reflect
5816 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5818 * src/hildon-touch-selector.c:
5819 (hildon_touch_selector_set_active_iter): Set also the cursor in
5822 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5824 * doc/hildon-docs.sgml
5827 * src/hildon-toggle-button.c
5828 * src/hildon-toggle-button.h
5829 * src/hildon.h: Removed HildonToggleButton widget, a derived
5830 class is not necessary for this.
5832 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5834 * src/hildon-pannable-area.c,
5835 (hildon_pannable_area_realize),
5836 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5839 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5841 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5842 "done" button the default widget for the dialog.
5844 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-touch-selector.c:
5847 (hildon_touch_selector_class_init),
5848 (hildon_touch_selector_get_property),
5849 (_hildon_touch_selector_set_model),
5850 (_hildon_touch_selector_has_multiple_selection),
5851 (hildon_touch_selector_has_multiple_selection):
5852 Add a "has-multiple-selection" property with a virtual
5853 has_multiple_selection() method to allow derived classes to
5854 override the default value for it. See the method and property
5855 documentation for details.
5857 * src/hildon-touch-selector.h: Add the new API.
5859 * src/hildon-picker-dialog.c: (requires_done_button): Call
5860 hildon_touch_selector_has_multiple_selection() instead of
5861 determining the need for a button itself.
5863 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5865 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5866 (_hildon_touch_selector_set_model),
5867 (hildon_touch_selector_set_model): Move working code to
5868 _hildon_touch_selector_set_mode(). Call the class method instead.
5870 * src/hildon-touch-selector.h: Add (*set_model) to
5871 HildonTouchSelectorClass.
5873 Make hildon_touch_selector_set_model() a virtual method, so that
5874 derived classes can extend it and do fancy stuff with the model.
5876 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5878 * configure.ac: Set back the tarname in AC_INIT to hildon.
5880 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5884 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5885 instead of libesd (NB#86876). Volume handling is still an open issue.
5887 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5890 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5892 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5893 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5894 derived class to ease placement of an entry widget in
5895 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5896 end, where the selector columns are packed now.
5898 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5900 * src/hildon-picker-button.c: Removed the simple _text() API.
5901 * src/hildon-picker-button.h: Likewise.
5903 * src/hildon-touch-selector.h:
5904 * src/hildon-touch-selector.c:
5905 (hildon_touch_selector_new_text),
5906 (hildon_touch_selector_append_text),
5907 (hildon_touch_selector_prepend_text),
5908 (hildon_touch_selector_insert_text):
5910 Moved the simple _text() API from HildonPickerButton to
5911 HildonTouchPicker, to provide better escalability and not to tie
5912 that API to HildonPickerButton.
5914 * examples/hildon-picker-button-example.c: (main): Example updated.
5916 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-button.c: Updated documentation.
5920 * examples/hildon-button-example.c: Add the posibility to create
5921 the buttons using horizontal layout for title and value.
5923 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-app-menu-private.h
5926 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5927 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5928 GtkSizeGroup for the filters, use the 'homogeneous' property of
5931 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5933 * examples/hildon-button-example.c: Updated example.
5935 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5937 * doc/hildon-docs.sgml:
5940 Update documentation.
5942 * examples/Makefile.am: Update renamed examples.
5944 * examples/hildon-picker-button-multicolumn-example.c:
5945 (create_touch_selector), (main): Update after the rename.
5947 * examples/hildon-touch-picker-example.c: Removed.
5948 * examples/hildon-touch-selector-example.c: (value_changed),
5949 (create_selector), (get_visible_content), (main): Renamed from
5950 hildon-touch-picker-example.c
5952 * src/Makefile.am: Updated renamed files.
5954 * src/hildon-date-button.c: (hildon_date_button_init),
5955 (hildon_date_button_get_date), (hildon_date_button_set_date):
5956 * src/hildon-date-selector.c: (hildon_date_selector_init),
5957 (_custom_print_func), (_update_day_model),
5958 (_manage_selector_change_cb),
5959 (hildon_date_selector_select_current_date),
5960 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5961 * src/hildon-date-selector.h:
5962 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5963 (hildon_picker_button_set_property),
5964 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5965 (hildon_picker_button_init), (hildon_picker_button_new_text),
5966 (hildon_picker_button_append_text),
5967 (hildon_picker_button_prepend_text),
5968 (hildon_picker_button_insert_text),
5969 (hildon_picker_button_set_selector),
5970 (hildon_picker_button_get_selector):
5971 * src/hildon-picker-button.h:
5972 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5973 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5974 (_update_title_on_selector_changed_cb), (requires_done_button),
5975 (_hildon_picker_dialog_set_selector),
5976 (hildon_picker_dialog_set_selector),
5977 (hildon_picker_dialog_get_selector):
5978 * src/hildon-picker-dialog.h:
5979 * src/hildon-time-button.c: (hildon_time_button_init),
5980 (hildon_time_button_get_time), (hildon_time_button_set_time):
5981 * src/hildon-time-selector.c: (hildon_time_selector_init),
5982 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5983 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5984 * src/hildon-time-selector.h:
5987 Massive code updates after the rename.
5989 * src/hildon-touch-picker.c: Removed.
5990 * src/hildon-touch-picker.h: Removed.
5992 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5993 (hildon_touch_selector_init), (hildon_touch_selector_map),
5994 (hildon_touch_selector_remove), (_default_print_func),
5995 (_selection_changed_cb), (_create_new_column),
5996 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5997 (hildon_touch_selector_append_text_column),
5998 (hildon_touch_selector_remove_column),
5999 (hildon_touch_selector_set_column_attributes),
6000 (hildon_touch_selector_insert_column),
6001 (hildon_touch_selector_get_num_columns),
6002 (hildon_touch_selector_get_column_selection_mode),
6003 (hildon_touch_selector_set_column_selection_mode),
6004 (hildon_touch_selector_set_print_func),
6005 (hildon_touch_selector_get_print_func),
6006 (hildon_touch_selector_get_active_iter),
6007 (hildon_touch_selector_set_active_iter),
6008 (hildon_touch_selector_get_selected_rows),
6009 (hildon_touch_selector_get_model),
6010 (hildon_touch_selector_set_model),
6011 (hildon_touch_selector_get_current_text),
6012 (_hildon_touch_selector_center_on_selected_items):
6013 * src/hildon-touch-selector.h: Renamed from
6014 hildon-touch-picker.[ch]
6016 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6017 references, code examples, and related documentation.
6019 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6021 * doc/hildon-docs.sgml
6024 * src/hildon-toggle-button.c
6025 * src/hildon-toggle-button.h
6026 * src/hildon.h: New HildonToggleButton widget.
6028 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-button.c: Add API documentation.
6031 (hildon_button_set_size_groups): Check input parameters
6033 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6035 * src/hildon-pannable-area.c
6036 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6037 effect after reaching the movement thredshold. This way we start
6038 using the distance after passing the thredshold.
6040 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6042 * src/hildon-button.c: (hildon_button_set_property): Use the
6043 appropriate g_value_get_flags() method.
6045 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6047 * doc/hildon-docs.sgml:
6050 Add the touch pickers, picker dialogs, and picker button widgets
6051 to the documentation.
6053 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6055 * src/hildon-button.c: (hildon_button_set_property),
6056 (hildon_button_class_init): Make "arrangement-flags" a proper
6057 G_TYPE_FLAGS derived property.
6059 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6061 * examples/Makefile.am: Add below examples.
6062 * examples/hildon-date-button-example.c:
6063 * examples/hildon-picker-button-example.c:
6064 * examples/hildon-picker-button-multicolumn-example.c:
6065 * examples/hildon-time-button-example.c:
6066 * examples/hildon-touch-picker-example.c:
6068 Add examples for the recently added touch pickers,
6069 picker dialogs, and picker button widgets.
6071 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-button.c: Add some API documentation
6075 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6077 * src/hildon-button.h
6078 * src/hildon-button.c
6080 (hildon_button_new_with_text): New constructor to create a button
6081 with no text at all.
6082 (hildon_button_init, hildon_button_set_arrangement)
6083 (hildon_button_set_title, hildon_button_set_value)
6084 (hildon_button_set_text)
6085 (hildon_button_construct_child): Hide the value when it's not used
6086 so the rest of the text is properly aligned.
6087 Allow creating buttons with arbitrary widgets inside (not just
6088 title/value labels).
6090 * examples/hildon-button-example.c (vertical_buttons_window)
6091 (horizontal_buttons_window): Update example to use new API.
6093 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6095 * src/Makefile.am: Added HildonTimeButton.
6096 * src/hildon-time-button.c: Added missing LGPL header.
6097 * src/hildon-time-button.h: Added missing LGPL header.
6098 * src/hildon.h: Add hildon-time-button.h
6100 Copied HildonTimeButton from sandbox to trunk. Future work on this
6101 widget must take place in trunk.
6103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6105 * src/Makefile.am: Added HildonDateButton.
6106 * src/hildon-date-button.c: Update includes.
6107 * src/hildon.h: Add hildon-date-button.h
6109 Copied HildonDateButton from sandbox to trunk. Future work on this
6110 widget must take place in trunk.
6112 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/Makefile.am: Added HildonPickerButton.
6115 * src/hildon-picker-button.h: Update includes.
6116 * src/hildon.h: Add hildon-picker-button.h
6118 Copied HildonPickerButton from sandbox to trunk. Future work on
6119 this widget must take place in trunk.
6121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/Makefile.am: Added HildonPickerDialog.
6124 * src/hildon-picker-dialog.c: Update includes.
6125 * src/hildon.h: Add hildon-picker-dialog.h
6127 Copied HildonPickerDialog from sandbox to trunk. Future work
6128 on this widget must take place in trunk.
6130 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6132 * src/Makefile.am: Added HildonTimeSelector.
6133 * src/hildon.h: Add hildon-time-selector.h
6135 Copied HildonTimeSelector widget from sandbox to trunk. Future
6136 work on this widget must happen in trunk.
6138 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6140 * src/Makefile.am: Added HildonDateSelector.
6141 * src/hildon.h: Add hildon-date-selector.h
6143 Copied HildonDateSelector widget from sandbox to trunk. Future
6144 work on this widget must happen in trunk.
6146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6148 * src/Makefile.am: Added HildonTouchPicker.
6149 * src/hildon-touch-picker.c: Update includes.
6150 * src/hildon.h: Add hildon-touch-picker.h
6152 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6153 on this widget must happen in trunk.
6155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6157 * src/hildon-pannable-area.c:
6158 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6160 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6162 * examples/hildon-app-menu-example.c (main): Let the window
6165 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6167 * src/hildon-pannable-area.c
6168 (hildon_pannable_area_class_init): Set the min value of the
6169 overshoot properties to zero, which points out that not
6170 overshooting allowed.
6172 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6174 Modified the procedure to get the widget at a point inside the
6175 pannable area when using the movement type signals. Now the user
6176 has to call a function to get the child, that way we just
6177 calculate the child in case the user really want to use it and not
6180 * src/hildon-marshalers.list: Modified the marshallers, now we do
6181 not have the widget as a parameter.
6183 * src/hildon-pannable-area.c
6184 (hildon_pannable_area_motion_notify_cb),
6185 (hildon_pannable_area_class_init),
6186 (hildon_pannable_get_child_widget_at): Removed the widget
6187 parameter from the signal callback. We have also refactored the
6188 emission of the signals.
6190 * src/hildon-pannable-area.h: Added a new method to the API to
6191 calculate a widget at a point inside the pannable area,
6192 hildon_pannable_get_child_widget_at.
6194 * examples/hildon-pannable-area-example-4.c
6195 (horizontal_movement): Modified the example to use the new API,
6196 added condition to control which widget is under the event. This
6197 way we can avoid scrolling laterally over other widgets.
6199 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6201 * src/hildon-pannable-area.c
6202 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6203 modes, we stop getting the pointer events due to returning the
6204 callback without properly calling the get pointer again. Fixed
6205 also an error using the hscroll and vscroll.
6207 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6209 * src/hildon-app-menu-private.h
6210 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6211 (hildon_app_menu_button_release, hildon_app_menu_init)
6212 (hildon_app_menu_class_init): Don't hide the menu on button
6213 release if the user didn't press outside first.
6215 * src/hildon-window.h
6216 * src/hildon-window.c (hildon_window_toggle_menu)
6217 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6218 hildon_window_toggle_menu a virtual function for the stackable
6219 window to override it.
6221 * src/hildon-stackable-window.h
6222 * src/hildon-stackable-window-private.h
6223 * src/hildon-stackable-window.c
6224 (hildon_stackable_window_realize)
6225 (hildon_stackable_window_finalize)
6226 (hildon_stackable_window_class_init)
6227 (hildon_stackable_window_init)
6228 (hildon_stackable_window_set_main_menu): New function to set the
6229 app menu of a HildonStackableWindow.
6231 * examples/hildon-app-menu-example.c: Remove the button to show
6232 the app menu, now it'll be shown when clicking on the title bar
6235 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6238 set the widget name if the arrangement flags do not specify
6241 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6243 * src/hildon-button.c: (hildon_button_set_property),
6244 (hildon_button_class_init), (hildon_button_new_full),
6245 (hildon_button_set_arrangement): Added "arrangement-flags"
6248 Make the HildonButtonFlags a construction-only property, to allow
6249 subclasses to set them properly.
6251 2008-07-21 Tim Janik <timj@imendio.com>
6253 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6254 insertion position after backspace, so additional digits are appended,
6257 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6259 * src/hildon-pannable-area.c,
6260 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6261 TODO list, it was complete and removed the g_debug and g_print
6264 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6266 Added the movement modes to the hildon-pannable-area, with this
6267 modes the developers can control in which directions the widget
6268 can scroll. They can also connect to signals in order to do
6269 something when that happens, allowing applications scroll. There
6270 is an example uploaded showing how to use it.
6272 * examples/Makefile.am:
6273 * examples/hildon-pannable-area-example-4.c: Added this example of
6274 an application using the modes.
6276 * src/hildon-marshalers.list: Added a new marshaller for the new
6279 * src/hildon-pannable-area.h: Added new enumerations and flags in
6280 order to control the movement modes and the new signals to warn
6281 about the movements in the area.
6283 * src/hildon-pannable-area.c:
6284 (hildon_pannable_axis_scroll),
6285 (hildon_pannable_area_scroll),
6286 (hildon_pannable_area_motion_notify_cb),
6287 (hildon_pannable_area_get_property),
6288 (hildon_pannable_area_set_property),
6289 (hildon_pannable_area_map),
6290 (hildon_pannable_area_class_init),
6291 (hildon_pannable_area_init),
6292 (hildon_pannable_area_jump_to): Added the modes to control the
6293 movement in the widget. We have added properties to control it,
6294 signals to warn about the movements and refactored some code.
6296 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6298 Changes required in order to allow vfast_factor set to zero to
6301 * src/hildon-pannable-area.c:
6302 (hildon_pannable_area_button_press_cb): Changed the condition, it
6303 is required for not allowing click when vfast_factor is zero.
6304 (hildon_pannable_area_timeout): Initialized velocity variables
6305 when we stop moving, it was less than 1 but not zero and we need
6306 to check zero in some situations.
6307 (hildon_pannable_area_class_init): Changed the default value of
6308 the speed factor, now the button_press is just sent in case the
6309 speed is 2 per cent of the max speed.
6310 (hildon_pannable_area_init): Initialization with 0.
6312 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6314 * src/hildon-pannable-area.c,
6315 (hildon_pannable_area_get_topmost): replaced
6316 gdk_window_get_children with gdk_window_peek_children, this way we
6317 do not have to free the list because it is not a copy.
6319 (hildon_pannable_axis_scroll),
6320 (hildon_pannable_area_scroll),
6321 (hildon_pannable_area_timeout),
6322 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6323 two parameters that were only used inside the
6324 hildon_pannable_area_scroll function.
6326 * examples/hildon-pannable-area-example.c,
6327 (get_sawtooth_label): Fixed small memory leak.
6329 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6331 More checks for the case where the overshoot is bigger than the
6334 * src/hildon-pannable-area.c:
6335 (hildon_pannable_draw_vscroll),
6336 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6337 to draw the slider of the scrollbar under the other scrollbar.
6338 (hildon_pannable_area_expose_event): added new checks to control
6339 the drawing of the overshooting area rectangle, in case it is too
6340 big for the area of the widget.
6341 (hildon_pannable_area_size_allocate): add more checks to avoid
6342 setting a position to the child widget outside the area.
6344 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6346 * src/hildon-pannable-area.c
6347 (hildon_pannable_area_size_allocate): Added conditions to control
6348 when overshooting is bigger than the allocated space for the
6349 children, this avoids negative allocations.
6351 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6353 * doc/hildon-docs.sgml
6355 * examples/Makefile.am
6356 * examples/hildon-button-example.c
6358 * src/hildon-button.c
6359 * src/hildon-button.h
6360 * src/hildon.h: Initial version of the new HildonButton widget,
6363 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6365 * src/hildon-pannable-area.c:
6366 (hildon_pannable_area_button_press_cb),
6367 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6368 (hildon_pannable_area_motion_notify_cb),
6369 (hildon_pannable_area_button_release_cb),
6370 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6371 (hildon_pannable_area_jump_to_child):
6373 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6375 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6377 * examples/Makefile.am
6378 * examples/hildon-pannable-area-touch-grid-example.c
6379 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6380 the Hildon Touch List and Hildon Touch Grid using the
6381 HildonPannableArea widget.
6383 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6385 * src/hildon-pannable-area.c,
6386 (hildon_pannable_area_button_press_cb),
6387 (hildon_pannable_area_refresh),
6388 (hildon_pannable_area_scroll),
6389 (hildon_pannable_area_motion_notify_cb),
6390 (hildon_pannable_area_button_release_cb),
6391 (hildon_pannable_area_expose_event),
6392 (hildon_pannable_area_add),
6393 (hildon_pannable_area_remove),
6394 (hildon_pannable_area_realize),
6395 (hildon_pannable_area_size_allocate),
6396 (hildon_pannable_area_class_init),
6397 (hildon_pannable_area_init),
6398 (hildon_pannable_area_scroll_to_child),
6399 (hildon_pannable_area_jump_to_child): Fixed the problem of
6400 removing the child from the GtkBin, we have rearranged the widget
6401 hierarchy, now there is no GtkAlignment which was not doing
6402 anything interesting but breaking some of the assumptions of
6403 GtkContainer. Now developers if they want to add a GtkAlignment
6404 they could, but it is not inside the area.
6406 We had to review the whole allocation/expose process, now it is
6407 improved and we save at least three signals which would be saving
6408 some time when rendering the widget. The allocation of the
6409 scrollbars is now made in the allocate method as usual.
6411 We have also added some conditions in order to control when there
6412 is no child of the pannable area. Maybe we will need more work
6415 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6417 * src/hildon-pannable-area.c,
6418 (hildon_pannable_area_dispose): Released the fade-out timeout when
6419 disposing the widget.
6421 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6423 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6424 zero, we are going to use that property in order to deactivate the
6426 (hildon_pannable_axis_scroll),
6427 (hildon_pannable_area_size_allocate): Added conditions to control
6428 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6429 call, now it is called in all situations and we can remove calls
6430 in the allocate method.
6431 (hildon_pannable_area_map): Control the situation when
6432 overshoot_max is zero, we do not need the timeout.
6433 (hildon_pannable_area_class_init): Added documentation in order to
6434 point out that setting zero to overshoot_max means deactivate
6437 NOTE: removed trailing whitespaces from my previous comments of
6440 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6442 * src/hildon-pannable-area.c
6443 (hildon_pannable_area_get_property),
6444 (hildon_pannable_area_set_property),
6445 (hildon_pannable_area_map),
6446 (hildon_pannable_area_class_init),
6447 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6448 to cause the widget give a hint about its panning abilities upon
6451 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6453 * src/hildon-pannable-area.c: Several documentation improvements.
6455 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6457 * src/hildon-program.c
6458 * src/hildon-stackable-window.c: Update documentation.
6460 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6462 * src/hildon-stackable-window.c (get_previous_window_if_last):
6463 Renamed get_last_window()
6464 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6465 (hildon_stackable_window_unset_program):
6467 (get_previous_window_if_last):
6468 Detect if the window hasn't been added to a HildonProgram.
6470 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6472 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6474 * src/hildon-pannable-area.c
6475 (hildon_pannable_area_button_press_cb),
6476 (hildon_pannable_axis_scroll),
6477 (hildon_pannable_area_scroll),
6478 (hildon_pannable_area_timeout),
6479 (hildon_pannable_calculate_vel_factor),
6480 (hildon_pannable_area_get_property),
6481 (hildon_pannable_area_set_property),
6482 (hildon_pannable_area_class_init),
6483 (hildon_pannable_area_init),
6484 (hildon_pannable_area_scroll_to),
6485 (hildon_pannable_area_jump_to),
6486 (hildon_pannable_area_scroll_to_child),
6487 (hildon_pannable_area_jump_to_child):
6488 * src/hildon-pannable-area.h: Added the new API functions:
6489 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6490 hildon_pannable_area_scroll_to_child,
6491 hildon_pannable_area_jump_to_child
6494 * examples/Makefile.am
6495 * examples/hildon-pannable-area-example-2.c
6496 * examples/hildon-pannable-area-example-3.c: Added these two new
6497 examples in order to test and show how the new APIs work.
6499 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6501 * examples/hildon-stackable-window-example.c (new_window):
6502 * src/Makefile.am (noinst_HEADERS):
6503 * src/hildon-program.c (hildon_program_go_to_root_window):
6504 * src/hildon-program.h:
6505 * src/hildon-stackable-window-private.h:
6506 * src/hildon-stackable-window.c:
6507 * src/hildon-stackable-window.h:
6508 Create hildon-stackable-window-private.h
6509 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6511 * examples/hildon-app-menu-example.c (create_menu):
6512 * examples/hildon-hvolumebar-insensitive-example.c (main):
6513 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6514 * examples/hildon-toolbar-seekbar-example.c (main):
6515 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6516 * src/hildon-banner.c (hildon_banner_set_property):
6517 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6518 Fix compilation warnings
6520 * src/hildon-window.c:
6523 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-stackable-window.c
6526 (hildon_stackable_window_unset_program):
6527 Calculate correctly whether to show the previous window if the
6528 last one is removed from the stack.
6529 (hildon_stackable_window_go_to_root_window):
6530 Send delete events starting from the topmost window.
6531 Stop if one of the windows is not destroyed.
6533 (hildon_stackable_window_delete_event)
6534 (hildon_stackable_window_class_init):
6535 Ignore the delete event if the window is not the topmost one.
6537 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6539 * src/hildon-pannable-area.c
6540 (hildon_pannable_area_expose_event): Fixed a problem when
6541 selecting the background color of the scrollbars.
6543 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6545 * examples/hildon-stackable-window-example.c
6546 * src/hildon-stackable-window.c
6547 * src/hildon-stackable-window.h
6548 hildon_stackable_window_go_home() renamed to
6549 hildon_stackable_window_go_to_root_window()
6550 Send delete events to windows rather than closing them with
6551 gtk_widget_destroy()
6553 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-pannable-area.c
6556 (hildon_pannable_area_button_release_cb): Fix overshooting in
6559 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6561 * src/hildon-pannable-area.c
6562 (hildon_pannable_area_init): Initially show the scroll indicators.
6563 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6565 Add initial effect showing the widget is pannable.
6567 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6569 * src/hildon-pannable-area.c
6570 (hildon_pannable_area_class_init)
6571 (hildon_pannable_area_set_property)
6572 (hildon_pannable_area_get_property)
6573 (hildon_pannable_area_button_press_cb):
6574 New 'velocity_fast_factor' property to decide which velocity is
6577 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-pannable-area.c
6580 (hildon_pannable_draw_hscroll)
6581 (hildon_pannable_draw_vscroll):
6582 Use float variables to calculate the size of the scrollbars to
6583 avoid error propagation and resizing during scrolling.
6585 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6587 * src/hildon-pannable-area.c
6588 (hildon_pannable_draw_vscroll)
6589 (hildon_pannable_draw_hscroll):
6590 Define a minimum size for the scroll bars
6592 * src/hildon-stackable-window.c
6593 (hildon_stackable_window_go_home): Fix compilation warning
6594 (get_last_window): Minor optimizations
6595 (hildon_stackable_window_class_init): Fix initialization of
6598 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-stackable-window.c: Fixed typos in doc
6602 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6604 * src/hildon-pannable-area.c
6605 (hildon_pannable_area_scroll):
6606 Calculate here whether we need to scroll instead of using the booleans
6607 that tell us whether to /draw/ the scrolling bars.
6609 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6611 * src/hildon-app-menu.h
6613 * src/hildon-app-menu.c
6614 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6615 multiple filter groups related code and API. Now we support only
6617 * examples/hildon-app-menu-example.c:
6619 Update to reflect API changes.
6621 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6623 * src/hildon-stackable-window.c
6624 (hildon_stackable_window_class_init):
6625 Add hildon_stackable_window_realize.
6626 (hildon_stackable_window_realize):
6627 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6628 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6629 to apply theming and behavior specific to HildonStackableWindow
6632 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-note.c (hildon_note_button_release):
6635 Close information notes also when tapping on them
6637 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6639 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6640 ELASTICITY, refactor and review, fix some issues with drawing
6643 * src/hildon-pannable-area.c:
6644 (hildon_pannable_area_button_press_cb): removed the conditions to
6645 avoid clicks when overshooting. It is not required
6647 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6648 define. Refatored and reviewed the code, now we do not need to
6649 manage velocity in motion_notify.
6651 (hildon_pannable_area_motion_notify_cb): We have moved the code
6652 that controls the area_scroll to the axis_scroll function and get
6653 rid of duplicated code.
6655 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6657 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6659 (hildon_pannable_draw_vscroll),
6660 (hildon_pannable_draw_hscroll): Fixed the problems with the
6661 scrollbar drawing, now we do not use two surfaces, it is easier
6662 and saves resources.
6664 (hildon_pannable_area_get_property): Style modification.
6666 (hildon_pannable_area_class_init): Changed some default values.
6668 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6670 * src/hildon-stackable-window.c: Fix some typos in the
6673 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-dialog.c:
6676 Change indentation style
6679 (hildon_note_button_release):
6680 Use root coordinates to check if the release event happened
6683 * src/hildon-app-menu.c
6684 (hildon_app_menu_button_release):
6685 Remove unnecessary check
6687 * examples/hildon-app-menu-example.c
6689 Add cast to fix warning
6691 * src/hildon-app-menu.c
6692 (hildon_app_menu_class_init):
6693 New inner-border style property.
6694 Set all default spacings to 16
6695 (hildon_app_menu_init):
6696 Use vertical-spacing to set the space between filter buttons and
6697 regular menu buttons.
6698 Set the default container border using the inner-border value.
6700 * examples/hildon-app-menu-example.c
6702 Don't set the menu border explicitly, now we have the inner-border
6703 style property for that.
6705 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6707 * src/hildon-app-menu.c (hildon_app_menu_init):
6708 Make the window modal
6710 * src/hildon-note.c (hildon_note_map)
6711 * src/hildon-app-menu.c (hildon_app_menu_map):
6712 Destroy the grab window if we're unable to grab the pointer
6714 * src/hildon-app-menu-private.h
6715 * src/hildon-app-menu.c
6716 (hildon_app_menu_init, hildon_app_menu_finalize)
6717 (hildon_app_menu_map, hildon_app_menu_unmap)
6718 (hildon_app_menu_button_release)
6719 (grab_transfer_window_get):
6720 Bring back the grab window
6721 (hildon_app_menu_realize):
6722 Decorate the window, set WM hint for Matchbox
6724 * src/hildon-note.c (hildon_note_realize):
6725 * src/hildon-banner.c (hildon_banner_realize):
6726 Add WM hints for Matchbox
6728 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6730 * src/hildon-app-menu-private.h
6731 * src/hildon-app-menu.c
6732 (hildon_app_menu_init, hildon_app_menu_finalize)
6733 (hildon_app_menu_map, hildon_app_menu_unmap)
6734 (hildon_app_menu_button_release):
6735 Remove the grab window, it's not needed anymore
6737 * src/hildon-program.c
6738 Fixed typo in documentation
6740 * src/hildon-app-menu.h
6741 * src/hildon-app-menu.c
6742 * examples/hildon-app-menu-example.c
6743 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6745 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6748 Added new transfer_window and close_if_pressed_outside private
6750 (hildon_note_rebuild):
6751 Don't add a cancel button to the information note. It will be
6752 closed when tapping outside
6753 Remove the comment about the OK button in the documentation
6754 (hildon_note_realize):
6755 Set the notification type hint
6756 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6757 Grab/ungrab pointer and keyboard if the note has to be closed when
6759 (hildon_note_button_release):
6760 Close the note when tapping outside (if applicable)
6762 * src/hildon-app-menu.c
6763 Grab/ungrab pointer and keyboard on map/unmap
6764 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6765 Close the menu on button release, not button press
6767 * src/hildon-banner.c
6768 (hildon_banner_set_property)
6769 (hildon_banner_check_position):
6770 Make the banner use the full width of the screen
6771 (hildon_banner_show_information)
6772 (hildon_banner_show_information_with_markup):
6773 Don't display an icon by default
6775 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6777 Added fading scrollbars and adapted all the overshooting code to
6778 horizontal scrolling. We have also fixed bugs with overshooting
6779 and current fading implementation.
6781 * src/hildon-pannable-area.c
6782 (hildon_pannable_area_scroll_indicator_fade): Time out function
6783 used to change the transparency of the scrollbars.
6785 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6786 control and fixed a problem with fading, we now remove the fade
6787 timeout before adding a new one.
6789 (hildon_pannable_axis_scroll):
6790 (hildon_pannable_area_scroll):
6791 (hildon_pannable_area_timeout): Added this functions so we can use
6792 the scroll code both for vertical and horizontal.
6794 (hildon_pannable_area_motion_notify_cb):
6795 (hildon_pannable_area_button_release_cb): Added the horizontal
6796 scrolling control, fixed a problem with the overshooting timeout.
6798 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6799 painting of the scrolls.
6801 (hildon_pannable_draw_vscroll):
6802 (hildon_pannable_draw_hscroll):
6803 (hildon_pannable_area_expose_event):
6804 Draw both scrollbars and rectangles in the overshooting area.
6806 (hildon_pannable_area_get_property):
6807 (hildon_pannable_area_set_property):
6808 Modified the overshoot property to overshoot_max
6810 (hildon_pannable_area_map):
6811 Replaced the comments symbols.
6813 (hildon_pannable_area_size_allocate):
6814 (hildon_pannable_area_class_init):
6815 (hildon_pannable_area_init): Added horizontal scroll, fading
6816 effect properties, fixed a problem when overshooting in the bottom
6819 * examples/hildon-pannable-area-example.c:
6820 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6821 looks better in the example.
6823 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6825 * src/hildon-window.c
6826 * src/hildon-window.h
6827 (hildon_window_class_init)
6828 (hildon_window_unset_program)
6829 (hildon_window_unset_program_real):
6830 Make unset_program a virtual function
6832 * src/hildon-stackable-window.c
6833 * src/hildon-stackable-window.h
6834 Added hildon_stackable_window_go_home()
6836 * examples/Makefile.am
6837 * examples/hildon-stackable-window-example.c
6838 HildonStackableWindow example
6840 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6842 * hildon-pannable-area.c: Added the overshoot property and removed
6843 the OVERSHOOT define. Fixed an indent style error.
6844 (hildon_pannable_area_motion_notify_cb):
6845 (hildon_pannable_area_get_property):
6846 (hildon_pannable_area_set_property): Add overshoot property.
6848 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6851 (hildon_pannable_area_class_init): Installed the new property.
6853 * hildon-pannable-area-example.c: Added a sawtooth function, this
6854 way it is easier to check the movement in the pannable.
6855 (get_sawtooth_label): Added this function.
6856 (main): Now we get the labels from the new get_sawtooth_label
6859 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6861 * src/hildon-app-menu.h
6862 * src/hildon-app-menu.c
6863 Renamed API variables for consistency
6865 (hildon_app_menu_popup): Use also the default window size to
6866 decide where to place the menu
6868 (hildon_app_menu_init, hildon_app_menu_class_init): New
6869 external-border style property
6871 2008-05-26 Michael Natterer <mitch@imendio.com>
6873 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6874 widget_class->tap_and_hold_setup signal slot doesn't exist any
6875 longer, stop overriding it.
6877 (hildon_time_editor_init): g_signal_connect() to the
6878 tap-and-hold-setup signal instead.
6880 (hildon_time_editor_entry_keypress): add cast to fix warning.
6882 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6884 * doc/hildon-docs.sgml
6886 * examples/Makefile.am
6887 * examples/hildon-app-menu-example.c
6889 * src/hildon-app-menu-private.h
6890 * src/hildon-app-menu.c
6891 * src/hildon-app-menu.h
6893 New HildonAppMenu widget
6895 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6897 Rearranged the inheritance of the pannable area, now it inherits
6898 from GtkBin. This will allow us to control the event_window and
6899 the allocation process of the widget, required for some effects.
6901 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6902 GtkBin structures. * src/hildon-pannable-area.c: Added the
6903 event_window variable.
6904 (hildon_pannable_area_button_press_cb):
6905 (hildon_pannable_area_button_release_cb):
6906 (hildon_pannable_area_motion_notify_cb):
6907 Changed the signature of the method, now we override the event
6908 callback instead of connecting to the signal.
6910 (hildon_pannable_area_realize):
6911 (hildon_pannable_area_unrealize):
6912 (hildon_pannable_area_map):
6913 (hildon_pannable_area_unmap):
6914 (hildon_pannable_area_size_allocate):
6915 Added functions to control the widget construction. We add a
6916 INPUT_ONLY window and we put it over the widgets inside the
6917 container, this event_window handles the events.
6919 (hildon_pannable_area_class_init):
6920 Replaced the signal connections with overrides of the event
6923 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6925 Bouncing effect added when touching the borders, you can change
6926 the elasticity of the border changing the ELASTICITY define.
6928 * src/hildon-pannable-area.c: Added ELASTICITY define.
6929 (hildon_pannable_area_timeout): Added inverse velocity when
6930 touching the border of the child widget, that causes a bounce.
6932 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6934 Improved performance, we now do not go to the X server in order to
6935 get the list of window children. Apparently the effect is the
6936 same, we have to be careful and check if this breaks something in
6939 * src/hildon-pannable-area.c:
6940 (get_ordered_children): Removed this function.
6941 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6942 the children windows function with gdk_window_get_children.
6944 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6946 * src/hildon-pannable-area.c:
6947 (hildon_pannable_area_dispose): Fixed a crash when closing the
6948 window and kinetics is activated.
6950 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6952 * src/hildon-pannable-area.h
6953 * src/hildon-pannable-area.c
6954 Changed indentation style to meet the one used in Hildon
6956 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6958 Reviewed the interaction of the AUTO mode, now we use the time
6959 attribute of the events and calculate the velocity in the motion,
6960 doing a gimp like calculation. The velocity is calculated in each
6961 motion event using the last velocity and the current one, the
6962 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6964 * src/hildon-pannable-area.c: Replaced the time based algorithm
6966 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6967 timeout for the AUTO mode when we are still moving the cursor. We
6968 added also the velocity calculation in this function.
6969 (hildon_pannable_area_button_release_cb): launch the timeout in
6970 case we are in AUTO mode. There are still some constants here that
6971 come from the old implementation that should be reviewed and
6974 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6976 * doc/hildon-docs.sgml
6979 * src/hildon-stackable-window.c
6980 * src/hildon-stackable-window.h
6982 New HildonStackableWindow widget
6984 * examples/hildon-dialog-example.c
6985 * examples/hildon-pannable-area-example.c
6988 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6990 * src/hildon-dialog.c
6991 (hildon_dialog_new_with_buttons): New constructor.
6993 * examples/hildon-dialog-example.c
6994 (main): Update the example to use the new
6995 hildon_dialog_new_with_buttons().
6997 * examples/hildon-pannable-area-example.c
6998 (main): Update example.
7000 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7002 * doc/hildon-docs.sgml
7004 Added HildonPannableArea to the documentation.
7006 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7008 * doc/visual_index.xml
7009 Fix reference to HildonLoginDialog in documentation
7011 * doc/hildon-docs.sgml
7013 * examples/Makefile.am
7014 * examples/hildon-dialog-example.c
7016 * src/hildon-dialog.c
7017 * src/hildon-dialog.h
7019 New HildonDialog widget.
7021 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7023 * src/hildon-pannable-area.c
7024 Merge latest changes (r4318, r4342) from libmokoui trunk
7026 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7028 * examples/Makefile.am
7029 * examples/hildon-pannable-area-example.c
7031 * src/hildon-pannable-area.c
7032 * src/hildon-pannable-area.h
7034 New HildonPannableArea widget.
7036 2008-04-15 18:05:19 <timj@imendio.com>
7038 * src/hildon-banner.c: revert the recent change, that introduced
7039 gtk_window_present() calls. this reopens:
7040 Bug 78481 - [freetest] information banners are hidden under browser menu
7041 But resolves another variant of:
7042 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7044 2008-04-15 13:21:13 <timj@imendio.com>
7046 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7047 recreated its layout, spotted by Kris. this fixes all remaining
7048 artefacts and stability issues with the banner code. in particular:
7049 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7051 2008-04-14 16:52:59 <timj@imendio.com>
7053 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7054 operating on unrealized widgets, fixes:
7055 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7057 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7059 2008-04-09 Kristian Rietveld <kris@imendio.com>
7061 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7062 makes banner disappear.
7063 Fixes: NB#79182: info banner flickering with certain message lengts.
7065 * src/hildon-banner.c (hildon_banner_constructor),
7066 (hildon_banner_init), (hildon_banner_set_text),
7067 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7068 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7069 FALSE, reset size requests of label and banner,
7070 (force_to_wrap_truncated): when the text is too wide, always enforce
7071 the maximum possible width instead of recalculating it from the
7072 layout; enforce the maximum banner height of 3 lines,
7073 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7074 nicer wrapping and no truncated chars if space gets tight.
7076 * src/hildon-banner-private.h: add has_been_wrapped and
7077 has_been_truncated fields.
7079 2008-04-07 Sven Herzberg <sven@imendio.com>
7081 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7082 local values in hildon_date_editor_size_allocate
7084 * src/hildon-date-editor.c: moved the real allocation code into the
7087 2008-04-07 Sven Herzberg <sven@imendio.com>
7089 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7090 local values in hildon_date_editor_size_allocate
7092 * src/hildon-date-editor.c: merged the two if() branches together
7094 2008-04-07 Sven Herzberg <sven@imendio.com>
7096 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7097 local values in hildon_date_editor_size_allocate
7099 * src/hildon-date-editor.c: changed the arguments of the if()
7102 2008-04-07 Sven Herzberg <sven@imendio.com>
7104 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7105 local values in hildon_date_editor_size_allocate
7107 * src/hildon-date-editor.c: split the calculation of the allocation
7108 from the real allocation
7110 2008-03-27 Michael Natterer <mitch@imendio.com>
7112 Fixes: NB#81696: The passcode is not overwritten even after
7115 * src/hildon-code-dialog.c
7116 (hildon_code_dialog_button_clicked)
7117 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7118 because that doesn't overwrite selected text. Instead, emit the
7119 "commit" signal on the entry's im_context so the entry's normal
7120 insert logic is triggered. Set the cursor to the end of the entry
7121 after each insert operation so that we *only* insert in the middle
7122 of the text if something was selected.
7124 2008-03-27 Michael Natterer <mitch@imendio.com>
7126 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7127 selector cannot be opened
7129 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7130 when the popup color selector is created. Please connect to this
7131 signal in order to set the dialog's help ID.
7133 2008-03-25 Sven Herzberg <sven@imendio.com>
7135 Fixes: MB#1212: Hide info banners (infoprints) on click
7137 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7138 extracted the close event simulation into an extra function
7139 (hildon_banner_button_press_event): simulate a close event and destroy
7140 the widget if the event wasn't handled
7141 (hildon_banner_class_init): added the button_press_event handler
7142 (hildon_banner_init): added button-press events to the widget
7144 2008-03-25 Sven Herzberg <sven@imendio.com>
7146 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7147 Patch from: Mohammad Anwari <mdamt@maemo.org>
7149 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7150 instead of the right in RTL mode
7151 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7152 breadcrumb button list in RTL mode
7153 * src/hildon-caption.c: mirror the appearance of the caption widget in
7155 * src/hildon-date-editor.c: mirror appearance of the date editor in
7157 * src/hildon-time-editor.c: mirror appearance of the time editor in
7159 * src/hildon-window.c: fix the position of the popup in RTL mode
7161 2008-03-25 Sven Herzberg <sven@imendio.com>
7163 Amendment to the fix of NB#22072. Fix compilation.
7165 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7167 2008-03-19 Sven Herzberg <sven@imendio.com>
7169 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7172 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7173 timeout id properly when the timeout will disappear this leaves no
7174 artifacts around in the destroy(); there will only be the timeout
7175 created by hildon_banner_ensure_timeout() and adding a new timeout
7176 will also work if the timeout gets removed because the timeout_handler
7179 2008-03-19 Michael Natterer <mitch@imendio.com>
7181 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7183 * src/hildon-volumebar.c
7184 * src/hildon-vvolumebar.c
7185 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7186 the widget becomes focussable at all.
7188 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7189 set the focus to wither the mute button or the volumebar.
7191 Remove own "can-focus" property and instead listen to
7192 notify::can-focus in order to update the widget's state.
7194 Implement GtkWidget::focus() and make sure we can also *leave* the
7195 widget, not only enter it, depending on volumebar orientation and
7196 requested focus direction.
7198 Clean up set_mute() to cooperate nicely with all the above.
7200 2008-03-04 Michael Natterer <mitch@imendio.com>
7202 Fixes: NB#78481: information banners are hidden under browser menu
7204 * src/hildon-banner.c: call gtk_window_present() on the banners so
7205 they are risen if they are already visible.
7207 2008-03-03 Sven Herzberg <sven@imendio.com>
7209 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7211 * examples/hildon-window-menu-example.c: (main): extended the window
7212 menu example to serve as a testcase for automatically added
7213 accelerator groups, too
7214 * src/hildon-window.c: (hildon_window_add_accel_group),
7215 (hildon_window_set_menu): added patch by Tommi Komulainen
7217 2008-03-03 Sven Herzberg <sven@imendio.com>
7219 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7221 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7222 knowledge about the border allocators used within GTK+
7224 2008-02-26 Sven Herzberg <sven@imendio.com>
7226 Fixes: MB#2981: Build with asserts broken
7228 * src/hildon-date-editor.c,
7229 * src/hildon-number-editor.c,
7230 * src/hildon-time-editor.c,
7231 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7232 the proper GType instance check
7234 2008-02-25 Sven Herzberg <sven@imendio.com>
7236 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7238 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7239 * examples/hildon-window-menu-example.c: (main): explicitly show
7241 * src/hildon-window.c:
7242 (hildon_window_set_main_menu): moved most of the code from set_menu()
7243 to this place; skipped the call to gtk_widget_show_all(); also didn't
7244 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7245 (hildon_window_set_menu): removed most of the code, just keep the
7246 questionable gtk_widget_show_all()
7247 * src/hildon-window.h: added the new function and deprecate the old
7250 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7256 * debian/changelog: Updating.
7258 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7261 * pkgconfig/Makefile.am:
7262 * pkgconfig/hildon.pc.in:
7265 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7266 use newly created API_MAJOR_VERSION.
7268 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7274 * debian/changelog: Updating.
7276 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7278 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7280 Add outer_border style property, we use it but don't define it (!).
7284 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7286 * examples/hildon-bread-crumb-trail-example.c (main):
7290 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7292 Fix logic for the bread crumb trail node removal.
7296 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7302 * debian/changelog: Updating.
7304 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7306 Patch by Alejandro to get/set passwords dialogs accesibility.
7308 * hildon-1/src/hildon-get-password-dialog.c:
7309 * hildon-1/src/hildon-set-password-dialog.c:
7310 Set atk_set_name to the passwd entries in order to allow
7311 accessibility by name on this entries.
7313 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * debian/control: Updating gtk dep.
7320 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7322 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7323 USE_MAEMO_GTK is enabled.
7325 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7327 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7328 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7330 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * debian/changelog: Updating.
7338 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7340 * examples/Makefile.am:
7341 * examples/hildon-logical-color-example.c:
7342 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7343 applied + adding a test case. Fixes: NB#71660.
7345 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7347 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7348 to be visible, fixes warning on map for windows without toolbars.
7350 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7352 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7353 2.11.0, add a check for that besides the MAEMO_GTK check.
7355 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7361 * debian/changelog: Updating.
7363 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7365 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7366 visibility. Fixes: NB#70842 and MB#615.
7368 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7370 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7371 set the separator as no-show-all so it doesn't unintentionally appear when
7372 someone does a show_all.
7374 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7376 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7377 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7378 toplevel item. Fixes: NB#62031
7380 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7382 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7383 fix the name of the function in the docs.
7385 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7391 * debian/changelog: Updating.
7393 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7395 * examples/hildon-banner-long-example.c: Adding a test-case for long
7398 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7400 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * src/hildon-color-chooser-dialog.c:
7403 * src/hildon-color-chooser.c:
7404 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7405 memory leaks in font selector and color selector. Fixes: NB#70499 and
7408 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7410 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7412 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7414 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7415 little bit bigger. Fixes: #NB63694.
7417 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * debian/changelog: Updating.
7425 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7428 * doc/hildon-docs.sgml:
7429 * doc/images/bread-crumb-trail.png:
7430 * doc/images/calendar-popup.png:
7431 * doc/images/caption.png:
7432 * doc/images/code-dialog.png:
7433 * doc/images/color-button.png:
7434 * doc/images/color-chooser-dialog.png:
7435 * doc/images/color-chooser.png:
7436 * doc/images/controlbar.png:
7437 * doc/images/date-editor.png:
7438 * doc/images/font-selection-dialog.png:
7439 * doc/images/get-password-dialog.png:
7440 * doc/images/hvolumebar.png:
7441 * doc/images/login-dialog.png:
7442 * doc/images/note.png:
7443 * doc/images/number-editor.png:
7444 * doc/images/range-editor.png:
7445 * doc/images/seekbar.png:
7446 * doc/images/set-password-dialog.png:
7447 * doc/images/sort-dialog.png:
7448 * doc/images/time-editor.png:
7449 * doc/images/time-picker.png:
7450 * doc/images/vvolumebar.png:
7451 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7452 Adding the bread-crumb-trial and helpers to the documentation.
7454 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7456 * examples/hildon-find-toolbar-example.c:
7457 * src/hildon-find-toolbar.c:
7458 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7459 actually continue firing the other handlers if connected. Adding a new
7461 hildon_find_toolbar_get_last_index that gets the index of the most
7462 recently added (last) item. Fixes: NB#52301.
7464 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7467 behaviour. Fixes: NB#68610.
7469 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7474 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7476 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7477 when realizing the banner. Should make the infonbanner effect a bit more
7480 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * src/hildon-volumebar.c:
7483 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7484 hildon_volumebar_set_range_insensitive_message and
7485 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7487 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * src/hildon-window.c: Fixing the border freeing on destroy.
7491 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-code-dialog-private.h:
7494 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7495 kw keyboard support in HildonCodeDialog.
7497 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7503 * debian/changelog: Updating.
7505 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-date-editor.c:
7508 * src/hildon-number-editor.c:
7509 * src/hildon-private.c:
7510 * src/hildon-private.h:
7511 * src/hildon-time-editor.c:
7512 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7513 handling in subclassed composite widgets. Fixes: NB#66628.
7515 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7518 from destroy_ callback as it introduces problems in async dbus signal
7519 handlers. Fixes NB#66673.
7521 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7523 * examples/hildon-hvolumebar-example.c:
7524 * src/hildon-volumebar.c: Improving the focus handling in the
7525 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7526 set_property accessor so that "mute" property can be actually set. I'm
7527 scared that nobody noticed it's totally broken.
7529 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7534 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * src/hildon-calendar.c:
7537 * src/hildon-number-editor.c:
7538 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7539 matches the spec of 6 chars per second. Fixes: NB#60489.
7541 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7544 gtk_style_lookup_color sometime returns FALSE even though color was
7545 found and values were filled properly. Weird. Removing the warning for the
7548 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7551 expand vertically. Adding some extra space to the find toolbar buttons to
7552 make them thumbable. Fixes NB#66060.
7554 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7557 popup with "Ok" and "Cancel". Fixes NB#59299.
7559 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-calendar.c: Process all window updates before executing next
7562 timeout. Fixes: NB#54146.
7564 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * debian/changelog: Updating.
7572 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7574 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7575 the client event and ignore it, since we use the delete event to close
7578 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * src/hildon-helper.c: Remove the bogus warning about color not being
7581 found. Fixes NB#58352.
7583 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7585 * examples/Makefile.am:
7586 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7587 HildonSeekbar widget inside a toolbar.
7589 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7591 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7592 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7593 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7594 don't want to be closed by non-temporary windows on map.
7596 Also use G_DEFINE_TYPE instead of manually typed code.
7598 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * debian/rules: Updating.
7607 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * examples/Makefile.am:
7610 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7611 bug NB#61128. Strangely it works.
7613 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7615 * src/hildon-date-editor.c: When the date editor entry has been changed
7616 but the numbers of characters < max, turn off the skip validation flag.
7617 Prevents a situation when we enter first a valid year and later re-write
7618 it with an invalid one. Fixes NB#60154.
7620 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7622 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7623 code dialog. Fixes NB#64355.
7625 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7627 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7628 switching the page. Fixes NB#49374.
7630 * examples/Makefile.am:
7631 * examples/hildon-wizard-dialog-example.c: Adding an example for
7632 HildonWizardDialog that shows how to handle manual sensitivity setting on
7635 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7639 * src/hildon-version.h.in:
7640 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7642 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7644 * src/hildon-volumebar.c: Updating the docs.
7646 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7652 * debian/changelog: Updating.
7654 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7656 * src/hildon-find-toolbar.c:
7657 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7658 selected item: hildon_find_toolbar_set_active,
7659 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7660 hildon_find_toolbar_get_active_iter . They correspond to respective
7661 GtkComboBox functions.
7663 * examples/Makefile.am:
7664 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7667 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7669 * examples/Makefile.am:
7670 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7673 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7674 when font size > 32 and we pack a focusable widget inside. Actually using
7675 the default response would work too, but since we don't show default
7676 response state in any way (no theming) it would not be visible to the
7677 user. Fixes NB#63430.
7679 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7681 * src/hildon-date-editor.c: Adding the missing variable setter in the
7682 set_property handler. Fixes NB#54182.
7684 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7686 * src/hildon-window.h: Changing the long key press time from 1500ms to
7687 800ms as requested in NB#63700. I have a bad feeling about this, let's
7688 see... Fixes NB#63700.
7690 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7692 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7693 hildon_time_picker_map, hildon_time_picker_realize,
7694 hildon_time_picker_style_set): Split the contents of map to more
7695 appropriate functions; set window decorations on realize and update
7696 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7698 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7703 * debian/changelog: Updating.
7705 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7707 * src/Makefile.am: fixed installation of the header files
7709 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7715 * debian/changelog: Updating.
7717 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * configure.ac: Removing some remaining of --enable-xan.
7721 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7723 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7724 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7726 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7727 2.10.12-osso6 because the move-focus signal needs to be available in
7730 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7732 * examples/Makefile.am:
7733 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7734 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7735 fine. Prolly NB#61128 is fixed now.
7737 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7739 * src/hildon-volumebar.c:
7740 * src/hildon-volumebar.h: Adding the
7741 hildon_volumebar_set_range_insensitive_message and
7742 hildon_volumebar_set_range_insensitive_messagef functions to set
7743 insensitive message on the slider of the volumebar. Fixes NB#61129.
7745 * examples/Makefile.am:
7746 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7747 test the new insensitive messsage functionality on HildonVolumebar.
7749 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7751 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7754 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7756 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7757 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7758 button on after clearing the trail.
7760 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7762 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7764 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7766 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7767 by splitting the installed headers in generated and non-generated groups. Use
7768 only the non-generated headers to create the hildon-enum-types.h file.
7770 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7772 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * src/hildon-window.c: Hide the window before performing the destroy.
7775 Should make the app closing a little tiny bit more snappy.
7777 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7779 * src/hildon-seekbar.c: add gtkrange.h header
7780 * src/hildon-caption.c: remove unused variable
7782 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7784 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7787 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * debian/changelog: Updating.
7795 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7797 * src/hildon-window.c (hildon_window_window_state_event,
7798 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7799 escape timeout on focus-out-event rather than notify::is-topmost; the
7800 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7802 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7805 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7807 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7809 * src/hildon-window: actually, you need to use the macro always, there's
7810 no private pointer in the instance structure. We should have cleaned this up
7811 when we had the chance...
7813 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7815 * src/hildon-window.c: do not get the private date from HildonWindow before
7816 it passes the g_return_if_fail check. Once it's passed the test, there's no
7817 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7818 if you are only going to access the data once. Whitespace cleanups.
7820 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7822 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7823 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7825 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7831 * debian/changelog: Updating.
7833 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7835 * src/hildon-window.c: When destroying the window, remove (if exists) the
7836 escape timeout handler. Fixes #NB59276.
7838 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * src/hildon-banner.c: When realizing the widget, set the window
7841 transiency. Setting the transiency in the gobject constructor is not
7842 good, as the widget is not realized at that point. Fixes: #NB56624.
7844 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7846 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7847 Add padding for future expansions.
7849 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7851 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7852 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7853 will fake an activation on the previous to the last item of the trail, so
7854 the effect can be overrided by the developer as usual.
7855 Also change the callback for the back button to do the same thing, so its
7856 effect can be overrided too. Fixes: NB#58982
7858 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7860 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7861 HildonCaption. Fixes NB#52379.
7863 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7865 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7866 the internal state of the trail after the user has had the chance of executing
7867 his handler for the signal. Specifically, it may happen that the activated button
7868 is removed and the user still lets the default handler run. This would segfault
7871 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7874 scrollbar to the preview dialog. Fixes NB#54147.
7876 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7879 max/min year properties can be altered, so the client can modify it
7880 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7882 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7885 hildonlike by default. Fixing a problem with disappearing arrows when
7886 scrolling through months and years. Fixes NB#54127.
7888 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7890 * examples/hildon-date-editor-example.c: Adding error callback to the date
7893 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * configure.ac: Updating.
7901 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7903 * configure.ac: Adding a special '--enable-xan' configure option that
7904 turns off the -Werror compilation setting. Usefull for development.
7906 * src/hildon-calendar.c:
7907 * src/hildon-number-editor.c:
7908 * src/hildon-time-picker.c: Adding the 5* multiplier to
7911 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7913 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7914 instead of g_object_ref + gtk_object_sink.
7916 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * debian/changelog: Updating.
7924 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * src/hildon-color-chooser-dialog.c:
7927 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7928 straight from Tommi labs.
7930 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7932 * examples/hildon-finger-example.c: Correcting the header file path.
7934 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7935 the changed signal. Fixes a small memory leak.
7937 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-banner.c: Importing several usefull fixes from the
7942 ubuntu-mobile branch.
7944 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * examples/Makefile.am:
7947 * examples/hildon-finger-example.c: Adding a finger-checking code
7950 * src/hildon-font-selection-dialog.c: Do not allocate the color
7951 structure using the g_new. Fixes NB#54061.
7953 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7955 * src/hildon-helper.c: Correcting tabs in file.
7957 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7959 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7960 control the visibility of the children.
7962 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7964 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * debian/changelog: Updating.
7972 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7974 * src/hildon-bread-crumb-trail.c:
7975 (hildon_bread_crumb_trail_size_allocate):
7977 Make the back button always a square.
7979 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7981 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7982 from the .c file as it's a private file.
7984 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7987 uses slightly bigger height.
7989 * src/hildon-font-selection-dialog.c: Adding some checks before
7990 freeing memory in the font selection dialog.
7992 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * src/hildon-font-selection-dialog.c: Adding a small check when
7997 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7998 buttons sensitivity on page switching.
8000 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8002 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8003 internal details of adding a bread crumb to the trail.
8005 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * debian/changelog: Updating.
8013 * src/hildon-bread-crumb-trail.h:
8014 * src/hildon-bread-crumb.h: Changing the API guard to
8015 HILDON_ENABLE_UNSTABLE_API.
8017 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8025 * src/hildon-helper.h: Updating.
8027 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8035 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-helper.h: Small fix to make the package actually compile.
8041 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8043 * src/hildon-bread-crumb-trail.h:
8044 * src/hildon-bread-crumb.h:
8046 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8047 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8049 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8051 * examples/hildon-bread-crumb-trail-example.c:
8053 * src/hildon-bread-crumb-trail.c:
8054 * src/hildon-bread-crumb-trail.h:
8055 * src/hildon-bread-crumb.c:
8056 * src/hildon-bread-crumb.h:
8057 * src/hildon-marshalers.list:
8058 * src/hildon-bread-crumb-widget.c:
8059 * src/hildon-bread-crumb-widget.h:
8061 Slight change in the widget design. The bread crumb trail API is
8062 unchanged, but HildonBreadCrumb is now an interface. A *private*
8063 implementation, hildon-bread-crumb-widget, is provided and used
8064 internally by the trail for the push_text/push_icon functions.
8066 The generic push API is still available, so anyone can implement
8067 and use its own bread crumb widget.
8069 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8071 * debian/rules: Fixing the shlibs.
8073 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8075 * src/hildon-banner.c: Fixing a problem with timed banners having
8076 their parrent destroyed before they are.
8078 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8080 * src/hildon-bread-crumb.c:
8081 * src/hildon-bread-crumb.h:
8083 Make the get_natural_size function a vfunc.
8085 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8087 * src/hildon-bread-crumb.c:
8088 * src/hildon-bread-crumb-trail.c:
8092 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * debian/changelog: Updating for release.
8101 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8103 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8104 don't leak the pango layout.
8106 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8109 * examples/hildon-bread-crumb-trail-example.c:
8113 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * debian/changelog: Removing the bug-fixed entries that were actually
8116 resolved as WONTFIX.
8118 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8121 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8123 * src/hildon-bread-crumb-trail.c:
8124 * src/hildon-bread-crumb-trail.h:
8125 * src/hildon-bread-crumb.c:
8126 * src/hildon-bread-crumb.h:
8130 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8132 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8133 until it's passed the type check.
8135 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8137 * examples/hildon-bread-crumb-trail-example.c
8141 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8143 * examples/Makefile.am
8144 * examples/hildon-bread-crumb-trail-example.c
8146 * src/hildon-bread-crumb-trail.c
8147 * src/hildon-bread-crumb-trail.h
8148 * src/hildon-bread-crumb.c
8149 * src/hildon-bread-crumb.h
8151 New HildonBreadCrumbTrail widget.
8153 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8155 * src/hildon-range-editor.c (hildon_range_editor_init),
8156 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8157 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8158 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8159 hildon_time_editor_class_init, hildon_time_editor_init),
8160 src/hildon-get-password-dialog.c (invalid_input,
8161 hildon_get_password_set_property, hildon_get_password_get_property,
8162 create_contents, hildon_get_password_dialog_set_max_characters),
8163 src/hildon-set-password-dialog.c (create_contents),
8164 src/hildon-date-editor.c (hildon_date_editor_init),
8165 src/hildon-login-dialog.c (hildon_login_dialog_init),
8166 src/hildon-number-editor.c (hildon_number_editor_init),
8167 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8168 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8169 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8170 configure option and adding the respective checks in the code.
8171 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8172 hildon_calendar_drag_data_received): fixed some build warnings.
8174 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * debian/changelog: A 1.0.0 release notes.